.finance-workspace-nav{display:flex;gap:6px;padding:6px;background:#edf2f8;border-radius:12px;margin:12px 0 18px;flex-wrap:wrap}
.finance-workspace-nav button{background:transparent;color:#64748b;padding:11px 22px;border-radius:8px}
.finance-workspace-nav button[aria-selected=true]{background:#fff;color:#2563eb;box-shadow:0 2px 8px #15264412;font-weight:600}
.finance-workspace-nav button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
#financeAnalysis [role=tabpanel][hidden]{display:none!important}
.finance-workspace-charts{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px}
.finance-workspace-charts>.panel{min-width:0}
.finance-workspace-chart{height:340px;min-width:0}
.finance-category-drill{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}
.finance-category-drill button{font-size:12px}
@media(max-width:1150px){.finance-workspace-charts{grid-template-columns:1fr}.finance-workspace-nav button{padding:10px 14px}}
.page-finance #financeAnalysis .section-heading{margin-bottom:6px;align-items:center}
.page-finance #financeAnalysis .section-heading p{margin:0;font-size:12px}
.page-finance #financeAnalysis [hidden]{display:none!important}
.page-finance .finance-workspace-nav{margin:8px 0 14px}
.page-finance .finance-workspace-nav button{font-size:16px;font-weight:650;min-height:44px}
.page-finance .finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:10px}
.page-finance .finance-ledger-meta{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 14px;padding:0 4px}
.page-finance .finance-ledger-meta .kpi{display:flex;align-items:center;gap:8px;background:none;border:0;box-shadow:none;padding:0;min-height:0}
.page-finance .finance-ledger-meta strong{font-size:14px}.page-finance .finance-ledger-meta small{display:none}
.page-finance .finance-disclosure{border:1px solid #e2e8f0;border-radius:10px;background:white;margin:10px 0;padding:12px 16px}
.page-finance .finance-disclosure>summary{cursor:pointer;font-size:14px;font-weight:600;color:#475569;min-height:24px}
.page-finance .finance-disclosure[open]>summary{margin-bottom:12px}
.page-finance .finance-disclosure>.panel{padding:0;box-shadow:none;border:0;margin:0}
.page-finance .finance-summary-switch{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.page-finance .finance-summary-switch button{background:#eef2f7;color:#475569;min-height:38px;font-weight:600;padding:8px 14px}
.page-finance .finance-summary-switch button[aria-selected=true]{background:#2563eb;color:white}
.page-finance .finance-summary-grid{display:block}
.page-finance .finance-workspace-charts h4{margin:0 0 8px;font-size:16px}
.page-finance #financeAnalysis .panel-title{margin-bottom:10px}
@media(max-width:700px){.page-finance .finance-summary{grid-template-columns:1fr}.page-finance .finance-workspace-nav button{flex:1;padding:10px;font-size:14px}}

.page-finance .finance-crossdock-summary{padding:16px 18px;margin-bottom:16px;min-width:0}
.page-finance .finance-crossdock-summary .panel-title{padding:0;gap:12px;flex-wrap:wrap}
.page-finance .finance-crossdock-summary h4{margin:0;font-size:15px}
.page-finance .finance-crossdock-summary p{font-size:12px;color:#64748b;line-height:1.7;margin:10px 0}
.page-finance .finance-crossdock-summary p:last-child{margin-bottom:0}
.page-finance .finance-crossdock-scroll{padding:0;max-height:250px;border:1px solid #e8edf5;border-radius:8px}
.page-finance #financeCrossdockTable :is(th,td):nth-child(n+3):nth-child(-n+6){text-align:right;font-variant-numeric:tabular-nums}
.page-finance #financeCrossdockTable td:nth-child(6){font-weight:650}

.page-finance .finance-summary-scroll th button{padding:0;background:transparent;color:inherit;font:inherit;white-space:nowrap;text-align:left}
.page-finance .finance-summary-scroll th button::after{content:' ↕';color:#64748b}
.page-finance .finance-summary-scroll th[aria-sort="ascending"] button::after{content:' ↑'}
.page-finance .finance-summary-scroll th[aria-sort="descending"] button::after{content:' ↓'}
.page-finance .finance-summary-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:12px;margin-top:14px}
.page-finance .finance-summary-chart-status{grid-column:1/-1;margin:0;color:#64748b;font-size:12px}
.page-finance .finance-summary-charts>div{min-width:0;border:1px solid #e2e8f0;border-radius:10px;padding:12px}
.page-finance .finance-summary-charts h5{margin:0;font-size:14px}
.page-finance .finance-summary-bar-scroll{max-height:310px;overflow:auto}
.page-finance .finance-summary-charts-empty>div{display:none}
.page-finance .finance-category-drill label{display:flex;align-items:center;gap:8px}
@media(max-width:700px){.page-finance .finance-summary-charts{grid-template-columns:minmax(0,1fr)}}

.page-finance .finance-overview-payout p,.page-finance #financeBridgeChecks{color:#475569;font-size:13px;line-height:1.7;margin:8px 0 0}
.page-finance .finance-settlement-bridge .table-wrap{padding:0}
.page-finance .finance-settlement-bridge tbody th{position:static;font-weight:500}
.page-finance .finance-settlement-bridge :is(td,th):last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.page-finance .finance-settlement-bridge summary{cursor:pointer}
.page-finance .finance-settlement-bridge ul{margin:6px 0;padding-inline-start:18px}
.page-finance .finance-bridge-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:12px}
.page-finance .finance-overview-trend{grid-template-columns:minmax(0,1fr)}

.page-finance .finance-overview-headline{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;margin-bottom:14px}
.page-finance .finance-overview-headline>.panel{min-width:0;margin:0;padding:16px 18px}
.page-finance .finance-overview-result h3,.page-finance .finance-overview-payout h3{margin:0;font-size:16px}
.page-finance #financeOverviewPeriod{margin:4px 0 10px;color:#64748b;font-size:12px}
.page-finance .finance-overview-payout button{margin-top:10px}
.page-finance .finance-overview-headline .finance-overview-primary{display:grid;gap:3px;margin:8px 0;color:#334155;padding:0;border:0;box-shadow:none;min-height:0;background:none}
.page-finance .finance-overview-primary::before{display:none}
.page-finance .finance-overview-primary>strong{font-size:clamp(20px,2.3vw,31px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.page-finance .finance-overview-balance{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #e2e8f0;font-size:13px;color:#475569}
.page-finance .finance-overview-result .finance-summary{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;padding-top:10px;margin:0;border-top:1px solid #e2e8f0}
.page-finance .finance-overview-result .finance-summary .kpi{min-height:0;padding:0;border:0;box-shadow:none;background:none}
.page-finance .finance-overview-result .finance-summary .kpi::before{display:none}
.page-finance .finance-overview-result .finance-summary .kpi span{font-size:12px}
.page-finance .finance-overview-result .finance-summary .kpi strong{font-size:clamp(13px,1.25vw,17px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.page-finance #financeSalesNet{color:#1d4ed8}
.page-finance .finance-formula-sign{color:#64748b}
.page-finance .finance-settlement-bridge .table-wrap table{min-width:0}
.page-finance .finance-settlement-bridge th:first-child{text-align:left}
.page-finance .finance-settlement-bridge tfoot{background:#eff6ff;color:#1e3a8a;font-weight:700}
.page-finance .finance-bridge-checks,.page-finance .finance-bridge-adjustments{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.page-finance .finance-bridge-checks[hidden]{display:none}
.page-finance .finance-bridge-adjustments{border-left:1px solid #e2e8f0;padding-left:14px}
.page-finance .finance-bridge-checks .has-difference{color:#92400e;font-weight:650}
.page-finance .finance-overview-indicators{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.8fr);gap:14px}
.page-finance .finance-overview-indicators>div{min-width:0;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px}
.page-finance .finance-overview-indicators h4{font-size:13px;margin:0 0 7px}
.page-finance .finance-overview-indicators>div>strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}
.page-finance .finance-overview-indicators small{color:#64748b}
.page-finance #financeTopFees{margin:0;padding-inline-start:18px;font-size:13px}
.page-finance #financeTopFees li+li{margin-top:5px}
.page-finance #financeTopFees strong{margin-left:8px;white-space:nowrap}
@media(max-width:760px){
  .page-finance .finance-overview-headline{grid-template-columns:minmax(0,1fr)}
  .page-finance .finance-overview-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-finance .finance-overview-indicators>div:last-child{grid-column:1/-1}
  .page-finance .finance-bridge-adjustments{border-left:0;padding-left:0}
}

.page-finance .finance-summary-insight{max-height:360px;overflow:auto}
.page-finance .finance-insight-note{margin:6px 0;font-size:12px;color:#475569}
.page-finance .finance-insight-controls:empty{display:none}
.page-finance .finance-insight-controls{margin-top:8px;font-size:13px}
.page-finance .finance-insight-controls ol{margin:6px 0 0;padding-inline-start:21px;max-height:140px;overflow:auto}
