:root{--surface:#f4f4f5;--ink:#1f2024;--muted:#8a8d94;--line:#e7e7e9;--line-soft:#eeeeef;--mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;color:var(--ink);background:var(--surface);letter-spacing:0;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;font-weight:500;line-height:1.45}*{box-sizing:border-box}html{background:var(--surface)}body{min-width:320px;min-height:100svh;margin:0}button,input{letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}#root{min-height:100svh}.app-shell{background:var(--surface);grid-template-columns:236px minmax(0,1fr);min-height:100svh;display:grid}.app-shell.is-collapsed{grid-template-columns:74px minmax(0,1fr)}.app-shell.is-collapsed .brand-name,.app-shell.is-collapsed .brand .brand-mark-img,.app-shell.is-collapsed .nav-item span,.app-shell.is-collapsed .nav-section{display:none}.app-shell.is-collapsed .brand{justify-content:center;padding:0}.app-shell.is-collapsed .sidebar{padding-inline:12px}.app-shell.is-collapsed .nav-item{justify-content:center;padding:0}.app-shell.is-collapsed .page-panel:before{left:74px}.app-shell.is-compact th,.app-shell.is-compact td{height:46px}.app-shell.is-compact .metric,.app-shell.is-compact .settlement-row{height:auto;min-height:44px}.sidebar{border-right:1px solid var(--line);background:#f6f6f7;height:100svh;padding:14px 10px;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:10px;height:38px;margin-bottom:30px;padding:0 4px;display:flex}.brand-mark{color:#fff;background:#202124;border-radius:50%;place-items:center;width:25px;height:25px;font-size:12px;font-weight:800;display:inline-grid}.brand-mark-img{object-fit:contain;width:42px;height:42px}.brand-mark-img.sm{width:25px;height:25px}.brand-mark-img.loading{animation:1.5s ease-in-out infinite pulse}.brand-name{color:var(--ink);font-size:17px;font-weight:700}.nav-list{flex-direction:column;gap:4px;display:flex}.nav-section{color:var(--muted);padding:20px 6px 6px;font-size:13px;font-weight:600}.nav-item{appearance:none;width:100%;height:38px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:13px;align-items:center;gap:10px;padding:0 10px;font-weight:650;display:flex}.nav-item:hover{background:#ececed}.nav-item.is-active{background:#dedede}.workspace{flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f9f9faeb;justify-content:flex-end;align-items:center;gap:26px;height:68px;padding:0 14px 0 24px;display:flex}.topbar-links{color:#52555b;align-items:center;gap:28px;font-weight:650;display:flex}.topbar-links button{appearance:none;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;font-weight:650}.topbar-links .is-current{color:var(--ink)}.topbar-actions{align-items:center;gap:10px;display:flex}.search-box{border:1px solid var(--line);width:min(320px,32vw);height:40px;color:var(--muted);background:#fff;border-radius:18px;align-items:center;gap:8px;padding:0 10px;display:flex}.search-box input{min-width:0;font:inherit;background:0 0;border:0;outline:0;flex:1}.search-clear{appearance:none;color:#8d9199;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;width:28px;height:28px;display:inline-grid}.search-clear:hover{color:#202124;background:#f0f1f3}kbd{border:1px solid var(--line);height:21px;color:var(--muted);border-radius:7px;align-items:center;padding:0 8px;font-size:12px;display:inline-flex}.icon-button{width:32px;height:32px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;display:inline-grid;position:relative}.icon-button:hover{background:#ececed}.has-badge:after{content:attr(data-count);color:#fff;background:#ff6b7a;border-radius:50%;place-items:center;min-width:17px;height:17px;font-size:11px;font-weight:750;display:inline-grid;position:absolute;top:-7px;right:-4px}.avatar{color:#fff;background:#cf5b8b;border:0;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:760;display:inline-grid}.avatar-button{cursor:pointer}.user-menu{position:relative}.user-popover{z-index:20;border:1px solid var(--line);background:#fff;border-radius:18px;gap:8px;width:230px;padding:14px;display:grid;position:absolute;top:42px;right:0;box-shadow:0 18px 60px #14161c29}.user-popover strong{color:var(--ink);font-size:15px}.user-popover span,.user-popover em{color:var(--muted);font-size:13px;font-style:normal}.menu-action{width:100%;margin-top:4px}.avatar.sm{width:28px;height:28px;font-size:13px}.page-panel{min-height:calc(100svh - 68px);margin:0;padding:30px 20px 38px}.page-panel:before{content:"";pointer-events:none;z-index:-1;background:linear-gradient(#f3f3f4,#f8f8f9);position:fixed;inset:68px 0 0 236px}.page-heading,.filter-bar,.table-panel,.metric-strip{width:min(100%,1780px);margin-inline:auto}.page-heading{border:1px solid var(--line);background:#fff;border-bottom:0;border-radius:28px 28px 0 0;justify-content:space-between;align-items:flex-start;gap:20px;padding:26px 20px 22px;display:flex}.page-heading h1{color:var(--ink);margin:0;font-size:24px;font-weight:780;line-height:1.2}.page-heading p{color:var(--muted);margin:8px 0 0;font-size:14px}.heading-actions{align-items:center;gap:10px;display:flex}.sync-chip{border:1px solid var(--line);color:#676a72;white-space:nowrap;text-overflow:ellipsis;background:#f9f9fa;border-radius:999px;align-items:center;max-width:320px;min-height:30px;padding:0 10px;font-size:13px;font-weight:720;display:inline-flex;overflow:hidden}.sync-chip.success{color:#078f66;background:#f1fffa;border-color:#ccf5e8}.sync-chip.error{color:#d13f54;background:#fff5f6;border-color:#ffd8de}.sync-chip.loading{color:#202124}.filter-bar{border-inline:1px solid var(--line);background:#fff;grid-template-columns:minmax(260px,1.7fr) minmax(150px,.7fr) minmax(150px,.7fr) minmax(170px,.8fr) auto;gap:10px;padding:0 20px 18px;display:grid}.field{border:1px solid var(--line);color:#5f6269;background:#fff;border-radius:18px;justify-content:space-between;align-items:center;gap:9px;min-width:0;height:40px;padding:0 13px;font-weight:650;display:flex}.field.wide{justify-content:flex-start}.select-field{position:relative}.select-field select{appearance:none;width:100%;min-width:0;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;outline:0;font-weight:650}.select-field svg{pointer-events:none;flex:none}.ghost-button,.dark-button{border:1px solid var(--line);height:38px;font:inherit;cursor:pointer;border-radius:18px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-weight:720;display:inline-flex}.ghost-button.compact{border-radius:14px;height:30px;padding:0 10px;font-size:13px}.count-button{appearance:none;color:#38516b;min-width:54px;height:30px;font:inherit;cursor:pointer;background:#f7fbff;border:1px solid #dfe7f2;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:13px;font-weight:780;display:inline-flex}.count-button:hover{color:#1f3f62;background:#fff;border-color:#b7cbe1}.row-actions{align-items:center;gap:6px;display:flex}.ghost-button:disabled,.dark-button:disabled{opacity:.48;cursor:not-allowed}.ghost-button{color:var(--ink);background:#fff}.dark-button{color:#fff;background:#090909;border-color:#090909}.dark-button.compact{min-width:72px}.metric-strip{border:1px solid var(--line);background:#fff;border-top:0;border-radius:0 0 28px 28px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;padding:0 20px 20px;display:grid}.overview-metric-board{grid-template-columns:minmax(360px,1.05fr) minmax(520px,1.6fr);align-items:stretch;gap:14px}.metric-group{grid-template-rows:auto 1fr;gap:10px;min-width:0;padding:2px 0 4px;display:grid}.metric-group.is-wide{grid-column:span 1}.metric-group-title{color:#8a8f98;letter-spacing:0;font-size:12px;font-weight:760}.metric-group-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.metric-group.is-wide .metric-group-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.metric{appearance:none;border:1px solid var(--line);color:#62656c;min-width:0;height:auto;min-height:56px;font:inherit;text-align:left;background:#fbfbfc;border-radius:17px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:8px 14px;display:grid}.metric svg{flex:none}.metric span{white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.25}button.metric{cursor:pointer}button.metric:hover{background:#fff;border-color:#cfd5de}.metric.is-active{background:#fff;border-color:#202124;box-shadow:inset 0 0 0 1px #202124}.metric strong{color:var(--ink);text-align:right;white-space:nowrap;justify-self:end;margin-left:0;font-size:16px;line-height:1.15}.metric.blue svg{color:#38a7ff}.metric.green svg{color:#11b887}.metric.rose svg{color:#ff5f86}.metric.amber svg{color:#ef9d18}.content-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;width:min(100%,1780px);margin:14px auto 0;display:grid}.content-grid.single-panel{grid-template-columns:minmax(0,1fr)}.content-grid.single-panel .span-5{grid-column:auto}.span-7{grid-column:span 7}.span-5{grid-column:span 5}.table-panel{border:1px solid var(--line);background:#fff;border-radius:22px;margin-top:14px;overflow:hidden}.agent-table-panel{overflow-x:auto}.content-grid .table-panel{margin-top:0}.channel-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.trend-panel{padding-bottom:18px}.trend-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 18px 4px;display:grid}.trend-chart{border:1px solid var(--line-soft);background:linear-gradient(0deg,#1f20240f 1px,#0000 1px) 0 0/100% 40px,#fbfbfc;border-radius:18px;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:12px;min-height:210px;margin:12px 18px 0;padding:18px 16px 14px;display:grid}.trend-bar-item{appearance:none;min-width:0;font:inherit;text-align:center;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:14px;grid-template-rows:1fr auto auto;gap:5px;padding:4px;display:grid}.trend-bar-item:hover,.trend-bar-item.is-selected{background:#ff5f860f;border-color:#ffd4de}.trend-bar-item.is-selected .trend-bar{outline:3px solid #ff5f862e;box-shadow:0 12px 22px #f044723d}.trend-bar-track{justify-content:center;align-items:flex-end;height:132px;display:flex}.trend-bar{background:linear-gradient(#ff6a8d 0%,#f04472 100%);border-radius:10px 10px 5px 5px;width:min(42px,70%);min-height:8px;position:relative;box-shadow:0 10px 18px #f044722e}.trend-bar.is-negative{background:linear-gradient(#9aa0aa 0%,#6f7681 100%);box-shadow:0 10px 18px #6f76812e}.trend-bar span{color:#3f4249;white-space:nowrap;opacity:0;pointer-events:none;font-size:12px;font-weight:760;transition:opacity .16s;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%)}.trend-bar-track:hover .trend-bar span,.trend-bar-item.is-selected .trend-bar span{opacity:1}.trend-bar-item strong{color:#4f535b;font-size:12px;line-height:1.1}.trend-bar-item em{color:var(--muted);font-size:11px;font-style:normal;line-height:1.1}.empty-chart{color:var(--muted);grid-column:1/-1;place-self:center;font-size:13px}.recharge-mode-bar{border:1px solid var(--line);background:#fff;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;min-height:58px;margin-top:14px;padding:10px 16px;display:flex}.recharge-mode-bar.is-day-mode{background:#fff8fa;border-color:#ffd4de}.recharge-mode-bar div{gap:3px;min-width:0;display:grid}.recharge-mode-bar strong{color:var(--ink);font-size:14px}.recharge-mode-bar span{color:var(--muted);font-size:13px;font-weight:650}.mode-loading{margin-left:auto}.section-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;height:58px;padding:0 18px;display:flex}.section-title h2{color:var(--ink);margin:0;font-size:17px;font-weight:780}.section-title span{color:var(--muted);font-size:13px}table{border-collapse:collapse;table-layout:fixed;width:100%}.admin-users-table{table-layout:auto;min-width:1120px}.admin-users-table th:first-child,.admin-users-table td:first-child{width:210px}.admin-users-table th:nth-child(2),.admin-users-table td:nth-child(2),.admin-users-table th:nth-child(3),.admin-users-table td:nth-child(3),.admin-users-table th:nth-child(4),.admin-users-table td:nth-child(4),.admin-users-table th:nth-child(5),.admin-users-table td:nth-child(5){width:140px}.admin-users-table th:nth-child(6),.admin-users-table td:nth-child(6){width:190px}.admin-users-table th:nth-child(7),.admin-users-table td:nth-child(7){width:270px}.agent-table{min-width:1360px}.agent-table th:first-child,.agent-table td:first-child{width:170px}.agent-table th:nth-child(2),.agent-table td:nth-child(2){width:210px}.agent-table th:nth-child(3),.agent-table td:nth-child(3){width:110px}.agent-table th:nth-child(4),.agent-table td:nth-child(4),.agent-table th:nth-child(5),.agent-table td:nth-child(5),.agent-table th:nth-child(9),.agent-table td:nth-child(9),.agent-table th:nth-child(10),.agent-table td:nth-child(10){width:120px}.agent-table th:nth-child(6),.agent-table td:nth-child(6),.agent-table th:nth-child(7),.agent-table td:nth-child(7),.agent-table th:nth-child(8),.agent-table td:nth-child(8){width:140px}.agent-table.commission-table{min-width:1040px}.agent-table.channel-table{min-width:1600px}.channel-table th:nth-child(3),.channel-table td:nth-child(3){width:240px}.channel-table th:nth-child(11),.channel-table td:nth-child(11){width:230px}.credential-status{gap:3px;min-width:0;display:grid}.credential-status span{text-overflow:ellipsis;color:#40434a;font-weight:720;overflow:hidden}.credential-status em,.credential-hint{color:var(--muted);font-size:12px;font-style:normal;font-weight:650}.credential-hint{border:1px solid var(--line-soft);background:#fbfbfc;border-radius:12px;margin-top:-2px;padding:8px 10px}.settled-ledger-table{min-width:1320px}.settled-ledger-table th:nth-child(6),.settled-ledger-table td:nth-child(6){width:190px}.settled-ledger-table th:nth-child(7),.settled-ledger-table td:nth-child(7),.settled-ledger-table th:nth-child(9),.settled-ledger-table td:nth-child(9),.settled-ledger-table th:nth-child(10),.settled-ledger-table td:nth-child(10){width:170px}.settled-ledger-panel .section-title{height:auto;min-height:64px;padding-block:10px}.proxy-settled-panel{margin-top:14px}.proxy-settled-table{min-width:1120px}.proxy-settled-table th:nth-child(4),.proxy-settled-table td:nth-child(4){width:190px}.proxy-settled-table th:nth-child(5),.proxy-settled-table td:nth-child(5){width:230px}.settled-mini-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 18px 4px;display:grid}.compact-tabs{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));width:min(360px,42vw)}.ledger-footnote{border-top:1px solid var(--line-soft);color:var(--muted);padding:12px 18px;font-size:13px;font-weight:650}.agent-table .action-column{z-index:2;background:#fff;width:132px;position:sticky;right:0;box-shadow:-10px 0 18px #ffffffe6}.agent-table th.action-column{z-index:3;background:#fdfdfd}th,td{border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;height:56px;padding:0 12px;overflow:hidden}th{color:#2b2d31;background:#fdfdfd;height:46px;font-size:14px;font-weight:760}.sort-button{appearance:none;width:100%;min-width:0;height:34px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:760;display:inline-flex}.sort-button svg{color:#8d9199;flex:none}.sort-button em{color:var(--muted);font-size:12px;font-style:normal;font-weight:650}.sort-button.is-active{color:#111317}.sort-button.is-active svg{color:#078f66}td{color:#53565d;font-size:14px;font-weight:560}.user-cell{align-items:center;gap:9px;min-width:0;display:flex}.user-cell strong{text-overflow:ellipsis;color:#555861;overflow:hidden}.pill,.money-pill,.status-dot,.source-real,.source-code{border:1px solid var(--line);max-width:100%;min-height:28px;color:var(--ink);text-overflow:ellipsis;background:#fafafa;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-weight:760;display:inline-flex;overflow:hidden}.pill.success,.source-real{color:#07946b;background:#f1fffa;border-color:#ccf5e8}.pill.muted,.source-code{color:#b66a00;background:#fffaf0;border-color:#eee2ca}.pill.neutral{color:#464a52}.note-pill{color:#38516b;text-overflow:ellipsis;background:#f7fbff;border:1px solid #dfe7f2;border-radius:999px;align-items:center;max-width:100%;min-height:28px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex;overflow:hidden}.note-cell{white-space:normal}.agent-table .note-pill{white-space:normal;text-overflow:clip;padding-block:4px;line-height:1.35;overflow:visible}.muted-text{color:var(--muted)}.money-pill{color:#111;background:#f6f6f7}.money-pill.is-warning{color:#d13f54;background:#fff5f6;border-color:#ffd8de}.code-pill{color:#24384f;max-width:220px;font-family:var(--mono);text-overflow:ellipsis;vertical-align:middle;background:#f7fbff;border:1px solid #dfe7f2;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:760;display:inline-block;overflow:hidden}.status-dot{gap:6px}.status-dot:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.status-dot.enabled{color:#078f66}.status-dot.paused{color:#b56a00}.settlement-list{padding:10px 16px 16px}.settlement-row{border-bottom:1px solid var(--line-soft);color:#5e6168;align-items:center;gap:10px;height:52px;font-weight:640;display:flex}.settlement-row:last-child{border-bottom:0}.settlement-row strong{color:var(--ink);margin-left:auto}.settlement-icon{border:1px solid var(--line);color:#202124;background:#fafafa;border-radius:12px;place-items:center;width:30px;height:30px;display:inline-grid}.mono{font-family:var(--mono)}.empty-cell{height:96px;color:var(--muted);text-align:center;font-weight:650}.info-panel{min-height:180px}.info-body{color:#555861;align-items:center;min-height:120px;padding:24px 18px;display:flex}.info-body strong{color:var(--ink);font-size:16px}.detail-card{border:1px solid var(--line);background:#fbfbfc;border-radius:14px;gap:5px;min-width:0;padding:12px;display:grid}.detail-card span{color:var(--muted);font-size:12px;font-weight:720}.detail-card strong{color:var(--ink);font-size:15px}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#14161c57;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.login-modal{border:1px solid var(--line);background:#fff;border-radius:22px;gap:14px;width:min(420px,100%);padding:18px;display:grid;box-shadow:0 24px 80px #14161c38}.data-entry-modal{width:min(560px,100%)}.settlement-modal{width:min(480px,100%)}.wechat-card{border:1px solid var(--line);background:#fbfbfc;border-radius:16px;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:14px;padding:12px;display:grid}.wechat-card img,.qr-placeholder{border:1px solid var(--line);background:#fff;border-radius:14px;width:96px;height:96px}.qr-placeholder{color:var(--muted);text-align:center;place-items:center;font-size:12px;font-weight:720;display:grid}.wechat-card span{color:var(--muted);font-size:12px;font-weight:720}.wechat-card strong{color:var(--ink);margin-top:6px;font-size:18px;display:block}.form-grid{gap:10px;display:grid}.form-grid.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.data-modal{width:min(1180px,100vw - 48px);max-height:calc(100svh - 48px);overflow:auto}.data-modal .table-panel{width:100%;margin-top:0}.data-modal table{min-width:860px}.modal-loading{border:1px dashed var(--line);min-height:160px;color:var(--muted);border-radius:18px;place-items:center;font-weight:720;display:grid}.modal-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-title h2{color:var(--ink);margin:0;font-size:18px}.modal-title span{color:var(--muted);margin-top:4px;font-size:13px;font-weight:650;display:block}.login-modal label{color:#555861;gap:7px;font-size:13px;font-weight:720;display:grid}.login-modal input,.login-modal select{border:1px solid var(--line);width:100%;height:42px;color:var(--ink);font:inherit;background:#fff;border-radius:16px;outline:0;padding:0 13px}.login-modal input:focus,.login-modal select:focus{border-color:#bfc3cc}.percent-input{align-items:center;gap:8px;display:flex}.percent-input input{flex:1}.percent-input strong{width:36px;color:var(--ink);font-size:15px}.segmented-control{border:1px solid var(--line);background:#f7f7f8;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;display:grid}.segmented-control button{appearance:none;color:#5f6269;min-width:0;height:34px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;font-size:13px;font-weight:760}.segmented-control button.is-active{color:var(--ink);background:#fff;box-shadow:0 1px 5px #14161c1a}.checkbox-stack{border:1px solid var(--line);background:#fbfbfc;border-radius:16px;gap:10px;padding:12px;display:grid}.login-modal .checkbox-row{color:#3f4249;grid-template-columns:none;align-items:center;gap:10px;display:flex}.login-modal .checkbox-row input{accent-color:#202124;flex:none;width:17px;height:17px;padding:0}.modal-submit{width:100%;margin-top:4px}@media (width<=1180px){.overview-metric-board{grid-template-columns:1fr}.app-shell{grid-template-columns:74px minmax(0,1fr)}.brand-name,.nav-item span,.nav-section{display:none}.sidebar{padding-inline:12px}.nav-item{justify-content:center;padding:0}.page-panel:before{left:74px}.topbar-links{display:none}}@media (width<=900px){.topbar{justify-content:space-between}.search-box{width:min(260px,52vw)}.page-heading{flex-direction:column}.heading-actions{flex-wrap:wrap;width:100%}.filter-bar,.metric-strip,.content-grid,.channel-summary-grid,.form-grid.two-cols{grid-template-columns:1fr}.trend-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.trend-chart{gap:8px;padding-inline:10px}.span-7,.span-5{grid-column:auto}.table-panel{overflow-x:auto}table{min-width:860px}}@media (width<=640px){.metric{grid-template-columns:22px minmax(0,1fr)}.overview-metric-board,.metric-group-grid,.metric-group.is-wide .metric-group-grid{grid-template-columns:1fr}.metric strong{text-align:left;grid-column:2;justify-self:start}.trend-summary{grid-template-columns:1fr}.trend-chart{min-height:190px;margin-inline:12px}.trend-bar{width:min(30px,78%)}.app-shell{grid-template-columns:1fr}.sidebar{display:none}.page-panel:before{inset-left:0}.topbar{padding-inline:10px}.topbar-actions{gap:4px}.search-box kbd,.topbar-actions .icon-button:nth-of-type(n+3){display:none}}.auth-screen{background:linear-gradient(135deg,#f6f6f7 0%,#e8e9eb 100%);place-items:center;min-height:100svh;padding:20px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:16px;width:100%;max-width:420px;padding:48px 40px;box-shadow:0 2px 12px #0000000f}.auth-brand{align-items:center;gap:14px;margin-bottom:32px;display:flex}.auth-brand .brand-mark-img{object-fit:contain;flex-shrink:0;width:48px;height:48px}.auth-brand .brand-mark{color:#fff;background:#202124;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;font-size:20px;font-weight:800;display:inline-grid}.auth-brand h1{color:var(--ink);margin:0;font-size:22px;font-weight:700;line-height:1.2}.auth-brand p{color:var(--muted);margin:4px 0 0;font-size:14px}.auth-field{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.auth-field span{color:var(--ink);font-size:14px;font-weight:600}.auth-field input{appearance:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 14px;font-size:15px;transition:all .2s}.auth-field input:focus{border-color:#202124;outline:none;box-shadow:0 0 0 3px #20212414}.auth-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:20px;padding:12px 14px;font-size:14px;font-weight:500}.auth-submit{width:100%;margin-bottom:16px}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-hint{text-align:center;color:var(--muted);margin:0;font-size:13px;line-height:1.5}.auth-loading{flex-direction:column;align-items:center;gap:16px;padding:60px 40px;display:flex}.auth-loading .brand-mark-img{object-fit:contain;width:48px;height:48px;animation:1.5s ease-in-out infinite pulse}.auth-loading .brand-mark{color:#fff;background:#202124;border-radius:50%;place-items:center;width:48px;height:48px;font-size:22px;font-weight:800;animation:1.5s ease-in-out infinite pulse;display:inline-grid}.auth-loading p{color:var(--muted);margin:0;font-size:15px}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(.95)}}
