#tab-result{--rs-muted:#94a3b8;--rs-line:#253249;--rs-green:#34d399;--rs-red:#fb7185}#tab-result *{box-sizing:border-box}.results-toolbar,.results-section-head,.results-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.results-toolbar{margin:6px 0 24px}.results-eyebrow{font-size:10px;letter-spacing:.15em;color:#7d91ac;margin:0 0 10px;font-weight:700}.results-toolbar h2,.results-detail-heading h2{font-size:24px;margin:0;font-weight:650;letter-spacing:-.5px}.results-period{background:#111a2a;border:1px solid var(--rs-line);border-radius:14px;padding:16px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}.results-presets{display:flex;gap:5px;flex-wrap:wrap}.results-presets button,.results-detail-tabs button{border:0;background:transparent;color:#9daec4;border-radius:8px;padding:10px 13px;cursor:pointer;font:inherit;font-size:12px}.results-presets button[aria-pressed=true],.results-detail-tabs button[aria-current=true]{background:#213958;color:#c4e6ff}.results-dates{display:flex;gap:10px;align-items:end;flex-wrap:wrap;flex:1 1 390px}.results-dates label{font-size:10px;color:var(--rs-muted);flex:1 1 110px;min-width:0}.results-dates input{margin-top:5px;width:100%;color-scheme:dark;min-height:39px}.results-dates>span{align-self:center;color:#64748b}.results-dates .btn{min-height:39px}.results-status{font-size:12px;color:#a9c9ec;min-height:17px;margin:12px 0}.results-period-caption{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--rs-muted);margin:23px 0 14px}.results-period-caption>span:first-child{color:#d8e4f2;font-weight:600}.results-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.results-card{--accent:#60a5fa;text-align:left;color:#e5edf8;border:1px solid var(--rs-line);border-radius:14px;padding:22px;background:linear-gradient(135deg,#172135,#121a2b);cursor:pointer;min-width:0;position:relative;transition:transform .15s,border-color .15s;min-height:177px;font:inherit}.results-card:hover{transform:translateY(-3px);border-color:var(--accent)}.results-card:focus-visible,#tab-result button:focus-visible{outline:2px solid #7dd3fc;outline-offset:4px}.results-card-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#b5c5d9;gap:8px}.results-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--accent) 13%,transparent);color:var(--accent);font-size:15px}.results-card strong{display:block;font-size:clamp(22px,2.25vw,32px);font-weight:650;letter-spacing:-1px;margin:17px 0 12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.results-card strong small{font-size:12px;color:#8da2bd;letter-spacing:0;margin-left:5px}.results-card-foot{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#8497b2}.results-card-foot i{color:var(--accent)}.results-card.profit{background:linear-gradient(135deg,#11372f,#13262a);border-color:#1e5a48;--accent:#34d399}.results-card.profit strong{color:#6ee7b7}.results-card.negative strong{color:#fb7185}.results-bottom{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:18px;margin-top:22px}.results-panel{background:#121b2c;border:1px solid var(--rs-line);border-radius:14px;padding:22px;min-width:0;margin-bottom:18px}.results-panel h3{font-size:14px;font-weight:600;margin:0 0 20px;color:#dbe6f5}.results-section-head{align-items:start}.results-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:var(--rs-muted)}.results-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:6px;background:#60a5fa}.results-legend span.expenses:before{background:#fb7185}.results-chart{overflow-x:auto}.results-chart svg{display:block;width:100%;min-width:300px;height:auto}.results-note{font-size:11px;color:var(--rs-muted);line-height:1.7;margin:12px 0 0}.results-footnote{margin-top:4px}.results-breakdown-row{margin:17px 0}.results-breakdown-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#aabbcf}.results-breakdown-label strong{color:#e4ecf7;font-size:12px}.results-breakdown-track{height:6px;background:#202e42;border-radius:8px;overflow:hidden;margin-top:9px}.results-breakdown-track span{display:block;height:100%;border-radius:8px}.results-back,.results-source{font:inherit;font-size:12px;border:0;background:transparent;color:#7dd3fc;cursor:pointer;padding:6px 0}.results-back{margin:4px 0 18px}.results-detail-tabs{display:flex;gap:5px;overflow-x:auto;padding-bottom:8px}.results-detail-tabs button{white-space:nowrap}.results-detail-heading{margin:24px 0}.results-detail-heading>strong{font-size:32px;color:#e6effc;white-space:nowrap;font-variant-numeric:tabular-nums}.results-detail-heading .results-note{max-width:680px}.results-grouping{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--rs-muted)}.results-grouping select{width:auto;font-size:12px}.results-table-wrap{overflow:auto;max-height:540px}.results-table-wrap table{width:100%;min-width:620px;border-collapse:collapse;font-size:12px}.results-table-wrap th{text-align:left;color:#8fa4bf;font-weight:500;position:sticky;top:0;background:#121b2c}.results-table-wrap th,.results-table-wrap td{padding:13px 10px;border-bottom:1px solid #233048}.results-table-wrap td:last-child,.results-table-wrap th:last-child{text-align:right;white-space:nowrap}.results-table-wrap small{display:block;font-size:10px;color:#91a5bf;margin-top:5px}.results-empty{text-align:center;padding:35px 12px;color:#9eb0c7;font-size:13px}.results-equation{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.results-equation>div{flex:1;min-width:130px;background:#19263a;border-radius:8px;padding:12px}.results-equation span{display:block;font-size:10px;color:#9fb1c9;margin-bottom:6px}.results-equation strong{font-size:14px;color:#d9e8fa}.results-table-total{color:#7dd3fc;font-size:12px;padding:14px 0}.results-loading{opacity:.45;pointer-events:none}.results-retry{background:none;color:#7dd3fc;border:1px solid #334155;border-radius:7px;margin-left:10px;padding:6px 12px;cursor:pointer}@media(max-width:1050px){.results-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.results-bottom{grid-template-columns:1fr}.results-period{align-items:start}.results-detail-heading{align-items:start;flex-direction:column}}@media(max-width:600px){.results-toolbar h2{font-size:20px}.results-cards{grid-template-columns:1fr}.results-card{min-height:154px;padding:18px}.results-card strong{font-size:29px}.results-period,.results-panel{padding:15px}.results-dates{width:100%}.results-dates label{flex:1;min-width:110px}.results-dates input{width:100%;max-width:none}.results-dates>span{display:none}.results-dates .btn{width:100%}.results-section-head{flex-wrap:wrap}.results-toolbar{align-items:start}.results-toolbar .btn{font-size:11px}.results-period-caption{flex-direction:column}.results-detail-heading>strong{font-size:28px}}


.results-calculation{margin:0 0 20px;border:1px solid #dce7ef;border-radius:12px;background:#fff;color:#183752;overflow:hidden}
.results-calculation h4{margin:0;padding:14px 18px;background:#f0f5f9;color:#183752;font-size:14px}
.results-calculation dl{margin:0}
.results-calculation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 18px;border-top:1px solid #e5edf3;font-size:14px}
.results-calculation-row dt{min-width:0}
.results-calculation-row dt small{display:block;margin-top:4px;color:#4f677e;line-height:1.4}
.results-calculation-row dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.results-calculation-row.is-subtotal{background:#f5f8fb;font-weight:650}
.results-calculation-row.is-total{background:#e7f3ef;color:#14533f;font-weight:700}
.results-calculation-row.is-total dd{font-size:clamp(16px,2vw,22px)}
@media(max-width:520px){.results-calculation h4,.results-calculation-row{padding:10px 12px}.results-calculation-row{gap:8px;font-size:12px}}

#resultsAccountingMessage{margin:0 0 10px;font-size:13px;color:#315e77}
#resultsAccountingMessage:empty{display:none}
#resultsAccountingMessage[data-error="true"]{color:#a22f2f}
#resultsDetailRows .expense-accounting-select{min-width:125px}
#resultsDetailRows .results-writeoff-excluded td{background:#fffaf0}
#resultsDetailRows .results-writeoff-excluded small{color:#795520}

.results-calculation>.results-profit-options{margin:0;border:0;border-radius:0;padding:12px 18px}
.results-calculation>.results-profit-options>div{display:none}
.results-chart-note{margin:10px 0 0;color:#506a81;font-size:12px;line-height:1.45}
