/* /asset-class-returns/ — page styles only. Dark mode default, Open Sans inherited. */
.acr { --acr-line: var(--dm-line, #2b4659); --acr-panel: var(--dm-surface, #10283a); --acr-muted: var(--dm-muted, #aebfca); --acr-gold: #d7c39e; }
.acr-section { padding-block: var(--gs-section, 64px) 0; }
.acr-section:last-child { padding-bottom: var(--gs-section, 64px); }
.acr-summary { display: grid; gap: var(--gs-stack, 20px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.acr-summary article { border-top: 1px solid var(--acr-gold); padding-top: 14px; }
.acr-summary h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acr-gold); margin: 0 0 8px; }
.acr-summary p { color: var(--acr-muted); margin: 0; line-height: 1.6; }
.acr-panel { background: var(--acr-panel); border: 1px solid var(--acr-line); border-radius: 6px; padding: clamp(16px, 3vw, 32px); }
.acr-toolbar { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.acr-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.acr-seg button { font: inherit; font-size: .8rem; letter-spacing: .04em; color: var(--acr-muted); background: transparent; border: 1px solid var(--acr-line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.acr-seg button:hover { color: #fff; border-color: var(--dm-line-strong, #4a6a80); }
.acr-seg button[aria-pressed="true"] { color: #0b1d2a; background: var(--acr-gold); border-color: var(--acr-gold); font-weight: 600; }
.acr-seg button:focus-visible { outline: 2px solid var(--dm-link, #7cc0ea); outline-offset: 2px; }
.acr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--acr-line); padding-bottom: 10px; margin-bottom: 8px; }
.acr-head h2 { font-size: 1.15rem; margin: 0; }
.acr-asof { font-size: .78rem; color: var(--acr-muted); }
.acr-asof::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fae82; margin-right: 6px; vertical-align: middle; animation: acr-pulse 2s infinite; }
@keyframes acr-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .acr-asof::before { animation: none; } }
.acr-bars { list-style: none; margin: 0; padding: 0; }
.acr-row { display: grid; grid-template-columns: 26px minmax(130px, 240px) 56px 60px 1fr 72px; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .88rem; }
.acr-row:hover { background: rgba(255,255,255,.03); }
.acr-rank { color: var(--acr-muted); font-size: .72rem; text-align: right; }
.acr-tkr { font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--dm-link, #7cc0ea); text-decoration: none; }
.acr-tkr:hover { text-decoration: underline; }
.acr-splice { font-size: .6rem; color: var(--acr-gold); margin-left: 3px; border: 1px solid currentColor; border-radius: 50%; padding: 0 4px; cursor: help; }
.acr-track { position: relative; height: 16px; }
.acr-zero { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--dm-line-strong, #4a6a80); }
.acr-bar { position: absolute; top: 2px; height: 12px; background: var(--c); border-radius: 2px; transition: left .35s ease, width .35s ease; }
.acr-bar.is-neg { opacity: .65; }
.acr-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.acr-val.is-neg { color: #e59a9a; }
.acr-empty, .acr-note { color: var(--acr-muted); font-size: .8rem; line-height: 1.55; }
.acr-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 14px 0 0; font-size: .75rem; color: var(--acr-muted); }
.acr-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.acr-insight { font-size: .95rem; color: var(--acr-gold); margin: 0 0 12px; }
.acr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.acr-matrix, .acr-years { border-collapse: collapse; font-size: .72rem; font-variant-numeric: tabular-nums; }
.acr-matrix td, .acr-years td { text-align: center; padding: 6px 5px; min-width: 40px; border: 1px solid rgba(11,29,42,.6); }
.acr-matrix th, .acr-years th { font-weight: 600; color: var(--acr-muted); padding: 6px; white-space: nowrap; }
.acr-matrix thead th span { writing-mode: vertical-rl; transform: rotate(180deg); }
.acr-matrix tbody th, .acr-years tbody th { text-align: left; position: sticky; left: 0; background: var(--acr-panel); z-index: 1; }
.acr-matrix tbody th em { font-style: normal; color: var(--dm-link, #7cc0ea); margin-left: 4px; }
.acr-years tbody th a { color: var(--dm-link, #7cc0ea); text-decoration: none; margin-left: 4px; }
.acr-years td.is-best { outline: 2px solid var(--acr-gold); outline-offset: -2px; font-weight: 700; }
.acr-years td.is-worst { outline: 1px dashed #e59a9a; outline-offset: -2px; }
.acr-scale { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: var(--acr-muted); margin-top: 12px; }
.acr-scale b { display: inline-block; width: 160px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(92,160,201,.9), rgba(92,160,201,.12) 50%, rgba(201,120,92,.12) 50%, rgba(201,120,92,.9)); }
.acr-sources { columns: 2 320px; font-size: .78rem; color: var(--acr-muted); line-height: 1.55; padding-left: 18px; }
.acr-sources a { color: var(--dm-link, #7cc0ea); }
@media (max-width: 700px) {
  .acr-row { grid-template-columns: 20px 1fr 48px 64px; }
  .acr-spark { display: none; }
  .acr-track { grid-column: 2 / -1; grid-row: 2; }
}

.acr-spark { width: 60px; height: 16px; }
.acr-standin { font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: #c49bc2; border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; margin-left: 6px; vertical-align: 1px; cursor: help; }
.acr-crises button { font-size: .74rem; }
#acr-real[aria-pressed="true"] { color: #0b1d2a; background: #8fb9a8; border-color: #8fb9a8; }
#acr-real:disabled { opacity: .4; cursor: not-allowed; }
.acr-line svg { width: 100%; height: auto; display: block; margin: 8px 0 14px; }
.acr-line text { fill: var(--acr-muted); font-size: 11px; }
.acr-mix { border-collapse: collapse; width: 100%; font-size: .82rem; font-variant-numeric: tabular-nums; }
.acr-mix th, .acr-mix td { padding: 8px 10px; border-bottom: 1px solid var(--acr-line); text-align: right; white-space: nowrap; }
.acr-mix th:first-child { text-align: left; }
.acr-mix thead th { color: var(--acr-muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.acr-mix tbody th i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }
.acr-mix small { color: var(--acr-muted); font-weight: 400; }
.acr-builder { margin-top: 16px; }
.acr-builder summary { cursor: pointer; color: var(--acr-gold); font-weight: 600; }
.acr-mix-inputs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; max-height: 360px; overflow: auto; padding: 4px 2px; }
.acr-mix-inputs label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; }
.acr-mix-inputs em { font-style: normal; color: var(--dm-link, #7cc0ea); font-size: .7rem; }
.acr-mix-inputs input, .acr-pair select { font: inherit; font-size: .8rem; color: var(--dm-ink, #e6edf2); background: var(--dm-bg, #0b1d2a); border: 1px solid var(--acr-line); border-radius: 4px; padding: 4px 6px; }
.acr-mix-inputs input { width: 64px; text-align: right; }
.acr-pair { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .82rem; color: var(--acr-muted); margin-top: 10px; }
.acr-pair select { margin-left: 6px; max-width: 260px; }

/* ---- Sub-navigation, layout and mobile ---- */
.acr-subnav { position: sticky; top: 0; z-index: 20; background: rgba(11,29,42,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--acr-line); }
.acr-subnav .gs-container { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.acr-subnav .gs-container::-webkit-scrollbar { display: none; }
.acr-subnav a { flex: none; padding: 14px 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acr-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.acr-subnav a:hover { color: #fff; }
.acr-subnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--acr-gold); }
.acr-intro { padding-top: calc(var(--gs-section, 64px) * .6); }
.acr-head .acr-seg { margin-left: auto; }
.acr-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--acr-line); border: 1px solid var(--acr-line); border-radius: 6px; overflow: hidden; margin: 16px 0 20px; }
.acr-stat { background: var(--dm-bg, #0b1d2a); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acr-stat span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acr-gold); }
.acr-stat strong { font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--dm-ink, #e6edf2); }
.acr-stat.is-neg strong { color: #e59a9a; }
.acr-stat em { font-style: normal; font-size: .74rem; color: var(--acr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acr-controls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.acr-controls-row { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
.acr-swipe { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 24px; }
.acr-swipe::-webkit-scrollbar { display: none; }
.acr-swipe button { flex: none; }
.acr-crises button { border-style: dashed; }
.acr-lens { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--acr-line); padding-top: 12px; margin: 4px 0 10px; }
.acr-lens-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acr-gold); flex: none; }
.acr-lens .acr-seg { min-width: 0; }
#acr-bars > .acr-group { list-style: none; border-bottom: 1px solid var(--acr-line); }
.acr-group-head { width: 100%; display: flex; align-items: center; gap: 10px; font: inherit; color: var(--dm-ink, #e6edf2); background: none; border: 0; padding: 12px 2px; cursor: pointer; text-align: left; }
.acr-group-head i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.acr-group-head span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.acr-group-head small { color: var(--acr-muted); font-size: .74rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.acr-group-head b { width: 18px; text-align: center; color: var(--acr-gold); font-weight: 400; }
.acr-group-head:focus-visible, .acr-row:focus-visible { outline: 2px solid var(--dm-link, #7cc0ea); outline-offset: -2px; }
.acr-group .acr-bars { padding-bottom: 8px; }
.acr-row { cursor: pointer; }
.acr-corr-grid { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: start; }
.acr-kicker { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acr-gold); margin: 0 0 10px; }
.acr-low5 { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: low; }
.acr-low5 li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--acr-line); font-size: .85rem; counter-increment: low; }
.acr-low5 li::before { content: counter(low); color: var(--acr-muted); font-size: .7rem; width: 14px; }
.acr-low5 li span { flex: 1; }
.acr-low5 em { font-style: normal; color: var(--dm-link, #7cc0ea); font-size: .72rem; margin-left: 4px; }
.acr-low5 b { font-variant-numeric: tabular-nums; font-size: .8rem; padding: 2px 8px; border-radius: 3px; }
.acr-corr-matrix { min-width: 0; }
.acr-textbtn { font: inherit; font-size: .78rem; color: var(--dm-link, #7cc0ea); background: none; border: 0; cursor: pointer; padding: 0; }
.acr-textbtn:hover { text-decoration: underline; }
.acr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gs-stack, 20px); }
.acr-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--acr-line); border-radius: 6px; padding: clamp(20px, 3vw, 32px); background: linear-gradient(160deg, var(--dm-surface-2, #163449), var(--acr-panel)); transition: border-color .2s ease, transform .2s ease; }
.acr-card:hover { border-color: var(--acr-gold); transform: translateY(-2px); }
.acr-card h3 { margin: 6px 0 10px; font-size: 1.2rem; line-height: 1.35; }
.acr-card p { color: var(--acr-muted); line-height: 1.6; margin: 0 0 16px; }
.acr-card span { color: var(--acr-gold); font-size: .82rem; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .acr-card, .acr-bar { transition: none; } .acr-card:hover { transform: none; } }
.acr-method summary { cursor: pointer; color: var(--acr-gold); }
.acr-detail { border: 1px solid var(--acr-line); border-radius: 8px; background: var(--acr-panel, #10283a); color: var(--dm-ink, #e6edf2); padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 48px); }
.acr-detail::backdrop { background: rgba(5,14,21,.72); }
.acr-detail-inner { position: relative; padding: 28px clamp(18px, 4vw, 32px); overflow: auto; }
.acr-detail h2 { margin: 4px 0 6px; font-size: 1.5rem; }
.acr-detail-tkr { font-size: .82rem; color: var(--acr-muted); margin: 0 0 14px; }
.acr-detail-tkr a { color: var(--dm-link, #7cc0ea); }
.acr-detail-close { position: absolute; top: 12px; right: 14px; font-size: 1.6rem; line-height: 1; color: var(--acr-muted); background: none; border: 0; cursor: pointer; padding: 4px 8px; }
.acr-spark-lg { width: 100%; height: 90px; display: block; margin: 0 0 14px; }
.acr-spark-lg path { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.acr-detail-table tr.is-current { background: rgba(215,195,158,.08); }
.acr-detail-table th[scope="row"] { font-weight: 400; color: var(--acr-muted); }
.acr-mix td.is-neg { color: #e59a9a; }
.acr-pm td small { display: block; color: var(--acr-muted); font-size: .7rem; }
.acr-pm td, .acr-pm th { white-space: normal; text-align: left; }
.acr-pending { color: var(--acr-muted); font-style: italic; text-align: center !important; }
@media (max-width: 900px) { .acr-corr-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .acr-strip { grid-template-columns: repeat(2, 1fr); }
  .acr-stat strong { font-size: 1.2rem; }
  .acr-panel { padding: 16px 14px; border-radius: 4px; }
  .acr-controls-row { gap: 8px; }
  .acr-lens { flex-direction: column; align-items: flex-start; gap: 6px; }
  .acr-lens .acr-seg { width: 100%; }
  .acr-summary { grid-template-columns: 1fr; }
  .acr-row { padding: 8px 0; }
  .acr-head .acr-seg { margin-left: 0; }
  .acr-pair select { max-width: 100%; }
}

/* Hero live tiles, growth of $100, risk/return scatter */
.acr-hero-live { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; max-width: 620px; }
.acr-hero-live:empty { display: none; }
.acr-hero-tile { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 8px; padding: 12px 14px 10px; border: 1px solid rgba(255,255,255,.12); border-top: 1px solid var(--acr-gold, #d7c39e); background: rgba(255,255,255,.03); border-radius: 4px; color: #fff; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.acr-hero-tile:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.acr-hero-tile > span:first-child { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acr-muted, #aebfca); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acr-hero-tile strong { font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.acr-hero-tile strong.is-neg { color: #e59a9a; }
.acr-hero-tile em { font-style: normal; font-size: .66rem; color: var(--acr-muted, #aebfca); align-self: center; }
.acr-hero-tile .acr-spark { grid-column: 1 / -1; width: 100%; height: 24px; margin-top: 4px; }
.acr-chart { width: 100%; overflow: hidden; margin-top: 10px; }
.acr-chart svg { display: block; max-width: 100%; height: auto; font-size: 11px; }
.acr-chart svg text { fill: var(--acr-muted, #aebfca); }
.acr-chart svg line { stroke: var(--acr-line, #2b4659); stroke-width: 1; }
.acr-chart svg line.is-base { stroke: var(--dm-line-strong, #4a6a80); stroke-dasharray: 3 3; }
.acr-gline { fill: none; stroke-width: 1.8; stroke-linejoin: round; }
.acr-crisis-band { fill: rgba(229,154,154,.07); }
.acr-glabel { font-size: 12px; fill: #e6edf2 !important; }
.acr-gval { font-weight: 600; fill: var(--acr-gold, #d7c39e); }
.acr-axis { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.acr-pt { cursor: pointer; outline: none; }
.acr-pt circle { stroke: #0b1d2a; stroke-width: 1; opacity: .9; transition: r .15s ease; }
.acr-pt:hover circle, .acr-pt:focus-visible circle { stroke: #fff; stroke-width: 1.5; opacity: 1; }
.acr-pt text { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; fill: #e6edf2 !important; }
@media (max-width: 600px) {
  .acr-hero-live { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
  .acr-hero-tile strong { font-size: 1.15rem; }
  .acr-glabel { font-size: 11px; }
}
.acr-hero-tile svg.acr-spark { display: block; }
