/* Ralson Digital Gallery - wall display styles.
   Designed for a 1920x1080 (or larger) landscape screen showing four portrait
   panels side by side, viewed from several metres away: heavy weights, high
   contrast, no thin greys. Degrades to a scrolling column on a laptop. */

:root {
  --bg: #05070d;
  --bg-2: #0a0f1a;
  --panel-bg: #0d1420;
  --panel-edge: rgba(255, 255, 255, 0.09);
  --ink: #f2f6fc;
  --ink-dim: #93a4bd;
  --ink-faint: #5c6d87;

  --ralson-red: #e11b22;
  --ralson-red-deep: #9c0f14;

  --safety: #16a34a;
  --safety-deep: #064e26;
  --production: #2563eb;
  --production-deep: #0b2a6b;
  --quality: #8b5cf6;
  --quality-deep: #3b1d78;
  --sales: #ea7317;
  --sales-deep: #7a3708;

  --good: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --accent: #38bdf8;

  --gap: clamp(8px, 0.65vw, 16px);
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(1200px 700px at 50% -10%, #12203a 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- masthead ------------------------------------------------------- */
.masthead {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: clamp(6px, 0.7vh, 14px) clamp(12px, 1.2vw, 28px);
  background:
    linear-gradient(100deg, #1a1f2b 0%, #10151f 42%, #1c0508 78%, #3d070c 100%);
  border-bottom: 3px solid var(--ralson-red);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.6);
}

.brand { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 26px); }

.brand-mark { display: flex; flex-direction: column; line-height: 0.92; }

.brand-name {
  font-size: clamp(26px, 3.1vw, 58px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ralson-red);
  text-shadow: 0 2px 10px rgba(225, 27, 34, 0.4);
}

.brand-sub { display: flex; align-items: center; gap: 8px; margin-top: 3px; }

.brand-tyres {
  font-size: clamp(11px, 1.05vw, 20px);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.brand-tag {
  font-size: clamp(7px, 0.62vw, 12px);
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--ink-dim);
  border: 1px solid var(--ink-faint);
  border-radius: 3px;
  padding: 2px 6px;
}

.brand-divider {
  width: 2px;
  align-self: stretch;
  margin: 4px 0;
  background: linear-gradient(180deg, transparent, var(--ink-faint), transparent);
}

.board-title {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 46px);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.masthead-right { text-align: right; }

.clock {
  font-size: clamp(18px, 1.9vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clock-date {
  font-size: clamp(9px, 0.72vw, 14px);
  color: var(--ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- ticker --------------------------------------------------------- */
.ticker {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 30px);
  padding: clamp(3px, 0.5vh, 8px);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--panel-edge);
  font-size: clamp(9px, 0.82vw, 16px);
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.ticker b { color: var(--ralson-red); }

.ticker-period {
  margin-left: auto;
  margin-right: clamp(8px, 1vw, 24px);
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* ---------- wall ----------------------------------------------------------- */
.wall {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding: var(--gap);
}

.boot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-dim);
}

.boot-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--ralson-red);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.boot-error { color: var(--bad); font-weight: 700; font-size: 20px; }
.boot-error-detail { color: var(--ink-faint); font-size: 13px; }

/* ---------- panel ---------------------------------------------------------- */
.panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-bg) 0%, #080c14 100%);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}

.panel-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: clamp(6px, 0.9vh, 14px) clamp(8px, 0.7vw, 16px);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
}

.panel-icon { font-size: clamp(14px, 1.25vw, 24px); filter: saturate(1.2); }

.panel-title {
  margin: 0;
  font-size: clamp(13px, 1.25vw, 25px);
  font-weight: 800;
  letter-spacing: 0.09em;
}

.panel-sub {
  margin-left: auto;
  font-size: clamp(7px, 0.62vw, 12px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.78;
  white-space: nowrap;
}

.panel-safety     .panel-head { background: linear-gradient(135deg, var(--safety) 0%, var(--safety-deep) 100%); }
.panel-production .panel-head { background: linear-gradient(135deg, var(--production) 0%, var(--production-deep) 100%); }
.panel-quality    .panel-head { background: linear-gradient(135deg, var(--quality) 0%, var(--quality-deep) 100%); }
.panel-sales      .panel-head { background: linear-gradient(135deg, var(--sales) 0%, var(--sales-deep) 100%); }

.panel-safety     { --tint: var(--safety); }
.panel-production { --tint: var(--production); }
.panel-quality    { --tint: var(--quality); }
.panel-sales      { --tint: var(--sales); }

.panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: clamp(5px, 0.6vh, 11px) clamp(6px, 0.55vw, 12px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.5vh, 9px);
  /* --fit is set by fitPanels() when content would overflow the panel. */
  transform: scale(var(--fit, 1));
  transform-origin: top center;
  width: calc(100% / var(--fit, 1));
  margin-left: calc((100% - 100% / var(--fit, 1)) / 2);
}

/* ---------- stat rows ------------------------------------------------------ */
.stat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: clamp(4px, 0.55vh, 10px) clamp(7px, 0.6vw, 13px);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  border-left: 4px solid var(--tint);
}

.stat-label {
  font-size: clamp(8px, 0.66vw, 13px);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.stat-value {
  font-size: clamp(16px, 1.55vw, 32px);
  font-weight: 800;
  line-height: 1;
}

.stat-row.tone-good  { border-left-color: var(--good); }
.stat-row.tone-good  .stat-value { color: #86efac; }
.stat-row.tone-warn  { border-left-color: var(--warn); }
.stat-row.tone-warn  .stat-value { color: #fcd34d; }
.stat-row.tone-bad   { border-left-color: var(--bad); }
.stat-row.tone-bad   .stat-value { color: #fca5a5; }
.stat-row.tone-plan  { border-left-color: var(--ink-faint); }
.stat-row.tone-plan  .stat-value { color: var(--ink); }
.stat-row.tone-accent{ border-left-color: var(--accent); }
.stat-row.tone-accent .stat-value { color: #7dd3fc; }

/* ---------- chips ---------------------------------------------------------- */
.chipgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(3px, 0.35vh, 7px);
}

.chip {
  padding: clamp(3px, 0.4vh, 7px) clamp(5px, 0.45vw, 9px);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-edge);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chip-label {
  font-size: clamp(7px, 0.56vw, 11px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.chip-value {
  font-size: clamp(11px, 0.98vw, 19px);
  font-weight: 800;
}

/* ---------- blocks --------------------------------------------------------- */
.block {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  padding: clamp(4px, 0.5vh, 9px) clamp(5px, 0.5vw, 10px);
}

.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: clamp(3px, 0.35vh, 7px);
}

.block-title {
  font-size: clamp(7.5px, 0.62vw, 12px);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
}

.block-note {
  font-size: clamp(6.5px, 0.53vw, 10px);
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.block-foot {
  margin-top: 4px;
  font-size: clamp(6.5px, 0.53vw, 10px);
  line-height: 1.35;
  color: var(--ink-faint);
}

.block-divider {
  height: 1px;
  margin: 5px 0;
  background: var(--panel-edge);
}

/* ---------- charts --------------------------------------------------------- */
.chart { display: block; width: 100%; height: auto; }
.chart-gauge, .chart-donut { width: auto; height: clamp(56px, 6vh, 92px); flex: 0 0 auto; }
.chart-donut { height: clamp(70px, 8vh, 116px); }

.grid { stroke: rgba(255, 255, 255, 0.09); stroke-width: 1; }

.axis {
  fill: var(--ink-faint);
  font-size: 8px;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.col-bar { fill: var(--tint); }
.col-bar.series-0 { fill: var(--good); }
.col-bar.series-1 { fill: var(--bad); }
.col:hover .col-bar { filter: brightness(1.3); }

.line-stroke { fill: none; stroke: var(--tint); stroke-width: 2; stroke-linejoin: round; }
.line-area { fill: var(--tint); opacity: 0.16; }
.line-dot { fill: var(--tint); }

.gauge-track { stroke: rgba(255, 255, 255, 0.11); stroke-width: 11; stroke-linecap: round; }
.gauge-value { stroke: var(--tint); stroke-width: 11; stroke-linecap: round; }
.gauge-value.good { stroke: var(--good); }
.gauge-value.warn { stroke: var(--warn); }
.gauge-target { stroke: #fff; stroke-width: 2.5; }
.gauge-text { fill: var(--ink); font-size: 21px; font-weight: 800; font-family: inherit; }
.gauge-caption { fill: var(--ink-faint); font-size: 8px; font-family: inherit; }

.donut-track { stroke: rgba(255, 255, 255, 0.06); }
.donut-slice { transition: opacity 0.2s; }
.slice-0 { stroke: var(--accent); background: var(--accent); }
.slice-1 { stroke: var(--good);   background: var(--good); }
.slice-2 { stroke: var(--warn);   background: var(--warn); }
.slice-3 { stroke: var(--quality);background: var(--quality); }
.slice-4 { stroke: var(--bad);    background: var(--bad); }
.donut-center { fill: var(--ink); font-size: 22px; font-weight: 800; font-family: inherit; }
.donut-caption { fill: var(--ink-faint); font-size: 9px; font-family: inherit; }

.gauge-wrap { display: flex; align-items: center; gap: clamp(5px, 0.6vw, 12px); }

.gauge-side {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2px, 0.3vh, 5px);
  min-width: 0;
}

.ministat { display: flex; flex-direction: column; min-width: 0; }
.ministat-value { font-size: clamp(10px, 0.88vw, 17px); font-weight: 800; }
.ministat-label {
  font-size: clamp(6px, 0.5vw, 9.5px);
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donut-row { display: flex; align-items: center; gap: clamp(6px, 0.7vw, 14px); }
.donut-legend { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.legend-row {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 6px;
  font-size: clamp(7px, 0.58vw, 11.5px);
}

.legend-dot { width: 9px; height: 9px; border-radius: 2px; }
.legend-label { color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-value { font-weight: 800; }

.legend-inline { display: flex; gap: 12px; margin-top: 3px; }
.legend-chip {
  display: flex; align-items: center; gap: 4px;
  font-size: clamp(6.5px, 0.53vw, 10px);
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.legend-swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.legend-swatch.series-0 { background: var(--good); }
.legend-swatch.series-1 { background: var(--bad); }

/* ---------- rank bars ------------------------------------------------------ */
.rankbars { display: flex; flex-direction: column; gap: clamp(2px, 0.28vh, 5px); }

.rankbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(3px, 0.35vw, 7px);
  font-size: clamp(7px, 0.58vw, 11.5px);
}

.rankbar:not(:has(.rankbar-n)) { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto; }

.rankbar-n {
  width: 13px;
  text-align: center;
  font-weight: 800;
  color: var(--ink-faint);
  font-size: 0.88em;
}

.rankbar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-dim);
}

.rankbar-track {
  height: clamp(6px, 0.75vh, 12px);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.rankbar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 55%, #fff));
}

.rankbar-fill[data-tone="bad"]  { background: linear-gradient(90deg, var(--bad), #fca5a5); }
.rankbar-fill[data-tone="warn"] { background: linear-gradient(90deg, var(--warn), #fde68a); }
.rankbar-fill[data-tone="alt"]  { background: linear-gradient(90deg, var(--accent), #bae6fd); }

.rankbar-value { font-weight: 800; text-align: right; white-space: nowrap; }

/* ---------- split bars ----------------------------------------------------- */
.splitbars { display: flex; flex-direction: column; gap: clamp(2px, 0.28vh, 5px); }

.splitbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  align-items: center;
  gap: clamp(3px, 0.35vw, 7px);
  font-size: clamp(7px, 0.58vw, 11.5px);
}

.splitbar-label {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink-dim);
}

.splitbar-track {
  display: flex;
  height: clamp(6px, 0.75vh, 12px);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.splitbar-safe { background: var(--good); }
.splitbar-unsafe { background: var(--bad); }
.splitbar-value { font-weight: 800; color: #fca5a5; text-align: right; }

/* ---------- funnel --------------------------------------------------------- */
.funnel { display: flex; flex-direction: column; gap: clamp(3px, 0.35vh, 6px); }

.funnel-row {
  display: grid;
  grid-template-columns: minmax(0, 62px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  font-size: clamp(7px, 0.58vw, 11.5px);
}

.funnel-label { color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.06em; }

.funnel-bar {
  height: clamp(9px, 1.1vh, 17px);
  border-radius: 3px;
  min-width: 3px;
}

.funnel-bar[data-step="0"] { background: linear-gradient(90deg, #6366f1, #a5b4fc); }
.funnel-bar[data-step="1"] { background: linear-gradient(90deg, var(--good), #86efac); }
.funnel-bar[data-step="2"] { background: linear-gradient(90deg, var(--sales), #fdba74); }

.funnel-value { font-weight: 800; text-align: right; }

/* ---------- facts ---------------------------------------------------------- */
.factlist { display: flex; flex-direction: column; gap: clamp(2px, 0.28vh, 4px); }

.factline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(7px, 0.58vw, 11.5px);
  padding-bottom: 2px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
}

.fact-label { color: var(--ink-faint); }
.fact-value { font-weight: 700; white-space: nowrap; }

/* ---------- creed ---------------------------------------------------------- */
.creed {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.7vw, 14px);
  padding: clamp(5px, 0.6vh, 11px) clamp(7px, 0.6vw, 13px);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.22), rgba(6, 78, 38, 0.35));
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.creed-icon { font-size: clamp(16px, 1.6vw, 30px); }
.creed-text { display: flex; flex-direction: column; line-height: 1.22; }
.creed-text strong { font-size: clamp(10px, 0.92vw, 18px); letter-spacing: 0.05em; }
.creed-text span { font-size: clamp(7.5px, 0.66vw, 13px); color: var(--ink-dim); letter-spacing: 0.05em; }

/* ---------- offline -------------------------------------------------------- */
.offline {
  margin: auto;
  text-align: center;
  padding: 20px;
  border: 1px dashed rgba(239, 68, 68, 0.45);
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.07);
}

.offline-title { margin: 0 0 6px; font-weight: 800; color: #fca5a5; font-size: 14px; }
.offline-body { margin: 0; font-size: 11px; color: var(--ink-faint); line-height: 1.5; }

/* ---------- status bar ----------------------------------------------------- */
.statusbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: clamp(3px, 0.45vh, 8px) clamp(10px, 1vw, 22px);
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid var(--panel-edge);
  font-size: clamp(7.5px, 0.6vw, 12px);
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

.status-right { display: flex; align-items: center; gap: 8px; }

.pill {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--panel-edge);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.pill-good { color: #86efac; border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.12); }
.pill-warn { color: #fcd34d; border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.12); }

.linkbtn {
  background: none;
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  color: var(--accent);
  font: inherit;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  cursor: pointer;
}

.linkbtn:hover { background: rgba(56, 189, 248, 0.12); }

/* ---------- drawer --------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(3px);
  z-index: 40;
  overflow: auto;
  padding: clamp(16px, 3vh, 48px);
}

.drawer-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--panel-bg);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  padding: clamp(18px, 2.4vw, 38px);
}

.drawer-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.drawer-title { margin: 0 0 8px; font-size: 22px; }
.drawer-lede { margin: 0 0 20px; color: var(--ink-dim); font-size: 13px; line-height: 1.6; max-width: 72ch; }
.drawer-h3 { margin: 22px 0 8px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

.drawer-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.drawer-table th, .drawer-table td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--panel-edge);
}
.drawer-table th { color: var(--ink-faint); text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; }
.drawer-table td.ok { color: #86efac; font-weight: 800; }
.drawer-table td.fail { color: #fca5a5; font-weight: 800; }

.drawer-list { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.65; color: var(--ink-dim); }
.drawer-list li { margin-bottom: 6px; }
.drawer-list li.warn { color: #fcd34d; }

/* ---------- narrow screens ------------------------------------------------- */
@media (max-width: 1100px) {
  body { overflow: auto; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .panel { min-height: 720px; }
  .panel-body { transform: none; width: 100%; margin-left: 0; overflow: visible; }
}

@media (max-width: 640px) {
  .wall { grid-template-columns: 1fr; }
  .brand-divider, .brand-tag { display: none; }
}

@media print {
  body { overflow: visible; background: #fff; }
}

/* ---------- test-data banner ------------------------------------------------
   Shown only while config/overrides.json is enabled. Deliberately loud: nobody
   should mistake overridden figures for the real thing on a wall board. */
.test-banner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1vw, 22px);
  padding: clamp(4px, 0.55vh, 9px) clamp(10px, 1vw, 22px);
  background: repeating-linear-gradient(
    45deg, rgba(245, 158, 11, 0.20) 0 14px, rgba(245, 158, 11, 0.30) 14px 28px);
  border-top: 2px solid var(--warn);
  border-bottom: 2px solid var(--warn);
  color: #fde68a;
  font-size: clamp(8px, 0.68vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.test-banner strong {
  padding: 2px 10px;
  border-radius: 3px;
  background: var(--warn);
  color: #1a1206;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.test-banner-note { opacity: 0.75; text-transform: none; letter-spacing: 0.04em; }
