:root {
  --ink: #172231;
  --navy: #172637;
  --navy-deep: #101c29;
  --dim: #667586;
  --muted: #8995a1;
  --border: #d7dfe6;
  --border-strong: #b8c3cd;
  --soft: #eef2f5;
  --surface: #fff;
  --silver: #7e8d9c;
  --silver-dark: #4f606f;
  --silver-soft: #e8edf1;
  --teal: #347665;
  --blue: #386e98;
  --up: #147a53;
  --down: #b74940;
  --amber: #a8782c;
  --shadow: 0 18px 55px rgba(25, 42, 60, .09);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { min-width: 0; margin: 0; background: #f2f5f7; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
main { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 82px; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -60px; border-radius: 7px; background: var(--navy); padding: 10px 14px; color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
.data-kicker, .section-index { color: var(--silver-dark); font: 700 10px var(--mono); letter-spacing: .1em; }

.page-header { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; gap: 24px; min-height: 66px; border-bottom: 1px solid rgba(120, 136, 151, .32); background: rgba(247, 249, 251, .94); padding: 8px max(20px, calc((100vw - 1380px) / 2)); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span, .page-title span:not(.metal-mark) { display: flex; flex-direction: column; }
.brand strong { font: 700 14px var(--serif); letter-spacing: .02em; }
.brand small, .page-title small { margin-top: 1px; color: var(--dim); font: 700 7px var(--mono); letter-spacing: .11em; }
.page-title { display: flex; align-items: center; gap: 9px; padding-left: 22px; border-left: 1px solid var(--border); }
.page-title strong { font: 600 13px var(--serif); }
.metal-mark { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #aeb9c3; border-radius: 7px; background: #edf1f3; color: var(--silver-dark); font: 700 10px var(--serif); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.page-header nav { display: flex; gap: 4px; margin-left: auto; }
.page-header nav a, .back-link { border-radius: 7px; padding: 8px 10px; color: var(--dim); font-size: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.page-header nav a:hover, .back-link:hover { background: var(--soft); color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; }

.price-section { padding: 22px 0 38px; }
.silver-command-center { overflow: hidden; border: 1px solid var(--border-strong); border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: var(--shadow); }
.silver-command-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(330px, 1fr); min-height: 590px; }
.price-workbench { min-width: 0; padding: 27px 30px 20px; border-right: 1px solid var(--border); }
.command-status-line { display: flex; align-items: center; gap: 9px; min-height: 24px; color: var(--dim); font: 700 10px var(--mono); }
.command-status-line > i { margin-left: auto; color: var(--muted); }
.status-beacon { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 5px rgba(20, 122, 83, .1); }
.status-beacon.is-stale { background: var(--amber); box-shadow: 0 0 0 5px rgba(168, 120, 44, .1); }
.command-quote-header { display: grid; grid-template-columns: minmax(270px, 1.25fr) minmax(300px, 1fr); gap: 28px; align-items: end; margin-top: 24px; }
.command-primary-quote { min-width: 0; }
.command-primary-quote > strong { display: block; margin: 10px 0 7px; font: 700 clamp(43px, 5.1vw, 74px)/.95 var(--mono); letter-spacing: -.07em; white-space: nowrap; }
.command-primary-quote > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.command-primary-quote b { font: 700 15px var(--mono); }
.command-primary-quote small { overflow: hidden; padding-left: 12px; border-left: 1px solid var(--border); color: var(--dim); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.command-period-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.command-period-metrics > div { min-width: 0; padding: 5px 14px; border-left: 1px solid var(--border); }
.command-period-metrics dt { color: var(--dim); font-size: 9px; }
.command-period-metrics dd { overflow: hidden; margin: 8px 0 0; font: 700 15px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.period-switcher { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 430px; overflow: hidden; margin: 26px 0 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--soft); }
.period-switcher button { min-width: 58px; border: 0; border-right: 1px solid var(--border); background: transparent; padding: 10px 12px; color: var(--dim); font-size: 10px; font-weight: 700; cursor: pointer; }
.period-switcher button:last-child { border-right: 0; }
.period-switcher button.is-active { background: #fff; color: var(--ink); box-shadow: 0 3px 12px rgba(29, 44, 60, .11); }
.period-switcher button:focus-visible, .milestone-tabs button:focus-visible, .milestone-filters button:focus-visible, summary:focus-visible, .inventory-list a:focus-visible { outline: 3px solid rgba(56, 110, 152, .28); outline-offset: 1px; }
.silver-price-canvas { height: 300px; border-top: 1px solid var(--border); background: #fbfcfd; padding: 13px 0 2px; }
.silver-price-canvas canvas, .ratio-canvas canvas { display: block; width: 100%; height: 100%; }
.price-note { margin: 10px 0 0; color: var(--dim); font-size: 10px; line-height: 1.6; }

.driver-panel { display: flex; min-width: 0; flex-direction: column; background: #fafbfc; }
.driver-panel > header { display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 17px 20px; border-bottom: 1px solid var(--border); }
.driver-panel h2 { margin: 0; font: 600 22px var(--serif); }
.driver-panel > header i { color: var(--muted); }
.driver-list { padding: 0 20px; }
.driver-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 104px; border-bottom: 1px solid var(--border); }
.driver-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ccd6dd; border-radius: 50%; background: #f0f3f4; color: var(--silver-dark); }
.driver-row > div { min-width: 0; }
.driver-row strong { font: 600 13px var(--serif); }
.driver-row p { overflow: hidden; margin: 5px 0 0; color: var(--dim); font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.driver-row small { display: block; overflow: hidden; margin-top: 5px; color: var(--muted); font: 600 8px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.driver-reading { display: flex; align-items: flex-end; flex-direction: column; min-width: 82px; }
.driver-reading b { max-width: 100px; overflow: hidden; font: 700 13px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.driver-reading time { margin-top: 7px; color: var(--dim); font: 600 8px var(--mono); }
.driver-method { margin-top: auto; border-top: 1px solid var(--border); }
.driver-method summary { display: flex; align-items: center; gap: 8px; padding: 15px 20px; font-size: 10px; font-weight: 700; cursor: pointer; list-style: none; }
.driver-method summary::-webkit-details-marker { display: none; }
.driver-method summary span { margin-left: auto; color: var(--dim); font-size: 9px; font-weight: 500; }
.driver-method[open] summary i { transform: rotate(180deg); }
.driver-method p { margin: 0; padding: 0 20px 17px; color: var(--dim); font-size: 10px; line-height: 1.7; }

.command-market-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--border); background: #f7f9fa; }
.command-market-strip > div { display: flex; min-width: 0; min-height: 86px; flex-direction: column; justify-content: center; padding: 12px 15px; border-right: 1px solid var(--border); }
.command-market-strip > div:last-child { border-right: 0; }
.command-market-strip small, .command-market-strip span { overflow: hidden; color: var(--dim); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.command-market-strip strong { overflow: hidden; margin: 7px 0 4px; font: 700 14px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.health-dots { display: flex; gap: 4px; }
.health-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c8d0d7; }
.health-dots i.is-good { background: var(--up); }
.health-dots i.is-stale { background: var(--amber); }

.flows-section { padding: 28px 0 70px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading > div { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 13px; }
.section-heading h2 { margin: 0; font: 600 clamp(28px, 3.3vw, 42px)/1 var(--serif); letter-spacing: -.04em; }
.section-heading p { grid-column: 2; max-width: 720px; margin: 9px 0 0; color: var(--dim); font-size: 11px; line-height: 1.55; }
.live-pulse, .sync-status { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .82); padding: 8px 11px; color: var(--dim); font: 700 9px var(--mono); white-space: nowrap; }
.live-pulse i, .sync-status > i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 5px rgba(20, 122, 83, .1); }
.sync-status.is-stale { border-color: rgba(168, 120, 44, .3); background: #fffaf1; color: #8e641f; }
.sync-status.is-stale > i { background: var(--amber); box-shadow: none; }
.fundamental-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border: 1px solid var(--border); border-radius: 11px; background: #fff; box-shadow: 0 10px 32px rgba(25, 42, 60, .05); }
.fundamental-strip article { display: flex; min-height: 110px; flex-direction: column; justify-content: center; padding: 17px 20px; border-right: 1px solid var(--border); }
.fundamental-strip article:last-child { border-right: 0; }
.fundamental-strip small { color: var(--dim); font-size: 10px; }
.fundamental-strip strong { margin: 7px 0 4px; font: 700 25px var(--mono); }
.fundamental-strip em { color: var(--dim); font-size: 11px; font-style: normal; }
.fundamental-strip span { font-size: 10px; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.insight-panel { min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 20px; box-shadow: 0 10px 32px rgba(25, 42, 60, .05); }
.insight-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.insight-panel h3 { margin: 6px 0 0; font: 600 21px var(--serif); }
.source-chip { border: 1px solid var(--border); border-radius: 999px; background: var(--soft); padding: 6px 9px; color: var(--dim); font: 700 8px var(--mono); white-space: nowrap; }
.balance-visual { display: grid; gap: 18px; margin-top: 34px; }
.balance-row > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.balance-row > span b { font-size: 12px; }
.balance-row > span small { color: var(--dim); font: 700 11px var(--mono); }
.balance-row > i { display: block; height: 12px; overflow: hidden; margin-top: 9px; border-radius: 999px; background: var(--soft); }
.balance-row > i b { display: block; height: 100%; border-radius: inherit; background: var(--navy); }
.balance-row.supply > i b { background: var(--teal); }
.balance-callout { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.balance-callout > span { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 50%; background: #faecea; color: var(--down); }
.balance-callout small { color: var(--dim); font-size: 9px; }
.balance-callout strong { display: block; margin-top: 3px; font: 700 18px var(--mono); }
.balance-callout p { margin: 5px 0 0; color: var(--dim); font-size: 10px; line-height: 1.5; }
.balance-panel > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; color: var(--blue); font-size: 10px; font-weight: 700; text-decoration: none; }
.ratio-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 8px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ratio-summary > div { padding: 13px; border-right: 1px solid var(--border); }
.ratio-summary > div:last-child { border-right: 0; }
.ratio-summary small { color: var(--dim); font-size: 9px; }
.ratio-summary strong { display: block; overflow: hidden; margin-top: 6px; font: 700 14px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.ratio-canvas { height: 205px; }
.ratio-panel > p { margin: 8px 0 0; color: var(--dim); font-size: 10px; line-height: 1.55; }

.inventory-watch { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 21px; box-shadow: 0 10px 32px rgba(25, 42, 60, .05); }
.inventory-watch > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.inventory-watch h3 { margin: 5px 0 0; font: 600 21px var(--serif); }
.inventory-watch > header p { max-width: 520px; margin: 0; color: var(--dim); font-size: 10px; line-height: 1.6; text-align: right; }
.inventory-list > div { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 28px; gap: 13px; align-items: center; min-height: 92px; border-bottom: 1px solid var(--border); }
.inventory-list > div:last-child { border-bottom: 0; }
.inventory-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--silver-soft); color: var(--silver-dark); }
.inventory-list strong { font: 600 13px var(--serif); }
.inventory-list p { margin: 5px 0 0; color: var(--dim); font-size: 10px; line-height: 1.5; }
.inventory-reading { display: flex; min-width: 135px; align-items: flex-end; flex-direction: column; }
.inventory-reading b { font: 700 13px var(--mono); }
.inventory-reading time { margin-top: 5px; color: var(--dim); font: 600 8px var(--mono); }
.inventory-list a { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; color: var(--dim); text-decoration: none; }

.milestone-section { padding: 50px 0 72px; border-top: 1px solid var(--border); }
.milestone-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 14px; }
.market-card, .milestone-browser { overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: 0 10px 32px rgba(25, 42, 60, .05); }
.market-card { border-radius: 11px; }
.market-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); background: #f5f7f8; padding: 12px 16px; }
.market-card > header > span { display: flex; align-items: center; gap: 8px; }
.market-card > header i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #cbd4dc; border-radius: 7px; background: #fff; color: var(--silver-dark); }
.market-card > header b { font: 600 13px var(--serif); }
.market-card > header small { color: var(--dim); font: 600 8px var(--mono); letter-spacing: .06em; }
.market-card-body { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 112px; }
.market-card-body > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 16px 18px; }
.market-card-body > div:first-child { border-right: 1px solid var(--border); }
.market-card-body small, .market-card-body span { display: block; overflow: hidden; color: var(--dim); font-size: 9px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.market-card-body strong { display: block; overflow: hidden; margin: 6px 0 4px; font: 700 clamp(18px, 2vw, 25px)/1.1 var(--mono); letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.market-card-body > div + div strong { font-size: clamp(16px, 1.7vw, 21px); }
.milestone-browser { border-color: var(--border-strong); border-radius: 11px; }
.milestone-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f3f6f8; }
.milestone-tabs button { display: flex; align-items: flex-start; flex-direction: column; border: 0; border-right: 1px solid var(--border); border-bottom: 2px solid transparent; background: transparent; padding: 13px 17px; color: var(--dim); cursor: pointer; }
.milestone-tabs button:last-child { border-right: 0; }
.milestone-tabs button[aria-selected="true"] { border-bottom-color: var(--navy); background: #fff; color: var(--ink); }
.milestone-tabs b { font: 600 12px var(--serif); }
.milestone-tabs small { margin-top: 4px; font: 600 8px var(--mono); }
.milestone-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #fff; }
.milestone-toolbar p { display: flex; gap: 10px; margin: 0; color: var(--dim); font-size: 9px; }
.milestone-toolbar p strong { color: var(--ink); }
.milestone-filters { display: flex; gap: 5px; }
.milestone-filters button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; border-radius: 999px; background: transparent; padding: 6px 9px; color: var(--dim); font-size: 9px; cursor: pointer; }
.milestone-filters button.is-active { border-color: var(--border); background: var(--navy); color: #fff; }
.milestone-filters i { width: 6px; height: 6px; border-radius: 50%; background: var(--up); }
.milestone-filters button[data-milestone-filter="down"] i { background: var(--down); }
.milestone-panel[hidden] { display: none; }
.milestone-list-head, .milestone-row { display: grid; grid-template-columns: 1.05fr .38fr .55fr 1.7fr; align-items: center; gap: 12px; }
.milestone-list-head { min-height: 34px; border-bottom: 1px solid var(--border); padding: 7px 17px; background: #f7f9fa; color: var(--dim); font: 700 8px var(--mono); }
.milestone-list { max-height: 540px; overflow: auto; margin: 0; padding: 0; list-style: none; scrollbar-color: #aab5bf #edf1f4; scrollbar-width: thin; }
.milestone-row { position: relative; min-height: 78px; border-bottom: 1px solid var(--border); padding: 11px 17px 11px 28px; }
.milestone-row:last-child { border-bottom: 0; }
.milestone-row::before { position: absolute; left: 15px; top: 50%; width: 5px; height: 28px; border-radius: 4px; background: var(--up); content: ""; transform: translateY(-50%); }
.milestone-row.is-down::before { background: var(--down); }
.milestone-level strong { display: block; font: 700 14px var(--mono); }
.milestone-level small { display: block; margin-top: 4px; color: var(--dim); font-size: 8px; }
.milestone-type { justify-self: start; border-radius: 999px; background: #e9f5ef; padding: 5px 7px; color: var(--up); font-size: 8px; font-weight: 700; }
.milestone-row.is-down .milestone-type { background: #faecea; color: var(--down); }
.milestone-date { color: var(--ink); font: 700 9px var(--mono); }
.milestone-context { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; color: var(--dim); font-size: 9px; }
.milestone-context > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.milestone-source { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 999px; padding: 4px 6px; font-size: 7px; }
.milestone-empty { padding: 32px; color: var(--dim); font-size: 10px; text-align: center; }
.milestone-note { display: flex; align-items: flex-start; gap: 7px; margin: 13px 2px 0; color: var(--dim); font-size: 9px; line-height: 1.7; }
.milestone-note i { margin-top: 1px; color: var(--blue); }

.method-section { margin: 0 -24px; padding: 68px max(24px, calc((100vw - 1380px) / 2 + 24px)); background: var(--navy); color: #fff; }
.section-heading.light .section-index { color: #bcc8d2; }
.section-heading.light p { color: #aebdca; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 27px; border-top: 1px solid rgba(255, 255, 255, .2); border-left: 1px solid rgba(255, 255, 255, .2); }
.method-grid article { position: relative; min-height: 215px; border-right: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 21px; }
.method-grid article > b { position: absolute; right: 14px; top: 8px; color: rgba(255, 255, 255, .1); font: 700 42px var(--serif); }
.method-grid i { color: #c9d2da; font-size: 22px; }
.method-grid h3 { margin: 33px 0 11px; font: 600 15px var(--serif); }
.method-grid p { margin: 0; color: #aebdca; font-size: 10px; line-height: 1.8; }
.source-box { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 25px; border: 1px solid rgba(255, 255, 255, .22); padding: 18px; }
.source-box > i { color: #c9d2da; font-size: 26px; }
.source-box strong { font: 600 13px var(--serif); }
.source-box p { margin: 5px 0 0; color: #aebdca; font-size: 9px; }
.source-box nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.source-box a { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 8px 10px; color: #fff; font-size: 9px; text-decoration: none; }
.source-box a:hover { background: rgba(255, 255, 255, .08); }
.legal-note { margin: 18px 0 0; color: #8496a9; font-size: 9px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; background: var(--navy-deep); padding: 29px max(18px, calc((100vw - 1380px) / 2)); color: #fff; }
.footer-brand { color: #fff; }
.footer-brand small { color: #91a2b6; }
footer nav { display: flex; gap: 15px; }
footer nav a { color: #aebdca; font-size: 10px; text-decoration: none; }
footer > p { grid-column: 1 / -1; margin: 0; color: #76889b; font-size: 9px; }

@media (max-width: 1100px) {
  .page-header nav { display: none; }
  .back-link { margin-left: auto; }
  .silver-command-grid { grid-template-columns: 1fr; }
  .price-workbench { border-right: 0; }
  .driver-panel { border-top: 1px solid var(--border); }
  .driver-list { display: grid; grid-template-columns: 1fr 1fr; }
  .driver-row:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 16px; }
  .command-market-strip { grid-template-columns: repeat(3, 1fr); }
  .command-market-strip > div:nth-child(3) { border-right: 0; }
  .command-market-strip > div:nth-child(-n + 3) { border-bottom: 1px solid var(--border); }
  .method-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  main { padding: 0 12px; }
  section { scroll-margin-top: 68px; }
  .page-header { min-height: 58px; padding: 8px 12px; gap: 12px; }
  .page-title { padding-left: 12px; }
  .page-title span:not(.metal-mark) { display: none; }
  .back-link { padding: 8px; }
  .back-link span { display: none; }
  .price-section { padding: 14px 0 30px; }
  .silver-command-center { border-radius: 11px; }
  .silver-command-grid { min-height: 0; }
  .price-workbench { padding: 19px 15px 16px; }
  .command-quote-header { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .command-primary-quote > strong { font-size: clamp(37px, 12vw, 54px); }
  .command-period-metrics > div:first-child { border-left: 0; padding-left: 0; }
  .period-switcher { max-width: none; margin-top: 20px; }
  .period-switcher button { min-width: 0; padding: 10px 5px; }
  .silver-price-canvas { height: 260px; }
  .driver-panel > header { min-height: 58px; padding: 15px; }
  .driver-list { display: block; padding: 0 15px; }
  .driver-row:nth-child(odd) { border-right: 0; padding-right: 0; }
  .driver-row { min-height: 102px; }
  .driver-row p { white-space: normal; }
  .driver-method summary, .driver-method p { padding-left: 15px; padding-right: 15px; }
  .command-market-strip { grid-template-columns: 1fr 1fr; }
  .command-market-strip > div { min-height: 78px; }
  .command-market-strip > div:nth-child(odd) { border-right: 1px solid var(--border); }
  .command-market-strip > div:nth-child(even) { border-right: 0; }
  .command-market-strip > div:nth-child(-n + 4) { border-bottom: 1px solid var(--border); }
  .flows-section { padding: 21px 0 50px; }
  .section-heading { display: block; }
  .live-pulse, .sync-status { margin-top: 14px; }
  .fundamental-strip { grid-template-columns: 1fr 1fr; }
  .fundamental-strip article:nth-child(2) { border-right: 0; }
  .fundamental-strip article:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .fundamental-strip article { min-height: 96px; }
  .fundamental-strip strong { font-size: 20px; }
  .insight-grid { grid-template-columns: 1fr; }
  .inventory-watch > header { display: block; }
  .inventory-watch > header p { margin-top: 10px; text-align: left; }
  .inventory-list > div { grid-template-columns: 38px minmax(0, 1fr) 28px; padding: 13px 0; }
  .inventory-reading { grid-column: 2; min-width: 0; align-items: flex-start; }
  .inventory-list a { grid-column: 3; grid-row: 1 / span 2; }
  .milestone-section { padding: 42px 0 55px; }
  .milestone-overview { grid-template-columns: 1fr; }
  .milestone-tabs button { padding: 11px 9px; text-align: left; }
  .milestone-tabs small { white-space: normal; }
  .milestone-toolbar { display: block; padding: 10px 11px; }
  .milestone-toolbar p { justify-content: space-between; }
  .milestone-filters { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
  .milestone-filters button { justify-content: center; padding: 6px; }
  .milestone-list-head { display: none; }
  .milestone-list { max-height: 720px; }
  .milestone-row { grid-template-columns: 1fr auto; gap: 5px 12px; min-height: 110px; padding: 13px 13px 13px 28px; }
  .milestone-row::before { left: 13px; }
  .milestone-level { grid-column: 1; }
  .milestone-type { grid-column: 2; grid-row: 1; }
  .milestone-date { grid-column: 1; grid-row: 2; color: var(--dim); }
  .milestone-context { grid-column: 1 / -1; grid-row: 3; align-items: flex-start; margin-top: 5px; border-top: 1px dashed var(--border); padding-top: 8px; font-size: 9px; }
  .milestone-context > span:first-child { white-space: normal; }
  .method-section { margin: 0 -12px; padding: 55px 12px; }
  .method-grid { grid-template-columns: 1fr; }
  .source-box { grid-template-columns: 1fr; }
  .source-box nav { display: grid; grid-template-columns: 1fr; justify-content: stretch; }
  .source-box a { text-align: center; }
  footer { grid-template-columns: 1fr; padding: 25px 14px; }
  footer nav { grid-row: 2; }
  footer > p { grid-row: 3; }
}

@media (max-width: 440px) {
  .brand span { display: none; }
  .page-title { border-left: 0; padding-left: 0; }
  .command-primary-quote > strong { font-size: 38px; }
  .command-primary-quote > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .command-primary-quote small { padding-left: 0; border-left: 0; white-space: normal; }
  .command-period-metrics dd { font-size: 12px; }
  .driver-row { grid-template-columns: 34px minmax(0, 1fr); }
  .driver-reading { grid-column: 2; align-items: flex-start; padding-bottom: 10px; }
  .ratio-summary { grid-template-columns: 1fr; }
  .ratio-summary > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .ratio-summary > div:last-child { border-bottom: 0; }
  .market-card > header small { display: none; }
  .market-card-body { grid-template-columns: 1fr; }
  .market-card-body > div:first-child { border-right: 0; border-bottom: 1px solid var(--border); }
  .milestone-tabs b { font-size: 11px; }
  .milestone-tabs small { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
