:root{color:#eef1f4;background:#0c1015}
body{color:#eef1f4;background:#0c1015}
a{color:#66c7e8}
button:focus-visible,a:focus-visible,.upload-control:focus-within{outline-color:#ff9a61}
.topbar{background:#151a20;border:0;box-shadow:none}
.identity,.identity strong{color:#f3f6f7}
.identity small{color:#a0b1b8}
.logo{background:#f4772e;color:#111820;box-shadow:none}
.identity .site-version{background:#252c34;border-color:#424d57;color:#c4d0d8}
.status{color:#adc0c8}
.status-dot{background:#79bace}
.status.warning{color:#f7b477}
.font-switch,.language-switch,.segmented{background:#252c34;border-color:#414b55}
.font-switch button,.language-switch button,.segmented button{color:#cad7dc}
.font-switch button:hover:not(:disabled),.language-switch button:hover:not(.selected){background:#353e48;color:#fff}
.font-switch button:disabled{color:#71848e}
.font-switch output{color:#adbec6}
.language-switch button.selected,.segmented button.selected{background:#f4772e;color:#161b1e;box-shadow:none}
.hero{background:#171d24;border:0;box-shadow:none}
.hero::after{border-color:#fa792f}
.hero::before{border-color:#bd5c2f;opacity:.48}
.hero .eyebrow,.eyebrow{color:#5cc2e6}
h1,h2,h3{color:#f5f7f8}
.hero p{color:#aec2ca}
.site-facts{background:#151a20;border:0;box-shadow:none}
.site-fact+.site-fact{border-color:#39414a}
.site-fact strong{color:#edf4f6}
.site-fact span{color:#9eb2bb}
.fact-source{background:#49b9e0}
.fact-independent{background:#fa792f}
.fact-privacy{background:#9aaeba}
.metric,.panel{background:#151a20;border:0;box-shadow:none}
.metric::before{background:#49b9e0}
.metric:nth-child(1)::before{background:#f4772e}
.metric:nth-child(3)::before{background:#9aaeba}
.metric:nth-child(4)::before{background:#d59b63}
.metric-label,.metric-sub{color:#a7bbc4}
.metric-value{color:#f5f7f8}
.metric-value.positive,.positive{color:#6ac559}
.metric-value.negative,.negative{color:#ffa6a0}
.dot.green{background:#f4772e}
.dot.blue{background:#49b9e0}
.dot.gold{background:#b39add}
.muted,.chart-note,.footnote{color:#9eb1ba}
.button,.range-buttons button,.series-button{background:#252c34;border-color:#48545f;color:#e0e8ec}
.button:hover,.range-buttons button:hover,.series-button:hover{background:#353e48;border-color:#7b93a2}
.button.subtle{background:#1b2128}
.range-buttons button.selected,.account-tab[aria-pressed="true"]{background:#f4772e;border-color:#f4772e;color:#171b1e}
.series-button{background:#252c34}
.series-button:not(.selected){color:#a5b4ba;opacity:.8}
.series-button.selected{border-color:#7193a0}
.tooltip{background:#edf3f5;border:0;color:#17232b;box-shadow:none}
.date-pill{background:#262e37;border-color:#48545f;color:#c7d5de}
th{color:#91aab5;border-bottom-color:#3d525e}
td{color:#d7e2e6;border-bottom-color:#2b3d46}
td.period-name{color:#f1f5f6}
td.positive,.portfolio-operations td.positive{color:#6ac559}
td.negative,.portfolio-operations td.negative{color:#ffa6a0}
.subcell{color:#93aab5}
.returns-table .subtotal-row{background:#222a34}
.returns-table .half-row{background:#252e39}
.returns-table .year-row{background:#29343e}
.returns-table .subtotal-row td{border-top-color:#4c6b78}
.subtotals-toggle[aria-pressed="true"]{border-color:#69bedd;color:#9cdcf1}
.period-selector .range-buttons:not(:first-child){border-left-color:#40535d}
.methodology ul{color:#b5c6cc}
.source-links a{border-bottom-color:#508ea7}
footer{color:#93a7b0}
.upload-control{background:#f4772e;border-color:#f4772e;color:#171b1e}
.upload-control:hover{background:#ff9254;border-color:#ff9254}
.portfolio-privacy,.portfolio-status{color:#afc4cc}
.portfolio-status.error{color:#ff9789}
.portfolio-metrics>div,.chart-series-card,.portfolio-period-change,.portfolio-operations,.portfolio-review{background:#10161c;border:0}
.portfolio-metrics>div.portfolio-total-card{background:#19242e;border-color:#607b8c}
.portfolio-metrics span,.portfolio-metrics small,.portfolio-comparison-dates,.portfolio-period-change small,.portfolio-change-grid span,.portfolio-breakdown span,.portfolio-change-grid .portfolio-unit-nav,.chart-series-values span,.chart-series-change span{color:#a2bbc5}
.portfolio-metrics strong,.portfolio-total-card strong,.portfolio-change-grid strong,.portfolio-breakdown strong,.portfolio-unit-nav b,.chart-series-values strong,.portfolio-quantity-breakdown strong{color:#f2f7f8}
.portfolio-legend,.chart-series-title,.portfolio-period-change .portfolio-change-heading,.portfolio-quantity-breakdown{color:#d7e7ec}
.portfolio-review p{color:#afc3cb}
.portfolio-review input,.portfolio-custom-period select,.account-form input,.account-form select{background:#111820;border-color:#5d6c78;color:#f4f7f8;color-scheme:dark}
.portfolio-custom-period label{color:#afc2ca}
.portfolio-custom-period select:focus-visible{outline-color:#ff9a61}
.portfolio-quantity-breakdown,.chart-series-values>div+div,.chart-series-change,.portfolio-change-grid>div,.portfolio-breakdown,.portfolio-breakdown>div,.portfolio-breakdown .portfolio-breakdown-total{border-color:#3a515c}
.portfolio-period-change .positive,.portfolio-unit-nav em.positive,.portfolio-breakdown .positive,.chart-series-change strong.positive{color:#a8d9eb}
.portfolio-period-change .negative,.portfolio-unit-nav em.negative,.portfolio-breakdown .negative,.chart-series-change strong.negative{color:#ffa6a0}
.portfolio-operations summary{color:#e5f0f3}
.portfolio-operations summary:hover{background:#252e38}
.portfolio-operations .portfolio-operation-note{color:#a1b7c0}
.account-tab{background:#252c34;border-color:#48545f;color:#e2edf1}
.account-tab:hover{background:#353e48}
.account-form{background:#10161c;border:0}
.account-form label,.account-operation-name{color:#a5bec8}
.chart-series-change,.portfolio-breakdown{border-top-color:#3a515c}
.portfolio-period-change .portfolio-breakdown .positive,.portfolio-period-change .portfolio-change-grid .positive,.chart-series-change strong.positive{color:#6ac559}
.portfolio-period-change .portfolio-breakdown .negative,.portfolio-period-change .portfolio-change-grid .negative{color:#ffa6a0}
.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 18px}
.quick-nav{display:flex;min-width:0;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 6px}
.quick-nav a{display:block;padding:7px 8px;border-radius:8px;color:#c4d0d8;font-size:.75rem;font-weight:650}
.top-actions{display:grid;min-width:0;width:max-content;max-width:none;gap:8px}
.header-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.header-controls .segmented{padding:3px}
.header-controls .segmented button{padding:7px 10px;font-size:.75rem}
.top-actions .status{width:0;min-width:100%;justify-content:flex-end;text-align:right}
.quick-nav a:hover{background:#252c34;color:#ff9a61;text-decoration:none}
main>section[id]{scroll-margin-top:18px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:1100px){.topbar{grid-template-columns:minmax(0,1fr) auto}.quick-nav{grid-column:1/-1;grid-row:2}.top-actions{grid-column:2;grid-row:1}}
@media(max-width:900px){.topbar{grid-template-columns:minmax(0,1fr)}.quick-nav{grid-column:1;grid-row:2}.top-actions{grid-column:1;grid-row:3;width:100%}}
@media(max-width:650px){.quick-nav{justify-content:flex-start;gap:4px}.quick-nav a{padding:7px 8px}.header-controls{justify-content:flex-start}.top-actions .status{justify-content:flex-start;text-align:left}}
