/* Dimensions follow the reference: 184px ring, 36px band, 30px tabs, 32px tools. */
body.working-beta #app main .analysis-subsection.key-metric-section{padding:32px 0;}
body.working-beta #app main .key-metric-section>header{margin-bottom:16px;}
body.working-beta #app main .key-metric-section>header h3{display:flex;align-items:baseline;gap:16px;margin:0;font:500 24px/30px Georgia,'Times New Roman',serif!important;letter-spacing:-.3px;}
body.working-beta #app main .key-metric-section h3>.key-metric-section-number{margin:0;padding:0;font:inherit!important;color:var(--muted);line-height:inherit!important;}
body.working-beta #app main .key-metric-section header p{font-size:16px;line-height:27px;margin:24px 0 0;color:var(--text);}
.key-metric-layout{display:grid;grid-template-columns:280px minmax(0,500px);gap:20px;width:100%;max-width:800px;align-items:start;}
.key-metric-tabs{display:flex;gap:0;width:100%;margin:0 0 16px;}
.key-metric-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:4px;padding:0 12px;font:inherit;font-size:12px;line-height:30px;color:var(--text);background:var(--panel);cursor:pointer;min-height:32px;}
.key-metric-tabs .key-metric-button{flex:1;background:transparent;color:var(--muted);font-size:14px;font-weight:500;line-height:21px;padding:4px;min-height:30px;white-space:nowrap;}
.key-metric-tabs .selected{color:var(--text);background:var(--panel);}
.key-metric-button:hover{background:var(--soft);color:var(--text);}
.key-metric-button:focus-visible,.key-metric-term:focus-visible{outline:2px solid var(--report-gold);outline-offset:2px;}
.key-metric-callout{display:flex;gap:10px;padding:10px;background:var(--panel);border-radius:4px;}
.key-metric-callout>span{flex:0 0 24px;width:24px;color:var(--report-gold);font-size:18px;line-height:24px;text-align:center;}
.key-metric-callout p{font-size:14px;line-height:21px;margin:0;}
.key-metric-callout b{color:var(--report-gold);font-weight:400;}
.key-metric-term{font:inherit;color:inherit;border:0;border-bottom:1px dotted var(--muted);background:none;padding:0;cursor:help;}
.key-metric-visual{min-width:0;margin-top:-24px;}
.key-metric-pane{min-height:290px;}
.key-metric-chart{display:grid;grid-template-columns:minmax(0,300px) minmax(100px,1fr);gap:0;align-items:center;}
.key-metric-ring{display:block;width:100%;height:290px;overflow:visible;}
.key-metric-ring text{fill:var(--text);font:14px 'Helvetica Neue',Arial,sans-serif;pointer-events:none;}
.key-metric-ring .key-metric-center-label,.key-metric-ring .key-metric-measure{fill:var(--muted);}
.key-metric-track{fill:none;stroke:#dfe5ed;stroke-width:36;}
.key-metric-value-hit{fill:transparent;}
.key-metric-arc{fill:none;stroke:#209ddd;stroke-width:32;}
.key-metric-visible .key-metric-arc{animation:key-metric-reveal .6s cubic-bezier(.22,.8,.32,1) both;}
.key-metric-stem{stroke:#209ddd;stroke-width:1;}
.key-metric-pin{fill:#209ddd;}
.key-metric-ring g[role=button]{cursor:pointer;}
.key-metric-ring g[role=button]:hover .key-metric-arc,.key-metric-ring g[role=button]:focus .key-metric-arc{stroke:#43b6ec;}
.key-metric-ring g[role=button]:hover .key-metric-track,.key-metric-ring g[role=button]:focus .key-metric-track{stroke:#c5d1df;}
.key-metric-result{display:flex;flex-direction:column;align-items:start;gap:4px;padding-top:14px;min-width:0;}
.key-metric-result>strong{font:500 36px/40px 'Helvetica Neue',Arial,sans-serif;letter-spacing:-1px;}
.key-metric-result .key-metric-ratio-label{background:none;border-radius:0;border:0;border-bottom:1px dotted var(--muted);font-size:16px;line-height:21px;text-align:left;padding:0;min-height:21px;cursor:help;}
.key-metric-unavailable{font-size:12px;line-height:18px;color:var(--muted);max-width:180px;}
.key-metric-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:38px;}
.key-metric-switch{background:none;color:var(--muted);padding:0;gap:8px;text-align:left;font-size:12px;}
.key-metric-switch:disabled{cursor:default;opacity:.6;}
.key-metric-switch-track{display:inline-flex;align-items:center;flex:none;width:42px;height:20px;padding:0;background:var(--line);border-radius:30px;}
.key-metric-switch-track i{width:20px;height:20px;border-radius:50%;background:var(--panel);box-shadow:0 1px 4px #0002;transition:transform .2s;}
.key-metric-switch[aria-checked=true] .key-metric-switch-track{background:#209ddd;}
.key-metric-switch[aria-checked=true] .key-metric-switch-track i{transform:translateX(22px);background:#fff;}
.key-metric-tools{display:flex;gap:4px;flex:none;}
.key-metric-tools svg{width:20px;height:20px;opacity:.75;}
.key-metric-more-button{font-size:18px;width:40px;padding:0;}
.key-metric-more-menu{position:absolute;right:0;top:38px;z-index:20;display:grid;padding:4px;background:var(--panel);border:1px solid var(--line);box-shadow:0 6px 20px #0002;border-radius:6px;}
.key-metric-more-menu button{justify-content:start;}
.key-metric-data-view,.key-metric-other-table{padding-top:24px;}
.key-metric-data-table{width:100%;border-collapse:collapse;font-size:12px;}
.key-metric-data-table caption{text-align:left;padding:12px 10px;font-size:14px;font-weight:600;}
.key-metric-data-table th,.key-metric-data-table td{padding:10px;border-bottom:1px solid var(--line);font-weight:400;}
.key-metric-data-table th{text-align:left;}
.key-metric-data-table td{text-align:right;font-variant-numeric:tabular-nums;}
.key-metric-data-view p{color:var(--muted);font-size:12px;line-height:18px;margin:8px 0;}
.key-metric-stat-link{background:none;padding:0;line-height:20px;min-height:20px;}
.key-metric-equation{padding:16px;margin:16px 0;background:var(--soft);border:1px solid var(--line);border-radius:6px;}
.key-metric-equation small{display:block;color:var(--muted);font-size:12px;margin-bottom:8px;}
.key-metric-equation strong{font-size:18px;line-height:1.5;}
.key-metric-learn p{font-size:14px;line-height:1.6;margin:12px 0;}
html[data-theme=night] .key-metric-track{stroke:#3e4855;}
html[data-theme=night] .key-metric-track:hover{stroke:#526072;}
@keyframes key-metric-reveal{from{stroke-dasharray:var(--metric-from,0) 100}to{stroke-dasharray:var(--metric-portion) 100}}
@media(max-width:1050px){.key-metric-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr);}.key-metric-chart{grid-template-columns:minmax(180px,1fr) 115px;}.key-metric-ring{max-width:300px;}.key-metric-footer{flex-wrap:wrap;}.key-metric-tools{margin-left:auto;}}
@media(max-width:720px){.key-metric-layout{grid-template-columns:1fr;gap:24px;}.key-metric-explanation{max-width:400px;}.key-metric-visual{margin-top:0;max-width:500px;}.key-metric-chart{grid-template-columns:minmax(180px,300px) minmax(100px,1fr);}.key-metric-footer{margin-top:16px;}body.working-beta #app main .key-metric-section header p{font-size:14px;line-height:21px;margin-top:16px;}}
@media(prefers-reduced-motion:reduce){.key-metric-visible .key-metric-arc{animation:none;}.key-metric-switch-track i{transition:none;}}

.key-metric-data-table th{text-transform:none;letter-spacing:normal;color:var(--text);}
