/* ============================================================
   Assistant Atlas -- TMG bioluminescent build
   Learning guide: /learn/ai-assistant-styles/
   ------------------------------------------------------------
   Reuses global TMG tokens (--cyan, --magenta, --black-card,
   --font-display Fraunces, --font-body Outfit, --font-mono).
   Adds a cool->hot LEVEL ramp (cyan L1 -> magenta L5) that
   encodes complexity on icons, badges, ladder, and calculator.
   Atlas classes are collision-free with global styles.css;
   only bare h1/h2/h3 are scoped under .atlas-app.
   ============================================================ */

body.learn-guide {
  /* surfaces (dark) */
  --surface: #16171c;
  --surface-2: #1c1d23;
  --surface-3: #232430;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  /* text */
  --ink: #f4f5f7;
  --ink-2: #d6d9df;
  --muted: #9aa0ad;

  /* brand chrome accent = cyan, energy = magenta (from global) */
  --accent: var(--cyan, #00B4D8);
  --accent-2: var(--cyan-bright, #00d4ff);
  --accent-ink: #5fd6ef;
  --accent-bg: rgba(0, 180, 216, 0.12);
  --accent-glow: rgba(0, 180, 216, 0.38);
  --energy: var(--magenta, #E91E8C);
  --energy-glow: rgba(233, 30, 140, 0.4);

  /* LEVEL ramp: cyan -> azure -> indigo -> orchid -> magenta */
  --l1: #00B4D8; --l1-bg: rgba(0, 180, 216, 0.14);  --l1-ink: #62d8f0;
  --l2: #3b9ae8; --l2-bg: rgba(59, 154, 232, 0.15); --l2-ink: #79b8f7;
  --l3: #7b6cff; --l3-bg: rgba(123, 108, 255, 0.16);--l3-ink: #ad9fff;
  --l4: #c44ad0; --l4-bg: rgba(196, 74, 208, 0.16); --l4-ink: #e08bea;
  --l5: #ff2da5; --l5-bg: rgba(255, 45, 165, 0.16); --l5-ink: #ff7bc2;

  --r: 14px; --r-sm: 10px; --r-lg: 20px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --gfont: var(--font-display, "Fraunces", Georgia, serif);
  --bfont: var(--font-body, "Outfit", system-ui, sans-serif);
  --mfont: var(--font-mono, "JetBrains Mono", monospace);
}

/* level color hooks */
.lvl-1 { --lvl: var(--l1); --lvl-bg: var(--l1-bg); --lvl-ink: var(--l1-ink); --lvl-glow: rgba(0,180,216,.35); }
.lvl-2 { --lvl: var(--l2); --lvl-bg: var(--l2-bg); --lvl-ink: var(--l2-ink); --lvl-glow: rgba(59,154,232,.35); }
.lvl-3 { --lvl: var(--l3); --lvl-bg: var(--l3-bg); --lvl-ink: var(--l3-ink); --lvl-glow: rgba(123,108,255,.35); }
.lvl-4 { --lvl: var(--l4); --lvl-bg: var(--l4-bg); --lvl-ink: var(--l4-ink); --lvl-glow: rgba(196,74,208,.35); }
.lvl-5 { --lvl: var(--l5); --lvl-bg: var(--l5-bg); --lvl-ink: var(--l5-ink); --lvl-glow: rgba(255,45,165,.4); }

/* ============ Guide hero ============ */
.guide-hero {
  position: relative;
  padding: 7rem 1.5rem 3rem;
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(0, 180, 216, 0.16), transparent 60%),
    radial-gradient(560px 320px at 92% 10%, rgba(233, 30, 140, 0.13), transparent 58%);
  border-bottom: 1px solid var(--line);
}
.guide-hero__inner { max-width: 1180px; margin: 0 auto; }
.crumbs { display: flex; gap: 10px; margin-bottom: 1.6rem; font-family: var(--mfont); font-size: 0.78rem; color: var(--muted); }
.crumbs a { color: var(--accent-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.guide-eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mfont);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.guide-title {
  max-width: 20ch;
  margin: 0 0 1.3rem;
  font-family: var(--gfont);
  font-weight: 500;
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.6rem);
  line-height: 1.04;
  color: var(--white-hot, #fff);
  letter-spacing: -0.01em;
}
.guide-lede {
  max-width: 64ch;
  margin: 0 0 2rem;
  font-family: var(--bfont);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2);
}

.level-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.level-legend__label {
  font-family: var(--mfont);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--bfont);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.level-chip i {
  width: 11px; height: 11px;
  border-radius: 4px;
  background: var(--lvl);
  box-shadow: 0 0 10px var(--lvl-glow);
}
.level-chip small { color: var(--muted); font-weight: 400; }

/* ============ Atlas app shell ============ */
.atlas-app {
  max-width: 1480px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem 1rem;
  font-family: var(--bfont);
  color: var(--ink);
}
.atlas-app h1, .atlas-app h2, .atlas-app h3 { font-family: var(--gfont); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.atlas-app h1, .atlas-app h2, .atlas-app h3, .atlas-app p { overflow-wrap: anywhere; }
.atlas-app button, .atlas-app input, .atlas-app select { font: inherit; }
.atlas-app button { cursor: pointer; font-family: var(--bfont); }
.atlas-app ::selection { background: rgba(0, 180, 216, 0.3); }

.atlas-app .workspace, .atlas-app .band { width: 100%; margin: 0 auto 22px; }
.atlas-app .workspace { display: flex; flex-direction: column; gap: 18px; }

.workspace-header, .band-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: 2px 0 4px;
}
.eyebrow {
  margin: 0 0 9px;
  font-family: var(--mfont);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink);
}
.atlas-app h2 { max-width: 36ch; margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem); line-height: 1.14; }
.atlas-app h3 { margin: 0; font-size: 1.04rem; }

/* controls */
.header-controls { display: grid; gap: 7px; min-width: 218px; }
.select-label, .atlas-app label { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.select, .input {
  width: 100%; min-height: 46px; padding: 0 14px;
  color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.select { appearance: none; }
.select:hover, .input:hover { border-color: var(--accent); }
.select:focus, .input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-bg); }
.input::placeholder { color: var(--text-muted, #666); }

/* view tabs */
.view-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.view-tab {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px; padding: 0 16px 0 12px;
  color: var(--muted); background: transparent;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-weight: 600; transition: all 0.16s var(--ease);
}
.view-tab .tab-num {
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 7px; background: var(--surface-3); border: 1px solid var(--line-2);
  color: var(--muted); font-family: var(--mfont); font-size: 0.74rem; font-weight: 600;
}
.view-tab:hover { color: var(--ink); background: var(--surface-2); }
.view-tab.is-active {
  color: var(--white-hot, #fff); background: var(--accent-bg);
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: 0 0 24px rgba(0, 180, 216, 0.18);
}
.view-tab.is-active .tab-num { background: var(--accent); border-color: var(--accent); color: #051015; }
body:not(.has-selection) .atlas-app .view-tabs { display: none; }

/* showroom grid */
.showroom-grid {
  flex: 1; display: grid; grid-template-columns: 290px minmax(0, 1fr) 348px;
  gap: 18px; align-items: start;
}
body:not(.has-selection) .atlas-app .showroom-grid { grid-template-columns: 1fr; }
body:not(.has-selection) .atlas-app .bot-list,
body:not(.has-selection) .atlas-app .build-panel { display: none; }

.bot-list, .demo-stage, .build-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}

/* bot list */
.bot-list {
  position: sticky; top: 16px; display: grid; align-content: start; gap: 7px;
  padding: 12px; max-height: calc(100vh - 32px); overflow: auto;
}
.reset-choice {
  min-height: 42px; padding: 0 14px; color: var(--accent-ink);
  background: var(--accent-bg); border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--r-sm); font-weight: 600; text-align: left;
  transition: all 0.16s var(--ease);
}
.reset-choice:hover, .reset-choice:focus-visible { background: rgba(0, 180, 216, 0.2); transform: translateY(-1px); outline: none; }

.bot-button {
  position: relative; min-height: 72px; display: grid; grid-template-columns: 42px 1fr;
  gap: 12px; align-items: center; width: 100%; padding: 11px; text-align: left;
  color: var(--ink); background: transparent; border: 1px solid transparent;
  border-radius: var(--r); transition: all 0.16s var(--ease);
}
.bot-button:hover, .bot-button:focus-visible { background: var(--surface-2); border-color: var(--line); outline: none; }
.bot-button.is-active { background: var(--surface-2); border-color: color-mix(in srgb, var(--lvl) 45%, transparent); box-shadow: 0 0 22px var(--lvl-glow); }
.bot-button.is-active::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px;
  width: 3px; border-radius: 3px; background: var(--lvl); box-shadow: 0 0 10px var(--lvl-glow);
}
.bot-name { display: block; font-weight: 600; line-height: 1.18; }
.bot-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 0.77rem; line-height: 1.35; }
.bot-icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  color: #05080c; background: var(--lvl, var(--accent)); border-radius: 11px;
  box-shadow: 0 0 16px var(--lvl-glow);
  font-family: var(--mfont); font-weight: 700; font-size: 0.82rem;
}

/* start view */
.simple-start { display: grid; gap: 18px; animation: rise 0.4s var(--ease) both; }
.simple-start-hero {
  padding: 28px 30px;
  background:
    radial-gradient(560px 240px at 90% -20%, rgba(233, 30, 140, 0.1), transparent 62%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.simple-start-hero h2 { max-width: 22ch; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
.simple-start-hero p:last-child { max-width: 70ch; margin: 13px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

.need-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.need-card {
  position: relative; min-height: 206px; display: grid; align-content: start; gap: 13px;
  padding: 20px; text-align: left; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  animation: rise 0.45s var(--ease) both;
}
.need-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--lvl); box-shadow: 0 0 14px var(--lvl-glow); }
.need-card:nth-child(1){animation-delay:.02s}.need-card:nth-child(2){animation-delay:.05s}
.need-card:nth-child(3){animation-delay:.08s}.need-card:nth-child(4){animation-delay:.11s}
.need-card:nth-child(5){animation-delay:.14s}.need-card:nth-child(6){animation-delay:.17s}
.need-card:nth-child(7){animation-delay:.20s}.need-card:nth-child(8){animation-delay:.23s}
.need-card:hover, .need-card:focus-visible { border-color: var(--lvl); box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 26px var(--lvl-glow); transform: translateY(-3px); outline: none; }
.need-card strong { font-size: 1.08rem; font-family: var(--gfont); }
.need-card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 0.92rem; }

.first-disclosure { padding: 18px 20px; background: rgba(201, 162, 39, 0.08); border: 1px solid rgba(201, 162, 39, 0.32); border-radius: var(--r); }
.first-disclosure strong { font-family: var(--gfont); color: var(--ember, #c9a227); }
.first-disclosure p { margin: 7px 0 0; color: var(--ink-2); line-height: 1.55; }

/* demo stage */
.demo-stage { min-width: 0; padding: 22px; overflow: hidden; }
.stage-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; animation: rise 0.32s var(--ease) both; }
.stage-top h2 { margin-top: 10px; }
.stage-top p { max-width: 64ch; margin: 9px 0 0; color: var(--muted); line-height: 1.55; }

.level-badge, .small-badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px;
  border-radius: var(--r-pill); color: var(--lvl-ink, var(--accent-ink)); background: var(--lvl-bg, var(--accent-bg));
  border: 1px solid color-mix(in srgb, var(--lvl, var(--accent)) 40%, transparent);
  font-family: var(--mfont); font-size: 0.74rem; font-weight: 600; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.04em;
}
.small-badge { color: var(--ink-2); background: var(--surface-3); border-color: var(--line-2); }

/* surface view */
.surface-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr); gap: 18px; align-items: start; animation: rise 0.34s var(--ease) both; }
.surface-demo { min-width: 0; display: grid; gap: 16px; }
.scenario-panel { display: grid; gap: 13px; align-content: start; }
.scenario-card, .risk-card { padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.scenario-card h3, .risk-card h3 { margin-bottom: 4px; }
.scenario-card p, .risk-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.risk-card { background: rgba(201, 162, 39, 0.07); border-color: rgba(201, 162, 39, 0.28); }
.risk-card h3 { color: var(--ember, #c9a227); }
.risk-card p { color: var(--ink-2); }
.outcome-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 0; padding: 0; list-style: none; }
.outcome-list li {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px;
  border-radius: var(--r-pill); color: var(--ink-2); background: var(--surface-3);
  border: 1px solid var(--line-2); font-size: 0.8rem; font-weight: 500;
}

/* device frames shared */
.browser-window, .intake-board, .schedule-board, .advisor-board,
.doc-workspace, .agent-board, .voice-console, .upload-board {
  overflow: hidden; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r); box-shadow: var(--shadow);
}

/* floating widget */
.browser-window { min-height: 520px; }
.browser-top { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 15px; background: #0d0e12; color: #eef2f7; border-bottom: 1px solid var(--line); }
.browser-top span { width: 11px; height: 11px; border-radius: 50%; background: #6f7782; }
.browser-top span:first-child { background: #ff5f56; } .browser-top span:nth-child(2) { background: #ffbd2e; } .browser-top span:nth-child(3) { background: #28c840; }
.browser-top strong { margin-left: 10px; font-size: 0.86rem; font-weight: 500; }
.browser-page {
  position: relative; min-height: 476px; padding: 26px;
  background: radial-gradient(440px 220px at 12% 0%, rgba(0,180,216,.12), transparent 60%), #0c0d11;
}
.hero-placeholder { max-width: 460px; padding: 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.hero-placeholder small, .intake-main small, .schedule-sidebar small, .advisor-question small {
  display: block; margin-bottom: 8px; color: var(--accent-ink);
  font-family: var(--mfont); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-placeholder strong { display: block; font-family: var(--gfont); font-size: 1.5rem; }
.hero-placeholder p { margin: 9px 0 0; color: var(--muted); line-height: 1.5; }
.page-row { width: 56%; height: 13px; margin-top: 22px; background: #23242c; border-radius: var(--r-pill); }
.page-row.short { width: 38%; }
.widget-card {
  position: absolute; right: 26px; bottom: 26px; width: min(330px, calc(100% - 52px)); padding: 15px;
  background: linear-gradient(180deg, #1b1c24, #141419); border: 1px solid rgba(0,180,216,.25);
  border-radius: 18px 18px 6px 18px; box-shadow: var(--shadow-lg), 0 0 30px rgba(0,180,216,.14);
  animation: rise 0.5s var(--ease) 0.15s both;
}
.widget-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #f3f6fb; font-weight: 600; }
.widget-head span { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-size: 0.74rem; font-weight: 600; }
.widget-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); animation: pulse 2.4s ease-out infinite; }
.widget-bubble, .widget-user { margin: 11px 0 0; padding: 11px 12px; border-radius: 13px; color: #e9eff4; background: #262732; line-height: 1.45; font-size: 0.9rem; }
.widget-user { margin-left: auto; max-width: 80%; color: #05181f; background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.quick-actions { display: grid; gap: 8px; }
.quick-actions.compact { padding: 11px 0 0; }
.quick-actions button {
  min-height: 38px; padding: 0 13px; color: #e7eef4; background: #21222c;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); text-align: left;
  font-size: 0.86rem; transition: all 0.15s var(--ease);
}
.quick-actions button:hover, .quick-actions button:focus-visible { border-color: rgba(0,180,216,.55); background: #262833; outline: none; }

/* guided intake */
.intake-board { min-height: 520px; padding: 22px; background: radial-gradient(440px 220px at 100% 0%, rgba(59,154,232,.1), transparent 60%), var(--surface); }
.progress-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 20px; }
.progress-strip span { min-height: 40px; display: grid; place-items: center; color: var(--muted); background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-weight: 600; font-size: 0.88rem; }
.progress-strip .done { color: #05181f; background: linear-gradient(180deg, var(--l3), var(--accent)); border-color: transparent; box-shadow: 0 0 16px var(--accent-glow); }
.intake-main { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; }
.intake-main section, .fit-score, .schedule-sidebar, .advisor-question,
.doc-answer, .doc-list, .call-panel, .transcript-panel, .upload-drop, .extraction-panel, .review-queue {
  padding: 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
}
.intake-main h3, .schedule-sidebar h3, .advisor-question h3, .doc-answer h3, .transcript-panel h3, .extraction-panel h3, .review-queue h3 { font-size: 1.25rem; }
.intake-main p, .schedule-sidebar p, .advisor-question p, .doc-answer p, .upload-drop p, .review-queue p { color: var(--muted); line-height: 1.55; }
.field-preview { display: grid; gap: 4px; margin-top: 12px; padding: 12px 14px; background: var(--surface-3); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-sm); }
.field-preview label { color: var(--muted); font-size: 0.77rem; }
.field-preview strong { font-size: 0.96rem; }
.fit-score { display: grid; align-content: center; justify-items: center; text-align: center; background: var(--accent-bg); border-color: rgba(0,180,216,.3); }
.fit-score span { color: var(--accent-ink); font-weight: 600; }
.fit-score strong { margin: 8px 0; font-family: var(--gfont); font-size: 3.4rem; line-height: 1; color: var(--accent-2); text-shadow: 0 0 24px var(--accent-glow); }
.fit-score p { color: var(--muted); font-size: 0.85rem; }

/* calendar */
.schedule-board { min-height: 520px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; padding: 22px; background: radial-gradient(440px 220px at 100% 0%, rgba(59,154,232,.1), transparent 60%), var(--surface); }
.reminder-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding: 12px 14px; background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 0.9rem; }
.reminder-toggle strong { color: var(--l1-ink); display: inline-flex; align-items: center; gap: 6px; }
.reminder-toggle strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.calendar-grid { display: grid; grid-template-columns: repeat(5, minmax(64px, 1fr)); gap: 8px; align-content: start; }
.calendar-grid strong, .calendar-grid button { min-height: 50px; display: grid; place-items: center; border-radius: var(--r-sm); }
.calendar-grid strong { color: var(--muted); background: transparent; font-family: var(--mfont); font-size: 0.78rem; text-transform: uppercase; }
.calendar-grid button { background: var(--surface-3); border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; transition: all 0.14s var(--ease); }
.calendar-grid button:hover { border-color: var(--l2); color: var(--l2-ink); transform: translateY(-1px); }
.calendar-grid button.selected { color: #05101a; background: linear-gradient(180deg, var(--l2-ink), var(--l2)); border-color: transparent; box-shadow: 0 0 18px rgba(59,154,232,.4); }

/* advisor */
.advisor-board { min-height: 520px; display: grid; gap: 18px; padding: 22px; background: radial-gradient(440px 220px at 100% 0%, rgba(196,74,208,.1), transparent 60%), var(--surface); }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.recommendation-grid article { position: relative; min-height: 250px; display: grid; align-content: start; gap: 11px; padding: 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); transition: transform 0.16s var(--ease); }
.recommendation-grid article:hover { transform: translateY(-2px); }
.recommendation-grid article.recommended { background: var(--accent-bg); border-color: rgba(0,180,216,.45); box-shadow: 0 0 40px rgba(0,180,216,.18); }
.recommendation-grid article.recommended::before {
  content: "\2605 best fit"; position: absolute; top: -10px; left: 18px; padding: 3px 10px;
  border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--energy)); color: #fff;
  font-family: var(--mfont); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; box-shadow: 0 0 16px rgba(0,180,216,.4);
}
.recommendation-grid span { color: var(--accent-ink); font-family: var(--mfont); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.recommendation-grid strong { font-family: var(--gfont); font-size: 1.16rem; }
.recommendation-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

/* document workspace */
.doc-workspace { min-height: 520px; display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 18px; padding: 22px; background: var(--surface); }
.doc-list { display: grid; align-content: start; gap: 10px; }
.doc-list strong { font-family: var(--gfont); }
.doc-list span { padding: 11px 12px; background: var(--surface-3); border: 1px solid var(--line); border-left: 3px solid var(--l4); border-radius: var(--r-sm); color: var(--ink-2); font-size: 0.86rem; }
.search-bar { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 15px; margin-bottom: 16px; color: var(--muted); background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 0.9rem; }
.search-bar::before { content: "\2315"; font-size: 1.2rem; color: var(--muted); }
.source-card { display: grid; gap: 3px; margin-top: 12px; padding: 13px; background: var(--accent-bg); border: 1px solid rgba(0,180,216,.3); border-radius: var(--r-sm); }
.source-card strong { font-size: 0.92rem; }
.source-card span { color: var(--muted); font-size: 0.85rem; }
.source-card.warning { background: rgba(201,162,39,.08); border-color: rgba(201,162,39,.3); }
.source-card.warning span { color: var(--ink-2); }

/* approval timeline */
.agent-board { min-height: 520px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 22px; background: radial-gradient(440px 220px at 100% 0%, rgba(123,108,255,.1), transparent 60%), var(--surface); }
.agent-step { position: relative; min-height: 300px; display: grid; align-content: start; gap: 12px; padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.agent-step:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 36px; width: 12px; height: 2px; background: var(--line-2); }
.agent-step span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #4a4d5a; font-family: var(--mfont); font-weight: 700; }
.agent-step strong { font-family: var(--gfont); }
.agent-step.complete span { background: var(--l3); box-shadow: 0 0 14px var(--l3-bg); }
.agent-step.active { background: var(--accent-bg); border-color: rgba(0,180,216,.4); box-shadow: 0 0 36px rgba(0,180,216,.16); }
.agent-step.active span { background: var(--accent); color: #05181f; box-shadow: 0 0 0 4px rgba(0,180,216,.2); }
.agent-step p { margin: 0; color: var(--muted); line-height: 1.5; }
.agent-step button, .call-actions button { min-height: 40px; padding: 0 14px; color: #05181f; background: var(--accent); border: 0; border-radius: var(--r-sm); font-weight: 600; transition: filter 0.15s var(--ease), transform 0.15s var(--ease); }
.agent-step button:hover, .call-actions button:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* voice console */
.voice-console { min-height: 520px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; padding: 22px; background: #0d0e13; border-color: var(--line-2); }
.call-panel, .transcript-panel { background: #15161d; border: 1px solid var(--line); color: #eef4f7; }
.call-status { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 12px; margin-bottom: 16px; color: #05181f; background: var(--accent-2); border-radius: var(--r-pill); font-size: 0.76rem; font-weight: 700; }
.call-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #05181f; animation: pulse 2s ease-out infinite; }
.call-panel strong { display: block; font-family: var(--gfont); font-size: 1.5rem; }
.call-panel p, .transcript-panel p { color: #b6c2cd; line-height: 1.55; }
.transcript-panel p strong { color: #e9f1f6; }
.waveform { height: 140px; display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px 0; background: #0a0b10; border: 1px solid var(--line); border-radius: var(--r); }
.waveform span { width: 10px; border-radius: var(--r-pill); background: linear-gradient(180deg, var(--accent-2), var(--energy)); box-shadow: 0 0 10px rgba(0,180,216,.4); animation: wave 1.1s ease-in-out infinite; }
.waveform span:nth-child(1){animation-delay:0s}.waveform span:nth-child(2){animation-delay:.12s}.waveform span:nth-child(3){animation-delay:.24s}
.waveform span:nth-child(4){animation-delay:.36s}.waveform span:nth-child(5){animation-delay:.48s}.waveform span:nth-child(6){animation-delay:.6s}
@keyframes wave { 0%,100% { height: 28px; opacity: 0.7; } 50% { height: 104px; opacity: 1; } }
.call-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.call-actions button { background: var(--accent); }
.call-actions button:last-child { background: var(--l5); color: #fff; }

/* upload review */
.upload-board { min-height: 520px; display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: 18px; padding: 22px; background: radial-gradient(440px 220px at 100% 0%, rgba(255,45,165,.08), transparent 60%), var(--surface); }
.upload-drop { display: grid; align-content: center; justify-items: center; text-align: center; min-height: 320px; border: 1.5px dashed var(--line-2); background: var(--surface-2); }
.upload-drop span { display: grid; place-items: center; width: 72px; height: 88px; margin-bottom: 16px; color: #fff; background: linear-gradient(180deg, var(--l5-ink), var(--l5)); border-radius: 8px; box-shadow: 0 0 22px var(--l5-bg); font-family: var(--mfont); font-weight: 700; }
.upload-drop strong { font-family: var(--gfont); }
.extraction-panel, .review-queue { align-self: stretch; }

/* chat style gallery */
.chat-style-gallery { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.mini-section-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mini-section-header h3, .mini-section-header p { margin: 0; }
.mini-section-header p { max-width: 58ch; color: var(--muted); line-height: 1.5; }
.chat-style-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.chat-style { min-height: 240px; display: grid; align-content: start; gap: 12px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.chat-style strong { font-family: var(--gfont); }
.chat-style p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 0.86rem; }
.mini-chat { display: grid; gap: 8px; min-height: 90px; padding: 12px; background: #121319; border-radius: 13px; }
.bot-line, .user-line { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); font-size: 0.8rem; }
.bot-line { justify-self: start; color: #e9f1f5; background: #262732; }
.user-line { justify-self: end; color: #05181f; background: var(--accent-2); }
.chat-style-concierge { background: linear-gradient(180deg, rgba(201,162,39,.1), var(--surface-2)); border-color: rgba(201,162,39,.28); }
.concierge-face { display: grid; place-items: center; width: 70px; height: 70px; color: #fff; background: linear-gradient(135deg, var(--ember, #c9a227), var(--l4)); border-radius: 50%; box-shadow: 0 0 24px rgba(196,74,208,.3); font-family: var(--mfont); font-weight: 700; }
.concierge-copy { padding: 12px; background: var(--surface-3); border: 1px solid rgba(201,162,39,.28); border-radius: 14px; color: var(--ink-2); font-size: 0.86rem; }
.chat-style-command { background: linear-gradient(180deg, rgba(123,108,255,.1), var(--surface-2)); border-color: rgba(123,108,255,.3); }
.command-bar { min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 15px; color: var(--muted); background: var(--surface-3); border: 1px solid rgba(123,108,255,.35); border-radius: var(--r-pill); box-shadow: 0 0 22px rgba(123,108,255,.16); font-size: 0.85rem; }
.command-bar::before { content: "\2318"; color: var(--l3-ink); font-weight: 700; }
.thread-card { display: grid; gap: 6px; padding: 13px; background: var(--surface-3); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); }
.thread-card span, .thread-card em { color: var(--muted); font-size: 0.78rem; font-style: normal; }
.thread-card strong { font-size: 0.92rem; }

/* business record */
.owner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; animation: rise 0.34s var(--ease) both; }
.metric-card { padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.metric-card h3 { color: var(--muted); font-size: 0.78rem; font-family: var(--mfont); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.metric-card strong { display: block; margin-top: 8px; font-family: var(--gfont); font-size: 1.85rem; color: var(--white-hot, #fff); }
.metric-card p { margin: 4px 0 0; color: var(--muted); line-height: 1.4; }
.metric-card span { display: inline-block; margin-top: 10px; padding: 2px 9px; border-radius: var(--r-pill); color: var(--l3-ink); background: var(--l3-bg); font-size: 0.74rem; font-weight: 600; }
.workflow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; animation: rise 0.4s var(--ease) 0.05s both; }
.workflow-card { min-height: 180px; padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.workflow-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.timeline { display: grid; gap: 11px; margin-top: 15px; }
.timeline-step { display: grid; grid-template-columns: 34px 1fr; gap: 11px; }
.timeline-step > span { display: grid; place-items: center; width: 34px; height: 34px; color: #05181f; background: var(--accent); border-radius: 50%; font-family: var(--mfont); font-size: 0.8rem; font-weight: 700; box-shadow: 0 0 12px var(--accent-glow); }
.timeline-step strong { font-family: var(--gfont); }
.timeline-step p { margin: 2px 0 0; color: var(--muted); line-height: 1.45; }

/* anatomy */
.build-view-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 358px); gap: 18px; animation: rise 0.34s var(--ease) both; }
.build-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.matrix-cell { padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.matrix-cell strong { display: block; margin-bottom: 10px; font-family: var(--gfont); }
.matrix-cell p { margin: 0; color: var(--muted); line-height: 1.55; }
.market-cell { background: var(--accent-bg); border-color: rgba(0,180,216,.28); }
.market-cell span { display: block; margin-top: 12px; color: var(--accent-ink); font-weight: 600; font-size: 0.86rem; }
.skill-list, .integration-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.skill-list li, .integration-list li { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: var(--r-pill); color: var(--ink-2); background: var(--surface-3); border: 1px solid var(--line-2); font-size: 0.8rem; font-weight: 500; }

/* complexity layers */
.layers-view { display: grid; gap: 18px; animation: rise 0.34s var(--ease) both; }
.level-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.level-ladder article { position: relative; min-height: 200px; display: grid; align-content: start; gap: 8px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-top: 3px solid var(--lvl, var(--line-2)); border-radius: var(--r); opacity: 0.62; transition: all 0.18s var(--ease); }
.level-ladder article strong { font-family: var(--gfont); }
.level-ladder article.active { opacity: 1; background: var(--lvl-bg); border-color: color-mix(in srgb, var(--lvl) 45%, transparent); border-top-color: var(--lvl); box-shadow: 0 0 36px var(--lvl-glow); transform: translateY(-2px); }
.level-ladder span, .layer-card span { color: var(--lvl-ink, var(--accent-ink)); font-family: var(--mfont); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.level-ladder p, .layer-card p, .complexity-explainer p { margin: 0; color: var(--muted); line-height: 1.5; }
.layer-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.layer-card { min-height: 200px; display: grid; align-content: start; gap: 9px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.layer-card span { color: var(--accent-ink); }
.layer-card strong { display: block; margin-top: 2px; font-family: var(--gfont); }
.layer-card small { display: block; padding-top: 11px; margin-top: 2px; color: var(--ink-2); border-top: 1px solid var(--line); font-family: var(--mfont); font-size: 0.74rem; line-height: 1.5; }
.layer-card.optional { background: var(--surface); }
.layer-card.optional span { color: var(--ember, #c9a227); }
.layer-card.inactive { opacity: 0.5; background: var(--surface); }
.layer-card.inactive span { color: var(--muted); }
.complexity-explainer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.complexity-explainer article { padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.complexity-explainer h3 { margin-bottom: 8px; }
.market-explainer { background: var(--accent-bg); border-color: rgba(0,180,216,.28); }
.market-explainer strong { display: block; margin-top: 10px; color: var(--accent-ink); }

/* build panel */
.build-panel { position: sticky; top: 16px; display: grid; align-content: start; gap: 13px; padding: 20px; max-height: calc(100vh - 32px); overflow: auto; }
.build-panel h2 { font-size: 1.3rem; }
.build-panel h3 { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mfont); }
.build-panel p { margin: 0; color: var(--muted); line-height: 1.55; }
.panel-stat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.panel-stat strong { font-size: 0.86rem; font-weight: 600; }
.panel-stat span { color: var(--ink); font-weight: 600; font-family: var(--gfont); font-size: 0.9rem; }
.risk-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.risk-list li { padding: 11px 12px; color: var(--ink-2); background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.28); border-radius: var(--r-sm); font-size: 0.85rem; line-height: 1.45; }
.soft-note { padding: 14px; background: var(--accent-bg); border: 1px solid rgba(0,180,216,.3); border-radius: var(--r); }
.soft-note strong { font-family: var(--gfont); color: var(--accent-ink); }
.soft-note p { margin-top: 6px; }
.simple-steps { display: grid; gap: 8px; }
.simple-steps span { display: flex; align-items: center; min-height: 40px; padding: 0 13px; background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; font-size: 0.88rem; }

/* bands */
.band { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* calculator */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.feature-toggle { position: relative; min-height: 126px; display: grid; align-content: start; gap: 8px; padding: 15px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all 0.15s var(--ease); }
.feature-toggle:hover { border-color: var(--accent); box-shadow: 0 0 22px rgba(0,180,216,.12); }
.feature-toggle:has(input:checked) { background: var(--accent-bg); border-color: rgba(0,180,216,.4); }
.feature-toggle input { width: 19px; height: 19px; accent-color: var(--accent); cursor: pointer; }
.feature-toggle strong { display: block; line-height: 1.25; font-family: var(--gfont); }
.feature-toggle span { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.complexity-score { min-width: 280px; padding: 16px 18px; background: var(--lvl-bg, var(--accent-bg)); border: 1px solid color-mix(in srgb, var(--lvl, var(--accent)) 35%, transparent); border-radius: var(--r); box-shadow: 0 0 30px var(--lvl-glow, transparent); transition: all 0.2s var(--ease); }
.complexity-score strong { display: block; font-family: var(--gfont); font-size: 1.1rem; color: var(--lvl-ink, var(--accent-ink)); }
.complexity-score span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.complexity-score .score-sync { margin-top: 10px; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--lvl, var(--accent)) 45%, transparent); color: var(--lvl-ink, var(--accent-ink)); font-size: 0.82rem; line-height: 1.5; }
.complexity-score .score-sync strong { display: inline; font-size: inherit; font-family: var(--bfont); font-weight: 700; }

/* notes */
.notes-band { display: grid; grid-template-columns: 372px minmax(0, 1fr); gap: 18px; background: transparent; border: 0; box-shadow: none; padding: 0; }
.notes-form { display: grid; gap: 11px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.notes-output { min-height: 340px; margin: 0; padding: 22px; background: #0b0c11; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: auto; white-space: pre-wrap; color: #cdd3dc; font-family: var(--mfont); font-size: 0.85rem; line-height: 1.65; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font-weight: 600; font-family: var(--bfont); text-decoration: none; transition: all 0.16s var(--ease); }
.button-primary { color: #05181f; background: linear-gradient(120deg, var(--accent-2), var(--energy)); border-color: transparent; box-shadow: 0 0 26px rgba(0,180,216,.3); }
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }
.button:not(.button-primary):hover { border-color: var(--accent); }
.button-primary:hover { box-shadow: 0 0 36px rgba(233,30,140,.4); }
.copy-status { min-height: 22px; margin: 0; color: var(--l3-ink); font-size: 0.84rem; font-weight: 600; }

/* examples */
.work-example-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.work-example-grid a { position: relative; display: grid; gap: 8px; align-content: start; min-height: 152px; padding: 18px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: all 0.16s var(--ease); }
.work-example-grid a strong { font-family: var(--gfont); }
.work-example-grid a::after { content: "\2197"; position: absolute; top: 16px; right: 16px; color: var(--muted); }
.work-example-grid a:hover, .work-example-grid a:focus-visible { border-color: var(--accent); box-shadow: 0 0 26px rgba(0,180,216,.16); transform: translateY(-3px); outline: none; }
.work-example-grid a:hover::after { color: var(--accent-ink); }
.work-example-grid span { color: var(--muted); line-height: 1.5; font-size: 0.9rem; }
.soft-cta { margin: 18px 0 0; padding: 16px 18px; color: var(--accent-ink); background: var(--accent-bg); border: 1px solid rgba(0,180,216,.28); border-radius: var(--r); font-weight: 500; line-height: 1.55; }

/* missing / full disclosure */
.missing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.missing-grid article { padding: 18px; background: var(--surface-2); border: 1px solid var(--line); border-top: 3px solid var(--l5); border-radius: var(--r); }
.missing-grid h3 { margin-bottom: 4px; }
.missing-grid p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }

/* ============ Closing CTA ============ */
.guide-cta { padding: 4rem 1.5rem 6rem; }
.guide-cta__inner {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 3rem 2rem;
  background: radial-gradient(600px 280px at 50% -10%, rgba(233,30,140,.12), transparent 65%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.guide-cta h2 { margin: 0 0 1rem; font-family: var(--gfont); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); color: var(--white-hot, #fff); }
.guide-cta p { max-width: 56ch; margin: 0 auto 1rem; color: var(--ink-2); line-height: 1.65; }
.guide-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.8rem 0 1rem; }
.guide-cta__note { font-size: 0.86rem; color: var(--muted); }

/* ============ Motion ============ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ============ Responsive ============ */
@media (max-width: 1260px) {
  .showroom-grid { grid-template-columns: 264px minmax(0, 1fr); }
  .build-panel { display: none; }
  .feature-grid, .missing-grid, .work-example-grid, .need-grid, .chat-style-grid, .layer-map, .complexity-explainer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .surface-layout { grid-template-columns: 1fr; }
  .level-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .guide-hero { padding: 6rem 1.25rem 2.5rem; }
  .atlas-app { padding: 1.8rem 1.25rem 1rem; }
  .workspace-header, .band-header, .stage-top { display: grid; }
  .showroom-grid, .surface-layout, .build-view-grid, .notes-band { grid-template-columns: 1fr; }
  .bot-list { position: static; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intake-main, .schedule-board, .doc-workspace, .voice-console, .upload-board { grid-template-columns: 1fr; }
  .recommendation-grid, .agent-board, .level-ladder { grid-template-columns: 1fr; }
  .owner-grid, .workflow-grid, .build-matrix, .complexity-explainer, .layer-map { grid-template-columns: 1fr; }
  .browser-window, .intake-board, .schedule-board, .advisor-board, .doc-workspace, .agent-board, .voice-console, .upload-board { min-height: auto; }
}
@media (max-width: 640px) {
  .rail-legend, .level-legend { gap: 8px; }
  .atlas-app { padding: 1.4rem 1rem 1rem; }
  .bot-list, .feature-grid, .missing-grid, .work-example-grid, .need-grid, .chat-style-grid, .build-matrix { grid-template-columns: 1fr; }
  .mini-section-header { display: grid; }
  .view-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .complexity-score, .header-controls { min-width: 0; }
  .widget-card { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .progress-strip, .calendar-grid { grid-template-columns: 1fr; }
  .call-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
