.ocean-figure,.ocean-event-figure{--figure-ink:var(--text);--figure-muted:var(--muted);background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:18px;padding:24px!important;margin:20px 0;color:var(--figure-ink)!important;box-shadow:0 14px 38px transparent}
.ocean-figure :is(h2,h3,h4,p,b,strong,span,small,button,summary),.ocean-event-figure :is(h2,h3,h4,p,b,strong,span,small,button,summary){color:var(--figure-ink)!important}
.ocean-figure svg text,.ocean-event-figure svg text{fill:var(--muted)!important;font-size:15px!important;font-family:inherit}
.ocean-figure .analysis-chart-shell{background:transparent!important;border:0!important}
.ocean-figure .analysis-chart{width:100%;height:auto;min-height:280px}
.ocean-figure .analysis-point-detail{background:var(--soft)!important;border:1px solid var(--line)!important;border-radius:12px;padding:16px!important;min-height:76px;margin:0 0 18px!important;width:fit-content;max-width:100%}
.ocean-figure .analysis-point-detail h4{font-size:16px!important;margin:0 0 10px!important}
.ocean-figure .analysis-point-detail b{font-size:20px!important}
.figure-grid{stroke:var(--line);stroke-width:1}
.ocean-figure .analysis-crosshair{stroke:var(--muted)!important;stroke-dasharray:3 5}
.ocean-figure .analysis-chart-legend{font-size:15px!important;gap:16px;padding:12px 0;line-height:1.5}
.ocean-figure .analysis-chart-legend button{font-size:15px!important;background:transparent!important;border:1px solid var(--line)!important;border-radius:8px;padding:9px 12px}
.ocean-figure .analysis-chart-legend button[aria-pressed="true"]{border-bottom:1px solid var(--line)}
.ocean-figure .analysis-data-table summary{font-size:15px;background:transparent;border-color:var(--line)}
.ocean-figure .analysis-data-table .fact-table{background:var(--soft);color:var(--text)}
.ocean-figure .fact-table :is(td,th,caption){color:var(--text)!important;border-color:var(--line)!important}
.figure-comparisons{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:32px;margin:24px 0}
.figure-comparison{padding:22px 26px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.figure-comparison h4{font-size:18px!important;font-weight:700;margin:0 0 24px;color:var(--text)!important}
.figure-comparison-row{position:relative;margin:0 0 24px;display:grid;grid-template-columns:1fr auto;gap:12px;font-size:16px;color:var(--text)}
.figure-comparison-row strong{font-size:22px!important;color:var(--text)!important}
.figure-comparison-track{position:relative;grid-column:1/-1;height:14px;margin-right:8px;border-radius:7px;background:var(--line)}
.figure-comparison-stem{position:absolute;top:5px;height:4px;border-radius:2px}
.figure-comparison-dot{position:absolute;top:-1px;width:16px;height:16px;border:3px solid var(--panel);border-radius:50%;transform:translateX(-50%);box-shadow:0 0 0 1px var(--line)}
.figure-comparison-zero{position:absolute;top:0;height:14px;width:1px;background:var(--muted)}
.figure-comparison-axis{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.ocean-figure .expense-year-track{background:var(--soft)!important;border-radius:10px;border:1px solid var(--line)}
.ocean-figure .expense-year-track button{font-size:16px;color:var(--text)!important}
.ocean-figure .expense-year-track button[aria-pressed="true"]{background:#ad7bff24!important;border-color:#ad7bff!important}
.ocean-figure .expense-chart-meta{font-size:16px;margin:22px 0}
.ocean-figure .expense-ribbon{opacity:.36}
.ocean-figure .expense-ribbon:hover{opacity:.65}
.ocean-figure .expense-sankey text{font-size:16px!important}
.ocean-figure .expense-node-amount{fill:var(--muted)!important}
.ocean-figure .expense-detail{color:var(--text)!important;font-size:16px;background:var(--soft)!important;border-color:var(--line)!important}
.ocean-event-figure>header{background:transparent!important;padding:0!important}
.ocean-event-figure header strong{font-size:32px!important}
.ocean-event-figure .report-value-history-stats{border-color:var(--line);font-size:15px}
.ocean-event-figure .report-event-readout{background:var(--soft)!important;border-color:var(--line);border-radius:12px;padding:16px}
.ocean-event-figure .report-history-grid{stroke:var(--line)!important}
.ocean-event-figure .report-line{stroke:#36b7ee!important;stroke-width:3.5!important}
.ocean-event-figure .report-area{fill:#36b7ee!important;opacity:.06}
.ocean-event-figure .report-history-selected{stroke:var(--muted)!important;stroke-dasharray:4 5}
.ocean-event-figure .report-event-stem{stroke:var(--line)!important}
.ocean-event-figure .report-event-dot{fill:#ad7bff!important;stroke:var(--panel)!important}
.ocean-event-figure .report-event-dot.risk{fill:#f26f85!important}
.ocean-event-figure .report-evidence-events button{background:var(--soft)!important;border:1px solid var(--line)!important;border-radius:8px;padding:10px;font-size:15px}
.ocean-event-figure .report-evidence-events button[aria-pressed="true"]{border-color:#ad7bff!important}
.ocean-event-figure .report-evidence-events button.risk[aria-pressed="true"]{border-color:#f26f85!important}
.ocean-event-figure .report-evidence-events button i{background:#ad7bff!important}
.ocean-event-figure .report-evidence-events button.risk i{background:#f26f85!important}
.figure-event-overview{position:relative;background:var(--soft);border-radius:10px;margin:20px 0 28px}
.figure-event-overview svg{display:block;width:100%;height:70px}
.figure-event-overview>span{position:absolute;top:8px;left:18px;font-size:13px;color:#d8e1f3!important}
.figure-event-legend{flex-wrap:wrap;font-size:14px!important;gap:18px}
.figure-event-legend span:first-child i{background:#36b7ee!important}
.figure-event-key{display:inline-flex;gap:7px;align-items:center}
.figure-event-key i{width:9px;height:9px;border-radius:50%}
.ocean-event-figure .report-data-note{font-size:14px!important;line-height:1.5;color:#becbe1!important}
@media(max-width:640px){.ocean-figure,.ocean-event-figure{padding:16px!important}.ocean-figure .analysis-chart-shell{overflow-x:auto}.ocean-figure .analysis-chart{min-width:660px}.figure-comparisons{grid-template-columns:1fr}.figure-comparison{padding:20px}.ocean-figure .analysis-point-detail{width:100%}}
