@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
[hidden]{display:none!important}.login-screen{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 20% 10%,#edf0ff,transparent 38%),var(--bg)}.login-card{width:min(410px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 70px #1923391c}.login-mark{margin-bottom:22px}.login-card h1{font-size:22px;margin:0 0 7px}.login-hint{font-size:12px;color:#8791a3;margin:0 0 22px}.login-submit{width:100%;margin-top:5px}.login-error{min-height:17px;margin:0;color:#bd4758;font-size:11px}.remember-login{display:flex;align-items:center;gap:8px;margin:2px 0 12px;font-size:12px;color:var(--ink);cursor:pointer}.remember-login input{width:15px;height:15px;margin:0;accent-color:var(--primary)}.remember-login small{margin-left:auto;color:#8791a3;font-size:10px}
:root{--ink:#192339;--muted:#7c879b;--line:#e8ebf1;--surface:#fff;--bg:#f5f7fb;--blue:#4d67db;--blue2:#eef1ff;--green:#178b65;--amber:#ac741b;--red:#c44d5c;--shadow:0 8px 26px rgba(26,43,77,.055)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans','Noto Sans SC',sans-serif}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:24px 15px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-weight:700;font-size:16px;text-decoration:none;padding:0 8px 25px}.brand small,.workspace small,.profile small,.secure small{display:block;color:#9aa3b3;font-size:10px;font-weight:500;letter-spacing:.08em;margin-top:3px}.brand-mark{height:34px;width:34px;background:linear-gradient(140deg,#687cef,#455bc6);border-radius:11px;color:#fff;display:grid;place-items:center;font-size:17px}.workspace{border:1px solid var(--line);padding:10px;border-radius:11px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.workspace small,.profile small{letter-spacing:0;font-size:10px}.avatar{width:31px;height:31px;border-radius:10px;background:#e9edff;color:#5166d0;display:grid;place-items:center;font-weight:700}.chevron{margin-left:auto;color:#9aa3b3}.nav-label{font-size:10px;color:#a0a8b6;text-transform:uppercase;letter-spacing:.12em;margin:28px 10px 10px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;border:0;background:transparent;padding:11px 12px;border-radius:9px;color:#68748a;text-align:left;font:500 13px inherit;cursor:pointer;margin:2px 0}.nav-item span{width:18px;text-align:center;font-size:16px}.nav-item:hover{background:#f7f8fc}.nav-item.active{background:var(--blue2);color:var(--blue);font-weight:700}.sidebar-bottom{margin-top:auto}.secure{display:flex;gap:10px;align-items:flex-start;background:#f5faf8;color:#198162;padding:11px;border-radius:9px;font-size:10px}.secure small{color:#8aa99e;font-size:9px;letter-spacing:0}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:15px;padding:15px 4px 0;font-size:12px;font-weight:600}.profile-avatar{background:#f1eaff;color:#7f57b4}.profile button{margin-left:auto;border:0;background:none;font-size:20px;color:#8c96a7}.main{margin-left:244px;min-height:100vh;padding:0 42px 28px;max-width:1600px}.topbar{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.crumb{color:#8b95a7;font-size:12px}.crumb span{padding:0 8px;color:#c4cad4}.crumb b{color:#3e4960;font-weight:500}.top-actions{display:flex;align-items:center;gap:16px}.local-pill{border:1px solid #dcefe8;border-radius:20px;padding:6px 10px;color:#397f69;font-size:10px}.local-pill i{width:6px;height:6px;background:#2ca47b;border-radius:50%;display:inline-block;margin-right:5px}.icon-btn{border:0;background:none;font-size:18px;color:#7d8799}.mini-avatar{width:29px;height:29px}.page-head{padding:28px 0 20px;display:flex;justify-content:space-between;align-items:flex-end}.eyebrow{margin:0 0 7px;font-size:9px;letter-spacing:.15em;color:#98a2b3;font-weight:700}.page-head h1{font-size:25px;margin:0 0 7px;letter-spacing:-.03em}.subhead{margin:0;color:#8791a3;font-size:12px}.primary-btn,.secondary-btn{border:0;border-radius:8px;padding:10px 15px;background:var(--blue);color:white;font:600 12px inherit;cursor:pointer;box-shadow:0 4px 10px #4d67db25}.primary-btn:hover{background:#3f57c5}.secondary-btn{background:white;color:#667187;border:1px solid var(--line);box-shadow:none}.notice{display:flex;align-items:center;gap:10px;border:1px solid #e1e7ff;background:#f1f4ff;color:#65718a;padding:11px 14px;border-radius:9px;font-size:11px;margin-bottom:22px}.notice b{color:#485fc3}.notice-icon{width:18px;height:18px;border-radius:50%;background:#dce3ff;color:#5066ca;display:grid;place-items:center;font-weight:700}.notice button{margin-left:auto;border:0;background:none;color:#8793ae;font-size:18px;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.card,.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:17px 18px;min-height:110px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7e899d;font-size:11px}.stat-icon{width:28px;height:28px;border-radius:9px;background:#eef1ff;color:#5269d4;display:grid;place-items:center;font-size:14px}.stat-value{font-size:24px;font-weight:700;margin-top:11px;letter-spacing:-.03em}.stat-foot{font-size:10px;color:#a0a8b7;margin-top:4px}.grid-two{display:grid;grid-template-columns:1.5fr 1fr;gap:15px;margin-bottom:16px}.card{padding:18px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.card-title{font-weight:700;font-size:13px}.card-hint{color:#9ba4b3;font-size:10px;margin-top:4px}.text-btn{border:0;background:none;color:var(--blue);font-size:11px;cursor:pointer}.bar-chart{height:150px;display:flex;align-items:flex-end;justify-content:space-around;gap:11px;padding:8px 5px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 36px,#f0f2f6 37px)}.bar-col{height:100%;width:10%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;color:#9aa3b2;font-size:9px}.bar{width:100%;max-width:28px;border-radius:5px 5px 2px 2px;background:linear-gradient(#8191ec,#5269d7);min-height:8px}.bar-col:nth-child(2n) .bar{background:linear-gradient(#b3bdfa,#7d8de3)}.activity{display:flex;flex-direction:column;gap:15px}.activity-row{display:flex;gap:10px;align-items:flex-start}.activity-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#7284e2;box-shadow:0 0 0 4px #eff1ff}.activity-copy{font-size:11px;color:#606d83;line-height:1.65}.activity-copy small{display:block;color:#a2aab7;font-size:9px}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.data-table th{text-align:left;color:#98a1af;font-size:10px;font-weight:500;padding:10px 12px;border-bottom:1px solid var(--line)}.data-table td{padding:13px 12px;border-bottom:1px solid #f0f1f5;color:#59667d}.data-table tr:last-child td{border-bottom:0}.strong{font-weight:600;color:#27334a!important}.badge{display:inline-flex;border-radius:20px;padding:4px 8px;font-size:9px;background:#edf7f3;color:#258467}.badge.pending{background:#fff6e8;color:#a67625}.badge.rejected{background:#fff0f1;color:#b64d5a}.section-card{margin-bottom:15px}.toolbar{display:flex;align-items:center;gap:9px;margin-bottom:14px}.search{border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:white;font:11px inherit;color:var(--ink);min-width:220px;outline:none}.search:focus,.field input:focus,.field select:focus{border-color:#8291e6;box-shadow:0 0 0 3px #7385e51a}.toolbar .primary-btn{margin-left:auto}.field{margin:15px 0}.field label{display:block;color:#57637a;font-size:11px;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;font:12px inherit;outline:none;background:#fff}.field textarea{min-height:78px;resize:vertical}.empty{padding:40px;text-align:center;color:#98a2b1;font-size:12px}.query-panel{max-width:680px}.query-result{margin-top:16px;padding:14px;border-radius:8px;background:#f5f7ff;color:#66728a;font-size:11px;line-height:1.9;display:none}.toast{position:fixed;right:28px;bottom:24px;background:#202a40;color:white;padding:11px 16px;border-radius:8px;box-shadow:var(--shadow);font-size:11px;z-index:5}footer{padding:18px 0 0;color:#98a1ae;font-size:10px}footer span{float:right}.modal{border:0;border-radius:14px;width:min(460px,calc(100vw - 30px));padding:0;box-shadow:0 24px 80px #17234236}.modal::backdrop{background:#19233955;backdrop-filter:blur(2px)}.modal form{padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:15px}.modal-head h2{margin:0;font-size:18px}.close-btn{border:0;background:none;font-size:22px;color:#8993a4;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.modal-actions button{font-size:11px;padding:9px 13px}@media(max-width:1000px){.main{padding:0 24px 24px}.sidebar{width:210px}.main{margin-left:210px}.stats{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}}@media(max-width:680px){.sidebar{position:static;width:auto;height:auto;padding:12px}.brand{padding-bottom:12px}.workspace,.nav-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto}.nav-item{width:auto;white-space:nowrap;padding:9px 11px}.main{margin:0;padding:0 14px 20px}.topbar{height:52px}.page-head{align-items:flex-start;gap:12px;flex-direction:column}.page-head h1{font-size:21px}.stats{gap:8px}.stat-card{padding:13px;min-height:96px}.stat-value{font-size:20px}.grid-two{gap:10px}.card{padding:14px}footer span{float:none;display:block;margin-top:5px}}
.role-pill{padding:6px 10px;border-radius:18px;background:#f2f4ff;color:#5668c8;font-size:10px}.theatre-toolbar{padding:14px 18px;margin-bottom:20px;box-shadow:none}.filter-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.filter-row label{display:flex;align-items:center;gap:10px;color:#607089;font-size:11px}.filter-row select,.filter-row input{min-width:180px;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;color:var(--ink);font:12px 'Noto Sans SC',sans-serif}.filter-row.second{border-top:1px solid var(--line);margin:13px -18px -14px;padding:13px 18px}.filter-row.second .search{flex:1;min-width:220px}.filter-row.second select{flex:0 1 165px}.hint{color:#8490a3;font-size:11px}.resource-heading{display:flex;align-items:center;gap:14px;margin:20px 0 14px}.resource-heading h2{margin:0;font-size:17px}.resource-heading span{font-size:11px;color:#7f8ba0}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.resource-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.poster-frame{height:224px;position:relative;display:grid;place-items:center;background:#f2f5fa;cursor:pointer;border-bottom:1px solid var(--line);overflow:hidden}.poster{display:block;width:auto;height:200px;max-width:85%;object-fit:cover;border-radius:3px;box-shadow:0 4px 14px #18243a20}.poster-placeholder{width:150px;height:200px;background:linear-gradient(145deg,#243653,#bd735b 60%,#f1c57d);color:white;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:12px;text-align:center;font-size:11px}.poster-placeholder b{font-size:15px;text-shadow:0 1px 4px #0008}.resource-tag{position:absolute;left:13px;top:13px;padding:7px 10px;border-radius:8px;background:#d54e1e;color:#fff;font-size:12px;font-weight:700;box-shadow:0 2px 7px #5a2c1e33}.resource-copy{padding:13px 15px 15px}.heat{display:flex;align-items:center;gap:4px;color:#d96219;font-size:12px}.heat>span:first-child{font-size:10px;color:#c57430;margin-right:3px}.heat b{font-size:11px;margin-left:3px;color:#9d4a11}.heat .badge{margin-left:auto;color:#27876b}.publisher-line{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:11px}.publisher-line b{color:#15959c}.resource-copy h3{font-size:14px;margin:10px 0 0;min-height:24px}.alias{font-size:11px;color:#8894a7;margin:22px 0 15px}.resource-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);padding:13px 2px 2px;color:#75839a;font-size:10px}.resource-meta b{display:inline-block;margin-top:4px;color:#34445d;font-size:11px;font-weight:500}.admin-card-actions{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:10px}.admin-card-actions button{padding:7px 10px;font-size:10px}.empty-state{grid-column:1/-1;text-align:center;color:#8792a4}.table-sub{display:block;color:#8390a5;font-size:10px;margin-top:5px;white-space:normal}.data-table td .text-btn{margin-right:9px}.data-table td .text-btn:last-child{color:#bf5960}.query-panel{margin-bottom:16px}.query-result{display:block;overflow:auto;margin-top:20px}.resource-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.resource-form-grid .field{margin:9px 0}.resource-form-grid input,.resource-form-grid select{font:12px 'Noto Sans SC',sans-serif}.detail-resource{display:flex;gap:20px;align-items:flex-start;padding:14px;background:#f3f6fa;border:1px solid var(--line);border-radius:10px}.poster-small{width:110px;height:160px;max-width:none;flex:none}.detail-resource h2{font-size:20px;margin:4px 0 13px}.detail-resource p{color:#65748b;font-size:12px;margin:7px 0}.detail-grid{display:grid;grid-template-columns:repeat(4,auto);gap:14px;margin-top:18px;color:#718099;font-size:10px}.detail-grid b{display:block;color:#35455e;font-size:11px;margin-top:5px}.description,.materials{padding:12px 2px;border-top:1px solid var(--line);margin-top:14px}.description h3,.materials h3{margin:3px 0 8px;font-size:14px}.description p,.materials p{font-size:12px;color:#708097;line-height:1.8}.heat-banner{padding:13px;background:#fff3dd;color:#a45c1b;border:1px solid #f6e3be;border-radius:9px;font-size:12px}.heat-banner span{float:right}.materials{padding:13px;border:1px solid var(--line);border-radius:9px}.materials .secondary-btn{display:inline-flex;text-decoration:none}.activity>div:not(.activity-row){padding:5px 0;color:#67758c;font-size:12px}#modal:has(.detail-resource){width:min(760px,calc(100vw - 30px))}#modal:has(.resource-form-grid){width:min(680px,calc(100vw - 30px))}#modal .field input[type=file]{padding:7px}@media(max-width:1050px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.resource-grid{grid-template-columns:1fr 1fr;gap:9px}.poster-frame{height:170px}.poster{height:150px}.poster-placeholder{height:150px;width:110px}.resource-copy{padding:10px}.resource-copy h3{font-size:12px}.heat{flex-wrap:wrap;font-size:10px}.resource-meta{gap:7px}.filter-row{align-items:stretch}.filter-row label{width:100%;justify-content:space-between}.filter-row label select,.filter-row label input{flex:1;min-width:0}.filter-row.second .search{min-width:100%;flex:auto}.filter-row.second select{flex:1 1 40%}.detail-resource{gap:11px}.poster-small{width:85px;height:125px}.detail-grid{grid-template-columns:repeat(2,1fr)}.resource-form-grid{grid-template-columns:1fr}.heat-banner span{float:none;display:block;margin-top:8px}}
.income-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:20px}.date-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.date-label{font-size:11px;color:#61728c;margin-right:1px}.period-btn{border:1px solid #dce3ec;background:#f8fafc;color:#34445d;border-radius:8px;padding:9px 13px;font:600 11px 'Noto Sans SC',sans-serif;cursor:pointer}.period-btn.selected{border-color:#07877e;background:#07877e;color:#fff}.date-presets input[type=date]{width:132px;border:1px solid #dce3ec;border-radius:8px;padding:8px;color:#34445d;background:#fff;font:11px 'Noto Sans SC',sans-serif}.date-presets>span:not(.date-label){font-size:10px;color:#8994a6}.account-shortcut{font-size:11px;white-space:nowrap}.income-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.income-stats .stat-card{min-height:145px;padding:24px}.income-stats .stat-value{font-size:34px;margin-top:18px}.income-stats .gross-card{background:linear-gradient(135deg,#0e5055,#126764);border-color:#0e6764;color:#fff}.income-stats .gross-card .stat-top,.income-stats .gross-card .stat-value,.income-stats .gross-card .stat-foot{color:#fff}.income-stats .gross-card .stat-icon{background:#ffffff20;color:#fff}.approval-counts{display:flex;align-items:baseline;gap:7px;margin:24px 0 13px;color:#078a70}.approval-counts b{font-size:30px}.approval-counts small{font-size:10px;color:#078a70}.approval-counts i{height:22px;width:1px;background:var(--line);margin:0 5px}.approval-counts .pending-number,.approval-counts small:nth-of-type(2){color:#bc7a20}.my-account-earnings .card-head{margin-bottom:16px}.my-account-earnings .data-table td{padding-top:16px;padding-bottom:16px}.income-cell{color:#078a80!important}.table-foot{border-top:1px solid var(--line);padding:13px 20px 1px;color:#718099;font-size:11px}.account-state{font-size:10px;color:#738199;margin-top:8px}.account-state .badge{margin-left:5px}@media(max-width:1000px){.income-actions{align-items:flex-start}.date-presets{flex:1}.income-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.income-actions{flex-direction:column}.date-presets{width:100%}.date-presets input[type=date]{flex:1;min-width:120px}.income-stats .stat-card{min-height:120px;padding:15px}.income-stats .stat-value{font-size:25px}.approval-counts{margin:15px 0}.approval-counts b{font-size:23px}.table-foot{padding-left:12px}}
.breakdown-row>td{padding:0!important;background:#f7f9fc!important}.breakdown-panel{padding:16px 18px 12px;border-top:1px solid #e7ebf2}.breakdown-title{font-size:11px;font-weight:700;color:#42516a;margin:0 0 9px}.breakdown-panel .data-table{background:#fff;border:1px solid #e6eaf1;border-radius:8px;overflow:hidden}.breakdown-panel .data-table th,.breakdown-panel .data-table td{padding:9px 10px;font-size:10px}.breakdown-panel .data-table th{background:#f7f9fc}.breakdown-note{margin:10px 2px 0;color:#8a95a6;font-size:10px;line-height:1.6}.video-details summary{cursor:pointer;color:var(--blue);font-size:10px;white-space:nowrap}.video-details .table-wrap{min-width:570px;margin-top:8px}.video-details .data-table{border:0}.video-details .data-table td{padding:7px 8px}.toggle-breakdown{white-space:nowrap}
.account-table-actions{display:flex;align-items:center;gap:8px}.account-table-actions label{font-size:10px;color:#7f8ba0;white-space:nowrap}.account-table-actions select{max-width:260px;min-width:190px;border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fff;color:var(--ink);font:11px 'Noto Sans SC',sans-serif}.my-account-earnings .card-head{align-items:flex-start}.my-account-earnings .card-head>div:first-child{padding-top:4px}@media(max-width:680px){.account-table-actions{width:100%;flex-wrap:wrap}.account-table-actions select{flex:1;min-width:130px;max-width:none}.my-account-earnings .card-head{flex-wrap:wrap;gap:10px}}
.income-account-control{display:flex;align-items:center;gap:8px;flex:none}.income-account-control label{font-size:11px;color:#61728c;white-space:nowrap}.income-account-control select{min-width:230px;max-width:310px;border:1px solid #dce3ec;border-radius:8px;padding:9px 11px;background:#fff;color:#34445d;font:11px 'Noto Sans SC',sans-serif}.income-scope-note{margin:-7px 0 14px;padding:9px 12px;border-radius:7px;background:#f0f5f8;color:#68768b;font-size:11px}.income-scope-note b{color:#25455a}.income-stats .stat-foot{line-height:1.6;min-height:16px}@media(max-width:680px){.income-account-control{width:100%;flex-wrap:wrap}.income-account-control select{flex:1;min-width:170px;max-width:none}.income-scope-note{margin-top:0}}
.main-theater-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.main-theater-actions .secondary-btn{margin-left:5px}.main-theater-table .data-table{min-width:980px}.main-theater-form .resource-form-grid{margin-bottom:8px}.main-theater-form .primary-btn,.main-theater-form .secondary-btn{margin-right:8px}
.overview-theater-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 15px;margin-bottom:18px;box-shadow:none}.overview-theater-filter>label{font-size:11px;color:#61728c;white-space:nowrap}.overview-theater-filter select{min-width:220px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;background:#fff;color:var(--ink);font:11px 'Noto Sans SC',sans-serif}.overview-scope{flex:1;color:#7a8799;font-size:10px}.overview-scope b{color:#35445c}.main-theater-settings{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:16px;padding:0 15px;box-shadow:var(--shadow)}.main-theater-settings>summary{list-style:none;cursor:pointer;padding:14px 0;font-size:12px;font-weight:700;color:#35445c}.main-theater-settings>summary::-webkit-details-marker{display:none}.main-theater-settings>summary::after{content:'＋';float:right;color:#77849a}.main-theater-settings[open]>summary::after{content:'−'}.main-theater-settings>summary span{float:right;margin-right:12px;color:#8490a3;font-size:10px;font-weight:400}.main-theater-settings-body{border-top:1px solid var(--line);padding:12px 0 15px}.main-theater-settings-body>p{margin:0 0 10px}.main-theater-form .resource-form-grid{margin-bottom:7px}.main-theater-table .data-table{min-width:760px}@media(max-width:680px){.overview-theater-filter{align-items:stretch}.overview-theater-filter select{flex:1;min-width:165px}.overview-scope{flex-basis:100%}}
.overview-report-date{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-7px 0 18px;padding:12px 15px;box-shadow:none}.overview-report-date b{font-size:11px;color:#52617a}.overview-report-date>span{font-size:12px;color:#27334a;font-weight:600}.overview-report-date small{margin-left:auto;color:#96a0b1;font-size:10px}@media(max-width:680px){.overview-report-date small{flex-basis:100%;margin-left:0}}
.verification-row{display:flex;gap:8px}.verification-row input{flex:1;min-width:0}.verification-row button{flex:none;white-space:nowrap;padding:10px 12px;font-size:11px}.verification-row button:disabled{opacity:.65;cursor:wait}

.query-summary{margin:14px 0;padding:12px 14px;background:#f7f8fc;border:1px solid var(--line);border-radius:8px;line-height:1.8}.query-summary b{color:var(--ink)}.query-panel .toolbar select{min-width:min(420px,55vw)}@media(max-width:680px){.query-panel .toolbar select{min-width:0;flex:1}}

.section-card .toolbar select{max-width:320px;flex:1}@media(max-width:680px){.section-card .toolbar select{max-width:none;min-width:100%;flex:auto}}

.admin-earnings-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 16px}.admin-earnings-summary>div{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#fff}.admin-earnings-summary span{font-size:11px;color:var(--muted)}.admin-earnings-summary b{font-size:23px;color:var(--ink)}@media(max-width:680px){.admin-earnings-summary{grid-template-columns:1fr;gap:8px}.admin-earnings-summary>div{padding:11px 13px}.admin-earnings-summary b{font-size:20px}}

.admin-earnings-summary{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:680px){.admin-earnings-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.main-theater-settings>summary{display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 0}.main-theater-settings>summary strong{font-size:14px;color:var(--ink)}.main-theater-settings>summary .main-theater-count{margin:0 0 0 auto;padding:5px 10px;background:#f1f4ff;border-radius:20px;color:#586bd0;font-size:11px;font-weight:600}.main-theater-settings>summary .add-main-theater-btn{margin:0;padding:10px 16px;font-size:12px;box-shadow:0 4px 12px #4d67db35}.main-theater-settings>summary::after{content:'⌄';float:none;margin-left:4px;color:#7c879b;font-size:17px}.main-theater-settings[open]>summary::after{content:'⌃'}@media(max-width:680px){.main-theater-settings>summary{flex-wrap:wrap}.main-theater-settings>summary .main-theater-count{margin-left:auto}.main-theater-settings>summary .add-main-theater-btn{order:4;width:100%}.main-theater-settings>summary::after{order:3}}

.filter-combo{width:min(340px,30vw);min-width:230px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:12px 'Noto Sans SC',sans-serif}.filter-combo:focus{outline:2px solid #dce3ff;border-color:#8797ed}@media(max-width:680px){.filter-combo{width:100%;min-width:0}}

.period-summary-head{align-items:center;gap:16px}.period-summary-title{margin-left:auto}.period-theater-control{display:flex;align-items:center;gap:9px;flex:none}.period-theater-control label{font-size:11px;color:#61728c;white-space:nowrap}.period-theater-control select{min-width:220px;max-width:300px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;background:#fff;color:var(--ink);font:11px 'Noto Sans SC',sans-serif}@media(max-width:680px){.period-summary-head{align-items:stretch;flex-direction:column}.period-theater-control{width:100%}.period-theater-control select{flex:1;min-width:0;max-width:none}.period-summary-title{margin-left:0}}
.date-select-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:13px;min-width:132px;padding:8px 10px;border:1px solid #dce3ec;border-radius:8px;background:#fff;color:#34445d;font:11px 'Noto Sans SC',sans-serif;cursor:pointer;text-align:left}.date-select-btn span{color:#75839a}.date-select-btn:hover{border-color:#9aa8ef}.date-picker-source{display:none!important}.overview-report-date .date-select-btn{min-width:140px}@media(max-width:680px){.date-select-btn{flex:1;min-width:0}.overview-report-date .date-select-btn{min-width:0}}
.date-calendar-dialog{width:min(340px,calc(100vw - 28px));padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 20px 65px #18243a35}.date-calendar-dialog::backdrop{background:#18243a55}.date-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.date-calendar-head strong{font-size:14px}.date-calendar-head button{width:34px;height:32px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#52617a;font-size:18px;cursor:pointer}.date-calendar-head .date-calendar-close{margin-left:auto}.date-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.date-calendar-grid>span{padding:6px 0;color:#8792a4;font-size:11px}.calendar-day{height:36px;border:0;border-radius:8px;background:#fff;color:#35445c;font:12px 'Noto Sans SC',sans-serif;cursor:pointer}.calendar-day:hover{background:#eef1ff}.calendar-day.outside{color:#b5bdc9}.calendar-day.picked{background:var(--accent,#4d67db);color:#fff;font-weight:700}

/* Shared visual system with a distinct accent for each portal. */
body[data-product="admin"]{--accent:#4d67db;--accent-strong:#3f57c5;--accent-soft:#eef1ff;--accent-wash:#f7f8ff;--accent-line:#dfe5ff}
body[data-product="employee"]{--accent:#087f78;--accent-strong:#066a64;--accent-soft:#e6f4f2;--accent-wash:#f3f9f8;--accent-line:#d4ebe7}
body[data-product]{background:linear-gradient(180deg,var(--accent-wash) 0,#f5f7fb 220px);font-family:Inter,'DM Sans','Noto Sans SC','Microsoft YaHei',sans-serif}
body[data-product] .sidebar{background:rgba(255,255,255,.96);box-shadow:8px 0 28px rgba(23,39,68,.025)}
body[data-product] .brand{font-size:15px;letter-spacing:-.02em}
body[data-product] .brand-mark{background:linear-gradient(145deg,var(--accent),var(--accent-strong));box-shadow:0 5px 14px color-mix(in srgb,var(--accent) 22%,transparent)}
body[data-product] .workspace{background:var(--accent-wash);border-color:var(--accent-line);min-height:58px}
body[data-product] .workspace .avatar{background:var(--accent-soft);color:var(--accent)}
body[data-product] .nav-item{transition:background .16s ease,color .16s ease,transform .16s ease}
body[data-product] .nav-item:hover{background:var(--accent-wash);color:var(--accent);transform:translateX(2px)}
body[data-product] .nav-item.active{background:var(--accent-soft);color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}
body[data-product] .primary-btn{background:var(--accent);box-shadow:0 5px 13px color-mix(in srgb,var(--accent) 20%,transparent);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
body[data-product] .primary-btn:hover{background:var(--accent-strong);transform:translateY(-1px);box-shadow:0 8px 18px color-mix(in srgb,var(--accent) 24%,transparent)}
body[data-product] .page-head .eyebrow,body[data-product] .text-btn,body[data-product] .data-table a{color:var(--accent)}
body[data-product] .role-pill,body[data-product] .stat-icon{background:var(--accent-soft);color:var(--accent)}
body[data-product] .notice{border-color:var(--accent-line);background:var(--accent-wash)}
body[data-product] .notice b{color:var(--accent)}
body[data-product] .notice-icon{background:var(--accent-soft);color:var(--accent)}
body[data-product] .period-btn.selected{border-color:var(--accent);background:var(--accent);color:#fff}
body[data-product] .filter-combo:focus{outline-color:var(--accent-line);border-color:var(--accent)}
body[data-product] .card,body[data-product] .stat-card{border-radius:14px;box-shadow:0 8px 24px rgba(26,43,77,.045)}
body[data-product] .page-head h1{letter-spacing:-.04em}
body[data-product="admin"] .page-head{border-bottom:1px solid rgba(77,103,219,.08);margin-bottom:18px}
body[data-product="employee"] .income-stats .gross-card{background:linear-gradient(135deg,#075b5e,#087f78);border-color:#087f78}
body[data-product="employee"] .income-account-control select:focus,body[data-product="employee"] .date-presets input:focus{outline:2px solid var(--accent-line);border-color:var(--accent)}
body[data-product] .login-screen{background:radial-gradient(circle at 18% 12%,var(--accent-line),transparent 40%),var(--bg)}
body[data-product] .login-card{border-radius:20px;box-shadow:0 24px 76px rgba(25,35,57,.12)}
body[data-product] .login-mark{background:linear-gradient(145deg,var(--accent),var(--accent-strong))}
body[data-product] .field input:focus,body[data-product] .field select:focus,body[data-product] .field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}
@media(max-width:680px){body[data-product] .sidebar{box-shadow:0 4px 18px rgba(23,39,68,.04)}body[data-product] .nav-item.active{box-shadow:inset 0 -2px 0 var(--accent)}body[data-product="admin"] .page-head{border-bottom:0;margin-bottom:0}}

/* Strong portal distinction while preserving the shared component system. */
body[data-product="admin"]{--bg:#f1f4f9;--ink:#17243b;--muted:#8390a4;--line:#e1e6ef;--surface:#fff;--shadow:0 10px 28px rgba(23,36,59,.065)}
body[data-product="admin"] .sidebar{background:#17243b;color:#eef3ff;border-right:0;box-shadow:8px 0 30px rgba(12,24,45,.11)}
body[data-product="admin"] .brand{color:#fff}
body[data-product="admin"] .brand small{color:#9aa8bd}
body[data-product="admin"] .workspace{background:#202f49;border-color:#35445c;color:#e8eef9}
body[data-product="admin"] .workspace small{color:#a9b6c8}
body[data-product="admin"] .workspace .avatar{background:#2f4261;color:#cbd7ff}
body[data-product="admin"] .nav-label{color:#8e9db3}
body[data-product="admin"] .nav-item{color:#c0cada}
body[data-product="admin"] .nav-item:hover{background:#22324e;color:#fff}
body[data-product="admin"] .nav-item.active{background:#2a3b59;color:#fff;box-shadow:inset 3px 0 #8293ff}
body[data-product="admin"] .secure{background:#203c3a;color:#6bd0ae}
body[data-product="admin"] .secure small{color:#9fc7bd}
body[data-product="admin"] .profile{border-color:#35445c;color:#e8eef9}
body[data-product="admin"] .profile button{color:#b7c3d6}
body[data-product="admin"] .main{max-width:none;padding-left:38px;padding-right:38px}
body[data-product="admin"] .topbar{border-bottom-color:#dce3ed}
body[data-product="admin"] .page-head{position:relative;padding:30px 0 22px;margin-bottom:18px;border-bottom:0}
body[data-product="admin"] .page-head:after{content:"";position:absolute;left:0;bottom:0;width:58px;height:4px;border-radius:8px;background:linear-gradient(90deg,#536fe2,#8c9cff)}
body[data-product="admin"] .page-head h1{font-size:29px}
body[data-product="admin"] .card,body[data-product="admin"] .stat-card{border-color:#e2e7ef;border-radius:13px}
body[data-product="admin"] .stat-card{min-height:126px;padding:20px}
body[data-product="admin"] .stat-value{font-size:27px}
body[data-product="admin"] .data-table th{background:#f6f8fb;color:#7f8ca1}
body[data-product="admin"] .notice{padding:13px 16px}
body[data-product="employee"]{--bg:#f1f7f6;--ink:#1a3440;--muted:#708b91;--line:#dce9e7;--surface:#fff;--shadow:0 9px 26px rgba(21,73,73,.055)}
body[data-product="employee"] .sidebar{width:228px;background:#fff;border-right:1px solid #dbeae8;box-shadow:8px 0 26px rgba(10,89,81,.035)}
body[data-product="employee"] .brand{color:#183d43;padding-bottom:27px}
body[data-product="employee"] .workspace{background:#f3f9f8;border-color:#dcebe8;color:#31545a}
body[data-product="employee"] .nav-item{color:#59747a;padding-top:12px;padding-bottom:12px}
body[data-product="employee"] .nav-item.active{background:#e7f4f2;color:#08766f;box-shadow:inset 3px 0 #07877e}
body[data-product="employee"] .main{margin-left:228px;padding-left:38px;padding-right:38px}
body[data-product="employee"] .topbar{border-bottom-color:#dce9e7}
body[data-product="employee"] .page-head{padding:26px 0 22px}
body[data-product="employee"] .page-head h1{font-size:28px;color:#173c43}
body[data-product="employee"] .page-head .eyebrow{color:#07877e}
body[data-product="employee"] .card,body[data-product="employee"] .stat-card{border-color:#deebe9;border-radius:15px}
body[data-product="employee"] .income-actions{border-color:#dcebe8;box-shadow:0 6px 18px rgba(21,73,73,.035)}
body[data-product="employee"] .income-stats .stat-card{min-height:150px}
body[data-product="employee"] .income-stats .gross-card{box-shadow:0 12px 26px rgba(7,127,120,.19)}
body[data-product="employee"] .my-account-earnings .data-table th{background:#f1f8f7;color:#68858a}
body[data-product="employee"] .local-pill{border-color:#d5eae5;background:#f6fbfa;color:#35776d}
body[data-product="employee"] footer{color:#88a0a3}
@media(max-width:1000px){body[data-product="employee"] .sidebar{width:210px}body[data-product="employee"] .main{margin-left:210px;padding-left:24px;padding-right:24px}body[data-product="admin"] .main{padding-left:24px;padding-right:24px}}
@media(max-width:680px){body[data-product="employee"] .sidebar{width:auto}body[data-product="employee"] .main{margin:0;padding:0 14px 20px}body[data-product="admin"] .main{padding:0 14px 20px}body[data-product="admin"] .sidebar{background:#17243b}body[data-product="admin"] .nav-item.active{box-shadow:inset 0 -2px #8293ff}}

/* Accessibility pass: increase interface text by roughly two pixels. */
body[data-product]{font-size:16px}
body[data-product] .brand{font-size:17px}
body[data-product] .brand small,body[data-product] .workspace small,body[data-product] .profile small{font-size:12px}
body[data-product] .workspace{font-size:14px}
body[data-product] .nav-label{font-size:12px}
body[data-product] .nav-item{font-size:15px}
body[data-product] .secure{font-size:12px}
body[data-product] .secure small{font-size:11px}
body[data-product] .profile{font-size:14px}
body[data-product] .crumb{font-size:14px}
body[data-product] .page-head .eyebrow{font-size:11px}
body[data-product] .page-head h1{font-size:31px}
body[data-product] .subhead{font-size:14px}
body[data-product] .primary-btn,body[data-product] .secondary-btn{font-size:14px}
body[data-product] .notice{font-size:13px}
body[data-product] .stat-top{font-size:13px}
body[data-product] .stat-foot{font-size:12px}
body[data-product] .stat-value{font-size:29px}
body[data-product] .income-stats .stat-value{font-size:36px}
body[data-product] .card-title{font-size:15px}
body[data-product] .card-hint,body[data-product] .hint{font-size:12px}
body[data-product] .data-table{font-size:13px}
body[data-product] .data-table th{font-size:12px}
body[data-product] .data-table td{font-size:13px}
body[data-product] .table-sub,body[data-product] .table-foot{font-size:12px}
body[data-product] .field label{font-size:13px}
body[data-product] .field input,body[data-product] .field select,body[data-product] .field textarea,body[data-product] .search{font-size:14px}
body[data-product] .filter-row label,body[data-product] .filter-row select,body[data-product] .filter-row input{font-size:13px}
body[data-product] .period-btn,body[data-product] .date-presets input[type=date],body[data-product] .income-account-control label,body[data-product] .income-account-control select{font-size:13px}
body[data-product] footer{font-size:12px}
@media(max-width:680px){body[data-product] .page-head h1{font-size:25px}body[data-product] .stat-value{font-size:24px}body[data-product] .income-stats .stat-value{font-size:27px}body[data-product] .nav-item{font-size:14px}body[data-product] .data-table td{font-size:12px}}

.report-inbox-card{margin:0 0 16px;padding:18px 20px;border-color:var(--accent-line)!important;background:linear-gradient(110deg,var(--accent-wash),#fff 58%)}
.report-inbox-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.report-inbox-title{font-size:16px;font-weight:700;color:var(--ink)}
.report-inbox-sub{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.6}
.report-watch-badge{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:7px 11px;font-size:12px;font-weight:700;white-space:nowrap}
.report-watch-badge i{width:8px;height:8px;border-radius:50%;background:currentColor}
.report-watch-badge.is-on{color:#148264;background:#e8f6f0}.report-watch-badge.is-off{color:#b24d55;background:#fff0f0}
.report-inbox-path{display:flex;align-items:center;gap:12px;margin-top:14px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.report-inbox-path>span{color:var(--muted);font-size:12px;white-space:nowrap}
.report-inbox-path code{flex:1;color:var(--ink);font:600 14px 'Cascadia Code','Consolas',monospace;overflow-wrap:anywhere}
.report-inbox-path .secondary-btn{padding:8px 11px;font-size:12px;white-space:nowrap}
.report-inbox-footer{display:flex;justify-content:space-between;gap:12px;margin-top:11px;color:var(--muted);font-size:12px;line-height:1.6}
.report-inbox-success,.report-inbox-warning{margin-top:10px;padding:9px 11px;border-radius:8px;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.report-inbox-success{background:#eff8f4;color:#32765f}.report-inbox-warning{background:#fff5e8;color:#94631e}
@media(max-width:680px){.report-inbox-card{padding:14px}.report-inbox-top{flex-direction:column}.report-inbox-path{flex-wrap:wrap}.report-inbox-path code{order:3;flex-basis:100%}.report-inbox-path .secondary-btn{margin-left:auto}.report-inbox-footer{flex-direction:column}}

/* Scheme B: warm paper + forest green, shared by management and employee portals. */
body[data-product="admin"],body[data-product="employee"]{--bg:#f3f1e8;--ink:#20372d;--muted:#748178;--line:#dfe4d9;--surface:#fffefa;--accent:#276b4d;--accent-strong:#1e563d;--accent-soft:#e4eee3;--accent-wash:#edf2e8;--accent-line:#d6e2d3;--blue:#276b4d;--blue2:#e4eee3;--green:#267653;--shadow:0 9px 26px rgba(36,66,48,.07);font-family:'Microsoft YaHei UI','Microsoft YaHei','PingFang SC','Noto Sans SC',sans-serif;line-height:1.55}
body[data-product] .sidebar{background:#15392e;color:#edf3ea;border-right:1px solid #244a3d;box-shadow:8px 0 26px rgba(24,52,38,.10)}
body[data-product] .brand{color:#f5f7ef}
body[data-product] .brand small,body[data-product] .workspace small,body[data-product] .profile small{color:#a9bcb0}
body[data-product] .brand-mark{background:linear-gradient(145deg,#43835e,#246446);box-shadow:0 5px 14px rgba(8,31,20,.3)}
body[data-product] .workspace{background:#1e4938;border-color:#335d4a;color:#f2f5ed}
body[data-product] .workspace .avatar{background:#326147;color:#e3f0df}
body[data-product] .nav-label{color:#a6b9ab}
body[data-product] .nav-item{color:#d0ddd1}
body[data-product] .nav-item:hover{background:#204b39;color:#fff;transform:translateX(2px)}
body[data-product] .nav-item.active{background:#2a5b43;color:#fff;box-shadow:inset 3px 0 #a8c77e}
body[data-product] .secure{background:#214b3a;color:#8dd1ad}
body[data-product] .secure small{color:#b2d2bd}
body[data-product] .profile{border-color:#315443;color:#f0f4ec}
body[data-product] .profile button{color:#c1d1c3}
body[data-product] .avatar{background:#e1ecdf;color:#286446}
body[data-product] .topbar{border-bottom-color:#dfe4d9}
body[data-product] .crumb,body[data-product] .subhead{color:#738176}
body[data-product] .page-head .eyebrow,body[data-product] .text-btn,body[data-product] .data-table a{color:#276b4d}
body[data-product] .page-head h1{color:#20372d;letter-spacing:-.035em}
body[data-product="admin"] .page-head{border-color:#dfe4d9}
body[data-product="admin"] .page-head:after{background:#92b57b}
body[data-product] .card,body[data-product] .stat-card{background:#fffefa;border-color:#dfe4d9;border-radius:12px;box-shadow:0 8px 22px rgba(36,66,48,.055)}
body[data-product] .card-title{color:#20372d}
body[data-product] .card-hint,body[data-product] .hint{color:#7f8e80}
body[data-product] .stat-card{position:relative;overflow:hidden}
body[data-product] .stat-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:#82a86d}
body[data-product] .stat-card:nth-child(2):before{background:#759b87}
body[data-product] .stat-card:nth-child(3):before{background:#c6a35b}
body[data-product] .stat-card:nth-child(4):before{background:#4f8261}
body[data-product] .stat-top{color:#64766a}
body[data-product] .stat-icon{background:#e7efe3;color:#276b4d}
body[data-product] .stat-value{color:#20372d}
body[data-product] .stat-foot{color:#809083}
body[data-product="employee"] .income-stats .gross-card{background:#1c5b43;border-color:#1c5b43;color:#fff;box-shadow:0 12px 24px rgba(28,91,67,.18)}
body[data-product="employee"] .income-stats .gross-card .stat-top,body[data-product="employee"] .income-stats .gross-card .stat-value,body[data-product="employee"] .income-stats .gross-card .stat-foot{color:#fff}
body[data-product] .notice{border-color:#d8e4d4;background:#edf3e9;color:#526b59}
body[data-product] .notice b{color:#276b4d}
body[data-product] .notice-icon{background:#dce9d8;color:#276b4d}
body[data-product] .overview-theater-filter,body[data-product] .overview-report-date,body[data-product] .income-actions{background:#fffefa;border-color:#dfe4d9;box-shadow:0 5px 16px rgba(36,66,48,.045)}
body[data-product] .overview-scope,body[data-product] .income-scope-note{color:#617467}
body[data-product] .income-scope-note,body[data-product] .breakdown-panel{background:#edf2e8;border-color:#dce5d8}
body[data-product] .data-table th{background:#eaf0e6;color:#617568;font-weight:700;border-bottom-color:#d8e2d6}
body[data-product] .data-table td{color:#43584a;border-bottom-color:#e8ece4}
body[data-product] .data-table tbody tr:hover td{background:#f4f6ef}
body[data-product] .strong{color:#253c30!important}
body[data-product] .badge{background:#e5f0e6;color:#2d7652}
body[data-product] .period-btn.selected,body[data-product] .primary-btn{background:#276b4d;border-color:#276b4d;color:#fff}
body[data-product] .primary-btn:hover{background:#1e563d}
body[data-product] .secondary-btn{background:#fffefa;color:#3f5b49;border-color:#d5dfd3}
body[data-product] .date-select-btn,body[data-product] .income-account-control select,body[data-product] .overview-theater-filter select,body[data-product] .period-theater-control select{background:#fffefa;border-color:#d5dfd3;color:#2d4536}
body[data-product] .local-pill{border-color:#d3e2d4;background:#edf4eb;color:#397457}
body[data-product] .report-inbox-card{background:linear-gradient(110deg,#edf3e9,#fffefa 62%);border-color:#d8e4d4!important}
body[data-product] .report-inbox-success{background:#e7f1e7;color:#397254}
body[data-product] .leader-referral-card{display:flex;align-items:center;gap:16px;margin-bottom:16px;padding:18px 20px;background:#edf3e9;border-color:#d8e4d4;box-shadow:none}
body[data-product] .leader-referral-card>div{flex:1}.leader-referral-card p{margin:5px 0 0;color:#64776a;font-size:13px}.leader-referral-card code{padding:9px 15px;border:1px dashed #97b494;border-radius:8px;background:#fffefa;color:#245a40;font:700 18px 'Cascadia Code','Consolas',monospace;letter-spacing:.12em}.leader-referral-card .secondary-btn{white-space:nowrap}.team-empty{padding:30px 14px;border:1px dashed #d0ddcf;border-radius:9px;background:#f6f7f0;color:#758579;font-size:13px;text-align:center}
@media(max-width:680px){body[data-product] .leader-referral-card{align-items:stretch;flex-direction:column}.leader-referral-card code{text-align:center}}
.admin-team-overview{margin:22px 0}.admin-team-overview-head,.admin-team-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.admin-team-overview-head{margin:0 0 14px}.admin-team-overview-head h2,.admin-team-card-head h3{margin:0;color:var(--ink);font-size:18px}.admin-team-overview-head p,.admin-team-card-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.admin-team-overview-head>span{color:var(--muted);font-size:12px;white-space:nowrap}.admin-team-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.admin-team-kpis .stat-card{min-width:0}.admin-team-card{margin:12px 0;padding:20px}.admin-team-card-head{align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}.admin-team-card-head p code{padding:3px 8px;border-radius:6px;background:var(--surface-soft,#f2f5ef);color:var(--accent,#226b50);font-weight:700;letter-spacing:.08em}.admin-team-total{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}.admin-team-total span,.admin-team-total small{color:var(--muted);font-size:12px}.admin-team-total strong{color:var(--accent,#226b50);font-size:22px}.admin-team-members{padding-top:8px}.admin-team-member{padding:0 2px;border-bottom:1px solid var(--line)}.admin-team-member:last-child{border-bottom:0}.admin-team-member summary{display:grid;grid-template-columns:minmax(150px,1.2fr) repeat(3,minmax(110px,1fr)) minmax(95px,.7fr);align-items:center;gap:12px;padding:14px 8px;cursor:pointer;list-style:none;color:var(--ink);font-size:13px}.admin-team-member summary::-webkit-details-marker{display:none}.admin-team-member summary::before{content:'＋';grid-column:1;grid-row:1;justify-self:start;color:var(--accent,#226b50);font-weight:700}.admin-team-member[open] summary::before{content:'−'}.admin-team-member-name{padding-left:20px;font-weight:700}.admin-team-member-name small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:400}.admin-team-member summary>b{text-align:right;color:var(--accent,#226b50)}.admin-team-member>.table-wrap{margin:0 8px 12px 28px}.admin-team-member .data-table th,.admin-team-member .data-table td{padding:9px 11px}.admin-team-no-accounts{margin:0 8px 13px 28px;padding:14px;border-radius:8px;background:var(--surface-soft,#f2f5ef);color:var(--muted);font-size:12px}.admin-team-card>.admin-team-members>.admin-team-no-accounts{margin:16px 0 0}.admin-team-overview .empty-state{padding:28px;text-align:center}@media(max-width:900px){.admin-team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-team-member summary{grid-template-columns:minmax(135px,1.2fr) repeat(2,minmax(100px,1fr)) minmax(85px,.7fr)}.admin-team-member summary>span:nth-of-type(4){display:none}}@media(max-width:600px){.admin-team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-team-overview-head,.admin-team-card-head{align-items:stretch;flex-direction:column}.admin-team-overview-head>span{white-space:normal}.admin-team-total{align-items:flex-start;text-align:left}.admin-team-member summary{grid-template-columns:minmax(115px,1fr) auto;gap:8px}.admin-team-member summary>span:nth-of-type(2),.admin-team-member summary>span:nth-of-type(3){display:none}.admin-team-member summary>b{grid-column:2;grid-row:1}.admin-team-member>.table-wrap{margin-left:0}}
body[data-product] .login-screen{background:radial-gradient(circle at 18% 12%,#e5eddf,transparent 42%),var(--bg)}
body[data-product] .login-card{background:#fffefa;border-color:#dfe4d9}
body[data-product] .login-mark{background:linear-gradient(145deg,#43835e,#246446)}
body[data-product] .login-submit{background:#276b4d}
body[data-product] .field input:focus,body[data-product] .field select:focus,body[data-product] .field textarea:focus,body[data-product] .income-account-control select:focus{border-color:#548a65;box-shadow:0 0 0 3px rgba(39,107,77,.12)}
body[data-product] .page-head h1{font-size:32px}
body[data-product] .data-table{font-size:14px}
body[data-product] .data-table th{font-size:13px;padding-top:12px;padding-bottom:12px}
body[data-product] .data-table td{font-size:14px;padding-top:15px;padding-bottom:15px}
body[data-product] .table-sub,body[data-product] .table-foot{font-size:13px}
@media(max-width:680px){body[data-product] .page-head h1{font-size:26px}body[data-product] .data-table td{font-size:12px;padding:11px 9px}body[data-product="admin"] .sidebar{background:#15392e}body[data-product] .nav-item.active{box-shadow:inset 0 -2px #a8c77e}}
.admin-team-member summary{position:relative}.admin-team-member summary::before{position:absolute;left:8px;top:50%;transform:translateY(-50%)}
@media(max-width:900px){.admin-team-member summary{grid-template-columns:minmax(135px,1.2fr) minmax(100px,1fr) minmax(100px,1fr) minmax(85px,.7fr)}.admin-team-member summary>span:nth-of-type(2){display:none}}
.page-loading-banner,.page-loading-inline{display:flex;align-items:center;gap:9px;padding:11px 14px;margin:0 0 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font-size:12px}.page-loading-inline{margin:0;padding:18px;justify-content:center;border:0;background:transparent}.loading-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #19816218;animation:loading-pulse 1.15s ease-in-out infinite}@keyframes loading-pulse{50%{opacity:.35;transform:scale(.78)}}
.admin-team-filterbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(260px,1.7fr) auto auto;align-items:end;gap:12px;margin:0 0 14px;padding:16px}.admin-team-filterbar label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px}.admin-team-filterbar select,.admin-team-filterbar input{width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:8px;padding:0 11px;background:var(--surface);color:var(--ink);font:12px 'Noto Sans SC',sans-serif}.admin-team-filterbar .primary-btn,.admin-team-filterbar .secondary-btn{height:40px;white-space:nowrap}.admin-team-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:1100px){.admin-team-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-team-filterbar .team-data-filter{grid-column:span 2}.admin-team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.admin-team-filterbar{grid-template-columns:1fr}.admin-team-filterbar .team-data-filter{grid-column:auto}.admin-team-filterbar .primary-btn,.admin-team-filterbar .secondary-btn{width:100%}.admin-team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.leader-account-row{box-shadow:inset 4px 0 #287553}
.leader-account-row>td{background:#e6f3e9!important;border-bottom-color:#bed5c2!important}
.leader-account-badge{display:inline-flex;align-items:center;margin-left:9px;padding:3px 9px;border:1px solid #b8d6bf;border-radius:999px;background:#dff0e3;color:#216344;font-size:11px;font-weight:700;white-space:nowrap}
.leader-account-row .secondary-btn{border-color:#8fba9a;background:#e5f2e7;color:#1f6543;font-weight:700}
.confirm-dialog{width:min(460px,calc(100vw - 32px));margin:auto;padding:28px;border:1px solid #dce5df;border-radius:16px;background:#fff;color:var(--ink);text-align:center;box-shadow:0 24px 72px #17234238}
.confirm-dialog::backdrop{background:rgba(18,31,44,.58);backdrop-filter:blur(2px)}
.confirm-dialog-mark{display:grid;width:40px;height:40px;margin:0 auto 12px;place-items:center;border-radius:50%;background:#fff4df;color:#a86d15;font-size:22px;font-weight:800}
.confirm-dialog h2{margin:0 0 12px;font-size:18px}
#confirm-dialog-message{margin:0;color:#49566c;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.confirm-dialog-actions{display:flex;justify-content:center;gap:10px;margin-top:24px}
.confirm-dialog-actions button{min-width:94px;padding:10px 18px;border-radius:9px;cursor:pointer;font:600 13px 'Noto Sans SC',sans-serif}
.confirm-dialog-actions #confirm-dialog-accept{background:#246f50;box-shadow:0 4px 12px #246f5025}
.confirm-dialog-actions #confirm-dialog-accept:hover{background:#1b5f43}
.my-account-earnings,.my-account-earnings .card-title,.my-account-earnings .card-hint,.my-account-earnings .data-table th,.my-account-earnings .data-table td,.my-account-earnings .table-sub,.my-account-earnings .table-foot,.my-account-earnings .breakdown-title,.my-account-earnings .breakdown-note,.my-account-earnings .video-details summary,.my-account-earnings .toggle-breakdown{font-size:14px!important}
.my-account-earnings .metric-number{font-family:Arial,'Microsoft YaHei UI','Microsoft YaHei',sans-serif;font-size:14px!important;font-weight:700;font-variant-numeric:tabular-nums;font-feature-settings:'tnum';letter-spacing:0;color:#20372d}
.loading-dialog{width:min(420px,calc(100vw - 32px));margin:auto;padding:34px 30px;border:1px solid #dce5df;border-radius:18px;background:#fff;color:var(--ink);text-align:center;box-shadow:0 28px 80px rgba(20,38,29,.24)}
.loading-dialog::backdrop{background:rgba(17,31,25,.62);backdrop-filter:blur(2px)}
.loading-dialog-content{display:flex;flex-direction:column;align-items:center}
.loading-spinner{width:42px;height:42px;margin:0 0 16px;border:4px solid #e4eee3;border-top-color:#267653;border-radius:50%;animation:loading-dialog-spin .8s linear infinite}
@keyframes loading-dialog-spin{to{transform:rotate(360deg)}}
.loading-dialog h2{margin:0 0 8px;font-size:18px}
.loading-dialog p{margin:0;color:#536356;font-size:14px;line-height:1.6}
.loading-progress{position:relative;width:100%;height:7px;margin:21px 0 11px;overflow:hidden;border-radius:999px;background:#e8eee7}
.loading-progress span{display:block;width:32%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7eaa74,#267653);transition:width .35s ease;animation:loading-progress-flow 1.2s ease-in-out infinite alternate}
#loading-dialog[data-phase="verify"] .loading-progress span{width:32%}
#loading-dialog[data-phase="load"] .loading-progress span{width:68%}
#loading-dialog[data-phase="done"] .loading-progress span{width:100%;animation:none;background:#267653}
@keyframes loading-progress-flow{to{filter:brightness(1.2);transform:translateX(8%)}}
.loading-dialog small{color:#839083;font-size:12px}
