:root {
  --navy-950: #061f35;
  --navy-900: #092c4c;
  --navy-800: #103b61;
  --navy-700: #18517e;
  --green-600: #2e9d59;
  --green-500: #48be6b;
  --green-400: #71d888;
  --lime: #a7ee63;
  --mint-100: #eaf8ee;
  --mint-50: #f3fbf5;
  --blue-100: #e8f2fa;
  --blue-50: #f4f8fc;
  --red-600: #cb3c4b;
  --red-100: #fdebec;
  --amber-500: #e4a11b;
  --amber-100: #fff5d9;
  --ink: #142331;
  --muted: #627282;
  --line: #dce5e9;
  --surface: #ffffff;
  --canvas: #f3f7f6;
  --shadow-sm: 0 2px 10px rgba(5, 35, 52, 0.06);
  --shadow-md: 0 16px 42px rgba(5, 35, 52, 0.11);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
}

.icon svg { width: 100%; height: 100%; stroke: currentColor; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 12%;
  background: linear-gradient(145deg, var(--lime), var(--green-400));
  transform: rotate(-11deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

.brand-mark::after {
  content: "";
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  transform: rotate(-26deg) translate(1px,-1px);
  border-radius: 0 0 0 8px;
}

.brand-mark.small { width: 26px; height: 26px; }
.brand-mark.small::after { width: 11px; height: 6px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.025em; }
p { line-height: 1.65; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 19px;
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:focus-visible, .nav-item:focus-visible, .choice:focus-visible, .module-card:focus-visible { outline: 3px solid rgba(72,190,107,.32); outline-offset: 2px; }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn-primary { color: var(--navy-950); background: var(--lime); box-shadow: 0 9px 22px rgba(114, 207, 90, .22); }
.btn-primary:hover:not(:disabled) { background: #b4f579; box-shadow: 0 12px 28px rgba(114,207,90,.28); }
.btn-navy { color: white; background: var(--navy-900); }
.btn-navy:hover:not(:disabled) { background: var(--navy-800); }
.btn-secondary { color: var(--navy-900); background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost { color: var(--navy-800); background: transparent; border: 1px solid var(--line); }
.btn-danger { color: var(--red-600); background: var(--red-100); }
.btn-full { width: 100%; }

/* Start */
.start-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  background: var(--navy-950);
}

.start-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(32px, 5vw, 72px);
  overflow: hidden;
}

.start-visual::before,
.start-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.start-visual::before {
  width: 620px;
  height: 620px;
  right: -230px;
  bottom: -260px;
  background: radial-gradient(circle at 35% 35%, rgba(167,238,99,.42), rgba(72,190,107,.06) 65%, transparent 68%);
}

.start-visual::after {
  width: 420px;
  height: 420px;
  left: -230px;
  top: 24%;
  background: radial-gradient(circle, rgba(45,124,177,.26), transparent 70%);
}

.start-copy { max-width: 720px; margin: auto 0; padding: 80px 0; }
.start-kicker { color: var(--lime); margin-bottom: 18px; }
.start-copy h1 { color: white; font-size: clamp(48px, 6vw, 82px); line-height: .99; margin-bottom: 25px; }
.start-copy > p { color: #bed0dc; max-width: 640px; font-size: clamp(17px, 2vw, 21px); }
.start-meta { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 30px; }
.start-chip { display: inline-flex; align-items: center; gap: 8px; color: #e2edf2; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); font-size: 14px; }
.start-footer { color: #829cac; font-size: 13px; }

.start-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vw, 70px);
  background: #eff5f3;
}

.start-card { width: min(100%, 510px); background: white; border-radius: var(--radius-lg); padding: clamp(25px, 4vw, 42px); box-shadow: var(--shadow-md); }
.start-card h2 { font-size: 31px; margin-bottom: 10px; }
.start-card > p { color: var(--muted); margin-bottom: 27px; }
.field-label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.text-input { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid #ccd9de; border-radius: 13px; color: var(--ink); background: #fbfdfd; outline: none; transition: border .18s, box-shadow .18s; }
.text-input:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(72,190,107,.13); }
.start-card .btn { margin-top: 14px; }
.start-promise { display: flex; gap: 12px; margin-top: 21px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.45; }
.start-promise .icon { color: var(--green-600); width: 19px; height: 19px; }

/* Application shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 286px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 18px 19px; color: white; background: var(--navy-950); overflow-y: auto; }
.sidebar .brand { padding: 0 10px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-label { margin: 22px 11px 9px; color: #7f9aab; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.nav-list { display: grid; gap: 4px; }
.nav-item { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; min-height: 50px; padding: 8px 10px; color: #b7cad5; background: transparent; border: 0; border-radius: 12px; text-align: left; cursor: pointer; transition: color .18s, background .18s; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { color: white; background: rgba(167,238,99,.12); }
.nav-item .nav-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); }
.nav-item.active .nav-icon { color: var(--navy-950); background: var(--lime); }
.nav-item .nav-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.nav-status { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 10px; }
.nav-status.done { color: var(--navy-950); background: var(--green-400); border-color: var(--green-400); }
.nav-exam { margin-top: 11px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 11px; }
.sidebar-progress { margin-top: auto; padding: 18px 11px 2px; }
.sidebar-progress-top { display: flex; justify-content: space-between; margin-bottom: 8px; color: #b7cad5; font-size: 12px; }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.progress-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green-400), var(--lime)); transition: width .35s ease; }
.employee-mini { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--navy-950); background: var(--lime); font-weight: 800; }
.employee-mini strong { display: block; color: white; font-size: 13px; }
.employee-mini span { color: #7893a4; font-size: 11px; }

.mobile-topbar { display: none; }
.main-area { min-width: 0; min-height: 100vh; }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 54px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.88); backdrop-filter: blur(14px); }
.breadcrumbs { color: var(--muted); font-size: 13px; }
.breadcrumbs strong { color: var(--ink); }
.top-status { display: inline-flex; align-items: center; gap: 8px; color: var(--green-600); font-size: 13px; font-weight: 700; }
.top-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--mint-100); }
.page-content { width: min(100%, 1160px); margin: 0 auto; padding: 42px clamp(22px, 4vw, 55px) 72px; }

/* Dashboard */
.welcome-card { position: relative; isolation: isolate; overflow: hidden; min-height: 280px; padding: clamp(30px, 5vw, 54px); border-radius: var(--radius-lg); color: white; background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); box-shadow: var(--shadow-md); }
.welcome-card::after { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle at 45% 60%, rgba(167,238,99,.36), rgba(167,238,99,.02) 68%); }
.welcome-card .eyebrow { color: var(--lime); }
.welcome-card h1 { max-width: 710px; margin-bottom: 14px; font-size: clamp(36px, 5vw, 58px); line-height: 1.06; }
.welcome-card p { max-width: 650px; color: #c5d6e0; font-size: 17px; }
.welcome-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.welcome-actions .btn-secondary { color: white; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); box-shadow: none; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 40px; }
.metric { padding: 21px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.metric-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.metric-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--green-600); background: var(--mint-100); }
.metric-label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.metric-value { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1; }
.metric small { display: block; margin-top: 7px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 18px; }
.section-heading h2 { margin-bottom: 3px; font-size: 27px; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.modules-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.module-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 15px; align-items: center; padding: 19px; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); transition: border .18s, transform .18s, box-shadow .18s; }
.module-card:hover { transform: translateY(-2px); border-color: #b8ccc4; box-shadow: 0 12px 28px rgba(5,35,52,.09); }
.module-card-icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--navy-800); background: var(--blue-100); border-radius: 15px; }
.module-card.done .module-card-icon { color: var(--green-600); background: var(--mint-100); }
.module-card h3 { margin-bottom: 4px; font-size: 17px; }
.module-card p { margin: 0; color: var(--muted); font-size: 12px; }
.module-card-arrow { color: #9aabb5; }

/* Module pages */
.module-header { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: start; margin-bottom: 28px; }
.module-header h1 { margin-bottom: 12px; font-size: clamp(36px, 5vw, 54px); line-height: 1.04; }
.module-header p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }
.duration-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; color: var(--navy-800); background: var(--blue-100); border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.takeaway { display: flex; align-items: center; gap: 15px; margin-bottom: 23px; padding: 18px 20px; border: 1px solid #bfe6ca; border-radius: var(--radius); background: var(--mint-100); }
.takeaway-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--green-600); background: white; border-radius: 12px; }
.takeaway span { display: block; color: var(--green-600); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.takeaway strong { display: block; margin-top: 3px; font-size: 15px; line-height: 1.4; }
.lesson-stack { display: grid; gap: 20px; }
.lesson-card { padding: clamp(22px, 3.5vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.lesson-card > h2 { margin-bottom: 20px; font-size: 23px; }
.lesson-card > h2:last-child { margin-bottom: 0; }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step-item { position: relative; padding: 18px 16px; border: 1px solid var(--line); border-radius: 15px; background: #fbfdfd; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 14px; color: var(--navy-950); border-radius: 9px; background: var(--lime); font-size: 12px; font-weight: 800; }
.step-item h3 { margin-bottom: 7px; font-size: 16px; }
.step-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.compare { padding: 21px; border-radius: 16px; }
.compare.good { border: 1px solid #bfe6ca; background: var(--mint-50); }
.compare.neutral { border: 1px solid #cddfea; background: var(--blue-50); }
.compare.bad { border: 1px solid #f2c7ca; background: #fff7f7; }
.compare h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; font-size: 16px; }
.compare-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.compare-list li { display: grid; grid-template-columns: 19px 1fr; gap: 8px; color: #455663; font-size: 14px; line-height: 1.45; }
.compare-list li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; color: var(--green-600); border-radius: 50%; background: var(--mint-100); font-size: 11px; font-weight: 800; }
.compare.bad .compare-list li::before { content: "×"; color: var(--red-600); background: var(--red-100); }
.highlight { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 24px; border-radius: var(--radius); }
.highlight.green { color: #174328; border: 1px solid #bfe6ca; background: var(--mint-100); }
.highlight.blue { color: #173c59; border: 1px solid #cbdfea; background: var(--blue-100); }
.highlight.red { color: #65212a; border: 1px solid #f3c5ca; background: var(--red-100); }
.highlight-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.72); }
.highlight h3 { margin-bottom: 6px; font-size: 17px; }
.highlight p { margin: 0; font-size: 14px; line-height: 1.6; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-item { position: relative; padding: 21px 17px; text-align: center; border-radius: 16px; background: var(--blue-50); border: 1px solid #d9e6ee; }
.flow-item:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: #90a5b3; font-size: 20px; font-weight: 800; }
.flow-dot { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 12px; color: white; background: var(--navy-800); border-radius: 50%; font-weight: 800; font-size: 12px; }
.flow-item strong { display: block; margin-bottom: 6px; font-family: var(--font-display); }
.flow-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.info-card { padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: #fbfdfd; }
.info-card h3 { margin-bottom: 6px; font-size: 16px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.number-rule { display: flex; align-items: center; gap: 24px; padding: 28px; color: white; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); }
.big-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(58px, 8vw, 88px); line-height: .8; color: var(--lime); }
.number-rule h2 { margin-bottom: 5px; font-size: 27px; }
.number-rule p { margin: 0; color: #c6d8e1; font-size: 14px; }
.quick-quiz { border-color: #c8dae4; background: linear-gradient(180deg, white, #f8fbfd); }
.quiz-label { display: inline-flex; margin-bottom: 13px; padding: 6px 9px; color: var(--navy-700); background: var(--blue-100); border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quick-quiz h2 { max-width: 800px; margin-bottom: 19px; }
.choice-list { display: grid; gap: 10px; }
.choice { width: 100%; display: grid; grid-template-columns: 31px 1fr auto; gap: 12px; align-items: center; min-height: 58px; padding: 12px 14px; color: var(--ink); border: 1.5px solid var(--line); border-radius: 13px; background: white; text-align: left; cursor: pointer; transition: border .18s, background .18s; }
.choice:hover:not(:disabled) { border-color: #aebfc8; background: #fbfdfd; }
.choice-letter { display: grid; place-items: center; width: 31px; height: 31px; color: var(--navy-700); background: var(--blue-100); border-radius: 9px; font-size: 12px; font-weight: 800; }
.choice.correct { border-color: var(--green-500); background: var(--mint-50); }
.choice.incorrect { border-color: #e78690; background: #fff6f7; }
.choice.correct .choice-letter { color: white; background: var(--green-500); }
.choice.incorrect .choice-letter { color: white; background: var(--red-600); }
.choice-feedback-icon { font-weight: 800; }
.choice.correct .choice-feedback-icon { color: var(--green-600); }
.choice.incorrect .choice-feedback-icon { color: var(--red-600); }
.inline-feedback { display: flex; gap: 10px; margin-top: 13px; padding: 13px 15px; color: #28513a; background: var(--mint-100); border-radius: 12px; font-size: 13px; line-height: 1.5; }
.inline-feedback.error { color: #702a32; background: var(--red-100); }
.script-box { position: relative; padding: 28px; color: white; background: var(--navy-900); border-radius: var(--radius); overflow: hidden; }
.script-box::after { content: "“"; position: absolute; right: 22px; top: -23px; color: rgba(167,238,99,.15); font-family: Georgia, serif; font-size: 160px; line-height: 1; }
.script-text { position: relative; z-index: 1; margin-bottom: 14px; color: white; font-family: var(--font-display); font-size: 19px; line-height: 1.55; }
.script-note { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #bcd2dd; font-size: 12px; }
.dialogue { display: grid; gap: 13px; }
.message { max-width: 82%; padding: 14px 17px; border-radius: 16px; }
.message.resident { justify-self: start; background: #edf2f4; border-bottom-left-radius: 5px; }
.message.agent { justify-self: end; color: white; background: var(--navy-800); border-bottom-right-radius: 5px; }
.message strong { display: block; margin-bottom: 4px; color: var(--green-600); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.message.agent strong { color: var(--lime); }
.message p { margin: 0; font-size: 14px; line-height: 1.55; }
.framework-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.framework-item { padding: 20px; border-radius: 15px; background: var(--blue-50); border: 1px solid #d5e4ec; }
.framework-number { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; color: white; background: var(--navy-800); border-radius: 9px; font-size: 12px; font-weight: 800; }
.framework-item h3 { margin-bottom: 6px; font-size: 17px; }
.framework-item p { margin: 0; color: var(--muted); font-size: 13px; }

/* Objections */
.objection-intro { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.objection-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.objection-list { display: grid; gap: 10px; }
.objection-item { border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.objection-toggle { width: 100%; display: grid; grid-template-columns: 37px 1fr auto; gap: 12px; align-items: center; padding: 15px 17px; border: 0; background: white; text-align: left; cursor: pointer; }
.objection-toggle:hover { background: #fbfdfd; }
.objection-quote { display: grid; place-items: center; width: 37px; height: 37px; color: var(--navy-700); background: var(--blue-100); border-radius: 11px; font-family: Georgia, serif; font-size: 23px; }
.objection-toggle strong { font-size: 14px; }
.objection-chevron { color: #8a9da9; transition: transform .2s ease; }
.objection-item.open .objection-chevron { transform: rotate(180deg); }
.objection-body { display: none; padding: 0 17px 18px 66px; }
.objection-item.open .objection-body { display: block; }
.response-block { padding: 16px; color: #173f29; background: var(--mint-100); border-radius: 12px; }
.response-block strong, .why-block strong, .bad-block strong { display: block; margin-bottom: 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.response-block p, .why-block p, .bad-block p { margin: 0; font-size: 13px; line-height: 1.55; }
.why-block, .bad-block { margin-top: 9px; padding: 14px 16px; border-radius: 12px; }
.why-block { color: #29485c; background: var(--blue-50); }
.bad-block { color: #682933; background: #fff4f5; }

/* Classifier */
.classifier-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.statement-card { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(26px, 5vw, 43px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, white, #f7faf9); }
.statement-count { color: var(--muted); font-size: 12px; font-weight: 700; }
.statement-card blockquote { margin: 28px 0; color: var(--navy-900); font-family: var(--font-display); font-size: clamp(23px, 4vw, 34px); line-height: 1.25; letter-spacing: -.025em; }
.classifier-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.classify-btn { min-height: 55px; border: 0; border-radius: 13px; font-weight: 800; cursor: pointer; transition: transform .18s, filter .18s; }
.classify-btn:hover { transform: translateY(-1px); filter: brightness(.98); }
.classify-btn.green { color: #174528; background: #dff5e5; }
.classify-btn.red { color: #712733; background: var(--red-100); }
.classifier-side { padding: 22px; color: white; background: var(--navy-900); border-radius: var(--radius); }
.classifier-score { font-family: var(--font-display); font-size: 38px; line-height: 1; }
.classifier-side p { color: #bfd2dd; font-size: 13px; }
.classifier-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 17px; }
.classifier-dot { aspect-ratio: 1; border-radius: 7px; background: rgba(255,255,255,.1); }
.classifier-dot.correct { background: var(--green-400); }
.classifier-dot.wrong { background: #ef7a84; }
.classifier-feedback { margin-top: 14px; padding: 13px; border-radius: 11px; background: rgba(255,255,255,.08); font-size: 12px; line-height: 1.5; }
.classifier-complete { text-align: center; padding: 30px; }
.classifier-complete .score-ring { margin: 0 auto 20px; }

/* Checklist */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-item { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: center; min-height: 54px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfd; cursor: pointer; }
.check-box { display: grid; place-items: center; width: 28px; height: 28px; color: transparent; border: 1.5px solid #bdccd3; border-radius: 8px; background: white; transition: all .18s; }
.check-item.checked { border-color: #bee4c8; background: var(--mint-50); }
.check-item.checked .check-box { color: white; border-color: var(--green-500); background: var(--green-500); }
.check-item span:last-child { font-size: 13px; font-weight: 600; }
.check-progress { margin-top: 16px; color: var(--muted); font-size: 12px; text-align: right; }

.module-footer { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.module-footer-right { display: flex; gap: 11px; }

/* Exam */
.exam-intro { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 25px; align-items: stretch; }
.exam-hero { padding: clamp(31px, 5vw, 52px); color: white; background: linear-gradient(125deg, var(--navy-950), var(--navy-700)); border-radius: var(--radius-lg); }
.exam-hero .eyebrow { color: var(--lime); }
.exam-hero h1 { margin-bottom: 16px; font-size: clamp(38px, 5vw, 57px); line-height: 1.02; }
.exam-hero p { max-width: 650px; color: #c5d6e0; }
.exam-rules { display: grid; gap: 10px; margin: 25px 0; }
.exam-rule { display: flex; align-items: center; gap: 10px; color: #e4edf2; font-size: 13px; }
.exam-rule .icon { color: var(--lime); width: 18px; height: 18px; }
.exam-side { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.exam-side h2 { font-size: 22px; }
.readiness-list { display: grid; gap: 9px; margin: 16px 0 24px; }
.readiness { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.readiness.done { color: var(--green-600); }
.readiness-dot { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #c6d2d8; font-size: 10px; }
.readiness.done .readiness-dot { color: white; border-color: var(--green-500); background: var(--green-500); }
.exam-warning { padding: 13px; color: #684b16; background: var(--amber-100); border-radius: 11px; font-size: 12px; line-height: 1.45; }
.exam-shell { max-width: 850px; margin: 0 auto; }
.exam-progress { margin-bottom: 24px; }
.exam-progress-top { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.exam-progress .progress-track { background: #dce5e7; height: 8px; }
.question-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.question-type { display: inline-flex; margin-bottom: 17px; padding: 6px 9px; color: var(--navy-700); background: var(--blue-100); border-radius: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.question-card h1 { margin-bottom: 25px; font-size: clamp(25px, 4vw, 35px); line-height: 1.25; }
.exam-choice { min-height: 64px; grid-template-columns: 35px 1fr; padding: 13px 15px; }
.exam-choice.selected { border-color: var(--navy-700); background: var(--blue-50); box-shadow: 0 0 0 2px rgba(24,81,126,.08); }
.exam-choice.selected .choice-letter { color: white; background: var(--navy-700); }
.question-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 21px; }
.question-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 25px; }
.question-dot { width: 27px; height: 27px; display: grid; place-items: center; padding: 0; border: 1px solid #cfdadf; border-radius: 8px; color: var(--muted); background: white; font-size: 10px; cursor: pointer; }
.question-dot.answered { color: white; border-color: var(--navy-700); background: var(--navy-700); }
.question-dot.active { outline: 3px solid rgba(72,190,107,.24); border-color: var(--green-500); }

/* Results */
.result-hero { padding: clamp(31px, 5vw, 52px); border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); }
.result-hero.passed { color: white; background: linear-gradient(125deg, var(--navy-950), #15593c); }
.result-hero.failed { color: white; background: linear-gradient(125deg, var(--navy-950), #74444a); }
.result-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; color: var(--navy-950); background: var(--lime); border-radius: 22px; }
.result-hero.failed .result-icon { color: white; background: #dd6874; }
.result-hero h1 { margin-bottom: 9px; font-size: clamp(40px, 6vw, 62px); }
.result-hero p { max-width: 620px; margin: 0 auto; color: #d3e0e6; }
.result-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -1px auto 28px; padding: 22px; background: white; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-md); }
.result-stat { text-align: center; padding: 11px; border-right: 1px solid var(--line); }
.result-stat:last-child { border: 0; }
.result-stat strong { display: block; font-family: var(--font-display); font-size: 29px; }
.result-stat span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.result-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.result-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.result-card h2 { margin-bottom: 18px; font-size: 21px; }
.topic-row { display: grid; grid-template-columns: 150px 1fr 45px; gap: 12px; align-items: center; margin: 13px 0; }
.topic-row span { font-size: 12px; font-weight: 600; }
.topic-bar { height: 8px; overflow: hidden; border-radius: 99px; background: #e5ecee; }
.topic-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green-500); }
.topic-row em { color: var(--muted); font-size: 11px; font-style: normal; text-align: right; }
.attention-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.attention-list li { display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding: 12px; border-radius: 11px; color: #5c4144; background: #fff6f6; font-size: 13px; line-height: 1.45; }
.attention-list li::before { content: "!"; display: grid; place-items: center; width: 24px; height: 24px; color: white; background: var(--red-600); border-radius: 7px; font-weight: 800; }
.all-good { padding: 18px; color: #255239; background: var(--mint-100); border-radius: 12px; font-size: 14px; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 26px; }

/* Certificate */
.certificate-wrap { margin-top: 25px; }
.certificate { position: relative; isolation: isolate; overflow: hidden; min-height: 510px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 45px; border: 10px solid white; outline: 2px solid var(--navy-900); outline-offset: -17px; color: var(--navy-950); background: #fffef9; text-align: center; box-shadow: var(--shadow-md); }
.certificate::before, .certificate::after { content: ""; position: absolute; z-index: -1; width: 270px; height: 270px; border-radius: 50%; background: radial-gradient(circle, rgba(167,238,99,.3), transparent 68%); }
.certificate::before { left: -100px; top: -110px; }
.certificate::after { right: -110px; bottom: -115px; }
.certificate-brand { color: var(--navy-950); margin-bottom: 27px; }
.certificate-brand .brand-mark { width: 30px; height: 30px; }
.certificate-kicker { color: var(--green-600); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.certificate h2 { margin: 11px 0 4px; font-size: clamp(35px, 6vw, 53px); }
.certificate > p { color: var(--muted); }
.certificate-name { margin: 20px 0 10px; padding: 0 35px 8px; border-bottom: 1px solid #a8b7bd; font-family: var(--font-display); font-size: clamp(28px, 5vw, 42px); font-weight: 700; }
.certificate-title { color: var(--navy-800); font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.certificate-meta { display: flex; gap: 35px; margin-top: 30px; }
.certificate-meta div { min-width: 130px; padding-top: 8px; border-top: 1px solid #b7c4c9; }
.certificate-meta strong { display: block; font-size: 15px; }
.certificate-meta span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

/* Praktijkrollenspel */
.nav-item:disabled { cursor: not-allowed; opacity: .46; }
.nav-item:disabled:hover { color: #b7cad5; background: transparent; }
.roleplay-locked { max-width: 700px; margin: 50px auto; padding: 50px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.roleplay-locked .result-icon { color: var(--navy-800); background: var(--blue-100); }
.roleplay-locked h1 { font-size: 46px; margin-bottom: 12px; }
.roleplay-locked p { color: var(--muted); margin: 0 auto 24px; max-width: 540px; }
.roleplay-intro { display: grid; grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 66px); align-items: center; min-height: calc(100vh - 190px); }
.roleplay-avatar-large { position: relative; overflow: hidden; min-height: 570px; border-radius: 30px; background: var(--navy-900); box-shadow: var(--shadow-md); }
.roleplay-avatar-large::after { content: ""; position: absolute; inset: auto 0 0; height: 33%; background: linear-gradient(transparent, rgba(5,28,46,.78)); }
.roleplay-avatar-large img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 28%; }
.avatar-live { position: absolute; z-index: 2; left: 20px; bottom: 19px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; color: white; background: rgba(6,31,53,.72); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; backdrop-filter: blur(9px); font-size: 12px; font-weight: 700; }
.avatar-live i, .resident-mood i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(72,190,107,.17); }
.roleplay-intro-copy h1 { font-size: clamp(43px, 6vw, 68px); line-height: .98; margin-bottom: 20px; }
.roleplay-intro-copy > p { max-width: 650px; color: var(--muted); font-size: 17px; }
.resident-profile { margin: 26px 0 20px; padding: 20px; border: 1px solid #cddfe7; border-radius: var(--radius); background: var(--blue-50); }
.resident-profile strong { display: block; font-family: var(--font-display); font-size: 19px; }
.resident-profile span { display: block; margin: 2px 0 9px; color: var(--green-600); font-size: 12px; font-weight: 700; }
.resident-profile p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.roleplay-rules { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.roleplay-rules span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--navy-800); background: white; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; font-weight: 700; }
.roleplay-rules .icon { width: 16px; height: 16px; color: var(--green-600); }
.roleplay-progress { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: end; margin-bottom: 18px; }
.roleplay-progress span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.roleplay-progress strong { font-family: var(--font-display); font-size: 19px; }
.roleplay-progress .progress-track { background: #dce5e7; }
.roleplay-feedback { display: grid; grid-template-columns: auto 1fr; gap: 11px; margin-bottom: 15px; padding: 13px 16px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.roleplay-feedback.great { color: #215036; background: var(--mint-100); border: 1px solid #bfe6ca; }
.roleplay-feedback.okay { color: #644914; background: var(--amber-100); border: 1px solid #f1d588; }
.roleplay-feedback.poor { color: #6e2832; background: var(--red-100); border: 1px solid #f1c2c7; }
.roleplay-feedback strong { white-space: nowrap; }
.roleplay-stage { display: grid; grid-template-columns: 315px minmax(0, 1fr); gap: 20px; align-items: start; }
.roleplay-person { position: sticky; top: 22px; padding: 15px; color: white; border-radius: var(--radius-lg); background: var(--navy-950); box-shadow: var(--shadow-md); }
.roleplay-avatar-card { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--navy-800); }
.roleplay-avatar-card::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(6,31,53,.95)); }
.roleplay-avatar-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.avatar-mouth { position: absolute; z-index: 2; left: 50%; top: 32.5%; width: 16px; height: 3px; transform: translateX(-50%); border-radius: 50%; background: rgba(55,24,18,.72); opacity: 0; pointer-events: none; }
.avatar-speaking .avatar-mouth { opacity: .82; animation: avatar-talk .28s infinite alternate ease-in-out; }
.avatar-speaking .roleplay-avatar-card { box-shadow: 0 0 0 3px var(--green-400), 0 0 28px rgba(72,190,107,.28); }
@keyframes avatar-talk { from { height: 2px; width: 15px; } to { height: 7px; width: 13px; } }
.roleplay-avatar-card > div { position: absolute; z-index: 1; left: 17px; right: 17px; bottom: 15px; }
.roleplay-avatar-card strong { display: block; font-family: var(--font-display); font-size: 18px; }
.roleplay-avatar-card span { color: #bed1dc; font-size: 11px; }
.resident-mood { display: flex; align-items: center; gap: 9px; padding: 15px 7px 8px; color: #bcd0db; font-size: 11px; }
.practice-score { display: flex; justify-content: space-between; margin-top: 5px; padding: 12px; border-radius: 11px; color: #bcd0db; background: rgba(255,255,255,.06); font-size: 11px; }
.practice-score strong { color: var(--lime); }
.roleplay-conversation { padding: clamp(23px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.conversation-task { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.conversation-task span { padding: 6px 9px; color: var(--green-600); background: var(--mint-100); border-radius: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.conversation-task strong { font-size: 13px; line-height: 1.4; }
.resident-speech { position: relative; margin: 26px 0; padding: 20px 22px; color: var(--navy-900); border-radius: 5px 18px 18px 18px; background: var(--blue-100); }
.speech-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resident-speech span { color: var(--navy-700); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.speak-button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: var(--navy-700); border: 1px solid #bed3df; border-radius: 9px; background: rgba(255,255,255,.7); font-size: 10px; font-weight: 700; cursor: pointer; }
.speak-button .icon { width: 15px; height: 15px; }
.resident-speech p { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(19px, 3vw, 25px); line-height: 1.4; }
.voice-practice { margin: 0 0 23px; padding: 18px; border: 1px solid #bfdcc8; border-radius: 16px; background: var(--mint-50); }
.voice-practice.listening { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(72,190,107,.12); }
.voice-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.voice-heading strong { display: block; font-family: var(--font-display); font-size: 16px; }
.voice-heading span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.mic-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 14px; color: white; border: 0; border-radius: 12px; background: var(--green-600); font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.mic-button:disabled { cursor: not-allowed; background: #8b9ba3; }
.voice-practice.listening .mic-button { background: var(--red-600); animation: listening-pulse 1.1s infinite ease-in-out; }
.mic-button .icon { width: 18px; height: 18px; }
@keyframes listening-pulse { 50% { box-shadow: 0 0 0 8px rgba(203,60,75,.12); } }
.transcript { margin-top: 14px; padding: 14px; border: 1px solid #c6dfcd; border-radius: 12px; background: white; }
.transcript > span { color: var(--green-600); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.transcript p { margin: 7px 0 12px; color: var(--navy-900); font-family: var(--font-display); font-size: 17px; line-height: 1.45; }
.transcript .btn { min-height: 41px; padding: 9px 13px; font-size: 11px; }
.voice-error { display: flex; gap: 8px; align-items: start; margin-top: 12px; padding: 11px; color: #614919; border-radius: 10px; background: var(--amber-100); font-size: 11px; line-height: 1.45; }
.voice-error .icon { width: 16px; height: 16px; flex: 0 0 auto; }
.voice-practice > small { display: block; margin-top: 11px; color: #708077; font-size: 9px; line-height: 1.4; }
.response-divider { padding-top: 21px; border-top: 1px solid var(--line); }
.response-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.response-heading span { font-family: var(--font-display); font-weight: 700; }
.response-heading small { color: var(--muted); }
.roleplay-options { display: grid; gap: 10px; }
.roleplay-option { width: 100%; display: grid; grid-template-columns: 34px 1fr 22px; gap: 12px; align-items: center; min-height: 66px; padding: 13px 15px; color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; background: #fbfdfd; text-align: left; cursor: pointer; transition: border .18s, background .18s, transform .18s; }
.roleplay-option:hover { transform: translateY(-1px); border-color: var(--green-500); background: var(--mint-50); }
.roleplay-option > span:nth-child(2) { font-size: 13px; line-height: 1.5; }
.roleplay-option > .icon { color: #8da1ad; width: 18px; height: 18px; }
.practice-result { padding: clamp(34px, 5vw, 55px); color: white; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); }
.practice-result.passed { background: linear-gradient(125deg, var(--navy-950), #15593c); }
.practice-result.retry { background: linear-gradient(125deg, var(--navy-950), #775b25); }
.practice-result h1 { margin-bottom: 8px; font-size: clamp(41px, 6vw, 62px); }
.practice-result > p { max-width: 640px; margin: 0 auto; color: #d3e0e6; }
.practice-result-score { display: inline-flex; flex-direction: column; margin-top: 25px; padding: 15px 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.07); }
.practice-result-score strong { color: var(--lime); font-family: var(--font-display); font-size: 37px; line-height: 1; }
.practice-result-score span { margin-top: 5px; color: #c9d8e0; font-size: 11px; }
.roleplay-review { margin-top: 25px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.review-list { display: grid; gap: 11px; }
.review-item { display: grid; grid-template-columns: 36px 1fr 35px; gap: 13px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfd; }
.review-step { display: grid; place-items: center; width: 36px; height: 36px; color: var(--navy-950); background: var(--lime); border-radius: 11px; font-weight: 800; }
.review-stage { color: var(--green-600); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.review-item p { margin: 5px 0 9px; font-size: 13px; line-height: 1.5; }
.review-feedback { padding: 9px 11px; border-radius: 9px; font-size: 11px; line-height: 1.45; }
.review-feedback.great { color: #245139; background: var(--mint-100); }
.review-feedback.okay { color: #634a18; background: var(--amber-100); }
.review-feedback.poor { color: #6c2a33; background: var(--red-100); }
.review-points { color: var(--green-600); text-align: right; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 9px; padding: 13px 17px; color: white; background: var(--navy-950); border-radius: 12px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .start-screen { grid-template-columns: 1fr 430px; }
  .app-shell { grid-template-columns: 250px minmax(0,1fr); }
  .step-list, .flow-grid { grid-template-columns: repeat(2,1fr); }
  .flow-item:nth-child(2)::after { display: none; }
  .classifier-wrap { grid-template-columns: 1fr; }
  .classifier-side { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
  .classifier-dots { margin: 0; }
  .exam-intro { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .start-screen { display: block; background: #eff5f3; }
  .start-visual { min-height: auto; padding: 26px 22px 46px; }
  .start-copy { padding: 70px 0 30px; }
  .start-copy h1 { font-size: clamp(42px, 13vw, 62px); }
  .start-footer { display: none; }
  .start-panel { padding: 0 17px 28px; }
  .start-card { margin-top: -14px; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  .mobile-topbar { position: sticky; z-index: 20; top: 0; display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 18px; color: white; background: rgba(6,31,53,.96); backdrop-filter: blur(14px); }
  .mobile-topbar .brand { font-size: 15px; }
  .mobile-menu-btn { display: grid; place-items: center; width: 38px; height: 38px; color: white; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.06); }
  .mobile-drawer { position: fixed; z-index: 30; inset: 64px 0 0; padding: 20px 16px 30px; color: white; background: var(--navy-950); overflow-y: auto; }
  .mobile-drawer .nav-item { grid-template-columns: 38px 1fr auto; min-height: 56px; }
  .mobile-drawer-footer { margin-top: 20px; padding: 18px 10px; border-top: 1px solid rgba(255,255,255,.1); }
  .topbar { display: none; }
  .page-content { padding: 26px 17px 50px; }
  .welcome-card { padding: 30px 23px; }
  .welcome-card h1 { font-size: 38px; }
  .metric-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .metric { display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; padding: 14px 16px; }
  .metric-top { margin: 0; }
  .metric-label { display: none; }
  .metric-value { font-size: 22px; }
  .metric small { margin-top: 3px; }
  .modules-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .module-header { grid-template-columns: 1fr; gap: 14px; }
  .module-header h1 { font-size: 39px; }
  .duration-pill { width: fit-content; }
  .takeaway { align-items: start; }
  .lesson-card { padding: 20px 17px; border-radius: var(--radius); }
  .step-list, .flow-grid, .comparison-grid, .info-grid, .framework-grid, .checklist { grid-template-columns: 1fr; }
  .flow-item:not(:last-child)::after { content: "↓"; display: block; right: auto; left: 50%; top: auto; bottom: -23px; transform: translateX(-50%); }
  .number-rule { align-items: flex-start; }
  .message { max-width: 92%; }
  .objection-body { padding-left: 17px; }
  .classifier-side { display: block; }
  .classifier-dots { margin-top: 14px; }
  .module-footer { align-items: stretch; flex-direction: column-reverse; }
  .module-footer-right { display: grid; grid-template-columns: 1fr; }
  .module-footer .btn { width: 100%; }
  .exam-hero, .exam-side { padding: 25px 21px; }
  .exam-hero h1 { font-size: 40px; }
  .question-card { padding: 23px 17px; }
  .question-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .question-nav .btn { width: 100%; padding-left: 10px; padding-right: 10px; }
  .result-stats { grid-template-columns: repeat(2,1fr); }
  .result-stat:nth-child(2) { border-right: 0; }
  .result-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .result-grid { grid-template-columns: 1fr; }
  .topic-row { grid-template-columns: 120px 1fr 35px; }
  .certificate { min-height: 550px; padding: 45px 25px; }
  .certificate-meta { flex-direction: column; gap: 18px; }
  .roleplay-intro { grid-template-columns: 1fr; min-height: 0; }
  .roleplay-avatar-large { min-height: 450px; }
  .roleplay-intro-copy h1 { font-size: 44px; }
  .roleplay-progress { grid-template-columns: 1fr; gap: 10px; }
  .roleplay-feedback { grid-template-columns: 1fr; }
  .roleplay-stage { grid-template-columns: 1fr; }
  .roleplay-person { position: static; display: grid; grid-template-columns: 115px 1fr; gap: 12px; align-items: center; }
  .roleplay-avatar-card { aspect-ratio: 1; }
  .roleplay-avatar-card > div { display: none; }
  .roleplay-person .resident-mood { padding: 4px 0; }
  .practice-score { grid-column: 1 / -1; margin: 0; }
  .roleplay-conversation { padding: 21px 16px; }
  .conversation-task { align-items: flex-start; flex-direction: column; }
  .voice-heading { align-items: stretch; flex-direction: column; }
  .mic-button { width: 100%; }
  .speech-name { align-items: flex-start; flex-direction: column; }
  .roleplay-option { grid-template-columns: 32px 1fr; }
  .roleplay-option > .icon { display: none; }
  .review-item { grid-template-columns: 32px 1fr; }
  .review-step { width: 32px; height: 32px; }
  .review-points { grid-column: 2; text-align: left; }
}

@media (max-width: 440px) {
  .start-card h2 { font-size: 27px; }
  .start-meta { display: grid; }
  .welcome-actions { display: grid; }
  .module-card { grid-template-columns: 46px 1fr auto; padding: 15px; }
  .module-card-icon { width: 46px; height: 46px; }
  .classifier-actions { grid-template-columns: 1fr; }
  .question-nav { grid-template-columns: 1fr; }
  .result-actions { display: grid; }
}

@media print {
  body { background: white; }
  .sidebar, .mobile-topbar, .topbar, .result-hero, .result-stats, .result-grid, .result-actions, .certificate-wrap > .section-heading { display: none !important; }
  .app-shell, .main-area { display: block; min-height: 0; }
  .page-content { width: 100%; max-width: none; padding: 0; }
  .certificate-wrap { margin: 0; }
  .certificate { width: 100%; min-height: 95vh; box-shadow: none; break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
