/* 四端共用：沿用已定稿的布局与项目主题令牌，系统中文字体继承 style.css。
 * 单一布局适配入口：本文件的宽度/高度媒体查询；≤820px 适用 iOS、Android Web
 * 及窄窗 macOS/Windows，概览改为紧凑摘要，其他宽度显示双栏图表。
 * 不检测 UA、不复制业务规则。回归：1440×900 / 390×844、明暗主题、全部标签。
 * 390px 为宽度模拟；未代表 iOS / Android 实机、Windows 或 macOS 容器验收。
 */
html.bd-active,html.bd-active body,html.bd-active #app{width:100%;height:100vh;height:100dvh;margin:0;overflow:hidden}html.bd-active body{min-width:0;overscroll-behavior:none}.bd-business button,.bd-business select{font:inherit;touch-action:manipulation}.bd-business button:focus-visible,.bd-business select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.bd-business h1,.bd-business h2,.bd-business h3,.bd-business p{margin:0}.bd-business [hidden]{display:none!important}.bd-business .num{font-variant-numeric:tabular-nums;letter-spacing:-.4px}.bd-shell{height:100%;min-height:0;min-width:0}.bd-shell .main{height:100%;min-height:0;display:flex;flex-direction:column;padding-bottom:12px}.bd-shell .topbar{flex:none}.bd-shell .page{padding-top:16px;width:100%;max-width:1500px;min-height:0;min-width:0;flex:1;display:flex;flex-direction:column}.bd-shell .sidebar{min-height:0;height:100%;position:relative}.bd-shell .group-nav{min-height:0;overflow:visible;align-content:start}.bd-shell .nav-direct,.bd-shell .nav-group-toggle,.bd-shell .nav-child{flex:none}.bd-shell .sidebar-collapsed{min-height:0}.bd-shell .v4-page>.bd-business{min-height:0;flex:1}.bd-icon{display:inline-flex;align-items:center;justify-content:center;flex:none}.bd-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bd-business{display:flex;flex-direction:column;gap:10px;min-width:0}.bd-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex:none}.bd-heading h1{font-size:25px;font-weight:780;line-height:1.35;letter-spacing:-.5px}.bd-title-line{display:flex;align-items:center;gap:10px}.bd-sample{display:inline-flex;border:1px solid var(--gold-line);border-radius:6px;padding:3px 8px;color:var(--gold-ink);background:var(--gold-soft);font-size:11px;font-weight:700;white-space:nowrap}.bd-intro{font-size:11px;color:var(--text-soft);margin-top:3px}.bd-date{font-size:11px;color:var(--text-soft)}.bd-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.bd-filters{display:flex;gap:10px;min-width:0}.bd-filter{display:flex;align-items:center;gap:8px;color:var(--text-soft);font-size:11px;min-width:0}.bd-filter select{min-width:115px;max-width:100%;min-height:36px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);color:var(--text);padding:5px 28px 5px 10px;font-size:12px}.bd-filter svg{width:15px;height:15px}.bd-live-note{color:var(--text-soft);font-size:10px}.bd-nav{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--line);flex:none;min-width:0}.bd-nav button{padding:9px 17px;position:relative;display:flex;align-items:center;gap:6px;color:var(--text-soft);font-size:12px;font-weight:700;min-height:39px}.bd-nav button[aria-current]{color:var(--primary)}.bd-nav button[aria-current]:after{content:'';height:3px;border-radius:3px 3px 0 0;background:var(--primary);position:absolute;bottom:-1px;left:16px;right:16px}.bd-nav button:hover{background:var(--primary-soft);color:var(--primary)}.bd-subnav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.bd-sub-links{display:flex;gap:5px;padding:3px;border:1px solid var(--line);background:var(--surface-muted);border-radius:8px}.bd-sub-links button{padding:5px 12px;min-height:30px;border-radius:5px;color:var(--text-soft);font-size:11px;display:grid;place-items:center}.bd-sub-links button[aria-current]{background:var(--surface);color:var(--primary);font-weight:750;box-shadow:0 1px 3px #00000012}.bd-mobile-sub{display:none}.bd-stage,.bd-view{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}.bd-view:focus{outline:0}.bd-view .card{min-height:0;min-width:0}.bd-panel{display:flex;flex-direction:column;gap:12px;padding:18px;min-width:0;min-height:0;flex:1}.bd-panel .section-head{margin:0;flex:none;align-items:flex-start}.bd-panel .section-title{font-size:15px}.bd-panel .section-side{font-size:10px;margin-top:3px}.bd-link{display:inline-flex;align-items:center;gap:3px;color:var(--primary);font-size:11px;font-weight:700;min-height:29px;flex:none}.bd-link:hover{text-decoration:underline}.bd-link .bd-icon svg{width:13px;height:13px}.bd-big{font-size:33px;line-height:1.2;font-weight:780}.bd-big small{font-size:16px;font-weight:600;margin-right:3px}.bd-caption{color:var(--text-soft);font-size:10px;line-height:1.6}.bd-summary-line{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none}.bd-summary-label{font-size:10px;color:var(--text-soft);margin-top:5px}.bd-chart{flex:1;min-height:0;min-width:0}.bd-chart svg{display:block;width:100%;height:100%}.bd-chart text{font-family:inherit;font-size:10px;fill:var(--text-soft)}.bd-grid{stroke:var(--chart-grid);stroke-width:1;stroke-dasharray:3 5}.bd-line{fill:none;stroke:var(--primary);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.bd-area{fill:var(--primary);opacity:.13}.bd-point{fill:var(--surface);stroke:var(--primary);stroke-width:2}.bd-chart g[tabindex]:focus{outline:none}.bd-chart g[tabindex]:focus .bd-point,.bd-chart g[tabindex]:hover .bd-point{r:5;stroke-width:3}.bd-chart g[tabindex]:focus .bd-bar{stroke:var(--primary-ink);stroke-width:2}.bd-hit{fill:transparent;stroke:none}.bd-readout{font-size:10px;color:var(--text-soft);min-height:15px;flex:none}.bd-legend{display:flex;gap:14px;align-items:center;flex-wrap:wrap;flex:none;font-size:10px;color:var(--text-soft)}.bd-legend span{display:inline-flex;gap:6px;align-items:center}.bd-dot{display:inline-block;width:7px;height:7px;flex:none;border-radius:2px;background:var(--primary)}.bd-footer-note{font-size:10px;line-height:1.65;color:var(--text-soft);border-top:1px solid var(--line);padding-top:9px;flex:none}.bd-overview{display:grid;grid-template-rows:minmax(142px,.43fr) minmax(0,1fr);gap:14px;min-height:0;flex:1}.bd-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;min-height:0}.bd-kpi{padding:17px 15px;display:flex;flex-direction:column;gap:9px;justify-content:center;min-height:0;position:relative}.bd-kpi .metric-label{font-size:11px;display:flex;align-items:center;gap:7px;justify-content:space-between}.bd-kpi .metric-value{margin-top:0;font-size:29px;line-height:1.2;font-weight:780;letter-spacing:-.6px}.bd-kpi .metric-value small{font-size:14px;font-weight:500;margin-right:3px}.bd-kpi .metric-foot{margin-top:0;font-size:10px;display:flex;align-items:center;justify-content:space-between;gap:6px}.bd-kpi .metric-icon{float:none;width:24px;height:24px;border-radius:7px;margin:0}.bd-kpi .metric-icon svg{width:13px;height:13px}.bd-spark{height:24px;min-height:16px;flex:1;max-height:36px}.bd-spark svg{width:100%;height:100%;display:block}.bd-change{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:var(--success-fill);font-weight:750}.bd-change svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}.bd-change.down{color:var(--danger-fill)}html[data-theme=dark] .bd-change{color:var(--success)}html[data-theme=dark] .bd-change.down{color:var(--danger)}.bd-kpi.asset-card{padding:17px 15px;border:0;background:var(--hero-gradient)}.bd-kpi.asset-card .metric-label{color:var(--hero-text-soft)}.bd-kpi.asset-card .metric-value{font-size:31px}.bd-kpi.asset-card .bd-change{color:#9af0bf}.bd-kpi.asset-card .metric-foot{color:var(--hero-text-soft)}.bd-kpi.asset-card .bd-spark{color:#bcd0ff}.bd-overview-bottom{min-height:0;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:14px}.bd-mobile-glance{display:none}.bd-gauge-layout{display:flex;flex:1;min-height:0;flex-direction:column;gap:14px}.bd-gauge{min-width:0;min-height:0;flex:1;position:relative}.bd-gauge svg{display:block;width:100%;height:100%}.bd-progress-list{display:grid;gap:10px;flex:none}.bd-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:5px}.bd-progress-label span{color:var(--text-soft)}.bd-progress-track{height:6px;border-radius:4px;background:var(--surface-muted)}.bd-progress-track i{display:block;height:100%;border-radius:4px}.bd-platform-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;gap:30px;flex:1;min-height:0}.bd-donut{width:100%;height:100%;min-height:0;max-width:320px;max-height:320px;position:relative;place-self:center}.bd-donut svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}.bd-donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;pointer-events:none}.bd-donut-center strong{font-size:28px}.bd-donut-center span{font-size:11px;color:var(--text-soft)}.bd-platform-list{display:grid;grid-template-rows:repeat(var(--count),minmax(0,1fr));gap:10px;min-height:0;width:100%;height:100%;max-height:300px}.bd-platform-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:6px 0}.bd-platform-row:last-child{border:0}.bd-platform-row img{width:27px;height:27px;border-radius:7px}.bd-platform-row strong{font-size:13px}.bd-platform-row small{display:block;color:var(--text-soft);font-size:10px;margin-top:2px}.bd-platform-row .bd-platform-amount{font-size:18px}.bd-ranking-list{display:grid;grid-template-rows:repeat(var(--count),minmax(0,1fr));gap:12px;flex:1;min-height:0}.bd-rank-row{display:grid;grid-template-columns:30px 32px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:0}.bd-rank-number{width:26px;height:26px;border-radius:7px;background:var(--surface-muted);display:grid;place-items:center;font-size:12px;color:var(--text-soft);font-weight:780}.bd-rank-row:first-child .bd-rank-number{background:var(--gold-soft);color:var(--gold-ink)}.bd-rank-row img{width:29px;height:29px;border-radius:8px}.bd-rank-row strong{display:block;font-size:13px}.bd-rank-row small{font-size:10px;color:var(--text-soft)}.bd-rank-copy{display:grid;gap:7px}.bd-rank-value{text-align:right;min-width:70px}.bd-rank-value strong{font-size:22px}.bd-rank-value small{display:block;margin-top:3px}.bd-dual-metric{display:grid;grid-template-columns:1fr 1fr;gap:18px;flex:none}.bd-dual-metric>div+div{border-left:1px solid var(--line);padding-left:18px}.bd-dual-metric .bd-big{font-size:29px}.bd-review-list{display:grid;grid-template-rows:repeat(7,minmax(0,1fr));gap:6px;min-height:0;flex:1}.bd-review-row{display:grid;grid-template-columns:112px minmax(0,1fr) 46px 42px;align-items:center;gap:14px;font-size:12px}.bd-review-label{display:flex;align-items:center;gap:7px}.bd-review-count{text-align:right;font-weight:750;font-size:15px}.bd-review-share{text-align:right;font-size:10px;color:var(--text-soft)}.bd-status-strip{height:9px;border-radius:5px;display:flex;gap:2px;flex:none;overflow:hidden}.bd-status-strip i{min-width:0}.bd-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:24px repeat(var(--weeks,5),minmax(0,1fr));gap:8px;min-height:0;flex:1}.bd-weekday{display:grid;place-items:center;color:var(--text-soft);font-size:11px}.bd-day{min-width:0;min-height:0;border:1px solid var(--primary-line);border-radius:9px;padding:6px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:3px;background:color-mix(in srgb,var(--primary) calc(var(--level)*1%),var(--surface));color:var(--text)}.bd-day strong{font-size:12px;font-weight:650}.bd-day span{font-size:11px;font-weight:750}.bd-day[aria-pressed=true]{outline:2px solid var(--primary);outline-offset:1px}.bd-day:disabled{background:var(--surface-strong);color:var(--text-soft);border-color:var(--line);opacity:.5;cursor:default}.bd-heat-legend{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--text-soft)}.bd-heat-legend i{width:13px;height:13px;border-radius:3px;background:color-mix(in srgb,var(--primary) calc(var(--level)*1%),var(--surface))}.bd-table-body{min-width:0;min-height:0;flex:1}.bd-table{width:100%;height:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;text-align:left}.bd-table th{height:32px;background:var(--surface-strong);font-size:10px;color:var(--text-soft);font-weight:650}.bd-table th,.bd-table td{padding:6px 10px;border-bottom:1px solid var(--line)}.bd-table .bd-amount{text-align:right;font-weight:750}.bd-table th:last-child,.bd-table td:last-child{text-align:right}.bd-table small{display:block;color:var(--text-soft);font-size:10px;margin-top:2px}.bd-table .status{font-size:10px;padding:3px 7px}.bd-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;font-size:10px;color:var(--text-soft)}.bd-pagination-controls{display:flex;gap:6px;align-items:center}.bd-pagination button{min-height:33px;border:1px solid var(--line);background:var(--surface-strong);color:var(--text);border-radius:7px;padding:5px 10px;font-size:11px}.bd-withdraw-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-bottom:1px solid var(--line);padding-bottom:12px;flex:none}.bd-withdraw-summary strong{display:block;font-size:29px;margin-top:5px}.bd-withdraw-list{display:grid;grid-template-rows:repeat(var(--count),minmax(0,1fr));gap:10px;flex:1;min-height:0}.bd-withdraw-row{min-height:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:5px 0}.bd-withdraw-row:last-child{border:0}.bd-withdraw-row strong{font-size:13px;display:block}.bd-withdraw-row small{display:block;font-size:10px;color:var(--text-soft);margin-top:4px}.bd-withdraw-right{text-align:right}.bd-withdraw-right>strong{font-size:22px;margin-bottom:5px}.bd-channel{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.bd-channel svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}.bd-detail-list{display:grid;grid-template-rows:repeat(8,minmax(0,1fr));min-height:0;flex:1;margin:0}.bd-detail-list>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;border-bottom:1px solid var(--line);font-size:13px}.bd-detail-list dt{color:var(--text-soft)}.bd-detail-list dd{margin:0;text-align:right;overflow-wrap:anywhere}.bd-notes{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px 25px;min-height:0;flex:1}.bd-notes article{display:flex;flex-direction:column;justify-content:center;gap:7px;border-top:1px solid var(--line);min-height:0}.bd-notes h3{font-size:12px}.bd-notes p{font-size:12px;line-height:1.7;color:var(--text-soft)}.bd-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;font-size:10px;color:var(--text-soft)}.bd-foot label{display:flex;align-items:center;gap:6px}.bd-foot select{font-size:10px;min-height:28px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:6px;padding:3px 6px}.bd-state{display:flex;flex:1;min-height:0;align-items:center;justify-content:center;text-align:center}.bd-state-copy{max-width:290px;display:grid;justify-items:center;gap:14px}.bd-state-copy>.bd-icon svg{width:34px;height:34px;color:var(--primary)}.bd-state-copy h2{font-size:17px}.bd-state-copy p{font-size:12px;line-height:1.7;color:var(--text-soft)}.bd-theme-menu{position:fixed;right:30px;top:70px;z-index:70;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:7px;box-shadow:var(--shadow-pop);width:170px}.bd-theme-menu button{width:100%;display:flex;gap:9px;align-items:center;min-height:39px;padding:6px 9px;border:0;background:transparent;border-radius:7px;color:var(--text);font-size:12px}.bd-theme-menu button[aria-checked=true]{background:var(--primary-soft);color:var(--primary)}.bd-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;z-index:100;background:var(--nav);color:var(--nav-text-strong);border:1px solid var(--line-strong);border-radius:10px;padding:11px 15px;font-size:12px;box-shadow:var(--shadow-pop)}.bd-sr{position:fixed;top:0;left:0;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.bd-noscript{position:fixed;inset:20% 10%;z-index:99;background:var(--surface);padding:25px;border:1px solid var(--line);border-radius:12px}
@media(max-width:1200px) and (min-width:821px){.bd-kpi{padding:14px 12px}.bd-kpi.asset-card{padding:14px 12px}.bd-kpi .metric-value,.bd-kpi.asset-card .metric-value{font-size:25px}.bd-kpi .metric-label{font-size:10px}.bd-overview-bottom{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}}
@media(max-width:820px){.bd-shell,.bd-shell.sidebar-collapsed{height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.bd-shell .main{min-height:0;padding:0 max(16px,env(safe-area-inset-right)) 7px max(16px,env(safe-area-inset-left));height:100%}.bd-shell .topbar{height:64px;position:relative;top:auto;background:var(--bg)}.bd-shell .page{padding-top:12px;margin:0}.bd-shell .mobile-tabbar{position:relative;left:auto;right:auto;bottom:auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:5px max(10px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));min-height:60px}.bd-shell .mobile-tabbar button{min-height:48px;border-radius:11px;font-size:10px;white-space:nowrap}.bd-shell .mobile-tabbar svg{width:21px;height:21px}.bd-shell .mobile-drawer{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}.bd-shell .mobile-drawer .group-nav{gap:5px}.bd-shell .mobile-drawer .nav-direct,.bd-shell .mobile-drawer .nav-group-toggle{padding-top:9px;padding-bottom:9px;min-height:41px}.bd-shell .mobile-drawer .nav-child{padding-top:7px;padding-bottom:7px;min-height:33px}.bd-business{gap:8px}.bd-heading{min-height:32px;gap:8px}.bd-heading h1{font-size:22px}.bd-title-line{gap:8px}.bd-sample{font-size:10px;padding:2px 6px}.bd-date,.bd-intro{display:none}.bd-controls{gap:8px}.bd-filters{width:100%;gap:8px}.bd-filter{flex:1;gap:5px;font-size:10px}.bd-filter>span{display:none}.bd-filter select{flex:1;min-width:0;width:100%;min-height:35px;font-size:11px;padding:5px 24px 5px 8px}.bd-live-note{display:none}.bd-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.bd-nav button{justify-content:center;min-height:36px;padding:7px 4px;font-size:11px;gap:4px}.bd-nav .bd-icon svg{width:14px;height:14px}.bd-nav button[aria-current]:after{left:9px;right:9px}.bd-sub-links{display:none}.bd-subnav{gap:8px}.bd-mobile-sub{display:flex;align-items:center;gap:8px;color:var(--text-soft);font-size:10px;width:100%;justify-content:space-between}.bd-mobile-sub select{width:min(100%,220px);min-height:32px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);padding:4px 8px;font-size:11px}.bd-panel{padding:15px;gap:11px;border-radius:12px}.bd-panel .section-title{font-size:14px}.bd-panel .section-side{font-size:9px}.bd-big{font-size:30px}.bd-big small{font-size:14px}.bd-link{font-size:10px;min-height:26px}.bd-summary-label{font-size:9px}.bd-legend{font-size:9px;gap:10px}.bd-readout{font-size:9px;min-height:14px}.bd-footer-note{font-size:9px;padding-top:8px}.bd-overview{grid-template-rows:minmax(0,1fr) minmax(84px,.26fr);gap:10px}.bd-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) minmax(0,1fr) minmax(0,.75fr);gap:9px}.bd-kpi,.bd-kpi.asset-card{padding:12px 13px;gap:7px}.bd-kpi .metric-label{font-size:10px}.bd-kpi .metric-value,.bd-kpi.asset-card .metric-value{font-size:27px}.bd-kpi .metric-foot{font-size:9px;gap:4px}.bd-kpi .metric-icon{width:22px;height:22px}.bd-kpi .metric-icon svg{width:12px;height:12px}.bd-spark{height:20px;max-height:26px;min-height:14px}.bd-kpi:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;align-items:center;gap:5px 12px}.bd-kpi:last-child .metric-value{grid-row:1;grid-column:2;text-align:right}.bd-kpi:last-child .bd-spark{grid-column:1;grid-row:2;height:17px}.bd-kpi:last-child .metric-foot{grid-column:2;grid-row:2;display:flex}.bd-change{font-size:9px}.bd-overview-bottom{display:none}.bd-mobile-glance{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-height:0}.bd-glance-card{padding:10px 12px;display:flex;flex-direction:column;justify-content:center;gap:6px}.bd-glance-card>strong{font-size:20px}.bd-glance-card span{color:var(--text-soft);font-size:9px}.bd-glance-card .bd-link{min-height:22px}.bd-platform-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:12px}.bd-donut{max-width:250px;max-height:250px}.bd-donut-center strong{font-size:24px}.bd-donut-center span{font-size:10px}.bd-platform-list{height:auto;max-height:none;grid-template-rows:repeat(var(--count),40px);gap:0}.bd-platform-row{grid-template-columns:25px minmax(0,1fr) auto;gap:8px;padding:3px 0}.bd-platform-row img{width:23px;height:23px}.bd-platform-row strong{font-size:11px}.bd-platform-row small{font-size:9px;margin-top:1px}.bd-platform-row .bd-platform-amount{font-size:15px}.bd-ranking-list{gap:7px}.bd-rank-row{grid-template-columns:25px 27px minmax(0,1fr) auto;gap:8px}.bd-rank-row img{width:25px;height:25px}.bd-rank-number{width:23px;height:23px;font-size:10px}.bd-rank-row strong{font-size:12px}.bd-rank-row small{font-size:9px}.bd-rank-value{min-width:62px}.bd-rank-value strong{font-size:18px}.bd-dual-metric{gap:13px}.bd-dual-metric>div+div{padding-left:13px}.bd-dual-metric .bd-big{font-size:27px}.bd-gauge-layout{gap:11px}.bd-progress-list{gap:12px}.bd-progress-label{font-size:10px}.bd-review-row{grid-template-columns:104px minmax(0,1fr) 31px 33px;gap:7px;font-size:10px}.bd-review-label{gap:5px}.bd-review-count{font-size:13px}.bd-review-share{font-size:9px}.bd-review-list{gap:5px}.bd-status-strip{height:8px}.bd-calendar{gap:5px;grid-template-rows:20px repeat(var(--weeks,5),minmax(0,1fr))}.bd-weekday{font-size:10px}.bd-day{padding:5px;border-radius:6px}.bd-day strong{font-size:10px}.bd-day span{font-size:9px}.bd-table{font-size:11px}.bd-table th,.bd-table td{padding:5px 6px}.bd-table th{height:29px;font-size:9px}.bd-table small{font-size:9px;margin-top:2px}.bd-table .status{font-size:9px;padding:2px 5px}.bd-table .bd-task-cell{display:none}.bd-pagination{font-size:9px;gap:6px}.bd-pagination-controls{gap:5px}.bd-pagination button{min-height:31px;font-size:10px;padding:4px 8px}.bd-withdraw-summary{gap:12px;padding-bottom:10px}.bd-withdraw-summary strong{font-size:25px}.bd-withdraw-row{grid-template-columns:29px minmax(0,1fr) auto;gap:9px}.bd-withdraw-row strong{font-size:11px}.bd-withdraw-row small{font-size:9px}.bd-withdraw-right>strong{font-size:18px}.bd-channel{width:28px;height:28px}.bd-detail-list>div{font-size:11px;gap:12px}.bd-notes{grid-template-columns:1fr;grid-template-rows:repeat(6,minmax(0,1fr));gap:7px}.bd-notes h3{font-size:11px}.bd-notes p{font-size:10px;line-height:1.65}.bd-notes article{gap:4px}.bd-foot{font-size:9px;gap:8px}.bd-foot select{font-size:9px;min-height:25px;padding:2px 4px}.bd-foot .bd-link{font-size:9px;min-height:24px}.bd-theme-menu{top:58px;right:16px}.bd-state-copy h2{font-size:15px}.bd-state-copy p{font-size:11px}}
@media(max-height:740px){.bd-shell .page{padding-top:8px}.bd-business{gap:6px}.bd-panel{padding:12px;gap:8px}.bd-heading h1{font-size:21px}.bd-kpi,.bd-kpi.asset-card{padding:10px 12px;gap:5px}.bd-kpi .metric-value,.bd-kpi.asset-card .metric-value{font-size:23px}.bd-spark{height:15px;min-height:12px}.bd-kpi .metric-icon{width:19px;height:19px}.bd-kpi .metric-label{font-size:9px}.bd-kpi .metric-foot{font-size:8px}.bd-overview{gap:8px;grid-template-rows:minmax(0,1fr) minmax(75px,.25fr)}.bd-big{font-size:27px}.bd-glance-card{padding:8px 10px;gap:4px}.bd-glance-card>strong{font-size:17px}.bd-progress-list{gap:9px}.bd-progress-label{font-size:9px}.bd-platform-list{grid-template-rows:repeat(var(--count),34px)}.bd-calendar{gap:4px}.bd-day span{font-size:8px}.bd-notes p{font-size:9px}.bd-review-list{gap:3px}}
@media(max-width:360px){.bd-shell .main{padding-left:12px;padding-right:12px}.bd-heading h1{font-size:20px}.bd-filter select{font-size:10px;padding-left:6px}.bd-kpi .metric-value,.bd-kpi.asset-card .metric-value{font-size:24px}.bd-panel{padding:12px}.bd-review-row{grid-template-columns:98px minmax(0,1fr) 28px 31px;gap:5px}.bd-table th,.bd-table td{padding-left:4px;padding-right:4px}.bd-calendar{gap:4px}.bd-day{padding:4px}}
.bd-view .status.approved,.bd-view .status.paid{color:var(--success-fill)}.bd-view .status.pending,.bd-view .status.cooling{color:var(--gold-ink);background:var(--gold-soft)}.bd-view .status.rejected{color:var(--danger-fill)}html[data-theme="dark"] .bd-view .status.approved,html[data-theme="dark"] .bd-view .status.paid{color:var(--success)}html[data-theme="dark"] .bd-view .status.rejected{color:var(--danger)}
@media(prefers-reduced-motion:reduce){.bd-shell *,.bd-shell *::before,.bd-shell *::after{transition:none!important;animation:none!important}}


/* Dashboard scope only; the existing shell and all other pages retain normal scrolling. */
.bd-shell .v4-page{flex:1;display:flex;min-height:0;margin:0;gap:0}
.bd-nav button,.bd-sub-links button,.bd-link{border:0;background:transparent;font:inherit;cursor:pointer;color:var(--text-soft)}
.bd-nav button{font-size:12px;font-weight:700;text-align:center}
.bd-sub-links button{font-size:11px}
.bd-link{color:var(--primary);font-size:11px;padding:0}
.bd-business .bd-panel .section-head{margin:0}
.bd-business .bd-chart{position:relative}
/* All four Web clients and both themes: the grid/flex slot owns chart size.
 * Remove canvas intrinsic size from layout; Chart.js fits doughnuts to
 * min(available width, available height), after reserving its legend area.
 * Narrow layouts keep the existing single-column adapter above. */
.bd-business .bd-chart canvas{position:absolute;inset:0;display:block;width:100%!important;height:100%!important}
.bd-business .bd-platform-row,.bd-business .bd-rank-row{overflow-wrap:anywhere}
.bd-business .bd-platform-list{max-height:none}
.bd-business .bd-table{height:auto}
.bd-business .bd-table td{height:48px;overflow-wrap:anywhere}
.bd-business .bd-state{padding:20px}
.bd-business .bd-state-copy{max-width:420px}
.bd-business .bd-updating{color:var(--warning);font-size:10px}
.bd-business .bd-kpi .metric-value[data-missing]{font-size:17px;letter-spacing:0}
.bd-business .bd-paged-list{min-height:0;flex:1;display:flex;flex-direction:column}
.bd-business .bd-paged-list .bd-platform-list{flex:1}
.bd-business .bd-foot .bd-freshness{overflow-wrap:anywhere}
.bd-business .bd-chart-table{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.bd-business .bd-day:hover:not(:disabled){border-color:var(--primary)}
.bd-business .bd-day:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
@media(max-width:820px){
 .bd-nav button{justify-content:center;min-height:36px;padding:7px 4px;font-size:11px;gap:4px}
 .bd-nav button[aria-current]:after{left:9px;right:9px}
 .bd-business .bd-link{font-size:10px}
 .bd-business .bd-kpi .metric-value[data-missing]{font-size:16px}
 .bd-business .bd-table td{height:48px}
 .bd-business .bd-platform-list{grid-template-rows:repeat(var(--count),minmax(0,1fr))}
 .bd-business .bd-platform-row .bd-platform-amount{font-size:14px}
 .bd-business .bd-foot{font-size:9px}
 .bd-business .bd-freshness{max-width:230px;text-align:right}
}

.bd-business .bd-table .status{white-space:normal;max-width:100%;overflow-wrap:anywhere;text-align:left}
.bd-business .bd-chart canvas:focus-visible{outline:2px solid var(--primary)}
.bd-business .num,.bd-business .bd-big,.bd-business .bd-withdraw-right>strong{min-width:0;overflow-wrap:anywhere}
.bd-business .bd-money,.bd-business .bd-amount>span{display:inline-block;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.bd-business .bd-kpi .metric-value[data-wide]{font-size:18px}
/* iOS/Android Web and narrow macOS/Windows windows (<=820px): reserve
 * the full page title before sizing the action area. Desktop remains unchanged.
 * Money stays on one line; this does not alter navigation or business rules. */
@media(max-width:820px){
 .bd-shell .topbar .top-context{flex:0 0 auto;min-width:max-content}
 .bd-shell .topbar .context{flex-shrink:0;white-space:nowrap;overflow:visible;text-overflow:clip}
 .bd-shell .topbar .top-actions{min-width:0}
 .bd-shell .topbar .balance-chip{white-space:nowrap;overflow-wrap:normal;flex-shrink:0}
 .bd-business .bd-kpi .metric-value[data-wide]{font-size:12px}
}
/* Task-type statistics share one semantic table and one business model on all
 * four Web clients. At <=820px only this table becomes compact labelled rows;
 * desktop stays a six-column comparison. Long names/counts wrap, never clip. */
.bd-business .bd-task-types{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.bd-business .bd-task-type-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.bd-business .bd-task-type-table th,.bd-business .bd-task-type-table td{padding:16px 10px;text-align:right;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bd-business .bd-task-type-table thead th{font-size:12px;font-weight:600;color:var(--text-soft)}
.bd-business .bd-task-type-table th:first-child{width:28%;text-align:left}
.bd-business .bd-task-type-table tbody th{font-weight:650;line-height:1.5}
.bd-business .bd-task-type-table td{font-size:17px;font-weight:650}
.bd-business .bd-task-type-table .bd-task-count-approved_count{color:var(--success)}
.bd-business .bd-task-type-table .bd-task-count-failed_count{color:var(--danger)}
.bd-business .bd-task-type-table tbody tr:last-child th,.bd-business .bd-task-type-table tbody tr:last-child td{border-bottom:0}
.bd-business .bd-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:820px){
 .bd-business .bd-task-type-table{display:block;font-size:12px}
 .bd-business .bd-task-type-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .bd-business .bd-task-type-table tbody{display:block}
 .bd-business .bd-task-type-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;padding:14px 0;border-bottom:1px solid var(--line)}
 .bd-business .bd-task-type-table tbody tr:first-child{padding-top:4px}
 .bd-business .bd-task-type-table tbody tr:last-child{border-bottom:0}
 .bd-business .bd-task-type-table tbody th,.bd-business .bd-task-type-table tbody td{border:0;padding:0;width:auto;text-align:left}
 .bd-business .bd-task-type-table tbody th{grid-column:1/-1;font-size:13px}
 .bd-business .bd-task-type-table tbody td{font-size:16px;line-height:1.4}
 .bd-business .bd-task-type-table td:before{content:attr(data-label);display:block;font-size:10px;font-weight:400;line-height:1.6;color:var(--text-soft)}
}
/* 按 UID 统计 (USER_UID_STATS_20261116.md): shared by every client; the table
   becomes one card per row at the existing 820px breakpoint, like 按任务类型. */
.bd-panel-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.bd-uid-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.bd-uid-ranges{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface)}
.bd-uid-ranges button{min-height:30px;padding:4px 12px;border:0;border-radius:6px;background:transparent;color:var(--text-soft);font-size:12px;font-weight:600}
.bd-uid-ranges button[aria-pressed="true"]{background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary-line)}
.bd-uid-controls .bd-filters{width:auto;flex-wrap:wrap}
.bd-uid-search input{min-width:150px;min-height:36px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);color:var(--text);padding:5px 10px;font-size:12px}
.bd-uid-partial{margin:0;padding:8px 10px;border-radius:8px;background:var(--surface-muted);color:var(--text-soft);font-size:11px}
.bd-uid-wrap{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.bd-uid-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.bd-uid-table thead th{position:sticky;top:0;z-index:1;background:var(--surface);border-bottom:1px solid var(--line-strong);padding:0;text-align:right;white-space:nowrap}
.bd-uid-table thead th button{width:100%;min-height:36px;padding:8px 10px;border:0;background:transparent;color:var(--text-soft);font-size:12px;font-weight:600;text-align:inherit;cursor:pointer}
.bd-uid-table thead th button i{font-style:normal;margin-left:2px;color:var(--primary)}
.bd-uid-table thead th[aria-sort="ascending"] button,.bd-uid-table thead th[aria-sort="descending"] button{color:var(--text)}
.bd-uid-table .bd-uid-col-platform,.bd-uid-table .bd-uid-col-type,.bd-uid-table .bd-uid-col-uid{text-align:left}
.bd-uid-table td,.bd-uid-table tbody th{padding:10px;border-bottom:1px solid var(--line);text-align:right}
.bd-uid-table .bd-uid-text,.bd-uid-table .bd-uid-id{text-align:left}
.bd-uid-table .bd-uid-id{font-weight:650;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.bd-uid-table .bd-uid-num{font-weight:650}
.bd-uid-table .bd-uid-success{color:var(--success)}
.bd-uid-table .bd-uid-failed{color:var(--danger)}
.bd-uid-table .bd-uid-total th,.bd-uid-table .bd-uid-total td{background:var(--surface-muted);font-weight:750;text-align:right}
.bd-uid-table .bd-uid-total th{text-align:left}
.bd-uid-table .bd-uid-empty td{text-align:center;color:var(--text-soft);padding:24px 10px}
.bd-uid-sort-mobile{display:none}
.bd-uid-foot{display:flex;flex-direction:column;gap:4px}
.bd-uid-foot p{margin:0}
.bd-uid-foot summary{cursor:pointer;color:var(--primary);font-weight:600}
@media(max-width:820px){
 .bd-uid-controls{align-items:stretch;gap:6px}
 .bd-uid-ranges{width:100%}
 .bd-uid-ranges button{flex:1;min-height:30px}
 .bd-uid-controls .bd-filters{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .bd-uid-sort-mobile{display:flex}
 .bd-uid-controls .bd-filter>span,.bd-uid-controls .bd-filter>.bd-icon{display:none}
 .bd-uid-controls .bd-filter select{min-width:0;width:100%}
 .bd-uid-search input{width:100%;min-width:0;min-height:35px;font-size:11px;padding:5px 8px}
 .bd-business .bd-uid-table{display:block;font-size:12px}
 .bd-business .bd-uid-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .bd-business .bd-uid-table tbody{display:block}
 .bd-business .bd-uid-table tbody tr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 6px;padding:9px 10px;margin-bottom:7px;border:1px solid var(--line);border-radius:10px}
 .bd-business .bd-uid-table tbody th,.bd-business .bd-uid-table tbody td{border:0;padding:0;background:transparent;text-align:left}
 .bd-business .bd-uid-table .bd-uid-platform{grid-column:1/3;color:var(--text-soft);font-size:11px}
 .bd-business .bd-uid-table .bd-uid-type{grid-column:3/-1;color:var(--text-soft);font-size:11px}
 .bd-business .bd-uid-table .bd-uid-id{grid-column:1/-1;font-size:13px}
 .bd-business .bd-uid-table .bd-uid-total{background:var(--surface-muted)}
 .bd-business .bd-uid-table .bd-uid-total th{grid-column:1/-1;font-size:12px}
 .bd-business .bd-uid-table .bd-uid-num{font-size:14px;line-height:1.3}
 .bd-business .bd-uid-table .bd-uid-num:before{content:attr(data-label);display:block;font-size:9px;font-weight:400;line-height:1.5;color:var(--text-soft)}
 .bd-business .bd-uid-table .bd-uid-empty{display:block}
 .bd-business .bd-uid-table .bd-uid-empty td{display:block;text-align:center}
}

/* The chart data tables are for screen readers only. A table ignores its 1px
   height, so as an absolute box it still stretched the page below the
   viewport once the UID entry moved the panels down; fixed boxes never add
   to the page's scroll area. */
.bd-business .bd-chart-table{position:fixed}

/* UID 做单数据 entry (owner 2026-11-21: the small 按 UID link inside a card was
   not found). Shared by every client: a whole-card button between the KPI
   cards and the lower panels; at <=820px it sits above the two glance cards,
   and the tab row has five tabs. The overview row templates below only add
   the entry's auto row to the existing ones, in the same order. */
.bd-overview{grid-template-rows:minmax(142px,.43fr) auto minmax(0,1fr)}
.bd-uid-entry{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:11px 16px;border:1px solid var(--primary-line);border-radius:12px;background:var(--primary-soft);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.bd-uid-entry:hover{border-color:var(--primary)}
.bd-uid-entry:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.bd-uid-entry-icon{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--primary-gradient);color:var(--on-accent)}
.bd-uid-entry-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bd-uid-entry-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.bd-uid-entry-copy strong{font-size:15px;font-weight:750;color:var(--text)}
.bd-uid-entry-copy small{font-size:12px;color:var(--text-soft)}
.bd-uid-entry-go{flex:none;display:inline-flex;align-items:center;gap:2px;color:var(--primary);font-size:13px;font-weight:700}
.bd-uid-entry-go .bd-icon svg{width:14px;height:14px}
@media(max-width:820px){
 .bd-overview{grid-template-rows:minmax(0,1fr) auto minmax(84px,.26fr)}
 .bd-nav{grid-template-columns:repeat(5,auto);justify-content:space-between}
 .bd-nav button{white-space:nowrap;padding-left:4px;padding-right:4px}
 .bd-uid-entry{padding:9px 12px;gap:10px;border-radius:11px}
 .bd-uid-entry-icon{width:28px;height:28px;border-radius:8px}
 .bd-uid-entry-icon svg{width:15px;height:15px}
 .bd-uid-entry-copy strong{font-size:13px}
 .bd-uid-entry-copy small{font-size:10px}
 .bd-uid-entry-go{font-size:11px}
}
@media(max-height:740px){
 .bd-overview{grid-template-rows:minmax(0,1fr) auto minmax(75px,.25fr)}
 .bd-uid-entry{padding-top:7px;padding-bottom:7px}
}
/* Short phone screens (Safari with both toolbars, small phones): the
   overview scrolls at its natural height instead of squeezing the KPI cards
   into the tab row, and the entry keeps one line; the narrowest phones drop
   the tab icons so all five tabs fit. The UID card's six numbers give the
   success rate a little more room and wrap rather than scroll sideways. */
@media(max-width:820px) and (max-height:620px){
 .bd-overview{grid-template-rows:repeat(3,max-content);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
 .bd-kpi-grid{grid-template-rows:repeat(3,max-content)}
 .bd-uid-entry{padding-top:5px;padding-bottom:5px}
 .bd-uid-entry-copy small{display:none}
 .bd-uid-entry-icon{width:24px;height:24px}
}
@media(max-width:360px){
 .bd-nav .bd-icon{display:none}
}
@media(max-width:820px){
 .bd-business .bd-uid-table tbody tr{grid-template-columns:repeat(5,minmax(0,1fr)) minmax(0,1.3fr);gap:4px;padding-left:9px;padding-right:9px}
 .bd-business .bd-uid-table .bd-uid-num{font-size:13px;overflow-wrap:anywhere}
}
