/* ==========================================================================
   RHEINMARX design system — tokens + components (single static stylesheet)
   Blueprint v1: calm, dense, evidence-first workstation; zones not cards;
   product accent via [data-product]; state colours never reused as brand.
   ========================================================================== */

:root {
  --ink-950: #090E18; --ink-900: #0D1321; --ink-800: #111827; --ink-700: #161D2E; --ink-650: #1B2335;
  --line: #2A3145; --line-soft: #20283A;
  --paper-50: #F1F3F5; --paper-100: #E6E9ED;
  --text-hi: #EDEFF3; --text-mid: #C5CBD5; --text-lo: #9AA3B5; --text-dim: #727D91;
  --brass-500: #C9A227; --ledger-500: #2F8F63; --indigo-500: #7C6FF0;
  --state-up: #3FB27F; --state-down: #E0596B; --state-warning: #D6A94A; --state-info: #6E9FE8; --state-neutral: #8791A4;

  --accent: var(--brass-500);
  --accent-ink: #1a1404;
  --row-hover: #1E2639; --row-select: #222B40;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-num: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --r-sm: 2px; --r-md: 4px; --r-lg: 6px; --r-xl: 8px;
  --shadow-float: 0 12px 32px rgba(3, 6, 12, .55);
  --dur: 160ms;
  --work-max: 1720px;
}
[data-product="idx"]     { --accent: var(--ledger-500); --accent-ink: #04140c; }
[data-product="digital"] { --accent: var(--indigo-500); --accent-ink: #0d0a2a; }
[data-product="master"], [data-product="research"] { --accent: var(--brass-500); }
[data-product="admin"]   { --accent: var(--brass-500); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink-900); color: var(--text-hi);
  font: 400 14px/1.45 var(--font-ui); font-feature-settings: "tnum" 0;
  min-height: 100vh;
}
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
::selection { background: color-mix(in srgb, var(--accent) 40%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 var(--s3); }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: var(--s4) 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -40px; background: var(--accent); color: var(--accent-ink); padding: var(--s2) var(--s3); z-index: 100; border-radius: var(--r-md); }
.skip-link:focus { top: var(--s2); }

/* ---------- type ---------- */
.num, td.num, .mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.t-12 { font-size: 12px; } .t-13 { font-size: 13px; } .t-16 { font-size: 16px; } .t-18 { font-size: 18px; } .t-20 { font-size: 20px; }
.t-24 { font-size: 24px; } .t-32 { font-size: 32px; line-height: 1.15; }
.lo { color: var(--text-lo); } .mid { color: var(--text-mid); } .dim { color: var(--text-dim); } .hi { color: var(--text-hi); }
.up { color: var(--state-up); } .down { color: var(--state-down); } .warn { color: var(--state-warning); } .info { color: var(--state-info); }
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; font-optical-sizing: auto; }
.prose { max-width: 740px; font-size: 16px; line-height: 1.7; color: var(--text-mid); }
.prose h2 { font-size: 24px; margin: var(--s8) 0 var(--s3); color: var(--text-hi); }
.prose h3 { font-size: 18px; margin: var(--s6) 0 var(--s2); color: var(--text-hi); }
.prose p, .prose li { margin-bottom: var(--s3); }
.prose a { color: var(--text-hi); }
.prose code { font-family: var(--font-num); font-size: 13px; background: var(--ink-650); padding: 1px 4px; border-radius: var(--r-sm); }
.prose blockquote { margin: var(--s4) 0; padding-left: var(--s4); border-left: 2px solid var(--accent); color: var(--text-mid); }
.prose table { border-collapse: collapse; font-size: 14px; }
.prose td, .prose th { border-bottom: 1px solid var(--line-soft); padding: 6px 10px; text-align: left; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-hi); }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .14em; }
.brand .sub { font-family: var(--font-ui); font-size: 11px; letter-spacing: .16em; color: var(--accent); font-weight: 600; margin-left: 2px; }
.mark .m-accent { fill: var(--accent); } .mark .m-base { fill: var(--text-hi); }
svg.mark { width: 22px; height: 22px; flex: none; } .site-footer svg.mark { width: 16px; height: 16px; vertical-align: -2px; } .auth-box > div > svg.mark { width: 36px; height: 36px; }

/* ---------- buttons / controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 var(--s4);
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-650); color: var(--text-hi);
  font: 500 13px/1 var(--font-ui); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background var(--dur), border-color var(--dur); }
.btn:hover { background: #222b40; border-color: #36405a; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); border-color: transparent; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-mid); }
.btn-ghost:hover { background: var(--ink-650); color: var(--text-hi); }
.btn-danger { background: transparent; border-color: color-mix(in srgb, var(--state-down) 55%, var(--line)); color: #f3a2ad; }
.btn-danger:hover { background: color-mix(in srgb, var(--state-down) 14%, transparent); }
.btn-sm { min-height: 28px; padding: 0 var(--s3); font-size: 12px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-18 { width: 18px; height: 18px; }

label { display: block; font-size: 13px; color: var(--text-mid); margin-bottom: 6px; }
.field { margin-bottom: var(--s4); } .field > span { display: block; margin-bottom: 6px; } .stack > .field, .form-row > .field { margin-bottom: 0; }
.field .hint { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.field .error { font-size: 12px; color: #f3a2ad; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=date],
input[type=datetime-local], input[type=url], input[type=tel], input:not([type]), select, textarea {
  width: 100%; min-height: 36px; padding: 7px 10px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--ink-800); color: var(--text-hi); font: 400 14px/1.4 var(--font-ui);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
textarea.code { font-family: var(--font-num); font-size: 13px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--state-down); }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 15px; height: 15px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); margin: 4px 0; }
.inline-form { display: inline; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s4); }

/* ---------- chips (semantic, pill only where genuinely pill) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px;
  border: 1px solid var(--line); font: 600 11px/1 var(--font-ui); letter-spacing: .04em; color: var(--text-mid); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip.no-dot::before { display: none; }
.chip-up { color: var(--state-up); border-color: color-mix(in srgb, var(--state-up) 40%, var(--line)); background: color-mix(in srgb, var(--state-up) 9%, transparent); }
.chip-down { color: #ef8796; border-color: color-mix(in srgb, var(--state-down) 40%, var(--line)); background: color-mix(in srgb, var(--state-down) 9%, transparent); }
.chip-warn { color: var(--state-warning); border-color: color-mix(in srgb, var(--state-warning) 40%, var(--line)); background: color-mix(in srgb, var(--state-warning) 9%, transparent); }
.chip-info { color: var(--state-info); border-color: color-mix(in srgb, var(--state-info) 40%, var(--line)); background: color-mix(in srgb, var(--state-info) 9%, transparent); }
.chip-neutral { color: var(--text-lo); }
.chip-accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.chip-outline { background: transparent; }

/* ---------- terminal shell ---------- */
.app-header { position: sticky; top: 0; z-index: 30; background: var(--ink-950); border-bottom: 1px solid var(--line-soft); }
.app-header .bar { max-width: var(--work-max); margin: 0 auto; display: flex; align-items: center; gap: var(--s6); height: 52px; padding: 0 var(--s6); }
.product-nav { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; flex: 1; }
.product-nav::-webkit-scrollbar { display: none; }
.product-nav a { padding: 8px 10px; border-radius: var(--r-md); text-decoration: none; color: var(--text-lo); font-size: 13px; font-weight: 500; white-space: nowrap; }
.product-nav a:hover { color: var(--text-hi); background: var(--ink-700); }
.product-nav a[aria-current=page] { color: var(--text-hi); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.product-nav .more { position: relative; }
.header-tools { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; min-width: 200px; height: 32px; padding: 0 10px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--ink-800); color: var(--text-dim); font: 13px var(--font-ui); cursor: pointer; }
.search-trigger kbd { margin-left: auto; font: 11px var(--font-num); color: var(--text-dim); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1px 4px; }

.status-bar { border-bottom: 1px solid var(--line-soft); background: var(--ink-900); }
.status-bar .row { max-width: var(--work-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); align-items: center; min-height: 36px; padding: 6px var(--s6); font-size: 12px; color: var(--text-lo); }
.status-bar .item { display: inline-flex; align-items: center; gap: 8px; }
.status-bar .item b { color: var(--text-hi); font-weight: 600; }
.status-bar .sep { width: 1px; height: 14px; background: var(--line-soft); }

.workspace { max-width: var(--work-max); margin: 0 auto; padding: var(--s6) var(--s6) var(--s16); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.page-head h1 { font-size: 24px; font-weight: 600; }
.page-head .sub { color: var(--text-lo); font-size: 13px; margin-top: 4px; }

/* zones: tonal surfaces separated by hairlines, not floating cards */
.zone { background: var(--ink-700); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.zone > .zone-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); }
.zone > .zone-head h2, .zone > .zone-head h3 { font-size: 14px; font-weight: 600; color: var(--text-hi); }
.zone > .zone-head .meta { font-size: 12px; color: var(--text-dim); }
.zone > .zone-body { padding: var(--s4); }
.zone > .zone-body.flush { padding: 0; }
.zone.nested, .nested { background: var(--ink-650); }
.zone-grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-main-side { grid-template-columns: minmax(0, 1fr) 360px; }
.grid-side-main { grid-template-columns: 300px minmax(0, 1fr); }
.span-2 { grid-column: span 2; } .span-all { grid-column: 1 / -1; }
.stack { display: flex; flex-direction: column; gap: var(--s4); }
.row-flex { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-2 { margin-top: var(--s2); } .mt-4 { margin-top: var(--s4); } .mt-6 { margin-top: var(--s6); } .mb-4 { margin-bottom: var(--s4); }

/* split zone: one container, internal hairline columns (status blocks) */
.split { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.split > * { padding: var(--s4); border-left: 1px solid var(--line-soft); min-width: 0; }
.split > *:first-child { border-left: 0; }

/* ---------- metrics ---------- */
.metric .label { font-size: 12px; color: var(--text-lo); margin-bottom: 6px; }
.metric .value { font: 500 24px/1.1 var(--font-num); color: var(--text-hi); letter-spacing: -.02em; }
.metric .value.lg { font-size: 32px; }
.metric .note { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.metric-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.metric-row:last-child { border-bottom: 0; }
.metric-row .k { color: var(--text-lo); }
.metric-row .v { font-family: var(--font-num); color: var(--text-hi); text-align: right; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s4); font-size: 13px; }
.kv dt { color: var(--text-lo); } .kv dd { margin: 0; font-family: var(--font-num); text-align: right; color: var(--text-hi); }

/* regime / status block */
.regime-block .state { font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.regime-block .state.on { color: var(--state-up); } .regime-block .state.off { color: #ef8796; } .regime-block .state.neutral { color: var(--state-warning); } .regime-block .state.unknown { color: var(--text-lo); }
.regime-block .explain { color: var(--text-mid); font-size: 13px; margin-top: var(--s3); max-width: 46ch; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
table.data thead th { position: sticky; top: 0; z-index: 1; background: var(--ink-700); color: var(--text-lo); font-weight: 500; font-size: 12px;
  text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data thead th.num, table.data td.num { text-align: right; }
table.data tbody td { padding: 8px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tbody tr:hover td { background: var(--row-hover); }
table.data tbody tr.is-selected td { background: var(--row-select); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data a.sym { font-weight: 600; text-decoration: none; color: var(--text-hi); }
table.data a.sym:hover { color: var(--accent); }
table.data .sub { display: block; font-size: 12px; color: var(--text-dim); max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
th a.sort { color: inherit; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
th a.sort[aria-sort] { color: var(--text-hi); }
th a.sort .arrow { font-size: 10px; opacity: .8; }
.table-compact td { padding: 5px 10px !important; }

/* score bar & factor strip */
.score { display: inline-flex; align-items: center; gap: 8px; }
.score .bar { width: 64px; height: 4px; background: var(--ink-950); border-radius: 2px; overflow: hidden; }
.score .bar i { display: block; height: 100%; background: var(--text-lo); }
.score.q .bar i { background: var(--state-up); } .score.w .bar i { background: var(--state-warning); }
.factor-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); }
.factor { min-width: 0; }
.factor .name { font-size: 12px; color: var(--text-lo); display: flex; justify-content: space-between; gap: 6px; }
.factor .name .w { color: var(--text-dim); font-family: var(--font-num); }
.factor .val { font: 500 18px var(--font-num); margin: 4px 0 6px; }
.factor .track { height: 4px; background: var(--ink-950); border-radius: 2px; overflow: hidden; }
.factor .track i { display: block; height: 100%; background: var(--accent); }
.mini-factors { display: inline-grid; grid-template-columns: repeat(5, 10px); gap: 2px; align-items: end; height: 18px; vertical-align: middle; }
.mini-factors i { display: block; width: 10px; background: color-mix(in srgb, var(--accent) 75%, transparent); border-radius: 1px; min-height: 2px; }

/* ---------- verdict (signal detail hero) ---------- */
.verdict { padding: var(--s6); }
.verdict .state { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: .02em; font-weight: 500; }
.verdict .state.qualified { color: var(--state-up); } .verdict .state.watch { color: var(--state-warning); } .verdict .state.rejected { color: var(--text-lo); }
.verdict .state.closed { color: var(--text-mid); }
.verdict .score-big { font-family: var(--font-display); font-size: 64px; line-height: 1; margin-top: var(--s4); font-weight: 400; }
.verdict .score-big small { font-family: var(--font-num); font-size: 16px; color: var(--text-dim); margin-left: 6px; }
.verdict .score-label { font-size: 12px; color: var(--text-lo); margin-top: 4px; }
.risk-plan { margin-top: var(--s6); display: grid; grid-template-columns: auto 1fr; gap: 8px var(--s6); font-size: 14px; }
.risk-plan dt { color: var(--text-lo); } .risk-plan dd { margin: 0; text-align: right; font: 500 15px var(--font-num); }
.risk-plan dd.target { color: var(--state-up); } .risk-plan dd.stop { color: #ef8796; }
.blocked-by { margin-top: var(--s4); padding: var(--s3) var(--s4); background: var(--ink-650); border-radius: var(--r-md); font-size: 13px; color: var(--text-mid); }
.blocked-by ul { margin: 6px 0 0; padding-left: 18px; }

.evidence-list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.evidence-list li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.evidence-list li:last-child { border-bottom: 0; }
.evidence-list .mark-ok { color: var(--state-up); } .evidence-list .mark-no { color: var(--text-dim); }
.code-tag { font: 11px var(--font-num); color: var(--text-dim); margin-left: auto; white-space: nowrap; }

/* AI review: deliberately secondary */
.ai-panel { border-style: dashed; background: var(--ink-800); }
.ai-panel .zone-head h3 { color: var(--text-mid); font-weight: 500; }
.ai-panel .narr { color: var(--text-mid); font-size: 13px; line-height: 1.6; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 120px 1fr; gap: var(--s3); padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; align-items: baseline; }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { font: 12px var(--font-num); color: var(--text-dim); }
.timeline .type { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--text-mid); }

/* alerts / inline states */
.notice { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-700); font-size: 13px; color: var(--text-mid); }
.notice b { color: var(--text-hi); }
.notice.warn { border-color: color-mix(in srgb, var(--state-warning) 45%, var(--line)); background: color-mix(in srgb, var(--state-warning) 7%, var(--ink-700)); }
.notice.danger { border-color: color-mix(in srgb, var(--state-down) 45%, var(--line)); background: color-mix(in srgb, var(--state-down) 7%, var(--ink-700)); }
.notice.ok { border-color: color-mix(in srgb, var(--state-up) 40%, var(--line)); }
.notice.info { border-color: color-mix(in srgb, var(--state-info) 40%, var(--line)); }
.empty { padding: var(--s8) var(--s6); text-align: left; color: var(--text-lo); font-size: 14px; }
.empty b { display: block; color: var(--text-hi); font-weight: 600; margin-bottom: 4px; }
.empty .actions { margin-top: var(--s4); display: flex; gap: var(--s2); flex-wrap: wrap; }
.flash { margin-bottom: var(--s4); }

/* tabs & segmented */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-soft); margin-bottom: var(--s4); overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 12px; font-size: 13px; color: var(--text-lo); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; font-family: inherit; }
.tabs a[aria-selected=true], .tabs button[aria-selected=true] { color: var(--text-hi); box-shadow: inset 0 -2px 0 var(--accent); }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.segmented a, .segmented button { padding: 7px 14px; font: 600 12px var(--font-ui); letter-spacing: .05em; color: var(--text-lo); text-decoration: none; border: 0; background: transparent; border-left: 1px solid var(--line); cursor: pointer; }
.segmented > :first-child { border-left: 0; }
.segmented [aria-pressed=true], .segmented [aria-current=true] { background: var(--ink-650); color: var(--text-hi); box-shadow: inset 0 -2px 0 var(--accent); }

/* filters panel */
.filters { position: sticky; top: 100px; align-self: start; }
.filters .group { padding: var(--s3) 0; border-bottom: 1px solid var(--line-soft); }
.filters .group:last-child { border-bottom: 0; }
.filters .group > .gl { font-size: 12px; color: var(--text-lo); margin-bottom: 6px; display: block; }
.filter-count { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 11px var(--font-num); }

/* charts */
.chart { width: 100%; display: block; }
.chart .grid line { stroke: var(--line-soft); stroke-width: 1; }
.chart .axis text { fill: var(--text-dim); font: 11px var(--font-num); }
.chart .s-price { stroke: var(--text-hi); stroke-width: 1.5; fill: none; }
.chart .s-accent { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.chart .s-neutral { stroke: var(--state-neutral); stroke-width: 1.2; fill: none; stroke-dasharray: 3 3; }
.chart .s-ema1 { stroke: #6E9FE8; stroke-width: 1.2; fill: none; }
.chart .s-ema2 { stroke: #C9A227; stroke-width: 1.2; fill: none; }
.chart .s-ema3 { stroke: #8791A4; stroke-width: 1.2; fill: none; }
.chart .c-up { fill: var(--state-up); stroke: var(--state-up); } .chart .c-down { fill: var(--state-down); stroke: var(--state-down); }
.chart .lvl-entry { stroke: var(--text-hi); stroke-dasharray: 4 3; } .chart .lvl-stop { stroke: var(--state-down); stroke-dasharray: 4 3; } .chart .lvl-target { stroke: var(--state-up); stroke-dasharray: 4 3; }
.chart .lvl-label { font: 11px var(--font-num); }
.chart .bar-n { fill: color-mix(in srgb, var(--accent) 70%, transparent); } .chart .bar-q { fill: var(--state-up); }
.chart .area-dd { fill: color-mix(in srgb, var(--state-down) 30%, transparent); }
.chart .zero { stroke: var(--line); }
.chart-frame { position: relative; }
.chart-frame figcaption { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.spark { width: 96px; height: 24px; vertical-align: middle; }
.spark path { fill: none; stroke: var(--text-mid); stroke-width: 1.2; }
.spark.up path { stroke: var(--state-up); } .spark.down path { stroke: var(--state-down); }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 90px; }
.hist span { flex: 1; background: color-mix(in srgb, var(--text-lo) 40%, var(--ink-650)); min-height: 1px; border-radius: 1px 1px 0 0; position: relative; }
.hist span.q { background: var(--state-up); }
.hist span.q:first-of-type, .hist span:not(.q) + span.q { box-shadow: -2px 0 0 var(--text-hi); }
.hist-axis { display: flex; justify-content: space-between; font: 11px var(--font-num); color: var(--text-dim); margin-top: 4px; }
.meter { height: 6px; background: var(--ink-950); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); }
.stackbar { display: flex; height: 10px; border-radius: 2px; overflow: hidden; background: var(--ink-950); }
.stackbar i { display: block; height: 100%; }

/* ---------- master site (editorial) ---------- */
.site-header { border-bottom: 1px solid var(--line-soft); }
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 0 var(--s6); height: 64px; display: flex; align-items: center; gap: var(--s6); }
.site-nav { display: flex; gap: var(--s4); margin-left: auto; font-size: 14px; }
.site-nav a { text-decoration: none; color: var(--text-mid); }
.site-nav a:hover, .site-nav a[aria-current=page] { color: var(--text-hi); }
.site-main { max-width: 1240px; margin: 0 auto; padding: 0 var(--s6); }
.hero { padding: var(--s24) 0 var(--s16); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s12); align-items: end; border-bottom: 1px solid var(--line-soft); }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1.02; letter-spacing: -.02em; }
.hero .lede { font-size: 18px; color: var(--text-mid); max-width: 46ch; margin-top: var(--s6); line-height: 1.6; }
.hero .actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s8); }
.measure { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 6px; height: 180px; }
.measure i { display: block; background: var(--line); border-radius: 1px; }
.measure i.a { background: var(--brass-500); }
.section { padding: var(--s16) 0; border-bottom: 1px solid var(--line-soft); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s8); }
.section-title h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.market-state { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.market-state > div { padding: var(--s6) 0; padding-right: var(--s8); }
.market-state > div + div { border-left: 1px solid var(--line-soft); padding-left: var(--s8); }
.market-state .label { font-size: 13px; color: var(--text-lo); }
.article-list { display: grid; gap: 0; }
.article-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s6); padding: var(--s6) 0; border-top: 1px solid var(--line-soft); text-decoration: none; }
.article-item:hover h3 { color: var(--accent); }
.article-item .when { font: 12px var(--font-num); color: var(--text-dim); padding-top: 4px; }
.article-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.25; }
.article-item p { color: var(--text-lo); margin-top: var(--s2); max-width: 70ch; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.method-grid > div { padding: var(--s6) var(--s6) var(--s6) 0; }
.method-grid > div + div { padding-left: var(--s6); border-left: 1px solid var(--line-soft); }
.method-grid h3 { font-size: 16px; margin-bottom: var(--s2); }
.method-grid p { color: var(--text-lo); font-size: 14px; }
.site-footer { max-width: 1240px; margin: 0 auto; padding: var(--s12) var(--s6); color: var(--text-dim); font-size: 13px; display: flex; flex-wrap: wrap; gap: var(--s6); justify-content: space-between; }
.article-head { padding: var(--s16) 0 var(--s8); max-width: 820px; }
.article-head h1 { font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1.08; }
.article-head .meta { color: var(--text-dim); font-size: 13px; margin-top: var(--s4); }

/* ---------- admin shell ---------- */
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--ink-950); border-right: 1px solid var(--line-soft); padding: var(--s4) var(--s3); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: var(--s2) var(--s2) var(--s6); }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-md); color: var(--text-lo); text-decoration: none; font-size: 13px; }
.admin-side nav a:hover { background: var(--ink-700); color: var(--text-hi); }
.admin-side nav a[aria-current=page] { background: var(--ink-700); color: var(--text-hi); box-shadow: inset 2px 0 0 var(--accent); }
.admin-side nav .grp { height: 1px; background: var(--line-soft); margin: var(--s3) var(--s2); }
.admin-top { display: flex; align-items: center; gap: var(--s4); height: 52px; padding: 0 var(--s6); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: var(--ink-900); z-index: 20; }
.admin-top .crumbs { font-size: 13px; color: var(--text-lo); }
.admin-top .crumbs b { color: var(--text-hi); font-weight: 600; }
.admin-main { padding: var(--s6); max-width: 1600px; }
.attention li { display: flex; gap: var(--s3); align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.attention { list-style: none; margin: 0; padding: 0; }
.subnav { display: flex; gap: 2px; margin-bottom: var(--s4); flex-wrap: wrap; }
.subnav a { padding: 6px 10px; border-radius: var(--r-md); font-size: 13px; color: var(--text-lo); text-decoration: none; }
.subnav a[aria-current=page] { background: var(--ink-700); color: var(--text-hi); }
.shadow-banner { padding: 8px var(--s4); border: 1px dashed var(--state-info); color: var(--state-info); border-radius: var(--r-md); font: 600 12px var(--font-ui); letter-spacing: .04em; }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: var(--s6); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .zone-body { padding: var(--s6); }
.steps { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: 6px; font-size: 13px; color: var(--text-lo); }
.steps li b { color: var(--text-hi); }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font: 14px var(--font-num); padding: var(--s3); background: var(--ink-650); border-radius: var(--r-md); }

/* overlays */
.overlay { position: fixed; inset: 0; background: rgba(5, 8, 15, .66); z-index: 60; display: none; }
.overlay.open { display: block; }
.palette { position: fixed; left: 50%; top: 12vh; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); background: var(--ink-700);
  border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); z-index: 61; display: none; overflow: hidden; }
.palette.open { display: block; }
.palette input { border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; min-height: 50px; padding: 0 var(--s4); font-size: 15px; background: transparent; }
.palette input:focus { box-shadow: none; }
.palette .results { max-height: 52vh; overflow-y: auto; padding: var(--s2) 0; }
.palette .group-label { font-size: 11px; color: var(--text-dim); padding: 8px var(--s4) 4px; letter-spacing: .04em; }
.palette a { display: flex; gap: var(--s3); align-items: baseline; padding: 8px var(--s4); text-decoration: none; font-size: 14px; }
.palette a .t { color: var(--text-hi); } .palette a .d { color: var(--text-dim); font-size: 12px; margin-left: auto; }
.palette a[aria-selected=true] { background: var(--ink-650); box-shadow: inset 2px 0 0 var(--accent); }
.palette .foot { border-top: 1px solid var(--line-soft); padding: 8px var(--s4); font-size: 11px; color: var(--text-dim); display: flex; gap: var(--s4); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--ink-700); border-left: 1px solid var(--line); box-shadow: var(--shadow-float); z-index: 61; transform: translateX(100%); transition: transform 200ms ease; overflow-y: auto; }
.drawer.open { transform: none; }
dialog.modal { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--ink-700); color: var(--text-hi); padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-float); }
dialog.modal::backdrop { background: rgba(5, 8, 15, .7); }
dialog.modal .zone-body { padding: var(--s6); }

/* mobile bottom nav */
.bottom-nav { display: none; }

/* ---------- responsive ---------- */
@media (min-width: 1920px) {
  .wide-3 { grid-template-columns: 280px minmax(0, 1fr) 380px !important; }
  .preview-pane { display: block !important; }
}
.preview-pane { display: none; }
@media (max-width: 1439px) {
  .grid-main-side { grid-template-columns: minmax(0, 1fr) 320px; }
}
/* the full product nav needs the room: the search label collapses to its icon below 1600px */
@media (max-width: 1599px) {
  .search-trigger { min-width: 0; }
  .search-trigger span.lbl { display: none; }
}
@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-main-side, .grid-side-main { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .hero { grid-template-columns: 1fr; padding-top: var(--s16); }
  .hero h1 { font-size: 48px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .admin-shell { grid-template-columns: 64px minmax(0, 1fr); }
  .admin-side { padding: var(--s3) var(--s2); }
  .admin-side .brand .wordmark, .admin-side .brand .sub, .admin-side nav a span { display: none; }
  .admin-side nav a { justify-content: center; }
  .factor-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-auto-flow: row; }
  .split > * { border-left: 0; border-top: 1px solid var(--line-soft); }
  .split > *:first-child { border-top: 0; }
}
@media (max-width: 599px) {
  body { font-size: 14px; padding-bottom: 64px; }
  .app-header .bar { padding: 0 var(--s4); gap: var(--s3); }
  .product-nav { display: none; }
  .status-bar .row { padding: 6px var(--s4); gap: 4px var(--s4); }
  .status-bar .sep { display: none; }
  .workspace { padding: var(--s4) var(--s4) var(--s12); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .page-head h1 { font-size: 20px; }
  .verdict { padding: var(--s4); } .verdict .state { font-size: 32px; } .verdict .score-big { font-size: 48px; }
  .factor-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--ink-950); border-top: 1px solid var(--line-soft); height: 60px; padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--text-lo); text-decoration: none; min-height: 44px; }
  .bottom-nav a[aria-current=page] { color: var(--text-hi); box-shadow: inset 0 2px 0 var(--accent); }
  /* tables transform into structured rows */
  table.data.responsive thead { display: none; }
  table.data.responsive, table.data.responsive tbody, table.data.responsive tr, table.data.responsive td { display: block; width: 100%; }
  table.data.responsive tr { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s3); }
  table.data.responsive td { border: 0; padding: 0 !important; text-align: left !important; }
  table.data.responsive td[data-label]:not(.primary)::before { content: attr(data-label) " "; color: var(--text-dim); font-family: var(--font-ui); font-size: 11px; }
  table.data.responsive td.primary { grid-column: 1 / -1; }
  table.data.responsive td.hide-sm { display: none; }
  .hero h1 { font-size: 40px; } .hero { padding: var(--s12) 0 var(--s8); }
  .market-state { grid-template-columns: 1fr; }
  .market-state > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
  .article-item { grid-template-columns: 1fr; gap: var(--s2); }
  .article-head h1 { font-size: 32px; }
  .site-nav { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: fixed; z-index: 50; left: 0; width: 260px; transform: translateX(-100%); transition: transform 200ms; }
  .admin-side.open { transform: none; }
  .admin-side .brand .wordmark, .admin-side .brand .sub, .admin-side nav a span { display: inline; }
  .admin-side nav a { justify-content: flex-start; }
  .admin-main { padding: var(--s4); }
  .admin-top { padding: 0 var(--s4); gap: var(--s2); }
  .admin-top .crumbs { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .admin-top .row-flex { flex-wrap: nowrap; gap: 2px; }
  .admin-top .search-trigger kbd { display: none; }
  .filters.sheet { position: fixed; inset: 0; z-index: 62; background: var(--ink-900); overflow-y: auto; padding: var(--s4); display: none; }
  .filters.sheet.open { display: block; }
}
.only-sm { display: none !important; }
@media (max-width: 599px) { .only-sm { display: inline-flex !important; } .hide-sm { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .app-header, .status-bar, .bottom-nav, .admin-side, .admin-top { display: none !important; } body { background: #fff; color: #000; } }

/* refresh highlight (state change feedback) */
@keyframes rowflash { from { background: color-mix(in srgb, var(--accent) 16%, transparent); } to { background: transparent; } }
tr.changed td { animation: rowflash 220ms ease-out; }

/* master mobile nav */
.mobile-nav { display: none; }
@media (max-width: 767px) {
  .site-nav { display: none; }
  .site-header .nav-toggle { display: inline-flex !important; }
  .mobile-nav.open { display: grid; padding: var(--s2) var(--s4) var(--s4); gap: 2px; border-top: 1px solid var(--line-soft); }
  .mobile-nav a { padding: 10px 0; text-decoration: none; color: var(--text-mid); border-bottom: 1px solid var(--line-soft); }
}
.mb-2 { margin-bottom: var(--s2); } .mb-6 { margin-bottom: var(--s6); } .mt-8 { margin-top: var(--s8); }
.chart .lvl-entry-t { fill: var(--text-hi); } .chart .lvl-stop-t { fill: #ef8796; } .chart .lvl-target-t { fill: var(--state-up); }
.chart .lvl-label { paint-order: stroke; stroke: var(--ink-700); stroke-width: 3px; }
.admin-side .brand { flex-wrap: wrap; row-gap: 2px; } .admin-side .brand .sub { flex-basis: 100%; margin-left: 32px; font-size: 10px; }

.zone-grid > * { min-width: 0; }
.site-header .nav-toggle { display: none; }
/* between 600 and 1439px the product nav can scroll sideways: fade its trailing edge so the cut is visibly a scroll */
@media (min-width: 600px) and (max-width: 1439px) {
  .product-nav { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 32px; }
}
@media (max-width: 767px) { .hide-md { display: none !important; } }

/* =============================================================
   RHEINMARX Blueprint refinement 3.0.1 — desktop research terminal
   Dark ink / hairlines / restrained brass; no simulated market data.
   ============================================================= */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font: 500 10px/1.45 var(--font-num); letter-spacing: .17em;
  text-transform: uppercase; color: var(--text-lo);
}
.eyebrow-line { width: 26px; height: 2px; background: var(--accent); flex: none; }
.terminal-page-head { border-bottom: 1px solid var(--line-soft); padding-bottom: 20px; margin-bottom: 20px; }
.terminal-page-head h1 { font-size: clamp(25px, 2.2vw, 36px); font-weight: 500; letter-spacing: -.025em; }
.terminal-page-head .sub { color: var(--text-lo); max-width: 85ch; }
.terminal-page-head .btn-primary { min-height: 36px; }
.market-pulse, .ops-pulse {
  display: grid; grid-template-columns: 1.2fr repeat(3,minmax(0,1fr));
  border: 1px solid var(--line); background: var(--ink-700);
  border-top: 2px solid var(--accent); border-radius: var(--r-md); overflow: hidden;
}
.market-pulse > *, .ops-pulse > * { min-width: 0; padding: 17px 21px; border-left: 1px solid var(--line-soft); }
.market-pulse > *:first-child, .ops-pulse > *:first-child { border-left: 0; }
.pulse-lead { background: var(--ink-800); }
.pulse-label { display: block; color: var(--text-lo); font: 500 11px/1.5 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.pulse-value { font-size: 28px; line-height: 1.25; font-weight: 500; margin: 7px 0 4px; color: var(--text-hi); }
.pulse-lead .pulse-value { font-size: 38px; margin: 3px 0 1px; }
.pulse-lead > a { display: inline-flex; font-size: 12px; color: var(--text-mid); text-decoration: none; padding-top: 2px; }
.pulse-lead > a:hover { color: var(--accent); }
.pulse-note { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.pulse-status, .ops-val { display: block; margin: 10px 0; min-height: 28px; font-size: 19px; font-weight: 500; line-height: 1.2; }
.ops-val.num { font-size: 18px; }
.ops-pulse .pulse-note { margin-top: 5px; }
/* Original screenshot language: pronounced terminal hierarchy, not glowing SaaS cards */
.zone { background: var(--ink-700); border-color: var(--line); }
.zone > .zone-head { background: color-mix(in srgb, var(--ink-800) 50%, var(--ink-700)); min-height: 42px; }
.zone > .zone-head h2, .zone > .zone-head h3 { letter-spacing: .025em; }
.zone > .zone-body.flush table.data thead th { background: var(--ink-800); }
.zone:has(.regime-block) .zone-head { border-top: 1px solid color-mix(in srgb, var(--accent) 52%, var(--line)); }
.verdict { background: var(--ink-700); border-top: 2px solid var(--accent); }
.verdict .score-big { letter-spacing: -.045em; }
.verdict .risk-plan dt { font-size: 12px; }
.verdict .risk-plan dd { font-variant-numeric: tabular-nums; }
.factor .track { height: 6px; border-radius: 1px; }
.factor .track i { border-radius: 1px; }
.ai-panel { border-color: var(--line-soft); border-style: solid; }
.ai-panel > .zone-head { box-shadow: inset 2px 0 0 var(--state-info); }
/* Header rail: readable, fixed density; no generic shadow */
.app-header { border-bottom-color: var(--line); }
.app-header .bar { height: 58px; }
.product-nav a[aria-current=page] { box-shadow: inset 0 -2px 0 var(--accent); }
.status-bar { background: var(--ink-800); }
.status-bar .row { min-height: 39px; }
.admin-side nav a[aria-current=page] { background: var(--ink-700); box-shadow: inset 2px 0 0 var(--accent); }
/* Master hero: static vector depiction of worldwide markets, never presented as live prices */
.hero-rmx { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; padding: 76px 0 64px; }
.hero-rmx h1 { max-width: 11ch; font-weight: 400; }
.hero-rmx .lede { max-width: 53ch; }
.hero-visual { position: relative; min-height: 365px; display: grid; place-items: center; overflow: hidden; border-left: 1px solid var(--line-soft); }
.research-globe { width: min(100%, 480px); height: auto; opacity: .95; }
.hero-visual-note { position: absolute; bottom: 9px; display: flex; gap: 22px; width: 100%; padding-left: 30px; color: var(--text-dim); font: 10px var(--font-num); letter-spacing: .13em; }
.hero-visual-note span:first-child { color: var(--brass-500); }
/* Readability in dense workstations */
.evidence-list li { align-items: baseline; }
table.data tbody td { line-height: 1.42; }
@media (min-width: 1440px) {
  .terminal-page-head { align-items: center; }
  .market-pulse { grid-template-columns: minmax(230px,1.3fr) repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  .market-pulse, .ops-pulse { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-pulse > :nth-child(3), .ops-pulse > :nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .market-pulse > :nth-child(4), .ops-pulse > :nth-child(4) { border-top: 1px solid var(--line-soft); }
  .hero-rmx { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-visual { border-left: 0; border-top: 1px solid var(--line-soft); margin-top: 20px; }
}
@media (max-width: 599px) {
  .terminal-page-head h1 { font-size: 26px; }
  .eyebrow { letter-spacing: .1em; font-size: 9px; }
  .market-pulse, .ops-pulse { grid-template-columns: 1fr 1fr; }
  .market-pulse > *, .ops-pulse > * { padding: 13px 12px; }
  .pulse-value { font-size: 23px; }
  .pulse-lead .pulse-value { font-size: 31px; }
  .ops-val.num { font-size: 13px; word-wrap: break-word; }
  .pulse-label { font-size: 10px; }
  .pulse-note { font-size: 11px; }
  .hero-rmx h1 { max-width: initial; font-size: 43px; }
  .hero-visual { min-height: 250px; }
  .hero-visual-note { padding-left: 10px; gap: 13px; font-size: 9px; }
}
