/* ============================================================
   M365 ROADMAP EXPLORER — "THE SHIPPING MACHINE"
   Visual identity: warm off-white ink on void black, volt
   chartreuse as the interactive accent, ultraviolet/cyan/volt
   as the phase language. Anton for display, Space Grotesk for
   UI, JetBrains Mono for data. Hard borders, hard shadows,
   squared corners — no soft enterprise gradients.
   ============================================================ */
:root {
  --bg: #07070c;
  --bg-2: #0b0b12;
  --panel: #10101a;
  --panel-2: #171722;
  --line: rgba(242, 240, 233, 0.14);
  --line-strong: rgba(242, 240, 233, 0.32);
  --ink: #f2f0e9;
  --ink-dim: #a8a69b;
  --ink-faint: #68665c;
  --volt: #c8ff2e;
  --c-dev: #9d7bff;
  --c-rolling: #45c8ff;
  --c-launched: #c8ff2e;
  --c-cancelled: #ff5470;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.55);
  --shadow-pop: 10px 10px 0 rgba(0, 0, 0, 0.6);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--volt); }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--volt); color: #07070c; }

/* ---------- backdrop: raw blueprint, no soft glows ---------- */
.bg-orbit { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242, 240, 233, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 240, 233, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 25%, transparent 78%);
}
.bg-glow { position: absolute; opacity: 1; }
.bg-glow-a {
  width: 46vw; height: 46vw; top: -22vw; right: -10vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 123, 255, 0.16), transparent 65%);
}
.bg-glow-b {
  width: 38vw; height: 38vw; top: 24vh; left: -16vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 46, 0.07), transparent 65%);
}

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px clamp(16px, 4vw, 44px);
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 7, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 20px; height: 20px; flex: none; }
.brand-mark span { background: var(--volt); }
.brand-mark span:nth-child(2) { opacity: 0.75; } .brand-mark span:nth-child(3) { opacity: 0.75; } .brand-mark span:nth-child(4) { opacity: 0.45; }
.brand-word {
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap; font-weight: 400;
}
.brand-word em { font-style: normal; color: var(--volt); }
.topbar-right { display: flex; align-items: center; gap: 10px; }

.source-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-family: var(--mono); letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 3px;
  border: 2px solid var(--line-strong); color: var(--ink-dim);
  background: var(--panel);
  text-transform: uppercase;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); flex: none; }
.source-badge--live { color: var(--volt); border-color: var(--volt); }
.source-badge--live .pulse-dot { background: var(--volt); animation: pulse 1.6s steps(2, jump-none) infinite; }
.source-badge--snapshot { color: #ffd23e; border-color: rgba(255, 210, 62, 0.55); }
.source-badge--snapshot .pulse-dot { background: #ffd23e; }
.source-badge--error { color: var(--c-cancelled); border-color: var(--c-cancelled); }
.source-badge--error .pulse-dot { background: var(--c-cancelled); }
@keyframes pulse { 50% { opacity: 0.25; } }

.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--ink-dim);
  border: 2px solid var(--line-strong); border-radius: 4px;
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em;
  transition: color .12s, border-color .12s, background .12s, transform .12s;
}
.ghost-btn:hover { color: #07070c; background: var(--volt); border-color: var(--volt); transform: translate(-1px, -1px); }
.solid-btn {
  background: var(--volt); color: #07070c; border: 2px solid var(--volt); border-radius: 4px;
  padding: 9px 18px; font-size: 13px; font-weight: 700;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em;
  transition: transform .1s, box-shadow .1s;
}
.solid-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgba(200, 255, 46, 0.3); }
.solid-btn:active { transform: translate(0, 0); box-shadow: none; }

/* ---------- hero: editorial, oversized, opinionated ---------- */
.hero { padding: clamp(36px, 7vw, 84px) clamp(16px, 4vw, 44px) 22px; max-width: 1460px; margin: 0 auto; position: relative; }
.eyebrow {
  margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--volt);
  display: inline-block; border: 2px solid rgba(200, 255, 46, 0.4); padding: 6px 12px;
}
.hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(52px, 10.5vw, 148px); line-height: 0.92;
  letter-spacing: 0.005em; text-transform: uppercase;
  max-width: 12ch;
}
.hero-grad {
  color: var(--volt);
  position: relative; display: inline-block;
  text-shadow: 6px 6px 0 rgba(157, 123, 255, 0.35);
}
.lede {
  margin: 20px 0 0; max-width: 56ch; color: var(--ink-dim);
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.5; font-weight: 500;
  border-left: 4px solid var(--volt); padding-left: 18px;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-top: 42px;
}
.stat {
  background: var(--panel);
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 18px 14px; position: relative; overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s;
}
.stat:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); border-color: var(--line-strong); }
.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--ink-faint); }
.stat--dev::before { background: var(--c-dev); }
.stat--rolling::before { background: var(--c-rolling); }
.stat--month::before { background: var(--c-launched); }
.stat-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 68px); line-height: 1;
  letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
}
.stat--dev .stat-num { color: var(--c-dev); }
.stat--rolling .stat-num { color: var(--c-rolling); }
.stat--month .stat-num { color: var(--c-launched); }
.stat-label {
  display: block; margin-top: 8px; font-family: var(--mono);
  font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.14em;
}

/* flow viz: the conveyor, with giant ghost phase words */
.flow-viz {
  display: flex; align-items: stretch; gap: 10px; margin-top: 26px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); padding: 18px 18px 14px;
  position: relative; overflow: hidden;
}
.flow-lane { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.flow-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.flow-tag--dev { color: var(--c-dev); } .flow-tag--rolling { color: var(--c-rolling); } .flow-tag--launched { color: var(--c-launched); }
.flow-ghost {
  font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1; text-transform: uppercase; letter-spacing: 0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242, 240, 233, 0.16);
  user-select: none; white-space: nowrap; overflow: hidden;
}
.flow-stream { position: relative; height: 34px; overflow: hidden; }
.flow-dot {
  position: absolute; top: 50%; margin-top: -4px; width: 8px; height: 8px;
  animation: flow-move linear infinite;
  opacity: 0.9;
}
.flow-stream .flow-dot { background: var(--dot-c, var(--volt)); box-shadow: 0 0 10px var(--dot-c, var(--volt)); }
@keyframes flow-move {
  0% { left: -4%; opacity: 0; }
  8% { opacity: 0.95; }
  88% { opacity: 0.95; }
  100% { left: 102%; opacity: 0; }
}
.flow-arrow {
  align-self: center; color: var(--volt); font-size: 26px; font-family: var(--mono); font-weight: 700;
  animation: arrow-thrust 1.6s ease-in-out infinite;
}
@keyframes arrow-thrust { 50% { transform: translateX(6px); } }

/* ticker: factory floor readout */
.ticker {
  display: flex; align-items: stretch; gap: 0; margin-top: 18px; min-width: 0;
  border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
}
.ticker-label {
  flex: none; display: flex; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #07070c; font-weight: 700;
  background: var(--volt); padding: 8px 14px;
}
.ticker-viewport { overflow: hidden; flex: 1; min-width: 0; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; gap: 34px; white-space: nowrap; width: max-content; animation: ticker-scroll 70s linear infinite; padding-left: 18px; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker-item { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); display: inline-flex; gap: 10px; align-items: baseline; text-transform: none; }
.ticker-item b { color: var(--ink); font-weight: 700; }
.ticker-item .t-when { font-size: 11px; color: var(--volt); }

/* ---------- view tabs: numbered factory stations ---------- */
.viewtabs {
  display: flex; align-items: stretch; gap: 0;
  padding: 0 clamp(16px, 4vw, 44px);
  position: sticky; top: 57px; z-index: 35;
  background: rgba(7, 7, 12, 0.9); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
  counter-reset: station;
}
.viewtab {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; border: 0; border-right: 2px solid var(--line);
  color: var(--ink-dim);
  padding: 14px 18px; font-size: 13px; font-weight: 700;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  transition: background .12s, color .12s;
  counter-increment: station;
  position: relative;
}
.viewtab::before {
  content: "0" counter(station);
  font-family: var(--font-display); font-size: 18px; color: var(--ink-faint);
  transition: color .12s;
}
.viewtab:hover { color: var(--ink); background: rgba(200, 255, 46, 0.07); }
.viewtab:hover::before { color: var(--volt); }
.viewtab.is-active { color: #07070c; background: var(--volt); }
.viewtab.is-active::before { color: #07070c; }
.viewtab svg { display: none; } /* iconography replaced by station numerals */
.result-count {
  margin-left: auto; align-self: center;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.1em; padding-left: 14px;
}

/* ---------- filterbar ---------- */
.filterbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 18px clamp(16px, 4vw, 44px) 8px;
  max-width: 1460px; margin: 0 auto;
}
.search-wrap {
  display: flex; align-items: center; gap: 10px; flex: 1 1 300px; min-width: 220px;
  background: var(--panel); border: 2px solid var(--line-strong); border-radius: 4px;
  padding: 0 14px; color: var(--ink-faint);
  transition: border-color .12s, box-shadow .12s;
}
.search-wrap:focus-within { border-color: var(--volt); box-shadow: 4px 4px 0 rgba(200, 255, 46, 0.25); color: var(--volt); }
.search-wrap input {
  flex: 1; background: none; border: 0; outline: 0; color: var(--ink);
  font-size: 14px; padding: 12px 0; font-family: var(--font); font-weight: 500; min-width: 0;
}
.search-wrap input::placeholder { color: var(--ink-faint); }
.search-wrap kbd {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  border: 1.5px solid var(--line-strong); border-radius: 3px; padding: 1px 7px;
}
.facet-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.facet { position: relative; }
.facet-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 2px solid var(--line-strong); color: var(--ink-dim);
  border-radius: 4px; padding: 10px 13px; font-size: 12px; font-weight: 700;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
  transition: border-color .12s, color .12s, transform .12s;
}
.facet-btn:hover { color: var(--ink); border-color: var(--volt); transform: translate(-1px, -1px); }
.facet-btn.has-selection { color: #07070c; background: var(--volt); border-color: var(--volt); }
.facet-count { font-family: var(--mono); font-size: 11px; background: rgba(7, 7, 12, 0.85); color: var(--volt); border-radius: 3px; padding: 0 7px; }
.facet-btn.has-selection .facet-count { background: #07070c; color: var(--volt); }
.facet-count:empty { display: none; }
.caret { font-size: 10px; opacity: 0.8; }
.facet-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 50;
  min-width: 260px; max-width: 84vw; max-height: 320px; overflow: auto;
  background: var(--panel-2); border: 2px solid var(--line-strong); border-radius: 4px;
  box-shadow: var(--shadow-pop); padding: 7px;
}
.facet-opt {
  display: flex; align-items: center; gap: 9px; width: 100%;
  background: none; border: 0; color: var(--ink-dim); text-align: left;
  padding: 9px 10px; border-radius: 3px; font-size: 13px; font-weight: 500;
}
.facet-opt:hover { background: rgba(200, 255, 46, 0.1); color: var(--ink); }
.facet-opt[aria-checked="true"] { color: var(--ink); }
.facet-opt .check {
  width: 15px; height: 15px; flex: none; border-radius: 3px;
  border: 2px solid var(--line-strong); display: grid; place-items: center;
  font-size: 10px; color: transparent;
}
.facet-opt[aria-checked="true"] .check { background: var(--volt); border-color: var(--volt); color: #07070c; }
.facet-opt .opt-count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.facet-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.saved-wrap { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.saved-wrap select {
  background: var(--panel); color: var(--ink-dim); border: 2px solid var(--line-strong);
  border-radius: 4px; padding: 9px 10px; font-size: 12px; font-family: var(--mono); max-width: 170px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding-top: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--volt); border: 2px solid var(--volt);
  color: #07070c; border-radius: 3px; padding: 4px 6px 4px 11px;
  font-size: 12px; font-weight: 700; font-family: var(--mono);
  animation: chip-in .16s ease-out;
}
@keyframes chip-in { from { transform: scale(.85); opacity: 0; } }
.chip button {
  background: #07070c; border: 0; color: var(--volt);
  width: 17px; height: 17px; border-radius: 2px; font-size: 11px; line-height: 1; padding: 0;
}
.chip button:hover { background: var(--c-cancelled); color: #07070c; }
.chip--clearall { background: transparent; border: 2px dashed var(--line-strong); color: var(--ink-dim); padding: 4px 12px; cursor: pointer; }
.chip--clearall:hover { color: var(--c-cancelled); border-color: var(--c-cancelled); }

/* ---------- main / views ---------- */
.main { max-width: 1460px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 44px) 70px; }
.view { animation: view-in .28s ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- kanban ---------- */
.view--kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.kcol {
  background: var(--bg-2); border: 2px solid var(--line);
  border-radius: var(--radius-sm); min-width: 0;
  display: flex; flex-direction: column;
}
.kcol-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 15px; border-bottom: 2px solid var(--line);
  position: sticky; top: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: inherit; z-index: 2;
}
.kcol-head .facet-dot { width: 11px; height: 11px; }
.kcol-title {
  font-family: var(--mono); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.kcol-count {
  font-family: var(--font-display); font-size: 26px; line-height: 1;
  color: var(--ink); letter-spacing: 0.02em;
}
.kcol-sub { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; text-align: right; }
.kcol-body { padding: 11px; display: flex; flex-direction: column; gap: 10px; }

.card {
  background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; cursor: pointer; text-align: left; width: 100%;
  color: var(--ink); font-size: 13px; position: relative; overflow: hidden;
  transition: transform .14s ease, border-color .14s, box-shadow .14s;
  animation: card-in .32s cubic-bezier(.2,.8,.3,1) backwards;
}
@keyframes card-in { from { opacity: 0; transform: translateY(12px) rotate(.6deg); } }
.card:hover {
  transform: translate(-3px, -3px) rotate(-0.4deg);
  border-color: var(--card-c, var(--volt));
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--card-c, var(--volt)) 32%, transparent);
}
.card:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--card-c, var(--volt)); }
.card-top { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; flex-wrap: wrap; }
.card-title { font-weight: 700; line-height: 1.3; font-size: 14px; margin: 0 0 9px; letter-spacing: -0.005em; }
.card-desc {
  color: var(--ink-dim); font-size: 12.5px; line-height: 1.45; margin: 0 0 11px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.tag {
  font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px;
  background: rgba(242, 240, 233, 0.07); color: var(--ink-dim);
  border: 1.5px solid rgba(242, 240, 233, 0.12);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tag--date { color: var(--volt); background: rgba(200, 255, 46, 0.08); border-color: rgba(200, 255, 46, 0.3); }
.tag--ring { color: #cbb8ff; background: rgba(157, 123, 250, 0.1); border-color: rgba(157, 123, 250, 0.35); }

.picon {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 4px; flex: none;
  font-size: 10px; font-weight: 700; color: #fff;
  font-family: var(--mono);
  background: var(--pc, #4a5a77);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  border: 1.5px solid rgba(255,255,255,.18);
}
.picon svg { width: 13px; height: 13px; }
.card-products { display: flex; gap: 5px; align-items: center; }

.kcol-more {
  margin: 4px 11px 13px; background: none; border: 2px dashed var(--line-strong);
  color: var(--ink-dim); border-radius: var(--radius-sm); padding: 10px;
  font-size: 12px; font-weight: 700; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
}
.kcol-more:hover { color: var(--volt); border-color: var(--volt); }
.sentinel { height: 2px; }

/* skeletons */
.skel-card { border-radius: var(--radius-sm); background: var(--panel); border: 2px solid var(--line); padding: 13px 14px; }
.skel-line { height: 11px; border-radius: 3px; background: linear-gradient(90deg, rgba(242,240,233,.06) 25%, rgba(242,240,233,.16) 50%, rgba(242,240,233,.06) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.skel-line + .skel-line { margin-top: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- timeline ---------- */
.view--timeline { display: grid; grid-template-columns: 200px 1fr; gap: 30px; }
.tl-nav { position: sticky; top: 128px; align-self: start; display: flex; flex-direction: column; gap: 3px; max-height: calc(100vh - 160px); overflow: auto; padding-right: 4px; }
.tl-nav-btn {
  background: none; border: 0; color: var(--ink-faint); text-align: left;
  font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: 3px;
  display: flex; justify-content: space-between; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tl-nav-btn:hover { color: #07070c; background: var(--volt); }
.tl-nav-btn.is-now { color: var(--volt); font-weight: 700; }
.tl-nav-btn.is-now:hover { color: #07070c; }
.tl-nav-btn .n { opacity: .65; }
.tl-body { position: relative; padding-left: 30px; }
.tl-body::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--c-dev), var(--c-rolling) 50%, var(--c-launched));
  opacity: .5;
}
.tl-month { position: relative; margin-bottom: 30px; scroll-margin-top: 130px; }
.tl-month::before {
  content: ""; position: absolute; left: -29px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg); border: 4px solid var(--mc, var(--volt));
  box-shadow: 0 0 14px var(--mc, var(--volt));
}
.tl-month.is-now::before { animation: pulse-now 1.8s steps(2, jump-none) infinite; }
@keyframes pulse-now { 50% { box-shadow: 0 0 0 8px rgba(200, 255, 46, 0.15), 0 0 14px var(--c-launched); } }
.tl-month-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 13px; flex-wrap: wrap; }
.tl-month-name {
  font-family: var(--font-display); font-size: 30px; font-weight: 400;
  letter-spacing: 0.02em; margin: 0; text-transform: uppercase;
}
.tl-month-name .now-pill {
  font-size: 10px; font-family: var(--mono); font-weight: 700; color: #07070c;
  background: var(--volt); border-radius: 3px; padding: 3px 9px; margin-left: 10px;
  vertical-align: middle; letter-spacing: .14em;
}
.tl-month-count { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 11px; }
.tl-scrub {
  display: none; gap: 8px; overflow-x: auto; padding: 8px 2px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}

/* ---------- recent ---------- */
.view--recent { max-width: 880px; }
.recent-day { margin-bottom: 28px; }
.recent-day-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px;
  position: sticky; top: 116px; background: rgba(7,7,12,.92); backdrop-filter: blur(8px);
  padding: 8px 0; z-index: 3; border-bottom: 2px solid var(--line);
}
.recent-day-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.recent-day-count { font-family: var(--mono); font-size: 10.5px; color: var(--volt); text-transform: uppercase; letter-spacing: 0.12em; }
.recent-item {
  display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left;
  background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 8px; color: var(--ink); cursor: pointer;
  transition: border-color .13s, transform .13s, box-shadow .13s;
}
.recent-item:hover { border-color: var(--volt); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(200,255,46,.18); }
.recent-time { font-family: var(--mono); font-size: 11px; color: var(--volt); flex: none; width: 62px; padding-top: 3px; }
.recent-body { min-width: 0; flex: 1; }
.recent-title { font-weight: 700; font-size: 14px; margin: 0 0 5px; }
.recent-sub { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ---------- detail panel ---------- */
.detail-scrim { position: fixed; inset: 0; background: rgba(4, 4, 8, 0.6); z-index: 60; animation: fade-in .18s; }
@keyframes fade-in { from { opacity: 0; } }
.detail-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(500px, 100vw);
  background: var(--bg-2); border-left: 4px solid var(--volt);
  box-shadow: -14px 0 0 rgba(200, 255, 46, 0.12);
  animation: panel-in .26s cubic-bezier(.2,.9,.3,1);
  display: flex; flex-direction: column;
}
@keyframes panel-in { from { transform: translateX(70px); opacity: 0; } }
.detail-inner { overflow-y: auto; padding: 26px 26px 44px; }
.detail-close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; border-radius: 4px; border: 2px solid var(--line-strong);
  background: var(--panel-2); color: var(--ink-dim); font-size: 15px; z-index: 2;
}
.detail-close:hover { color: #07070c; background: var(--c-cancelled); border-color: var(--c-cancelled); }
.detail-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--mono);
  padding: 6px 13px; border-radius: 3px; margin-bottom: 16px;
  border: 2px solid var(--sc, var(--volt)); color: var(--sc, var(--volt));
  background: color-mix(in srgb, var(--sc, var(--volt)) 12%, transparent);
}
.detail-title { font-size: 26px; font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 16px; }
.detail-desc { color: var(--ink-dim); font-size: 15px; line-height: 1.65; margin: 0 0 26px; }
.detail-sec { margin-bottom: 22px; }
.detail-sec h3 {
  margin: 0 0 10px; font-size: 10.5px; font-family: var(--mono); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--volt);
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-tags .tag { font-size: 11px; padding: 5px 10px; }
.detail-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 13.5px; }
.detail-kv dt { color: var(--ink-faint); font-family: var(--mono); font-size: 11px; padding-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }
.detail-kv dd { margin: 0; color: var(--ink); }
.detail-kv .rel { color: var(--ink-faint); font-size: 12px; }
.detail-products { display: flex; flex-wrap: wrap; gap: 9px; }
.detail-prod {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--panel); border: 2px solid var(--line); border-radius: 4px;
  padding: 6px 12px 6px 6px; font-size: 12.5px; font-weight: 700;
}
.detail-links a {
  display: inline-flex; align-items: center; gap: 6px; margin-right: 16px;
  font-size: 13px; font-weight: 700; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none;
  border-bottom: 2px solid var(--volt); padding-bottom: 2px;
}
.detail-links a:hover { background: var(--volt); color: #07070c; }
.detail-id { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-top: 30px; }

/* ---------- states ---------- */
.error-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 2px solid var(--c-cancelled); background: rgba(255, 84, 112, 0.08);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 14px 0;
}
.error-banner p { margin: 5px 0 0; color: var(--ink-dim); font-size: 13px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-glyph {
  font-family: var(--font-display); font-size: 90px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--ink-faint);
  margin-bottom: 12px;
}
.empty-state h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 34px; text-transform: uppercase; letter-spacing: 0.02em; }
.empty-state p { color: var(--ink-dim); margin: 0 0 24px; }

.footer {
  border-top: 2px solid var(--line); padding: 24px clamp(16px, 4vw, 44px) 38px;
  color: var(--ink-faint); font-size: 12px; max-width: 1460px; margin: 0 auto;
  font-family: var(--mono);
}

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--volt); color: #07070c; border: 2px solid var(--volt); border-radius: 4px;
  padding: 11px 22px; font-size: 13px; font-weight: 700; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.05em; z-index: 90;
  box-shadow: var(--shadow-hard); animation: toast-in .22s ease-out;
}
@keyframes toast-in { from { transform: translate(-50%, 14px); opacity: 0; } }

.mobile-filter-fab { display: none; }
.kanban-dots { display: none; }
.filterbar-done { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .view--timeline { grid-template-columns: 1fr; }
  .tl-nav { display: none; }
  .tl-main { min-width: 0; } /* grid item must not be sized by the scrubber's scrollable content */
  .tl-scrub { display: flex; }
  .tl-scrub .tl-nav-btn { scroll-snap-align: start; border: 2px solid var(--line); white-space: nowrap; }
}

@media (max-width: 760px) {
  .tl-body { padding-left: 24px; }
  .tl-grid { grid-template-columns: 1fr; }
  .tl-month::before { left: -25px; }
  .viewtabs { top: 55px; }
  .result-count { display: none; }
  .topbar { gap: 8px; }
  .brand-word { font-size: 12.5px; }
  .source-badge { padding: 5px 8px; }
  #source-badge-text { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #share-btn .btn-label { display: none; }
  #share-btn { padding: 7px 9px; }
  .viewtab { padding: 12px 12px; font-size: 11px; gap: 6px; }
  .viewtab::before { font-size: 14px; }
  /* Kanban -> swipeable single-column deck */
  .view--kanban {
    display: flex; gap: 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  }
  .kcol { flex: 0 0 88%; scroll-snap-align: center; }
  .kanban-dots { display: flex; justify-content: center; gap: 8px; padding: 2px 0 14px; }
  .kanban-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background .18s, transform .18s; }
  .kanban-dots span.is-active { background: var(--volt); transform: scale(1.4); }
  /* filters collapse into a sheet */
  .filterbar { display: none; }
  .filterbar.is-open {
    display: flex; position: fixed; inset: 0; z-index: 70;
    background: rgba(7, 7, 12, 0.98); backdrop-filter: blur(10px);
    padding: 72px 22px 30px; overflow-y: auto; align-content: flex-start; max-width: none;
  }
  .filterbar.is-open .facet { width: 100%; }
  .filterbar.is-open .facet-btn { width: 100%; justify-content: space-between; }
  .filterbar.is-open .facet-pop { position: static; box-shadow: none; margin-top: 6px; max-height: 220px; }
  .filterbar.is-open .filterbar-done { display: block; width: 100%; margin-top: 14px; padding: 13px; }
  .mobile-filter-fab {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; bottom: 18px; right: 18px; z-index: 55;
    background: var(--volt); color: #07070c; border: 2px solid var(--volt); border-radius: 4px;
    padding: 14px 20px; font-size: 13px; font-weight: 700;
    font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
    box-shadow: var(--shadow-hard);
  }
  .detail-panel { width: 100vw; border-left: 0; box-shadow: none; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .flow-viz { flex-direction: column; gap: 14px; }
  .hero h1 { font-size: clamp(46px, 13vw, 72px); }
  .search-wrap kbd { display: none; }
  .recent-day-head { top: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .ticker-track { animation: none; }
}
