/* Dark mode: a restrained navy palette with clear surface separation. */
:root {
  color-scheme: dark;
  --bg: #14253e;
  --surface: #182b45;
  --surface2: #213752;
  --text: #edf3fa;
  --muted: #afbed2;
  --line: #344c6b;
  --accent: #f0b958;
  --blue: #a1c9ef;
  --chart: #34c98a;
  --gray: #8c9db4;
  --positive: #5ae5a9;
  --action: #77b7ef;
  --action-text: #0b2135;
  --negative: #edaaa1;
  --shadow: 0 2px 6px #00000024, 0 12px 30px #00000038;
}
html[data-theme=light]{color-scheme:light;--bg:#f2f5f8;--surface:#fff;--surface2:#f4f7fa;--text:#16243b;--muted:#52657a;--line:#d6dee8;--accent:#8d651d;--blue:#286d9b;--chart:#168653;--gray:#697c91;--positive:#137548;--action:#2463a6;--action-text:#ffffff;--negative:#a33b32;--shadow:0 2px 6px #16334d0a, 0 12px 30px #16334d14}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:var(--blue);text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.chart:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button,input,select{min-height:46px;border-radius:8px}button{border:1px solid var(--line);background:var(--surface2);color:var(--text)}.skip{position:absolute;top:-80px;left:20px;z-index:10;background:var(--surface);padding:10px}.skip:focus{top:10px}
header{border-bottom:1px solid var(--line);background:var(--bg)}.header-inner{max-width:1280px;margin:auto;padding:20px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-size:22px;letter-spacing:.045em;font-weight:750;color:var(--text);display:flex;align-items:center;gap:10px}.mark{width:35px;height:35px;display:grid;place-items:center;background:var(--accent);color:var(--bg);border-radius:8px;font-size:23px;line-height:1}.brand span:last-child{color:var(--accent);font-weight:500}nav{display:flex;align-items:center;gap:16px;font-size:14px}nav>a{text-decoration:none;color:var(--muted)}.languages{display:flex;border:1px solid var(--line);border-radius:8px;padding:3px}.languages a{padding:6px 12px;text-decoration:none;color:var(--muted)}.languages a[aria-current]{background:var(--surface2);border-radius:5px;color:var(--text)}.theme-toggle{padding:6px 12px;font-size:14px;min-width:78px}
main{max-width:1280px;padding:36px 32px 0;margin:auto}.intro{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}.eyebrow{color:var(--accent);font-size:13px;font-weight:650;letter-spacing:.12em}.intro h1{font-size:clamp(26px,3.1vw,38px);line-height:1.35;font-weight:650;margin:6px 0 8px;letter-spacing:-.025em}.intro p{margin:0;color:var(--muted)}.data-stamp{text-align:right;flex-shrink:0;font-size:14px}.data-stamp span,.data-stamp strong,.data-stamp small{display:block}.data-stamp span,.data-stamp small{color:var(--muted)}.data-stamp strong{font-weight:500;color:var(--accent);font-size:16px}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);align-items:start;gap:24px}.controls,.results,.price-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.controls{padding:25px}.section-label{font-size:18px;font-weight:550;margin:0 0 22px}.step{font-size:13px;color:var(--accent);padding-right:12px}label,.field-label{display:block;font-size:14px;margin-bottom:8px;color:var(--muted)}.money-input{display:flex;border:1px solid var(--line);border-radius:8px;align-items:center;background:var(--bg);padding:0 12px;gap:10px}.money-input input{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font-size:24px;outline-offset:2px;font-weight:600}.money-input span{font-size:14px;color:var(--muted)}.presets{display:flex;gap:6px;margin-top:10px;margin-bottom:24px;flex-wrap:wrap}.presets button{min-height:35px;padding:4px 8px;font-size:13px;flex:1}.presets .active{border-color:var(--accent);color:var(--accent)}.month-pair{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px;margin-bottom:18px}select{min-width:0;width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);padding:8px;font-size:15px}.calculate{width:100%;background:var(--accent);color:var(--bg);border:0;font-weight:700;padding:12px;margin-top:8px}.error{font-size:14px;color:var(--negative);margin:10px 0;min-height:0}.error:empty{display:none}.assumption{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:14px;color:var(--muted)}.assumption p{margin:7px 0 0}.mini-label{font-size:13px;font-weight:600;letter-spacing:.04em}.results{padding:25px 28px}.result-top{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:var(--muted);flex-wrap:wrap;margin-bottom:16px}.value-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.value-row p{margin:0;font-size:14px;color:var(--muted)}.hero-value{font-size:clamp(27.075px,2.888vw,40.6125px);font-weight:600;line-height:1.35;letter-spacing:-.03em;overflow-wrap:anywhere}.return-badge{padding:10px 15px;background:var(--surface2);border-radius:9px;text-align:right}.return-badge span{font-size:13px;color:var(--muted);display:block}.return-badge strong{font-size:24px;white-space:nowrap;font-weight:550}.positive{color:var(--positive)}.negative{color:var(--negative)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.stats span,.holdings span{display:block;color:var(--muted);font-size:14px}.stats strong{font-size:21px;font-weight:550;overflow-wrap:anywhere}.stats small,.holdings small{display:block;font-size:13px;color:var(--muted)}.chart-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px;flex-wrap:wrap}.chart-header h2{margin:0;font-size:17px;font-weight:550}.legend{display:flex;gap:15px;font-size:13px;color:var(--muted);flex-wrap:wrap}.legend i{width:14px;height:3px;display:inline-block;background:var(--blue);vertical-align:middle;margin-right:5px}.legend i.muted{background:var(--gray)}.chart{min-width:0;width:100%;border-radius:5px}.chart svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}.chart-readout{font-size:14px;color:var(--muted);min-height:2.8em;margin:6px 0 12px}.holdings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-top:1px solid var(--line);padding-top:20px}.holdings strong{display:block;font-size:20px;font-weight:550;overflow-wrap:anywhere}.result-note{font-size:14px;color:var(--muted);margin:22px 0 0;background:var(--surface2);padding:12px 14px;border-radius:8px}.result-note a{white-space:nowrap}.price-panel{margin-top:28px;padding:25px 28px}.price-panel .chart-header{margin-top:0}.reference-price{font-size:22px;font-weight:550;display:block;color:var(--accent)}.price-sub{margin:4px 0 18px;font-size:14px;color:var(--muted)}.table-wrap{overflow-x:auto;border-radius:8px}table{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}th{text-align:right;font-weight:550;color:var(--muted);background:var(--surface2)}td,th{padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap;text-align:right}td:first-child,th:first-child{text-align:left}.summary-note{color:var(--muted);font-size:14px}.methodology{margin:40px 0}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:20px}.section-heading h2{margin:5px 0 0;font-size:26px;font-weight:550}details{border-bottom:1px solid var(--line)}summary{padding:18px 0;cursor:pointer;font-size:17px;font-weight:500}details p,details li{color:var(--muted)}details p{margin:8px 0 16px}.detail-body{padding:0 0 24px;max-width:960px}.formula{font:14px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text);background:var(--surface);border:1px solid var(--line);padding:16px;border-radius:8px;overflow-wrap:anywhere}.sources{padding-left:20px}.sources li{margin-bottom:10px}.ad-slot{display:none;margin:28px 0;border:1px solid var(--line);border-radius:8px;min-height:110px;text-align:center}.ad-slot.enabled{display:block}.ad-label{font-size:12px;color:var(--muted);display:block;padding:5px}footer{display:flex;justify-content:space-between;gap:30px;border-top:1px solid var(--line);padding:28px 0;font-size:14px;color:var(--muted)}footer strong{color:var(--text);font-size:16px}footer span{display:block}footer p{margin:0;max-width:740px}.document{max-width:900px;margin:0 auto;padding-bottom:40px}.document h1{font-size:34px}.document h2{font-size:22px}.document p,.document li{color:var(--muted)}.status{padding:12px 15px;background:var(--surface2);border:1px solid var(--line);border-radius:8px;font-size:14px;margin-bottom:20px}.status:empty{display:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1020px){.workspace{grid-template-columns:285px minmax(0,1fr);gap:18px}.controls{padding:20px}.results{padding:22px}.holdings{grid-template-columns:1fr 1fr}.holdings>div:last-child{grid-column:1/-1}.hero-value{font-size:30.685px}.stats{gap:12px}.stats strong{font-size:18px}}
@media(max-width:780px){.header-inner{padding:16px 20px}.header-inner nav>a{display:none}nav{gap:8px}.brand{font-size:18px}.mark{width:30px;height:30px}.languages a{padding:6px 9px}main{padding:26px 20px 0}.intro{align-items:start;flex-direction:column;gap:12px;margin-bottom:22px}.data-stamp{text-align:left}.data-stamp span,.data-stamp strong{display:inline}.data-stamp strong{margin-left:8px}.data-stamp small{display:none}.workspace{grid-template-columns:1fr}.controls{padding:22px}.month-pair{grid-template-columns:1fr 120px}.stats strong{font-size:20px}.results,.price-panel{padding:22px}.hero-value{font-size:32.49px}.section-heading h2{font-size:23px}footer{flex-direction:column;gap:14px}.chart-readout{min-height:3.2em}.intro h1{font-size:30px}}
@media(max-width:430px){.header-inner{padding:14px 16px;gap:10px}.brand{font-size:16px;gap:6px}.mark{display:none}.theme-toggle{min-width:68px;padding:6px 8px}.languages a{padding:6px 7px}main{padding:24px 16px 0}.results,.price-panel{padding:20px 16px}.value-row{align-items:start;flex-direction:column;gap:10px}.return-badge{text-align:left;display:flex;align-items:center;gap:15px;padding:6px 12px}.return-badge strong{font-size:20px}.stats{grid-template-columns:1fr 1fr;gap:15px}.stats>div:last-child{grid-column:auto}.holdings{grid-template-columns:1fr}.holdings>div:last-child{grid-column:auto}.hero-value{font-size:32.49px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Informational pages and footer navigation */
footer{flex-wrap:wrap;gap:18px 28px}footer>p{flex-basis:100%;max-width:900px;margin:0}.footer-links{display:flex;flex-wrap:wrap;gap:4px 22px;align-items:center}.footer-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.document{max-width:850px;margin-inline:auto}.document-lead{font-size:20px;line-height:1.65}.revision{font-size:13px;color:var(--muted)}.contact-form{width:100%;max-width:640px;margin:24px auto;background:#fff;border-radius:12px;overflow:hidden}.contact-form iframe{display:block;width:100%;height:585px;border:0}.form-link{display:inline-block;min-height:44px;padding-block:10px}@media(max-width:600px){.footer-links{gap:4px 16px}.document-lead{font-size:18px}.contact-form iframe{height:720px}}

/* Modern layout: restrained navy, clear hierarchy and readable content. */
body {
  background: radial-gradient(ellipse at 85% 0%, var(--surface2) 0%, transparent 48%), var(--bg);
  font-feature-settings: "ss01";
}
html:not([data-theme="light"]) body {
  background: linear-gradient(135deg, #203650 0%, #14253e 55%, #101f36 100%);
}
header {
  background: var(--bg);
}
.header-inner {
  padding-block: 22px;
}
main {
  padding-top: 44px;
}
.intro {
  align-items: center;
  gap: 36px;
  margin-bottom: 34px;
}
.intro > div:first-child {
  max-width: 810px;
}
.intro h1 {
  margin-block: 12px;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.4;
  font-weight: 650;
}
.intro p {
  max-width: 680px;
  line-height: 1.8;
}
.intro-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}
.intro-notes span {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.intro-check path {
  stroke-width: 3;
}
.intro-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--positive);
}
.data-stamp {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
}
.data-stamp strong {
  margin-block: 4px;
  font-weight: 600;
}
.controls, .results, .price-panel {
  border-radius: 18px;
}
.methodology, .document {
  box-shadow: var(--shadow);
}
.controls {
  border: 1px solid #456380;
  padding: 28px;
}
.results {
  border: 1px solid #456380;
  padding: 28px 30px;
}
/* Subtle light across the main calculator panels in dark mode. */
html:not([data-theme="light"]) .controls,
html:not([data-theme="light"]) .results {
  box-shadow: 0 14px 30px #07172940, 0 3px 6px #07172933,
    inset 0 1px 0 #91badb33;
}
html:not([data-theme="light"]) .controls {
  background: linear-gradient(145deg, #233e5b 0%, #1c324d 65%, #182b45 100%);
}
html:not([data-theme="light"]) .results {
  background: linear-gradient(140deg, #203a56 0%, #182f49 50%, #14283f 100%);
}
.result-top {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hero-value, .stats strong, .holdings strong {
  font-variant-numeric: tabular-nums;
}
.calculate {
  border-radius: 10px;
  min-height: 50px;
  box-shadow: 0 4px 14px #07142715;
}
.calculate:hover:not(:disabled) {
  filter: brightness(1.06);
}
.price-panel {
  padding: 28px 30px;
}
.methodology {
  padding: 28px 30px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.methodology details:last-child {
  border-bottom: 0;
}
.document {
  padding: 32px 38px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 40px;
}
.document h1 {
  line-height: 1.4;
  margin-top: 0;
}
.document h2 {
  margin-top: 30px;
  font-size: 20px;
}
.document p {
  line-height: 1.9;
}
footer {
  padding-block: 32px;
}
.footer-disclaimer {
  flex-basis: 100%;
  width: 100%;
  max-width: none;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
}
.footer-disclaimer strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}
.footer-disclaimer p {
  max-width: none;
  margin: 8px 0 0;
}
@media (max-width: 1020px) {
  .controls { padding: 22px; }
  .results, .price-panel { padding: 24px; }
}
@media (max-width: 780px) {
  main { padding-top: 28px; }
  .intro { align-items: flex-start; gap: 20px; }
  .data-stamp { padding: 10px 14px; }
  .data-stamp strong { margin-left: 8px; }
  .methodology { padding: 22px 20px 8px; }
  .document { padding: 26px 22px; }
}
@media (max-width: 430px) {
  .intro h1 { font-size: 28px; }
  .results, .price-panel { padding: 22px 18px; }
  .document { padding: 24px 18px; }
  .document h1 { font-size: 28px; }
  .footer-disclaimer { font-size: 13px; }
}

/* Labeled advertisement before the footer notice on every content page. */
.footer-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 0 32px;
}
.footer-banner .sponsorship-caption {
  display: block;
  margin: 0 0 8px;
  padding: 4px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}
.footer-banner a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.footer-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 970 / 250;
}

/* Blue actions and green positive returns complement the navy palette. */
.calculate {
  background: var(--action);
  color: var(--action-text);
}
.return-badge strong {
  font-size: 28px;
  font-weight: 700;
}
.return-badge strong.positive {
  color: var(--positive);
}
@media (max-width: 430px) {
  .return-badge strong { font-size: 24px; }
}

/* A subtle raised blue action and a smaller advertisement. */
.calculate {
  background: #067ac6;
  color: #ffffff;
  border: 1px solid #096daf;
  box-shadow: 0 2px 0 #0863a0, 0 4px 9px #0714271a;
}
.calculate:hover:not(:disabled) {
  filter: brightness(1.04);
}
.calculate:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #0863a0, 0 2px 5px #07142714;
}
.footer-banner {
  width: 72.9%;
  max-width: 656.1px;
}
.methodology + .footer-banner {
  padding-top: 0;
}

/* Keep chart legends aligned with the theme-aware green series. */
.intro h1 {
  color: var(--accent);
}

.legend i:not(.muted) {
  background: var(--chart);
}
.return-badge strong {
  font-size: 25px;
}
@media (max-width: 430px) {
  .return-badge strong { font-size: 22px; }
}

/* A quiet inset surface complements the chart's subtle SVG depth. */
.chart {
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 6px 4px;
  box-shadow: inset 0 1px 0 #ffffff06;
}
html[data-theme=light] .chart {
  box-shadow: inset 0 1px 0 #ffffffb3;
}

/* Consistent blue branding in the header. */
.mark {
  color: #0b80ce;
  background: var(--surface2);
  border: 1px solid var(--line);
}
.brand span:last-child {
  color: #0b80ce;
}

/* Header logo: blue, weight 700, enlarged by another 10% on all screens. */
.brand {
  font-size: 26.62px;
  font-weight: 700;
}
.mark {
  color: #40b3ff;
  width: 42.35px;
  height: 42.35px;
  font-size: 27.83px;
}
.brand span:last-child {
  color: #40b3ff;
  font-weight: 700;
}
@media (max-width: 780px) {
  .brand { font-size: 21.78px; }
  .mark { width: 36.3px; height: 36.3px; }
}
@media (max-width: 430px) {
  .brand { font-size: 19.36px; }
}

/* Keep the educational purpose visible alongside the introduction. */
.intro .education-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
}

/* Footer menu links stay prominent in both display modes. */
.footer-links a {
  color: #dbe5ef;
  font-weight: 700;
  text-decoration: none;
}

[data-theme="light"] .footer-links a {
  color: #334b63;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #66b8ee;
  text-decoration: underline;
}

[data-theme="light"] .footer-links a:hover,
[data-theme="light"] .footer-links a:focus-visible {
  color: #067ac6;
}

/* Mobile banners use the full available width; desktop keeps the smaller size. */
@media (max-width: 780px) {
  .footer-banner {
    width: 100%;
    max-width: none;
  }
}

/* Center wrapped footer menu rows on mobile. */
@media (max-width: 780px) {
  .footer-links {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Center the footer identity and education note on mobile. */
@media (max-width: 780px) {
  .footer-brand {
    width: 100%;
    text-align: center;
  }
}

/* Emphasize the terms link inside the footer notice. */
.footer-disclaimer a {
  font-weight: bold;
}

/* Footer brand links back to the home page for the current language. */
.footer-brand a {
  color: inherit;
  text-decoration: none;
}

.footer-brand a:hover {
  text-decoration: underline;
}

/* Plain-language DCA explanation inside the methodology panel. */

.dca-explained h4 { margin: 18px 0 8px; font-size: 16px; font-weight: 600; }
.dca-explained ul { margin: 0 0 16px; padding-inline-start: 24px; }
.dca-explained li { margin-bottom: 6px; }


/* Keep accordion titles as semantic headings without changing their layout. */
.methodology summary h3, #year-panel summary h2 { display: inline; margin: 0; font: inherit; }

/* Leave a little breathing room when mobile results scroll into view. */
.results { scroll-margin-top: 20px; }

.pending-status { margin: 12px 0 0; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.7; }

/* Reveal each chart when it enters the viewport after a calculation. */
.chart-reveal-mask { transform-box: fill-box; transform-origin: left center; }
.chart-pending .chart-reveal-mask { transform: scaleX(0); }
.chart-pending .cursor, .chart-pending .cursor-point { opacity: 0; }
.chart-reveal .chart-reveal-mask {
  animation: chart-plot-reveal 1800ms ease-in-out 100ms both;
}
.chart-reveal .cursor, .chart-reveal .cursor-point {
  animation: chart-area-reveal 300ms ease-out 1700ms both;
}
@keyframes chart-plot-reveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes chart-area-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reference-summary{margin:0 0 8px;padding-left:1.25em;color:#f0b958;font-size:19px;line-height:1.5}.reference-summary li+li{margin-top:8px}.reference-summary .reference-price{display:inline;font-size:inherit;overflow-wrap:anywhere}

.footer-links{min-width:0;max-width:100%}.footer-links a{white-space:nowrap}footer .footer-copyright{flex-basis:100%;max-width:none;margin:0;font-size:12px;color:var(--muted);text-align:left}
@media(max-width:780px){.footer-links{gap:4px 14px}footer .footer-copyright{text-align:center}}

.assumption .simulator-version{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);text-align:center;font-size:12px;font-style:italic;line-height:1.65;color:var(--muted)}.simulator-version span{display:block}

.pending-status{text-align:center}
@media(min-width:781px){.price-panel .chart-header h2{font-size:22px;line-height:1.5}}

#year-panel .annual-heading{margin:24px 0 12px;font-size:18px;font-weight:bold;line-height:1.5}
#year-panel,#year-panel table,#year-panel th,#year-panel td,#year-panel small{font-weight:500}
#year-panel thead th,#year-panel thead th small{font-weight:bold}
#year-panel thead th{vertical-align:top}
#annual-body td:nth-child(3){text-align:right}
.annual-gold-value{display:inline-grid;text-align:center}
.annual-gold-value::before{content:attr(data-heading);visibility:hidden;grid-area:1/1;font-weight:bold;font-size:16px}
.annual-gold-value>span{grid-area:1/1}
.annual-gold-heading,.annual-contributions-heading,.annual-est-heading{display:inline-block;text-align:center}
#year-panel thead th small{font-size:14px}
#annual-body tr:last-child{background:var(--surface2)}
#annual-body td:nth-child(3){color:#f0b958}
html[data-theme="light"] #annual-body td:nth-child(3){color:#8d651d}

footer .footer-dmca{flex-basis:100%;min-width:0;margin-top:-6px;text-align:left}.footer-dmca .dmca-badge{display:inline-block;line-height:0}.footer-dmca img{display:block;width:100px;height:20px;max-width:100%}@media(max-width:780px){footer .footer-dmca{text-align:center}}

.contact-privacy{font-size:13px;line-height:1.7;color:var(--muted)}

.results .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.results .holdings{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:430px){.results .holdings{grid-template-columns:1fr}}

@media(min-width:1021px){.results .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.results .stats>div{min-width:0}.results .stats span{font-size:14px;line-height:1.5;margin-bottom:4px}.results .stats strong{font-size:20px;line-height:1.5}}

.results #units{color:#f0b958}

.reference-summary .reference-price{color:#f0b958}@media(min-width:781px){#price-period{font-size:14px}}

html[data-theme="light"] .results #units,
html[data-theme="light"] .reference-summary,
html[data-theme="light"] .reference-summary .reference-price{color:#8d651d}

table th{color:#cee7ff;font-size:16px}
html[data-theme="light"] table th{color:var(--text)}

/* Research summary and language-specific PDF download. */
.research-description p{margin:0 0 8px;line-height:1.8}
.research-download{display:inline-block;max-width:100%;margin-top:12px;padding:8px 14px;border:1px solid #096daf;border-radius:8px;background:#067ac6;color:#ffffff;font-size:14px;font-weight:700;text-decoration:none;line-height:1.6;box-shadow:0 2px 0 #0863a0,0 4px 9px #0714271a}
.research-download:hover{filter:brightness(1.04);text-decoration:none}
.research-download:active{transform:translateY(1px);box-shadow:0 1px 0 #0863a0,0 2px 5px #07142714}
.research-download:focus-visible{outline:2px solid var(--blue);outline-offset:4px}

/* Compact monthly detail, shared by both chart languages and themes. */
.chart{position:relative}
.chart-tooltip{position:absolute;top:12px;z-index:2;max-width:calc(100% - 16px);padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);box-shadow:0 5px 18px #0003;font-size:12px;line-height:1.6;pointer-events:none}
.chart-tooltip>strong{display:block;margin-bottom:4px;font-size:13px}
.chart-tooltip>div{display:flex;justify-content:space-between;gap:14px}
.chart-tooltip span{color:var(--muted)}
.chart-tooltip b{font-weight:600;white-space:nowrap}

.methodology .detail-body{display:flow-root}
