/* ═══════════════════════════════════════════════════════════════════════════
   VONE Onboarding Curriculum (Veeam ONE Fundamentals) — shared stylesheet
   ───────────────────────────────────────────────────────────────────────────
   Consolidated CSS surface for the entire 8-module course. Superset of styles
   previously inlined in:
     • index.html                          (course landing page)
     • Lesson01_Overview_and_Initial_Configuration.html
     • Lesson02_Clients_Monitoring_and_Diagnostics.html
     • Lesson03_Working_with_Alarms.html
     • Lesson04_Monitoring_Virtual_Environments.html
     • Lesson05_Business_View_and_Categorization.html
     • Lesson06_Backup_for_Microsoft_365_Monitoring.html
     • Lesson07_Dashboards_Widgets_and_Veeam_Intelligence.html
     • Lesson08_Reports_and_Deployment_Projects.html

   Per-file note: index.html retains a small inline <style> block AFTER the
   <link> tag for its landing-only `.hero` override (centered, single-column,
   140px top padding) plus `.hero__tag` and `.hero__lede` — these conflict
   with the lesson `.hero` 2-column grid defined below.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── ES Build family (Veeam brand) ──────────────────── */
/* Headlines / display */
@font-face { font-family: 'ES Build Bauhaus'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-FullBauhaus/ESBuildFullBauhaus-SemiBold.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-FullBauhaus/ESBuildFullBauhaus-SemiBold.woff') format('woff'); }
@font-face { font-family: 'ES Build Bauhaus'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-FullBauhaus/ESBuildFullBauhaus-Bold.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-FullBauhaus/ESBuildFullBauhaus-Bold.woff') format('woff'); }
@font-face { font-family: 'ES Build Bauhaus'; font-weight: 400; font-style: italic; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-FullBauhaus/ESBuildFullBauhaus-Italic.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-FullBauhaus/ESBuildFullBauhaus-Italic.woff') format('woff'); }
/* Subheads / section titles */
@font-face { font-family: 'ES Build'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Regular.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Regular.woff') format('woff'); }
@font-face { font-family: 'ES Build'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Medium.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Medium.woff') format('woff'); }
@font-face { font-family: 'ES Build'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-SemiBold.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-SemiBold.woff') format('woff'); }
@font-face { font-family: 'ES Build'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Bold.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Bold.woff') format('woff'); }
@font-face { font-family: 'ES Build'; font-weight: 400; font-style: italic; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Italic.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild/ESBuild-Italic.woff') format('woff'); }
/* Body copy */
@font-face { font-family: 'ES Build Neutral'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Regular.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Regular.woff') format('woff'); }
@font-face { font-family: 'ES Build Neutral'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Medium.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Medium.woff') format('woff'); }
@font-face { font-family: 'ES Build Neutral'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-SemiBold.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-SemiBold.woff') format('woff'); }
@font-face { font-family: 'ES Build Neutral'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Bold.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Bold.woff') format('woff'); }
@font-face { font-family: 'ES Build Neutral'; font-weight: 400; font-style: italic; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Italic.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-Italic.woff') format('woff'); }
@font-face { font-family: 'ES Build Neutral'; font-weight: 500; font-style: italic; font-display: swap;
  src: url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-MediumItalic.woff2') format('woff2'),
       url('fonts/20231009-ESBuild/WEB/ESBuild-Neutral/ESBuildNeutral-MediumItalic.woff') format('woff'); }

/* ─── Brand tokens ─────────────────────────────────────── */
:root {
  --veeam-green: #00B336;
  --veeam-green-bright: #00D344;
  --veeam-green-soft: #E8FBEF;
  --veeam-green-dim: #047A26;
  --ink: #0A0E0B; --ink-2: #1A1F1C;
  --paper: #FBFCF9; --paper-2: #F2F4ED;
  --line: #D7DCD2; --line-2: #E8ECE3;
  --muted: #5A6359;
  --danger: #D43838; --danger-soft: #FCEAEA;
  --warn: #E89B1F; --warn-soft: #FCF3DD;
  /* Added kit tokens (extension). --info is an accessible blue for TEXT/links;
     --warn-text is a WCAG-safe dark amber for amber TEXT — never use --warn
     (#E89B1F) as a text color. */
  --info: #1558B0; --info-soft: #E7F0FB;
  --warn-text: #8A5500;
  --shadow: 0 2px 8px rgba(10,14,11,.06), 0 1px 2px rgba(10,14,11,.04);
  --shadow-lg: 0 18px 40px -16px rgba(10,14,11,.18), 0 4px 10px rgba(10,14,11,.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; font-family: 'ES Build Neutral', Arial, system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
p { margin: 0 0 12px; }

/* ─── Top progress bar ─────────────────────────────────── */
.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--line-2); z-index: 100; }
.progress-bar__fill { height: 100%; width: 0%; background: var(--veeam-green); transition: width .15s linear; }

/* ─── Sticky chapter rail (left edge) ──────────────────── */
.rail { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 14px; }
.rail__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; transition: all .2s ease; position: relative; }
.rail__dot:hover { background: var(--veeam-green-dim); transform: scale(1.3); }
.rail__dot.is-active { background: var(--veeam-green); transform: scale(1.4); }
.rail__dot::after { content: attr(data-label); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--ink-2); white-space: normal; max-width: 220px; opacity: 0; pointer-events: none; transition: opacity .2s; background: var(--paper); padding: 4px 10px; border-radius: 4px; box-shadow: var(--shadow); font-weight: 500; }
.rail__dot:hover::after, .rail__dot:focus-visible::after { opacity: 1; }
@media (max-width: 1100px) { .rail { display: none; } }

/* ─── Section base ─────────────────────────────────────── */
section { padding: 96px 32px; scroll-margin-top: 24px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--veeam-green-dim); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--veeam-green); }
h1, h2, h3 { font-family: 'ES Build', Arial, sans-serif; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; margin: 16px 0 24px; }
h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; margin-bottom: 56px; }

/* ─── ◆ HERO (lesson layout — 2-column grid) ───────────── */
.hero { background: var(--ink); color: var(--paper); padding: 120px 32px 100px; position: relative; overflow: hidden; }
.hero__corner { position: absolute; top: 60px; left: 60px; width: 60px; height: 60px; border-top: 4px solid var(--veeam-green); border-left: 4px solid var(--veeam-green); border-radius: 6px 0 0 0; }
.hero__bg { position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(circle at 20% 30%, var(--veeam-green) 0, transparent 40%), radial-gradient(circle at 80% 70%, var(--veeam-green) 0, transparent 40%); pointer-events: none; }
/* minmax(0, …) so the two tracks hold their 1.1:1 ratio regardless of the
   longest word in the title — an fr track cannot otherwise shrink below the
   H1's min-content width, which moved the objectives card 39px right on
   Module 05 only (UX-v3-017). */
.hero__inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; position: relative; }
/* Top-align the pair when the title column is much taller than the objectives
   card (long title + multi-paragraph blurb), instead of centring the card
   against it and leaving a void beside the headline (UX-v3-001). */
.hero__inner--top { align-items: start; }
.hero__module-tag { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--veeam-green); margin-bottom: 24px; }
.hero h1 { font-family: 'ES Build Bauhaus', 'ES Build', Arial, sans-serif; font-size: clamp(56px, 8vw, 96px); font-weight: 600; color: var(--paper); margin-bottom: 32px; }
/* One shared step-down for unusually long module titles, replacing the
   per-module clamp Lesson01 invented locally (UX-v3-016). */
.hero h1.hero__title--long { font-size: clamp(38px, 5.2vw, 74px); }
.hero h1 em { font-style: italic; color: var(--veeam-green-bright); font-weight: 400; }
.hero__meta { display: flex; gap: 32px; font-size: 14px; color: rgba(251,252,249,.6); border-top: 1px solid rgba(251,252,249,.15); padding-top: 24px; }
.hero__meta strong { color: var(--paper); font-weight: 600; }
.prereqs { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(251,252,249,.15); font-size: 13.5px; color: rgba(251,252,249,.6); line-height: 1.6; }
.prereqs__label { color: var(--paper); font-weight: 600; margin-right: 6px; }
.prereqs__list { margin: 10px 0 0; padding-left: 20px; }
.prereqs__list li { margin: 0 0 8px; }
.prereqs__list li:last-child { margin-bottom: 0; }
.prereqs__list strong { color: rgba(251,252,249,.85); }
.rail__dot:focus-visible,
.wizard__step:focus-visible,
.wizard__nav button:focus-visible,
.quiz-opt:focus-visible,
.next-btn:focus-visible,
.flow__node:focus-visible,
.lesson-nav__card:focus-visible,
.module-card:focus-visible,
.sl-embed__fullscreen:focus-visible,
.toggle-group__opt:focus-visible,
.widget__reveal:focus-visible,
.widget__reset:focus-visible,
.widget__slider:focus-visible,
.supp summary:focus-visible {
  outline: 2px solid var(--veeam-green-bright);
  outline-offset: 2px;
}
/* The Continue gate moves focus to the heading of the block it just revealed
   (components.js). That heading was not in the list above, so a keyboard
   learner got Chromium's default white UA ring around a full-width heading
   block on every reveal (UX-v3-012). */
.continue__locked h1:focus-visible,
.continue__locked h2:focus-visible,
.continue__locked h3:focus-visible {
  outline: 2px solid var(--veeam-green-bright);
  outline-offset: 6px;
  border-radius: 4px;
}
.objectives { background: rgba(0,179,54,.07); border: 1px solid rgba(0,179,54,.25); border-radius: 12px; padding: 32px; }
.objectives__title { font-family: 'ES Build', Arial, sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 20px; color: var(--paper); }
.objectives ol { margin: 0; padding: 0; list-style: none; counter-reset: obj; }
.objectives li { counter-increment: obj; padding: 14px 0 14px 44px; border-bottom: 1px solid rgba(251,252,249,.08); position: relative; font-size: 15px; color: rgba(251,252,249,.85); }
.objectives li:last-child { border-bottom: none; }
.objectives li::before { content: counter(obj, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: ui-monospace, 'SF Mono', monospace; font-size: 13px; color: var(--veeam-green); font-weight: 500; }
@media (max-width: 760px) { .hero { padding: 80px 24px; } .hero__inner { grid-template-columns: 1fr; gap: 40px; } .hero__corner { top: 30px; left: 30px; width: 40px; height: 40px; } }

/* ─── ◆ Compare cards (2-up) ───────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.compare__card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px; transition: all .25s ease; }
.compare__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.compare__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--veeam-green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.compare__icon svg { width: 24px; height: 24px; stroke: var(--veeam-green-dim); }
.compare__qa-row { padding: 16px 0; border-top: 1px solid var(--line-2); }
.compare__qa-row:first-child { border-top: none; padding-top: 0; }
.compare__q { font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.compare__q::before { content: 'Q'; font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; background: var(--veeam-green); color: var(--paper); width: 18px; height: 18px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.compare__a { color: var(--muted); font-size: 14.5px; padding-left: 26px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ─── ◆ Process-flow inspector ─────────────────────────── */
.flow { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 40px; margin-top: 40px; }
.flow__title { font-family: 'ES Build', Arial, sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.flow__desc { color: rgba(251,252,249,.55); font-size: 14px; margin-bottom: 32px; }
.flow__chain { display: flex; flex-wrap: nowrap; gap: 16px; align-items: stretch; }
.flow__node { flex: 1 1 0; min-width: 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 20px; cursor: pointer; transition: all .25s ease; }
.flow__node.is-active { border-color: var(--veeam-green); background: rgba(0,179,54,.1); transform: translateY(-2px); }
.flow__node-tag { font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; color: var(--veeam-green-bright); letter-spacing: .12em; margin-bottom: 8px; }
.flow__node-title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.flow__node-desc { color: rgba(251,252,249,.55); font-size: 13px; line-height: 1.4; }
.flow__arrow { flex: 0 0 auto; align-self: center; color: var(--veeam-green); font-size: 22px; }
.flow__detail { margin-top: 24px; padding: 24px; border-radius: 10px; background: rgba(0,179,54,.07); border: 1px solid rgba(0,179,54,.25); font-size: 14.5px; color: rgba(251,252,249,.85); line-height: 1.6; min-height: 80px; }
.flow__detail-img { margin-top: 16px; }
.flow__detail-img img { width: 100%; height: auto; max-height: 340px; border-radius: 8px; display: block; object-fit: contain; margin: 0 auto; border: 1px solid rgba(255,255,255,.12); }
.flow__detail-img-cap { margin-top: 8px; font-size: 12px; color: rgba(251,252,249,.55); text-align: center; }
@media (max-width: 760px) { .flow__chain { flex-direction: column; } .flow__arrow { transform: rotate(90deg); align-self: center; } }

/* ─── ◆ Wizard walkthrough ─────────────────────────────── */
.wizard { background: var(--paper-2); border-radius: 20px; padding: 40px; margin-top: 40px; }
.wizard__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.wizard__title { font-family: 'ES Build', Arial, sans-serif; font-size: 22px; font-weight: 600; }
.wizard__count { font-family: ui-monospace, 'SF Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.wizard__steps { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.wizard__step { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font-family: ui-monospace, 'SF Mono', monospace; font-size: 12px; cursor: pointer; transition: all .2s; color: var(--muted); }
.wizard__step:hover { border-color: var(--veeam-green-dim); color: var(--veeam-green-dim); }
.wizard__step.is-active { background: var(--ink); color: var(--veeam-green-bright); border-color: var(--ink); }
.wizard__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; background: var(--paper); border-radius: 14px; padding: 32px; border: 1px solid var(--line); min-height: 360px; align-items: start; }
.wizard__panel-info h3 { margin-bottom: 12px; color: var(--ink); }
.wizard__panel-info p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 12px; }
.wizard__panel-info p strong { color: var(--ink); font-weight: 600; }
.wizard__panel-mock { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 20px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; overflow-x: auto; }
.wizard__panel-mock-title { font-family: 'ES Build Neutral', Arial, sans-serif; font-size: 11px; letter-spacing: .15em; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; }
.wizard__panel-mock .field { background: var(--paper); border: 1px solid var(--line); padding: 8px 10px; border-radius: 4px; margin: 4px 0; display: block; }
.wizard__panel-mock .field.highlight { border-color: var(--veeam-green); background: var(--veeam-green-soft); }
.wizard__nav { display: flex; justify-content: space-between; margin-top: 20px; gap: 12px; }
.wizard__nav button { background: var(--paper); border: 1px solid var(--line); padding: 10px 18px; border-radius: 8px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 13px; color: var(--ink); transition: all .2s; }
.wizard__nav button:hover { border-color: var(--veeam-green); color: var(--veeam-green-dim); }
.wizard__nav button:disabled { opacity: .4; cursor: not-allowed; }
.wizard__nav button.is-primary { background: var(--veeam-green); color: var(--ink); border-color: var(--veeam-green); }
.wizard__nav button.is-primary:hover { background: var(--veeam-green-bright); }
@media (max-width: 760px) { .wizard__panel { grid-template-columns: 1fr; } }

/* ─── ◆ Best-practice grid ─────────────────────────────── */
.best { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 40px; }
.best-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; border-left: 4px solid var(--veeam-green); }
.best-item h4 { font-family: 'ES Build', Arial, sans-serif; font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.best-item p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* ─── Callouts — RETIRED (UX-v3-014 / UX-v3-005) ─────────
   `.callout` was a second amber aside doing the same job as the kit's
   `.note--caution`, and `.callout.green` a second green one alongside
   `.note--fact`. Two visual languages for one meaning appeared on the same
   pages, and `.callout strong` used --warn as a text colour on --warn-soft
   (2.08:1 — the prohibition documented on the --warn-text token above).
   Every instance is now a `.note` of the matching modifier, so the rules are
   gone rather than re-tinted. Do not reintroduce: use
   `.note.note--caution` / `.note.note--fact`. */
.challenge-prompt { border-left: 3px solid var(--warn); padding-left: 16px; }

/* ─── Field tip (practitioner advice, not a sourced product fact) ─── */
.field-tip { margin-top: 32px; padding: 20px 24px; background: var(--paper); border-left: 3px dashed var(--line); border-radius: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.field-tip strong { display: block; margin-bottom: 6px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ─── Worked-example sub-block (visually bounds a multi-part example) ─── */
.worked-example { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.worked-example__label { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--veeam-green-dim); margin-bottom: 16px; }

/* ─── Condition-nesting diagram ─────────────────────────────── */
.condition-tree { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; margin-top: 16px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.condition-tree__op { color: var(--veeam-green-dim); font-weight: 700; }
.condition-tree__caption { display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }

/* ─── ◆ Knowledge check ────────────────────────────────── */
.check-section { background: var(--paper-2); }
.quiz { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.quiz-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.quiz-card__num { font-family: ui-monospace, 'SF Mono', monospace; font-size: 12px; color: var(--veeam-green-dim); letter-spacing: .12em; margin-bottom: 8px; }
.quiz-card__q { font-size: 17px; font-weight: 500; margin-bottom: 18px; color: var(--ink); }
.quiz-card__opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { background: var(--paper-2); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 12px 16px; cursor: pointer; text-align: left; font-family: inherit; font-size: 14.5px; color: var(--ink); transition: all .2s; display: flex; align-items: center; gap: 12px; }
.quiz-opt:hover:not([disabled]) { border-color: var(--veeam-green-dim); background: var(--paper); }
.quiz-opt[disabled] { cursor: default; }
.quiz-opt__marker { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.quiz-opt.is-correct { border-color: var(--veeam-green); background: var(--veeam-green-soft); }
.quiz-opt.is-correct .quiz-opt__marker { background: var(--veeam-green); border-color: var(--veeam-green); color: var(--paper); }
.quiz-opt.is-correct .quiz-opt__marker::after { content: '✓'; }
.quiz-opt.is-wrong { border-color: var(--danger); background: var(--danger-soft); }
.quiz-opt.is-wrong .quiz-opt__marker { background: var(--danger); border-color: var(--danger); color: var(--paper); }
.quiz-opt.is-wrong .quiz-opt__marker::after { content: '✗'; }
.quiz-card__feedback { margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 14px; line-height: 1.5; display: none; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.quiz-card__feedback.is-shown { display: block; animation: slideIn .3s ease; }
.quiz-card__feedback.is-correct { background: var(--veeam-green-soft); border-left: 3px solid var(--veeam-green); color: var(--veeam-green-dim); }
.quiz-card__feedback.is-wrong { background: var(--danger-soft); border-left: 3px solid var(--danger); color: var(--danger); }
.quiz-card__feedback strong { font-weight: 600; }
.quiz-score { margin-top: 24px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-align: center; display: none; }
.quiz-score.is-shown { display: block; animation: slideIn .3s ease; }
.quiz-score__pct { font-family: 'ES Build', Arial, sans-serif; font-size: 48px; font-weight: 600; color: var(--veeam-green-dim); }
.quiz-score__label { font-size: 14px; color: var(--muted); }

/* ─── ◆ Review ─────────────────────────────────────────── */
.review { background: var(--ink); color: var(--paper); padding: 80px 32px; }
.review__inner { max-width: 1080px; margin: 0 auto; }
.review h2 { color: var(--paper); }
.review .lede { color: rgba(251,252,249,.6); }
/* minmax(320px, …): five recap cards resolve to 3 + 2 at 1440px instead of
   4 + a one-card orphan row, so the recap looks the same on every module and
   Lesson04 no longer needs a local 2-column patch (UX-v3-008). */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 40px; }
.review-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 24px; transition: all .2s; }
.review-item:hover { border-color: var(--veeam-green); background: rgba(0,179,54,.06); }
.review-item__num { font-family: ui-monospace, 'SF Mono', monospace; font-size: 12px; color: var(--veeam-green); margin-bottom: 8px; }
.review-item__text { font-size: 14.5px; color: rgba(251,252,249,.85); }
.next-btn { margin-top: 48px; display: inline-flex; align-items: center; gap: 12px; background: var(--veeam-green); color: var(--ink); padding: 14px 24px; border-radius: 10px; border: none; font-family: 'ES Build Neutral', Arial, sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; text-decoration: none; }
.next-btn:hover { background: var(--veeam-green-bright); transform: translateX(4px); }
.next-btn svg { width: 16px; height: 16px; }

/* ─── ◆ Continue gate (Rise-style progressive reveal) ──────────────────────
   A horizontal Continue button that keeps the block immediately after it
   hidden until the learner clicks. Pairs with the continue-gate module in
   components.js. Reveals its next sibling (a block or a whole <section>). */
.continue { display: flex; justify-content: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.continue.is-done { display: none; }
.continue__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 260px; background: var(--veeam-green); color: var(--ink); border: none; padding: 15px 34px; border-radius: 10px; font-family: 'ES Build Neutral', Arial, sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, transform .2s; }
.continue__btn:hover { background: var(--veeam-green-bright); transform: translateY(2px); }
.continue__btn:focus-visible { outline: 2px solid var(--veeam-green-dim); outline-offset: 3px; }
.continue__btn svg { width: 16px; height: 16px; }
.continue__locked.is-revealed { animation: gateReveal .45s ease; }
@keyframes gateReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .continue__locked.is-revealed { animation: none; } }

/* ─── ◆ Section signpost (the topics a section covers) ─────────────────────
   A short lead-in + bulleted list placed under a section heading, telling the
   learner what they'll learn. Required per section (AUTHORING_STANDARDS SEC-2). */
.signpost { margin: 0 0 28px; padding: 16px 20px 14px; background: var(--veeam-green-soft); border-left: 3px solid var(--veeam-green); border-radius: 8px; }
.signpost__intro { margin: 0 0 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.signpost__list { margin: 0; padding-left: 20px; }
.signpost__list li { font-size: 14px; color: var(--ink-2); margin: 3px 0; line-height: 1.5; }

footer { padding: 32px; text-align: center; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line-2); }

/* ─── Breadcrumb (curriculum nav) ─────────────── */
.breadcrumb {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,14,11,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(0,179,54,.15);
  padding: 14px 32px;
  font-size: 13px; color: rgba(251,252,249,.6);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.breadcrumb a {
  color: var(--veeam-green-bright); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb__current { color: rgba(251,252,249,.5); }

/* ─── Sub-lab section ─────────────────────────── */
.sublab {
  padding: 80px 32px;
}
.sublab.alt { background: var(--paper-2); }
.sublab__inner { max-width: 1080px; margin: 0 auto; }
.sublab__head { margin-bottom: 32px; }
.sublab__id {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--veeam-green-dim); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.sublab__id::before { content: ''; width: 24px; height: 1px; background: var(--veeam-green); }
.sublab__head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin-bottom: 12px; letter-spacing: -.015em; }
.sublab__head p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 720px; }

/* ─── Task block with try-it-yourself prompt ───────────────── */
.task {
  padding: 36px 0;
  border-bottom: 1px solid var(--line-2);
}
.task:last-child { border-bottom: none; }
.task__head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 8px; flex-wrap: wrap;
}
.task__num {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 13px; font-weight: 700;
  color: var(--veeam-green-dim);
  background: var(--veeam-green-soft);
  padding: 4px 10px; border-radius: 4px;
}
.task__num.is-challenge {
  /* --warn-text, not --warn: amber TEXT on --warn-soft (UX-v3-005). */
  background: var(--warn-soft); color: var(--warn-text);
}
.task__title {
  font-family: 'ES Build', Arial, sans-serif;
  font-size: 22px; font-weight: 600;
  letter-spacing: -.01em; margin: 0;
  line-height: 1.25;
}
.task__body { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 20px; max-width: 820px; }
.task__body strong { color: var(--ink); }
.task__demo-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--veeam-green-dim); font-weight: 700;
  background: var(--veeam-green-soft); padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.task__demo-label::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--veeam-green); display: inline-block;
}

/* Groups the "Storylane walkthrough" label + its embed inside one framed box. */
.sl-group {
  margin-top: 24px;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px 20px; background: var(--paper);
}
.sl-group .task__demo-label { margin-top: 0; }
.sl-group .sl-embed { margin-top: 0; }

.task__interactive-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--veeam-green-dim); font-weight: 600;
  margin-bottom: 10px;
}
.task__interactive-label svg { width: 14px; height: 14px; flex-shrink: 0; }
/* The label introduces the widget immediately below it — kill the widget's own
   top margin so the label sits tight against it (works for any following block). */
.task__interactive-label + * { margin-top: 0; }

/* ─── ◆ Sales aside (customer-conversation / competitive-comparison asides) ───
   Previously inline `<em>For a customer conversation:</em>` / `<em>How this
   compares:</em>` lead-ins with no visual separation from surrounding
   technical prose (LR-v1-009 — whole-course panel review). Block-level so a
   practitioner reader can skip past it and a sales/SE reader can spot it at a
   glance; reuses existing brand tokens rather than introducing a new color. */
.sales-aside {
  margin: 20px 0; padding: 14px 18px; border-radius: 10px;
  background: var(--veeam-green-soft); border-left: 3px solid var(--veeam-green);
}
.sales-aside__label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--veeam-green-dim); font-weight: 700; margin-bottom: 6px; display: block;
}
.sales-aside p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ─── ◆ Supplementary (optional, collapsed-by-default reference material) ─── */
.supp { margin-top: 32px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper-2); max-width: 820px; }
.supp + .supp { margin-top: 16px; }
.supp summary { list-style: none; cursor: pointer; padding: 16px 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.supp summary::-webkit-details-marker { display: none; }
.supp__label { display: inline-flex; align-items: center; gap: 7px; font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.supp__label svg { width: 14px; height: 14px; flex-shrink: 0; }
.supp__title { font-family: 'ES Build', Arial, sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); margin-right: auto; }
.supp__chevron { width: 16px; height: 16px; color: var(--muted); transition: transform .2s ease; flex-shrink: 0; }
.supp[open] .supp__chevron { transform: rotate(180deg); }
.supp__body { padding: 0 24px 24px; }
.supp__body > p:first-child { margin-top: 0; }
.supp__body p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.supp__body strong { color: var(--ink); }
.data-table, .supp table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 16px 0; }
.data-table th, .supp th { text-align: left; font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.data-table td, .supp td { padding: 12px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; }
.data-table tr:last-child td, .supp tr:last-child td { border-bottom: none; }
/* Nested tables inside a .supp block read as reference detail, not a page-level table — lighter weight than .data-table (UX-v5-002) */
.supp table { font-size: 12.5px; }
.supp th { padding: 6px 12px; }
.supp td { padding: 8px 12px; }
.muted { color: var(--muted); font-size: 0.85em; font-weight: 400; font-style: italic; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.task__list { padding-left: 20px; margin: -8px 0 16px; }
@media (max-width: 700px) {
  .data-table, .data-table thead, .data-table tbody, .data-table th, .data-table td, .data-table tr,
  .supp table, .supp thead, .supp tbody, .supp th, .supp td, .supp tr { display: block; }
  /* Visually hidden rather than display:none — keeps the real <thead>/<th> text
     available to screen readers instead of relying solely on the CSS-generated
     data-label labels below, which are not reliably exposed to assistive
     technology (FE-v1-003). Rendered appearance is unchanged: still occupies
     no visual space at this breakpoint. */
  .data-table thead, .supp thead {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  .data-table td, .supp td { border-bottom: none; padding: 4px 12px; }
  .data-table td:not(:first-child)::before, .supp td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
  .data-table tr, .supp tr { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .data-table td:first-child, .supp td:first-child { font-weight: 600; color: var(--ink); }
}

/* ─── Storylane embed (inline, with a fullscreen toggle) ─────────────────── */
.sl-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2);
}
.sl-embed .sl-demo { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sl-embed:fullscreen .sl-demo, .sl-embed .sl-demo:fullscreen { aspect-ratio: auto; }
.sl-embed__fullscreen {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  background: rgba(10,14,11,.55); color: var(--paper); border: 1px solid rgba(251,252,249,.25);
  border-radius: 8px; cursor: pointer; transition: background .2s;
}
.sl-embed__fullscreen:hover { background: rgba(10,14,11,.8); }
.sl-embed__fullscreen svg { width: 16px; height: 16px; }

/* ─── Try-it-yourself prompt block ──────────────── */
.try-it {
  border: 1px solid rgba(0,179,54,.35);
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0px 0px 18px rgba(10,14,11,.15);
  box-sizing: border-box;
  max-width: 820px;
  margin-bottom: 8px;
}
.try-it__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--veeam-green-bright); font-weight: 700;
  margin-bottom: 14px;
}
.try-it__label::before {
  content: '▶'; font-size: 10px;
}
.try-it__prompt {
  font-family: ui-monospace, 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 16px 18px;
  white-space: pre-wrap;
  word-break: break-word;
}
.try-it__hint {
  font-size: 13px;
  color: rgba(251,252,249,.55);
  margin-top: 12px;
  font-family: 'ES Build Neutral', Arial, sans-serif;
  line-height: 1.5;
}

/* ─── Screenshot embed ─────────────────────────── */
.screenshot {
  margin: 24px 0 8px;
  max-width: 820px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.screenshot__img { display: block; width: 100%; height: auto; object-fit: contain; background: var(--paper); }
.screenshot__caption { padding: 12px 18px; font-size: 13px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line-2); }
.screenshot__caption strong { color: var(--ink); font-weight: 600; }
.screenshot__source { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); font-style: italic; }
.screenshot__source a { color: var(--veeam-green-dim); text-decoration: none; }
.screenshot__source a:hover { text-decoration: underline; }

/* ─── Lesson nav at bottom ─────────────────────── */
.lesson-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 48px 32px 64px;
}
@media (max-width: 600px) { .lesson-nav { grid-template-columns: 1fr; } }
.lesson-nav__card {
  padding: 22px 26px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  display: block;
  transition: all .2s;
}
.lesson-nav__card:hover { border-color: var(--veeam-green); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0,179,54,.25); }
.lesson-nav__card.is-coming { opacity: .6; cursor: default; }
.lesson-nav__card.is-coming:hover { border-color: var(--line); transform: none; box-shadow: none; }
.lesson-nav__dir { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--veeam-green-dim); margin-bottom: 6px; }
.lesson-nav__title { font-family: 'ES Build', Arial, sans-serif; font-size: 18px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════════
   Landing-page-only blocks (index.html)
   ─────────────────────────────────────────────────────────────────────────── */

/* ─── ABOUT ───────────────────────────────────── */
.about {
  background: var(--paper-2);
  padding: 80px 32px;
}
.about__inner {
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.about__col h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin-bottom: 16px; }
.about__col p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 14px; }
.about__col strong { color: var(--ink); font-weight: 600; }
/* UX-v5: lists in the about column join the paragraph family — kit parity with
   the 100Days course, where the bare <ul> rendered at browser defaults. */
.about__col ul, .about__col ol { margin: 0 0 14px; padding-left: 22px; }
.about__col li { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 8px; }
@media (max-width: 760px) { .about__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ─── MODULE LIST ─────────────────────────────── */
.modules { padding: 80px 32px 120px; }
.modules__inner { max-width: 920px; margin: 0 auto; }
.modules__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.modules__head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.modules__count { color: var(--muted); font-size: 14.5px; }

.module-card {
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center; gap: 32px;
  padding: 32px 36px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; text-decoration: none; color: inherit;
  transition: all .25s ease;
  margin-bottom: 16px;
}
.module-card:hover {
  border-color: var(--veeam-green);
  box-shadow: 0 18px 36px -16px rgba(0,179,54,.30);
  transform: translateY(-2px);
}
.module-card.is-coming {
  cursor: default; opacity: .65;
}
.module-card.is-coming:hover {
  border-color: var(--line); box-shadow: none; transform: none;
}
.module-card__num {
  font-family: 'ES Build Bauhaus', 'ES Build', Arial, sans-serif;
  font-size: 56px; font-weight: 600;
  color: var(--veeam-green); line-height: 1;
  text-align: center;
}
.module-card.is-coming .module-card__num { color: var(--muted); }
.module-card__body h3 {
  font-size: 24px; font-weight: 600; margin-bottom: 10px;
}
.module-card__body p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; line-height: 1.6; }
.module-card__chips {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.module-card__chip {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px; letter-spacing: .08em;
  background: var(--paper-2); color: var(--muted);
  padding: 4px 10px; border-radius: 4px;
  border: 1px solid var(--line-2);
}
.module-card__chip.is-soon {
  background: var(--paper); color: var(--veeam-green-dim);
  border-color: var(--veeam-green);
}
.module-card__arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--veeam-green-soft);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
  flex-shrink: 0;
}
.module-card__arrow svg { width: 22px; height: 22px; stroke: var(--veeam-green-dim); }
.module-card:hover .module-card__arrow { background: var(--veeam-green); }
.module-card:hover .module-card__arrow svg { stroke: var(--paper); transform: translateX(2px); }
.module-card.is-coming .module-card__arrow { background: var(--paper-2); }
.module-card.is-coming .module-card__arrow svg { stroke: var(--muted); }
@media (max-width: 700px) {
  .module-card { grid-template-columns: 60px 1fr; gap: 20px; padding: 24px; }
  .module-card__arrow { display: none; }
  .module-card__num { font-size: 40px; }
  .module-card__body h3 { font-size: 20px; }
}

/* ─── FINAL EXAM CALLOUT ──────────────────────── */
.final-exam {
  background: var(--ink); color: var(--paper);
  padding: 36px;
  border-radius: 16px;
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 24px;
}
.final-exam__body h3 {
  font-size: 22px; font-weight: 600; margin: 0 0 8px;
  color: var(--paper);
}
.final-exam__body p { font-size: 14.5px; color: rgba(251,252,249,.7); margin: 0; line-height: 1.55; }
.final-exam__btn {
  background: var(--veeam-green); color: var(--ink);
  padding: 14px 28px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 14.5px;
  border: 1px solid var(--veeam-green); white-space: nowrap;
  transition: all .2s;
}
.final-exam__btn:hover { background: var(--veeam-green-bright); }
.final-exam__btn.is-disabled {
  background: rgba(251,252,249,.08); color: rgba(251,252,249,.4);
  border-color: rgba(251,252,249,.12); cursor: default;
}
@media (max-width: 600px) { .final-exam { grid-template-columns: 1fr; text-align: left; } }

/* ─── COVERED ─────────────────────────────────── */
.covered { background: var(--paper-2); padding: 80px 32px; }
.covered__inner { max-width: 920px; margin: 0 auto; }
.covered h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin-bottom: 16px; }
.covered__lede { color: var(--muted); font-size: 16px; max-width: 640px; margin-bottom: 40px; line-height: 1.65; }
.covered__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.covered__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px;
}
.covered__check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--veeam-green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); font-weight: 700; font-size: 12px;
}
.covered__item-title { font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.covered__item-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── ◆ Dark "mental model" card variant (compare__card on ink background) ─── */
.card-dark { background: var(--ink); color: var(--paper); border-color: transparent; }
.card-dark__title { color: var(--paper); font-family: 'ES Build', Arial, sans-serif; margin-bottom: 16px; }
.card-dark__lede { color: rgba(251,252,249,.65); font-size: 14.5px; margin: 0 0 24px; }
.card-dark__list { display: flex; flex-direction: column; gap: 12px; }
.card-dark__row { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.card-dark__idx { color: var(--veeam-green-bright); font-family: ui-monospace, 'SF Mono', monospace; font-size: 12px; padding-top: 2px; }
.card-dark__row strong { color: var(--paper); }
.card-dark__row span { color: rgba(251,252,249,.6); font-size: 13.5px; }

/* ─── ◆ Hero blurb (lesson hero lede, narrower than .lede) ─────────────── */
.hero__blurb { font-size: 17px; color: rgba(251,252,249,.7); max-width: 480px; margin: 0 0 32px; }

/* ─── ◆ Small spacing utilities (avoid ad-hoc inline margin-top) ───────── */
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.eyebrow--bright { color: var(--veeam-green-bright); }
.wizard__panel-mock img { width: 100%; height: auto; max-height: 380px; border-radius: 6px; display: block; object-fit: contain; margin: 0 auto; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }

/* ─── ◆ Status-color text utilities (avoid ad-hoc inline color styles) ── */
.text-ok { color: var(--veeam-green-dim); }
.text-warn { color: var(--warn-text); }
.text-danger { color: var(--danger); }

/* ─── ◆ Deploy scenario side-by-side panels (Lesson01, Lab 1.2 Task 1) ── */
.deploy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .deploy__grid { grid-template-columns: 1fr; } }
.deploy__panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; box-shadow: var(--shadow); }
.deploy__panel h3 { font-family: 'ES Build', Arial, sans-serif; margin: 0 0 6px; }
.deploy__panel .best-for { font-size: 13.5px; color: var(--veeam-green-dim); font-weight: 500; margin-bottom: 16px; }
.deploy__panel ul { margin: 0; padding-left: 18px; }
.deploy__panel li { margin-bottom: 9px; font-size: 14.5px; }

/* ─── ◆ "Check your read" predict-then-reveal widget (bespoke, Lesson01) ─
   Introduced when merging a colleague's Round-4 draft of Module 1 into
   this course (2026-07-14) — a new interactive-widget family distinct
   from .wizard/.flow/.quiz, scoped to Lab 1.2's deployment-scenario
   task. See CHANGELOG.md for provenance. */
.widget { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; box-shadow: var(--shadow); }
/* Canonical "Try it" exercise pill — single source of truth for every interactive-exercise
   tag across all 8 modules (consolidates the former per-lesson .hotspot__tag,
   .sev-sorter__tag, .remact__tag, .dashsort__tag, and .try-tag clones). */
.widget__tag { display: inline-flex; align-items: center; gap: 7px; font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--veeam-green-dim); background: var(--veeam-green-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Canonical flip-card component (consolidates the former per-lesson copies in Lessons 01/02).
   Per-lesson metric overrides go through the custom properties on .flipcards:
   --flip-h (card height), --flip-title (front h4 size), --flip-body (back text size). */
.flipcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .flipcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flipcards { grid-template-columns: 1fr; } }
.flip { perspective: 1200px; height: var(--flip-h, 240px); cursor: pointer; }
.flip:focus-visible { outline: 2px solid var(--veeam-green); outline-offset: 3px; border-radius: 12px; }
.flip__inner { position: relative; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 1px solid var(--line); border-left: 3px solid var(--veeam-green); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; overflow-y: auto; }
.flip__front { background: var(--paper); align-items: center; text-align: center; }
.flip__num { font-family: ui-monospace, 'SF Mono', monospace; font-size: 13px; color: var(--veeam-green); }
.flip__front h4 { margin: 0; flex: 1; display: flex; align-items: center; justify-content: center; font-size: var(--flip-title, clamp(20px, 2.4vw, 26px)); line-height: 1.2; color: var(--ink); }
.flip__hint { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.flip__back { background: var(--ink); color: var(--paper); transform: rotateY(180deg); justify-content: center; }
.flip__back p { margin: 0; font-size: var(--flip-body, 13.5px); line-height: 1.5; color: rgba(251,252,249,.85); }
.flip__back strong { color: var(--paper); }
.widget h3 { font-family: 'ES Build', Arial, sans-serif; margin: 0 0 6px; font-size: 18px; }
.widget > p.widget__lede { margin: 0 0 20px; font-size: 14px; color: var(--ink-2); max-width: 640px; }
.widget__fieldset { margin: 0 0 18px; }
.widget__label { font-size: 12.5px; font-weight: 600; color: var(--ink); width: 100%; margin-bottom: 8px; }
.toggle-group { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.toggle-group__opt { background: var(--paper); border: none; border-right: 1px solid var(--line); padding: 9px 16px; font: inherit; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: all .15s ease; }
.toggle-group__opt:last-child { border-right: none; }
.toggle-group__opt:hover { background: var(--paper-2); }
/* Same ink-on-green rule as .btn--primary / .widget__reveal (UX-v3-006). */
.toggle-group__opt.is-active { background: var(--veeam-green); color: var(--ink); font-weight: 600; }
.widget__actions { margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Dark ink on Veeam green, matching the kit's .btn--primary — --paper on
   --veeam-green measured 2.72:1 (UX-v3-006). */
.widget__reveal { background: var(--veeam-green); border: 1px solid var(--veeam-green); border-radius: 8px; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s ease; }
.widget__reveal:hover:not(:disabled) { background: var(--veeam-green-bright); border-color: var(--veeam-green-bright); }
.widget__reveal:disabled { opacity: .45; cursor: not-allowed; }
.widget__reset { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; color: var(--ink-2); cursor: pointer; transition: all .15s ease; }
.widget__reset:hover { border-color: var(--veeam-green-dim); color: var(--ink); }
.widget__model-note { font-size: 12px; color: var(--ink-2); font-style: italic; margin-top: 14px; }
.widget__slider { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: var(--line); outline: none; margin: 4px 0; }
.widget__slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--veeam-green); cursor: pointer; border: 2px solid var(--paper); box-shadow: var(--shadow); }
.widget__slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--veeam-green); cursor: pointer; border: 2px solid var(--paper); }
.widget__meter-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; }
.widget__meter { flex: 1; min-width: 200px; }
.widget__meter-label { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.widget__meter-track { height: 8px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.widget__meter-fill { height: 100%; background: var(--veeam-green); }
.widget__meter-value { font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ─── ◆ Live-chart widget family (gamification pass, Module 3, 2026-07-15) ─
   Hand-rolled SVG line chart for a live-updating metric with a draggable/
   slider-controlled threshold line, used by the Lab 3.2 internal-alarm
   "Resource usage" simulation widget. */
.widget__live-chart { width: 100%; height: 160px; margin-top: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; transition: background .3s ease; }
.widget__live-chart.is-alarming { background: var(--warn-soft); }
.widget__chart-line { fill: none; stroke: var(--veeam-green); stroke-width: 2; }
.widget__chart-threshold { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 4 3; }

/* ─── ◆ Rollup flying-number widget family (gamification pass, Module 4, 2026-07-15) ─
   Click-triggered FLIP-style animation: per-host values fly up into a parent
   rollup total. Used by the Lab 4.2 "Rollup values for parent objects" widget. */
.widget__rollup-stage { position: relative; margin-top: 20px; }
.widget__rollup-cluster { text-align: center; padding: 14px; background: var(--paper); border: 1px solid var(--veeam-green-dim); border-radius: 10px; margin: 0 auto 28px; max-width: 200px; }
.widget__rollup-cluster-label { font-size: 12px; color: var(--ink-2); }
.widget__rollup-cluster-value { font-family: 'ES Build', Arial, sans-serif; font-size: 22px; margin-top: 4px; }
.widget__rollup-hosts { display: flex; gap: 16px; justify-content: center; }
.widget__rollup-host { flex: 1; max-width: 140px; text-align: center; padding: 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; }
.widget__rollup-host-label { font-size: 11.5px; color: var(--ink-2); }
.widget__rollup-host-value { font-size: 16px; font-weight: 600; margin-top: 4px; color: var(--ink); }
.widget__rollup-flyer { position: absolute; padding: 4px 10px; background: var(--veeam-green); color: var(--paper); border-radius: 999px; font-size: 12px; font-weight: 600; transition: left .7s ease, top .7s ease, opacity .7s ease; pointer-events: none; transform: translate(-50%, -50%); }

/* ─── ◆ Filter-chip + sortable-table widget family (gamification pass,
   Module 5, 2026-07-15) — filter-row buttons plus a click-to-sort data
   table, used for the Lab 5.2 "Objects" tab widget. */
.widget__filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.widget__filter-chip { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px; font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.widget__filter-chip.is-active { border-color: var(--veeam-green-dim); color: var(--ink); font-weight: 600; background: var(--paper); }
.widget__obj-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.widget__obj-table th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 600; cursor: pointer; user-select: none; }
.widget__obj-table th.is-sorted { color: var(--ink); }
.widget__obj-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--ink); }

/* ─── ◆ Streamed-chat widget family (gamification pass, Module 7, 2026-07-15) ─
   A token-by-token streamed answer with a blinking cursor, used by the
   Lab 7.3 Basic/Advanced Veeam Intelligence comparison widget. */
.widget__chat { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-top: 16px; min-height: 90px; }
.widget__chat-q { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.widget__chat-q strong { color: var(--ink); }
.widget__chat-a { font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.widget__chat-cursor { display: inline-block; width: 7px; height: 14px; background: var(--veeam-green); margin-left: 2px; vertical-align: middle; animation: ggBlink 1s steps(1) infinite; }
@keyframes ggBlink { 50% { opacity: 0; } }

.simoutput { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-top: 18px; }
.simoutput__prompt { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.simoutput__verdict { font-family: 'ES Build', Arial, sans-serif; font-size: 15px; margin: 0 0 6px; }
.simoutput__verdict.is-correct { color: var(--veeam-green-dim); }
.simoutput__verdict.is-wrong { color: var(--warn-text); }
.simoutput__why { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.simoutput__warn { margin-top: 12px; padding: 12px 14px; background: var(--warn-soft); border-left: 3px solid var(--warn); border-radius: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
/* --warn-text, not --warn: this is amber TEXT on --warn-soft (UX-v3-005,
   same rule the retired .callout strong broke). */
.simoutput__warn strong { color: var(--warn-text); }
.simoutput__jump { margin-top: 12px; }
.simoutput__jump a { font-size: 13px; font-weight: 500; color: var(--veeam-green-dim); }

/* ═══════════════════════════════════════════════════════════════════════════
   v4 VISUAL PASS (Brand Experience Designer, 2026-08-06)
   Rendered-geometry fixes measured on the v3 build. Each rule cites its row in
   review-rows-ux.json; see _sources/diff-v3-to-v4-visual.md for the numbers.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Running measure (UX-v3-002) ────────────────────────
   The content column (.wrap, 1080px) was being used as the text measure —
   ~135 characters per line, roughly double the 60–75 the kit targets for
   .prose (720px) and .lede (640px). Cap the running measure so a single
   column no longer stacks four different measures with no shared right edge.
   720px, not the proposed 76ch: 76ch computes to 734px in ES Build Neutral,
   which would have left a 14px mismatch against .prose p's existing right
   edge — the exact defect this row was raised about. .note is capped at the
   same 720px, so its indented body ends on that shared right edge too
   (measured: .wrap > p, .prose p and .note__body p all end at x=900 in a
   1440px viewport). Tables, .code-block, figures and grids are left alone. */
.wrap > p:not(.lede),
.wrap > ul,
.wrap > ol { max-width: 720px; }
/* margin-bottom: consolidating the filled .callout panels into .note
   (UX-v3-014) removed the panel edge that used to separate the aside from the
   paragraph after it, leaving a 0px gap. The kit already gives .note 24px
   above; give it the same below. Collapses against an adjacent .note (still
   24px) and loses to the 40px above an h3/h4. */
.note { max-width: 720px; margin-bottom: 24px; }
.tabs__panel > p,
.sales-aside p,
.widget > p { max-width: 720px; }

/* ─── Subsection heading rhythm (UX-v3-003) ──────────────
   Components (.note, .stepper, .flow, .widget, figure) carry margin-bottom: 0,
   so an h3/h4 that followed one had 0px above it — less air than a body
   paragraph gets — and read as part of the block above rather than as the
   start of a new one. 40px keeps the 8pt baseline; the 8px heading-to-body
   gap below is unchanged (adjacent margins collapse to the larger value, so
   the 56px under a .lede still wins). */
.wrap > * + h3,
.wrap > * + h4 { margin-top: 40px; }

/* ─── Long-token guard (UX-v3-007) ───────────────────────
   One inline <code> carrying a PromQL query (515px, no break opportunity)
   pushed Lesson04's document.scrollWidth to 547px at a 390px viewport. This
   makes any future long token break instead of breaking the page. Preformatted
   blocks keep their own horizontal scroll (.code-block pre { overflow-x: auto }). */
code { overflow-wrap: anywhere; }
.code-block code { overflow-wrap: normal; }

/* ─── Text links on the dark recap surface (UX-v3-004) ───
   --info (#1558B0) is an accessible blue on the light surfaces it was defined
   for; on the near-black .review panel it measured 2.83:1. The recap's
   duplicate button rows are gone (UX-v3-009), so this is a guard: any
   .btn--text landing on --ink stays Veeam green rather than blue. */
.review .btn--text { color: var(--veeam-green-bright); }
.review .btn--text:hover { color: var(--paper); text-decoration: underline; }

/* ─── Checklists on the dark recap surface (UX-v5) ───
   .checklist li is --ink-2, a dark ink meant for light surfaces; on the
   near-black .review panel it measures ~1.1:1 — invisible. Match the
   .review-item__text treatment. The lede that introduces a checklist with a
   colon also kept its full 56px stage gap (14px below the list): tighten the
   pair so the intro and its list read as one unit. */
.review .checklist li { color: rgba(251,252,249,.85); }
.review .lede:has(+ .checklist) { margin-bottom: 20px; }

/* ─── Sticky breadcrumb at small widths (UX-v3-013) ──────
   The full module title wrapped to two lines beside the "Course overview"
   link, holding a 101px chrome band — 12% of an 844px viewport — for the
   whole scroll. The module number is the part worth keeping. */
@media (max-width: 760px) {
  .breadcrumb__current {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 46vw;
  }
}
