.finance-workspace{width:min(1450px,calc(100vw - 40px));max-width:none;height:calc(100dvh - 48px);max-height:1000px;padding:0;border:1px solid #d9e5e0;border-radius:18px;color:#243b3b;background:#f5f8f7;overflow:hidden}
.finance-workspace[open]{display:flex;flex-direction:column}.finance-workspace>header{display:flex;align-items:center;gap:16px;padding:20px 26px;background:white;border-bottom:1px solid #dfe8e4;flex-shrink:0}.finance-workspace h2{font-size:26px;margin:3px 0 0}.finance-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:10px;color:#7b918a}.finance-updated{margin-left:auto;font-size:12px;color:#71857e}.finance-toolbar{display:flex;align-items:center;gap:20px;padding:14px 26px;flex-wrap:wrap}.finance-toolbar>small{margin-left:auto;color:#72887e}.finance-content{flex:1;overflow:auto;padding:0 26px 22px}.finance-error:not(:empty){padding:12px 14px;border:1px solid #dca877;border-radius:10px;background:#fff3e4;margin:0 0 12px}.finance-warnings{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.finance-warnings span{font-size:11px;background:#fff2df;color:#835719;padding:5px 10px;border-radius:6px}.finance-metrics{display:grid;grid-template-columns:1.15fr 1.15fr 1fr 1fr;gap:12px;margin-bottom:16px}.finance-metric{background:white;border:1px solid #dce6e1;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:9px;min-width:0}.finance-metric>span{font-size:12px;color:#6c837b}.finance-metric strong{font-size:27px;line-height:1.15;letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap}.finance-metric em{font-style:normal;font-size:19px;color:#849890}.finance-metric small{font-size:11px;color:#788d85}.finance-metric.finance-profit{background:#e9f3ee;border-color:#b8d5c7}.finance-workspace .positive{color:#19745a}.finance-workspace .negative{color:#ae4940}.finance-analysis{display:grid;grid-template-columns:1.55fr 1fr;gap:16px;margin-bottom:16px}.finance-card,.finance-reserve{padding:20px;background:white;border:1px solid #dce6e1;border-radius:12px;min-width:0}.finance-workspace h3{font-size:16px;margin:0 0 16px}.finance-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.finance-section-head h3{margin:0 0 14px}.finance-section-head small{font-size:11px;color:#84958e}.finance-chart{width:100%;height:215px;display:block}.finance-chart text{fill:#7f9188;font-size:10px}.finance-chart .gain{fill:#2f876b}.finance-chart .loss{fill:#c87868}.finance-axis{stroke:#dce6e0;stroke-width:1}.finance-chart-data{font-size:11px;color:#738b81}.finance-chart-data>div{display:flex;flex-wrap:wrap;gap:12px;padding-top:12px}.finance-chart-data span{display:grid;gap:4px}.finance-workspace dl{margin:0}.finance-workspace dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:9px 0;font-size:13px}.finance-workspace dt{color:#6f837c}.finance-workspace dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.finance-workspace dd small{display:block;font-size:10px;color:#8b9a94;font-weight:400;padding-top:3px}.finance-breakdown .finance-total{border-top:1px solid #dce6e1;margin-top:8px;padding-top:13px;font-weight:700}.finance-card>small{display:block;font-size:11px;color:#7c8e86;line-height:1.5;margin-top:10px}.finance-reserves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.finance-reserve .bs{vertical-align:middle;margin-right:6px}.finance-balance{font-size:25px;display:block;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:5px 0 14px}.finance-reserve footer{margin-top:12px;padding-top:10px;border-top:1px solid #edf1ef;font-size:10px;color:#8a9a93}.finance-orders{margin-bottom:16px}.finance-orders .finance-section-head{margin-bottom:12px}.finance-table-wrap{overflow:auto}.finance-workspace table{width:100%;border-collapse:collapse;white-space:nowrap}.finance-workspace th{font-size:11px;font-weight:500;color:#7b9086;background:#f5f8f6;text-align:left;padding:12px 10px}.finance-workspace td{padding:12px 10px;border-bottom:1px solid #edf2ee;font-size:12px;font-variant-numeric:tabular-nums}.finance-workspace td small{display:block;white-space:normal;max-width:320px;color:#88998f;font-size:11px}.finance-copy{padding:4px!important;font-weight:600}.finance-status.good{color:#207a5b}.finance-status.warn{color:#ac7326}.finance-diagnostics summary{cursor:pointer;font-size:13px;color:#6b8378}.finance-diagnostics>div{display:grid;grid-template-columns:1fr 1fr;gap:24px}.finance-diagnostics p{font-size:11px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.finance-diagnostics small{flex-basis:100%}.finance-footnote{padding:11px 26px;font-size:10px;color:#84968e;background:#f5f8f7;border-top:1px solid #dfe8e4;flex-shrink:0}.finance-empty{padding:40px 18px;text-align:center;font-size:13px;color:#86998f}.finance-workspace .segmented button{font-size:12px;padding:8px 12px}.finance-workspace button:focus-visible{outline:2px solid #19765b;outline-offset:3px}
@media(min-width:1500px){.finance-metric strong{font-size:31px}}@media(max-width:1000px){.finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-analysis{grid-template-columns:1fr 1fr}.finance-workspace dl>div{font-size:12px;gap:12px}.finance-workspace{width:calc(100vw - 20px);height:calc(100dvh - 20px)}.finance-balance{font-size:22px}}
@media(max-width:700px){.finance-workspace>header{padding:14px;gap:8px;flex-wrap:wrap}.finance-workspace h2{font-size:23px}.finance-updated{display:none}.finance-workspace>header>[data-refresh]{margin-left:auto}.finance-toolbar{padding:12px;gap:8px}.finance-toolbar>small{display:none}.finance-content{padding:0 12px 14px}.finance-metrics{gap:8px}.finance-metric{padding:13px}.finance-metric strong{font-size:21px}.finance-metric em{font-size:15px}.finance-metric>span{font-size:11px}.finance-analysis,.finance-reserves,.finance-diagnostics>div{grid-template-columns:1fr}.finance-card,.finance-reserve{padding:15px}.finance-section-head{flex-wrap:wrap;gap:8px}.finance-section-head h3{margin-bottom:4px}.finance-workspace .segmented button{padding:8px 9px;font-size:11px}.finance-footnote{padding:9px 14px;font-size:9px}}
.finance-workspace .bs1{background:#e1edff;color:#175dcc}.finance-workspace .bs2{background:#f1e4ff;color:#8536c3}
.finance-range{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:0 26px 16px}.finance-range[hidden]{display:none}.finance-range label{display:grid;gap:5px;font-size:12px;color:#567367}.finance-range input,.finance-range select{padding:8px;border:1px solid #cddbd5;border-radius:7px;background:white;color:#243b3b;font:inherit;min-width:0}.finance-range small{flex-basis:100%;font-size:11px;color:#72887e}.finance-range [role=alert]{color:#a83c30;font-size:12px}.finance-chart-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.finance-chart{height:208px}.finance-grid{stroke:#edf1ef;stroke-width:1}.finance-chart g:focus{outline:none}.finance-chart g:focus rect:first-of-type{fill:#19745a10;stroke:#19745a}.finance-chart-hint{font-size:11px;color:#6f837c;min-height:32px;line-height:1.5}.finance-reserve-caption{font-size:12px;color:#6f837c;margin:0 0 10px}.finance-content{min-height:120px}@media(max-width:700px){.finance-range{padding:0 12px 12px;max-height:240px;overflow:auto}.finance-range label{flex:1 1 145px}.finance-range input,.finance-range select{width:100%;box-sizing:border-box}.finance-toolbar [data-range-label]{display:block;font-size:10px;flex-basis:100%;margin:0}.finance-chart{max-width:none}}

.finance-chart text{font-size:11px}
.finance-body-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;margin:0 0 6px}.finance-body-total b{font-size:14px;font-weight:600;color:inherit;font-variant-numeric:tabular-nums}

.finance-workspace .finance-link{border:0;background:none;padding:0;color:#196e59;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.finance-retry{font-size:11px;margin-top:5px;color:#6b8378}.finance-retry summary{cursor:pointer}
.finance-table-wrap{container-type:inline-size}.finance-expand{width:30px;height:30px;padding:0!important;margin-right:5px;color:#196e59;font-size:17px;vertical-align:middle}.finance-order-row.expanded{background:#f0f6f3}.finance-detail-row[hidden]{display:none}.finance-workspace .finance-detail-row>td{padding:0 10px 14px;background:#f0f6f3;white-space:normal}.finance-order-detail{position:sticky;left:0;width:min(100%,calc(100cqw - 20px));box-sizing:border-box;padding:18px;background:white;border:1px solid #d6e5dc;border-radius:10px}.finance-order-detail>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;font-size:13px}.finance-order-detail>header strong{overflow-wrap:anywhere}.finance-order-detail .bs{margin-left:5px}.finance-order-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:30px}.finance-order-facts{padding-bottom:12px}.finance-order-detail dd{white-space:nowrap}.finance-order-detail dt small{display:block;color:#81948b;font-size:10px;line-height:1.4;font-weight:400;padding-top:3px}.finance-order-detail .finance-detail-note{font-size:11px;line-height:1.5;color:#6c8278;margin:10px 0 0}.finance-order-detail .finance-detail-note.warn{color:#926226}.finance-order-basis{font-size:11px;color:#6b8378;border-top:1px solid #e5eee8;padding-top:12px}.finance-order-basis summary{cursor:pointer}.finance-order-basis p{line-height:1.5;font-size:10px}.finance-order-basis dl>div{font-size:11px}.finance-order-detail summary:focus-visible{outline:2px solid #19765b;outline-offset:3px}
@media(max-width:700px){.finance-order-detail{padding:13px}.finance-order-grid{grid-template-columns:minmax(0,1fr);gap:16px}.finance-order-detail>header{font-size:12px}.finance-order-detail .finance-breakdown{border-top:1px solid #e5eee8;padding-top:8px}.finance-order-detail dl>div{font-size:11px;gap:8px}.finance-order-detail dd{font-size:11px}.finance-order-detail dt{min-width:0}}

.finance-order-row .finance-merchant{max-width:15rem;white-space:normal;overflow-wrap:anywhere}.finance-order-detail dd.finance-merchant{white-space:normal;overflow-wrap:anywhere;min-width:0}

.finance-chart-frame{display:flex;min-width:0;max-width:100%}.finance-chart-scale{width:58px;min-width:58px;height:208px;background:white}.finance-chart-scale text{font-size:11px;fill:#81948b}.finance-chart-frame .finance-chart-scroll{flex:1;min-width:0}.finance-chart-frame .finance-chart{width:100%;min-width:0;display:block}.finance-day-boundary{stroke:#b9cfc4;stroke-width:1;stroke-dasharray:3 3}.finance-analysis:has(.finance-chart-dense)>section{grid-column:1/-1}.finance-toolbar .segmented{flex-wrap:wrap}.finance-chart-hint button{margin-left:8px}.finance-chart-frame text{font-size:11px}
@media(max-width:700px){.finance-chart-frame .finance-chart{min-width:var(--plot-min)}.finance-chart-scale{position:relative;z-index:1}.finance-analysis>section{min-width:0}}
.finance-source-audit{margin:16px 0}.finance-source-audit p{font-size:13px;color:var(--muted,#63756f)}.finance-audit-item{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;padding:12px 0;border-top:1px solid #dce7e2}.finance-audit-item>span{flex:1 1 300px}.finance-audit-item>small{flex-basis:100%}
.finance-source-check{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.finance-source-check label{display:flex;flex-direction:column;gap:4px}.finance-source-check [role=status]{flex-basis:100%}
.finance-margin-trigger{font:inherit!important}
.finance-workspace.finance-merchant-dialog{width:min(1080px,calc(100vw - 28px));height:fit-content;max-height:calc(100dvh - 32px)}
.finance-merchant-dialog>header{align-items:center;flex-wrap:wrap}
.finance-merchant-dialog>header>div{flex:1;min-width:0}
.finance-merchant-dialog>header small{display:block;font-size:12px;margin-top:6px;color:#6b8378}
.finance-merchant-dialog .finance-content{flex:0 1 auto;min-height:0;overflow:auto;padding-top:18px}
.finance-merchant-summary{display:flex;flex-wrap:wrap;gap:20px 40px;margin-bottom:22px}
.finance-merchant-summary>div{display:flex;flex-direction:column;gap:6px}
.finance-merchant-summary small{font-size:12px;color:#6b8378}
.finance-merchant-summary strong{font-size:24px;color:#1e7057}
.finance-merchant-dialog .finance-merchant-table th,.finance-merchant-dialog .finance-merchant-table td{text-align:right}
.finance-merchant-dialog .finance-merchant-table th:first-child,.finance-merchant-dialog .finance-merchant-table td:first-child{text-align:left}
.finance-merchant-table .finance-merchant-group,.finance-merchant-table tfoot{background:#edf5f1;font-weight:600}
.finance-merchant-table .finance-merchant-method td:first-child{padding-left:28px}
.finance-merchant-table small{font-weight:400;margin-top:4px}
.finance-merchant-table button{white-space:nowrap}
.finance-merchant-table .finance-margin-detail td{background:#f6f9f7;padding:16px 24px}
.finance-margin-detail dl{max-width:550px;margin:0}
.finance-margin-detail dl>div{display:flex;justify-content:space-between;gap:20px;font-weight:400}
.finance-margin-detail dd{margin:0}
.finance-margin-caption,.finance-margin-help{font-size:12px;color:#5d776b;margin-top:16px}
.finance-margin-help p{max-width:850px;line-height:1.5}
.finance-margin-notice{font-size:13px;line-height:1.5;padding:10px 12px;border-left:3px solid #bd8b42;background:#fff6e6;color:#7a5a29}
:root[data-theme="graphite"] .finance-merchant-table .finance-merchant-group,:root[data-theme="graphite"] .finance-merchant-table tfoot{background:#303a36}
:root[data-theme="graphite"] .finance-merchant-table .finance-margin-detail td{background:#2c3035}
:root[data-theme="graphite"] .finance-merchant-summary strong{color:#99cbbb}
:root[data-theme="graphite"] .finance-merchant-dialog>header small,:root[data-theme="graphite"] .finance-merchant-summary small,:root[data-theme="graphite"] .finance-margin-caption,:root[data-theme="graphite"] .finance-margin-help{color:#bac2ca}
:root[data-theme="graphite"] .finance-margin-notice{background:#3e372d;color:#e1c59e;border-color:#a88451}
@media(max-width:700px){.finance-merchant-summary{gap:16px}.finance-merchant-summary strong{font-size:21px}.finance-merchant-dialog h2{font-size:21px}.finance-merchant-dialog>header small{line-height:1.5}.finance-merchant-table .finance-merchant-method td:first-child{padding-left:18px}}
