/* =========================================================
   ORIOS APP — Recruitment redesign
   Shell: dark slate sidebar + sage canvas
   Brand: matches landing (Fraunces serifs, sticker labels,
   agent voice front and center)
   ========================================================= */

:root {
  --accent: #e85d04;
  --accent-2: #ffa824;
  --accent-deep: #b34800;
  --accent-soft: rgba(232,93,4,0.12);

  --paper: #eef0ec;
  --paper-2: #e2e5df;
  --paper-3: #d6dad2;
  --paper-card: #ffffff;
  --ink: #14181d;
  --ink-2: #2a2f38;
  --ink-3: #585e68;
  --ink-4: #8a8f97;
  --line: #d4d8d0;
  --line-2: #c2c7bd;

  --slate: #14181d;
  --slate-2: #1c2129;
  --slate-3: #252c36;
  --slate-line: rgba(255,255,255,0.08);

  --plum: #5b3a8c;
  --teal: #0d6b6a;
  --moss: #4d6b3e;
  --terracotta: #c8593c;
  --gold: #c9971a;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
}

* { box-sizing: border-box; }

.orios-app {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  width: 1440px;
  height: 900px;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 64px 1fr;
  -webkit-font-smoothing: antialiased;
}

.orios-app * { box-sizing: border-box; }
.orios-app h1, .orios-app h2, .orios-app h3, .orios-app h4 { margin: 0; }
.orios-app p { margin: 0; }
.orios-app button { font-family: inherit; cursor: pointer; }

/* Display headlines use Fraunces */
.frx { font-family: 'Fraunces', serif; letter-spacing: -0.025em; font-variation-settings: "SOFT" 50, "WONK" 1; }
.frx-it { font-family: 'Fraunces', serif; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.mono { font-family: 'JetBrains Mono', monospace; }
.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker .sq {
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
.kicker.dark { color: rgba(255,255,255,0.55); }

/* Sticker label */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px 3px;
  border-radius: 3px;
  transform: rotate(-1.2deg);
  box-shadow: 1.5px 1.5px 0 var(--accent);
}
.sticker.accent { background: var(--accent); color: #fff; box-shadow: 1.5px 1.5px 0 var(--ink); }
.sticker.outline { background: transparent; color: var(--ink); border: 1.2px solid var(--ink); box-shadow: none; }
.sticker.ghost-dark { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.1); transform: none; box-shadow: none; }

/* =====================  SIDEBAR  =====================
   Visual notes:
   - Base background lifted from #14181d → #161b22 (cooler, less heavy slab).
   - Subtle 1% white noise via radial gradients for "designed" feel without
     loading an image asset.
   - Hairline border on the right at 6% white instead of the 8% slate-line.
   - Active state: 2px --accent-deep left bar + tinted background (was 3px
     full --accent which read too loud).
   - Width transitions smoothly between expanded (240px) and collapsed (68px).
*/
.sidebar {
  grid-row: 1 / span 2;
  background:
    radial-gradient(1200px 600px at 0% 0%, rgba(255,255,255,0.02), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(255,168,36,0.025), transparent 60%),
    #161b22;
  color: rgba(255,255,255,0.72);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sidebar.collapsed { width: 68px !important; }

.sb-logo {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 18px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: #fff;
}
.sidebar.collapsed .sb-logo { padding: 0 14px; justify-content: center; }
.sidebar.collapsed .sb-logo-mark { display: none; }

.sb-collapse-btn {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.sb-collapse-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sb-collapse-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.sidebar.collapsed .sb-collapse-btn svg { transform: rotate(180deg); }

.sb-section {
  padding: 18px 14px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: flex; align-items: center; gap: 8px;
}
.sb-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.05);
}
/* Toggle variant — clickable section header (used by Pinned).
   Reset native button chrome; keep the same hairline divider on the right. */
.sb-section-toggle {
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  transition: color 140ms ease;
}
.sb-section-toggle:hover { color: rgba(255,255,255,0.65); }
.sb-section-chevron {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotate(-90deg); /* closed: chevron points right */
  flex-shrink: 0;
  order: 2; /* push past the ::after hairline rule so chevron sits at far right */
}
.sb-section-toggle.open .sb-section-chevron {
  transform: rotate(0deg); /* open: chevron points down */
}
.sb-section-chevron svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.sb-section-toggle:hover .sb-section-chevron { color: rgba(255,255,255,0.75); }
.sidebar.collapsed .sb-section {
  padding: 14px 10px 4px;
  justify-content: center;
}
.sidebar.collapsed .sb-section span { display: none; }
.sidebar.collapsed .sb-section::after { display: none; }
.sidebar.collapsed .sb-section::before {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.sb-nav { display: flex; flex-direction: column; padding: 0 10px; gap: 2px; }
.sidebar.collapsed .sb-nav { padding: 0 8px; }

.sb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 140ms ease, color 140ms ease;
}
.sb-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sb-item.active {
  background: rgba(179,72,0,0.18);
  color: #fff;
}
.sb-item.active::before {
  content: '';
  position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 18px;
  background: var(--accent-deep, #b34800);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(179,72,0,0.5);
}
.sb-item .ic {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
  transition: color 140ms ease, transform 140ms ease;
}
.sb-item:hover .ic, .sb-item.active .ic { color: #fff; }
.sb-item .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sb-item .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Drill-down chevron — translates right on hover */
.sb-item .ic-chevron {
  margin-left: auto;
  opacity: 0.35;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 140ms ease;
}
.sb-item:hover .ic-chevron { opacity: 0.7; transform: translateX(2px); }

/* Pin button — appears on hover. Replaces chevron position on non-drilldown items. */
.sb-pin {
  margin-left: auto;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease, color 140ms ease;
  flex-shrink: 0;
  padding: 0;
}
.sb-pin svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.sb-pin.pinned svg { fill: var(--accent, #e85d04); stroke: var(--accent, #e85d04); }
.sb-pin.pinned { opacity: 1; transform: scale(1); color: var(--accent, #e85d04); }
.sb-item:hover .sb-pin { opacity: 1; transform: scale(1); }
.sb-pin:hover { background: rgba(255,255,255,0.1); color: #fff; }
.sb-pin.pinned:hover { color: var(--accent-deep, #b34800); }

/* Collapsed mode — hide labels, center icons, show tooltip on hover */
.sidebar.collapsed .sb-item {
  justify-content: center;
  padding: 10px 0;
  gap: 0;
}
.sidebar.collapsed .sb-item .label,
.sidebar.collapsed .sb-item .ic-chevron,
.sidebar.collapsed .sb-pin { display: none; }
.sidebar.collapsed .sb-item .ic { width: 20px; height: 20px; }
.sidebar.collapsed .sb-item .ic svg { width: 20px; height: 20px; }
.sidebar.collapsed .sb-item.active::before { left: 0; height: 22px; }

/* Tooltip for collapsed mode */
.sidebar.collapsed .sb-item[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #0f1419;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 1001;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  pointer-events: none;
}

.sb-item .badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Pinned section — slight visual differentiation */
.sb-pinned-empty {
  margin: 0 14px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 8px;
  font-style: italic;
  line-height: 1.4;
}
.sidebar.collapsed .sb-pinned-empty { display: none; }

/* Agent card in sidebar — Scout */
.sb-agent {
  margin: auto 14px 14px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  position: relative;
}
.sb-agent .agent-top {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 10px;
}
.sb-agent .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--teal), #084948);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.15);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.sb-agent .nm {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
}
.sb-agent .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 1px;
}
.sb-agent .msg {
  color: rgba(255,255,255,0.8);
  font-size: 12.5px;
  line-height: 1.45;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "SOFT" 80;
}
.sb-agent .msg::before { content: '"'; color: var(--accent-2); }
.sb-agent .msg::after { content: '"'; color: var(--accent-2); }
.sb-agent .ask {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 7px 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.sb-agent .ask:hover { background: rgba(0,0,0,0.4); }
.sb-agent .ask .key {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: rgba(255,255,255,0.06);
  padding: 2px 5px;
  border-radius: 3px;
  color: rgba(255,255,255,0.6);
}

/* =====================  HEADER  ===================== */
.header {
  grid-column: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 0 28px;
  gap: 20px;
}
.hd-crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.hd-crumbs .sep { opacity: 0.5; }
.hd-crumbs .here { color: var(--ink); font-weight: 600; }

.hd-search {
  margin-left: auto;
  width: 380px;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--ink-3);
  font-size: 13px;
}
.hd-search .key {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink-3);
}
.hd-search svg { width: 14px; height: 14px; }

.hd-actions { display: flex; align-items: center; gap: 6px; }
.hd-icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  position: relative;
}
.hd-icon-btn:hover { background: var(--paper-2); }
.hd-icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.hd-icon-btn .dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  border: 1.5px solid var(--paper);
}
.hd-user {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
}
.hd-user .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(155deg, #e85d04, #b34800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* =====================  MAIN CONTENT  ===================== */
.main {
  grid-column: 2;
  overflow-y: auto;
  background: var(--paper);
  padding: 28px 36px 36px;
}

.page-title-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.page-title {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
}
.page-title em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.page-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 6px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover { background: var(--paper-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* =====================  AGENT BRIEF (Scout) ===================== */
.agent-brief {
  background: var(--paper-card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}
.agent-brief::before { display: none; }
.agent-brief .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--teal), #084948);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  position: relative;
  z-index: 2;
}
.agent-brief .b-body { position: relative; z-index: 2; }
.agent-brief .b-body .who-line {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.agent-brief .b-body .who-line strong { color: var(--ink); font-weight: 700; }
.agent-brief .b-body .who-line .sep { color: var(--ink-4); }
.agent-brief .b-body .msg {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  max-width: 760px;
}
.agent-brief .b-body .msg em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--accent-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.agent-brief .actions {
  display: flex; gap: 6px;
  position: relative; z-index: 2;
}
.agent-brief .actions .btn {
  height: 30px;
  padding: 0 12px;
  font-size: 12.5px;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.agent-brief .actions .btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.agent-brief .actions .btn:hover { background: var(--paper-3); }
.agent-brief .actions .btn.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* =====================  KPI CARDS  ===================== */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.kpi {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.kpi.feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  background-image: radial-gradient(circle at 100% 0%, rgba(13,107,106,0.25), transparent 60%);
}
.kpi .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; justify-content: space-between;
}
.kpi.feature .lbl { color: rgba(255,255,255,0.5); }
.kpi .lbl .ic {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.kpi.feature .lbl .ic { background: rgba(255,255,255,0.06); color: var(--accent-2); }
.kpi .lbl .ic svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.kpi .num {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 14px 0 8px;
}
.kpi.feature .num { color: #fff; font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1; }
.kpi .delta {
  font-size: 12px;
  color: var(--moss);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.kpi .delta.warn { color: var(--terracotta); }
.kpi.feature .delta { color: rgba(255,255,255,0.6); }
.kpi .micro {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}
.kpi.feature .micro { color: rgba(255,255,255,0.55); }
.kpi .spark {
  margin-top: 14px;
  height: 32px;
}
.kpi .spark svg { width: 100%; height: 100%; }

/* =====================  CARD =====================*/
.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}
.card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}
.card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.card-title em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--ink-2); font-variation-settings: "SOFT" 100, "WONK" 1; }
.card-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.card-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 4px;
}
.card-link:hover { color: var(--accent); }

/* Two-col layout */
.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* =====================  PIPELINE FUNNEL  ===================== */
.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel .row {
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  gap: 14px;
  align-items: center;
}
.funnel .row .stage {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.funnel .row .bar {
  height: 28px;
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.funnel .row .bar > div {
  height: 100%;
  border-radius: 6px;
  display: flex; align-items: center;
  padding: 0 12px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.funnel .row .num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.funnel .row .pct {
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 4px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Funnel insight chip */
.funnel-insight {
  margin-top: 14px;
  padding: 11px 14px;
  background: var(--paper-2);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex; gap: 10px; align-items: flex-start;
}
.funnel-insight .lb {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  padding-top: 1px;
}
.funnel-insight .lb::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.funnel-insight strong { color: var(--ink); }

/* =====================  PENDING REVIEW LIST  ===================== */
.review-list { display: flex; flex-direction: column; gap: 0; }
.review-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.review-row:first-child { border-top: 0; }
.review-row .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  border: 1.5px solid var(--ink);
}
.review-row .nm {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.review-row .role {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 1px;
}
.review-row .verdict {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.review-row .verdict.move { background: rgba(77,107,62,0.18); color: var(--moss); }
.review-row .verdict.hold { background: var(--paper-2); color: var(--ink-3); }
.review-row .verdict.pass { background: rgba(200,89,60,0.16); color: var(--terracotta); }
.review-row .score-mini {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  width: 36px;
  text-align: right;
}
.review-row .score-mini.high { color: var(--accent-deep); }
.review-row .arr {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  color: var(--ink);
}
.review-row .arr svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* =====================  SOURCES ===================== */
.sources-list { display: flex; flex-direction: column; gap: 14px; }
.source-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 14px;
  align-items: center;
}
.source-row .nm { font-size: 13px; font-weight: 600; }
.source-row .nm .sub { display: block; font-weight: 400; font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.source-row .bar {
  height: 8px;
  background: var(--paper-2);
  border-radius: 4px;
  overflow: hidden;
}
.source-row .bar > div {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}
.source-row .bar > div.plum { background: var(--plum); }
.source-row .bar > div.teal { background: var(--teal); }
.source-row .bar > div.gold { background: var(--gold); }
.source-row .bar > div.moss { background: var(--moss); }
.source-row .pct {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

/* =====================  JOBS TABLE ===================== */
.filter-bar {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.filter-bar .search-mini {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: var(--paper-2);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.filter-bar .search-mini svg { width: 13px; height: 13px; }
.filter-bar .pill {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  display: inline-flex; gap: 6px; align-items: center;
}
.filter-bar .pill.active { background: var(--ink); color: var(--paper); }
.filter-bar .pill svg { width: 11px; height: 11px; opacity: 0.6; stroke: currentColor; fill: none; stroke-width: 2; }

.jobs-table {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.jobs-table .row {
  display: grid;
  grid-template-columns: 2.6fr 1.4fr 1.2fr 1fr 1fr 1.4fr 0.6fr;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.jobs-table .row:hover { background: var(--paper-2); }
.jobs-table .row.head {
  border-top: 0;
  background: var(--paper-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 22px;
}
.jobs-table .job-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}
.jobs-table .job-title .id {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.jobs-table .dept {
  font-size: 12.5px;
  color: var(--ink-2);
}
.jobs-table .loc {
  font-size: 12.5px;
  color: var(--ink-2);
}
.jobs-table .loc .mode {
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.jobs-table .apps {
  display: flex; align-items: baseline; gap: 4px;
}
.jobs-table .apps .n {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.jobs-table .apps .of { font-size: 11px; color: var(--ink-3); }
.jobs-table .status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}
.jobs-table .status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.jobs-table .status-pill.published { background: rgba(77,107,62,0.16); color: var(--moss); }
.jobs-table .status-pill.draft { background: var(--paper-2); color: var(--ink-3); }
.jobs-table .scout-take {
  font-size: 12px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.jobs-table .scout-take .b {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--teal), #084948);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 10px;
  color: #fff;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.jobs-table .scout-take.flag { color: var(--terracotta); font-weight: 600; }
.jobs-table .scout-take.flag .b { background: linear-gradient(155deg, var(--terracotta), #8a3a26); }
.jobs-table .scout-take.good { color: var(--moss); font-weight: 600; }
.jobs-table .scout-take.good .b { background: linear-gradient(155deg, var(--moss), #2f4523); }
.jobs-table .row-arr {
  color: var(--ink-3);
  text-align: right;
}
.jobs-table .row-arr svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* =====================  CANDIDATE DETAIL ===================== */
.cand-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* Hero candidate card */
.cand-hero {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.cand-hero .top {
  display: flex; gap: 18px; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cand-hero .pic {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(155deg, #c8593c, #8a3a26);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  border: 2px solid var(--ink);
  flex-shrink: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cand-hero .who h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.cand-hero .who .role-line {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 4px;
  display: flex; gap: 10px; align-items: center;
}
.cand-hero .who .role-line .sep { color: var(--ink-4); }
.cand-hero .meta-bar {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 12px;
}
.cand-hero .meta-bar .bit {
  font-size: 12px;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
}
.cand-hero .meta-bar .bit svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.cand-hero .meta-bar .bit strong { color: var(--ink); font-weight: 600; }

.cand-hero .hero-actions {
  margin-left: auto;
  display: flex; gap: 8px;
  flex-direction: column;
  align-items: flex-end;
}
.cand-hero .stage-now {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cand-hero .stage-now .v {
  color: var(--accent-deep);
  font-weight: 700;
}

/* Scout's verdict */
.verdict-card {
  margin-top: 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.verdict-card::before {
  content: '';
  position: absolute;
  right: -50px; top: -30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,4,0.2), transparent 70%);
}
.verdict-card .top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  position: relative; z-index: 2;
}
.verdict-card .top .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--teal), #084948);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.verdict-card .top .who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.verdict-card .top .ts {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.verdict-card .v-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  position: relative; z-index: 2;
}
.verdict-card .verdict-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,89,60,0.18);
  color: #e89580;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(200,89,60,0.4);
}
.verdict-card .v-headline {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.4;
  color: #fff;
}
.verdict-card .v-headline em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--accent-2); font-variation-settings: "SOFT" 100, "WONK" 1; }
.verdict-card .v-detail {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin-top: 12px;
  position: relative; z-index: 2;
  max-width: 700px;
}
.verdict-card .v-actions {
  margin-top: 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.verdict-card .v-actions .btn { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.verdict-card .v-actions .btn:hover { background: rgba(255,255,255,0.12); }
.verdict-card .v-actions .btn.primary { background: var(--accent); border-color: var(--accent); }
.verdict-card .v-actions .btn.danger {
  background: rgba(200,89,60,0.16);
  border-color: rgba(200,89,60,0.35);
  color: #e89580;
}

/* Fit score visualisation - radial */
.fit-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}
.fit-radial {
  margin: 12px 0 4px;
  display: flex; gap: 24px; align-items: center;
}
.fit-radial .ring {
  position: relative;
  width: 130px; height: 130px;
  flex-shrink: 0;
}
.fit-radial .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fit-radial .ring .r-bg { fill: none; stroke: var(--paper-2); stroke-width: 12; }
.fit-radial .ring .r-fg { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; }
.fit-radial .ring .center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.fit-radial .ring .num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.fit-radial .ring .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.fit-radial .breakdown {
  flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.fit-radial .b-row {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.fit-radial .b-row .lb {
  color: var(--ink-2);
  font-weight: 600;
}
.fit-radial .b-row .bar {
  height: 6px;
  background: var(--paper-2);
  border-radius: 3px;
  overflow: hidden;
}
.fit-radial .b-row .bar > div { height: 100%; border-radius: 3px; }
.fit-radial .b-row .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Strengths / Concerns - two columns */
.sc-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sc-block h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  font-weight: 700;
}
.sc-block.strengths h4 { color: var(--moss); }
.sc-block.concerns h4 { color: var(--terracotta); }
.sc-block h4 .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sc-block ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sc-block li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
}
.sc-block.strengths li::before { content: '+'; color: var(--moss); font-weight: 800; line-height: 1.45; }
.sc-block.concerns li::before { content: '!'; color: var(--terracotta); font-weight: 800; line-height: 1.45; }

/* Tabs */
.tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.tab {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.tab .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-left: 6px;
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink-3);
}
.tab.active .count { background: var(--accent-soft); color: var(--accent-deep); }

/* Right rail */
.cand-rail { display: flex; flex-direction: column; gap: 16px; }
.rail-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.rail-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Stage progression */
.stage-track { display: flex; flex-direction: column; gap: 8px; }
.stage-track .step {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.stage-track .step .marker {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper-card);
  position: relative;
}
.stage-track .step.done .marker { background: var(--moss); border-color: var(--moss); }
.stage-track .step.done .marker::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700;
}
.stage-track .step.current .marker { background: var(--accent); border-color: var(--accent); }
.stage-track .step.current .marker::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.3;
}
.stage-track .step .nm { font-weight: 600; }
.stage-track .step .ts { font-size: 11px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }
.stage-track .step.current .nm { color: var(--accent-deep); }
.stage-track .step.pending .nm { color: var(--ink-3); font-weight: 500; }

/* Coach card - what to ask next */
.coach-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 18px 20px;
}
.coach-card h4 {
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.coach-card h4 .av {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--teal), #084948);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.coach-card .ask {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 80;
}

/* Activity log */
.activity-log { display: flex; flex-direction: column; gap: 0; }
.act-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.act-item:first-child { border-top: 0; }
.act-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 6px;
  margin-left: 8px;
}
.act-item .dot.ai { background: var(--accent); }
.act-item .who { font-weight: 600; color: var(--ink); }
.act-item .what { color: var(--ink-2); }
.act-item .ts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* Quick actions row on dashboard */
.quick-row {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.quick-row .lb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.quick-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.quick-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quick-chip svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Upcoming interviews */
.iv-list { display: flex; flex-direction: column; gap: 12px; }
.iv-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px;
  background: var(--paper-2);
  border-radius: 10px;
  align-items: center;
}
.iv-row .when {
  text-align: center;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 4px;
}
.iv-row .when .day {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1;
}
.iv-row .when .mo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
.iv-row .nm { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.iv-row .meta {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.iv-row .time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 600;
}

/* =========================================================
   ORIOS APP — runtime overrides for fluid layout in Next.js
   (the design's CSS is fixed 1440x900; we make it fluid)
   ========================================================= */

html, body {
  background: var(--paper, #eef0ec) !important;
  height: auto !important;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--ink, #14181d);
}

.orios-app {
  /* Override the design's fixed 1440x900 — make it fluid. */
  width: 100% !important;
  height: 100vh !important;
}

/* Keyframes used by DashboardLayout's loader spinner */
@keyframes oriosSpin {
  to { transform: rotate(360deg); }
}
