/* XActions / Agentix-style ops dashboard tokens — custom CSS, no cyberpunk kits.
   v2 (2026-10-06): tokens + components synced to Figma "Ops Board Kit" file 0FXWrDYAms7PdKq6a67uxY
   (frames Earn Stack 8:3 · See Smarter 11:2 · Sell Digital 11:181 · Ops Board Kit mock 11:276).
   Inter is used when installed locally; system fallback. No CDN / webfont fetch. */
:root {
  --xo-bg: #0a0a0f;
  --xo-bg-elev: #0d0f16;        /* Figma sidebar */
  --xo-sidebar: #0d0f16;
  --xo-card: #131722;
  --xo-card-2: #1a1e2e;         /* Figma raised card / table header / window chrome */
  --xo-border: #262b3d;         /* Figma stroke (was #2f3336) */
  --xo-border-soft: #1e2230;
  --xo-track: #262b3d;          /* progress track */
  --xo-bar-idle: #2a3550;       /* chart bar, non-current */
  --xo-text: #e7e9ea;
  --xo-muted: #8b98a5;          /* Figma secondary text (was #71767b) */
  --xo-faint: #5b6573;          /* Figma tertiary text (was #536471) */
  --xo-accent: #1d9bf0;
  --xo-accent-dim: rgba(29, 155, 240, 0.14);
  --xo-green: #26a69a;          /* Figma teal-green (was #00ba7c) */
  --xo-green-dim: rgba(38, 166, 154, 0.14);
  --xo-red: #ef5350;            /* Figma red (was #f4212e) */
  --xo-red-dim: rgba(239, 83, 80, 0.14);
  --xo-yellow: #f5a623;         /* Figma amber (was #ffd400) */
  --xo-yellow-dim: rgba(245, 166, 35, 0.14);
  --xo-amber: var(--xo-yellow);
  --xo-amber-dim: var(--xo-yellow-dim);
  --xo-radius-xl: 18px;         /* hero / panel cards */
  --xo-radius-lg: 16px;         /* board window */
  --xo-radius: 14px;            /* KPI cards, tables */
  --xo-radius-md: 12px;         /* small cards, notes */
  --xo-radius-sm: 10px;         /* nav items, buttons */
  --xo-radius-xs: 6px;          /* tracks, bars */
  --xo-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --xo-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--xo-bg);
  color: var(--xo-text);
  font-family: var(--xo-font);
  font-size: 15px;
  line-height: 1.45;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--xo-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--xo-mono); font-size: 0.88em; color: var(--xo-accent); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.hidden { display: none !important; }

/* Figma: flat #0a0a0f background (old 48px grid removed) */
.xo-shell { min-height: 100vh; background-color: var(--xo-bg); }

.xo-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 12px 20px;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid var(--xo-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.xo-brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xo-brand__title {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--xo-text); white-space: nowrap;
}
.xo-brand__sub { font-size: 0.78rem; color: var(--xo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.xo-top__meta { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }

.xo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; border: 1px solid var(--xo-border);
  background: var(--xo-card); color: var(--xo-muted);
}
.xo-badge--live { color: #fff; border-color: var(--xo-red); background: var(--xo-red); }
.xo-badge--ok { color: var(--xo-green); border-color: transparent; background: var(--xo-green-dim); }
.xo-badge--warn { color: var(--xo-yellow); border-color: transparent; background: var(--xo-yellow-dim); }
.xo-badge--err { color: var(--xo-red); border-color: rgba(239,83,80,0.45); background: var(--xo-red-dim); }
.xo-badge--info { color: var(--xo-accent); border-color: transparent; background: var(--xo-accent-dim); }
.xo-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

.xo-layout { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .xo-layout { grid-template-columns: 240px 1fr; } }
.xo-side {
  display: none; padding: 28px 20px;
  border-right: 1px solid var(--xo-border);
  background: var(--xo-sidebar); min-height: calc(100vh - 56px);
}
@media (min-width: 1024px) { .xo-side { display: block; } }
.xo-side__h {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--xo-faint);
  margin: 14px 8px 6px;
}
.xo-side a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 2px 0;
  border-radius: var(--xo-radius-sm); color: var(--xo-muted);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.xo-side a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--xo-faint); flex: none; }
.xo-side a:hover { background: var(--xo-card-2); color: var(--xo-text); text-decoration: none; }
.xo-side a.is-active { background: var(--xo-accent-dim); color: var(--xo-text); font-weight: 600; }
.xo-side a.is-active::before { background: var(--xo-accent); }

.xo-main { padding: 16px 20px 32px; max-width: 1400px; width: 100%; display: flex; flex-direction: column; gap: 16px; }
.xo-pills { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1024px) { .xo-pills { display: none; } }

.xo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--xo-border); background: transparent;
  color: var(--xo-text); font: inherit; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.xo-btn:hover { background: var(--xo-card-2); text-decoration: none; }
.xo-btn--primary { background: var(--xo-accent); border-color: var(--xo-accent); color: #fff; }
.xo-btn--primary:hover { filter: brightness(1.08); }
.xo-btn--sm { padding: 4px 10px; font-size: 0.75rem; }

.xo-alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--xo-radius);
  border: 1px solid var(--xo-border); background: var(--xo-card);
}
.xo-alert--warn { border-color: rgba(245,166,35,0.35); background: var(--xo-yellow-dim); }
.xo-alert--err { border-color: rgba(239,83,80,0.4); background: var(--xo-red-dim); }
.xo-alert--info { border-color: rgba(29,155,240,0.35); background: var(--xo-accent-dim); }
.xo-alert__title { font-weight: 800; margin-bottom: 2px; }
.xo-alert__body { font-size: 0.88rem; color: var(--xo-muted); }

.xo-card {
  background: var(--xo-card);
  border: 1px solid var(--xo-border);
  border-radius: var(--xo-radius);
  padding: 20px;
}
.xo-card__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 12px;
}
.xo-card__title {
  margin: 0; font-size: 13px; font-weight: 500;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--xo-muted);
}
.xo-card__title--accent { color: var(--xo-accent); }

.xo-grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1100px) { .xo-grid-2 { grid-template-columns: 1.4fr 1fr; } }
.xo-grid-eq { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .xo-grid-eq { grid-template-columns: 1fr 1fr; } }

.xo-kpis {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) { .xo-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .xo-kpis.xo-kpis--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.xo-kpi {
  background: var(--xo-card); border: 1px solid var(--xo-border);
  border-radius: var(--xo-radius); padding: 20px;
  --tone: var(--xo-accent);
}
/* Figma KPI cards have no colored edge; tone = 6px dot before the label */
.xo-kpi--green { --tone: var(--xo-green); }
.xo-kpi--red { --tone: var(--xo-red); }
.xo-kpi--yellow { --tone: var(--xo-yellow); }
.xo-kpi--muted { --tone: var(--xo-faint); }
.xo-kpi__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--xo-muted); }
.xo-kpi__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tone); flex: none; }
.xo-kpi__value { margin-top: 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.xo-kpi__desc { margin-top: 8px; font-size: 12px; color: var(--xo-faint); }
.xo-up { color: var(--xo-green); }
.xo-down { color: var(--xo-red); }
.xo-flat { color: var(--xo-muted); }

/* Goal / money hero */
.xo-hero {
  background: var(--xo-card);
  border: 1px solid var(--xo-border);
  border-radius: var(--xo-radius-xl);
  padding: 28px;
}
.xo-hero__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--xo-muted); }
.xo-hero__cash {
  margin: 6px 0 2px;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
}
.xo-hero__goal { font-size: 1rem; color: var(--xo-muted); font-weight: 600; }
.xo-hero__goal b { color: var(--xo-text); }
.xo-progress {
  margin-top: 14px; height: 12px; border-radius: var(--xo-radius-xs);
  background: var(--xo-track); overflow: hidden;
}
.xo-progress > span {
  display: block; height: 100%; width: 0%;
  background: var(--xo-accent);
  border-radius: var(--xo-radius-xs); min-width: 12px;   /* Figma: 12px dot shows even at 0% */
  transition: width 0.4s ease;
}
.xo-milestones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.xo-chip {
  padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  border: 1px solid var(--xo-border); color: var(--xo-muted); background: transparent;
}
.xo-chip--done { color: var(--xo-green); border-color: transparent; background: var(--xo-green-dim); }
.xo-chip--next { color: var(--xo-accent); border-color: transparent; background: var(--xo-accent-dim); }

.xo-tiles { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .xo-tiles { grid-template-columns: repeat(3, 1fr); } }
.xo-tile {
  text-align: center; padding: 12px 8px;
  background: var(--xo-card-2); border: 1px solid var(--xo-border-soft);
  border-radius: var(--xo-radius-sm);
}
.xo-tile__n { font-size: 1.35rem; font-weight: 800; color: var(--xo-accent); }
.xo-tile__l { margin-top: 4px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--xo-muted); }

.xo-section-title {
  margin: 0 0 8px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--xo-faint);
}
.xo-bar-row { margin-bottom: 12px; }
.xo-bar-head { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
progress.xo-bar {
  width: 100%; height: 8px; appearance: none; -webkit-appearance: none;
  border: none; border-radius: 999px; background: var(--xo-border-soft); overflow: hidden;
}
progress.xo-bar::-webkit-progress-bar { background: var(--xo-border-soft); border-radius: 999px; }
progress.xo-bar::-webkit-progress-value { background: var(--xo-accent); border-radius: 999px; }
progress.xo-bar::-moz-progress-bar { background: var(--xo-accent); border-radius: 999px; }
progress.xo-bar--green::-webkit-progress-value { background: var(--xo-green); }
progress.xo-bar--green::-moz-progress-bar { background: var(--xo-green); }
progress.xo-bar--yellow::-webkit-progress-value { background: var(--xo-yellow); }
progress.xo-bar--yellow::-moz-progress-bar { background: var(--xo-yellow); }
progress.xo-bar--red::-webkit-progress-value { background: var(--xo-red); }
progress.xo-bar--red::-moz-progress-bar { background: var(--xo-red); }

.xo-cbar { display: flex; width: 100%; height: 8px; border-radius: 999px; overflow: hidden; background: var(--xo-border-soft); }
.xo-cbar > div { height: 100%; }
.xo-cbar__m { background: var(--xo-green); }
.xo-cbar__p { background: var(--xo-yellow); }
.xo-cbar__n { background: var(--xo-faint); }

.xo-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.9rem; }
.xo-dl dt { color: var(--xo-muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.xo-dl dd { margin: 0; }

.xo-table-wrap { overflow-x: auto; }
.xo-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.xo-table th, .xo-table td {
  padding: 10px 12px; text-align: left;
  border-bottom: 1px solid var(--xo-border-soft);
}
.xo-table th {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--xo-muted); background: var(--xo-card-2);
}
.xo-table tbody tr:hover { background: rgba(29,155,240,0.05); }
.xo-table td { border-bottom-color: var(--xo-border); }

.xo-footer { font-size: 0.78rem; color: var(--xo-faint); padding-bottom: 20px; }
.xo-footer p:last-child, .xo-footer a { color: #e7e9ea; }
.xo-footer a { text-decoration: underline; text-underline-offset: 2px; }
pre.dump {
  white-space: pre-wrap; word-break: break-word; margin: 0;
  max-height: 440px; overflow: auto;
  font: 12px/1.5 var(--xo-mono); color: #c7cdd4;
  background: var(--xo-bg); border: 1px solid var(--xo-border-soft);
  border-radius: var(--xo-radius-sm); padding: 12px;
}

/* brain-grow chrome */
#chrome.xo-chrome {
  position: fixed; left: 0; right: 0; top: 0; z-index: 2;
  pointer-events: none; padding: 12px 14px 0;
}
#chrome.xo-chrome > * { pointer-events: auto; }
#spark { display: block; width: 100%; height: 36px; }
.xo-chrome-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 10px 14px;
  background: rgba(19, 23, 34, 0.94);
  border: 1px solid var(--xo-border);
  border-radius: var(--xo-radius);
  backdrop-filter: blur(12px);
}
.xo-chrome-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin-top: 8px; }
.xo-g-tile {
  min-width: 78px; text-align: center; padding: 8px 10px;
  background: rgba(19,23,34,0.94); border: 1px solid var(--xo-border);
  border-radius: var(--xo-radius-sm);
}
.xo-g-tile__n { font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.xo-g-tile__l { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--xo-muted); }

/* ===================================================================
   Figma component layer (Ops Board Kit file, 2026-10-06)
   App shell · page head · pills · panels · stats · tables · meters ·
   landing/pricing · board window · bar chart
   =================================================================== */

/* --- App shell: 240px sidebar + main (Figma Sidebar / Main) --- */
.xo-app { display: grid; grid-template-columns: 1fr; min-height: 100vh; background: var(--xo-bg); }
@media (min-width: 1024px) { .xo-app { grid-template-columns: 240px minmax(0, 1fr); } }
.xo-sidebar {
  display: flex; flex-direction: column; gap: 4px;
  padding: 28px 20px; background: var(--xo-sidebar);
  border-right: 1px solid var(--xo-border);
}
@media (min-width: 1024px) { .xo-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
@media (max-width: 1023px) {
  .xo-sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--xo-border); }
  .xo-sidebar .xo-logo { padding: 0 12px 0 0; }
  .xo-sidebar .xo-nav__h, .xo-sidebar .xo-sidecard, .xo-sidebar .xo-nav__spacer { display: none; }
  .xo-nav a { padding: 6px 10px; }
}
.xo-logo { display: flex; align-items: center; gap: 10px; padding-bottom: 24px; color: var(--xo-text); text-decoration: none; }
.xo-logo:hover { text-decoration: none; }
.xo-logo__mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--xo-accent); color: #fff; font-size: 16px; font-weight: 800;
}
.xo-logo__name { font-size: 17px; font-weight: 700; color: var(--xo-text); white-space: nowrap; }
.xo-nav { display: contents; }
.xo-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--xo-radius-sm);
  font-size: 14px; font-weight: 500; color: var(--xo-muted); text-decoration: none;
}
.xo-nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--xo-faint); flex: none; }
.xo-nav a:hover { background: var(--xo-card-2); color: var(--xo-text); text-decoration: none; }
.xo-nav a.is-active { background: var(--xo-accent-dim); color: var(--xo-text); font-weight: 600; }
.xo-nav a.is-active::before { background: var(--xo-accent); }
.xo-nav__h { margin: 14px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--xo-faint); }
.xo-nav__spacer { flex: 1 0 12px; }
.xo-sidecard {
  display: flex; flex-direction: column; gap: 6px; padding: 14px;
  background: var(--xo-card); border: 1px solid var(--xo-border); border-radius: var(--xo-radius-md);
}
.xo-sidecard__t { font-size: 12px; font-weight: 600; color: var(--xo-text); }
.xo-sidecard__b { font-size: 11px; color: var(--xo-muted); line-height: 1.45; }

.xo-page { display: flex; flex-direction: column; gap: 20px; padding: 32px 36px 40px; min-width: 0; max-width: 1440px; width: 100%; }
@media (max-width: 700px) { .xo-page { padding: 20px 16px 32px; } }

/* --- Page head (Figma Top bar) --- */
.xo-pagehead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.xo-pagehead__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.xo-pagehead__title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--xo-text); }
.xo-pagehead__sub { margin: 0; font-size: 14px; color: var(--xo-muted); }
.xo-pagehead__meta { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.xo-updated { font-size: 12px; font-weight: 500; color: var(--xo-faint); }

/* --- Pills / status badges (Figma Badge · *) --- */
.xo-pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--xo-muted); background: rgba(139,152,165,0.12);
}
.xo-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.xo-pill--live  { color: #fff; background: var(--xo-red); }
.xo-pill--live .xo-pill__dot { background: #fff; }
.xo-pill--green { color: var(--xo-green); background: var(--xo-green-dim); }
.xo-pill--blue  { color: var(--xo-accent); background: var(--xo-accent-dim); }
.xo-pill--amber { color: var(--xo-amber); background: var(--xo-amber-dim); }
.xo-pill--red   { color: var(--xo-red); background: var(--xo-red-dim); }
.xo-pill--solid { color: #fff; background: var(--xo-accent); }
.xo-pill--err   { color: var(--xo-red); background: var(--xo-red-dim); }

/* --- Panels (Figma hero / maturity / breakdown cards) --- */
.xo-panel {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 28px; background: var(--xo-card);
  border: 1px solid var(--xo-border); border-radius: var(--xo-radius-xl);
}
.xo-panel--raised { background: var(--xo-card-2); padding: 24px; gap: 12px; }
.xo-panel--flush { padding: 0; gap: 0; overflow: hidden; border-radius: var(--xo-radius); }
.xo-panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.xo-panel__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--xo-text); }
.xo-panel__meta { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--xo-muted); }
.xo-panel__body { margin: 0; font-size: 14px; line-height: 21px; color: var(--xo-muted); }
.xo-label { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--xo-muted); }
.xo-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.xo-big__n { font-size: clamp(44px, 6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--xo-text); }
.xo-big__u { font-size: 22px; font-weight: 600; color: var(--xo-faint); }
.xo-big--xl .xo-big__n { font-size: clamp(56px, 7vw, 80px); }
.xo-big--xl .xo-big__u { font-size: 24px; }
.xo-milestone-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.015em; color: var(--xo-text); }

/* rows / grids */
.xo-row { display: flex; align-items: center; gap: 12px; }
.xo-row > .xo-grow { flex: 1 1 auto; }
.xo-hero-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1100px) { .xo-hero-row { grid-template-columns: minmax(0, 1fr) 340px; } }
.xo-health-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1100px) { .xo-health-row { grid-template-columns: 380px minmax(0, 1fr); } }
.xo-split-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1100px) { .xo-split-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --- Progress track (Figma Progress track/fill) --- */
.xo-track { position: relative; width: 100%; height: 12px; border-radius: 6px; background: var(--xo-track); overflow: hidden; }
.xo-track > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; min-width: 12px; border-radius: 6px; background: var(--xo-accent); }
.xo-track--sm { height: 8px; border-radius: 4px; }
.xo-track--sm > span { border-radius: 4px; min-width: 0; }
.xo-track > span.is-green { background: var(--xo-green); }
.xo-track > span.is-amber { background: var(--xo-amber); }
.xo-track > span.is-red { background: var(--xo-red); }
.xo-ticks { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 500; color: var(--xo-faint); }
.xo-ticks .is-next { color: var(--xo-accent); }
.xo-ticks .is-done { color: var(--xo-green); }
.xo-goalrow { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.xo-goalrow b { font-weight: 600; color: var(--xo-text); }
.xo-goalrow span { margin-left: auto; font-weight: 500; color: var(--xo-muted); }

/* --- Checklist (Figma Next milestone) --- */
.xo-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; }
.xo-checklist li { display: flex; align-items: center; gap: 10px; color: var(--xo-muted); }
.xo-checklist li::before { content: "○"; font-weight: 700; color: var(--xo-faint); width: 1em; text-align: center; }
.xo-checklist li.is-done { color: var(--xo-text); }
.xo-checklist li.is-done::before { content: "●"; color: var(--xo-green); }

/* --- Stat cards (Figma KPI · *) --- */
.xo-stats { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .xo-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.xo-stat {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px;
  background: var(--xo-card); border: 1px solid var(--xo-border); border-radius: var(--xo-radius);
}
.xo-stat--raised { background: var(--xo-card-2); }
.xo-stat--compact { padding: 14px; }
.xo-stat--compact .xo-stat__label { font-size: 11px; white-space: normal; }
.xo-stat--compact .xo-stat__value { font-size: 26px; }
.xo-stat__label { font-size: 12px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--xo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xo-stat__value { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--xo-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xo-stat__delta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--xo-faint); min-width: 0; }
.xo-stat__delta b { font-weight: 600; }
.xo-stat__delta .up { color: var(--xo-green); }
.xo-stat__delta .down { color: var(--xo-red); }
.xo-stat__delta .flat { color: var(--xo-muted); }

/* --- Section head (Figma "Lanes & agents" header) --- */
.xo-sechead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.xo-sechead__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--xo-text); }
.xo-sechead__meta { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: var(--xo-muted); }

/* --- Data table (Figma Lane table / Process checks) --- */
.xo-dtable-wrap { min-width: 0; background: var(--xo-card); border: 1px solid var(--xo-border); border-radius: var(--xo-radius); overflow: hidden; overflow-x: auto; }
.xo-dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.xo-dtable th {
  padding: 12px 20px; text-align: left; white-space: nowrap; background: var(--xo-card-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--xo-muted);
}
.xo-dtable td { padding: 12px 20px; border-top: 1px solid var(--xo-border); color: var(--xo-muted); vertical-align: middle; }
.xo-dtable td:first-child { color: var(--xo-text); font-weight: 600; }
.xo-dtable td.is-strong { color: var(--xo-text); font-weight: 600; }
.xo-dtable td.num, .xo-dtable th.num { text-align: right; white-space: nowrap; }
.xo-dtable tbody tr:hover { background: rgba(29,155,240,0.04); }
.xo-dtable code { font-size: 12px; }
.xo-trend-up { color: var(--xo-green); font-weight: 500; }
.xo-trend-down { color: var(--xo-red); font-weight: 500; }
.xo-trend-flat { color: var(--xo-muted); font-weight: 500; }

/* --- Meter (Figma Meter · *) --- */
.xo-meters { display: flex; flex-direction: column; gap: 16px; }
.xo-meter { display: flex; flex-direction: column; gap: 8px; }
.xo-meter__row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.xo-meter__name { font-weight: 500; color: var(--xo-text); }
.xo-meter__val { margin-left: auto; font-weight: 600; white-space: nowrap; }
.xo-meter__val.is-green { color: var(--xo-green); }
.xo-meter__val.is-blue { color: var(--xo-accent); }
.xo-meter__val.is-amber { color: var(--xo-amber); }
.xo-meter__val.is-red { color: var(--xo-red); }

/* --- Landing (Figma Sell Digital 11:181) --- */
.xo-lnav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 20px 80px; border-bottom: 1px solid var(--xo-border); }
.xo-lnav .xo-logo { padding: 0; }
.xo-lnav__links { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.xo-lnav__links a:not(.xo-cta-light) { font-size: 14px; font-weight: 500; color: var(--xo-muted); }
.xo-lnav__links a:not(.xo-cta-light):hover { color: var(--xo-text); text-decoration: none; }
.xo-cta-light { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--xo-text); color: var(--xo-bg); font-size: 14px; font-weight: 600; text-decoration: none; }
.xo-cta-light:hover { text-decoration: none; filter: brightness(0.94); }
.xo-lbody { display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 56px 80px 48px; max-width: 1280px; margin: 0 auto; width: 100%; }
@media (max-width: 800px) { .xo-lnav { padding: 16px 20px; } .xo-lbody { padding: 36px 20px; } }
.xo-lhero { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.xo-h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: var(--xo-text); }
.xo-lede { margin: 0; max-width: 760px; font-size: 18px; line-height: 28px; color: var(--xo-muted); }
.xo-tiers { display: grid; grid-template-columns: 1fr; gap: 20px; width: 100%; }
@media (min-width: 900px) { .xo-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xo-tier { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--xo-card); border: 1px solid var(--xo-border); border-radius: var(--xo-radius-xl); min-width: 0; }
.xo-tier--pick { background: var(--xo-card-2); border: 2px solid var(--xo-accent); padding: 27px; }
.xo-tier__head { display: flex; align-items: center; gap: 10px; }
.xo-tier__name { margin: 0; font-size: 18px; font-weight: 600; color: var(--xo-text); }
.xo-tier__head .xo-pill { margin-left: auto; }
.xo-price { display: flex; align-items: baseline; gap: 6px; }
.xo-price__n { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--xo-text); }
.xo-price__u { font-size: 14px; font-weight: 500; color: var(--xo-faint); }
.xo-tier__desc { margin: 0; font-size: 14px; line-height: 21px; color: var(--xo-muted); }
.xo-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 500; color: var(--xo-text); flex: 1 0 auto; }
.xo-feats li { display: flex; align-items: baseline; gap: 10px; }
.xo-feats li::before { content: "✓"; font-weight: 700; color: var(--xo-green); flex: none; }
.xo-tier__btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; border-radius: var(--xo-radius-sm); border: 1px solid var(--xo-border); background: var(--xo-card-2); color: var(--xo-text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; }
.xo-tier__btn:hover { text-decoration: none; filter: brightness(1.1); }
.xo-tier__btn--primary { background: var(--xo-accent); border-color: var(--xo-accent); color: #fff; }
.xo-tier__btn[aria-disabled="true"] { cursor: not-allowed; }
.xo-note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 20px; background: var(--xo-card); border: 1px solid var(--xo-border); border-radius: var(--xo-radius-md); font-size: 14px; font-weight: 500; color: var(--xo-muted); max-width: 100%; }

/* --- Board window (Figma Ops Board Kit mock 11:276) --- */
.xo-window { display: flex; flex-direction: column; min-width: 0; background: var(--xo-card); border: 1px solid var(--xo-border); border-radius: var(--xo-radius-lg); overflow: hidden; width: 100%; }
.xo-window__chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--xo-card-2); }
.xo-window__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--xo-red); }
.xo-window__dot:nth-child(2) { background: var(--xo-amber); }
.xo-window__dot:nth-child(3) { background: var(--xo-green); }
.xo-window__path { margin-left: 12px; font-size: 12px; font-weight: 500; color: var(--xo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xo-window__chrome .xo-pill { margin-left: auto; }
.xo-window__body { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.xo-window .xo-stats { gap: 14px; }
.xo-charts-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 1000px) { .xo-charts-row { grid-template-columns: minmax(0, 1fr) 340px; } }
.xo-bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; }
.xo-bars__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.xo-bars__bar { width: 100%; border-radius: 6px; background: var(--xo-bar-idle); min-height: 4px; }
.xo-bars__bar.is-hot { background: var(--xo-accent); }
.xo-bars__l { font-size: 11px; font-weight: 500; color: var(--xo-faint); }
.xo-mix { display: flex; flex-direction: column; gap: 6px; }
.xo-mix__row { display: flex; gap: 12px; font-size: 13px; color: var(--xo-text); }
.xo-mix__row b { margin-left: auto; font-weight: 600; }
