/* GoalPulse · Ashfield Volt
   Wet asphalt desk · Volt chartreuse · Ice signal · Flare vermillion */

:root {
  --gp-void: #121417;
  --gp-depth: #1a1d22;
  --gp-turf: #22262d;
  --gp-turf-2: #2a3038;
  --gp-turf-hover: #343b46;

  --gp-pulse: #d6ff3c;
  --gp-pulse-dim: #b8e000;
  --gp-pulse-deep: #8fb300;
  --gp-pulse-soft: rgba(214, 255, 60, 0.12);
  --gp-pulse-glow: rgba(214, 255, 60, 0.22);

  --gp-strike: #7eb8ff;
  --gp-strike-bright: #a6ceff;
  --gp-strike-soft: rgba(126, 184, 255, 0.14);
  --gp-strike-glow: rgba(126, 184, 255, 0.2);

  --gp-heartbeat: #ff2e4d;
  --gp-heartbeat-soft: rgba(255, 46, 77, 0.12);
  --gp-heartbeat-glow: rgba(255, 46, 77, 0.2);

  --gp-ember: #ff9f1c;
  --gp-ember-soft: rgba(255, 159, 28, 0.14);

  --gp-ion: #a8b0ba;
  --gp-ion-soft: rgba(168, 176, 186, 0.14);

  --gp-mist: #f2f4f7;
  --gp-mist-soft: #a7b0bc;
  --gp-mist-muted: #6f7884;

  --img-pitch: url("/static/media/gp-pitch-dawn.webp");
  --img-net: url("/static/media/gp-net-bokeh.webp");

  --font: "Figtree", system-ui, sans-serif;
  --font-display: "Oxanium", "Figtree", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 3px;
  --radius-lg: 6px;
  --radius-xl: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-slash: cubic-bezier(0.7, 0, 0.3, 1);
  --dur-fast: 0.16s;
  --dur-med: 0.28s;
  --dur-slow: 0.5s;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: var(--gp-void);
  --bg-soft: var(--gp-depth);
  --surface: var(--gp-turf);
  --surface-2: var(--gp-turf-2);
  --surface-hover: var(--gp-turf-hover);
  --border: rgba(214, 255, 60, 0.18);
  --border-soft: rgba(242, 244, 247, 0.08);

  --text: var(--gp-mist);
  --text-soft: var(--gp-mist-soft);
  --text-muted: var(--gp-mist-muted);

  --home: var(--gp-strike);
  --away: var(--gp-ember);
  --value: var(--gp-pulse);
  --value-soft: var(--gp-pulse-soft);
  --live: var(--gp-heartbeat);
  --warn: var(--gp-ember);

  --accent-gradient: linear-gradient(105deg, var(--gp-pulse) 0%, #e8f56a 50%, var(--gp-strike) 100%);
  --accent-glow: transparent;
  --panel-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.22);
  --glass: rgba(18, 20, 23, 0.88);

  --mesh-bg: #131518;

  --card-bg: #242830;
  --card-bg-hover: #2c323b;
  --card-bg-active: #2a3128;
  --panel-bg: #1e2228;
  --meta-bg: #1e2228;
  --hero-bg: #1c2026;
  --hero-spot: none;
  --chart-bg: rgba(0, 0, 0, 0.32);
  --chart-zone-home: rgba(126, 184, 255, 0.08);
  --chart-zone-away: rgba(255, 159, 28, 0.08);
  --stat-inset: rgba(0, 0, 0, 0.22);
  --btn-fg: #121417;
  --flash-bg: rgba(214, 255, 60, 0.12);
  --rail-fade: transparent, #000 16px, #000 calc(100% - 16px), transparent;
  --watch-bg: #22262d;
  --watch-bg-active: #2a3128;
  --signal-card-bg: #22262d;
  --stat-tile-bg: #22262d;
  --stat-tile-hover: #2a3038;
  --quote-bg: #22262d;
  --login-card-bg: #1a1d22;
  --panel-head-bg: rgba(0, 0, 0, 0.16);
  --chip-bg: rgba(255, 255, 255, 0.04);
  --pill-bg: #22262d;
  --input-bg: var(--bg);
  --inset-soft: rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
  color-scheme: light;

  --gp-void: #eceef2;
  --gp-depth: #e2e5ea;
  --gp-turf: #ffffff;
  --gp-turf-2: #f3f4f7;
  --gp-turf-hover: #e8eaef;

  --gp-pulse: #8fb300;
  --gp-pulse-dim: #7a9a00;
  --gp-pulse-deep: #5f7800;
  --gp-pulse-soft: rgba(143, 179, 0, 0.12);
  --gp-pulse-glow: rgba(143, 179, 0, 0.18);

  --gp-strike: #2f6fd6;
  --gp-strike-bright: #4a86e8;
  --gp-strike-soft: rgba(47, 111, 214, 0.12);
  --gp-strike-glow: rgba(47, 111, 214, 0.16);

  --gp-heartbeat: #e11d3a;
  --gp-heartbeat-soft: rgba(225, 29, 58, 0.1);
  --gp-heartbeat-glow: rgba(225, 29, 58, 0.14);

  --gp-ember: #d97706;
  --gp-ember-soft: rgba(217, 119, 6, 0.12);

  --gp-ion: #5b6572;
  --gp-ion-soft: rgba(91, 101, 114, 0.1);

  --gp-mist: #14161a;
  --gp-mist-soft: #3d4550;
  --gp-mist-muted: #6a7380;

  --bg: var(--gp-void);
  --bg-soft: var(--gp-depth);
  --surface: var(--gp-turf);
  --surface-2: var(--gp-turf-2);
  --surface-hover: var(--gp-turf-hover);
  --border: rgba(20, 22, 26, 0.14);
  --border-soft: rgba(20, 22, 26, 0.08);

  --text: var(--gp-mist);
  --text-soft: var(--gp-mist-soft);
  --text-muted: var(--gp-mist-muted);

  --home: var(--gp-strike);
  --away: var(--gp-ember);
  --value: var(--gp-pulse);
  --value-soft: var(--gp-pulse-soft);
  --live: var(--gp-heartbeat);
  --warn: var(--gp-ember);

  --accent-gradient: linear-gradient(105deg, var(--gp-pulse) 0%, #a8c42a 50%, var(--gp-strike) 100%);
  --accent-glow: transparent;
  --panel-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 18px rgba(20, 22, 26, 0.06);
  --glass: rgba(236, 238, 242, 0.9);

  --mesh-bg: #eceef2;

  --card-bg: #ffffff;
  --card-bg-hover: #f6f7f9;
  --card-bg-active: #f2f5e8;
  --panel-bg: #ffffff;
  --meta-bg: #ffffff;
  --hero-bg: #f7f8fa;
  --hero-spot: none;
  --chart-bg: rgba(20, 22, 26, 0.04);
  --chart-zone-home: rgba(47, 111, 214, 0.08);
  --chart-zone-away: rgba(217, 119, 6, 0.08);
  --stat-inset: rgba(20, 22, 26, 0.04);
  --btn-fg: #14161a;
  --flash-bg: rgba(143, 179, 0, 0.12);
  --rail-fade: transparent, #000 16px, #000 calc(100% - 16px), transparent;
  --watch-bg: #ffffff;
  --watch-bg-active: #f2f5e8;
  --signal-card-bg: #ffffff;
  --stat-tile-bg: #ffffff;
  --stat-tile-hover: #f6f7f9;
  --quote-bg: #ffffff;
  --login-card-bg: #ffffff;
  --panel-head-bg: rgba(20, 22, 26, 0.03);
  --chip-bg: rgba(20, 22, 26, 0.03);
  --pill-bg: #ffffff;
  --input-bg: #ffffff;
  --inset-soft: rgba(20, 22, 26, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--mesh-bg);
}

.app::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(214, 255, 60, 0.04) 42% 43%, transparent 43% 100%);
  animation: ashfield-slash 12s var(--ease-slash) infinite;
}

html[data-theme="light"] .app::after {
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(143, 179, 0, 0.06) 42% 43%, transparent 43% 100%);
}

@keyframes ashfield-slash {
  0%, 70% { transform: translateX(-8%); opacity: 0.2; }
  85% { opacity: 0.45; }
  100% { transform: translateX(18%); opacity: 0.15; }
}

.app > * {
  position: relative;
  z-index: 1;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid var(--home);
  outline-offset: 2px;
}

.hidden { display: none !important; }

/* ── Toolbar ── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  padding: 10px 20px;
  background: transparent;
  border-bottom: none;
  position: static;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 14px;
}

.status-strip .meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--meta-bg);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.meta-item--scan { border-left: 2px solid var(--home); }
.meta-item--api { border-left: 2px solid var(--value); }
.meta-item--watch { border-left: 2px solid var(--warn); }
.meta-item--commit { border-left: 2px solid var(--gp-ion); }

.meta-label {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  flex-shrink: 0;
}

.status-strip .meta-item strong {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
  min-width: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scan-label-short { display: none; }

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.brand-shield {
  fill: rgba(214, 255, 60, 0.06);
}

.brand-wave {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: brand-draw 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.brand-orb-ring {
  fill: none;
  opacity: 0;
  transform-origin: 20px 13px;
  animation: brand-ring 2.8s ease-out infinite 0.8s;
}

.brand-orb-glow {
  opacity: 0.55;
  transform-origin: 20px 13px;
  animation: brand-glow 2.8s ease-in-out infinite;
}

.brand-post--l { animation: brand-rise 0.7s ease-out 0.2s both; }
.brand-post--r { animation: brand-rise 0.7s ease-out 0.35s both; }

@keyframes brand-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes brand-ring {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.6); }
}

@keyframes brand-glow {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 0.75; transform: scale(1.08); }
}

@keyframes brand-rise {
  from { transform: translateY(6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-accent {
  color: var(--gp-pulse);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.toolbar-meta {
  display: none;
}

.meta-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
}

.meta-item em,
.meta-label {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-item strong {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-soft);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mode-tag {
  padding: 5px 9px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 1px solid transparent;
  clip-path: none;
}

.mode-tag--paper {
  color: var(--warn);
  background: rgba(255, 159, 28, 0.12);
  border-color: rgba(255, 159, 28, 0.35);
}

.mode-tag--live {
  color: var(--gp-heartbeat);
  background: var(--gp-heartbeat-soft);
  border-color: rgba(255, 46, 77, 0.4);
}

.btn-primary {
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--btn-fg);
  background: var(--gp-pulse);
  border: 1px solid transparent;
  box-shadow: none;
  transition:
    background var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease;
  clip-path: none;
}

.btn-primary:hover:not(:disabled) {
  background: #e8ff7a;
  box-shadow: none;
}

.btn-primary:active:not(:disabled) { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.5; cursor: wait; }

.btn-primary.is-scanning {
  animation: scan-pulse 1.2s ease-in-out infinite;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--pill-bg);
  border: 1px solid var(--border-soft);
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-pill.ok i {
  background: var(--value);
  animation: pulse-live 2.4s ease infinite;
}

.status-pill.error i { background: var(--live); }

/* ── Match rail (horizontal) ── */
.match-rail {
  padding: 14px 20px 0;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(34, 30, 27, 0.55), transparent);
}

.match-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.match-rail-head h2 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  transition: transform var(--dur-med) var(--ease-spring);
}

.count-badge.gp-pop {
  animation: count-pop 0.45s var(--ease-spring);
}

.chip-toggle {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid var(--border);
  background: var(--chip-bg);
  transition:
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease;
}

.chip-toggle:active { transform: scale(0.96); }

.chip-toggle.active,
.chip-toggle:hover {
  color: var(--value);
  border-color: rgba(214, 255, 60, 0.45);
  background: var(--value-soft);
  box-shadow: 0 0 20px rgba(214, 255, 60, 0.12);
}

.coverage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.coverage-filters .chip-toggle {
  padding: 5px 11px;
  font-size: 0.68rem;
}

.match-node--thin {
  opacity: 0.72;
  border-style: dashed;
}

.match-node--thin .match-node-ring {
  opacity: 0.55;
}

.match-node--value-flash {
  animation: value-node-flash 1.4s var(--ease-out);
  border-color: rgba(214, 255, 60, 0.75) !important;
  box-shadow:
    0 0 0 1px rgba(214, 255, 60, 0.35),
    0 0 28px rgba(214, 255, 60, 0.28) !important;
}

@keyframes value-node-flash {
  0% { transform: translateY(-2px) scale(1.03); }
  40% { transform: translateY(-4px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

.value-toast-host {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.value-toast {
  pointer-events: auto;
  min-width: min(320px, calc(100vw - 32px));
  max-width: 380px;
  text-align: left;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid rgba(214, 255, 60, 0.45);
  background:
    linear-gradient(120deg, rgba(214, 255, 60, 0.16), rgba(18, 20, 23, 0.94) 55%);
  color: var(--text);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  animation: value-toast-in 0.28s var(--ease-out);
  cursor: pointer;
}

.value-toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.value-toast-kicker {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--value);
}

.value-toast strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.value-toast span:last-child {
  color: var(--text-soft);
  font-size: 0.78rem;
}

@keyframes value-toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tipster-card--glance .glance-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.tipster-card--glance .glance-pick-block {
  min-width: 0;
  flex: 1;
}

.tipster-card--glance .glance-reason {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.tipster-card--glance .glance-min {
  flex: 0 0 auto;
  min-width: 84px;
  text-align: right;
  padding: 8px 10px;
  border: 1px solid rgba(214, 255, 60, 0.35);
  background: rgba(214, 255, 60, 0.1);
}

.tipster-card--glance .glance-min small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.tipster-card--glance .glance-min strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--value);
}

.glance-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.glance-metric {
  padding: 8px 9px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.14);
}

.glance-metric small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.glance-metric strong {
  display: block;
  margin-top: 3px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.95rem;
}

.glance-metric strong.positive { color: var(--value); }

.tipster-action-callout kbd,
.desk-action-copy kbd {
  display: inline-block;
  min-width: 1.3em;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72em;
}

.desk-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(214, 255, 60, 0.35);
  background: linear-gradient(115deg, rgba(214, 255, 60, 0.12), transparent 70%);
}

.desk-action-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.desk-action-copy strong {
  font-size: 0.95rem;
}

.desk-action-copy span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.manual-actions.desk-cta {
  margin-top: 0;
}

.manual-actions.desk-cta .manual-action {
  min-width: 112px;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 0.88rem;
}

/* ── Desk atmosphere by phase ── */
.app[data-desk-phase="idle"] {
  --desk-wash: rgba(168, 176, 186, 0.04);
}
.app[data-desk-phase="read"] {
  --desk-wash: rgba(126, 184, 255, 0.05);
}
.app[data-desk-phase="watch"] {
  --desk-wash: rgba(255, 159, 28, 0.06);
}
.app[data-desk-phase="value"] {
  --desk-wash: rgba(214, 255, 60, 0.07);
}
.app[data-desk-phase="action"] {
  --desk-wash: rgba(214, 255, 60, 0.1);
}
.app--focus-desk .workspace--focus {
  background:
    radial-gradient(1000px 420px at 50% -10%, var(--desk-wash, transparent), transparent 70%),
    transparent;
  transition: background 0.45s ease;
}

.live-strip-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.watch-queue-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.watch-queue-badge .count-badge.is-empty {
  opacity: 0.45;
}

.watch-queue-badge.has-items {
  color: var(--warn);
  border-color: rgba(255, 159, 28, 0.4);
  background: rgba(255, 159, 28, 0.1);
}

.why-chip {
  display: inline-flex;
  margin-left: 5px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 46, 77, 0.28);
  color: #ff8b87;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.match-node--breathe-cool .match-node-ring {
  animation: ring-breathe 3.6s ease-in-out infinite;
}
.match-node--breathe-warm .match-node-ring {
  animation: ring-breathe 2.4s ease-in-out infinite;
}
.match-node--breathe-hot .match-node-ring {
  animation: ring-breathe 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(214, 255, 60, 0.25));
}

@keyframes ring-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.match-node--valor {
  border-color: rgba(214, 255, 60, 0.35);
}

.match-node--valor-enter {
  animation: valor-enter 0.7s var(--ease-out);
}

@keyframes valor-enter {
  0% { opacity: 0.35; transform: translateX(28px) scale(0.96); }
  60% { opacity: 1; transform: translateX(-4px) scale(1.03); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* Hero theatre */
.hero-shell--theatre {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-shell--theatre > .hero-theatre-bg,
.hero-shell--theatre > .hero-theatre-veil {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-theatre-bg {
  inset: -8%;
}

.hero-theatre-bg picture,
.hero-theatre-bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-theatre-bg img {
  object-fit: cover;
  opacity: 0.16;
  animation: none;
  transform: scale(1.04);
  filter: grayscale(0.15) contrast(1.05);
}

.hero-theatre-veil {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0.35), rgba(18, 20, 23, 0.82) 72%),
    radial-gradient(600px 220px at 50% 40%, transparent, rgba(18, 20, 23, 0.55));
}

.hero-shell--theatre > *:not(.hero-theatre-bg):not(.hero-theatre-veil) {
  position: relative;
  z-index: 2;
}

.hero-shell--valor {
  box-shadow: inset 0 0 0 1px rgba(214, 255, 60, 0.22);
}

.hero-shell--valor .radar-core-score {
  text-shadow: none;
}

.hero-shell--valor::after {
  display: none;
}

@keyframes theatre-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.gp-score-bump .radar-core-score {
  animation: score-beat 0.55s var(--ease-spring);
}

@keyframes score-beat {
  0% { transform: scale(1); }
  35% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.empty-hero--rest .empty-hero-copy h2 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.empty-hero--rest .empty-hero-copy p:not(.focus-hero-kicker) {
  display: none;
}

.empty-hero-slash {
  position: absolute;
  inset: 18% 12% auto auto;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--value), transparent);
  transform: rotate(-18deg);
  opacity: 0.55;
  animation: ashfield-slash 10s var(--ease-slash) infinite;
}

.glance-min {
  position: relative;
  overflow: hidden;
}

.glance-min.is-playable {
  box-shadow: 0 0 18px rgba(214, 255, 60, 0.12);
}

.glance-min--reveal strong,
.glance-min.glance-min--reveal {
  animation: glance-pop 0.55s var(--ease-spring);
}

.glance-min-slash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(214, 255, 60, 0.35), transparent 65%);
  transform: translateX(-120%);
  opacity: 0;
}

.glance-min--reveal .glance-min-slash {
  animation: volt-slash 0.65s var(--ease-out);
}

@keyframes glance-pop {
  0% { transform: scale(0.94); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes volt-slash {
  0% { opacity: 0; transform: translateX(-120%); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

.provider-chip {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.source-badge {
  display: inline-flex;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  vertical-align: middle;
}

.source-badge.source-af { color: #7eb8ff; border-color: rgba(126, 184, 255, 0.35); }
.source-badge.source-sm { color: #f5b544; border-color: rgba(245, 181, 68, 0.35); }
.source-badge.source-merge { color: var(--value); border-color: rgba(214, 255, 60, 0.4); }
.source-badge.source-radar { opacity: 0.75; }

.match-radar-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  align-items: stretch;
  -webkit-mask-image: linear-gradient(90deg, var(--rail-fade));
  mask-image: linear-gradient(90deg, var(--rail-fade));
}

.match-radar-list::-webkit-scrollbar { height: 4px; }
.match-radar-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.match-radar-list .empty-state {
  flex: 1 1 100%;
  min-width: min(100%, 520px);
  max-width: 100%;
}

.match-node {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 236px;
  min-width: 236px;
  max-width: 236px;
  min-height: 98px;
  text-align: left;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: var(--text);
  overflow: hidden;
  contain: layout style;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-med) ease;
}

.match-node:hover {
  background: var(--card-bg-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.match-node:active { transform: translateY(-1px) scale(0.985); }

.match-node.active {
  border-color: rgba(126, 184, 255, 0.45);
  background: var(--card-bg-active);
  box-shadow:
    0 0 0 1px rgba(126, 184, 255, 0.2),
    0 8px 28px rgba(126, 184, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: match-active-glow 3s ease-in-out infinite;
}

.match-node.status-valore:not(.active) {
  box-shadow:
    inset 0 0 0 1px rgba(214, 255, 60, 0.18),
    0 4px 18px rgba(0, 0, 0, 0.22);
}

.match-node-ring {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-self: center;
}

.match-node-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.match-node-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.match-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.match-node-league {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.match-node-dot {
  flex: 0 0 auto;
  font-size: 0.55rem;
  line-height: 1;
}

.match-node-league-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-node-score {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.match-node-score-sep {
  margin: 0 1px;
  color: var(--text-muted);
  font-weight: 500;
}

.match-node-teams {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.match-node-team {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.match-node-team--home { color: var(--text); }
.match-node-team--away { color: var(--text-soft); }

.match-node-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  margin-top: 2px;
}

.match-node-tags {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.node-tag {
  flex: 0 1 auto;
  max-width: 100%;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--text-muted);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-tag--phase {
  flex-shrink: 1;
  min-width: 0;
}

.match-node.status-valore .node-tag.status { color: var(--value); background: var(--value-soft); }
.match-node.status-in-osservazione .node-tag.status { color: var(--warn); background: rgba(245, 181, 68, 0.12); }
.match-node.status-segnale-inviato .node-tag.status { color: var(--home); background: rgba(126, 184, 255, 0.12); }

.node-odds {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  max-width: 46%;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--value);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-odds-sep {
  color: rgba(214, 255, 60, 0.55);
  font-weight: 500;
}

.node-odds-ev {
  font-variant-numeric: tabular-nums;
}

/* ── Workspace ── */
.workspace {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 20px 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workspace--tipster {
  gap: 18px;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--panel-shadow);
  transition: border-color var(--dur-med) ease, box-shadow var(--dur-med) ease, transform var(--dur-fast) ease;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--panel-head-bg);
}

.panel-head h3 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-head h3::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 99px;
  background: var(--accent-gradient);
  box-shadow: 0 0 12px var(--accent-glow);
  flex-shrink: 0;
}

.grid-main {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}

.grid-bottom {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: 16px;
  align-items: stretch;
}

.panel-feed {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.grid-bottom > .panel-feed {
  align-self: stretch;
}

/* ── Hero ── */
.hero-radar { border: none; background: transparent; }
.hero-radar::before, .hero-radar::after { display: none; }

.empty-hero {
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  background: var(--panel-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--panel-shadow);
}

.empty-hero h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: -0.02em;
}

.empty-hero p { margin: 0; font-size: 0.84rem; }

.radar-idle { display: none; }

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 22px;
  background: var(--hero-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--panel-shadow);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--hero-spot);
}

.hero-shell > *:not(.hero-theatre-bg):not(.hero-theatre-veil) {
  position: relative;
  z-index: 1;
}

.hero-shell.gp-hero-enter {
  animation: hero-enter var(--dur-slow) var(--ease-out) both;
}

.hero-shell.gp-score-bump .radar-core-score {
  animation: score-bump 0.55s var(--ease-spring);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--live);
  background: rgba(255, 46, 77, 0.1);
  border: 1px solid rgba(255, 46, 77, 0.22);
  box-shadow: 0 0 16px rgba(255, 46, 77, 0.12);
}

.live-beacon i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse-live 2s ease infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.radar-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.team-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.team-block.away {
  justify-content: flex-end;
  text-align: right;
}

.team-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.25);
}

.team-logo.fallback {
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
}

.team-name {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radar-core { text-align: center; }

.radar-core-score {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(126, 184, 255, 0.18);
}

.radar-core-score .sep {
  margin: 0 0.08em;
  color: var(--text-muted);
  font-weight: 400;
}

.radar-core-minute {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-soft);
}

.radar-ft-forecast {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent, #7eb8ff);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.hero-stat {
  text-align: center;
  padding: 10px 6px;
  border-radius: var(--radius);
  background: var(--stat-inset);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-stat span {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat strong {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.hero-watch-strip {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border-left: 3px solid var(--warn);
  background: rgba(245, 181, 68, 0.08);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-watch-strip b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warn);
}

/* ── Watch ── */
.watch-deck-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
}

.watch-orb {
  flex: 0 0 240px;
  text-align: left;
  padding: 13px 15px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--watch-bg);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.watch-orb.active,
.watch-orb:hover {
  border-color: rgba(214, 255, 60, 0.45);
  background: var(--watch-bg-active);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(214, 255, 60, 0.14);
}

.watch-orb-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.watch-orb-title {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.watch-orb-pick {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.watch-orb-quote {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.watch-orb-quote .q {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--value);
}

.watch-orb-quote .ev {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.watch-orb-progress {
  margin-top: 10px;
  height: 2px;
  border-radius: 99px;
  background: var(--border-soft);
  overflow: hidden;
}

.watch-orb-progress span {
  display: block;
  height: 100%;
  background: var(--value);
  transition: width var(--dur-med) var(--ease-out);
}

.watch-orb-stable {
  display: block;
  margin-top: 6px;
  font-size: 0.64rem;
  color: var(--text-muted);
}

/* ── Chart · Pitch Fresh pressure desk ── */
.chart-canvas {
  min-height: 0;
  margin: 0 14px 14px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 55% at 20% 0%, rgba(126, 184, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 100%, rgba(255, 159, 28, 0.08), transparent 50%),
    var(--chart-bg);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(242, 244, 247, 0.04);
  overflow: hidden;
  color: var(--text);
}

html[data-theme="light"] .chart-canvas {
  background:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(47, 111, 214, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 100%, rgba(217, 119, 6, 0.07), transparent 50%),
    var(--chart-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.chart-canvas svg,
.chart-canvas .pressure-svg {
  width: 100%;
  height: auto;
  min-height: 340px;
  aspect-ratio: 16 / 9;
  display: block;
}

.pressure-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 12px;
}

.pressure-scoreboard {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 10px;
  align-items: center;
}

.pressure-side {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 60%);
}

.pressure-side.home {
  border-color: rgba(126, 184, 255, 0.28);
  background: linear-gradient(155deg, var(--gp-strike-soft), transparent 70%);
}

.pressure-side.away {
  justify-content: flex-end;
  text-align: right;
  border-color: rgba(255, 159, 28, 0.28);
  background: linear-gradient(155deg, var(--gp-ember-soft), transparent 70%);
}

.pressure-meta {
  min-width: 0;
}

.pressure-side small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pressure-side b {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14ch;
}

.pressure-side strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pressure-side.home strong { color: var(--home); }
.pressure-side.away strong { color: var(--away); }

.pressure-center {
  text-align: center;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(214, 255, 60, 0.22);
  background: linear-gradient(160deg, var(--gp-pulse-soft), transparent 75%);
}

.pressure-center.tone-home {
  border-color: rgba(126, 184, 255, 0.28);
  background: linear-gradient(160deg, var(--gp-strike-soft), transparent 75%);
}

.pressure-center.tone-away {
  border-color: rgba(255, 159, 28, 0.28);
  background: linear-gradient(160deg, var(--gp-ember-soft), transparent 75%);
}

.pressure-center small {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.pressure-center b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pressure-center.tone-home b { color: var(--home); }
.pressure-center.tone-away b { color: var(--away); }
.pressure-center.tone-even b { color: var(--value); }

.pressure-bar {
  display: flex;
  height: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(168, 176, 186, 0.12);
}

.pressure-bar i {
  display: block;
  height: 100%;
}

.pressure-bar i.home { background: linear-gradient(90deg, var(--gp-strike), var(--gp-strike-bright)); }
.pressure-bar i.away { background: linear-gradient(90deg, var(--gp-ember), #f6c85a); }

.pressure-plot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .pressure-plot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 45%),
    rgba(20, 22, 26, 0.03);
}

.pressure-svg .pressure-grid {
  stroke: rgba(168, 176, 186, 0.12);
  stroke-width: 1;
}

html[data-theme="light"] .pressure-svg .pressure-grid {
  stroke: rgba(20, 22, 26, 0.08);
}

.pressure-svg .pressure-tick {
  fill: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
}

.pressure-svg .pressure-line {
  stroke-width: 3.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pressure-svg .pressure-now {
  stroke: var(--text);
  stroke-width: 2.5;
  stroke-opacity: 0.85;
}

.pressure-svg .pressure-ht {
  stroke: rgba(168, 176, 186, 0.28);
  stroke-width: 1.25;
  stroke-dasharray: 4 5;
}

.pressure-svg .pressure-ht-label {
  fill: var(--gp-ion);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

.pressure-svg .pressure-event line {
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.55;
}

.pressure-svg .pressure-event.event-goal line,
.pressure-svg .pressure-event.event-goal circle { stroke: var(--gp-pulse); fill: var(--gp-pulse); }

.pressure-svg .pressure-event.event-red line,
.pressure-svg .pressure-event.event-red circle { stroke: var(--gp-heartbeat); fill: var(--gp-heartbeat); }

.pressure-svg .pressure-event circle {
  stroke: var(--bg);
  stroke-width: 2;
}

.pressure-svg .pressure-pick line {
  stroke: var(--gp-pulse);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  opacity: 0.75;
}

.pressure-svg .pressure-pick rect {
  fill: var(--gp-pulse);
}

.pressure-svg .pressure-pick text {
  fill: var(--gp-void);
  font-size: 9px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

html[data-theme="light"] .pressure-svg .pressure-pick text {
  fill: #fff;
}

.pressure-hint {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pressure-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pressure-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.pressure-key .key-dot.goal { background: var(--gp-pulse); }
.pressure-key .key-dot.red { background: var(--gp-heartbeat); }
.pressure-key .key-dot.pick { background: var(--gp-pulse); box-shadow: 0 0 0 2px rgba(214, 255, 60, 0.25); }

.chart-canvas .pressure-svg.gp-chart-enter .pressure-line {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: chart-draw 1s var(--ease-out) both;
}

.chart-canvas .pressure-svg.gp-chart-enter .pressure-area {
  opacity: 0;
  animation: chart-fade 0.7s ease 0.15s both;
}

.empty-chart {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.empty-chart.small { min-height: 72px; font-size: 0.78rem; }

.legend {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.dot-home { background: var(--home); }
.dot-away { background: var(--away); }

.tab-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px 16px;
}

.tab-rail button {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition:
    color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) ease;
}

.tab-rail button:hover {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-soft);
}

.tab-rail button.active {
  color: var(--text);
  background: rgba(126, 184, 255, 0.12);
  border-color: rgba(126, 184, 255, 0.28);
  box-shadow: 0 0 16px rgba(126, 184, 255, 0.1);
}

.tab-rail--mini button { padding: 4px 10px; font-size: 0.68rem; }

/* ── Stats ── */
.stat-stack {
  padding: 12px 16px 16px;
  display: grid;
  gap: 12px;
}

.stat-row-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.stat-row-head .left {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--home);
}

.stat-row-head .right {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--away);
  text-align: right;
}

.stat-row-head .label {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.comparison-bar {
  display: flex;
  height: 4px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.comparison-bar .home,
.comparison-bar .away {
  transition: width var(--dur-med) var(--ease-out);
}

.comparison-bar .home { background: var(--home); }
.comparison-bar .away { background: var(--away); }

/* ── Value ── */
.signal-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.signal-tag.neutral {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-color: var(--border-soft);
}

.signal-tag.hot {
  background: var(--value-soft);
  color: var(--value);
  border-color: rgba(214, 255, 60, 0.28);
  animation: tag-glow 2.8s ease-in-out infinite;
}

.signal-tag.cold {
  background: rgba(255, 46, 77, 0.12);
  color: var(--live);
  border-color: rgba(255, 46, 77, 0.22);
}

.signal-body {
  padding: 14px 18px 18px;
  display: grid;
  gap: 10px;
}

.signal-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--signal-card-bg);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.signal-pick {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.signal-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.quote-bubble {
  padding: 12px 10px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--chart-bg);
  border: 1px solid var(--border-soft);
}

.quote-bubble.primary {
  background: linear-gradient(160deg, rgba(35, 134, 54, 0.22), rgba(25, 108, 46, 0.12));
  border: 1px solid rgba(214, 255, 60, 0.32);
  box-shadow: 0 0 20px rgba(214, 255, 60, 0.1);
}

.quote-bubble small {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.quote-bubble strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
}

.signal-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.signal-kpi {
  text-align: center;
  padding: 10px 4px;
  border-radius: var(--radius);
  background: var(--inset-soft);
  border: 1px solid var(--border-soft);
}

.signal-kpi small {
  display: block;
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.signal-kpi strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.signal-kpi strong.positive { color: var(--value); }

.threshold-bar {
  margin-top: 10px;
  height: 3px;
  border-radius: 99px;
  background: var(--border-soft);
  overflow: hidden;
}

.threshold-bar span {
  display: block;
  height: 100%;
  background: var(--value);
  transition: width var(--dur-med) var(--ease-out);
}

.threshold-caption {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.threshold-checks { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

.threshold-chip {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-muted);
}

.threshold-chip.ok { color: var(--value); background: var(--value-soft); }
.threshold-chip.fail { color: var(--live); background: rgba(255, 46, 77, 0.12); }

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.detail-row b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--text);
}

.reason-list {
  margin: 0;
  padding-left: 16px;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.empty-state {
  padding: 20px 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Paper & signals ── */
.paper-track-note {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.verified-track {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.verified-track-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.verified-track-head h4 {
  margin: 0;
  font-size: 0.82rem;
  color: #a6ceff;
}

.stat-tiles.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-tiles.compact .stat-tile strong {
  font-size: 0.95rem;
}
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 16px 12px;
}

.stat-tile {
  padding: 14px 12px;
  border-radius: var(--radius-lg);
  background: var(--stat-tile-bg);
  border: 1px solid var(--border-soft);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.stat-tile:hover {
  transform: translateY(-2px);
  background: var(--stat-tile-hover);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.stat-tile small {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-tile strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.breakdown-stack {
  padding: 0 16px 12px;
  display: grid;
  gap: 10px;
}

.breakdown-block h3 {
  margin: 0 0 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.breakdown-table { display: grid; gap: 2px; }

.breakdown-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.6fr 0.6fr;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-soft);
  background: var(--surface-2);
}

.breakdown-row span:last-child {
  font-family: var(--mono);
  color: var(--value);
}

.pnl-wrap { padding: 0 16px 16px; }

.pnl-heading {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pnl-heading strong {
  font-family: var(--mono);
  color: var(--text);
}

.pnl-svg {
  width: 100%;
  height: 80px;
  display: block;
  border-radius: var(--radius-lg);
  background: var(--chart-bg);
  border: 1px solid var(--border-soft);
}

.signal-stream {
  flex: 1 1 0;
  min-height: 0;
  padding: 8px 12px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 118, 129, 0.45) transparent;
}

.signal-stream::-webkit-scrollbar {
  width: 5px;
}

.signal-stream::-webkit-scrollbar-thumb {
  background: rgba(110, 118, 129, 0.4);
  border-radius: 999px;
}

.signal-stream::-webkit-scrollbar-track {
  background: transparent;
}

@media (min-width: 901px) {
  .grid-bottom > .panel {
    min-height: 0;
  }

  .panel-feed .signal-stream {
    min-height: 200px;
  }
}

.log-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  margin-bottom: 4px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  border: 1px solid transparent;
  transition:
    background var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.log-entry:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-soft);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.log-entry.gp-new {
  animation: signal-enter 0.55s var(--ease-out) both;
}

.log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform var(--dur-fast) var(--ease-spring);
}

.log-entry.gp-new .log-dot {
  animation: dot-pop 0.5s var(--ease-spring);
}

.log-entry[data-status="hit"] .log-dot { background: var(--value); }
.log-entry[data-status="miss"] .log-dot { background: var(--live); }
.log-entry[data-status="open"] .log-dot { background: var(--warn); }
.log-entry[data-status="half_win"] .log-dot { background: #e8ff7a; }
.log-entry[data-status="half_loss"] .log-dot { background: #ff9f43; }
.log-entry[data-status="push"] .log-dot,
.log-entry[data-status="void"] .log-dot { background: var(--text-muted); }

.log-main strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}

.log-main small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.log-odd {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.log-odd span {
  display: block;
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.log-entry[data-status="half_win"] .log-odd span { color: #e8ff7a; }
.log-entry[data-status="half_loss"] .log-odd span { color: #ff9f43; }

.log-pnl {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
}

.log-pnl.positive { color: var(--value); }
.log-pnl.negative { color: var(--live); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-main,
  .grid-bottom,
  .tipster-track {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolbar {
    gap: 8px;
    padding: 10px 12px;
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .status-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
  }

  .status-strip .meta-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    min-height: 58px;
    text-align: center;
    border-radius: 12px;
    background: var(--meta-bg);
    border-color: var(--border);
    border-left: 1px solid var(--border-soft);
  }

  .meta-item--scan { border-top: 2px solid var(--home); border-left-color: var(--border-soft); }
  .meta-item--api { border-top: 2px solid var(--value); border-left-color: var(--border-soft); }
  .meta-item--watch { border-top: 2px solid var(--warn); border-left-color: var(--border-soft); }
  .meta-item--commit { border-top: 2px solid var(--gp-ion); border-left-color: var(--border-soft); }

  .status-strip .meta-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #c9d1d9;
    letter-spacing: 0.08em;
  }

  .status-strip .meta-item strong {
    width: 100%;
    max-width: none;
    font-size: 13px;
    line-height: 1.25;
    color: var(--text);
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .scan-label-full { display: none; }
  .scan-label-short { display: inline; }

  .grid-main {
    display: flex;
    flex-direction: column;
  }

  .grid-main .signal-engine { order: 1; }
  .grid-main .panel-chart { order: 2; }
  .grid-main .quote-verify-panel { order: 3; }

  .panel-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .panel-feed .panel-head .tab-rail--mini {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .toolbar-brand {
    min-width: 0;
  }

  .toolbar-actions {
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .toolbar-actions .status-pill {
    display: none;
  }

  .logout-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .btn-primary {
    min-height: 44px;
    padding: 10px 16px;
  }

  .meta-item--commit {
    display: flex;
  }

  .status-strip .meta-item--commit strong {
    font-size: 12px;
  }

  .match-rail {
    padding: 10px 12px 0;
  }

  .match-radar-list {
    gap: 6px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .match-node {
    width: min(248px, 82vw);
    min-width: min(248px, 82vw);
    max-width: min(248px, 82vw);
    min-height: 102px;
    padding: 12px;
    scroll-snap-align: center;
  }

  .match-node-team {
    font-size: 0.8rem;
  }

  .match-node-score {
    font-size: 0.95rem;
  }

  .node-odds {
    max-width: 42%;
    font-size: 0.64rem;
  }

  .workspace {
    padding: 12px 12px max(32px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  .hero-shell {
    padding: 16px 14px;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
  }

  .radar-scoreboard {
    gap: 8px;
    grid-template-columns: 1fr auto 1fr;
  }

  .team-block {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .team-block.away {
    align-items: center;
    text-align: center;
  }

  .team-logo {
    width: 36px;
    height: 36px;
  }

  .team-name {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .radar-core-score {
    font-size: 1.35rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .chart-canvas svg:not(.pressure-svg),
  .empty-chart {
    height: 200px;
    min-height: 200px;
  }

  .chart-canvas .pressure-svg {
    height: auto;
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .tab-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tab-rail::-webkit-scrollbar {
    display: none;
  }

  .tab-rail button {
    flex-shrink: 0;
    min-height: 36px;
    padding: 8px 12px;
  }

  .signal-body {
    padding: 12px;
  }

  .signal-pick {
    font-size: 0.95rem;
  }

  .signal-quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .quote-bubble strong {
    font-size: 1rem;
  }

  .signal-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 0;
  }

  .detail-row b {
    word-break: break-word;
  }

  .stat-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-tiles.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .breakdown-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .panel-feed {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .signal-stream {
    flex: 1 1 auto;
    max-height: min(62dvh, 560px);
    overflow-y: auto;
    min-height: 200px;
  }

  .quote-candidate-list {
    max-height: none;
  }

  .watch-orb {
    flex: 0 0 min(82vw, 280px);
    scroll-snap-align: start;
  }

  .watch-deck-grid {
    scroll-snap-type: x mandatory;
    padding: 10px 12px;
  }

  .log-entry {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    padding: 12px 10px;
    min-height: 44px;
  }

  .log-odd {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .chip-toggle {
    min-height: 36px;
    padding: 8px 14px;
  }
}

@media (max-width: 380px) {
  .signal-quotes {
    grid-template-columns: 1fr 1fr;
  }

  .signal-quotes .quote-bubble:last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  .brand-name {
    font-size: 0.92rem;
  }
}

.quote-candidate-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  padding: 0 16px 16px;
}

.quote-candidate {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  background: var(--quote-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.quote-candidate.verified {
  border-color: rgba(214, 255, 60, 0.38);
  box-shadow: 0 0 18px rgba(214, 255, 60, 0.08);
}

.quote-candidate-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.candidate-status {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(126, 184, 255, 0.12);
  color: #a6ceff;
  white-space: nowrap;
}

.candidate-status.verified,
.candidate-status.sent {
  background: rgba(214, 255, 60, 0.15);
  color: #d6ff3c;
}

.candidate-status.rejected_stale,
.candidate-status.rejected_mismatch,
.candidate-status.rejected_suspended,
.candidate-status.rejected_low_ev,
.candidate-status.rejected_unknown_bookmaker {
  background: rgba(255, 46, 77, 0.12);
  color: #ff2e4d;
}

.quote-candidate-meta,
.quote-candidate-odds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.quote-reject {
  display: block;
  margin-top: 6px;
  color: #ff2e4d;
}

.empty-state.small {
  margin: 8px 0 0;
  padding: 8px 10px;
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  .brand-wave,
  .brand-orb-ring,
  .brand-orb-glow,
  .brand-post--l,
  .brand-post--r {
    animation: none !important;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  * { animation: none !important; transition: none !important; }
}

.install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126, 184, 255, 0.35);
  background: rgba(22, 27, 34, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.install-banner-body strong {
  display: block;
  font-size: 0.92rem;
}

.install-banner-body p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.install-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.install-dismiss {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 4px 8px;
}

.install-confirm {
  min-height: 40px;
  white-space: nowrap;
}

html.pwa-standalone .install-banner {
  display: none !important;
}

@media (display-mode: standalone) {
  .app-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .toolbar {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .workspace {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .status-strip {
    gap: 10px;
    padding: 0 max(12px, env(safe-area-inset-left)) 14px max(12px, env(safe-area-inset-right));
  }

  .status-strip .meta-item {
    min-height: 64px;
    padding: 12px 8px;
  }

  .status-strip .meta-label {
    font-size: 12px;
    color: #e6edf3;
    opacity: 0.85;
  }

  .status-strip .meta-item strong {
    font-size: 14px;
    font-weight: 700;
  }
}

html.pwa-standalone .status-strip .meta-label {
  font-size: 12px;
  color: #e6edf3;
  opacity: 0.85;
}

html.pwa-standalone .status-strip .meta-item {
  min-height: 64px;
  padding: 12px 8px;
}

html.pwa-standalone .status-strip .meta-item strong {
  font-size: 14px;
  font-weight: 700;
}

.btn-ghost {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.logout-btn {
  min-height: 36px;
}

@media (max-width: 600px) {
  .logout-btn {
    padding: 8px 10px;
  }
}

/* ── Micro-animations ── */
@keyframes scan-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35, 134, 54, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(35, 134, 54, 0); }
}

@keyframes match-active-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(126, 184, 255, 0.15), 0 4px 16px rgba(126, 184, 255, 0.1); }
  50% { box-shadow: 0 0 0 1px rgba(126, 184, 255, 0.28), 0 4px 20px rgba(126, 184, 255, 0.18); }
}

@keyframes count-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes score-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes signal-enter {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dot-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.8); }
  100% { transform: scale(1); }
}

@keyframes tag-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 255, 60, 0); }
  50% { box-shadow: 0 0 12px rgba(214, 255, 60, 0.22); }
}

@keyframes gp-flash {
  0% {
    background: var(--flash-bg);
    border-color: rgba(126, 184, 255, 0.35);
    box-shadow: 0 0 20px rgba(126, 184, 255, 0.12);
  }
  100% {
    background: var(--meta-bg);
    border-color: var(--border-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
}

/* ── Theme toggle ── */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  color: var(--text-soft);
  flex-shrink: 0;
  transition:
    color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease;
}

.theme-toggle:hover {
  color: var(--home);
  border-color: rgba(126, 184, 255, 0.28);
  box-shadow: 0 0 16px var(--accent-glow);
}

.theme-toggle:active { transform: scale(0.94); }

.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

html[data-theme="dark"] .theme-toggle .theme-icon--sun { display: block; }
html[data-theme="dark"] .theme-toggle .theme-icon--moon { display: none; }
html[data-theme="light"] .theme-toggle .theme-icon--sun { display: none; }
html[data-theme="light"] .theme-toggle .theme-icon--moon { display: block; }

.sound-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  color: var(--value);
  flex-shrink: 0;
  transition:
    color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out);
}

.sound-toggle:hover {
  border-color: rgba(214, 255, 60, 0.4);
  background: var(--value-soft);
}

.sound-toggle:active { transform: scale(0.94); }

.sound-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sound-toggle .sound-icon--off { display: none; }
.sound-toggle.muted {
  color: var(--text-soft);
}
.sound-toggle.muted .sound-icon--on { display: none; }
.sound-toggle.muted .sound-icon--off { display: block; }

.login-theme-toggle {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
}

.login-lang-switch {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: calc(max(16px, env(safe-area-inset-right)) + 48px);
  z-index: 2;
}

/* ── Language switch (flag buttons) ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
  flex-shrink: 0;
}

.lang-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out), background var(--dur-fast) ease;
}

.lang-btn:hover {
  opacity: 0.9;
  background: rgba(126, 184, 255, 0.1);
}

.lang-btn.is-active {
  opacity: 1;
  background: rgba(126, 184, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(126, 184, 255, 0.35);
}

.lang-btn:active { transform: scale(0.94); }

.lang-flag {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.lang-flag--gb {
  background-color: #012169;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff),
    linear-gradient(#c8102e, #c8102e),
    linear-gradient(#c8102e, #c8102e);
  background-size: 100% 28%, 28% 100%, 100% 16%, 16% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.lang-flag--it {
  background: linear-gradient(
    90deg,
    #009246 0 33.33%,
    #fff 33.33% 66.66%,
    #ce2b37 66.66% 100%
  );
}

.ce-header .lang-switch,
.ao-header .lang-switch {
  margin-left: auto;
  margin-right: 8px;
}

/* Match story (Action → Andamento) */
.match-narrative {
  padding: 6px 4px 10px;
  min-height: 180px;
}

.match-story-headline {
  margin: 0 0 14px;
  font-family: var(--font-display, Oxanium, Figtree, sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
}

.match-story-body {
  display: grid;
  gap: 11px;
}

.match-story-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.match-story-body p:first-child {
  color: var(--text);
}

.match-story-next {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
}

.match-story-next span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, var(--text-soft));
}

.pick-confirm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.pick-confirm-odds {
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 0.8rem;
  color: var(--text-soft);
}

html.theme-switching,
html.theme-switching * {
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease !important;
}

@media (max-width: 600px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-strip .meta-item {
  transition:
    background var(--dur-med) ease,
    border-color var(--dur-med) ease;
}

.status-strip .meta-item.gp-flash {
  animation: gp-flash 0.7s var(--ease-out);
}

.tab-rail button {
  transition:
    color var(--dur-fast) ease,
    background var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out);
}

.tab-rail button:active { transform: scale(0.96); }

.quote-bubble {
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease;
}

.quote-bubble.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 255, 60, 0.15);
}

.chart-canvas .pressure-svg.gp-chart-enter {
  animation: chart-fade 0.45s var(--ease-out) both;
}

.chart-canvas .pressure-svg.gp-chart-enter polyline {
  stroke-dasharray: 1500;
  animation: chart-draw 0.9s var(--ease-out) both;
}

.pnl-svg {
  transition: opacity var(--dur-med) ease;
}

.pnl-svg.gp-chart-enter {
  animation: chart-fade 0.45s var(--ease-out) both;
}

.pnl-svg.gp-chart-enter polyline {
  stroke-dasharray: 1200;
  animation: chart-draw 1.1s var(--ease-out) both;
}

@keyframes chart-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes chart-draw {
  from { stroke-dashoffset: 1800; }
  to { stroke-dashoffset: 0; }
}

html.app-ready .app-header {
  animation: header-slide 0.5s var(--ease-out) both;
}

html.app-ready .match-rail {
  animation: page-rise 0.55s var(--ease-out) 0.06s both;
}

html.app-ready .workspace {
  animation: page-rise 0.55s var(--ease-out) 0.12s both;
}

html.app-ready .status-strip .meta-item:nth-child(1) { animation: page-rise 0.45s var(--ease-out) 0.08s both; }
html.app-ready .status-strip .meta-item:nth-child(2) { animation: page-rise 0.45s var(--ease-out) 0.12s both; }
html.app-ready .status-strip .meta-item:nth-child(3) { animation: page-rise 0.45s var(--ease-out) 0.16s both; }
html.app-ready .status-strip .meta-item:nth-child(4) { animation: page-rise 0.45s var(--ease-out) 0.2s both; }

#watchPanel:not(.hidden) {
  animation: page-rise 0.4s var(--ease-out) both;
}

.empty-hero,
.empty-state {
  animation: page-rise 0.4s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .match-node:hover,
  .watch-orb:hover,
  .log-entry:hover,
  .stat-tile:hover,
  .quote-bubble.primary:hover {
    transform: none;
  }
}

/* ── Login page ── */
.login-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(20px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  background: var(--bg);
}

.login-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.login-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.login-bg-glow--top {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  top: -28%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(126, 184, 255, 0.14);
}

.login-bg-glow--bottom {
  width: min(420px, 75vw);
  height: min(420px, 75vw);
  bottom: -22%;
  right: -8%;
  background: rgba(214, 255, 60, 0.1);
}

.login-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(126, 184, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 184, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  margin: 0 auto;
}

.login-card {
  padding: 32px 28px 28px;
  border-radius: 20px;
  border: 1px solid rgba(126, 184, 255, 0.18);
  background: var(--login-card-bg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(126, 184, 255, 0.08);
}

.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.login-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(126, 184, 255, 0.14), rgba(214, 255, 60, 0.1));
  border: 1px solid rgba(126, 184, 255, 0.26);
  box-shadow: 0 12px 32px rgba(126, 184, 255, 0.14);
}

.login-logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.login-logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.login-title {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.login-subtitle {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.login-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.login-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(126, 184, 255, 0.08);
  border: 1px solid rgba(126, 184, 255, 0.16);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.login-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.login-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.login-field input::placeholder {
  color: var(--text-muted);
}

.login-field input:focus {
  outline: none;
  border-color: rgba(126, 184, 255, 0.65);
  background: var(--input-bg);
  box-shadow: 0 0 0 3px rgba(126, 184, 255, 0.16);
}

.login-password {
  position: relative;
  width: 100%;
}

.login-password input {
  padding-right: 48px;
}

.login-eye {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border-radius: 0 12px 12px 0;
  transition: color 0.15s ease;
}

.login-eye:hover {
  color: var(--home);
}

.login-eye svg {
  width: 20px;
  height: 20px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
  cursor: pointer;
  user-select: none;
}

.login-remember input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.login-remember-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.login-remember-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.12s ease;
}

.login-remember input:checked + .login-remember-box {
  background: var(--accent-gradient);
  border-color: var(--gp-pulse);
}

.login-remember input:checked + .login-remember-box::after {
  transform: rotate(45deg) scale(1);
}

.login-remember input:focus-visible + .login-remember-box {
  outline: 2px solid var(--home);
  outline-offset: 2px;
}

.login-remember-text {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.3;
}

.login-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--accent-gradient);
  box-shadow: 0 10px 28px var(--gp-pulse-glow);
  transition: transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.login-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(214, 255, 60, 0.36);
}

.login-submit:active:not(:disabled) {
  transform: translateY(0);
}

.login-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.login-error {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 46, 77, 0.35);
  background: rgba(255, 46, 77, 0.1);
  color: #ff8b87;
  font-size: 0.84rem;
  line-height: 1.4;
}

.login-footnote {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

html.pwa-standalone .login-page {
  padding-top: max(28px, env(safe-area-inset-top));
}

@media (max-width: 480px) {
  .login-card {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }

  .login-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .login-logo-mark {
    width: 40px;
    height: 40px;
  }

  .login-form {
    gap: 16px;
  }
}

/* GoalPulse intelligence panels */
.signal-tag.good {
  color: var(--success, #d6ff3c);
  border-color: color-mix(in srgb, var(--success, #d6ff3c) 38%, transparent);
  background: color-mix(in srgb, var(--success, #d6ff3c) 10%, transparent);
}
.compact-stream {
  max-height: 420px;
  overflow: auto;
}
.intelligence-grid .panel {
  min-height: 220px;
}


/* GoalPulse 4.1 manual price actions */
.manual-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.manual-action {
  border: 1px solid var(--border);
  background: var(--chip-bg);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.manual-take {
  border-color: rgba(214, 255, 60, 0.4);
  background: var(--gp-pulse-soft);
  color: var(--value);
}
.manual-skip {
  border-color: rgba(255, 46, 77, 0.28);
  color: #ff8b87;
}
.manual-action:hover { transform: translateY(-1px); }

/* ── Tipster desk layout ── */
.tipster-rail.match-rail {
  margin: 0;
  padding: 4px 0 0;
  background: transparent;
  border: none;
}

.tipster-rail .match-rail-head h2 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.tipster-stage {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.decision-desk,
.match-context {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.decision-desk {
  position: sticky;
  top: 108px;
}

.desk-intel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tipster-track {
  margin-top: 4px;
}

.tipster-decision {
  border-color: rgba(214, 255, 60, 0.16);
  box-shadow:
    var(--panel-shadow),
    0 0 0 1px rgba(214, 255, 60, 0.04);
}

.tipster-decision.is-ready {
  animation: tipster-ready 1.8s ease-in-out 1;
}

.tipster-body {
  padding: 18px 18px 20px;
}

.tipster-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 12px;
  text-align: center;
}

.tipster-empty strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-soft);
}

.tipster-empty span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.desk-briefing {
  margin: 0 0 16px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(160deg, rgba(168, 176, 186, 0.08), transparent 55%),
    var(--stat-inset);
}

.desk-briefing[data-tone="hot"] {
  border-color: rgba(214, 255, 60, 0.3);
  background:
    linear-gradient(160deg, rgba(214, 255, 60, 0.14), transparent 60%),
    var(--stat-inset);
}

.desk-briefing[data-tone="warm"] {
  border-color: rgba(255, 159, 28, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 159, 28, 0.12), transparent 60%),
    var(--stat-inset);
}

.desk-briefing-kicker {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.desk-briefing-headline {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
}

.desk-briefing-story,
.desk-briefing-blockers ul {
  margin: 0;
  padding: 0 0 0 1.05rem;
  display: grid;
  gap: 5px;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.4;
}

.desk-briefing-story {
  margin-bottom: 12px;
}

.desk-briefing-label {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
}

.desk-briefing-blockers {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 159, 28, 0.08);
  border: 1px solid rgba(255, 159, 28, 0.16);
}

.desk-briefing-blockers ul {
  color: var(--text);
}

.desk-briefing-next {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.desk-briefing-next span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home);
}

.tipster-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--stat-inset);
  border: 1px solid var(--border-soft);
}

.tipster-status[data-tone="hot"] {
  border-color: rgba(214, 255, 60, 0.28);
  background: linear-gradient(135deg, rgba(214, 255, 60, 0.12), rgba(126, 184, 255, 0.06));
}

.tipster-status[data-tone="cold"] {
  border-color: rgba(126, 184, 255, 0.18);
  background: rgba(126, 184, 255, 0.06);
}

.tipster-status-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tipster-status-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.signal-card.tipster-card {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.tipster-type {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home);
}

.tipster-pick {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 16px;
}

.tipster-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.tipster-quotes .quote-bubble {
  min-width: 0;
  padding: 12px 10px;
  text-align: center;
}

.tipster-quotes .quote-bubble strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.tipster-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.tipster-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  border-radius: var(--radius);
  background: var(--stat-tile-bg);
  border: 1px solid var(--border-soft);
  text-align: center;
}

.tipster-kpi small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tipster-kpi strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tipster-kpi strong.positive { color: var(--value); }

.tipster-details {
  margin-top: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

.tipster-details > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 0;
  user-select: none;
}

.tipster-details > summary::-webkit-details-marker { display: none; }

.tipster-details[open] > summary {
  color: var(--home);
  margin-bottom: 8px;
}

.tipster-details .detail-row,
.tipster-details .reason-list,
.tipster-details .threshold-bar,
.tipster-details .threshold-checks,
.tipster-details .threshold-caption {
  margin-left: 0;
}

/* Hero tipster polish */
.hero-shell {
  padding: 28px 24px 22px;
}

.radar-core-score {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-stats {
  grid-template-columns: repeat(5, 1fr);
}

.empty-hero h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Signal tickets */
.log-entry.ticket-entry {
  gap: 12px;
  padding: 14px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius-lg);
  background: var(--signal-card-bg);
  border: 1px solid var(--border-soft);
}

.log-entry.ticket-entry:hover {
  border-color: var(--border);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.ticket-pick {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
}

.ticket-meta small {
  display: inline;
}

.log-odd .ticket-odds {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

@keyframes tipster-ready {
  0%, 100% { box-shadow: var(--panel-shadow), 0 0 0 1px rgba(214, 255, 60, 0.04); }
  40% { box-shadow: var(--panel-shadow), 0 0 0 1px rgba(214, 255, 60, 0.28), 0 0 28px rgba(214, 255, 60, 0.12); }
}

@media (min-width: 1100px) {
  .workspace--tipster .tipster-rail { order: 0; }
  .workspace--tipster .tipster-stage { order: 1; }
  .workspace--tipster .tipster-track { order: 2; }
}

@media (max-width: 1099px) {
  .decision-desk {
    position: static;
  }

  .tipster-stage {
    display: contents;
  }

  .workspace--tipster .decision-desk { order: 1; }
  .workspace--tipster .tipster-rail { order: 2; }
  .workspace--tipster .match-context { order: 3; }
  .workspace--tipster .tipster-track { order: 4; }

  .desk-intel {
    grid-template-columns: 1fr;
  }

  .tipster-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tipster-quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tipster-quotes {
    grid-template-columns: 1fr;
  }

  .tipster-pick {
    font-size: 1.45rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats .hero-stat:last-child {
    grid-column: 1 / -1;
  }
}

/* ── Login tipster premium ── */
.login-page.login-page--tipster {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}

.login-page--tipster .login-bg {
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(126, 184, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(214, 255, 60, 0.1), transparent 50%),
    linear-gradient(165deg, var(--gp-void) 0%, var(--gp-depth) 45%, var(--gp-void) 100%);
}

html[data-theme="light"] .login-page--tipster .login-bg {
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(47, 111, 214, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(143, 179, 0, 0.1), transparent 50%),
    linear-gradient(165deg, #f2f4f7 0%, #e4ecf8 45%, #f2f4f7 100%);
}

.login-page--tipster .login-bg-glow--top {
  width: min(720px, 100vw);
  height: min(480px, 70vh);
  top: -18%;
  background: rgba(126, 184, 255, 0.2);
  filter: blur(100px);
}

.login-page--tipster .login-bg-glow--bottom {
  width: min(560px, 85vw);
  height: min(420px, 55vh);
  bottom: -18%;
  left: -10%;
  right: auto;
  background: rgba(214, 255, 60, 0.14);
}

.login-page--tipster .login-bg-grid {
  opacity: 0.35;
  background-size: 48px 48px;
}

.login-shell--tipster {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(28px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.login-card--tipster {
  width: min(440px, 100%);
  padding: 36px 32px 28px;
  border-radius: 24px;
  animation: page-rise 0.65s var(--ease-out) both;
}

.login-header--tipster {
  text-align: center;
  margin-bottom: 28px;
}

.login-page--tipster .login-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  animation: page-rise 0.7s var(--ease-out) 0.05s both;
}

.login-page--tipster .login-logo-mark {
  width: 52px;
  height: 52px;
}

.login-title--tipster {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0 0 10px;
  animation: page-rise 0.7s var(--ease-out) 0.1s both;
}

.login-subtitle--tipster {
  max-width: 28ch;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-soft);
  animation: page-rise 0.7s var(--ease-out) 0.16s both;
}

.login-page--tipster .login-form {
  animation: page-rise 0.7s var(--ease-out) 0.22s both;
}

.login-page--tipster .login-submit {
  margin-top: 6px;
  min-height: 50px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease,
    filter var(--dur-fast) ease;
}

.login-page--tipster .login-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(214, 255, 60, 0.22);
}

.login-page--tipster .login-footnote {
  margin-top: 18px;
  animation: page-rise 0.7s var(--ease-out) 0.28s both;
}

@media (max-width: 600px) {
  .login-card--tipster {
    padding: 28px 20px 22px;
    border-radius: 20px;
  }
}

/* ── Pitch Fresh imagery ── */
.login-page--fresh .login-bg {
  background: #121417;
}

.login-bg-photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.login-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
  animation: login-photo-drift 28s ease-in-out infinite alternate;
}

.login-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(18, 20, 23, 0.82) 0%, rgba(18, 20, 23, 0.55) 42%, rgba(18, 20, 23, 0.35) 100%),
    linear-gradient(180deg, rgba(18, 20, 23, 0.2) 0%, rgba(18, 20, 23, 0.72) 100%);
}

html[data-theme="light"] .login-bg-veil {
  background:
    linear-gradient(115deg, rgba(236, 238, 242, 0.78) 0%, rgba(236, 238, 242, 0.45) 48%, rgba(226, 229, 234, 0.28) 100%),
    linear-gradient(180deg, rgba(236, 238, 242, 0.15) 0%, rgba(236, 238, 242, 0.72) 100%);
}

.login-page--fresh .login-card--tipster {
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(168, 176, 186, 0.22);
  background: var(--login-card-bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.empty-hero--visual {
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: left;
  min-height: 220px;
  display: grid;
  align-items: end;
}

.empty-hero-visual {
  position: absolute;
  inset: 0;
}

.empty-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(1.05);
}

.empty-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 20, 23, 0.18) 0%, rgba(18, 20, 23, 0.78) 72%, rgba(18, 20, 23, 0.92) 100%);
}

html[data-theme="light"] .empty-hero-visual::after {
  background: linear-gradient(180deg, rgba(236, 238, 242, 0.1) 0%, rgba(20, 22, 26, 0.45) 70%, rgba(20, 22, 26, 0.72) 100%);
}

.empty-hero-copy {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
}

.empty-hero-copy h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f2f4f7;
}

.empty-hero-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(242, 244, 247, 0.78);
}

.hero-shell {
  background-image:
    var(--hero-spot),
    linear-gradient(165deg, rgba(34, 38, 45, 0.78) 0%, rgba(18, 20, 23, 0.9) 100%),
    var(--img-pitch);
  background-size: auto, auto, cover;
  background-position: center, center, center 48%;
  background-repeat: no-repeat;
}

html[data-theme="light"] .hero-shell {
  background-image:
    var(--hero-spot),
    linear-gradient(165deg, rgba(255, 255, 255, 0.82) 0%, rgba(236, 238, 242, 0.9) 100%),
    var(--img-pitch);
}

.tipster-rail.match-rail {
  position: relative;
}

.tipster-rail.match-rail:not(.live-strip)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  pointer-events: none;
  opacity: 0.18;
  background: var(--img-pitch) center 40% / cover no-repeat;
  mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
  border-radius: var(--radius-xl);
}

@keyframes login-photo-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .login-bg-photo img {
    animation: none;
  }
}

/* ── Spotlight layout v21 ── */
.eyebrow {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home);
}

.app-header--slim {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.app-header--slim .toolbar {
  gap: 14px;
  padding: 12px 22px;
  padding-top: max(12px, env(safe-area-inset-top));
  align-items: center;
}

.app-header--slim .brand-name {
  font-size: 1.28rem;
}

.status-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.status-inline::-webkit-scrollbar { display: none; }

.meta-inline {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
}

.meta-inline .meta-label {
  font-size: 0.58rem;
}

.meta-inline strong {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.meta-inline.meta-item--scan { border-color: rgba(126, 184, 255, 0.28); }
.meta-inline.meta-item--api { border-color: rgba(214, 255, 60, 0.28); }
.meta-inline.meta-item--watch { border-color: rgba(255, 159, 28, 0.28); }
.meta-inline.meta-item--commit { border-color: rgba(168, 176, 186, 0.28); }

.workspace--spotlight {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 22px 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.live-strip {
  position: relative;
  padding: 18px 18px 8px;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(160deg, rgba(34, 38, 45, 0.72), rgba(18, 20, 23, 0.55)),
    var(--img-pitch) center 40% / cover no-repeat;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
}

html[data-theme="light"] .live-strip {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(236, 238, 242, 0.78)),
    var(--img-pitch) center 40% / cover no-repeat;
}

.live-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 20, 23, 0.2), transparent 40%, rgba(18, 20, 23, 0.25));
}

.live-strip-head,
.live-strip .match-radar-list {
  position: relative;
  z-index: 1;
}

.live-strip-head {
  margin-bottom: 14px;
}

.live-strip-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--text);
}

.live-strip .match-radar-list {
  padding-bottom: 14px;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.45fr);
  gap: 20px;
  align-items: start;
}

.spotlight-decision,
.spotlight-match {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.spotlight-decision {
  position: sticky;
  top: 84px;
}

.spotlight-panel {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--panel-bg);
  border: 1px solid rgba(168, 176, 186, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme="light"] .spotlight-panel {
  border-color: rgba(20, 22, 26, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 249, 0.96));
}

.panel-head--quiet {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
  align-items: flex-start;
}

.panel-head--quiet h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--text);
}

.panel-head--quiet h3::before {
  display: none;
}

.spotlight-hero {
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
}

.spotlight-hero .empty-hero--visual,
.spotlight-hero .hero-shell {
  min-height: 280px;
  border-radius: 24px;
}

.spotlight-hero .radar-core-score {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
}

.context-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.context-split .panel-chart {
  min-width: 0;
}

.context-split .chart-canvas {
  margin: 0 16px 14px;
}

.intel-drawer {
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: rgba(22, 25, 30, 0.45);
  padding: 0;
  overflow: hidden;
}

html[data-theme="light"] .intel-drawer {
  background: rgba(255, 255, 255, 0.7);
}

.intel-drawer > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.02em;
  user-select: none;
}

.intel-drawer > summary::-webkit-details-marker { display: none; }

.intel-drawer-hint {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.intel-drawer[open] > summary {
  border-bottom: 1px solid var(--border-soft);
  color: var(--home);
}

.intel-drawer .desk-intel {
  padding: 14px;
}

.ledger-band {
  gap: 16px;
}

.workspace--spotlight .tipster-decision {
  border-color: rgba(214, 255, 60, 0.22);
  box-shadow:
    var(--panel-shadow),
    0 0 0 1px rgba(214, 255, 60, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.18);
}

.workspace--spotlight .tipster-pick {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
}

.workspace--spotlight .match-node {
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.workspace--spotlight .ticket-entry {
  border-radius: 16px;
}

@media (max-width: 1099px) {
  .spotlight {
    display: contents;
  }

  .workspace--spotlight .spotlight-decision { order: 1; position: static; }
  .workspace--spotlight .live-strip { order: 2; }
  .workspace--spotlight .spotlight-match { order: 3; }
  .workspace--spotlight .intel-drawer { order: 4; }
  .workspace--spotlight .ledger-band { order: 5; }

  .context-split {
    grid-template-columns: 1fr;
  }

  .status-inline {
    display: none;
  }
}

@media (max-width: 760px) {
  .pressure-scoreboard {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pressure-center {
    order: -1;
  }

  .pressure-side.away {
    justify-content: flex-start;
    text-align: left;
  }

  .pressure-side b,
  .pressure-center b {
    max-width: 70vw;
  }

  .chart-canvas .pressure-svg {
    min-height: 280px;
    aspect-ratio: 5 / 4;
  }

  .app-header--slim .toolbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .workspace--spotlight {
    padding: 14px 12px 48px;
    gap: 16px;
  }

  .live-strip {
    padding: 14px 12px 6px;
    border-radius: 18px;
  }

  .live-strip-head h2 {
    font-size: 1.15rem;
  }

  .spotlight-panel,
  .spotlight-hero,
  .spotlight-hero .empty-hero--visual,
  .spotlight-hero .hero-shell {
    border-radius: 18px;
  }
}

@media (min-width: 1100px) {
  .workspace--spotlight .live-strip { order: 0; }
  .workspace--spotlight .spotlight { order: 1; }
  .workspace--spotlight .intel-drawer { order: 2; }
  .workspace--spotlight .ledger-band { order: 3; }
}


.mobile-perf-strip {
  display: none;
  margin: 10px 12px 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: var(--stat-tile-bg);
  gap: 8px 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mobile-perf-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-perf-strip b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1099px) {
  .mobile-perf-strip:not(.hidden) {
    display: flex;
  }

  .workspace--spotlight .ledger-band {
    order: 2;
  }

  .workspace--spotlight .spotlight {
    order: 3;
  }

  .workspace--spotlight .intel-drawer {
    order: 4;
  }
}

/* ── Desk Clarity v2: clearer tipster flow ── */
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.desk-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(120deg, rgba(214, 255, 60, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--panel-bg);
  animation: desk-guide-in 0.55s var(--ease-out) both;
}

html[data-theme="light"] .desk-guide {
  background:
    linear-gradient(120deg, rgba(143, 179, 0, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff, #f3f4f7);
}

@keyframes desk-guide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.desk-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.desk-guide-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  transition: opacity var(--dur-fast) ease, transform var(--dur-med) var(--ease-out);
}

.desk-guide-step.is-active,
.desk-guide-step.is-done {
  opacity: 1;
}

.desk-guide-step.is-active {
  transform: translateY(-1px);
}

.desk-guide-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--chip-bg);
  border: 1px solid var(--border-soft);
}

.desk-guide-step.is-active .desk-guide-num {
  color: var(--btn-fg);
  background: var(--accent-gradient);
  border-color: transparent;
}

.desk-guide-step.is-done .desk-guide-num {
  color: var(--value);
  border-color: rgba(214, 255, 60, 0.35);
  background: var(--value-soft);
}

.desk-guide-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.desk-guide-copy strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.desk-guide-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.desk-guide-hint {
  margin: 0;
  max-width: 34ch;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-soft);
}

.app--desk-clarity .desk-primary {
  border-color: rgba(214, 255, 60, 0.28);
  box-shadow:
    var(--panel-shadow),
    0 0 0 1px rgba(214, 255, 60, 0.08);
}

.app--desk-clarity .tipster-decision.is-ready {
  border-color: rgba(214, 255, 60, 0.45);
  box-shadow:
    var(--panel-shadow),
    0 0 0 1px rgba(214, 255, 60, 0.16),
    0 22px 50px rgba(0, 0, 0, 0.2);
}

.app--desk-clarity .tipster-decision.is-ready .panel-head--quiet h3 {
  color: var(--value);
}

.app--desk-clarity .tipster-empty--guide {
  padding: 28px 18px 32px;
  text-align: left;
  gap: 8px;
}

.app--desk-clarity .tipster-empty--guide strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.app--desk-clarity .tipster-empty--guide span {
  max-width: 34ch;
  color: var(--text-soft);
  line-height: 1.45;
}

.app--desk-clarity .tipster-status {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
}

.app--desk-clarity .tipster-status[data-tone="hot"] {
  border-color: rgba(214, 255, 60, 0.35);
  background: linear-gradient(120deg, rgba(214, 255, 60, 0.14), transparent 70%);
}

.app--desk-clarity .tipster-status-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--value);
  margin-bottom: 4px;
}

.app--desk-clarity .tipster-status[data-tone="cold"] .tipster-status-label {
  color: var(--home);
}

.app--desk-clarity .tipster-status-sub {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text);
}

.app--desk-clarity .tipster-action-callout {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(214, 255, 60, 0.35);
  background: rgba(214, 255, 60, 0.08);
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text);
}

.app--desk-clarity .tipster-action-callout strong {
  color: var(--value);
  font-family: var(--mono);
}

.app--desk-clarity .desk-action {
  border-style: dashed;
}

.app--desk-clarity .desk-primary.is-focus,
.app--desk-clarity .desk-action.is-focus {
  border-color: rgba(214, 255, 60, 0.42);
  box-shadow:
    var(--panel-shadow),
    0 0 0 1px rgba(214, 255, 60, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.16);
}

.app--desk-clarity .desk-action.is-focus {
  border-style: solid;
  background:
    linear-gradient(160deg, rgba(214, 255, 60, 0.1), transparent 55%),
    var(--panel-bg);
}

.app--desk-clarity .live-strip-head .eyebrow,
.app--desk-clarity .panel-head--quiet .eyebrow {
  color: var(--home);
}

.app--desk-clarity .match-node {
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-med) ease;
}

.app--desk-clarity .match-node:hover {
  transform: translateY(-2px);
}

.app--desk-clarity .match-node.active {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(214, 255, 60, 0.28);
}

.app--desk-clarity .match-node.status-valore,
.app--desk-clarity .match-node.status-controlla {
  border-color: rgba(214, 255, 60, 0.35);
}

.app--desk-clarity .intel-drawer,
.app--desk-clarity .ledger-band {
  opacity: 0.96;
}

.app--desk-clarity .workspace--spotlight {
  gap: 18px;
}

@media (max-width: 1099px) {
  .desk-guide {
    flex-direction: column;
    align-items: stretch;
  }

  .desk-guide-hint {
    max-width: none;
  }

  .workspace--spotlight .desk-guide { order: 0; }
  .workspace--spotlight .live-strip { order: 1; }
  .workspace--spotlight .spotlight-decision { order: 2; }
  .workspace--spotlight .spotlight-match { order: 3; }
  .workspace--spotlight .intel-drawer { order: 4; }
  .workspace--spotlight .ledger-band { order: 5; }
}

@media (max-width: 640px) {
  .desk-guide-steps {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .desk-guide-copy em {
    display: none;
  }

  .brand-tagline {
    display: none;
  }
}

/* ═══════════════════════════════════════════════
   Ashfield Volt — structural skin (never-seen desk)
   ═══════════════════════════════════════════════ */

.app--ashfield .app-header {
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

.app--ashfield .app-header::after {
  display: none;
}

.app--ashfield .brand-name {
  letter-spacing: -0.02em;
  text-transform: none;
  font-size: 1.08rem;
  font-weight: 700;
}

.app--ashfield .brand-tagline {
  font-family: var(--font);
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 1;
  text-transform: none;
}

.app--ashfield .brand-lockup {
  position: relative;
  padding-left: 0;
}

.app--ashfield .brand-lockup::before {
  display: none;
}

@keyframes volt-bar {
  0%, 100% { transform: scaleY(0.7); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.app--ashfield .panel,
.app--ashfield .live-strip,
.app--ashfield .desk-guide,
.app--ashfield .match-node,
.app--ashfield .signal-card,
.app--ashfield .quote-candidate,
.app--ashfield .stat-tile,
.app--ashfield .log-entry {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--panel-shadow) !important;
}

.app--ashfield .panel {
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.app--ashfield .panel::before {
  display: none;
}

.app--ashfield .eyebrow {
  font-family: var(--font);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted) !important;
}

.app--ashfield .panel-head h2,
.app--ashfield .panel-head h3,
.app--ashfield .live-strip-head h2 {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.app--ashfield .desk-guide {
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--gp-pulse);
  background: var(--panel-bg) !important;
  clip-path: none;
  animation: none;
}

html[data-theme="light"] .app--ashfield .desk-guide {
  background: var(--panel-bg) !important;
}

.app--ashfield .desk-guide-num {
  border-radius: 4px !important;
  font-family: var(--mono);
  clip-path: none;
}

.app--ashfield .desk-guide-step.is-active .desk-guide-num {
  background: var(--gp-pulse) !important;
  color: var(--btn-fg) !important;
}

.app--ashfield .desk-guide-copy strong {
  text-transform: none;
  letter-spacing: 0;
}

.app--ashfield .match-node {
  border: 1px solid var(--border-soft);
  border-left: 2px solid transparent;
  background: var(--card-bg);
  clip-path: none;
}

.app--ashfield .match-node:hover {
  border-left-color: var(--gp-strike);
  transform: none;
}

.app--ashfield .match-node.active {
  border-left-color: var(--gp-pulse);
  border-color: rgba(214, 255, 60, 0.35);
  background: var(--card-bg-active);
}

.app--ashfield .match-node.status-valore,
.app--ashfield .match-node.status-controlla {
  border-left-color: var(--gp-pulse);
}

.app--ashfield .node-odds {
  font-family: var(--mono);
  color: var(--gp-pulse);
}

.app--ashfield .tipster-decision.is-ready,
.app--ashfield .desk-primary.is-focus,
.app--ashfield .desk-action.is-focus {
  border-color: rgba(214, 255, 60, 0.35) !important;
  box-shadow: var(--panel-shadow) !important;
}

.app--ashfield .tipster-status {
  border-radius: 6px !important;
  border-left: 2px solid var(--gp-pulse);
  clip-path: none;
}

.app--ashfield .tipster-status[data-tone="hot"] {
  background: rgba(214, 255, 60, 0.08) !important;
  border-color: rgba(214, 255, 60, 0.28) !important;
}

.app--ashfield .tipster-status-label {
  font-family: var(--font);
  color: var(--gp-pulse) !important;
}

.app--ashfield .tipster-action-callout {
  border-radius: var(--radius) !important;
  border: 1px solid rgba(214, 255, 60, 0.4) !important;
  border-style: solid !important;
  background: rgba(214, 255, 60, 0.08) !important;
  font-family: var(--font);
}

.app--ashfield .tipster-pick {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: -0.01em;
}

.app--ashfield .quote-bubble strong,
.app--ashfield .tipster-kpi strong {
  font-family: var(--mono);
}

.app--ashfield .quote-bubble.primary {
  border-color: rgba(214, 255, 60, 0.4);
  background: rgba(214, 255, 60, 0.08);
}

.app--ashfield .chip-toggle,
.app--ashfield .tab-rail button,
.app--ashfield .btn-ghost,
.app--ashfield .theme-toggle {
  border-radius: var(--radius) !important;
}

.app--ashfield .signal-tag {
  border-radius: 2px !important;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.app--ashfield .count-badge {
  border-radius: 2px !important;
  font-family: var(--mono);
}

/* Login — Ashfield */
.login-page--ashfield {
  --login-card-bg: #1a1d22;
}

.login-page--ashfield .login-bg {
  background: #121417 !important;
}

.login-page--ashfield .login-bg-photo {
  opacity: 0.14;
  filter: grayscale(0.35) contrast(1.05);
}

.login-page--ashfield .login-bg-glow {
  display: none !important;
}

.login-page--ashfield .login-card--tipster {
  border: 1px solid rgba(242, 244, 247, 0.1);
  border-left: 1px solid rgba(242, 244, 247, 0.1);
  border-radius: 10px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
  clip-path: none;
  backdrop-filter: none;
  background: var(--login-card-bg);
}

.login-page--ashfield .login-title {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: -0.02em;
}

.login-page--ashfield .login-subtitle {
  font-family: var(--font);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.login-page--ashfield .login-submit {
  border-radius: 8px !important;
  background: var(--gp-pulse) !important;
  color: var(--btn-fg) !important;
  font-family: var(--font);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 650;
  box-shadow: none !important;
  clip-path: none;
}

.login-page--ashfield input {
  border-radius: 8px !important;
  border-color: var(--border-soft) !important;
  font-family: var(--font);
}

html[data-theme="light"] .login-page--ashfield {
  --login-card-bg: #ffffff;
}

html[data-theme="light"] .login-page--ashfield .login-bg {
  background: #eceef2 !important;
}

html[data-theme="light"] .login-page--ashfield .login-card--tipster {
  box-shadow: 0 12px 28px rgba(20, 22, 26, 0.08) !important;
  border-color: rgba(20, 22, 26, 0.1);
}

/* Intentional motion: live strip scan */
.app--ashfield .live-strip-head {
  position: relative;
}

.app--ashfield .live-strip-head::after {
  display: none;
}

.app--ashfield .tipster-decision.is-ready .panel-head--quiet h3 {
  animation: none;
  color: var(--gp-pulse);
}

/* ═══════════════════════════════════════════════
   Focus Desk — less clutter, faster decisions
   ═══════════════════════════════════════════════ */

.app--focus-desk .workspace--focus {
  gap: 14px;
  padding-top: 14px;
}

.app--focus-desk .focus-hint {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--gp-pulse);
  border-radius: var(--radius);
  background: rgba(214, 255, 60, 0.06);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text);
}

.app--focus-desk .focus-meta-secondary {
  display: none;
}

.app--focus-desk .live-strip {
  border-radius: var(--radius-xl);
  padding: 12px 14px 4px;
}

.app--focus-desk .live-strip-head {
  margin-bottom: 8px;
}

.app--focus-desk .live-strip-head h2 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app--focus-desk .live-strip-head .eyebrow {
  display: none;
}

.app--focus-desk .focus-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 14px;
  align-items: start;
}

.app--focus-desk .focus-hero {
  min-height: 220px;
  border-radius: var(--radius-xl);
  position: sticky;
  top: 78px;
}

.app--focus-desk .focus-hero .empty-hero--visual,
.app--focus-desk .focus-hero .hero-shell {
  min-height: 220px;
}

.app--focus-desk .focus-hero .radar-core-score {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.app--focus-desk .focus-decision {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.app--focus-desk .focus-decision .panel-head--quiet {
  padding: 12px 14px 10px;
}

.app--focus-desk .focus-decision .panel-head--quiet .eyebrow {
  display: none;
}

.app--focus-desk .focus-decision h3 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app--focus-desk .desk-primary,
.app--focus-desk .desk-action {
  border-radius: var(--radius-lg) !important;
}

.app--focus-desk .tipster-body {
  padding: 12px 14px 16px;
}

.app--focus-desk .desk-briefing {
  margin-bottom: 10px;
  padding: 10px 12px;
}

.app--focus-desk .desk-briefing-story,
.app--focus-desk .desk-briefing-blockers {
  display: none;
}

.app--focus-desk .desk-briefing-headline {
  font-size: 0.98rem;
  margin: 0 0 4px;
}

.app--focus-desk .desk-briefing-kicker {
  display: none;
}

.app--focus-desk .tipster-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.app--focus-desk .tipster-details {
  margin-top: 8px;
}

.app--focus-desk .focus-drawer {
  border-radius: var(--radius-lg);
}

.app--focus-desk .focus-drawer > summary {
  padding: 12px 14px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app--focus-desk .focus-context {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  padding: 0 12px 12px;
}

.app--focus-desk .focus-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px 12px;
}

.app--focus-desk .desk-intel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px 12px;
}

.app--focus-desk .focus-guide-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app--focus-desk .ledger-band {
  margin: 0;
}

.app--focus-desk .match-node-league,
.app--focus-desk .match-node-foot .node-tag--phase {
  opacity: 0.85;
}

@media (max-width: 1099px) {
  .app--focus-desk .focus-board {
    grid-template-columns: 1fr;
  }

  .app--focus-desk .focus-hero {
    position: static;
    min-height: 180px;
  }

  .app--focus-desk .focus-hero .empty-hero--visual,
  .app--focus-desk .focus-hero .hero-shell {
    min-height: 180px;
  }

  .app--focus-desk .focus-context,
  .app--focus-desk .focus-ledger,
  .app--focus-desk .desk-intel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app--focus-desk .toolbar-actions .logout-btn {
    display: none;
  }

  .app--focus-desk .focus-hint {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════
   Focus Desk Beautify — premium Ashfield finish
   ═══════════════════════════════════════════════ */

.app--focus-desk {
  --focus-ink: #0e1014;
  --focus-panel: linear-gradient(165deg, rgba(40, 45, 54, 0.96) 0%, rgba(22, 25, 30, 0.98) 100%);
  --focus-panel-edge: rgba(214, 255, 60, 0.22);
  --focus-rail: rgba(214, 255, 60, 0.55);
  --focus-mist: rgba(242, 244, 247, 0.04);
}

html[data-theme="light"].app--focus-desk,
html[data-theme="light"] .app--focus-desk {
  --focus-ink: #14161a;
  --focus-panel: linear-gradient(165deg, #ffffff 0%, #f1f3f7 100%);
  --focus-panel-edge: rgba(143, 179, 0, 0.28);
  --focus-rail: rgba(143, 179, 0, 0.65);
  --focus-mist: rgba(20, 22, 26, 0.03);
}

.app.app--focus-desk::before,
.app.app--focus-desk::after {
  background: none;
  opacity: 0;
}

.app--focus-desk .app-header {
  border-bottom: 1px solid rgba(242, 244, 247, 0.06);
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-theme="light"] .app--focus-desk .app-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(20, 22, 26, 0.08);
}

.app--focus-desk .app-header::after {
  display: none;
}

.app--focus-desk .brand-name {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

.app--focus-desk .brand-tagline {
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.app--focus-desk .brand-mark {
  width: 36px;
  height: 36px;
  transition: none;
}

.app--focus-desk .toolbar-brand:hover .brand-mark {
  transform: none;
}

.app--focus-desk .workspace--focus {
  gap: 16px;
  padding: 18px 22px 72px;
  max-width: 1320px;
}

.app--focus-desk .focus-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(214, 255, 60, 0.18);
  border-left: none;
  border-radius: 2px;
  background:
    linear-gradient(105deg, rgba(214, 255, 60, 0.1), transparent 48%),
    var(--focus-mist),
    rgba(26, 29, 34, 0.65);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  animation: focus-hint-in 0.5s var(--ease-out) both;
}

html[data-theme="light"] .app--focus-desk .focus-hint {
  background:
    linear-gradient(105deg, rgba(143, 179, 0, 0.1), transparent 48%),
    #ffffff;
  border-color: rgba(143, 179, 0, 0.22);
}

.app--focus-desk .focus-hint-mark {
  width: 8px;
  height: 28px;
  flex-shrink: 0;
  background: var(--gp-pulse);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  animation: volt-bar 2.2s ease-in-out infinite;
}

.app--focus-desk .focus-hint-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

@keyframes focus-hint-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.app--focus-desk .focus-live {
  position: relative;
  border-radius: 4px;
  border: 1px solid rgba(242, 244, 247, 0.08);
  padding: 14px 16px 6px;
  background:
    linear-gradient(160deg, rgba(18, 20, 23, 0.72), rgba(18, 20, 23, 0.88)),
    linear-gradient(115deg, rgba(214, 255, 60, 0.05), transparent 40%),
    var(--img-pitch) center 42% / cover no-repeat;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
  overflow: hidden;
  animation: focus-rise 0.55s var(--ease-out) 0.05s both;
}

html[data-theme="light"] .app--focus-desk .focus-live {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(236, 238, 242, 0.86)),
    linear-gradient(115deg, rgba(143, 179, 0, 0.06), transparent 40%),
    var(--img-pitch) center 42% / cover no-repeat;
  box-shadow: 4px 4px 0 rgba(20, 22, 26, 0.08);
  border-color: rgba(20, 22, 26, 0.08);
}

.app--focus-desk .focus-live::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gp-pulse), transparent);
  opacity: 0.7;
  animation: wire-scan 3.2s linear infinite;
}

.app--focus-desk .live-strip-head h2 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.app--focus-desk .count-badge {
  border-radius: 2px;
  font-family: var(--mono);
  border: 1px solid rgba(214, 255, 60, 0.25);
  background: rgba(214, 255, 60, 0.08);
  color: var(--gp-pulse);
  padding: 2px 7px;
}

.app--focus-desk .chip-toggle {
  border-radius: 2px !important;
  border: 1px solid rgba(242, 244, 247, 0.12);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.app--focus-desk .chip-toggle:hover,
.app--focus-desk .chip-toggle.active {
  border-color: rgba(214, 255, 60, 0.45);
  background: rgba(214, 255, 60, 0.1);
  color: var(--gp-pulse);
}

.app--focus-desk .match-node {
  border-radius: 2px !important;
  border: 1px solid rgba(242, 244, 247, 0.08);
  border-left: 3px solid transparent;
  background: rgba(18, 20, 23, 0.72);
  backdrop-filter: blur(6px);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition:
    transform 0.22s var(--ease-out),
    border-color 0.22s ease,
    background 0.22s ease;
}

html[data-theme="light"] .app--focus-desk .match-node {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(20, 22, 26, 0.08);
}

.app--focus-desk .match-node:hover {
  transform: translateY(-3px) translateX(1px);
  border-left-color: var(--gp-strike);
}

.app--focus-desk .match-node.active {
  border-left-color: var(--gp-pulse);
  border-color: rgba(214, 255, 60, 0.35);
  background:
    linear-gradient(120deg, rgba(214, 255, 60, 0.12), transparent 55%),
    rgba(26, 32, 22, 0.9);
  box-shadow: 4px 4px 0 rgba(214, 255, 60, 0.12);
}

.app--focus-desk .match-node-score {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.app--focus-desk .match-node-team {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.app--focus-desk .node-odds {
  font-family: var(--mono);
  color: var(--gp-pulse);
}

.app--focus-desk .focus-board {
  gap: 16px;
  animation: focus-rise 0.6s var(--ease-out) 0.1s both;
}

@keyframes focus-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.app--focus-desk .focus-hero {
  min-height: 280px;
  border-radius: 4px;
  border: 1px solid rgba(242, 244, 247, 0.1);
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

html[data-theme="light"] .app--focus-desk .focus-hero {
  box-shadow: 5px 5px 0 rgba(20, 22, 26, 0.08);
}

.app--focus-desk .focus-hero .empty-hero--visual,
.app--focus-desk .focus-hero .hero-shell {
  min-height: 280px;
  border-radius: 4px;
}

.app--focus-desk .focus-hero .empty-hero-visual img {
  filter: saturate(0.92) contrast(1.05);
}

.app--focus-desk .focus-hero .hero-shell:not(.hero-shell--theatre) {
  filter: saturate(0.92) contrast(1.05);
}

.app--focus-desk .focus-hero-kicker,
.app--focus-desk .empty-hero-copy .focus-hero-kicker {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gp-pulse);
}

.app--focus-desk .empty-hero-copy h2,
.app--focus-desk .focus-hero .radar-core-score {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.app--focus-desk .focus-hero .radar-core-score {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.app--focus-desk .focus-decision {
  gap: 14px;
}

.app--focus-desk .focus-panel {
  position: relative;
  border-radius: 4px !important;
  border: 1px solid rgba(242, 244, 247, 0.1) !important;
  background: var(--focus-panel) !important;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
}

html[data-theme="light"] .app--focus-desk .focus-panel {
  box-shadow: 4px 4px 0 rgba(20, 22, 26, 0.07) !important;
}

.app--focus-desk .focus-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--gp-pulse);
  z-index: 2;
}

.app--focus-desk .desk-primary.is-focus,
.app--focus-desk .tipster-decision.is-ready,
.app--focus-desk .desk-action.is-focus {
  border-color: var(--focus-panel-edge) !important;
  box-shadow:
    5px 5px 0 rgba(214, 255, 60, 0.16),
    0 0 0 1px rgba(214, 255, 60, 0.08) !important;
}

.app--focus-desk .focus-decision h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.app--focus-desk .signal-tag {
  border-radius: 2px !important;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  background: transparent;
}

.app--focus-desk .signal-tag.hot {
  color: var(--btn-fg);
  background: var(--gp-pulse);
  border-color: var(--gp-pulse);
}

.app--focus-desk .tipster-body {
  padding: 14px 16px 18px;
}

.app--focus-desk .desk-briefing {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 2px;
  border: 1px solid rgba(214, 255, 60, 0.16);
  background: linear-gradient(120deg, rgba(214, 255, 60, 0.08), transparent 70%);
}

.app--focus-desk .desk-briefing-headline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.app--focus-desk .desk-briefing-next {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.app--focus-desk .tipster-status {
  border-radius: 2px !important;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 244, 247, 0.08);
  border-left: 3px solid var(--gp-pulse);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.app--focus-desk .tipster-status[data-tone="hot"] {
  background: linear-gradient(115deg, rgba(214, 255, 60, 0.14), transparent 72%) !important;
}

.app--focus-desk .tipster-pick {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 4px 0 12px;
}

.app--focus-desk .tipster-quotes {
  gap: 8px;
  margin-bottom: 12px;
}

.app--focus-desk .quote-bubble {
  border-radius: 2px;
  border: 1px solid rgba(242, 244, 247, 0.1);
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 10px;
}

.app--focus-desk .quote-bubble.primary {
  border-color: rgba(214, 255, 60, 0.4);
  background: rgba(214, 255, 60, 0.1);
}

.app--focus-desk .quote-bubble strong {
  font-family: var(--mono);
  font-size: 1.15rem;
}

.app--focus-desk .tipster-kpi {
  border-radius: 2px;
  border: 1px solid rgba(242, 244, 247, 0.08);
  background: rgba(0, 0, 0, 0.16);
  padding: 8px 10px;
}

.app--focus-desk .tipster-kpi strong {
  font-family: var(--mono);
}

.app--focus-desk .tipster-action-callout {
  border-radius: 2px !important;
  border: 1px solid rgba(214, 255, 60, 0.35) !important;
  background:
    linear-gradient(105deg, rgba(214, 255, 60, 0.12), transparent 70%) !important;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.app--focus-desk .quote-candidate {
  border-radius: 2px;
  border: 1px solid rgba(242, 244, 247, 0.1);
  background: rgba(0, 0, 0, 0.16);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}

.app--focus-desk .quote-candidate.verified {
  border-color: rgba(214, 255, 60, 0.4);
  background: linear-gradient(120deg, rgba(214, 255, 60, 0.1), transparent 65%);
}

.app--focus-desk .manual-action {
  border-radius: 8px;
  font-family: var(--font);
  letter-spacing: 0.01em;
  text-transform: none;
}

.app--focus-desk .manual-take {
  background: var(--gp-pulse);
  color: var(--btn-fg);
  border: none;
  box-shadow: none;
  clip-path: none;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .glance-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tipster-card--glance .glance-top {
    flex-direction: column;
  }

  .tipster-card--glance .glance-min {
    width: 100%;
    text-align: left;
  }

  .desk-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .manual-actions.desk-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .manual-actions.desk-cta .manual-action {
    width: 100%;
    min-height: 56px;
    font-size: 1rem;
  }

  .value-toast-host {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
  }

  .value-toast {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

.app--focus-desk .manual-take:hover {
  background: #e8ff7a;
}

.app--focus-desk .focus-drawer {
  border-radius: 2px;
  border: 1px solid rgba(242, 244, 247, 0.08);
  background: rgba(22, 25, 30, 0.55);
  transition: border-color 0.2s ease;
}

html[data-theme="light"] .app--focus-desk .focus-drawer {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(20, 22, 26, 0.08);
}

.app--focus-desk .focus-drawer > summary {
  position: relative;
  padding: 14px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.app--focus-desk .focus-drawer > summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--gp-pulse);
  margin-left: auto;
  transition: transform 0.25s var(--ease-out);
}

.app--focus-desk .focus-drawer[open] > summary::after {
  content: "–";
}

.app--focus-desk .focus-drawer:hover {
  border-color: rgba(214, 255, 60, 0.22);
}

.app--focus-desk .tipster-empty--guide strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.app--focus-desk .btn-primary {
  letter-spacing: 0.1em;
}

@media (max-width: 1099px) {
  .app--focus-desk .workspace--focus {
    padding: 14px 14px 56px;
  }

  .app--focus-desk .focus-hero,
  .app--focus-desk .focus-hero .empty-hero--visual,
  .app--focus-desk .focus-hero .hero-shell {
    min-height: 200px;
  }

  .app--focus-desk .focus-live {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.22);
  }
}

/* ── Human desk pass: less neon / less template AI ── */
.app--focus-desk.app--ashfield::before,
.app--focus-desk.app--ashfield::after {
  opacity: 0.18;
  animation: none;
}

.app--focus-desk .workspace--focus {
  background: transparent !important;
}

.app--focus-desk .focus-hint {
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0;
}

.app--focus-desk .focus-hint.is-quiet,
.app--focus-desk .focus-hint:has(.focus-hint-text:empty) {
  display: none;
}

.app--focus-desk .focus-hint-mark {
  display: none;
}

.app--focus-desk .focus-live,
.app--focus-desk .focus-hero,
.app--focus-desk .focus-panel {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 28px rgba(0, 0, 0, 0.22) !important;
  border-color: rgba(242, 244, 247, 0.08) !important;
}

.app--focus-desk .focus-panel::before,
.app--focus-desk .focus-live::before,
.app--focus-desk .desk-primary::after,
.app--focus-desk .live-strip-head::after {
  display: none !important;
}

.app--focus-desk .chip-toggle,
.app--focus-desk .watch-queue-badge,
.app--focus-desk .count-badge,
.app--focus-desk .live-beacon,
.app--focus-desk .source-badge,
.app--focus-desk .why-chip,
.app--focus-desk .provider-chip,
.app--focus-desk .mode-tag,
.app--focus-desk .signal-tag {
  border-radius: 4px;
  box-shadow: none;
  letter-spacing: 0.02em;
  text-transform: none;
}

.app--focus-desk .chip-toggle.active,
.app--focus-desk .chip-toggle:hover {
  box-shadow: none;
}

.app--focus-desk .match-node {
  border-radius: 6px;
  box-shadow: none;
  background: #242830;
  border-color: rgba(242, 244, 247, 0.08);
}

.app--focus-desk .match-node:hover {
  transform: none;
  background: #2c323b;
  box-shadow: none;
}

.app--focus-desk .match-node.active {
  animation: none;
  border-color: rgba(126, 184, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(126, 184, 255, 0.12);
}

.app--focus-desk .match-node.status-valore:not(.active) {
  border-color: rgba(214, 255, 60, 0.28);
  box-shadow: none;
}

.app--focus-desk .match-node--breathe-cool .match-node-ring,
.app--focus-desk .match-node--breathe-warm .match-node-ring,
.app--focus-desk .match-node--breathe-hot .match-node-ring {
  animation: none;
  filter: none;
}

.app--focus-desk .match-node--valor-enter {
  animation: none;
}

.app--focus-desk .match-node--value-flash {
  animation: none;
  box-shadow: inset 0 0 0 1px rgba(214, 255, 60, 0.45) !important;
}

.app--focus-desk .source-badge,
.app--focus-desk .why-chip {
  opacity: 0.8;
  font-size: 0.55rem;
}

.app--focus-desk .btn-primary,
.app--focus-desk .manual-take {
  clip-path: none !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

.app--focus-desk .manual-action {
  text-transform: none;
  letter-spacing: 0.02em;
}

.app--focus-desk .focus-hero {
  animation: none;
}

.app--focus-desk .focus-board {
  animation: none;
}

.app--focus-desk .hero-shell--theatre {
  background: #1c2026;
}

.app--focus-desk .hero-theatre-bg img {
  animation: none;
  transform: scale(1.04);
  opacity: 0.16;
  filter: grayscale(0.15) contrast(1.05);
}

.app--focus-desk .hero-theatre-veil {
  background: linear-gradient(180deg, rgba(18, 20, 23, 0.45), rgba(18, 20, 23, 0.88));
}

.app--focus-desk .hero-shell--valor {
  box-shadow: inset 0 0 0 1px rgba(214, 255, 60, 0.22) !important;
}

.app--focus-desk .hero-shell--valor::after,
.app--focus-desk .hero-shell--valor .radar-core-score {
  text-shadow: none;
}

.app--focus-desk .hero-shell--valor::after {
  display: none;
}

.app--focus-desk .focus-hero .radar-core-score {
  text-shadow: none;
}

.app--focus-desk .empty-hero-slash {
  display: none;
}

.app--focus-desk .empty-hero--rest .empty-hero-copy p:not(.focus-hero-kicker) {
  display: block;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.app--focus-desk .empty-hero--rest .empty-hero-copy h2 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.app--focus-desk .value-toast {
  border-radius: 6px;
  background: #1e2228;
  border: 1px solid rgba(214, 255, 60, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.app--focus-desk .value-toast-kicker {
  letter-spacing: 0.06em;
}

.app--focus-desk .tipster-card--glance,
.app--focus-desk .glance-metric,
.app--focus-desk .glance-min,
.app--focus-desk .desk-action-bar,
.app--focus-desk .quote-candidate {
  border-radius: 6px;
  background: #242830;
  box-shadow: none;
}

.app--focus-desk .glance-min.is-playable {
  box-shadow: none;
  border-color: rgba(214, 255, 60, 0.4);
}

.app--focus-desk .glance-min--reveal,
.app--focus-desk .glance-min--reveal .glance-min-slash {
  animation: none;
}

.app--focus-desk .tipster-action-callout {
  border-radius: 6px !important;
  background: rgba(214, 255, 60, 0.06) !important;
  font-family: var(--font) !important;
  letter-spacing: 0 !important;
}

.app--focus-desk .panel-head--quiet h3,
.app--focus-desk .live-strip-head h2,
.app--focus-desk .focus-decision h3 {
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.app--focus-desk .brand-orb-glow,
.app--focus-desk .brand-orb-ring {
  animation: none;
  opacity: 0.35;
}

html[data-theme="light"] .app--focus-desk .focus-live,
html[data-theme="light"] .app--focus-desk .focus-hero,
html[data-theme="light"] .app--focus-desk .focus-panel {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 22px rgba(20, 22, 26, 0.06) !important;
}

html[data-theme="light"] .app--focus-desk .match-node,
html[data-theme="light"] .app--focus-desk .tipster-card--glance,
html[data-theme="light"] .app--focus-desk .glance-metric,
html[data-theme="light"] .app--focus-desk .quote-candidate {
  background: #fff;
}
