/* Lead Qualifier — steel/slate product UI, deep green accent. Flat only; colour is status or action, never decoration. */
:root {
  --bg: #E9EEF1;
  --surface: #FFFFFF;
  --surface-2: #F2F5F7;
  --ink: #16202A;
  --ink-2: #344454;
  --muted: #64707D;
  --line: #D7DEE4;
  --line-2: #B9C5CE;
  --hover: #E2E9ED;
  --accent: #145C38;
  --accent-strong: #0E4630;
  --accent-bg: #E4EFE8;
  --accent-line: #BFD8C9;
  --ok: #145C38;   --ok-bg: #E4EFE8;
  --warn: #8A5A12; --warn-bg: #F7ECD2;
  --bad: #B42318;  --bad-bg: #FBEDEB;
  --info: #344454;
  --r: 6px;
  --r-sm: 4px;
  --shadow: 0 1px 2px rgba(22, 32, 42, .06);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 13.5px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: #16202A; color: #EAF0F3; border-bottom: 3px solid var(--accent); }
.topbar-inner { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark { width: 20px; height: 20px; flex: none; }
.mark rect { fill: var(--ink); }
.mark path { stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.product { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.sep { width: 1px; height: 16px; background: var(--line-2); }
.value { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 10px; flex: none; }
.stack { color: var(--muted); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.badge.is-live { color: var(--ok); border-color: #BFD8C9; background: var(--ok-bg); }
.badge.is-live i { background: var(--ok); }
.badge.is-demo i { background: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid transparent; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .14s var(--ease), border-color .14s var(--ease), color .14s var(--ease); }
.btn:disabled { cursor: not-allowed; opacity: .5; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn-block { width: 100%; height: 36px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-strong); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: var(--hover); color: var(--ink); }
.ico { width: 14px; height: 14px; }
.kbd { font: 500 11px var(--mono); color: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; padding: 0 5px; line-height: 17px; }
.spinner { width: 12px; height: 12px; border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page head + KPIs ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px 0 16px; }
h1 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.page-head p { margin-top: 4px; }

.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1.5fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 16px; }
.kpi { padding: 12px 16px; border-left: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kpi:first-child { border-left: 0; }
.kpi-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.kpi b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.kpi small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-hot { background: var(--ok); }
.dot-warm { background: var(--warn); }
.dot-cold { background: #8A97A3; }
.dot-spam { background: var(--bad); }

/* ---------- Layout + panels ---------- */
.layout { display: grid; grid-template-columns: 380px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; }
.head-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.head-title .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-actions { display: flex; gap: 6px; }
.panel-body { padding: 16px; }
h3 { font-size: 12px; font-weight: 500; color: var(--muted); margin: 0 0 8px; }
.label { font-size: 12px; color: var(--muted); }

/* ---------- Form ---------- */
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.presets .label { margin-right: 2px; }
.chip { height: 26px; padding: 0 9px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: background-color .14s var(--ease), border-color .14s var(--ease); }
.chip:hover { background: var(--hover); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

form { display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.opt { font-weight: 400; color: var(--muted); }
.counter { font-size: 11.5px; color: var(--muted); }
input, select, textarea { width: 100%; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font-size: 13px; transition: border-color .14s var(--ease), box-shadow .14s var(--ease); }
select { appearance: none; padding-right: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%236F6F6A' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 12px; text-overflow: ellipsis; }
textarea { height: auto; padding: 8px 10px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8A97A3; }
input:hover, select:hover, textarea:hover { border-color: #A9B8C2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 92, 56, .14); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.form-error { font-size: 12.5px; color: var(--bad); background: var(--bad-bg); border: 1px solid #F1D3CF; border-radius: var(--r-sm); padding: 7px 10px; }

/* ---------- Result ---------- */
.state { padding: 40px 24px; text-align: center; display: grid; gap: 4px; justify-items: center; }
.state-error b { color: var(--bad); }
.state .btn { margin-top: 10px; }
.skeleton { height: 12px; border-radius: 4px; background: var(--hover); animation: pulse 1.1s ease-in-out infinite alternate; justify-self: stretch; margin: 4px 0; }
.skeleton.w40 { width: 40%; } .skeleton.w60 { width: 60%; } .skeleton.w70 { width: 70%; } .skeleton.w80 { width: 80%; }
@keyframes pulse { from { opacity: 1; } to { opacity: .45; } }
#resLoading { justify-items: start; text-align: left; padding: 24px; }

.score-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.score { display: grid; gap: 2px; }
.score-num { display: flex; align-items: baseline; gap: 3px; }
.score-num b { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.score-side { display: grid; gap: 8px; }
.tier-line { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 500; border: 1px solid transparent; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-Hot { color: var(--ok); background: var(--ok-bg); border-color: #BFD8C9; }
.t-Warm { color: var(--warn); background: var(--warn-bg); border-color: #EAD9AE; }
.t-Cold { color: var(--ink-2); background: var(--hover); border-color: var(--line); }
.t-Spam { color: var(--bad); background: var(--bad-bg); border-color: #F1D3CF; }
.meter { position: relative; height: 6px; border-radius: 3px; background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 3px; transition: width .18s var(--ease); }
.tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--surface); }
.meter-scale { position: relative; height: 14px; font-size: 11px; }
.meter-scale span { position: absolute; top: 0; white-space: nowrap; }
.meter-scale span:not(:first-child) { transform: translateX(-50%); }

.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
.route > div { padding: 12px 0; min-width: 0; }
.route > div.wide { grid-column: span 3; padding-top: 0; }
.route dt { font-size: 12px; color: var(--muted); }
.route dd { margin: 2px 0 0; font-weight: 500; }
.route dd .muted { font-weight: 400; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.reasons li { position: relative; padding-left: 14px; color: var(--ink-2); }
.reasons li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.signals { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.signals li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.signals li:first-child { border-top: 0; }
.signals .w { font: 500 12px var(--mono); color: var(--muted); }
.signals .positive .w { color: var(--ok); }
.signals .negative .w { color: var(--bad); }

.fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.fields > div { padding: 8px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.fields > div:nth-child(4n) { border-right: 0; }
.fields > div:nth-last-child(-n+4) { border-bottom: 0; }
.fields dt { font-size: 11.5px; color: var(--muted); }
.fields dd { margin: 1px 0 0; font-size: 12.5px; overflow-wrap: anywhere; }

.reply { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.reply-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 12px; background: #F2F5F7; border-bottom: 1px solid var(--line); }
.reply-head h3 { margin: 0; }
.reply-actions { display: flex; gap: 6px; }
.reply-subject { padding: 10px 12px 0; font-weight: 500; }
.reply-body { margin: 0; padding: 8px 12px 12px; font: 400 13px/1.6 var(--font); color: var(--ink-2); white-space: pre-wrap; }
.reply.empty .reply-body { color: var(--muted); padding-top: 12px; }
.json { margin: 16px 0 0; padding: 12px; max-height: 360px; overflow: auto; background: #F2F5F7; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 11.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Trace ---------- */
.status { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.status.running { color: var(--ink); }
.status.running::before { background: var(--warn); }
.status.done { color: var(--ink-2); }
.status.done::before { background: var(--ok); }
.trace { list-style: none; margin: 0; padding: 8px 0; counter-reset: step; }
.trace li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 16px; counter-increment: step; color: var(--muted); transition: color .15s var(--ease); }
.trace li:not(:last-child)::after { content: ""; position: absolute; left: 25.5px; top: 30px; bottom: -6px; width: 1px; background: var(--line); }
.node { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; font: 500 10.5px var(--mono); color: var(--muted); position: relative; z-index: 1; }
.node::before { content: counter(step); }
.step b { display: block; font-weight: 500; font-size: 13px; color: inherit; }
.step small { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.trace em { font: 400 11.5px var(--mono); font-style: normal; color: var(--muted); padding-top: 2px; }
.trace li.running, .trace li.done { color: var(--ink); }
.trace li.running .node { border-color: var(--accent); }
.trace li.running .node::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--line-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.trace li.done .node { background: var(--accent); border-color: var(--accent); }
.trace li.done .node::before { content: ""; width: 8px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.trace li.done.skipped .node { background: var(--surface); border-style: dashed; border-color: var(--muted); }
.trace li.done.skipped .node::before { content: ""; width: 8px; height: 1.5px; background: var(--muted); border: 0; transform: none; }
.trace li.done.skipped b { color: var(--muted); }
.trace li.done em { color: var(--ink-2); }
.trace-foot { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- Pipeline ---------- */
.pipeline { margin-top: 16px; }
.seg { display: inline-flex; padding: 2px; background: var(--hover); border: 1px solid var(--line); border-radius: var(--r-sm); }
.seg button { height: 24px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; font-size: 12.5px; color: var(--muted); cursor: pointer; transition: background-color .14s var(--ease), color .14s var(--ease); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lane { min-width: 0; border-left: 1px solid var(--line); transition: background-color .14s var(--ease); }
.lane:first-child { border-left: 0; }
.lane.over { background: var(--hover); }
.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 12.5px; }
.lane-head > span { display: inline-flex; align-items: center; gap: 7px; }
.lane-n { color: var(--muted); font-weight: 400; }
.lane-head small { font-size: 12px; font-weight: 400; }
.lane-body { padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.lcard { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 11px; background: var(--surface); cursor: pointer; transition: border-color .14s var(--ease), background-color .14s var(--ease); }
.lcard:hover { border-color: var(--line-2); background: #F7FAF8; }
.lcard.dragging { opacity: .5; }
.lcard.active { border-color: var(--accent); background: var(--accent-bg); }
.lcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lcard-top b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard-top .sc { font: 500 12px var(--mono); color: var(--ink-2); }
.lcard p { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.lcard .meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.tag { font-size: 11px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 4px; }
.due-late { color: var(--bad); }
.due-replied { color: var(--ok); }
.lane-empty { font-size: 12.5px; color: var(--muted); padding: 18px 4px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-sm); }
.hint { font-size: 12px; padding: 10px 16px; border-top: 1px solid var(--line); }

.table-wrap { max-height: 420px; overflow: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
th { position: sticky; top: 0; z-index: 1; background: #F2F5F7; text-align: left; font-weight: 500; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--ink-2); }
th.r, td.r { text-align: right; }
td.id, td.ts { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
tbody tr { cursor: pointer; transition: background-color .12s var(--ease); }
tbody tr:hover { background: var(--hover); }
tbody tr:focus-visible { outline-offset: -2px; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Footer + toast ---------- */
.footer { margin-top: 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px 24px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.footer nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 8px); background: var(--ink); color: #fff; font-size: 12.5px; padding: 8px 12px; border-radius: var(--r-sm); opacity: 0; pointer-events: none; transition: opacity .16s var(--ease), transform .16s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .layout { grid-template-columns: 360px minmax(0, 1fr); }
  #traceCard { grid-column: 1 / -1; }
  .trace { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trace li:not(:last-child)::after { display: none; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpi:nth-child(5) { border-left: 0; }
  .kpi:nth-child(n+5) { border-top: 1px solid var(--line); }
  .kpi:last-child { grid-column: span 2; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .value, .stack, .sep { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .trace { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .fields > div:nth-child(2n) { border-right: 0; }
  .fields > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .fields > div:nth-last-child(-n+2) { border-bottom: 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .lane { border-left: 0; border-top: 1px solid var(--line); }
  .lane:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .row2, .row3 { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { border-left: 0; border-top: 1px solid var(--line); }
  .kpi:nth-child(-n+2) { border-top: 0; }
  .kpi:nth-child(2n) { border-left: 1px solid var(--line); }
  .kpi:last-child { grid-column: span 2; border-left: 0; }
  .trace { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: 1fr 1fr; }
  .route > div.wide { grid-column: span 2; }
  .page-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Dark slate top bar — overrides for text and controls on it */
.topbar .product { color: #FFFFFF; }
.topbar .value, .topbar .stack { color: #A9B8C2; }
.topbar .sep { background: #344454; }
.topbar .mark rect { fill: var(--accent); }
.topbar .badge { background: #24313D; border-color: #344454; color: #CBD6DD; }
.topbar .badge.is-live { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent-strong); }
.topbar .btn-ghost { background: transparent; border-color: #4A5B6A; color: #EAF0F3; }
.topbar .btn-ghost:hover:not(:disabled) { background: #24313D; color: #FFFFFF; }
.skip { background: var(--accent); }
.panel-head { background: var(--surface-2); }
.kpi b { color: var(--ink); }
.lane-head { background: var(--surface-2); }
th { background: var(--surface-2); }
