/* gateway-v2/assets/databank.css — Stockertim Databank (28 Nov 2026). Design-system tokens (st-tokens.css): gold --st-accent
   (#ffcf5e on dark, #7a5600 on light via :root[data-theme="light"] only), golden-black .st-btn with white text, serif headings, Inter UI.
   Charts: thin marks, hairline grids, direct labels, a table under every chart. Mobile first: 16 px inputs, 44 px targets, no horizontal
   scroll at 390 px. Ad boxes reserve their height. No emojis. */
.dbx-body { background: var(--st-page, #070a12); color: var(--st-ink, #f3f5fb); overflow-x: clip; }
.dbx-body [hidden] { display: none !important; }
.dbx, .dbx *, .dbx *::before, .dbx *::after { box-sizing: border-box; }
.dbx { display: block; max-width: var(--st-container, 1280px); margin: 0 auto; padding: 12px var(--st-gutter, 16px) 48px; font: 400 16px/1.55 var(--st-ui, Inter, system-ui, sans-serif); color: var(--st-ink, #f3f5fb);
  --dbx-s1: var(--st-accent, #ffcf5e); --dbx-s2: #6ec3f4; --dbx-s3: #c4a7ff; --dbx-s4: #3ddc97; --dbx-grid: rgba(255,255,255,.07); --dbx-tick: rgba(243,245,251,.62); }
:root[data-theme="light"] .dbx { --dbx-s1: #7a5600; --dbx-s2: #0b6aa6; --dbx-s3: #5b3fc4; --dbx-s4: #137333; --dbx-grid: rgba(13,20,48,.08); --dbx-tick: rgba(16,19,28,.6); }
.dbx:focus { outline: none; }
.dbx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dbx a { color: var(--st-accent, #ffcf5e); text-underline-offset: 3px; }
.dbx a:focus-visible, .dbx button:focus-visible, .dbx input:focus-visible, .dbx select:focus-visible, .dbx summary:focus-visible { outline: 2px solid var(--st-accent, #ffcf5e); outline-offset: 2px; }
.dbx h1, .dbx h2, .dbx h3 { font-family: var(--st-serif, Georgia, serif); color: var(--st-ink, #f3f5fb); margin: 0; text-wrap: balance; }
.dbx h1 { font-size: var(--st-t-display, clamp(30px, 5vw, 46px)); line-height: 1.12; letter-spacing: -.02em; overflow-wrap: anywhere; }
.dbx h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin-bottom: 12px; }
.dbx h2 a { color: inherit; text-decoration: none; } .dbx h2 a:hover { color: var(--st-accent, #ffcf5e); }
.dbx h3, .dbx .dbx-h3 { font-size: 18px; line-height: 1.3; margin: 18px 0 8px; } .dbx .dbx-h3 a { color: inherit; text-decoration: none; }
.dbx .st-kicker a { color: inherit; text-decoration: none; }
.dbx-crumbs { margin: 4px 0 12px; }
.dbx-dek { font-size: 17px; color: var(--st-ink-2, rgba(243,245,251,.82)); margin: 10px 0 14px; max-width: 78ch; }
.dbx-dek--sm { font-size: 15px; margin: 0 0 10px; }
.dbx-src, .dbx-empty, .dbx-advice, .dbx-chart-cap { font-size: 14px; color: var(--st-ink-3, rgba(243,245,251,.62)); }
.dbx-src b { color: var(--st-ink, #f3f5fb); }
.dbx-advice { margin-top: 14px; line-height: 1.5; }
.dbx-hero { padding: 8px 0 20px; max-width: 980px; }
.dbx-hero--list { padding-bottom: 8px; }
.dbx-band, .dbx-sec { margin: 26px 0; }
.dbx-prose { max-width: 75ch; margin: 30px 0; }
.dbx-two { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .dbx-two { grid-template-columns: 1fr 1fr; } }
.dbx-flag { font-size: .8em; margin-right: 4px; }
sup { font-size: .68em; color: var(--st-ink-3, rgba(243,245,251,.62)); }

/* search */
.dbx-search { position: relative; display: flex; gap: 8px; max-width: 680px; }
.dbx-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; font-size: 16px; color: inherit; background: var(--st-surface, rgba(255,255,255,.05)); border: 1px solid var(--st-line-2, rgba(255,255,255,.16)); border-radius: 12px; }
.dbx-search .st-btn { min-height: 48px; }
.dbx-results { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; background: var(--st-raised, #0e1320); border: 1px solid var(--st-line-2, rgba(255,255,255,.16)); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden; }
.dbx-results ul { list-style: none; margin: 0; padding: 4px; }
.dbx-results a { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--st-ink, #f3f5fb); min-height: 44px; }
.dbx-results a span { font-size: 12.5px; color: var(--st-ink-3, rgba(243,245,251,.62)); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.dbx-results li[aria-selected="true"] a, .dbx-results a:hover { background: var(--st-accent-soft, rgba(255,207,94,.12)); }
.dbx-r-empty { margin: 0; padding: 12px 14px; font-size: 14px; color: var(--st-ink-3, rgba(243,245,251,.62)); }

/* the strip of what the Databank holds */
.dbx-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--st-line, rgba(255,255,255,.1)); }
.dbx-strip li { display: flex; flex-direction: column; } .dbx-strip b { font: 500 22px/1.1 var(--st-serif, Georgia, serif); font-variant-numeric: tabular-nums; } .dbx-strip span { font-size: 12.5px; color: var(--st-ink-3, rgba(243,245,251,.62)); text-transform: uppercase; letter-spacing: .06em; }

/* tiles, chips, lists, facts */
.dbx-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dbx-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; min-height: 118px; border: 1px solid var(--st-line, rgba(255,255,255,.12)); border-radius: 14px; background: var(--st-surface, rgba(255,255,255,.03)); text-decoration: none; color: inherit; }
.dbx-tile:hover { border-color: var(--st-accent-line, rgba(255,207,94,.45)); }
.dbx-tile b { font: 500 19px/1.2 var(--st-serif, Georgia, serif); } .dbx-tile span { font-size: 14px; color: var(--st-ink-2, rgba(243,245,251,.82)); } .dbx-tile small { font-size: 12.5px; color: var(--st-ink-3, rgba(243,245,251,.62)); margin-top: auto; padding-top: 6px; }
.dbx-tile em { font-style: normal; color: var(--st-accent, #ffcf5e); font-variant-numeric: tabular-nums; }
.dbx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dbx-chips .st-chip { min-height: 40px; } .dbx-chips small { color: var(--st-ink-3, rgba(243,245,251,.62)); font-variant-numeric: tabular-nums; }
.dbx-list { list-style: none; margin: 0; padding: 0; counter-reset: dbx; }
.dbx-list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--st-line, rgba(255,255,255,.08)); counter-increment: dbx; }
.dbx-list li::before { content: counter(dbx); width: 22px; flex: 0 0 auto; font-size: 12.5px; color: var(--st-ink-3, rgba(243,245,251,.62)); font-variant-numeric: tabular-nums; }
.dbx-list a { text-decoration: none; color: var(--st-ink, #f3f5fb); } .dbx-list a:hover b { color: var(--st-accent, #ffcf5e); }
.dbx-list span { font-size: 13px; color: var(--st-ink-3, rgba(243,245,251,.62)); } .dbx-list em { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; } .dbx-list em small { color: var(--st-ink-3, rgba(243,245,251,.62)); }
.dbx-list--tight li { padding: 6px 0; font-size: 14.5px; }
.dbx-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.dbx-facts li { display: flex; flex-direction: column; } .dbx-facts span { font-size: 12px; color: var(--st-ink-3, rgba(243,245,251,.62)); text-transform: uppercase; letter-spacing: .06em; } .dbx-facts b { font-weight: 500; font-variant-numeric: tabular-nums; } .dbx-facts small { color: var(--st-ink-3, rgba(243,245,251,.62)); font-weight: 400; }
.dbx-onward { font-weight: 600; text-decoration: none; } .dbx-onward::after { content: " \2192"; }

/* cards (headline figures) */
.dbx-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dbx-cards--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dbx-card { padding: 14px 16px 10px; border: 1px solid var(--st-line, rgba(255,255,255,.12)); border-radius: 14px; background: var(--st-surface, rgba(255,255,255,.03)); min-width: 0; }
.dbx-card-h { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--st-ink-3, rgba(243,245,251,.62)); text-decoration: none; }
.dbx-card-h:hover { color: var(--st-accent, #ffcf5e); }
.dbx-big { margin: 6px 0 2px; font: 500 clamp(24px, 3vw, 30px)/1.1 var(--st-serif, Georgia, serif); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dbx-big small { font: 400 13px/1 var(--st-ui, Inter, sans-serif); color: var(--st-ink-3, rgba(243,245,251,.62)); }
.dbx-big--lead { font-size: clamp(30px, 4.5vw, 44px); margin: 8px 0 4px; }
.dbx-chg { display: inline-block; font-size: 13px; font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 999px; background: var(--st-surface-2, rgba(255,255,255,.06)); }
.dbx-chg small { color: var(--st-ink-3, rgba(243,245,251,.62)); }
.dbx-chg--up { color: var(--st-up, #2fd17e); } .dbx-chg--down { color: var(--st-down, #ff5c77); } .dbx-chg--flat { color: var(--st-ink-2, rgba(243,245,251,.82)); }

/* charts */
.dbx-chart { margin: 10px 0 0; padding: 0; min-width: 0; }
.dbx-chart-body { position: relative; height: 300px; }
.dbx-chart--bar .dbx-chart-body { height: calc(var(--n, 10) * 28px + 24px); min-height: 140px; }
.dbx-chart--mini .dbx-chart-body { height: 64px; } .dbx-chart--mini .dbx-chart-cap { display: none; }
.dbx-chart--map .dbx-chart-body { height: clamp(260px, 48vw, 520px); }
.dbx-chart-cap { margin: 6px 0 0; }
.dbx-chart canvas { display: block; width: 100% !important; height: 100% !important; }
.dbx-chart-body .jvm-container { background: transparent; } .dbx-chart-body .jvm-region { cursor: pointer; stroke: var(--st-page, #070a12); stroke-width: .5; transition: fill-opacity .15s; }
.dbx-chart-body .jvm-region:hover { fill-opacity: .8; }
.jvm-tooltip { background: var(--st-raised, #0e1320) !important; color: var(--st-ink, #f3f5fb) !important; border: 1px solid var(--st-line-2, rgba(255,255,255,.16)) !important; border-radius: 10px !important; font: 500 13px/1.35 var(--st-ui, Inter, sans-serif) !important; padding: 8px 10px !important; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.dbx-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 6px; font-size: 13px; list-style: none; padding: 0; }
.dbx-legend li { display: flex; gap: 6px; align-items: center; } .dbx-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.dbx-legend i.est { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px); }
.dbx-map-scale { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 12.5px; color: var(--st-ink-3, rgba(243,245,251,.62)); font-variant-numeric: tabular-nums; }
.dbx-map-scale i { flex: 0 1 220px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--lo), var(--hi)); }
.dbx-chart-fb { font-size: 14px; color: var(--st-ink-3, rgba(243,245,251,.62)); padding: 12px 0; }

/* tables */
.dbx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dbx-table { width: 100%; font-size: 14.5px; } .dbx-table th.r, .dbx-table td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dbx-table small { color: var(--st-ink-3, rgba(243,245,251,.62)); } .dbx-table a.is-here { font-weight: 700; }
.dbx-table--rank td:first-child { color: var(--st-ink-3, rgba(243,245,251,.62)); width: 2.5em; font-variant-numeric: tabular-nums; }
.dbx-details { margin: 10px 0 0; border: 1px solid var(--st-line, rgba(255,255,255,.1)); border-radius: 12px; padding: 0 14px; }
.dbx-details summary { cursor: pointer; padding: 11px 0; font-weight: 600; min-height: 44px; display: flex; align-items: center; } .dbx-details > p, .dbx-details > .dbx-scroll { padding-bottom: 12px; margin: 0; }
.dbx-minilists h3 { margin-top: 6px; }

/* compare form */
.dbx-compare { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 14px 0 0; }
.dbx-compare label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--st-ink-3, rgba(243,245,251,.62)); min-width: 0; }
.dbx-compare select { min-height: 44px; max-width: 260px; padding: 0 12px; font-size: 16px; color: inherit; background: var(--st-surface, rgba(255,255,255,.05)); border: 1px solid var(--st-line-2, rgba(255,255,255,.16)); border-radius: 10px; }
.dbx-compare select option { color: #111; }

/* ads */
.dbx-ad { margin: 24px 0; min-height: 90px; } .dbx-ad--native { border: 1px solid var(--st-line, rgba(255,255,255,.1)); border-radius: 12px; padding: 10px 12px; }
.dbx-ad-l { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--st-ink-3, rgba(243,245,251,.62)); margin-bottom: 6px; }
@media (max-width: 640px) { .dbx-big { font-size: 24px; } .dbx-chart-body { height: 240px; } .dbx-tiles { grid-template-columns: 1fr 1fr; } .dbx-tile { min-height: 0; padding: 12px; } .dbx-tile b { font-size: 16px; } .dbx-tile span { font-size: 13px; } .dbx-tiles--brands small { display: none; } }
@media (max-width: 420px) { .dbx-tiles { grid-template-columns: 1fr; } }
@media print { .dbx-ad, .dbx-search, .dbx-compare { display: none !important; } }
