﻿/* === bundle-content.css === */
/* Generated 2026-06-22 20:18 — DO NOT EDIT DIRECTLY */

/* --- training.css --- */
/* training.css — Training Center view (Atlas mirror of Floor 3, Training Academy).
 * Layout only. Colours come entirely from the shared theme tokens defined in
 * north_star_final.css (--bg/--panel/--text/--accent/--good/--warn/--bad), so
 * BOTH light + dark themes work with zero extra rules here. The view lives as a
 * flex child of .canvas and fills the no-scroll 1080 frame; only the inner
 * panel bodies scroll. */

/* View switching. #view-home uses display:contents so wrapping the overview
 * does NOT change the existing .canvas flex layout. The id+class selector beats
 * the bare id, so .view-off reliably hides either view. */
#view-home { display: contents; }
#view-home.view-off { display: none; }

#view-training {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#view-training.view-off { display: none; }

/* ── Header: title + 4 summary stats ─────────────────────────────────── */
.tc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px 0;
  flex: 0 0 auto;
}
.tc-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0;
  line-height: 1;
}
.tc-sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tc-head-stats { display: flex; gap: 10px; }
.tc-stat {
  min-width: 86px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--panel);
  text-align: center;
}
.tc-stat-val {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--accent);
}
.tc-stat-lab {
  display: block;
  margin-top: 2px;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ── 5-panel grid: 3 across top, skill-library (wide) + quality on bottom ─ */
.tc-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}
#tc-skills { grid-column: 1 / span 2; }

.tc-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--panel);
  overflow: hidden;
}
.tc-panel .panel-h { flex: 0 0 auto; }

.tc-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ── Rows (shared by training / help / quality / skill lists) ─────────── */
.tc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  background: var(--bg2);
}
.tc-row-main { min-width: 0; }
.tc-row-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-row-meta {
  margin-top: 2px;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-row-side { text-align: right; white-space: nowrap; }

/* Progress bar (human trainings) */
.tc-prog {
  width: 84px;
  height: 5px;
  border-radius: 3px;
  background: var(--bg3);
  overflow: hidden;
  margin-top: 4px;
}
.tc-prog-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.tc-prog-val { font-size: 11px; font-weight: 700; color: var(--accent); }

/* Status badge */
.tc-badge {
  display: inline-block;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.tc-badge.is-shipped     { color: var(--good); }
.tc-badge.is-progress    { color: var(--warn); }
.tc-badge.is-pending     { color: var(--text-muted); }
.tc-badge.is-high        { color: var(--bad); }
.tc-badge.is-med         { color: var(--warn); }
.tc-badge.is-low         { color: var(--text-dim); }

.tc-delta { font-size: 11px; font-weight: 700; }
.tc-delta.is-up   { color: var(--good); }
.tc-delta.is-down { color: var(--bad); }
.tc-eta { display: block; font-size: 8px; color: var(--text-muted); margin-top: 2px; }

/* Skill library search + dense list */
.tc-search {
  flex: 0 0 auto;
  margin: 6px 8px 0;
  padding: 6px 9px;
  font-size: 10px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
}
.tc-search:focus { border-color: var(--accent); }
.tc-search::placeholder { color: var(--text-muted); }
.tc-skills-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-content: start;
}

/* Empty / no-feed state (data-integrity: em-dash, honest copy) */
.tc-empty {
  margin: auto;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 90%;
}
.tc-empty::before {
  content: "—";
  display: block;
  font-size: 26px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

/* Scrollbar polish to match the rest of Atlas */
.tc-body::-webkit-scrollbar { width: 7px; }
.tc-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}


/* --- depts.css --- */
/* depts.css — Listings / Transactions / Client Care views (Atlas mirrors of the
 * Virtual Office department floors). Dual-surface principle: these render the
 * SAME data as their floors.
 *
 * REUSE: the panel / row / badge / empty-state / title primitives (.tc-panel,
 * .tc-body, .tc-row, .tc-badge, .tc-empty, .tc-title, .tc-sub, .tc-stat…) all
 * come from training.css — these views deliberately share them so the look is
 * identical and there is one source of truth. This file adds ONLY what's unique
 * to the dept pages: the view containers, the top KPI strip, and the per-view
 * panel grids.
 *
 * THEME: colours come entirely from the shared theme tokens in
 * north_star_final.css (--bg/--panel/--text/--accent/--good/--warn/--bad/…), so
 * BOTH light + dark themes work with zero extra rules here.
 *
 * NO-SCROLL: each view is a flex child of .canvas that fills the locked 1080
 * frame; only the inner .tc-body panel bodies scroll. */

/* ── View containers (siblings of #view-home / #view-training) ─────────── */
#view-listings,
#view-transactions,
#view-clientcare,
#view-marketing,
#view-admin,
#view-agent,
#view-rd {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#view-listings.view-off,
#view-transactions.view-off,
#view-clientcare.view-off,
#view-marketing.view-off,
#view-admin.view-off,
#view-agent.view-off,
#view-rd.view-off { display: none; }

/* ── Header (title + org sub-line). Reuses .tc-title / .tc-sub. ─────────── */
.dept-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px 0;
  flex: 0 0 auto;
}
.dept-head-real {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── KPI strip — equal-width tiles, count set per view ──────────────────── */
.dept-kpis {
  flex: 0 0 auto;
  display: grid;
  gap: 6px;
}
#view-listings    .dept-kpis { grid-template-columns: repeat(6, 1fr); }
#view-transactions .dept-kpis { grid-template-columns: repeat(5, 1fr); }
#view-clientcare  .dept-kpis { grid-template-columns: repeat(4, 1fr); }
#view-marketing   .dept-kpis { grid-template-columns: repeat(6, 1fr); }
#view-admin       .dept-kpis { grid-template-columns: repeat(6, 1fr); }
#view-agent       .dept-kpis { grid-template-columns: repeat(6, 1fr); }
#view-rd          .dept-kpis { grid-template-columns: repeat(6, 1fr); }

/* Text-valued KPI (e.g. Top Organic Query) — smaller, single-line ellipsis so
   a search phrase reads instead of being clipped at the big numeric size. */
.dept-kpi-val.dept-kpi-text {
  font-family: var(--font, inherit);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.18;
  padding-top: 4px;
}

.dept-kpi {
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--panel);
  text-align: center;
}
.dept-kpi-val {
  display: block;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.04;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dept-kpi-lab {
  display: block;
  margin-top: 3px;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dept-kpi-sub {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* ── Panel grid — fills remaining height; panels scroll internally ─────── */
.dept-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  gap: 6px;
}
/* Listings: 5 panels — 3 across, 2 rows, sub-agent panel spans 2 (wide). */
#view-listings .dept-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
}
/* Transactions: 5 panels — same 3×2 with one wide panel. */
#view-transactions .dept-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
}
/* Client Care: 4 panels — clean 2×2. */
#view-clientcare .dept-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
}
/* Marketing: 6 panels — 3 across, 2 rows. */
#view-marketing .dept-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
}
/* Admin & Ops: 6 panels — 3 across, 2 rows. */
#view-admin .dept-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
}
/* Agent (Recruiting): 6 panels — 3 across, 2 rows. */
#view-agent .dept-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
}
/* AI Build / R&D: 4 across, equal auto-rows. grid-auto-rows:1fr makes every row
   the same height regardless of panel count, so the grid self-balances and never
   overflows the frame as panels are added (Wave 10-W94 What's New + the Knowledge
   Map panel pushed this past the old fixed 2-row template, which squished the spill
   row). 10 panels → 4 equal rows; fewer/more re-balance automatically. */
#view-rd .dept-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
}

/* Header aside — Obsidian deep-link + the right-aligned dept-head-real label. */
.dept-head-aside {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dept-obsidian-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--panel);
  color: var(--text-dim);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.dept-obsidian-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.dept-obsidian-link svg { width: 12px; height: 12px; }
/* Wide panel (fills the trailing cell of a 3-across, 5-panel grid). */
.dept-grid .dv-wide { grid-column: span 2; }

/* Right-aligned secondary value in a row (price, date, count). */
.dv-row-strong { font-size: 11px; font-weight: 700; color: var(--accent); }
.dv-row-muted  { font-size: 8.5px; color: var(--text-muted); margin-top: 2px; display: block; }

/* ── AI Build / R&D — status dots (System Health, Self-Learning) ────────────
   Colours map to the shared theme tokens so both themes work; an unknown/"—"
   state is a neutral dim dot — never a fabricated green (data-integrity rule). */
.rd-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--text-muted);
}
.rd-dot.is-green   { background: var(--good, #3affad); }
.rd-dot.is-yellow  { background: var(--warn, #ffcc55); }
.rd-dot.is-red     { background: var(--bad, #ff6b6b); }
.rd-dot.is-unknown { background: var(--text-muted); opacity: 0.5; }

/* ── AI Build / R&D — Ollama-vs-API spend mini trend (AI Uptime & Cost) ──── */
.rd-spend {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 70px;
  padding: 6px 2px 2px;
}
.rd-spend-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.rd-spend-api    { display: block; background: var(--bad, #ff6b6b); border-radius: 2px 2px 0 0; }
.rd-spend-ollama { display: block; background: var(--good, #3affad); border-radius: 0 0 2px 2px; }
.rd-spend-legend {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.rd-spend-legend .rd-dot { margin-right: 4px; }


/* --- learning.css --- */
/* ============================================================
   ATLAS — Continuous Learning Observability panel
   Lives in the AI BUILD / R&D view (#view-rd). Live telemetry from
   kb_obs_service :8122 via the same-origin /api/continuous-learning proxy.

   THEMING: every colour is a JARVIS theme token (--panel / --border /
   --accent / --good / --warn / --bad / --text*). No hard-coded colours →
   light + dark both validate automatically. Layout-neutral: the panel is a
   standard .tc-panel inside the existing .dept-grid, so the no-scroll frame
   budget is unchanged (the R&D view scrolls internally like every dept view).
   ============================================================ */

#rd-continuous-learning .panel-h { align-items: center; gap: 8px; }

/* Loop-health pill in the header (LOOP HEALTHY · ran 14m ago) */
.cl-loop-pill {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: auto;
  padding: 2px 8px; border-radius: 999px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em;
  border: 1px solid var(--border); color: var(--text-dim);
  white-space: nowrap;
}
.cl-loop-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted); flex-shrink: 0;
}
.cl-loop-pill[data-state="healthy"] { color: var(--good); border-color: rgba(var(--good-rgb), 0.4); }
.cl-loop-pill[data-state="healthy"] .cl-loop-dot { background: var(--good); box-shadow: 0 0 6px var(--good); }
.cl-loop-pill[data-state="stale"]   { color: var(--warn); border-color: var(--warn); }
.cl-loop-pill[data-state="stale"] .cl-loop-dot { background: var(--warn); box-shadow: 0 0 6px var(--warn); }
.cl-loop-pill[data-state="idle"]    { color: var(--text-muted); }

.cl-open { margin-left: 8px; }

/* 4-up stat row — KB records · decisions · last ingest · open alerts */
.cl-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 4px;
}
.cl-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 10px 9px;
  background: rgba(var(--accent-rgb), 0.04);
  border: 1px solid var(--border);
  border-radius: var(--rad, 8px);
  min-width: 0;
}
.cl-stat-val {
  font-family: var(--display, var(--mono));
  font-size: 26px; font-weight: 800; line-height: 1;
  color: var(--accent);
  display: inline-flex; align-items: baseline; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cl-stat-lab {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em;
  color: var(--text-dim); margin-top: 4px;
}
.cl-stat-sub {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.04em;
  color: var(--text-muted); min-height: 10px;
}

/* Open-alerts badge — coloured by max severity */
.cl-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 5px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 9px; font-weight: 700; line-height: 1;
  color: #fff; background: var(--text-muted);
}
.cl-badge[data-sev="info"]     { background: var(--accent); }
.cl-badge[data-sev="warning"]  { background: var(--warn); color: #1a1a1a; }
.cl-badge[data-sev="critical"] { background: var(--bad); }
.cl-stat-alerts .cl-stat-val[data-has-alerts="0"] { color: var(--good); }

/* Footer meta line (tenant scope + generated time) */
.cl-foot {
  margin-top: 9px; padding-top: 8px;
  border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Em-dash / empty state — keep the accent glow off when there's no data */
.cl-stat-val.is-empty { color: var(--text-muted); }

/* ============================================================
   KNOWLEDGE MAP panel (#rd-knowledge-map) — Wave 10-W97.
   Reuses .cl-stats/.cl-stat for the KPI strip; adds a compact, internally
   scrolling table of every learning KB. Theme tokens only → both themes valid.
   The list scrolls inside the panel, so the no-scroll frame budget is unchanged.
   ============================================================ */
#rd-knowledge-map .panel-h { align-items: center; gap: 8px; }
.km-pill {
  display: inline-flex; align-items: center; margin-left: auto;
  padding: 2px 8px; border-radius: 999px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em;
  border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap;
}
.km-pill[data-state="healthy"] { color: var(--good); border-color: rgba(var(--good-rgb), 0.4); }
.km-stats { margin-bottom: 6px; }

/* shared 6-col grid for the header + each row (keeps columns aligned) */
.km-listhead, .km-row {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) 78px minmax(0,1.5fr) 42px 56px 40px;
  gap: 8px; align-items: center;
}
.km-listhead {
  padding: 0 8px 5px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.1em;
  color: var(--text-dim);
}
.km-listhead .km-num, .km-row .km-rec, .km-row .km-fresh, .km-row .km-dec { text-align: right; }

.km-list { max-height: 188px; overflow-y: auto; margin-top: 2px; }
.km-row {
  padding: 5px 8px; border-bottom: 1px solid rgba(var(--accent-rgb), 0.06);
  font-family: var(--mono); font-size: 9.5px; color: var(--text);
}
.km-row:last-child { border-bottom: 0; }
.km-row[data-curated="1"] { background: rgba(var(--accent-rgb), 0.05); }

.km-name {
  font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
}
.km-tag {
  font-size: 6.5px; letter-spacing: 0.08em; font-weight: 700;
  padding: 1px 5px; border-radius: 999px;
  color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.4);
  flex-shrink: 0;
}
.km-dept {
  justify-self: start; padding: 1px 7px; border-radius: 999px;
  font-size: 7.5px; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--text-dim);
  white-space: nowrap;
}
.km-dept[data-dept="listings"]     { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.4); }
.km-dept[data-dept="transactions"] { color: var(--good);   border-color: rgba(var(--good-rgb), 0.4); }
.km-dept[data-dept="marketing"]    { color: var(--warn);   border-color: var(--warn); }
.km-dept[data-dept="sales"]        { color: var(--accent2, var(--accent)); border-color: rgba(var(--accent-rgb), 0.35); }
.km-dept[data-dept="general"]      { color: var(--text-muted); }

.km-src { color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.km-rec { color: var(--accent); font-weight: 700; }
.km-fresh { color: var(--text-muted); }
.km-dec { color: var(--text-dim); }
.km-empty {
  padding: 16px 8px; text-align: center;
  font-family: var(--mono); font-size: 9px; color: var(--text-muted);
}


/* --- whats-new.css --- */
/* ============================================================
   ATLAS — "What's New" changelog widget (R&D view)  · Wave 10-W94
   Surfaces the last-14-day ships from agent memory as an editorial
   timeline. Token-only (both themes auto-valid), layout-neutral
   (the list scrolls internally — the 1080 frame never does), and
   fully self-contained (detail drawer is a fixed overlay).
   ============================================================ */

/* panel sits in the R&D dept-grid; dv-wide spans two columns like the CL panel */
.wn-panel { display: flex; flex-direction: column; min-height: 0; }
.wn-pill {
  font: 700 9px/1 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--good, #3affad); background: rgba(var(--good-rgb, 58 255 173), 0.12);
  border: 1px solid rgba(var(--good-rgb, 58 255 173), 0.32);
  padding: 3px 7px; border-radius: 999px; margin-left: 8px;
}
.wn-pill.is-empty { color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04)); border-color: var(--border, rgba(255,255,255,0.10)); }

/* ── timeline list ─────────────────────────────────────────── */
.wn-list {
  position: relative; margin: 4px 0 0; padding: 2px 2px 2px 0;
  display: flex; flex-direction: column;
  overflow: auto; min-height: 0; max-height: 100%;
}
/* the spine */
.wn-list::before {
  content: ""; position: absolute; left: 60px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(var(--border2, rgba(255,255,255,0.14)), transparent);
}
.wn-row {
  position: relative; display: grid; grid-template-columns: 52px 1fr auto;
  align-items: start; gap: 14px; width: 100%; text-align: left;
  padding: 11px 12px 11px 0; cursor: pointer;
  background: transparent; border: none; border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
  transition: background .14s ease, transform .12s ease;
  font-family: inherit; color: inherit;
}
.wn-row:last-child { border-bottom: none; }
.wn-row:hover { background: var(--panel2, rgba(255,255,255,0.035)); transform: translateX(2px); }
.wn-row:focus-visible { outline: 2px solid var(--accent, #00d2ff); outline-offset: -2px; border-radius: 8px; }

.wn-date {
  font: 700 10px/1.35 var(--mono, monospace); letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6); text-align: right; padding-top: 2px; white-space: nowrap;
}
/* node dot on the spine (left:60px → sits at 60px from list edge) */
.wn-row::before {
  content: ""; position: absolute; left: 57px; top: 14px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent, #00d2ff); box-shadow: 0 0 0 3px var(--panel, #0d1320);
}
.wn-row[data-tone="good"]::before { background: var(--good, #3affad); }
.wn-row[data-tone="warn"]::before { background: var(--warn, #ffb648); }
.wn-row[data-tone="bad"]::before  { background: var(--bad,  #ff5b3a); }

.wn-main { min-width: 0; padding-left: 14px; }
.wn-title {
  font: 600 13.5px/1.3 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.wn-wave {
  font: 700 8.5px/1 var(--mono, monospace); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent, #00d2ff); background: rgba(var(--accent-rgb, 0 210 255), 0.10);
  border: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.26); padding: 2px 5px; border-radius: 5px;
}
.wn-desc {
  /* --text-dim reads better than --text-muted in BOTH themes (light .58 vs .36 alpha;
     dark #8ab0d0 vs #4d7a9c) — descriptions are the panel's core readable content. */
  margin-top: 3px; font: 400 11.5px/1.45 var(--sans, system-ui); color: var(--text-dim, #9aa7b8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wn-status {
  align-self: center; font: 700 8.5px/1 var(--mono, monospace); letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 6px; white-space: nowrap;
  color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.wn-status[data-tone="good"] { color: var(--good, #3affad); background: rgba(var(--good-rgb, 58 255 173), 0.12); border-color: rgba(var(--good-rgb, 58 255 173), 0.3); }
.wn-status[data-tone="warn"] { color: var(--warn, #ffb648); background: rgba(var(--warn-rgb, 255 182 72), 0.12); border-color: rgba(var(--warn-rgb, 255 182 72), 0.3); }
.wn-status[data-tone="bad"]  { color: var(--bad,  #ff5b3a); background: rgba(var(--bad-rgb, 255 91 58), 0.12); border-color: rgba(var(--bad-rgb, 255 91 58), 0.3); }

.wn-empty { padding: 28px 16px; text-align: center; color: var(--text-muted, #8a93a6); font: 500 12px/1.5 var(--sans, system-ui); }

/* ── detail drawer (slide-in, fixed overlay — never affects the frame) ── */
.wn-overlay {
  position: fixed; inset: 0; z-index: 9100; display: none;
  background: rgba(4, 8, 16, 0.58); backdrop-filter: blur(3px);
}
.wn-overlay.visible { display: block; animation: wn-fade .16s ease; }
@keyframes wn-fade { from { opacity: 0; } to { opacity: 1; } }
.wn-drawer {
  position: absolute; top: 0; right: 0; height: 100%; width: min(560px, 92vw);
  display: flex; flex-direction: column;
  background: var(--panel, #0d1320); color: var(--text, #e8ecf3);
  border-left: 1px solid var(--border2, rgba(255,255,255,0.14));
  box-shadow: -24px 0 70px rgba(0,0,0,0.5);
  transform: translateX(100%); transition: transform .24s cubic-bezier(0.16,1,0.3,1);
}
.wn-overlay.visible .wn-drawer { transform: translateX(0); }
.wn-d-head {
  display: flex; align-items: flex-start; gap: 12px; flex: 0 0 auto;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.wn-d-titles { min-width: 0; flex: 1; }
.wn-d-title { display: block; font: 700 16px/1.25 var(--display, var(--sans, system-ui)); letter-spacing: 0.01em; }
.wn-d-sub { display: block; margin-top: 5px; font: 600 10.5px/1.3 var(--mono, monospace); letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted, #8a93a6); }
.wn-d-x {
  flex: 0 0 auto; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; font-size: 15px; color: var(--text-muted, #8a93a6);
  background: transparent; border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.wn-d-x:hover { color: var(--text, #fff); background: var(--panel2, rgba(255,255,255,0.05)); }
.wn-d-x:focus-visible { outline: 2px solid var(--accent, #00d2ff); outline-offset: 2px; }

.wn-d-body { flex: 1 1 auto; overflow: auto; padding: 18px 22px 28px; }
/* rendered-markdown typography (scoped) */
.wn-md { font: 400 13px/1.6 var(--sans, system-ui); color: var(--text, #e8ecf3); }
.wn-md h1, .wn-md h2, .wn-md h3 { font-family: var(--display, var(--sans, system-ui)); line-height: 1.3; margin: 18px 0 7px; }
.wn-md h1 { font-size: 17px; font-weight: 700; }
.wn-md h2 { font-size: 14px; font-weight: 700; color: var(--accent, #00d2ff); text-transform: uppercase; letter-spacing: 0.03em; }
.wn-md h3 { font-size: 12.5px; font-weight: 700; color: var(--text-muted, #8a93a6); }
.wn-md p { margin: 7px 0; }
.wn-md ul, .wn-md ol { margin: 7px 0; padding-left: 20px; }
.wn-md li { margin: 3px 0; }
.wn-md strong { color: var(--text, #fff); font-weight: 700; }
.wn-md a { color: var(--accent, #00d2ff); text-decoration: none; border-bottom: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.4); }
.wn-md a:hover { border-bottom-color: var(--accent, #00d2ff); }
.wn-md code { font: 500 11.5px/1.5 var(--mono, monospace); background: var(--panel2, rgba(255,255,255,0.06)); padding: 1px 5px; border-radius: 4px; color: var(--text, #e8ecf3); }
.wn-md pre { background: var(--bg2, rgba(255,255,255,0.03)); border: 1px solid var(--border, rgba(255,255,255,0.08)); border-radius: 8px; padding: 11px 13px; overflow: auto; margin: 9px 0; }
.wn-md pre code { background: none; padding: 0; font-size: 11px; }
.wn-md hr { border: none; border-top: 1px solid var(--border, rgba(255,255,255,0.08)); margin: 14px 0; }

/* ── mobile (loads before mobile.css, but these unique classes won't be overridden) ── */
@media (max-width: 760px) {
  .wn-list::before { left: 48px; }
  .wn-row { grid-template-columns: 42px 1fr; gap: 9px; }
  .wn-row::before { left: 45px; }
  .wn-status { grid-column: 2; justify-self: start; margin-top: 6px; }
  .wn-main { padding-left: 10px; }
  .wn-drawer { width: 100vw; }
}


/* --- roadmap.css --- */
/* ============================================================
   ATLAS — "Launch Roadmap" tracker widget (R&D view)  · Wave 11-W109
   4-pillar 3-week launch tracker: score progress bars + shipped/staged/
   blocked counts + click-to-expand dispatch lists. Token-only (both themes
   auto-valid), layout-neutral (the pillar list scrolls internally — the 1080
   frame never does), fully self-contained.
   ============================================================ */

.rm-panel { display: flex; flex-direction: column; min-height: 0; }

/* header: overall-% pill + live ETA badge */
.rm-pill {
  font: 800 10px/1 var(--mono, monospace); letter-spacing: 0.04em;
  color: var(--accent, #00d2ff); background: rgba(var(--accent-rgb, 0 210 255), 0.12);
  border: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.32);
  padding: 3px 8px; border-radius: 999px; margin-left: 8px;
}
.rm-pill.is-empty { color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04)); border-color: var(--border, rgba(255,255,255,0.10)); }
.rm-eta {
  margin-left: auto; font: 700 9.5px/1 var(--mono, monospace); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.10)); padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.rm-eta[data-urg="ok"]   { color: var(--good, #3affad); border-color: rgba(var(--good-rgb, 58 255 173), 0.34); background: rgba(var(--good-rgb, 58 255 173), 0.10); }
.rm-eta[data-urg="warn"] { color: var(--warn, #ffb648); border-color: rgba(var(--warn-rgb, 255 182 72), 0.34); background: rgba(var(--warn-rgb, 255 182 72), 0.10); }
.rm-eta[data-urg="hot"]  { color: var(--bad,  #ff5b3a); border-color: rgba(var(--bad-rgb, 255 91 58), 0.40); background: rgba(var(--bad-rgb, 255 91 58), 0.12); }

.rm-body { display: flex; flex-direction: column; min-height: 0; margin-top: 6px; }

/* ── summary: overall bar + total chips ─────────────────────── */
.rm-summary { display: flex; align-items: center; gap: 16px; padding: 4px 2px 12px; flex: 0 0 auto; flex-wrap: wrap; }
.rm-ov { flex: 1 1 200px; min-width: 160px; }
.rm-ov-bar {
  position: relative; height: 7px; border-radius: 999px; overflow: hidden;
  background: var(--panel2, rgba(255,255,255,0.06)); border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.rm-ov-bar > span {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb, 0 210 255), 0.5), var(--accent, #00d2ff));
  transition: width .6s cubic-bezier(0.16,1,0.3,1);
}
.rm-tot { display: flex; align-items: stretch; gap: 8px; flex: 0 0 auto; }
.rm-t, .rm-c {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font: 800 14px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3);
}
.rm-t { min-width: 56px; padding: 6px 9px; border-radius: 8px; background: var(--panel2, rgba(255,255,255,0.035)); border: 1px solid var(--border, rgba(255,255,255,0.08)); }
.rm-t > i, .rm-c > i {
  font: 700 7.5px/1.2 var(--mono, monospace); letter-spacing: 0.05em; text-transform: uppercase;
  font-style: normal; margin-top: 4px; color: var(--text-muted, #8a93a6);
}
.rm-c-good { color: var(--good, #3affad); }
.rm-c-warn { color: var(--warn, #ffb648); }
.rm-c-bad  { color: var(--bad,  #ff5b3a); }
.rm-t-blk  { color: var(--text-dim, #9aa7b8); }

/* ── pillar list (scrolls internally — frame never moves) ───── */
.rm-list { display: flex; flex-direction: column; gap: 8px; overflow: auto; min-height: 0; padding: 2px 2px 2px 0; }

.rm-pillar {
  border: 1px solid var(--border, rgba(255,255,255,0.08)); border-radius: 11px;
  background: var(--panel2, rgba(255,255,255,0.025)); overflow: hidden;
  transition: border-color .16s ease, background .16s ease;
}
.rm-pillar:hover { border-color: var(--border2, rgba(255,255,255,0.16)); }
.rm-pillar[data-open="1"] { background: var(--panel, rgba(255,255,255,0.04)); border-color: var(--border2, rgba(255,255,255,0.18)); }
/* tone accent on the left edge */
.rm-pillar { position: relative; }
.rm-pillar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.rm-pillar[data-tone="good"]::before { background: var(--good, #3affad); }
.rm-pillar[data-tone="warn"]::before { background: var(--warn, #ffb648); }
.rm-pillar[data-tone="bad"]::before  { background: var(--bad,  #ff5b3a); }

.rm-prow {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 14px; align-items: center;
  width: 100%; text-align: left; cursor: pointer; padding: 12px 14px 13px 16px;
  background: transparent; border: none; font-family: inherit; color: inherit;
  transition: background .14s ease;
}
.rm-prow:hover { background: rgba(var(--accent-rgb, 0 210 255), 0.04); }
.rm-prow:focus-visible { outline: 2px solid var(--accent, #00d2ff); outline-offset: -2px; border-radius: 10px; }

.rm-pname {
  grid-column: 1; display: inline-flex; align-items: center; gap: 9px; min-width: 0;
  font: 700 14px/1.25 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3);
}
.rm-chev {
  width: 7px; height: 7px; flex: 0 0 auto; border-right: 1.6px solid var(--text-muted, #8a93a6);
  border-bottom: 1.6px solid var(--text-muted, #8a93a6); transform: rotate(-45deg);
  transition: transform .2s cubic-bezier(0.16,1,0.3,1); margin-top: -2px;
}
.rm-pillar[data-open="1"] .rm-chev { transform: rotate(45deg); border-color: var(--text, #e8ecf3); }

.rm-pscore {
  grid-column: 2; justify-self: end; align-self: center;
  font: 800 22px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3); letter-spacing: -0.01em;
}
.rm-pscore-u { font-size: 11px; font-weight: 700; color: var(--text-muted, #8a93a6); margin-left: 1px; }
.rm-pillar[data-tone="good"] .rm-pscore { color: var(--good, #3affad); }
.rm-pillar[data-tone="warn"] .rm-pscore { color: var(--warn, #ffb648); }
.rm-pillar[data-tone="bad"]  .rm-pscore { color: var(--bad,  #ff5b3a); }

.rm-bar {
  grid-column: 1; position: relative; height: 6px; border-radius: 999px; overflow: hidden;
  background: var(--panel2, rgba(255,255,255,0.07)); border: 1px solid var(--border, rgba(255,255,255,0.06));
}
.rm-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; transition: width .6s cubic-bezier(0.16,1,0.3,1); }
.rm-pillar[data-tone="good"] .rm-bar-fill { background: linear-gradient(90deg, rgba(var(--good-rgb, 58 255 173), 0.55), var(--good, #3affad)); }
.rm-pillar[data-tone="warn"] .rm-bar-fill { background: linear-gradient(90deg, rgba(var(--warn-rgb, 255 182 72), 0.55), var(--warn, #ffb648)); }
.rm-pillar[data-tone="bad"]  .rm-bar-fill { background: linear-gradient(90deg, rgba(var(--bad-rgb, 255 91 58), 0.55),  var(--bad,  #ff5b3a)); }

.rm-counts { grid-column: 2; justify-self: end; display: inline-flex; gap: 13px; }
.rm-c { font-size: 13px; }

/* ── expand: shipped/staged/blocked + next dispatches ───────── */
.rm-expand {
  padding: 2px 16px 15px 16px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
  animation: rm-reveal .22s ease;
}
@keyframes rm-reveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.rm-blurb { margin: 11px 0 12px; font: 400 12px/1.5 var(--sans, system-ui); color: var(--text-dim, #9aa7b8); }

.rm-grps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 13px; }
.rm-grp { min-width: 0; }
.rm-grp-h {
  font: 700 8.5px/1 var(--mono, monospace); letter-spacing: 0.07em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border, rgba(255,255,255,0.07));
}
.rm-grp[data-tone="good"] .rm-grp-h { color: var(--good, #3affad); }
.rm-grp[data-tone="warn"] .rm-grp-h { color: var(--warn, #ffb648); }
.rm-grp[data-tone="bad"]  .rm-grp-h { color: var(--bad,  #ff5b3a); }
.rm-grp-n {
  font: 700 8px/1 var(--mono, monospace); color: var(--text-muted, #8a93a6);
  background: var(--panel2, rgba(255,255,255,0.06)); border: 1px solid var(--border, rgba(255,255,255,0.08));
  padding: 2px 5px; border-radius: 999px;
}
.rm-grp-l { margin: 0; padding-left: 15px; list-style: disc; }
.rm-grp-l li { margin: 4px 0; font: 400 11px/1.42 var(--sans, system-ui); color: var(--text-dim, #9aa7b8); }
.rm-grp-l li::marker { color: var(--text-muted, #8a93a6); }

.rm-disp { border-top: 1px dashed var(--border, rgba(255,255,255,0.10)); padding-top: 11px; }
.rm-disp-h {
  font: 700 8.5px/1 var(--mono, monospace); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent, #00d2ff); display: flex; align-items: center; gap: 6px; margin-bottom: 9px;
}
.rm-disp-l { margin: 0; padding-left: 0; list-style: none; counter-reset: rmd; }
.rm-disp-l li {
  position: relative; counter-increment: rmd; padding: 5px 0 5px 30px;
  font: 400 11.5px/1.45 var(--sans, system-ui); color: var(--text, #e8ecf3);
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.05));
}
.rm-disp-l li:last-child { border-bottom: none; }
.rm-disp-l li::before {
  content: counter(rmd); position: absolute; left: 0; top: 4px;
  width: 19px; height: 19px; display: grid; place-items: center; border-radius: 6px;
  font: 800 9.5px/1 var(--mono, monospace); color: var(--accent, #00d2ff);
  background: rgba(var(--accent-rgb, 0 210 255), 0.10); border: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.24);
}

.rm-empty { padding: 28px 16px; text-align: center; color: var(--text-muted, #8a93a6); font: 500 12px/1.5 var(--sans, system-ui); }

/* ── mobile ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .rm-grps { grid-template-columns: 1fr; gap: 10px; }
  .rm-summary { gap: 10px; }
  .rm-counts { gap: 10px; }
  .rm-pscore { font-size: 19px; }
}


/* --- cl-weekly.css --- */
/* ============================================================
   ATLAS — "Weekly Learning Review" panel (R&D view) · Wave 14-W173
   Strategic 7-day learning recap: headline volume + 14-day sparkline,
   top insights, by-department bars, top patterns, outcome-quality honesty.
   Token-only (both themes auto-valid), layout-neutral (the body scrolls
   internally — the 1080 frame never does), fully self-contained.
   ============================================================ */

.cw-panel { display: flex; flex-direction: column; min-height: 0; }

/* header pill: this-week count + WoW arrow/% */
.cw-pill {
  font: 800 10px/1 var(--mono, monospace); letter-spacing: 0.03em;
  color: var(--accent, #00d2ff); background: rgba(var(--accent-rgb, 0 210 255), 0.12);
  border: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.32);
  padding: 3px 8px; border-radius: 999px; margin-left: 8px; white-space: nowrap;
}
.cw-pill[data-tone="good"] { color: var(--good, #3affad); background: rgba(var(--good-rgb, 58 255 173), 0.12); border-color: rgba(var(--good-rgb, 58 255 173), 0.34); }
.cw-pill[data-tone="bad"]  { color: var(--bad,  #ff5b3a); background: rgba(var(--bad-rgb, 255 91 58), 0.12);  border-color: rgba(var(--bad-rgb, 255 91 58), 0.38); }
.cw-pill.is-empty { color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04)); border-color: var(--border, rgba(255,255,255,0.10)); }

.cw-body { display: flex; flex-direction: column; gap: 10px; min-height: 0; margin-top: 6px; overflow: auto; padding-right: 2px; }
.cw-empty { color: var(--text-muted, #8a93a6); font: 600 12px/1.5 var(--sans, system-ui); padding: 18px 6px; text-align: center; }
.cw-empty-sm { color: var(--text-muted, #8a93a6); font: 600 11px/1.4 var(--mono, monospace); padding: 6px 2px; }

/* ── headline: hero count + vs-block + sparkline ─────────────── */
.cw-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 2px 2px 10px; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08)); }
.cw-hero { display: flex; align-items: baseline; gap: 9px; flex: 0 0 auto; }
.cw-hero-n { font: 800 30px/0.9 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3); letter-spacing: -0.01em; }
.cw-hero-lab { font: 700 8.5px/1.15 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted, #8a93a6); }
.cw-vs { display: flex; flex-direction: column; gap: 3px; flex: 1 1 150px; min-width: 130px; }
.cw-vs-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cw-vs-row > i { font: 700 8px/1 var(--mono, monospace); letter-spacing: 0.05em; text-transform: uppercase; font-style: normal; color: var(--text-muted, #8a93a6); }
.cw-vs-row > b { font: 800 13px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3); }
.cw-vs-row > b[data-tone="good"] { color: var(--good, #3affad); }
.cw-vs-row > b[data-tone="bad"]  { color: var(--bad,  #ff5b3a); }
.cw-vs-row > b[data-tone="flat"] { color: var(--text-dim, #9aa7b8); }
.cw-trend { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 0 0 auto; }
.cw-spark { width: 132px; height: 28px; }
.cw-spark polyline { stroke: var(--accent, #00d2ff); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cw-spark circle { fill: var(--accent, #00d2ff); }
.cw-trend-lab { font: 700 7.5px/1 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted, #8a93a6); }

/* ── section headers ─────────────────────────────────────────── */
.cw-sec-h { font: 800 9.5px/1 var(--mono, monospace); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim, #9aa7b8); margin-bottom: 7px; display: flex; align-items: baseline; gap: 8px; }
.cw-sec-sub { font-weight: 600; font-size: 8px; letter-spacing: 0.04em; color: var(--text-muted, #8a93a6); text-transform: none; }

/* ── insights ────────────────────────────────────────────────── */
.cw-ins-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.cw-ins-l > li {
  position: relative; padding: 5px 9px 5px 22px; border-radius: 8px;
  font: 600 11px/1.35 var(--sans, system-ui); color: var(--text, #e8ecf3);
  background: var(--panel2, rgba(255,255,255,0.03)); border: 1px solid var(--border, rgba(255,255,255,0.07));
}
.cw-ins-l > li::before { content: ""; position: absolute; left: 9px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent, #00d2ff); }
.cw-ins-l code, .cw-ins-l li > code { font: 700 10px/1 var(--mono, monospace); color: var(--accent, #00d2ff); }

/* ── two-column dept + patterns ──────────────────────────────── */
.cw-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.cw-col { min-width: 0; }
.cw-dlist, .cw-tlist { display: flex; flex-direction: column; gap: 4px; }

/* dept rows: name · bar · count · delta */
.cw-drow { display: grid; grid-template-columns: 74px 1fr 38px 56px; align-items: center; gap: 8px; }
.cw-dname { font: 700 10px/1 var(--sans, system-ui); color: var(--text, #e8ecf3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-dbar { position: relative; height: 7px; border-radius: 999px; overflow: hidden; background: var(--panel2, rgba(255,255,255,0.06)); border: 1px solid var(--border, rgba(255,255,255,0.07)); }
.cw-dbar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(var(--accent-rgb, 0 210 255), 0.45), var(--accent, #00d2ff)); transition: width .6s cubic-bezier(0.16,1,0.3,1); }
.cw-dnum { font: 800 12px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3); text-align: right; }
.cw-ddelta { font: 700 8.5px/1 var(--mono, monospace); text-align: right; white-space: nowrap; color: var(--text-muted, #8a93a6); }
.cw-ddelta[data-tone="good"] { color: var(--good, #3affad); }
.cw-ddelta[data-tone="bad"]  { color: var(--bad,  #ff5b3a); }

/* pattern rows: type · count · mark */
.cw-trow { display: grid; grid-template-columns: 1fr 38px 56px; align-items: center; gap: 8px; padding: 2px 0; border-bottom: 1px dashed var(--border, rgba(255,255,255,0.05)); }
.cw-trow:last-child { border-bottom: 0; }
.cw-tname { font: 600 10px/1.2 var(--mono, monospace); color: var(--text-dim, #9aa7b8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-tnum { font: 800 12px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3); text-align: right; }
.cw-tmark { font: 700 8.5px/1 var(--mono, monospace); text-align: right; white-space: nowrap; color: var(--text-muted, #8a93a6); }
.cw-tmark[data-tone="good"] { color: var(--good, #3affad); }
.cw-tmark[data-tone="bad"]  { color: var(--bad,  #ff5b3a); }

/* ── outcome quality (honesty line) ──────────────────────────── */
.cw-oq { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--panel2, rgba(255,255,255,0.03)); border: 1px solid var(--border, rgba(255,255,255,0.08)); }
.cw-oq-lab { font: 800 8.5px/1 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted, #8a93a6); }
.cw-oq-v { font: 800 12px/1 var(--display, var(--sans, system-ui)); white-space: nowrap; }
.cw-oq-v[data-tone="good"] { color: var(--good, #3affad); }
.cw-oq-v[data-tone="flat"] { color: var(--warn, #ffb648); }
.cw-oq-d { font: 600 10px/1.35 var(--sans, system-ui); color: var(--text-muted, #8a93a6); }

/* narrow / mobile: stack the two columns */
@media (max-width: 720px) {
  .cw-cols { grid-template-columns: 1fr; gap: 12px; }
  .cw-hero-n { font-size: 26px; }
}


/* --- dispatch-cost.css --- */
/* ============================================================
   ATLAS — "Dispatch Cost / Burn" widget (R&D view)  · Wave 12-W141
   KPI tiles (today / week / projected month / token est) + 7-day sparkline
   + top-5 dispatches. Token-only (both themes auto-valid), layout-neutral
   (rows scroll internally — the 1080 frame never moves), self-contained.
   Burn bands: green < $30/day · yellow < $80/day · red ≥ $80/day.
   ============================================================ */

.dc-panel { display: flex; flex-direction: column; min-height: 0; }

/* header pill = today's attributable burn, tone-banded */
.dc-pill {
  font: 800 11px/1 var(--mono, monospace); letter-spacing: 0.02em;
  color: var(--accent, #00d2ff); background: rgba(var(--accent-rgb, 0 210 255), 0.12);
  border: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.32);
  padding: 3px 9px; border-radius: 999px; margin-left: 8px; white-space: nowrap;
}
.dc-pill.is-empty { color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04)); border-color: var(--border, rgba(255,255,255,0.10)); }
.dc-pill[data-tone="good"] { color: var(--good, #3affad); background: rgba(var(--good-rgb, 58 255 173), 0.12); border-color: rgba(var(--good-rgb, 58 255 173), 0.34); }
.dc-pill[data-tone="warn"] { color: var(--warn, #ffb648); background: rgba(var(--warn-rgb, 255 182 72), 0.12); border-color: rgba(var(--warn-rgb, 255 182 72), 0.34); }
.dc-pill[data-tone="bad"]  { color: var(--bad,  #ff5b3a); background: rgba(var(--bad-rgb, 255 91 58), 0.14); border-color: rgba(var(--bad-rgb, 255 91 58), 0.40); }

.dc-body { display: flex; flex-direction: column; min-height: 0; margin-top: 8px; gap: 12px; }

/* ── KPI tiles ──────────────────────────────────────────────── */
.dc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 0 0 auto; }
.dc-tile {
  position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0;
  padding: 12px 13px 13px; border-radius: 12px; overflow: hidden;
  background: var(--panel2, rgba(255,255,255,0.035)); border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.dc-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; }
.dc-tile[data-tone="good"]::before { background: var(--good, #3affad); }
.dc-tile[data-tone="warn"]::before { background: var(--warn, #ffb648); }
.dc-tile[data-tone="bad"]::before  { background: var(--bad,  #ff5b3a); }
.dc-tile-hero { background: var(--panel, rgba(255,255,255,0.05)); border-color: var(--border2, rgba(255,255,255,0.16)); }

.dc-tile-lab {
  font: 700 8px/1.2 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6);
}
.dc-tile-val {
  font: 800 23px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3);
  letter-spacing: -0.015em; white-space: nowrap;
}
.dc-tile-hero .dc-tile-val { font-size: 28px; }
.dc-tile[data-tone="good"] .dc-tile-val { color: var(--good, #3affad); }
.dc-tile[data-tone="warn"] .dc-tile-val { color: var(--warn, #ffb648); }
.dc-tile[data-tone="bad"]  .dc-tile-val { color: var(--bad,  #ff5b3a); }
.dc-tile-sub {
  font: 500 9.5px/1.3 var(--sans, system-ui); color: var(--text-dim, #9aa7b8);
  overflow: hidden; text-overflow: ellipsis;
}

/* ── 7-day sparkline ────────────────────────────────────────── */
.dc-spark { flex: 0 0 auto; }
.dc-spark-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 46px;
  padding: 6px 4px 0; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.dc-spark-bar {
  flex: 1 1 0; min-width: 0; border-radius: 4px 4px 0 0; align-self: flex-end;
  background: linear-gradient(180deg, rgba(var(--accent-rgb, 0 210 255), 0.85), rgba(var(--accent-rgb, 0 210 255), 0.45));
  transition: height .5s cubic-bezier(0.16,1,0.3,1); min-height: 2px;
}
.dc-spark-bar[data-tone="good"] { background: linear-gradient(180deg, var(--good, #3affad), rgba(var(--good-rgb, 58 255 173), 0.45)); }
.dc-spark-bar[data-tone="warn"] { background: linear-gradient(180deg, var(--warn, #ffb648), rgba(var(--warn-rgb, 255 182 72), 0.45)); }
.dc-spark-bar[data-tone="bad"]  { background: linear-gradient(180deg, var(--bad,  #ff5b3a), rgba(var(--bad-rgb, 255 91 58), 0.45)); }
.dc-spark-bar.is-empty {
  background: repeating-linear-gradient(45deg, var(--border, rgba(255,255,255,0.07)) 0 3px, transparent 3px 6px);
  height: 14% !important; opacity: 0.6;
}
.dc-spark-cap {
  margin-top: 6px; font: 600 8.5px/1.2 var(--mono, monospace); letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-muted, #8a93a6);
}

/* ── top-5 dispatches ───────────────────────────────────────── */
.dc-top { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.dc-top-h {
  font: 700 8.5px/1 var(--mono, monospace); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent, #00d2ff); display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
}
.dc-top-hint {
  font: 600 7.5px/1 var(--mono, monospace); color: var(--text-muted, #8a93a6);
  background: var(--panel2, rgba(255,255,255,0.06)); border: 1px solid var(--border, rgba(255,255,255,0.08));
  padding: 2px 6px; border-radius: 999px; text-transform: none; letter-spacing: 0;
}
.dc-rows { display: flex; flex-direction: column; overflow: auto; min-height: 0; }
.dc-row {
  display: grid; grid-template-columns: 64px minmax(0,1fr) 34px 56px 56px 64px;
  gap: 8px; align-items: center; padding: 6px 2px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.05));
  font: 500 11px/1.2 var(--sans, system-ui); color: var(--text, #e8ecf3);
}
.dc-row:last-child { border-bottom: none; }
.dc-row-head {
  font: 700 7.5px/1 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6); position: sticky; top: 0;
  background: var(--panel, #11161f); z-index: 1;
}
.dc-row-et   { font-family: var(--mono, monospace); font-size: 10px; color: var(--text-dim, #9aa7b8); }
.dc-row-task { font-family: var(--mono, monospace); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-row-tier {
  justify-self: start; font: 700 9px/1 var(--mono, monospace); padding: 2px 5px; border-radius: 5px;
  color: var(--text-dim, #9aa7b8); background: var(--panel2, rgba(255,255,255,0.05)); border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.dc-row-exec { font-size: 10.5px; color: var(--text-dim, #9aa7b8); }
.dc-row-dry  { font: 600 9px/1 var(--mono, monospace); color: var(--text-muted, #8a93a6); text-transform: uppercase; letter-spacing: 0.03em; }
.dc-row-usd  { justify-self: end; font: 800 12px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3); }
.dc-row-head .dc-row-usd { font: 700 7.5px/1 var(--mono, monospace); color: var(--text-muted, #8a93a6); }

.dc-note {
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--border, rgba(255,255,255,0.10));
  font: 400 10px/1.45 var(--sans, system-ui); color: var(--text-dim, #9aa7b8);
}
.dc-asof {
  margin-top: 4px; font: 600 8px/1 var(--mono, monospace); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6); text-align: right;
}
.dc-empty { padding: 28px 16px; text-align: center; color: var(--text-muted, #8a93a6); font: 500 12px/1.5 var(--sans, system-ui); }

/* ── mobile ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .dc-tiles { grid-template-columns: repeat(2, 1fr); }
  .dc-row { grid-template-columns: 56px minmax(0,1fr) 30px 50px 56px; }
  .dc-row-exec { display: none; }
}


/* --- sales-pipeline.css --- */
/* ============================================================
   ATLAS — "Sales Pipeline" KPI panel (R&D view)  · Wave 13-W152
   4 KPI tiles (active listings / under contract / new leads 7d / conversion) +
   honest context strip + source line. Token-only (both themes auto-valid),
   layout-neutral (the 1080 frame never moves), self-contained.
   Counts are real (Dotloop+Lofty); the two $ totals + conversion render "—".
   ============================================================ */

.sp-panel { display: flex; flex-direction: column; min-height: 0; }

/* header pill = live freshness (no fabricated banding — sales counts have no band) */
.sp-pill {
  font: 800 11px/1 var(--mono, monospace); letter-spacing: 0.02em;
  color: var(--accent, #00d2ff); background: rgba(var(--accent-rgb, 0 210 255), 0.12);
  border: 1px solid rgba(var(--accent-rgb, 0 210 255), 0.32);
  padding: 3px 9px; border-radius: 999px; margin-left: 8px; white-space: nowrap;
}
.sp-pill.is-empty { color: var(--text-muted, #8a93a6); background: var(--panel2, rgba(255,255,255,0.04)); border-color: var(--border, rgba(255,255,255,0.10)); }

.sp-body { display: flex; flex-direction: column; min-height: 0; margin-top: 8px; gap: 11px; }

/* ── KPI tiles ──────────────────────────────────────────────── */
.sp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 0 0 auto; }
.sp-tile {
  position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0;
  padding: 12px 13px 13px; border-radius: 12px; overflow: hidden;
  background: var(--panel2, rgba(255,255,255,0.035)); border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.sp-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent, #00d2ff); opacity: 0.55; }
.sp-tile-hero { background: var(--panel, rgba(255,255,255,0.05)); border-color: var(--border2, rgba(255,255,255,0.16)); }
.sp-tile-hero::before { opacity: 0.9; }
/* the conversion tile is a genuine em-dash today — dim its accent so it doesn't read as a live number */
.sp-tile[data-dim="1"]::before { background: var(--border2, rgba(255,255,255,0.22)); opacity: 0.5; }

.sp-tile-lab {
  font: 700 8px/1.2 var(--mono, monospace); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6);
}
.sp-tile-val {
  font: 800 23px/1 var(--display, var(--sans, system-ui)); color: var(--text, #e8ecf3);
  letter-spacing: -0.015em; white-space: nowrap;
}
.sp-tile-hero .sp-tile-val { font-size: 28px; color: var(--accent, #00d2ff); }
.sp-tile[data-dim="1"] .sp-tile-val { color: var(--text-muted, #8a93a6); }
.sp-tile-sub {
  font: 500 9.5px/1.3 var(--sans, system-ui); color: var(--text-dim, #9aa7b8);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── context strip + source line ────────────────────────────── */
.sp-ctx {
  font: 600 9.5px/1.4 var(--mono, monospace); letter-spacing: 0.02em; color: var(--text-dim, #9aa7b8);
  padding: 8px 10px; border-radius: 9px;
  background: var(--panel2, rgba(255,255,255,0.035)); border: 1px solid var(--border, rgba(255,255,255,0.07));
}
.sp-note {
  font: 400 10px/1.45 var(--sans, system-ui); color: var(--warn, #ffb648);
  padding-top: 2px;
}
.sp-src {
  margin-top: 1px; font: 600 8px/1.3 var(--mono, monospace); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted, #8a93a6);
}
.sp-empty { padding: 28px 16px; text-align: center; color: var(--text-muted, #8a93a6); font: 500 12px/1.5 var(--sans, system-ui); }

/* ── mobile ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .sp-tiles { grid-template-columns: repeat(2, 1fr); }
  .sp-tile-sub { white-space: normal; }
}


/* --- brief.css --- */
/* brief.css — Morning Brief view (Atlas in-page daily brief).
 *
 * Renders the current day's Morning Brief — produced by the per-org brief skill
 * (gpr-briefs for GPR, lpe-briefs for LPE) server-side on the agent bridge — inside
 * an isolated iframe so the brief's own email styling is preserved with ZERO drift
 * from the skill, while the Atlas greeting + freshness chips bind to JARVIS_CONFIG
 * (current_user × current_org). Layout only; theme tokens come from
 * north_star_final.css so BOTH light + dark themes work with zero extra rules.
 *
 * NO-SCROLL (.claude/rules/atlas-dashboard.md): the view is a flex child of .canvas
 * that fills the locked 1080 frame; only the inner brief iframe scrolls. */

#view-brief {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#view-brief.view-off { display: none; }

/* ── Greeting + freshness card (multi-tenant bound) ─────────────────────── */
.mb-greet {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--panel);
}
.mb-greet-main { min-width: 0; }
.mb-greet-hl {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.mb-greet-sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Freshness + per-source chips */
.mb-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 60%;
}
.mb-chip {
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg2);
  white-space: nowrap;
}
.mb-chip .mb-chip-on  { color: var(--good); }
.mb-chip .mb-chip-off { color: var(--text-dim); }

/* ── Brief document area — fills remaining height, scrolls internally ───── */
.mb-doc {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--rad);
  background: var(--panel);
  overflow: hidden;
}
.mb-frame {
  width: 100%;
  height: 100%;
  border: 0;
  /* matches the brief document body so any letterboxing reads as intentional */
  background: #f4f4f0;
}
.mb-frame.is-hidden { display: none; }

/* ── Empty / no-feed state (data-integrity: em-dash, honest copy) ───────── */
.mb-empty {
  margin: auto;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 70%;
}
.mb-empty::before {
  content: "—";
  display: block;
  font-size: 30px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.mb-empty .mb-empty-t {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* ── Connection alert banner (W420) — shown only when a data source is reported
 * unreachable; amber reads as a warning in BOTH themes without touching the cyan
 * brand accent. Surfaces the ClickUp reconnect prompt visually instead of via the
 * voice agent's TTS. ─────────────────────────────────────────────────────────── */
.mb-banner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-left: 3px solid #f59e0b;
  border-radius: var(--rad);
  background: rgba(245, 158, 11, 0.12);
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}
.mb-banner-i { flex: 0 0 auto; font-size: 15px; color: #f59e0b; }

/* SOURCES caption — flattened so the freshness chips read as a labelled status
 * group, not a row of clickable filter pills. */
.mb-chip-cap {
  color: var(--text-dim);
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 2px;
}


/* --- overnight.css --- */
/* overnight.css — Atlas "Overnight Recap" banner (top of the Command Center home view).
 * Theme-safe: uses the shared design tokens (--panel/--border/--text/--accent/--good),
 * so light + dark both inherit automatically (jarvis.css redefines tokens per
 * :root[data-theme]). Compact by design so it does not break the 1920×1080 no-scroll
 * frame (.claude/rules/atlas-dashboard.md). */

.overnight-recap {
  position: relative;
  display: flex;
  margin: 0 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--rad, 14px);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), rgba(var(--accent-rgb), 0) 60%),
    var(--panel);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  animation: ovr-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.overnight-recap.is-hidden { display: none; }

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

/* Left accent rail — green "good news / handled" cue, semantic not decorative. */
.ovr-accent {
  flex: 0 0 4px;
  background: linear-gradient(180deg, var(--good, #3affad), var(--accent, #00d2ff));
}

.ovr-body { flex: 1 1 auto; padding: 14px 18px 13px; min-width: 0; }

.ovr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ovr-titles { min-width: 0; }
.ovr-eyebrow {
  display: block;
  font: 600 11px/1 var(--display, "Rajdhani", sans-serif);
  letter-spacing: 0.18em;
  color: var(--accent, #00d2ff);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ovr-title {
  margin: 0;
  font: 700 clamp(1.05rem, 1.6vw, 1.4rem)/1.15 var(--display, "Rajdhani", sans-serif);
  color: var(--text);
  letter-spacing: 0.01em;
}

.ovr-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ovr-btn {
  font: 600 12px/1 var(--display, "Rajdhani", sans-serif);
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--panel2, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.12s ease, background 0.18s ease, color 0.18s ease;
}
.ovr-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.ovr-btn:active { transform: translateY(0); }
.ovr-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ovr-read { display: inline-flex; align-items: center; gap: 6px; }
.ovr-read:hover { color: var(--accent); }
.ovr-read-ico { font-size: 9px; line-height: 1; }
.ovr-close {
  width: 30px; padding: 8px 0; text-align: center;
  font-size: 16px; color: var(--text-muted);
}
.ovr-close:hover { color: var(--text); border-color: var(--border2, var(--border)); }

.ovr-headline {
  margin: 9px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 78ch;
}

.ovr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ovr-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg2, rgba(0, 0, 0, 0.15));
}
.ovr-chip-n {
  font: 700 15px/1 var(--display, "Rajdhani", sans-serif);
  color: var(--accent, #00d2ff);
}
.ovr-chip-l {
  font: 600 10px/1 var(--display, "Rajdhani", sans-serif);
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ovr-decis { margin-top: 13px; }
.ovr-decis-h {
  display: block;
  font: 600 10px/1 var(--display, "Rajdhani", sans-serif);
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ovr-decis ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ovr-decis li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-dim);
}
.ovr-decis li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.5em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent, #00d2ff);
}

.ovr-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: 13px;
  font: 500 10px/1 var(--display, "Rajdhani", sans-serif);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.ovr-src { opacity: 0.85; }

@media (max-width: 1100px) {
  .ovr-top { flex-direction: column; }
  .ovr-actions { align-self: flex-end; }
}


