/* PartnerOS — Obsidian / Gold. Presentation only; all ledger data is unchanged. */
:root{color-scheme:dark;--bg:#0b0c0f;--panel:#17181c;--text:#f1eee7;--muted:#99999f;--line:#2c2c32;--blue:#e4bd6e;--blue2:#30291c;--green:#78caa3;--amber:#e4bd6e;--red:#ea8490;--radius:17px;--shadow:0 12px 36px #0002}
body{background:radial-gradient(ellipse at 85% 0,#a17c2410,transparent 34%),var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}::selection{background:#b88a37;color:#fff}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#e5be75}input,select{accent-color:#d9ae5f}input::placeholder{color:#85858d}button{transition:background .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s}
.sidebar{background:linear-gradient(180deg,#111215,#0c0d10);border-right:1px solid #ffffff09;color:#c3c0b8}.brand-mark{color:#251b0a;background:linear-gradient(135deg,#f7df9e,#bb883e);box-shadow:0 3px 20px #dba95118}.brand-name{color:#f5f0e5}.brand-sub{color:#998362}.nav-label{color:#77736b}.nav{color:#aaa9ac;border:1px solid transparent}.nav svg{color:#9e927b}.nav:hover{background:#1d1c19;color:#f4d799;border-color:#e0b56816}.nav.active{background:linear-gradient(100deg,#e9c67c,#bd9149);color:#211a10;border-color:#f4db9a44;box-shadow:0 4px 20px #c7973317}.nav.active svg{color:#3c2b12}.sidebar-foot{background:#1b1a17;border:1px solid #e1b25713;color:#969086}.sidebar-foot strong{color:#c7b897}.sidebar-foot .link{color:#e3c27d}.topbar{background:#0e0f12ed;border-color:#ffffff0b}.crumb{color:#8e8b87}.crumb b{color:#e8e4dc}.top-actions{gap:12px}.top-icon{color:#a5a29b}.top-icon:hover{background:#25231e;color:#edca85}.avatar{background:linear-gradient(145deg,#3b3221,#201e19);border-color:#c09c5840;color:#efce8c}.eyebrow,body:has(.welcome-premium) .eyebrow{color:#a68c5c}.page-title,body:has(.welcome-premium) .page-title{color:#f0ece3}.page-desc,body:has(.welcome-premium) .page-desc{color:#929096}.btn{background:#202125;border-color:#36363c;color:#d4d0c8;box-shadow:inset 0 1px #ffffff04}.btn:hover{background:#2c2923;border-color:#a17f41;color:#f4d596}.btn.primary{background:linear-gradient(115deg,#f2d592,#d3a552);border-color:#e7c17a;color:#241b0d;box-shadow:0 4px 18px #bd8c2e14}.btn.primary:hover{background:linear-gradient(115deg,#ffe7ae,#dfb568);color:#21190a;box-shadow:0 5px 24px #d7a34925}.select,.field,.login-field input{background:#111216;border-color:#33343a;color:#ece6da}.select:focus,.field:focus,.login-field input:focus{border-color:#b39152;box-shadow:0 0 0 3px #d2a34814;outline:none}.filters{background:#16171b;border-color:#2c2d33}.filter-label{color:#9a9690}.panel{background:linear-gradient(145deg,#1c1d21,#15161a);border-color:#2f3035;box-shadow:inset 0 1px #ffffff03,0 8px 30px #0000000a}.panel-head{border-color:#ffffff0a}.panel-title{color:#eee9df}.panel-sub,.muted{color:#98969a}.panel .panel{background:#191a1e}.kpi{background:radial-gradient(ellipse at 100% 0,#b28b3720,transparent 65%),linear-gradient(140deg,#202125,#16171b);border-color:#343239;transition:transform .25s,border-color .25s,box-shadow .25s}.kpi:hover{transform:translateY(-3px);border-color:#a0814b77;box-shadow:0 12px 32px #0003}.kpis .kpi:first-child{border-color:#b28b425c;background:radial-gradient(ellipse at 100% 0,#e3af4b24,transparent 70%),linear-gradient(140deg,#2c261c,#19191b)}.kpi-label{color:#b2aba0}.kpi-value{color:#f6e1b4}.kpi-foot{color:#8f8d90}.up{color:#85cea7}.down{color:#ec8a93}.kpi-icon{background:#c99c4d16!important;color:#e8c47e!important;border:1px solid #e3b76a15}.kpi-icon svg{stroke-width:1.6}.section-label{color:#e7ddca}.section-label span{color:#928b7f}.tag{background:#2c2c32;color:#bcb7ae}.tag.green{color:#8dcdaa;background:#76c39b12;border:1px solid #7cc09c14}.tag.blue{color:#ddc18a;background:#b68b441a}.tag.amber{color:#e6bd70;background:#d6a24218}.tag.red{color:#e88e9a;background:#d45e7415}.amount,.platform-amount{color:#eed19b}.link{color:#dfbd7c}.progress{background:#303034}.progress>span{background:linear-gradient(90deg,#a77c35,#e5c47f)!important}.legend{color:#a09b93}.legend .dot{background:#d9b66e!important}.legend span:nth-child(2) .dot{background:#786441!important}.notice{background:#201e19;border-color:#b88c3c2b;color:#b7a88c}.notice svg{color:#d7b46a}.detail-item{background:#222328;border:1px solid #ffffff05}.detail-item span{color:#99969a}.detail-item strong{color:#eee4cd}.platform-meta{color:#9a9692}.platform-name{color:#eee8dc}.platform-logo{box-shadow:inset 0 1px #ffffff18,0 4px 14px #0002}.account-strip{color:#a89d88}.table-wrap{scrollbar-color:#66573a #191a1e}th{background:#202126;color:#a9a191;border-color:#36343a;font-size:10px;letter-spacing:.5px}td{color:#c4c0b9;border-color:#2b2b31}tbody tr:hover{background:#e5bc6810}tbody tr:nth-child(even){background:#ffffff02}.table-foot{border-color:#303036;color:#9d978e}.page-btn{background:#232429;border-color:#37373e;color:#a9a39a}.page-btn.active{background:#dcc084;border-color:#e8c884;color:#2a2112}.page-btn:disabled{opacity:.35}.tabs{background:#111216;border:1px solid #303036}.tab{color:#99958e}.tab.active{background:#343023;color:#f0d18a;box-shadow:none}.empty,.filtered-empty{color:#a29a8c}.empty strong{color:#e4dac5}
.chart-wrap svg line{stroke:#36343b}.chart-wrap svg path[stroke]{stroke:#e6bc6a}.chart-wrap svg stop{stop-color:#dbb565}.chart-wrap svg text{fill:#969086}.chart-wrap svg circle{stroke:#cba455}.legend~*{border-color:#303036}.panel-body [style*="color:#6d778b"]{color:#a49c8e!important}.panel-body>div>div[style*="height:"][style*="background"]{background:linear-gradient(0deg,#7a5c2c,#e6c07a)!important}
.modal-backdrop{background:#000b;backdrop-filter:blur(7px)}.modal{background:#191a1e;border:1px solid #4b402b;box-shadow:0 24px 100px #0008}.modal-head{border-color:#333036}.modal-head h3{color:#efe3c9;font-size:16px}.modal-close{background:#29282a;color:#d3c6ac}.modal-close:hover{background:#423724;color:#f6d697}.toast{background:#292319;border:1px solid #8c713d;color:#f0d6a4;box-shadow:0 10px 40px #0005}.detail-grid .detail-item{background:#222327}.region-overlay{background:#000b;backdrop-filter:blur(8px)}.region-dialog{background:#191a1e;border:1px solid #4a3c27;box-shadow:0 30px 100px #0008}.region-head{border-color:#353239}.region-tab{color:#8e887f}.region-tab.active{color:#f0d294}.region-tab.active:after{background:linear-gradient(90deg,#a47532,#efd18d)}.region-close{background:#29282b;color:#ddc99c}.region-option{color:#c8c1b5}.region-option:hover{background:#29261f}.region-option.selected{color:#f0cb82;background:#b88c3920;border-color:#b88c3930}.region-footer{border-color:#37323a}.region-trigger{color:#c2ab7c}.region-trigger-floating{background:#24211a}.fx-button{color:#dcba75}
.game-earnings-overlay{background:#000b}.game-earnings-dialog{background:#18191d;border:1px solid #55432b;box-shadow:0 30px 100px #0009}.game-earnings-body>#game-overview{background:#18191d}.game-earnings-close{background:#30291f;color:#e9c888}.game-platform{background:#1c1d21;border-color:#343238}.game-platform summary:hover{background:#28251e}.game-platform-name small{color:#9e988e}.game-platform-income strong{color:#efd092}.game-chevron{color:#b59c70}#game-overview .game-metrics-compact{background:#121316}#game-overview .game-metrics-compact>div:not(.commission-rule){border-color:#302e31}#game-overview .game-metrics-compact strong{color:#e6d4ad}#game-overview .game-metrics-compact span{color:#a29a8e}.commission-help{border-color:#8d7449;color:#d1ae6c}.commission-help:hover,.commission-help[aria-expanded=true]{color:#f4d697;border-color:#ddba73;background:#3a2e19}#game-overview .commission-rule{background:#272219;border-color:#755b304d;color:#c2aa7e}#game-overview .commission-rule span{color:#c9b68c}.total-earnings-sum{background:radial-gradient(at 100% 0,#c49d4230,transparent),#292319;border-color:#8b6c3455;color:#edcf91}.total-earnings-row{border-color:#343138}.total-earnings-row strong{color:#e4c48a}.earnings-category i{background:#332b1d;color:#dfbc72}.total-earnings-note{color:#a49a89}
.welcome-premium{background:radial-gradient(ellipse at 85% 0,#9b702c45,transparent 50%),linear-gradient(115deg,#151518,#201c16 70%,#322619);border-color:#80653550;box-shadow:inset 0 1px #f5d68c10,0 15px 50px #0002}.welcome-premium:before{background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,#e3bc6a08 80px),repeating-linear-gradient(0deg,transparent 0,transparent 79px,#e3bc6a08 80px)}.welcome-premium:after{background:#dfa73c23}.welcome-premium .hero-label{color:#c7a66c}.hero-status-dot{background:#f0cb7a;box-shadow:0 0 0 4px #e7b95510}.welcome-premium h2{color:#f6efdf}.welcome-premium p{color:#a9a08f}.welcome-premium .hero-actions .btn{background:#ffffff04;color:#dbc9a7;border-color:#b5924e38}.welcome-premium .hero-actions .primary{background:linear-gradient(115deg,#f8dc9b,#c99747);color:#281e10;border-color:#e3bd70;box-shadow:0 6px 24px #d4a04918}.welcome-premium .hero-actions .primary:hover{background:linear-gradient(115deg,#ffe8b0,#dfb05f)}.hero-caption{color:#9b865f}.hero-caption>span:first-child{background:#ba944f}.hero-caption-line{background:#9a7c4c44}.hero-globe{border-color:#d7b57170;background:radial-gradient(circle at 30% 20%,#dbb57035,#946c3230 50%,#1d191480);box-shadow:inset -20px -18px 36px #100d0955,inset 8px 8px 24px #f2d79b20,0 0 55px #ddac5420}.globe-lat,.globe-long{border-color:#d7b47140}.globe-monogram{color:#f0cf8c;text-shadow:0 4px 25px #e5b65730}.globe-monogram span{color:#c6a96f}.hero-orbit{border-color:#c49a5033}.orbit-inner{border-color:#c49a5025}.hero-satellite{background:#f0d496;box-shadow:0 0 15px #deb66470}.hero-growth{background:#252017db;border-color:#caa45730;box-shadow:0 14px 40px #0005}.growth-icon{background:#d7af571a;color:#edc97c}.hero-growth small{color:#b7a580}.hero-growth strong{color:#f4d797}.hero-growth svg{stroke:#e1b665}.art-index{color:#b09360}.login-shell{background:#101115}.login-hero{background:radial-gradient(ellipse at 20% 20%,#8e6a2e70,#131316 70%)}.login-hero h1{color:#f6e5bf}.login-hero p{color:#b5a68a}.login-hero .brand-sub{color:#c2a974!important}.login-hero .brand-mark{background:#e0bd76!important;color:#241b0e!important}.login-hero:after{border-color:#d5b16925;box-shadow:0 0 0 55px #dfb56508,0 0 0 110px #dfb56505}.login-hero [style*="color:#dce3ff"]{color:#b7a47f!important}.login-card h2{color:#eee1c6}.login-note{color:#938b7e}.login-card a{color:#dfbc75}
@media(prefers-reduced-motion:reduce){.kpi,.btn,button{transition:none}.kpi:hover{transform:none}}
/* H5 composition: compact cinematic banner, sculpted metric cards, mobile dock. */
:root{--line:#544021;--panel:#15120f;--radius:14px;--blue:#f5c85e}.content{padding-top:23px}.page-head{margin-bottom:18px}.topbar{height:66px;background:linear-gradient(90deg,#100e0b,#14100b);border-bottom:1px solid #9c6b2638}.brand{gap:9px}.h5-brand-mark{width:43px;height:43px;background:none;box-shadow:none;border-radius:0}.h5-brand-mark svg{width:39px;height:34px;filter:drop-shadow(0 2px 7px #dca63855)}.sidebar{background:radial-gradient(ellipse at top,#6a441820,transparent 30%),#0c0b09;border-right:1px solid #98713a4a}.brand-sub{letter-spacing:1.4px}.nav{border-radius:9px;margin:5px 0;padding:11px 13px}.nav.active{background:linear-gradient(110deg,#ffdc83,#a96b21 75%,#654015);color:#fff9dd;border:1px solid #ffe398;box-shadow:inset 0 1px 9px #ffe7a778,0 0 17px #d7982c33;text-shadow:0 1px 2px #67400d}.nav.active svg{color:#fff4d1;filter:drop-shadow(0 0 4px #ffe8b4)}.sidebar-foot{background:linear-gradient(135deg,#422b151c,#14100b);border:1px solid #b4853d44}.btn{border-radius:9px}.btn.primary{border-radius:99px;border:1px solid #ffe7a0;background:linear-gradient(180deg,#fff1ae 0,#f2c557 45%,#b67a24 100%);box-shadow:inset 0 1px 1px #fff8d9,0 3px 12px #df9f2529;color:#2a1b06;font-weight:700}.btn.primary:hover{background:linear-gradient(180deg,#fff5c7,#f3c65f 55%,#c99137);box-shadow:0 0 22px #e8b44844}.welcome-h5{position:relative;isolation:isolate;display:flex;align-items:center;min-height:240px;padding:25px 30px;margin-bottom:0;border:1px solid #c2913f80;border-radius:16px;background-color:#0b0805;background-image:linear-gradient(90deg,#0a0806 0,#0a0806ed 27%,#0a08066b 55%,transparent 75%),url('partner-crown.png');background-size:cover;background-position:center 48%;box-shadow:inset 0 0 28px #af741d10,0 8px 24px #0003;overflow:hidden}.welcome-h5:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#ffc24e0a 45%,transparent 65%);animation:h5-sheen 8s ease-in-out infinite}.welcome-h5:after{content:'';position:absolute;bottom:0;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,#ffe4a1,transparent);box-shadow:0 0 18px #ffc75b}.welcome-h5>.h5-hero-copy{position:relative;z-index:1;max-width:65%}.welcome-h5 .hero-label{font-size:9px;letter-spacing:2.4px;color:#cfaa68}.welcome-h5 h2{font-size:clamp(26px,2.3vw,36px);font-weight:750;line-height:1.3;margin:15px 0 11px;background:linear-gradient(180deg,#fffaf0 20%,#f0cd83 75%,#c88d35);background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.7px;filter:drop-shadow(0 2px 2px #0008)}.welcome-h5 p{color:#b8ab91;font-size:12px;line-height:1.7;max-width:410px}.welcome-h5 .hero-actions{margin-top:20px;gap:10px}.welcome-h5 .hero-actions .btn{font-size:11px;padding:9px 16px;border-color:#ae7e374f;background:#171109aa;color:#e3c587}.welcome-h5 .hero-actions .primary{background:linear-gradient(180deg,#fff0ae,#eabd54 50%,#bd812b);color:#281a07;border-color:#f4d88e}.welcome-h5 .hero-actions svg{width:14px;height:14px}.welcome-h5 .hero-actions .primary svg{border-radius:50%;background:#513407;color:#ffdf89;padding:2px;width:18px;height:18px}.section-label{margin-top:19px;margin-bottom:12px}.panel{border:1px solid #98703666;background:linear-gradient(130deg,#32211324,#08070625),linear-gradient(145deg,#1a1611,#11100f);box-shadow:inset 0 1px #fff0c00a,0 4px 20px #0002}.panel-head{padding:16px 18px;border-color:#a2743426}.panel-title{color:#f2dfb6}.panel-title:before{content:'';display:inline-block;width:3px;height:12px;border-radius:2px;background:linear-gradient(#ffebb1,#c58a27);margin-right:8px;vertical-align:-1px;box-shadow:0 0 7px #e9b74745}.kpis{gap:13px}.kpi,.kpis .kpi:first-child{display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:15px;padding:18px;border-radius:13px;border:1px solid #c9933f99;background:radial-gradient(ellipse at 0 100%,#d9942625,transparent 50%),linear-gradient(135deg,#38281380,#110e0b 65%);box-shadow:inset 0 0 15px #d9a74d0a,0 0 9px #c68e2e12;min-height:121px;overflow:hidden}.kpi:after{content:'';position:absolute;right:-29px;top:-36px;width:105px;height:105px;border:1px solid #d4a25014;transform:rotate(40deg);pointer-events:none}.kpi-top{display:contents}.kpi-icon{grid-column:1;grid-row:1/4;width:50px;height:50px;align-self:center;border-radius:15px;border:1px solid #a6773038;background:radial-gradient(circle at 40% 30%,#cfa14a30,#1c140a 70%)!important;box-shadow:0 0 22px #d69b281c,inset 0 1px 3px #ffebaa18;color:#ffe3a0!important}.kpi-icon svg{width:28px;height:28px;stroke:#f8d78d;stroke-width:1.8;filter:drop-shadow(0 2px 0 #956020) drop-shadow(0 0 5px #ffd57470)}.kpi-label{grid-column:2;font-size:11px;color:#c5b79a;line-height:1.5}.kpi-value{grid-column:2;font-size:26px;letter-spacing:-.8px;margin:6px 0;color:#f5d17e;line-height:1.3;min-width:0}.kpi-foot{grid-column:2;font-size:9px}.kpi:hover{border-color:#ffe1a0;box-shadow:inset 0 0 18px #d9a74d10,0 0 16px #c68e2e33}.chart-wrap svg path[stroke]{stroke:#ffd671;filter:drop-shadow(0 0 3px #e7ae3b66)}.chart-wrap svg line{stroke:#a47a3436}.chart-wrap svg stop{stop-color:#ffbf4c}.table-wrap{background:#0e0d0c}th{background:linear-gradient(#292016,#201a13);color:#c2aa80;border-bottom-color:#89632d4d}td{border-color:#55402538}tbody tr:nth-child(even){background:#8a62200a}.filters{border-color:#88652e55;background:#17140f}.detail-item{background:#241e15;border-color:#92703b25}.progress{height:5px;background:#100e0b;border:1px solid #745d3322}.progress>span{box-shadow:0 0 8px #efbd5b55}.game-platform{border-color:#74552777;background:linear-gradient(120deg,#21190f,#13110e)}.game-earnings-dialog,.modal,.region-dialog{border-color:#b7893d99;background:#14110e;box-shadow:0 0 35px #9c6c1e15,0 30px 100px #0009}.game-earnings-body>#game-overview{background:#14110e}.total-earnings-sum{background:linear-gradient(110deg,#4f351880,#1d170e);border-color:#d09b4666}.h5-bottom-nav{display:none}@keyframes h5-sheen{0%,100%{opacity:.3;translate:-20% 0}50%{opacity:1;translate:20% 0}}
@media(min-width:1151px) and (max-width:1350px){.kpi{grid-template-columns:38px minmax(0,1fr);column-gap:10px;padding:15px}.kpi-icon{width:36px;height:42px;border-radius:11px}.kpi-icon svg{width:23px;height:23px}.kpi-value{font-size:22px}}
@media(max-width:760px){.content{padding-bottom:100px}.topbar{height:58px}.page-head{margin-bottom:16px}.page-title{font-size:23px}.page-desc{font-size:11px;line-height:1.7}.welcome-h5{min-height:190px;padding:23px 20px;background-size:auto 100%;background-position:right center;border-radius:13px;background-image:linear-gradient(90deg,#0a0806f5,#0a0806e8 30%,#0a08068c 70%,#0a080640),url('partner-crown.png')}.welcome-h5>.h5-hero-copy{max-width:100%}.welcome-h5 .hero-label{font-size:7px;letter-spacing:1.4px}.welcome-h5 h2{font-size:24px;max-width:300px;margin:13px 0 10px}.welcome-h5 p{font-size:10px;max-width:260px;color:#c0af90}.welcome-h5 .hero-actions{margin-top:16px}.welcome-h5 .hero-actions .btn{font-size:10px;padding:8px 12px}.kpis{gap:10px}.kpi,.kpis .kpi:first-child{grid-template-columns:32px minmax(0,1fr);column-gap:8px;padding:13px 10px;min-height:105px;border-radius:11px}.kpi-icon{width:31px;height:37px;border-radius:10px}.kpi-icon svg{width:22px;height:22px}.kpi-label{font-size:9px}.kpi-value,html:not([lang='zh-CN']) .kpi-value{font-size:20px;letter-spacing:-.6px;margin:5px 0}.kpi-foot{font-size:8px;gap:4px;flex-wrap:wrap}.kpi .earnings-drilldown{gap:3px}.earnings-drilldown svg{width:12px;height:12px}.h5-bottom-nav{display:flex;position:fixed;bottom:12px;left:14px;right:14px;z-index:10;background:linear-gradient(180deg,#211a12f5,#0e0b08f5);border:1px solid #ac7d365e;box-shadow:0 -2px 24px #0009,inset 0 1px #f2d68e0a;backdrop-filter:blur(18px);border-radius:17px;justify-content:space-around;padding:9px 6px calc(8px + env(safe-area-inset-bottom))}.h5-bottom-nav a{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:9px;color:#8f826b;min-width:65px;position:relative}.h5-bottom-nav a.active{color:#ffe19b}.h5-bottom-nav a.active:before{content:'';position:absolute;top:-10px;width:24px;height:2px;background:#f8d184;box-shadow:0 0 9px #ffc858}.h5-bottom-nav svg{width:20px;height:20px}.h5-bottom-nav a.active svg{filter:drop-shadow(0 0 4px #efba4a55)}.sidebar{z-index:15}.sidebar-backdrop{z-index:14}.toast{bottom:95px}.panel-head{padding:14px}.panel-title{font-size:13px}.panel-sub{font-size:10px}}
@media(prefers-reduced-motion:reduce){.welcome-h5:before{animation:none}}
@media(min-width:761px){.welcome-h5{background-size:auto 115%;background-position:right center}.welcome-h5:before{background:radial-gradient(ellipse at 60% 100%,#de9e2525,transparent 65%),linear-gradient(110deg,transparent 25%,#ffc24e0a 45%,transparent 65%)}}

.yesterday-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}.yesterday-card{padding:18px 20px;border-color:#a47a3b66;background:radial-gradient(ellipse at 100% 0,#b7822320,transparent 60%),linear-gradient(125deg,#20190f,#11100e)}.yesterday-card-head{display:flex;align-items:center;gap:10px}.yesterday-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;color:#f0ce86;background:#bc8e3620;border:1px solid #ce9b3f33}.yesterday-icon svg{width:19px;height:19px;filter:drop-shadow(0 0 4px #e5b55933)}.yesterday-card-head h2{margin:0;color:#e6d6b5;font-size:12px;font-weight:600}.yesterday-card-head span{display:block;color:#8e8069;font-size:9px;margin-top:3px}.yesterday-expand{margin-left:auto;border:1px solid #d6a74933;border-radius:50%;background:#2e2314;width:26px;height:26px;color:#c7a35c;display:grid;place-items:center}.yesterday-expand svg{width:13px;height:13px}.yesterday-total{display:block;border:0;background:none;color:#f4d184;font-size:25px;margin:13px 0;padding:0;line-height:1.3;cursor:pointer}.yesterday-total small,.yesterday-split small{font-size:10px;font-weight:400;color:#9d8c6e;margin-left:5px}.yesterday-total:hover{color:#ffe9b6}.yesterday-split{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #9c71372c;padding-top:11px;gap:14px}.yesterday-split>div+div{border-left:1px solid #9c71372c;padding-left:14px}.yesterday-split span{display:block;font-size:10px;color:#a5987f;margin-bottom:5px}.yesterday-split strong{font-size:14px;font-weight:550;color:#e3c995;overflow-wrap:anywhere}@media(max-width:600px){.yesterday-stats{gap:10px}.yesterday-card{padding:13px 11px}.yesterday-card-head{gap:7px}.yesterday-card-head h2{font-size:11px}.yesterday-card-head span{font-size:8px}.yesterday-icon{width:27px;height:30px;flex:none}.yesterday-icon svg{width:16px;height:16px}.yesterday-expand{width:20px;height:20px;flex:none}.yesterday-expand svg{width:11px;height:11px}.yesterday-total{font-size:22px;margin:12px 0}.yesterday-split{gap:7px}.yesterday-split>div+div{padding-left:7px}.yesterday-split span{font-size:9px;line-height:1.6}.yesterday-split strong{font-size:12px}}@media(max-width:370px){.yesterday-stats{grid-template-columns:1fr}}

/* One consistent six-card overview. */
.overview-six{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:stretch}.overview-six>.kpi,.overview-six>.kpi:first-child{display:flex;flex-direction:column;justify-content:flex-start;gap:0;min-width:0;min-height:155px;height:100%;padding:15px 13px;border-radius:13px}.overview-six .kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}.overview-six .kpi-label{font-size:10px;line-height:1.5;min-width:0}.overview-six .kpi-icon,.overview-six .yesterday-icon{width:29px;height:30px;flex:none;border-radius:9px;align-self:auto;margin:0;background:radial-gradient(circle at 40% 30%,#cfa14a30,#1c140a 70%)!important;color:#f8d78d;border:1px solid #a6773038;box-shadow:0 0 12px #d69b2815,inset 0 1px 3px #ffebaa18}.overview-six .kpi-icon svg,.overview-six .yesterday-icon svg{width:18px;height:18px}.overview-six .kpi-value,.overview-six .yesterday-total{font-size:clamp(16px,1.55vw,24px);line-height:1.35;letter-spacing:-.6px;margin:15px 0 11px;padding:0;color:#f5d17e;text-align:left;font-weight:600;min-width:0;overflow-wrap:anywhere}.overview-six .kpi-foot{margin-top:auto;min-height:30px;font-size:9px;line-height:1.7;align-items:flex-start;flex-wrap:wrap;gap:0 5px}.overview-six .earnings-drilldown{gap:4px;max-width:100%}.overview-six .earnings-drilldown svg{width:12px;height:12px}.overview-six .yesterday-card-head{gap:8px;min-height:30px;justify-content:space-between}.overview-six .yesterday-card-head>div:not(.yesterday-icon){order:0;min-width:0}.overview-six .yesterday-icon{order:1}.overview-six .yesterday-card-head h2{font-size:10px;line-height:1.5;font-weight:500;color:#c5b79a}.overview-six .yesterday-card-head span,.overview-six .yesterday-expand{display:none}.overview-six .yesterday-total{background:none;border:0;min-height:0}.overview-six .yesterday-split{margin-top:auto;display:flex;flex-direction:column;gap:4px;padding-top:0;border:0;min-height:30px}.overview-six .yesterday-split>div,.overview-six .yesterday-split>div+div{display:flex;align-items:baseline;justify-content:space-between;gap:4px;padding:0;border:0}.overview-six .yesterday-split span{font-size:8px;margin:0;line-height:1.5}.overview-six .yesterday-split strong{font-size:10px;line-height:1.5;letter-spacing:-.1px;white-space:nowrap}.overview-six .yesterday-split small,.overview-six .yesterday-total small{font-size:8px;margin-left:3px}.overview-six>.yesterday-card:after{content:'';position:absolute;right:-29px;top:-36px;width:105px;height:105px;border:1px solid #d4a25014;transform:rotate(40deg);pointer-events:none}
@media(max-width:760px){.overview-six{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-six>.kpi,.overview-six>.kpi:first-child{min-height:151px;padding:14px 13px}.overview-six .kpi-value,.overview-six .yesterday-total,html:not([lang='zh-CN']) .overview-six .kpi-value{font-size:22px;line-height:1.3;margin:14px 0 10px}.overview-six .kpi-label,.overview-six .yesterday-card-head h2{font-size:10px}.overview-six .kpi-foot{font-size:8px}.overview-six .yesterday-split span{font-size:9px}.overview-six .yesterday-split strong{font-size:11px}}
.welcome-h5{background-repeat:no-repeat}

/* Compact data tiles and quiet semantic icons in the earnings dialogs. */
.overview-six>.kpi,.overview-six>.kpi:first-child{min-height:112px;padding:11px 12px;border-radius:11px}.overview-six .kpi-top,.overview-six .yesterday-card-head{min-height:23px}.overview-six .kpi-icon,.overview-six .yesterday-icon{width:23px;height:24px;border-radius:7px}.overview-six .kpi-icon svg,.overview-six .yesterday-icon svg{width:15px;height:15px}.overview-six .kpi-value,.overview-six .yesterday-total{font-size:clamp(16px,1.5vw,22px);margin:7px 0 6px;line-height:1.25}.overview-six .kpi-foot,.overview-six .yesterday-split{min-height:25px;line-height:1.4}.overview-six .yesterday-split{gap:1px}.earnings-category .category-icon{width:27px;height:27px;border-radius:8px;background:linear-gradient(135deg,#cfaa5b10,#cfaa5b03);color:#d6b777;border:1px solid #d3b06616;box-shadow:none}.category-icon svg{width:17px;height:17px;stroke-width:1.5}.total-earnings-row{padding:15px 4px}.earnings-category{gap:10px}.total-earnings-row strong{font-size:14px}.total-earnings-sum{padding:15px 17px}.total-earnings-sum strong{font-size:17px}.total-earnings-note{font-size:10px}
@media(max-width:760px){.overview-six>.kpi,.overview-six>.kpi:first-child{min-height:116px;padding:11px 12px}.overview-six .kpi-value,.overview-six .yesterday-total,html:not([lang='zh-CN']) .overview-six .kpi-value{font-size:21px;margin:8px 0 6px;line-height:1.25}.overview-six .kpi-label,.overview-six .yesterday-card-head h2{font-size:9px}.overview-six .yesterday-split span{font-size:8px}.overview-six .yesterday-split strong{font-size:10px}.earnings-category .category-icon{width:24px;height:24px;flex:none}.category-icon svg{width:16px;height:16px}.total-earnings-row{padding:14px 0;gap:10px}.total-earnings-row strong{font-size:13px}.earnings-category{font-size:11px;gap:8px}}
/* Final compact proportions: keep column widths, reduce vertical footprint only. */
.overview-six>.kpi,.overview-six>.kpi:first-child{height:100px;min-height:100px;padding:8px 12px}.overview-six .kpi-top,.overview-six .yesterday-card-head{min-height:20px;height:20px}.overview-six .kpi-icon,.overview-six .yesterday-icon{width:20px;height:20px;border-radius:6px}.overview-six .kpi-icon svg,.overview-six .yesterday-icon svg{width:14px;height:14px}.overview-six .kpi-value,.overview-six .yesterday-total{font-size:clamp(16px,1.5vw,22px);margin:5px 0 4px;line-height:1.2}.overview-six .kpi-foot,.overview-six .yesterday-split{min-height:24px;line-height:1.3}.overview-six .yesterday-split{gap:0}.overview-six .yesterday-split span,.overview-six .yesterday-split strong{line-height:1.3}.overview-six>.kpi:after{width:75px;height:75px;right:-25px;top:-30px}
@media(max-width:760px){.overview-six>.kpi,.overview-six>.kpi:first-child{height:104px;min-height:104px;padding:9px 12px}.overview-six .kpi-value,.overview-six .yesterday-total,html:not([lang='zh-CN']) .overview-six .kpi-value{font-size:21px;margin:6px 0 4px;line-height:1.2}.overview-six .kpi-label,.overview-six .yesterday-card-head h2{font-size:9px}.overview-six .kpi-foot{min-height:23px}.overview-six .yesterday-split{min-height:24px}}
/* Commission comparison uses distinct series colors, independent of the gold theme. */
.trend-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.trend-mode{display:flex;padding:3px;background:#0f0d0b;border:1px solid #72562f55;border-radius:9px}.trend-mode button{border:0;background:none;color:#9e8e73;padding:6px 10px;border-radius:6px;font-size:10px}.trend-mode button.active{color:#f5d691;background:#5b411f66}.trend-period{text-align:right}.trend-period>span{display:block;color:#9c8c71;font-size:9px}.trend-period>strong{display:block;color:#f2cf83;font-size:18px;margin-top:3px}.trend-channels{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.trend-channels button{display:flex;align-items:center;gap:5px;min-height:27px;border:1px solid #5d4b303d;border-radius:7px;background:#211b13;color:#bdb09a;padding:5px 8px;font-size:9px}.trend-channels button[aria-pressed=false]{opacity:.4;background:#12100d}.trend-channels button[aria-pressed=true]{border-color:#aa854b70}.trend-channels i,.trend-details i{width:6px;height:6px;border-radius:50%;background:var(--channel-color);display:inline-block;flex:none}.commission-chart{width:100%;min-height:160px}.commission-chart svg{width:100%;height:auto;display:block;overflow:visible}.commission-chart .trend-line{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:none}.commission-chart .trend-grid{stroke:#8b6a3530;stroke-dasharray:3 5}.commission-chart .trend-axis{fill:#9e9077;font-size:10px}.commission-chart .trend-marker{stroke:#dac18a60;stroke-dasharray:3 5;pointer-events:none}.trend-day-control{display:flex;align-items:center;gap:15px;margin:7px 0 12px}.trend-day-control>span{font-size:10px;color:#c7af80;font-variant-numeric:tabular-nums;flex:none}.trend-day-control input{width:100%;height:3px;accent-color:#deb66a;cursor:pointer}.trend-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.trend-details>div{padding:8px;border:1px solid #735a3030;background:#15120e;border-radius:7px;min-width:0}.trend-details span{display:flex;align-items:center;gap:5px;font-size:9px;color:#a99a7f;margin-bottom:3px}.trend-details strong{font-size:11px;color:#e2ceb0;overflow-wrap:anywhere}.trend-details .trend-detail-total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;background:#3a2a1640;border-color:#ad84463d}.trend-detail-total span{margin:0}.trend-detail-total strong{color:#f2d38a}.trend-note{margin-top:10px;font-size:9px;line-height:1.7;color:#877a66}.trend-empty{height:185px;display:grid;place-items:center;font-size:12px;color:#aa997c}@media(max-width:600px){.commission-trend .panel-body{padding:13px}.trend-period>strong{font-size:16px}.trend-mode button{font-size:9px;padding:6px 8px}.trend-channels{gap:5px}.trend-channels button{padding:5px 7px;font-size:8px}.trend-details{grid-template-columns:repeat(2,minmax(0,1fr))}.commission-chart .trend-axis{font-size:11px}.trend-toolbar{gap:8px}}

.today-referrals{cursor:pointer;text-decoration:none}.today-referrals:focus-visible{outline:2px solid #e6bf74;outline-offset:3px}

.agent-income{margin-top:18px;padding:13px 12px;border:1px solid #a47b3d45;border-radius:10px;background:linear-gradient(110deg,#88601d17,#16120c)}.agent-income-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.agent-income-label{display:flex;align-items:center;gap:7px;font-size:12px;color:#d5c29d}.agent-income-label>svg{width:16px;height:16px;color:#d1ad67;flex:none}.agent-income-row strong{font-size:13px;color:#e7cb90;white-space:nowrap}.agent-income-rule[hidden]{display:none}.agent-income-rule{margin-top:10px;padding:9px 10px;border-left:2px solid #c49a54;background:#b5842520;color:#e2c790;font-size:11px;border-radius:0 5px 5px 0}.agent-income-note{font-size:9px;color:#95866c;line-height:1.7;margin-top:8px}@media(max-width:600px){.agent-income-label{font-size:11px}.agent-income-row strong{font-size:12px}}
.platform-scope-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 19px;background:linear-gradient(110deg,#4a341b55,#16110c);border:1px solid #b3854159;border-radius:12px;margin-bottom:20px}.platform-scope-eyebrow{display:block;color:#a58c62;font-size:10px;margin-bottom:7px}.platform-scope-select{display:flex;align-items:center;gap:9px}.platform-scope-icon svg{width:20px;height:20px;color:#ddb769}.platform-scope-select select{padding:6px 30px 6px 9px;background:#21190f;border:1px solid #8062356b;border-radius:7px;color:#eed7a5;font-size:15px;font-weight:600;min-width:165px}.platform-scope-note{font-size:11px;color:#b8a17a}@media(max-width:600px){.platform-scope-bar{padding:14px;align-items:flex-start;gap:12px}.platform-scope-note{font-size:9px;max-width:90px;margin-top:25px}.platform-scope-select select{font-size:14px;min-width:140px}}
/* Dashboard composition canvas. */
.board-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:-4px 0 14px}.board-toolbar .btn{font-size:10px;padding:7px 11px}.board-editor-actions{display:flex;gap:7px;flex-wrap:wrap}.board-editor-actions[hidden],.board-tile-tools[hidden]{display:none!important}.dashboard-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 12px;align-items:start}.board-tile{grid-column:span var(--tile-span,3);min-width:0;position:relative}.board-tile>.panel,.board-tile>.welcome,.board-tile>.notice{width:100%;height:100%;margin:0}.board-tile>.welcome-h5{height:auto;min-height:240px}.board-tile.board-metric>.kpi{height:100px;min-height:100px;display:flex;flex-direction:column;padding:8px 12px;gap:0}.board-tile-tools{display:flex;align-items:center;gap:5px;padding:7px;background:#46321b;border:1px solid #b48a4a8c;border-radius:8px 8px 0 0;font-size:9px;cursor:grab;min-height:37px;flex-wrap:wrap}.board-tile-name{flex:1;min-width:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-grip{font-size:20px;color:#efc56e}.board-tile-tools button,.board-tile-tools select{border:1px solid #95723d;background:#241b10;color:#efd298;border-radius:4px;font-size:9px;padding:3px 5px;max-width:95px}.board-tile.editing{outline:1px dashed #9f7a39;outline-offset:3px;border-radius:10px}.board-tile.editing>.panel,.board-tile.editing>.welcome{border-top-left-radius:0;border-top-right-radius:0}.board-tile.drag-over{outline:2px solid #f9d88e;background:#efbd4820}.board-tile.is-dragging{opacity:.4}.board-custom-panel{min-height:160px}.board-custom-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#c6b89b}.board-tile.board-metric{align-self:stretch}.board-tile.editing.board-metric>.kpi{height:100px}.dashboard-board.editing{padding:4px}.dashboard-board .kpi-top{display:flex;align-items:center;justify-content:space-between;min-height:20px;gap:8px}.dashboard-board .kpi-label{font-size:10px}.dashboard-board .kpi-icon,.dashboard-board .yesterday-icon{width:20px;height:20px;border-radius:6px;align-self:auto;margin:0}.dashboard-board .kpi-icon svg,.dashboard-board .yesterday-icon svg{width:14px;height:14px}.dashboard-board .kpi-value,.dashboard-board .yesterday-total{font-size:clamp(16px,1.5vw,22px);line-height:1.2;margin:5px 0 4px;padding:0;text-align:left;min-width:0}.dashboard-board .kpi-foot,.dashboard-board .yesterday-split{margin-top:auto;min-height:24px;font-size:9px;line-height:1.3}.dashboard-board .kpi-foot{flex-wrap:wrap;gap:0 5px}.dashboard-board .yesterday-card-head{justify-content:space-between;gap:8px;min-height:20px;height:20px}.dashboard-board .yesterday-card-head h2{font-size:10px;font-weight:500;color:#c5b79a}.dashboard-board .yesterday-card-head span,.dashboard-board .yesterday-expand{display:none}.dashboard-board .yesterday-card-head>.yesterday-icon{order:1}.dashboard-board .yesterday-total{color:#f5d17e;background:none;border:0}.dashboard-board .yesterday-split{display:flex;flex-direction:column;border:0;padding:0;gap:0}.dashboard-board .yesterday-split>div,.dashboard-board .yesterday-split>div+div{display:flex;justify-content:space-between;align-items:baseline;gap:4px;border:0;padding:0}.dashboard-board .yesterday-split span{font-size:8px;margin:0;line-height:1.3}.dashboard-board .yesterday-split strong{font-size:10px;line-height:1.3;white-space:nowrap}.dashboard-board .yesterday-split small,.dashboard-board .yesterday-total small{font-size:8px;margin-left:3px}.dashboard-board .earnings-drilldown{gap:4px}.dashboard-board .earnings-drilldown svg{width:12px;height:12px}.dashboard-board .board-tile>.kpi:after{width:75px;height:75px;right:-25px;top:-30px}@media(max-width:760px){.dashboard-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.board-tile{grid-column:span 2}.board-tile.board-metric{grid-column:span 1}.board-tile.board-metric>.kpi,.board-tile.editing.board-metric>.kpi{height:104px;min-height:104px;padding:9px 12px}.dashboard-board .kpi-value,.dashboard-board .yesterday-total,html:not([lang='zh-CN']) .dashboard-board .kpi-value{font-size:21px;margin:6px 0 4px}.dashboard-board .kpi-label,.dashboard-board .yesterday-card-head h2{font-size:9px}.board-tile>.welcome-h5{min-height:190px}.board-toolbar{justify-content:flex-start;margin-top:0}.board-tile-tools{gap:4px}.board-tile-tools .board-tile-name{flex-basis:calc(100% - 30px)}.board-tile-tools select{max-width:80px}.board-tile-tools .board-width{display:none}}

.board-tile.editing>.panel,.board-tile.editing>.welcome,.board-tile.editing>.notice{pointer-events:none}
.scope-platform-income{text-align:right}.scope-platform-income span{display:block;font-size:10px;color:#a99878;margin-bottom:5px}.scope-platform-income strong{font-size:20px;color:#edd294}.scope-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:17px}.scope-metric{padding:12px 14px;min-height:88px}.scope-metric-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.scope-metric-head>span{font-size:11px;color:#c3b18e}.scope-metric-head i{display:grid;place-items:center;width:24px;height:24px;border:1px solid #bd964f25;border-radius:7px;color:#d9b66e;background:#bf8e3412}.scope-metric-head svg{width:15px;height:15px}.scope-metric>strong{display:block;font-size:20px;font-weight:600;color:#f0d391;margin-top:9px;line-height:1.25;overflow-wrap:anywhere}.scope-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.scope-tabs>.link{font-size:10px}.scope-daily-panel{margin-bottom:16px}.scope-daily-panel .select{font-size:11px;padding:7px 10px}.scope-chart-svg{width:100%;display:block;overflow:visible}.scope-chart-svg line{stroke:#a1844a28;stroke-dasharray:3 5}.scope-chart-svg text{fill:#a6987c;font-size:10px}.scope-chart-svg polyline{stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.scope-today-label{font-size:12px;color:#dcc593;margin:12px 0 10px;display:flex;justify-content:space-between}.scope-today-label span{color:#8c7f69;font-size:10px}.scope-today-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.scope-today-grid>div{border:1px solid #b08b4430;background:#17120c;border-radius:8px;padding:10px}.scope-today-grid span{display:flex;align-items:center;gap:6px;color:#a99a7e;font-size:10px}.scope-today-grid svg{width:14px;height:14px;color:#cda75d;flex:none}.scope-today-grid strong{display:block;color:#e7cd98;font-size:14px;margin-top:7px;overflow-wrap:anywhere}@media(max-width:760px){.scope-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-metric{padding:11px 12px;min-height:81px}.scope-metric-head>span{font-size:10px}.scope-metric>strong{font-size:19px}.scope-platform-income strong{font-size:16px}.scope-platform-income span{font-size:9px}.scope-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-today-grid strong{font-size:14px}.scope-tabs .tabs{width:100%}.scope-daily-panel .panel-head{gap:8px}.scope-daily-panel .panel-title{font-size:12px}}
.daily-today-caption{font-size:10px;color:#9d8a68;margin:-7px 0 17px}.daily-today-cards .kpi-value{font-size:clamp(16px,1.4vw,22px)}.scope-daily-six{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:760px){.scope-daily-six{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-today-cards .kpi-value{font-size:21px}}
.guild-breadcrumb{font-size:11px;color:#bd9f69;margin-bottom:13px}.guild-branch{border:1px solid #9d793f55;border-radius:11px;margin-bottom:13px;background:linear-gradient(120deg,#2b201230,#12100d);overflow:hidden}.guild-branch>summary{list-style:none;cursor:pointer;padding:15px}.guild-branch>summary::-webkit-details-marker{display:none}.guild-branch>summary:hover{background:#d5ac5010}.guild-customer-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.guild-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#b88a3418;color:#d3b071;flex:none}.guild-avatar svg{width:18px;height:18px}.guild-identity{display:flex;flex-direction:column;gap:3px;min-width:0}.guild-uid{font-size:13px;color:#ead19a;font-variant-numeric:tabular-nums;text-decoration:underline;text-decoration-color:#99733f66;text-underline-offset:3px}.guild-name{font-size:10px;color:#9f9278}.guild-status{margin-left:auto}.guild-child-count{font-size:10px;color:#a18d68}.guild-chevron{width:16px;height:16px;color:#c3a16b;transition:transform .2s;flex:none}.guild-branch[open] .guild-chevron{transform:rotate(180deg)}.guild-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-top:13px;margin-top:12px;border-top:1px solid #97703c25}.guild-metrics span{font-size:10px;color:#9c8d72;display:block;margin-bottom:4px}.guild-metrics strong{font-size:13px;color:#ded0b0;overflow-wrap:anywhere;font-weight:550}.guild-children{padding:13px 15px 15px 30px;background:#0b0a08a6;border-top:1px solid #8f6b3436;position:relative}.guild-children:before{content:'';position:absolute;left:18px;top:17px;bottom:27px;width:1px;background:#a47c3a55}.guild-parent-label{font-size:10px;color:#9e8255;margin-bottom:10px}.guild-child{position:relative;background:#1b1711;border:1px solid #73582d44;border-radius:9px;padding:12px;margin-top:10px}.guild-child:before{content:'';position:absolute;left:-12px;top:25px;width:11px;height:1px;background:#a47c3a55}.guild-child .guild-uid{font-size:12px;text-decoration:none;color:#d6c39e}.guild-child .guild-avatar{width:28px;height:28px;background:#c2a05b0a}.guild-child .guild-avatar svg{width:16px;height:16px}.guild-child-parent{font-size:9px;color:#85775e;margin-top:10px}.guild-result{font-size:10px;color:#9c8865;margin-top:10px}.guild-empty{text-align:center;padding:24px 10px;color:#9a8b70;font-size:12px}@media(max-width:600px){.guild-branch>summary{padding:12px}.guild-customer-title{gap:7px}.guild-avatar{width:29px;height:29px}.guild-uid{font-size:11px}.guild-customer-title .tag{font-size:9px;padding:3px 6px}.guild-status{margin-left:0}.guild-child-count{margin-left:auto;font-size:9px}.guild-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 15px}.guild-metrics strong{font-size:13px}.guild-children{padding:12px 10px 12px 24px}.guild-children:before{left:13px}.guild-child{padding:10px}.guild-child:before{left:-11px;width:10px}}

.board-edit-hint{padding:11px 14px;margin:0 0 16px;border:1px dashed #94703a;border-radius:10px;background:#c99c4010;color:#cabb9d;font-size:12px}.board-edit-hint[hidden]{display:none}.board-grip{cursor:grab;user-select:none;padding:0 6px}.board-grip:active{cursor:grabbing}.board-tile-tools{cursor:default}.board-tile.board-fixed-height>:last-child{height:var(--tile-height)!important;min-height:0!important;overflow:auto}.board-tile.board-fixed-height>.kpi{justify-content:flex-start}.board-tile.editing{transition:outline-color .15s}.board-tile.drag-over{box-shadow:0 0 0 3px #eec97140}

.board-tile.editing{cursor:grab;touch-action:none;user-select:none}.board-tile.editing:active{cursor:grabbing}.board-tile-tools button,.board-tile-tools select{touch-action:auto}.board-tile.is-dragging{opacity:.55;outline:2px solid #e5bd64}.board-grip{touch-action:none}

.guild-list{width:100%;white-space:nowrap}.guild-list th,.guild-list td{padding:12px 14px!important;font-size:12px}.guild-open{background:none;border:0;padding:0;color:#edc978;font:inherit;cursor:pointer}.guild-result{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.guild-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guild-pagination label{display:flex;align-items:center;gap:6px}.guild-pagination .select{min-width:0;width:85px}.guild-pagination .field{width:64px;min-width:0}.guild-breadcrumb{display:flex;align-items:center;gap:12px}.guild-list .money-display{font-size:13px!important}@media(max-width:760px){.guild-pagination{gap:6px}.guild-result{font-size:11px}}

.board-tile>.filters{width:100%;margin:0}.board-tile.editing>:last-child{pointer-events:none}.board-tile-tools{pointer-events:auto!important}.board-edit-toggle{border-color:#c79c4e!important;font-weight:600}.board-metric .board-tile-tools{min-height:40px}

/* Panels are always sortable; content controls stay interactive. */
.board-tile.sortable>.board-tile-tools{border:0;background:transparent;border-radius:0;padding:3px 8px;min-height:25px;flex-wrap:nowrap;opacity:.65;cursor:grab}.board-tile.sortable>.board-tile-tools:hover{opacity:1}.board-tile.sortable>.board-tile-tools>button,.board-tile.sortable>.board-tile-tools>select{display:none}.board-tile.sortable .board-grip{font-size:18px;touch-action:none}.board-tile.sortable .board-tile-name{font-size:10px;flex-basis:auto}.board-tile.sortable>:last-child{pointer-events:auto}.board-toolbar{margin-bottom:8px}.board-toolbar .board-editor-actions{display:flex}.board-tile.sortable{user-select:auto}.board-tile.sortable.is-dragging{cursor:grabbing}.board-tile.sortable>.panel,.board-tile.sortable>.welcome{border-top-left-radius:14px;border-top-right-radius:14px}

.board-lifted{position:fixed!important;z-index:2147483000!important;pointer-events:none!important;margin:0!important;transform:scale(1.025) rotate(.6deg);transform-origin:center;box-shadow:0 25px 70px #000b,0 0 0 2px #e4bc6b;border-radius:14px;background:#17140f;opacity:.97;will-change:left,top}.board-lifted *{pointer-events:none!important}.dashboard-board .board-tile.is-dragging{opacity:1!important;background:#cba85d10;border:2px dashed #d9b366;border-radius:14px;outline:none!important;box-shadow:inset 0 0 25px #d3ac4810}.dashboard-board .board-tile.is-dragging>*{visibility:hidden}.board-drag-active,.board-drag-active *{cursor:grabbing!important;user-select:none!important}.board-tile.sortable>.board-tile-tools{touch-action:none}.board-tile.sortable{transition:box-shadow .16s}

.dashboard-board{grid-auto-flow:row dense;grid-auto-rows:1px;row-gap:0;column-gap:12px;align-items:start}.dashboard-board>.board-tile{align-self:start!important;height:auto}.dashboard-board>.board-tile>.panel,.dashboard-board>.board-tile>.notice{height:auto}.dashboard-board>.board-lifted{grid-row:auto!important}@media(max-width:760px){.dashboard-board{row-gap:0;column-gap:10px}}

/* Keep single-select chevrons comfortably inside the right edge. */
select:not([multiple]):not([size]),select[size="1"]{appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d8c9aa' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:16px 16px!important;padding-right:44px!important}
@media(forced-colors:active){select:not([multiple]):not([size]),select[size="1"]{appearance:auto!important;background-image:none!important}}

.agent-guild-icon{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #a47c31;border-radius:11px;background:linear-gradient(135deg,#6d5025,#21190e);color:#f8d77f;font-weight:800;font-size:18px}

.partner-notice-trigger{position:relative;overflow:visible}.partner-notice-badge{position:absolute;right:-3px;top:-4px;min-width:16px;height:16px;line-height:16px;border-radius:9px;background:#d77b42;color:#fff;font-size:10px;padding:0 4px}.partner-notice-badge[hidden],.partner-notices[hidden]{display:none!important}.partner-notices{position:fixed;right:24px;top:70px;width:400px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 90px);overflow:auto;z-index:100;background:#19150f;border:1px solid #997536;border-radius:16px;box-shadow:0 18px 60px #0009}.partner-notice-head{display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid #b28c332f}.partner-notice-head>strong{flex:1;color:#f2dba4;font-size:16px}.partner-notice-item{width:100%;display:flex;align-items:flex-start;text-align:left;gap:12px;padding:16px;border:0;border-bottom:1px solid #b28c3320;background:transparent;color:#d9d1bf;font:inherit;cursor:pointer}.partner-notice-item:hover,.partner-notice-item.is-unread{background:#cf9b3410}.partner-notice-icon{padding:9px;background:#c49b2920;color:#eac477;border-radius:10px}.partner-notice-icon svg{width:20px;height:20px}.partner-notice-copy{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}.partner-notice-copy strong{font-size:14px;color:#f1dfb9}.partner-notice-copy>span{font-size:13px;line-height:1.6}.partner-notice-copy time,.partner-notice-foot{font-size:11px;color:#a79b83}.partner-notice-foot{padding:12px 16px}.partner-unread-dot{width:6px;height:6px;border-radius:50%;margin-top:6px;flex-shrink:0;background:#e5b950;visibility:hidden}.is-unread .partner-unread-dot{visibility:visible}@media(max-width:760px){.partner-notices{top:64px;right:12px}}

.partner-vip{display:inline-flex;align-items:center;gap:5px;border:1px solid #97702e;background:linear-gradient(135deg,#392a12,#17130d);border-radius:16px;padding:5px 10px;color:#f0cc78;font-weight:800;font-size:12px;white-space:nowrap}.partner-vip>span{font-size:18px}.vip-upgrade{text-align:center}.vip-medal{font-size:76px;color:#e9ba4a;text-shadow:0 0 24px #d5a84766}.vip-upgrade h2{color:#f1d58d}.vip-upgrade .detail-item{display:flex;justify-content:space-between;gap:15px;margin-top:12px;text-align:left}.vip-upgrade .ledger-progress{margin-bottom:20px}.ledger-trends{min-width:0;display:grid;gap:16px}.ledger-trends .filters{margin:0;padding:10px 14px}.ledger-trends .panel-body{padding:12px 16px}.trend-ranges{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}.ledger-line-chart{display:block;width:100%;height:auto;min-height:160px;overflow:visible}.ledger-line-chart text{fill:#bdb09a;font-size:11px}.ledger-line-chart circle:focus{outline:none;stroke-width:4}.ledger-chart-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#bdb09a;font-size:12px}.ledger-chart-summary strong{color:#f3ce79;font-size:18px}

.compact-data-row{display:flex;flex-wrap:nowrap;align-items:stretch;overflow-x:auto;gap:0;padding:2px 0 10px;scrollbar-width:thin;scrollbar-color:#8d6a2b transparent}.compact-data-row>div{flex:1 0 auto;min-width:105px;display:flex;flex-direction:column;gap:8px;padding:4px 16px;border-right:1px solid #a882302b}.compact-data-row>div:first-child{padding-left:0}.compact-data-row>div:last-child{border:0;padding-right:0}.compact-data-row span{color:#b6ac98;font-size:12px;white-space:nowrap}.compact-data-row strong{font-size:21px;line-height:1.3;color:#f3d58b;white-space:nowrap;overflow-wrap:normal}.compact-data-row small{font-size:11px;color:#a99d84;white-space:nowrap}.compact-data-row small.up{color:#8acbb0}.compact-team-row>div{min-width:130px}.compact-panel-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.compact-ai-row>div{min-width:110px}@media(max-width:760px){.compact-data-row>div{padding-left:12px;padding-right:12px}.compact-data-row strong{font-size:19px}}

.ledger-trends-merged{display:block;align-self:start}.ledger-trends-merged>.panel{height:auto!important}.merged-trend-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.trend-kind-switch{display:flex;gap:6px}.merged-trend-view[hidden]{display:none!important}.ledger-trends-merged .ledger-line-chart{height:210px;min-height:0;max-height:210px}.ledger-trends-merged .panel-head{padding:15px 18px}.ledger-trends-merged .panel-body{padding:14px 16px}.ledger-trends-merged .trend-ranges{margin-bottom:8px}@media(max-width:760px){.ledger-trends-merged .ledger-line-chart{height:180px;max-height:180px}}

.platform-image-icon{--platform-icon-size:36px;display:inline-block;flex:0 0 var(--platform-icon-size);width:var(--platform-icon-size);height:var(--platform-icon-size);border-radius:50%;overflow:hidden;background-image:url('platform-icons-source.png');background-repeat:no-repeat;background-size:calc(var(--platform-icon-size)*4.875) calc(var(--platform-icon-size)*10.075);background-position:calc(var(--platform-icon-size)*-.8375) calc(var(--platform-icon-size)*var(--platform-icon-y));vertical-align:middle;box-shadow:0 0 0 1px #d4b56b55}.platform-page-title{display:flex;align-items:center;gap:10px}

.ai-platform-avatar{display:inline-block;flex-shrink:0;border-radius:50%;vertical-align:middle;object-fit:contain}.panel-title>.ai-platform-avatar{margin-right:6px}

.home-commission-stack{display:grid;gap:16px;min-width:0}.home-commission-stack>.panel{width:100%;min-width:0}.home-commission-stack .panel-head,.home-commission-stack .panel-body{padding:14px}.home-commission-stack .total-earnings-row{gap:8px;padding:12px 0}.home-commission-stack .total-earnings-row strong{font-size:16px}.home-commission-stack .earnings-category{font-size:12px}.home-commission-stack .compact-team-row>div{min-width:90px;padding:4px 10px}.home-commission-stack .compact-team-row strong{font-size:18px}.home-commission-stack .compact-data-row span{font-size:11px}.home-commission-stack .compact-data-row small{font-size:10px}.board-resize-handle{position:absolute;right:-6px;top:50%;z-index:3;width:18px;height:46px;transform:translateY(-50%);padding:0;border:1px solid #997332;border-radius:8px;background:#312413;color:#f3ce79;cursor:ew-resize;touch-action:none;opacity:.5;font-size:12px}.board-tile:hover>.board-resize-handle,.board-resize-handle:focus-visible,.board-resizing>.board-resize-handle{opacity:1}.board-resizing{outline:1px solid #d8b15c;border-radius:14px}.dashboard-board .board-tile{min-width:0;container-type:inline-size}.dashboard-board .board-tile .table-wrap{overflow-x:auto}.dashboard-board .board-tile .panel-head{flex-wrap:wrap}.dashboard-board .board-tile .panel-body{min-width:0}@container(max-width:420px){.compact-data-row strong{font-size:17px}.total-earnings-row{flex-wrap:wrap}.grid.three-col{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}}@media(max-width:760px){.board-resize-handle{display:none}.home-commission-stack{gap:12px}}

/* Resize by the border only; no visible control or arrow. */
.board-resize-handle{right:-4px;top:28px;bottom:0;width:8px;height:auto;transform:none;border:0;border-radius:0;background:transparent!important;box-shadow:none!important;color:transparent!important;opacity:1;padding:0;cursor:ew-resize}.board-resize-handle:focus-visible{outline:1px solid #d8b15c;outline-offset:0}.board-resizing{outline:none}

.report-export-history{min-width:0;overflow-x:auto}.report-export-history .table{font-size:12px;white-space:nowrap}.report-export-history .table th,.report-export-history .table td{padding:12px 14px}.empty>svg{width:40px;height:40px;flex-shrink:0}

.promotion-analysis-body{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr);gap:24px;align-items:center}#promotion-radar svg{display:block;width:100%;max-width:390px;margin:auto}#promotion-radar text{fill:#cfbea0;font-size:12px}.promotion-score{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px;color:#c4b492}.promotion-score strong{font-size:28px;color:#f3d182}.promotion-score small{font-size:12px;color:#a89b80}.promotion-advice-title{font-weight:700;color:#f0d9a5;margin-bottom:10px}.promotion-advice-item{padding:10px 12px;margin:8px 0;border-left:2px solid #bd9443;background:#d7ac4010;border-radius:0 8px 8px 0}.promotion-advice-item b{color:#e8cf94;font-size:13px}.promotion-advice-item p{margin:5px 0 0;color:#b9ae99;font-size:12px;line-height:1.7}.promotion-method{margin-top:12px;color:#a99e88;font-size:11px}.promotion-method summary{cursor:pointer}.promotion-method>div{overflow-x:auto;margin-top:12px}.promotion-method table{white-space:nowrap;font-size:11px}@media(max-width:900px){.promotion-analysis-body{grid-template-columns:1fr;gap:12px}#promotion-radar svg{max-width:330px}}
