:root {
  color-scheme: light;
  /* TypePath color foundations. Components should consume semantic tokens below. */
  --color-neutral-0: #ffffff;
  --color-neutral-25: #fcfcfa;
  --color-neutral-50: #f7f7f3;
  --color-neutral-100: #efefea;
  --color-neutral-200: #dedfd8;
  --color-neutral-300: #c7c9c0;
  --color-neutral-400: #9da097;
  --color-neutral-500: #74786f;
  --color-neutral-600: #575c54;
  --color-neutral-700: #3d423b;
  --color-neutral-800: #272b26;
  --color-neutral-900: #171a16;
  --color-neutral-950: #0c0e0b;

  --color-brand-50: #f6f8ee;
  --color-brand-100: #ebf0da;
  --color-brand-200: #d8e2b8;
  --color-brand-300: #c3d28e;
  --color-brand-400: #aabd64;
  --color-brand-500: #8fa54c;
  --color-brand-600: #71863a;
  --color-brand-700: #56682f;
  --color-brand-800: #455329;
  --color-brand-900: #3a4525;

  --color-blue-50: #f1f6ff;
  --color-blue-100: #e4edff;
  --color-blue-200: #cbdcff;
  --color-blue-300: #a7c3fb;
  --color-blue-400: #78a1ee;
  --color-blue-500: #527fdc;
  --color-blue-600: #3e6fd0;
  --color-blue-700: #3158ab;
  --color-blue-800: #2d4b89;
  --color-blue-900: #293f6d;

  --color-green-50: #edf9f2;
  --color-green-100: #d8f1e2;
  --color-green-500: #2e9366;
  --color-green-600: #237a52;
  --color-green-700: #1d6244;
  --color-amber-50: #fff8e7;
  --color-amber-100: #ffefc2;
  --color-amber-500: #c87505;
  --color-amber-700: #8a4b00;
  --color-red-50: #fff3f1;
  --color-red-100: #fde3df;
  --color-red-500: #d65349;
  --color-red-600: #b83a32;
  --color-red-700: #922c28;
  --color-coral-100: #ffe8e2;
  --color-coral-500: #e86955;
  --color-coral-700: #a94336;
  --color-navy-900: #142337;

  /* Semantic layer: use these in new UI. */
  --color-bg-canvas: var(--color-neutral-25);
  --color-bg-surface: var(--color-neutral-0);
  --color-bg-subtle: var(--color-neutral-50);
  --color-bg-inverse: var(--color-neutral-950);
  --color-text-primary: var(--color-neutral-950);
  --color-text-secondary: var(--color-neutral-600);
  --color-text-tertiary: var(--color-neutral-500);
  --color-text-inverse: var(--color-neutral-0);
  --color-border-subtle: var(--color-neutral-200);
  --color-border-default: var(--color-neutral-300);
  --color-border-strong: var(--color-neutral-500);
  --color-action-primary: var(--color-brand-400);
  --color-action-primary-hover: var(--color-brand-300);
  --color-action-primary-active: var(--color-brand-500);
  --color-action-primary-text: var(--color-neutral-950);
  --color-action-secondary: var(--color-neutral-950);
  --color-action-secondary-hover: var(--color-neutral-800);
  --color-action-secondary-text: var(--color-neutral-0);
  --color-focus: var(--color-blue-600);
  --color-focus-ring: rgb(62 111 208 / 28%);
  --color-link: var(--color-blue-700);
  --color-link-hover: var(--color-blue-800);
  --color-selected-bg: var(--color-blue-50);
  --color-selected-border: var(--color-blue-600);
  --color-info-bg: var(--color-blue-50);
  --color-info-text: var(--color-blue-800);
  --color-info-border: var(--color-blue-300);
  --color-success-bg: var(--color-green-50);
  --color-success-text: var(--color-green-700);
  --color-success-border: var(--color-green-500);
  --color-warning-bg: var(--color-amber-50);
  --color-warning-text: var(--color-amber-700);
  --color-warning-border: var(--color-amber-500);
  --color-danger-bg: var(--color-red-50);
  --color-danger-text: var(--color-red-700);
  --color-danger-border: var(--color-red-500);
  --color-accent-editorial: var(--color-coral-500);
  --color-accent-editorial-bg: var(--color-coral-100);
  --color-accent-editorial-text: var(--color-coral-700);
  --color-disabled-bg: var(--color-neutral-100);
  --color-disabled-text: var(--color-neutral-400);
  --color-disabled-border: var(--color-neutral-200);

  /* Compatibility aliases for the current product. */
  --bg: var(--color-bg-surface);
  --surface: var(--color-bg-subtle);
  --surface-warm: var(--color-bg-canvas);
  --surface-learning: var(--color-brand-50);
  --surface-2: var(--color-info-bg);
  --surface-3: var(--color-warning-bg);
  --ink: var(--color-text-primary);
  --ink-soft: var(--color-neutral-800);
  --muted: var(--color-text-secondary);
  --muted-2: var(--color-text-tertiary);
  --line: var(--color-border-subtle);
  --line-strong: var(--color-border-default);
  --green: var(--color-brand-400);
  --green-strong: var(--color-brand-600);
  --green-text: var(--color-brand-800);
  --green-soft: var(--color-brand-50);
  --blue: var(--color-blue-600);
  --blue-text: var(--color-blue-700);
  --blue-soft: var(--color-blue-50);
  --amber: var(--color-amber-500);
  --amber-soft: var(--color-warning-bg);
  --coral: var(--color-accent-editorial);
  --coral-text: var(--color-accent-editorial-text);
  --coral-on-dark: #ff9a88;
  --coral-soft: var(--color-accent-editorial-bg);
  --navy: var(--color-navy-900);
  --shadow: 0 24px 80px rgba(22, 31, 18, 0.08);
  --shadow-soft: 0 14px 38px rgba(22, 31, 18, 0.055);
  --shadow-paper: 0 24px 60px rgba(20, 35, 55, 0.13);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --font: "DM Sans", "Avenir Next", "Noto Sans SC", system-ui, sans-serif;
}

/* Integrated teacher workspace: evidence -> intervention -> student proof */
.teacher-portal-main { min-height: calc(100vh - 72px); background: #f6f7f3; }
.teacher-portal-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.teacher-side-rail { display: flex; flex-direction: column; gap: 24px; padding: 24px 16px; border-right: 1px solid var(--line); background: #fff; }
.teacher-rail-brand, .teacher-rail-footer, .teacher-rail-school, .teacher-student-table-row > span:first-child { display: flex; align-items: center; gap: 10px; }
.teacher-rail-brand b { font-size: 0; }
.teacher-rail-brand b::after { content: "TypePath"; font-size: 16px; }
.teacher-rail-brand .brand-mark { font-size: 0; }
.teacher-rail-brand .brand-mark::after { content: "T"; font-size: 18px; }
.teacher-rail-brand b, .teacher-rail-brand small, .teacher-rail-school span, .teacher-rail-school b, .teacher-rail-school small, .teacher-rail-footer b, .teacher-rail-footer small { display: block; }
.teacher-rail-brand small, .teacher-rail-school span, .teacher-rail-school small, .teacher-rail-footer small { color: var(--muted); font-size: 12px; }
.teacher-rail-school { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-warm); }
.teacher-rail-school b { font-size: 13px; }
.teacher-side-rail nav { display: grid; gap: 4px; }
.teacher-rail-link { min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; font: inherit; font-size: 14px; font-weight: 700; }
.teacher-rail-link:hover, .teacher-rail-link.active { background: var(--green-soft); color: var(--green-text); }
.teacher-rail-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.teacher-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-weight: 800; }
.teacher-main-column { min-width: 0; }
.teacher-empty-state { width: min(760px, 100%); margin: 0 auto; }
.teacher-empty-state .teacher-page-intro { margin-bottom: 20px; }
.teacher-empty-card { max-width: 520px; }
.teacher-empty-card h2 { margin: 8px 0; }
.teacher-empty-card p { margin: 0 0 18px; color: var(--muted); }
.teacher-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 12px clamp(20px, 4vw, 52px); border-bottom: 1px solid var(--line); background: #fff; }
.teacher-topbar span, .teacher-topbar b { display: block; }
.teacher-topbar span { color: var(--muted); font-size: 12px; }
.teacher-topbar b { margin-top: 3px; font-size: 18px; }
.teacher-topbar > div:last-child { display: flex; align-items: center; gap: 12px; }
.teacher-integrated-page { max-width: 1380px; margin: 0 auto; padding: clamp(24px, 4vw, 52px); }
.teacher-page-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.teacher-page-intro span, .teacher-surface > span, .teacher-surface header span, .teacher-review-columns > div > span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.teacher-page-intro h1 { max-width: 760px; margin: 8px 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; }
.teacher-page-intro p { margin: 0; color: var(--muted); line-height: 1.6; }
.teacher-page-badge { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft) !important; letter-spacing: 0 !important; text-transform: none !important; }
.teacher-metric-grid, .teacher-class-banner, .teacher-evidence-report-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.teacher-metric-card, .teacher-class-banner > div, .teacher-evidence-report-grid > article { min-height: 126px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; }
.teacher-metric-card { cursor: pointer; font: inherit; }
.teacher-metric-card:hover { border-color: var(--green-strong); transform: translateY(-1px); }
.teacher-metric-card span, .teacher-class-banner span, .teacher-evidence-report-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.teacher-metric-card strong, .teacher-class-banner strong, .teacher-evidence-report-grid strong { display: block; margin: 16px 0 4px; color: var(--ink); font-size: 30px; letter-spacing: -.04em; }
.teacher-metric-card small, .teacher-class-banner small, .teacher-evidence-report-grid p, .teacher-evidence-report-grid small { color: var(--muted); font-size: 12px; }
.teacher-dashboard-grid, .teacher-class-layout, .teacher-task-builder-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 18px; margin-bottom: 18px; }
.teacher-surface { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(22,31,18,.035); }
.teacher-surface header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.teacher-surface h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.025em; }
.teacher-signal-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.teacher-signal-list > div { display: grid; grid-template-columns: auto 1fr; gap: 5px 8px; align-items: center; padding: 14px; border-radius: 10px; background: var(--surface); }
.teacher-signal-list span { font-size: 12px; font-weight: 700; }.teacher-signal-list strong { grid-column: 2; font-size: 24px; }.teacher-signal-list small { grid-column: 2; color: var(--muted); font-size: 11px; }.signal-dot { width: 8px; height: 8px; border-radius: 50%; }.signal-dot.green { background: var(--green-strong); }.signal-dot.blue { background: var(--blue); }.signal-dot.amber { background: var(--amber); }
.teacher-mini-chart, .teacher-report-bars { display: flex; align-items: end; gap: 8px; height: 90px; margin-top: 24px; padding: 0 8px; border-bottom: 1px solid var(--line); }.teacher-mini-chart i, .teacher-report-bars i { flex: 1; min-height: 8px; border-radius: 5px 5px 0 0; background: var(--green); }
.teacher-action-surface { display: grid; align-content: start; }.teacher-action-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font: inherit; }.teacher-action-row span { flex: 1; }.teacher-action-row b, .teacher-action-row small { display: block; }.teacher-action-row small { margin-top: 4px; color: var(--muted); font-size: 12px; }.teacher-action-row strong { color: var(--coral-text); }.teacher-action-row .icon { width: 16px; }
.teacher-focus-surface { margin-bottom: 18px; }.teacher-focus-list { display: grid; gap: 4px; }.teacher-focus-list > button { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font: inherit; }.teacher-focus-list b, .teacher-focus-list small { display: block; }.teacher-focus-list small { margin-top: 4px; color: var(--muted); font-size: 12px; }.teacher-focus-list em { color: var(--coral-text); font-size: 12px; font-style: normal; font-weight: 700; }
.teacher-class-layout { align-items: start; }.teacher-student-table { padding: 0; overflow: hidden; }.teacher-student-table header, .teacher-student-table-head, .teacher-student-table-row { padding: 18px 22px; }.teacher-student-table header { margin: 0; }.teacher-student-table-head, .teacher-student-table-row { display: grid; grid-template-columns: 1.25fr 1fr .7fr .8fr; gap: 12px; align-items: center; }.teacher-student-table-head { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }.teacher-student-table-row { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; font: inherit; }.teacher-student-table-row:hover, .teacher-student-table-row.active { background: var(--green-soft); }.teacher-student-table-row b, .teacher-student-table-row small { display: block; }.teacher-student-table-row small { margin-top: 4px; color: var(--muted); font-size: 11px; }.teacher-status { display: inline-block; padding: 6px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 800; }.teacher-status.risk { background: var(--coral-soft); color: var(--coral-text); }.teacher-status.steady { background: var(--green-soft); color: var(--green-text); }.teacher-status.pending { background: var(--amber-soft); color: #8b6100; }
.teacher-student-drawer { position: sticky; top: 20px; }.teacher-evidence-stack { display: grid; gap: 10px; }.teacher-evidence-stack > div { padding: 14px; border-radius: 10px; background: var(--surface); }.teacher-evidence-stack span, .teacher-evidence-stack strong, .teacher-evidence-stack small { display: block; }.teacher-evidence-stack span { color: var(--muted); font-size: 11px; font-weight: 800; }.teacher-evidence-stack strong { margin-top: 6px; font-size: 15px; }.teacher-evidence-stack small { margin-top: 4px; color: var(--muted); font-size: 12px; }.teacher-drawer-note { padding: 12px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: var(--ink-soft); font-size: 13px; line-height: 1.55; }.teacher-drawer-note + .solid-button { width: 100%; }
.teacher-task-builder { display: grid; gap: 20px; }.teacher-step { display: flex; gap: 12px; align-items: center; }.teacher-step > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; }.teacher-step b, .teacher-step small { display: block; }.teacher-step small { margin-top: 3px; color: var(--muted); font-size: 12px; }.teacher-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-left: 40px; }.teacher-choice-grid button { min-height: 74px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; font: inherit; }.teacher-choice-grid button.active { border-color: var(--green-strong); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-strong); }.teacher-choice-grid b, .teacher-choice-grid small { display: block; }.teacher-choice-grid small { margin-top: 5px; color: var(--muted); font-size: 11px; }.teacher-selected-learner { display: flex; align-items: center; gap: 10px; margin-left: 40px; }.teacher-selected-learner span { flex: 1; }.teacher-selected-learner b, .teacher-selected-learner small { display: block; }.teacher-selected-learner small { margin-top: 3px; color: var(--muted); font-size: 12px; }.teacher-publish-button { margin-left: 40px; }.teacher-task-preview { background: var(--navy); color: #fff; }.teacher-task-preview > span, .teacher-task-preview p, .teacher-preview-route small, .teacher-preview-status small { color: #b8c6d5; }.teacher-task-preview h2 { margin: 12px 0; color: #fff; font-size: 28px; }.teacher-task-preview p { line-height: 1.6; }.teacher-preview-route { display: grid; grid-template-columns: 28px 1fr; gap: 15px 10px; margin: 28px 0; }.teacher-preview-route > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #55708a; border-radius: 50%; color: #fff; font-weight: 800; }.teacher-preview-route b, .teacher-preview-route small { display: block; }.teacher-preview-route small { margin-top: 4px; font-size: 12px; }.teacher-preview-status { padding: 14px; border: 1px solid #38516a; border-radius: 10px; }.teacher-preview-status span, .teacher-preview-status strong, .teacher-preview-status small { display: block; }.teacher-preview-status strong { margin: 5px 0; color: #fff; }
.teacher-review-tabs { display: flex; gap: 8px; margin-bottom: 14px; }.teacher-review-tabs button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; }.teacher-review-tabs button.active { border-color: var(--green-strong); background: var(--green-soft); color: var(--green-text); }.teacher-review-tabs b { margin-left: 4px; }.teacher-review-card-head { display: flex; align-items: center; gap: 10px; }.teacher-review-card-head > div { flex: 1; }.teacher-review-card-head b, .teacher-review-card-head small { display: block; }.teacher-review-card-head small { margin-top: 4px; color: var(--muted); font-size: 12px; }.teacher-review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }.teacher-review-columns > div { padding: 18px; border-radius: 10px; background: var(--surface); }.teacher-review-columns blockquote { margin: 12px 0; color: var(--ink); font-size: 17px; line-height: 1.6; }.teacher-review-columns strong { display: block; margin-top: 12px; }.teacher-review-columns p, .teacher-review-columns small { color: var(--muted); font-size: 13px; line-height: 1.55; }.teacher-review-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.teacher-evidence-report-grid { grid-template-columns: repeat(3, 1fr); }.teacher-evidence-report-grid > article { min-height: 210px; }.teacher-evidence-report-grid strong { font-size: 32px; }.teacher-evidence-report-grid p { line-height: 1.6; }.teacher-progress-line { height: 8px; margin: 26px 0 8px; overflow: hidden; border-radius: 99px; background: var(--line); }.teacher-progress-line i { display: block; height: 100%; border-radius: inherit; background: var(--green); }.teacher-evidence-timeline header { margin-bottom: 8px; }.teacher-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }.teacher-timeline > div { position: relative; display: flex; gap: 10px; padding: 18px 18px 8px 0; }.teacher-timeline > div:not(:last-child)::after { position: absolute; top: 31px; left: 28px; width: calc(100% - 18px); height: 1px; background: var(--line-strong); content: ""; }.teacher-timeline i { z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--green-text); font-size: 11px; font-style: normal; font-weight: 800; }.teacher-timeline b, .teacher-timeline small { display: block; }.teacher-timeline small { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.student-teacher-task { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 20px 22px; border: 1px solid #c9d8b8; border-radius: 14px; background: var(--green-soft); }.student-teacher-task h3 { margin: 8px 0 5px; font-size: 22px; }.student-teacher-task p { margin: 0; color: var(--ink-soft); }.student-teacher-task small { display: block; margin-top: 8px; color: var(--green-text); font-size: 12px; }
.hero-loop-preview { display: grid; gap: 8px; margin: 22px 0; }.hero-loop-preview i { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(20, 35, 55, .12); color: var(--muted); font-size: 11px; font-style: normal; }.hero-loop-preview b { color: var(--coral-text); font-family: var(--font); }.hero-loop-preview em { color: var(--ink); font-style: normal; font-weight: 800; }
.student-task-form { min-width: min(100%, 520px); }.student-task-form label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }.student-task-form textarea { width: 100%; min-height: 78px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; line-height: 1.5; resize: vertical; }.student-task-form textarea:focus { outline: 3px solid color-mix(in srgb, var(--blue) 20%, transparent); border-color: var(--blue); }.student-task-form > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }.student-task-form small, .student-task-complete small { color: var(--muted); font-size: 11px; }.student-task-complete { display: grid; gap: 5px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.72); }.student-task-complete strong { color: var(--green-text); font-size: 13px; }
@media (max-width: 900px) { .teacher-portal-shell { grid-template-columns: 1fr; }.teacher-side-rail { display: none; }.teacher-dashboard-grid, .teacher-class-layout, .teacher-task-builder-grid { grid-template-columns: 1fr; }.teacher-metric-grid, .teacher-class-banner, .teacher-evidence-report-grid { grid-template-columns: repeat(2, 1fr); }.teacher-timeline { grid-template-columns: repeat(2, 1fr); }.teacher-student-drawer { position: static; }.teacher-page-intro { align-items: start; flex-direction: column; }.teacher-page-intro .solid-button { width: 100%; }.teacher-review-columns { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .teacher-integrated-page { padding: 24px 16px; }.teacher-topbar { padding-inline: 16px; }.teacher-metric-grid, .teacher-class-banner, .teacher-evidence-report-grid, .teacher-signal-list { grid-template-columns: 1fr 1fr; }.teacher-student-table { overflow-x: auto; }.teacher-student-table-head, .teacher-student-table-row { min-width: 650px; }.teacher-choice-grid { margin-left: 0; }.teacher-publish-button, .teacher-selected-learner { margin-left: 0; }.student-teacher-task { align-items: start; flex-direction: column; }.student-teacher-task .solid-button { width: 100%; }.teacher-timeline { grid-template-columns: 1fr; }.teacher-timeline > div:not(:last-child)::after { display: none; } }

/* Continuous review: actor-scoped recall and sentence quality gate */
.review-workspace {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 72px;
  font-family: var(--font);
}

.review-entry-card,
.review-session-card,
.review-complete,
.vocabulary-progress-panel,
.teacher-vocabulary-evidence {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}
.review-pass-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid var(--green);
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-text);
}
.review-pass-notice span { margin-left: auto; color: var(--green-text); font-size: .82rem; }

.review-entry-card { padding: clamp(24px, 4vw, 48px); }
.review-entry-head,
.review-session-head,
.review-entry-action,
.review-action-row,
.teacher-vocabulary-evidence > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.review-entry-head span,
.review-recall-stage > span,
.review-sentence-editor > span,
.teacher-vocabulary-evidence header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-entry-head h2 { margin: 8px 0; font-size: clamp(1.8rem, 4vw, 3.25rem); }
.review-entry-head p { margin: 0; color: var(--muted); }

.review-preset-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 22px;
}
.review-preset {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
}
.review-preset strong,
.review-preset span { display: block; }
.review-preset span { margin-top: 8px; color: var(--muted); font-size: 0.78rem; }
.review-preset.active { border-color: var(--green-text); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-text); }

.review-custom-range,
.review-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}
.review-custom-range label,
.review-filter-row > label,
.review-filter-row fieldset { display: grid; gap: 8px; }
.review-custom-range input,
.review-filter-row select,
.review-sentence-editor textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.review-custom-range input,
.review-filter-row select { min-height: 48px; padding: 0 13px; }
.review-filter-row fieldset { margin: 0; padding: 0; border: 0; }
.review-filter-row fieldset > div { display: flex; flex-wrap: wrap; gap: 8px; }
.review-filter-row fieldset label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 999px; background: var(--surface); }
.review-data-notice,
.review-evidence-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-learning);
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.review-entry-action { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.review-error { color: var(--coral-text); font-weight: 650; }

.review-session-card { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.review-session-head { padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.review-session-head > div:first-child { min-width: 150px; }
.review-session-head span,
.review-session-head strong { display: block; }
.review-session-head span { color: var(--muted); font-size: 0.78rem; }
.review-progress-track { flex: 1; height: 7px; overflow: hidden; border-radius: 999px; background: var(--line); }
.review-progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width 180ms var(--ease-editorial); }
.review-workbook-column { display: grid; width: min(100%, 760px); margin-inline: auto; }
.review-recall-stage,
.review-sentence-editor { max-width: 820px; margin: 0 auto; padding: clamp(30px, 6vw, 70px) clamp(22px, 5vw, 54px); text-align: center; }
.review-recall-stage h2 { margin: 12px 0; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.16; }
.review-recall-stage > p,
.review-sentence-editor > p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.review-recall-stage > .review-recall-chinese { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.review-recall-stage > small { display: block; color: var(--muted); }

.review-recall-text { margin: 34px auto 14px; }
.review-direct-input {
  position: fixed !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.review-direct-progress { margin: 10px 0 0; color: var(--ink-soft); font-weight: 700; }
.review-helper,
#review-direct-status { min-height: 24px; }
.review-keyboard { display: grid; gap: 7px; margin: 28px auto; }
.review-keyboard > div { display: flex; justify-content: center; gap: 6px; }
.review-keyboard button { min-width: 38px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 750; }
.review-keyboard button.review-key-pressed,
.review-keyboard button:active { transform: translateY(2px); background: var(--blue-soft); }
.review-keyboard button.wide { min-width: 94px; }
.review-action-row { justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ghost-button.danger { color: var(--coral-text); border-color: var(--coral); }

.review-sentence-editor { text-align: left; }
.review-sentence-editor h2 { margin: 10px 0; font-size: clamp(2rem, 5vw, 4rem); }
.review-sentence-editor label { display: grid; gap: 8px; margin-top: 24px; font-weight: 750; }
.review-sentence-editor textarea { min-height: 150px; padding: 16px; line-height: 1.6; resize: vertical; }
.review-sentence-editor textarea:focus { outline: 3px solid color-mix(in srgb, var(--blue) 24%, transparent); border-color: var(--blue); }
.review-revealed-answer { padding: 12px 14px; border-left: 4px solid var(--amber); background: var(--amber-soft); }
.review-checking,
.review-ai-feedback { margin-top: 18px; padding: 18px; border-radius: 14px; }
.review-checking { display: flex; align-items: center; gap: 12px; background: var(--blue-soft); }
.review-ai-feedback.revise { background: var(--amber-soft); }
.review-ai-feedback.error { background: var(--coral-soft); }
.review-ai-feedback span,
.review-ai-feedback strong { display: block; }
.review-ai-feedback ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; }
.review-ai-feedback li { padding: 6px 9px; border-radius: 999px; background: var(--bg); font-size: .8rem; }
.review-ai-feedback li.pass { color: var(--green-text); }
.review-ai-feedback li.needs-work { color: var(--coral-text); }
.review-evidence-status { margin: 0 24px 24px; }
.review-evidence-status.state-failed { background: var(--coral-soft); color: var(--coral-text); }
.review-complete { padding: 64px 28px; text-align: center; }
.review-complete > span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green-text); }

.vocabulary-progress-panel,
.teacher-vocabulary-evidence { margin-top: 24px; padding: clamp(22px, 4vw, 38px); }
.vocabulary-evidence-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.vocabulary-evidence-grid article { padding: 16px; border-radius: 14px; background: var(--surface); }
.vocabulary-evidence-grid span,
.vocabulary-evidence-grid strong { display: block; }
.vocabulary-evidence-grid span { color: var(--muted); font-size: .76rem; }
.vocabulary-evidence-grid strong { margin-top: 5px; font-size: 1.8rem; }
.vocabulary-evidence-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vocabulary-evidence-detail article,
.teacher-weak-signal { padding: 17px; border: 1px solid var(--line); border-radius: 14px; }
.vocabulary-evidence-detail p,
.teacher-weak-signal p { margin-bottom: 0; color: var(--muted); }
.teacher-vocabulary-evidence { max-width: 1180px; margin-left: auto; margin-right: auto; }
.teacher-vocabulary-evidence > header > strong { padding: 9px 13px; border-radius: 999px; background: var(--green-soft); }

@media (max-width: 760px) {
  .app-shell:has(.review-complete) .topbar { position: static; }
  .review-preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-custom-range,
  .review-filter-row,
  .vocabulary-evidence-detail { grid-template-columns: 1fr; }
  .vocabulary-evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-entry-head,
  .review-session-head,
  .review-entry-action,
  .teacher-vocabulary-evidence > header { align-items: stretch; flex-direction: column; }
}

@media (max-width: 390px) {
  .review-workspace { padding-inline: 10px; }
  .review-entry-card { padding: 20px 15px; border-radius: 20px; }
  .review-preset-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .review-preset { min-height: 76px; padding: 12px; }
  .review-session-head { padding: 13px; }
  .review-recall-stage,
  .review-sentence-editor { padding: 30px 14px; }
  .review-recall-text { margin-top: 28px; }
  .review-keyboard > div { gap: 3px; }
  .review-keyboard > div:not(:last-child) button { flex: 1 1 0; min-width: 0; max-width: 32px; }
  .review-keyboard button { min-width: 27px; min-height: 40px; padding: 3px; }
  .review-keyboard button.wide { min-width: 72px; }
  .vocabulary-evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .review-progress-track i,
  .review-keyboard button { transition: none; }
}

/* Shared homepage visual system for authenticated workspaces. */
.student-app-main,
.role-portal-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(234, 247, 221, 0.9), transparent 25%),
    radial-gradient(circle at 94% 9%, rgba(233, 241, 255, 0.88), transparent 27%),
    linear-gradient(180deg, #fff 0, #fbfcf8 38%, #f5f7fb 100%);
}

.student-app-main::before,
.role-portal-main::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 8%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(121, 201, 75, 0.18);
  border-radius: 50%;
  content: "";
  animation: workspaceOrbit 18s ease-in-out infinite;
  pointer-events: none;
}

.student-app-main .student-section,
.role-portal-main > * {
  animation: workspaceReveal 720ms var(--ease-editorial) both;
}

/* The learning stream is re-rendered while recommendations load. Replaying the
   page-level reveal on every render makes the whole workspace visibly jump. */
.student-app-main .learning-workspace,
.student-app-main .student-section,
.role-portal-main > * {
  animation: none;
}

.student-app-main .student-section:nth-child(2),
.role-portal-main > *:nth-child(2) { animation-delay: 90ms; }
.student-app-main .student-section:nth-child(3),
.role-portal-main > *:nth-child(3) { animation-delay: 150ms; }

.student-app-main .toddle-page-head,
.role-portal-main .student-portal-head,
.student-app-main .student-today-card,
.role-portal-main .student-today-card {
  border-color: rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 247, 221, 0.72), rgba(255, 255, 255, 0.96) 48%, rgba(233, 241, 255, 0.68)),
    #fff;
  box-shadow: var(--shadow);
}

.role-portal-main .student-portal-head {
  padding: 24px;
}

.student-app-main .teacher-task-panel,
.student-app-main .teacher-word-panel,
.student-app-main .workbench-side,
.student-app-main .ib-helper-panel,
.student-app-main .quest-board,
.student-app-main .writing-coach,
.student-app-main .practice-card,
.student-app-main .learner-rail,
.role-portal-main .teacher-assignment-builder,
.role-portal-main .teacher-assignment-preview,
.role-portal-main .teacher-results-board,
.role-portal-main .teacher-insight-panel,
.role-portal-main .teacher-vocabulary-evidence,
.role-portal-main .teacher-outcome-review,
.role-portal-main .teacher-command-grid > article,
.role-portal-main .teacher-command-grid > aside {
  border-color: rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms var(--ease-editorial), box-shadow 260ms ease, border-color 200ms ease;
}

.student-app-main .teacher-task-panel:hover,
.student-app-main .teacher-word-panel:hover,
.student-app-main .workbench-side:hover,
.role-portal-main .teacher-assignment-builder:hover,
.role-portal-main .teacher-assignment-preview:hover,
.role-portal-main .teacher-results-board:hover,
.role-portal-main .teacher-insight-panel:hover {
  border-color: rgba(121, 201, 75, 0.62);
  box-shadow: 0 22px 54px rgba(22, 31, 18, 0.1);
}

.role-portal-main .teacher-command-grid {
  width: min(100%, 1320px);
  margin-inline: auto;
  gap: 14px;
}

.role-portal-main .teacher-track-card,
.role-portal-main .teacher-duration-row button,
.role-portal-main .teacher-result-row,
.role-portal-main .diagnostic-priority-list button {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 180ms var(--ease-editorial), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.role-portal-main .teacher-track-card:hover,
.role-portal-main .teacher-duration-row button:hover,
.role-portal-main .teacher-result-row:hover,
.role-portal-main .diagnostic-priority-list button:hover,
.role-portal-main .teacher-track-card.active,
.role-portal-main .teacher-duration-row button.active,
.role-portal-main .teacher-result-row.active,
.role-portal-main .diagnostic-priority-list button.active {
  border-color: rgba(60, 157, 55, 0.62);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(60, 157, 55, 0.12);
}

.role-portal-main .teacher-assignment-preview {
  background:
    linear-gradient(145deg, rgba(233, 241, 255, 0.92), rgba(255, 255, 255, 0.96) 55%, rgba(255, 247, 228, 0.8)),
    #fff;
}

.role-portal-main .teacher-result-summary,
.role-portal-main .teacher-insight-metrics {
  gap: 8px;
}

.role-portal-main .teacher-result-summary span,
.role-portal-main .teacher-insight-metrics span {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.teacher-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.teacher-results-toolbar [role="group"] {
  display: flex;
  gap: 6px;
}

.teacher-results-toolbar button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.teacher-results-toolbar button.active {
  border-color: var(--green-strong);
  background: var(--green-soft);
  color: var(--green-text);
}

.teacher-student-report {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(234, 247, 221, 0.62), rgba(255, 255, 255, 0.96) 55%, rgba(233, 241, 255, 0.56));
}

.teacher-student-report-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.teacher-student-report-head span:first-child,
.teacher-report-weakness > span {
  color: var(--green-text);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.teacher-student-report h3 {
  margin: 5px 0 0;
  font-size: 24px;
}

.teacher-status-tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.teacher-status-tag.status-complete { background: var(--green-soft); color: var(--green-text); }
.teacher-status-tag.status-needs-practice { background: #fff2e9; color: #a85432; }
.teacher-status-tag.status-assigned { background: var(--blue-soft); color: var(--blue-text); }

.teacher-report-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.teacher-report-metrics span {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
}

.teacher-report-metrics strong { font-size: 22px; }
.teacher-report-metrics em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; }

.teacher-report-weakness {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.teacher-report-weakness div { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.teacher-report-weakness i { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12px; font-style: normal; font-weight: 700; }

@media (max-width: 760px) {
  .teacher-report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-report-weakness { align-items: start; flex-direction: column; }
  .teacher-report-weakness div { justify-content: start; }
}

@keyframes workspaceReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes workspaceOrbit {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(-18px, 24px) rotate(12deg); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .student-app-main::before,
  .role-portal-main::before,
  .student-app-main .student-section,
  .role-portal-main > * { animation: none; }
}

/* AI diagnostic → teacher confirmation → intervention → reassessment */
.diagnostic-today-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  background: #0c0a08;
  color: #fff;
}

.diagnostic-status-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-cta);
  color: var(--brand-text);
}

.diagnostic-status-mark .icon {
  width: 22px;
  height: 22px;
}

.diagnostic-today-copy h3,
.diagnostic-workspace h2,
.diagnostic-waiting h2,
.diagnostic-comparison h2,
.teacher-outcome-review h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.08;
}

.diagnostic-today-copy p,
.diagnostic-workspace-head p,
.diagnostic-waiting p {
  margin: 0;
  color: inherit;
  opacity: 0.72;
}

.diagnostic-today-card .card-kicker {
  color: var(--brand-cta);
}

.diagnostic-progress {
  width: min(420px, 100%);
  height: 6px;
  margin: 16px 0 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(255 255 255 / 18%);
}

.diagnostic-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-cta);
}

.diagnostic-practice-section {
  min-height: calc(100vh - 96px);
  background: var(--brand-bg-muted);
}

.diagnostic-workspace,
.diagnostic-comparison,
.diagnostic-waiting {
  width: min(1040px, calc(100% - 40px));
  margin: 32px auto 72px;
  padding: 32px;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  background: #fff;
}

.diagnostic-workspace-head,
.diagnostic-review-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--brand-border);
}

.diagnostic-workspace-head > div > span,
.diagnostic-question-list label > span,
.comparison-text-grid article > span {
  display: block;
  margin-bottom: 8px;
  color: #6e6863;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-save-state,
.diagnostic-state-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  color: #5f5955;
  font-size: 12px;
  white-space: nowrap;
}

.diagnostic-question-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.diagnostic-question-list label,
.intervention-active-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: #fff;
}

.diagnostic-question-list strong {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.45;
}

.diagnostic-question-list textarea,
.intervention-active-card textarea,
.reassessment-workspace > textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #bdb7b2;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fbfaf9;
  color: var(--brand-text);
  font: inherit;
  line-height: 1.55;
}

.diagnostic-question-list textarea:focus,
.intervention-active-card textarea:focus,
.reassessment-workspace > textarea:focus {
  border-color: var(--brand-info);
  outline: 3px solid rgb(86 131 210 / 18%);
}

.diagnostic-word-count {
  justify-self: end;
  color: #786f69;
}

.diagnostic-word-count.ready {
  color: #28724f;
  font-weight: 600;
}

.diagnostic-form-actions,
.diagnostic-teacher-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.diagnostic-form-actions > span {
  color: #6e6863;
  font-size: 13px;
}

.diagnostic-error,
.diagnostic-demo-notice {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff1e8;
  color: #8b3c0c;
  font-size: 13px;
}

.diagnostic-demo-notice {
  margin: 20px 0;
}

.diagnostic-waiting {
  display: grid;
  min-height: 460px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.diagnostic-waiting > span {
  margin-top: 18px;
  color: #6e6863;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intervention-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.intervention-stepper li {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  color: #736c67;
  font-size: 12px;
}

.intervention-stepper li.active {
  border-color: var(--brand-text);
  background: var(--brand-text);
  color: #fff;
}

.intervention-stepper li.done {
  background: #eef7e5;
  color: #225b39;
}

.intervention-active-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.intervention-active-card details {
  padding: 12px 0;
  border-top: 1px solid var(--brand-border);
}

.intervention-active-card details p {
  margin-bottom: 0;
  color: #665f5a;
}

.intervention-active-card .solid-button {
  justify-self: end;
}

.comparison-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 16px;
}

.comparison-text-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: #fbfaf9;
}

.comparison-text-grid p {
  margin: 0;
  line-height: 1.65;
}

.comparison-change-list {
  display: grid;
  gap: 10px;
}

.comparison-change-list article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
}

.comparison-change-list article.improved {
  border-color: #b7d6c5;
  background: #f0f8f3;
}

.comparison-change-list article.remaining {
  border-color: #efc8ad;
  background: #fff7f1;
}

.comparison-change-list p,
.comparison-change-list strong {
  display: block;
  margin: 0;
}

.diagnostic-review-queue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #aaa49f;
  border-left: 4px solid var(--brand-warning);
  border-radius: 12px;
  background: #fffaf5;
}

.diagnostic-review-queue h3,
.diagnostic-review-queue p {
  margin: 4px 0;
}

.diagnostic-review-queue > span {
  display: grid;
  color: #6e6863;
  font-size: 12px;
}

.diagnostic-teacher-review {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
}

.student-writing-evidence {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
}

.student-writing-evidence p {
  line-height: 1.65;
}

.diagnostic-rubric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.diagnostic-rubric-grid > article {
  padding: 16px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: #fbfaf9;
}

.diagnostic-rubric-grid > article > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.diagnostic-rubric-grid em {
  font-style: normal;
  text-transform: capitalize;
}

.diagnostic-rubric-grid blockquote {
  margin: 12px 0;
  padding-left: 12px;
  border-left: 2px solid var(--brand-info);
  color: #4f4945;
}

.diagnostic-rubric-grid small {
  color: #716a65;
}

.diagnostic-priority-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.diagnostic-priority-list button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.diagnostic-priority-list button.active {
  border-color: var(--brand-text);
  box-shadow: inset 3px 0 var(--brand-cta);
}

.diagnostic-priority-list small,
.diagnostic-priority-list strong {
  display: block;
}

.diagnostic-priority-list em {
  color: #6e6863;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.diagnostic-plan-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.diagnostic-plan-steps li {
  padding: 7px 9px;
  border-radius: 6px;
  background: #efedeb;
  font-size: 12px;
}

.diagnostic-teacher-actions {
  align-items: stretch;
  flex-direction: column;
}

.text-button {
  border: 0;
  padding: 8px;
  background: transparent;
  color: #766f6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teacher-outcome-review {
  grid-column: 1 / -1;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  background: #fff;
}

@media (max-width: 900px) {
  .diagnostic-today-card,
  .diagnostic-review-queue {
    grid-template-columns: 1fr;
  }

  .diagnostic-status-mark {
    width: 42px;
    height: 42px;
  }

  .diagnostic-teacher-review,
  .comparison-text-grid,
  .diagnostic-rubric-grid {
    grid-template-columns: 1fr;
  }

  .intervention-stepper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .diagnostic-workspace,
  .diagnostic-comparison,
  .diagnostic-waiting {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 20px;
  }

  .diagnostic-workspace-head,
  .diagnostic-review-head,
  .diagnostic-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .diagnostic-question-list label,
  .intervention-active-card {
    padding: 16px;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 760px, var(--surface) 100%),
    #ffffff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(62, 120, 214, 0.45);
  outline-offset: 4px;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(224px, auto) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(221, 227, 214, 0.55);
  background: rgba(255, 255, 255, 0.88);
  padding: 12px 54px;
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 12px 36px rgba(16, 19, 15, 0.025);
}

.brand {
  display: inline-grid;
  grid-template-columns: 40px minmax(0, auto);
  gap: 12px;
  align-items: center;
  width: max-content;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #11140f;
  box-shadow: 0 10px 26px rgba(17, 20, 15, 0.14);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-mark path {
  fill: #ffffff;
}

.brand-mark circle {
  fill: var(--green);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  font-weight: 720;
  line-height: 20px;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  line-height: 16px;
  white-space: nowrap;
}

.primary-nav {
  justify-self: center;
  display: flex;
  gap: 26px;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-button {
  position: relative;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #151915;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-button::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.42);
  transition: opacity 160ms ease, transform 180ms ease;
}

.nav-button:hover,
.nav-button.active {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.nav-button:hover::after,
.nav-button.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.topbar-actions,
.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.connection-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(16, 19, 15, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #394139;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 760;
  line-height: 16px;
  white-space: nowrap;
}

.connection-pill i,
.cloud-status i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9aa39a;
}

.connection-pill.online i,
.cloud-status.online i {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(75, 156, 92, 0.12);
}

.connection-pill.offline i,
.cloud-status.offline i {
  background: #d0794b;
  box-shadow: 0 0 0 4px rgba(208, 121, 75, 0.12);
}

.connection-pill.checking i,
.cloud-status.checking i {
  background: #5d80c7;
  box-shadow: 0 0 0 4px rgba(93, 128, 199, 0.12);
}

.ghost-link-button .icon,
.solid-button .icon {
  width: 17px;
  height: 17px;
}

.ghost-button,
.solid-button,
.icon-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 17px;
  font-size: 14px;
  font-weight: 720;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button .icon {
  width: 18px;
  height: 18px;
}

.solid-button {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 19, 15, 0.16);
}

.ghost-button:hover,
.solid-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(16, 19, 15, 0.14);
}

.solid-button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.solid-button {
  position: relative;
  overflow: hidden;
}

.solid-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 68%);
  content: "";
  opacity: 0;
  transform: translateX(-110%);
  transition: opacity 180ms ease, transform 520ms ease;
}

.solid-button:hover::after {
  opacity: 1;
  transform: translateX(110%);
}

main {
  display: grid;
  gap: 48px;
  padding: 0 44px 104px;
}

.marketing-main {
  gap: 0;
  padding-bottom: 96px;
}

.marketing-hero,
.marketing-section {
  width: min(100%, 1320px);
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(680px, 0.98fr) minmax(500px, 0.82fr);
  gap: 34px;
  align-items: center;
  min-height: 700px;
  padding: 72px 0 66px;
}

.marketing-hero-copy {
  display: grid;
  gap: 28px;
  align-content: center;
}

.marketing-hero-copy > * {
  animation: editorialCopyIn 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.marketing-hero-copy > *:nth-child(2) {
  animation-delay: 110ms;
}

.marketing-hero-copy > *:nth-child(3) {
  animation-delay: 200ms;
}

.marketing-hero-copy > *:nth-child(4) {
  animation-delay: 280ms;
}

.marketing-hero h1,
.marketing-section h2 {
  margin: 0;
  color: #080908;
  font-size: clamp(54px, 5vw, 72px);
  font-weight: 660;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.marketing-hero p,
.section-title-block p,
.proof-led-section p,
.pricing-cta-section p {
  margin: 0;
  max-width: 660px;
  color: #626862;
  font-size: 18px;
  line-height: 30px;
  text-wrap: pretty;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  color: #586052;
  font-size: 13px;
  font-weight: 720;
  line-height: 18px;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
}

.hero-trust-row .icon {
  width: 17px;
  height: 17px;
  color: var(--green-strong);
}

.editorial-composition {
  position: relative;
  min-height: 560px;
  animation: editorialSceneIn 1100ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform: perspective(1200px) rotateX(var(--scene-rx, 0deg)) rotateY(var(--scene-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.editorial-composition::before {
  position: absolute;
  inset: 36% 8% auto auto;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(232, 92, 104, 0.16);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.decor-dot-grid {
  position: absolute;
  right: 10px;
  top: 190px;
  width: 92px;
  height: 132px;
  opacity: 0.42;
  background-image: radial-gradient(#aab0a4 1.4px, transparent 1.4px);
  background-size: 18px 18px;
}

.decor-square,
.decor-star {
  position: absolute;
  pointer-events: none;
  translate: var(--motion-x, 0px) var(--motion-y, 0px);
  transition: translate 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.decor-square-one {
  top: 126px;
  left: 112px;
  width: 16px;
  height: 16px;
  background: rgba(255, 141, 132, 0.55);
  animation: decorPulse 5200ms cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.decor-square-two {
  right: 0;
  top: 300px;
  width: 17px;
  height: 17px;
  border: 4px solid #79c94b;
  animation: decorPulse 6100ms -1700ms cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.decor-star {
  left: 46px;
  bottom: 48px;
  color: #ff6b5f;
  font-size: 44px;
  line-height: 1;
  animation: decorOrbit 7400ms -2100ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.paper-panel {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 24, 20, 0.12);
  border-radius: 2px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(16, 19, 15, 0.12);
  translate: var(--motion-x, 0px) var(--motion-y, 0px);
  rotate: var(--motion-r, 0deg);
  transition: translate 520ms cubic-bezier(0.16, 1, 0.3, 1), rotate 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease;
  will-change: transform, translate;
}

.paper-panel span {
  color: #e85c68;
  font-size: 11px;
  font-weight: 780;
  line-height: 14px;
  text-transform: uppercase;
}

.paper-panel h2,
.paper-panel h3,
.paper-panel p {
  margin: 0;
}

.paper-main {
  position: absolute;
  left: 68px;
  bottom: 50px;
  z-index: 2;
  width: 470px;
  min-height: 306px;
  background:
    linear-gradient(rgba(16, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 15, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 28px 28px;
  transform: rotate(-4deg);
  animation: paperMainFloat 9800ms -2400ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.paper-main h2 {
  max-width: 420px;
  color: #080908;
  font-size: 54px;
  font-weight: 680;
  line-height: 0.98;
  text-wrap: balance;
}

.paper-main p {
  max-width: 430px;
  color: #313731;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 37px;
}

.paper-main mark {
  border-radius: 4px;
  background: rgba(121, 201, 75, 0.18);
  color: inherit;
  padding: 0 3px;
}

.paper-main i {
  width: 70%;
  height: 6px;
  margin-top: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #79c94b, #f05d6a);
}

.paper-note {
  background: #10110f;
  color: #ffffff;
}

.paper-note span,
.paper-note p {
  color: #ffffff;
}

.paper-note p {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.12;
}

.paper-map {
  position: absolute;
  top: 20px;
  right: 126px;
  z-index: 3;
  width: 345px;
  gap: 10px;
  min-height: 256px;
  background: #fbfbf8;
  transform: rotate(4deg);
  animation: paperMapFloat 11200ms -900ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.paper-map::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 999px;
  background: #79c94b;
  content: "";
}

.map-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
  min-height: 34px;
  border-top: 0;
  padding-top: 0;
}

.map-line em {
  color: #323832;
  font-size: 14px;
  font-style: normal;
  font-weight: 680;
  line-height: 18px;
}

.map-line b {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 19, 15, 0.08);
}

.map-line b::before {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  content: "";
}

.map-line:nth-child(3) b::before {
  width: 54%;
  background: var(--blue);
}

.map-line:nth-child(4) b::before {
  width: 66%;
  background: var(--coral);
}

.map-line:nth-child(5) b::before {
  width: 44%;
  background: var(--amber);
}

.paper-map p,
.paper-proof span {
  color: #626862;
  font-size: 13px;
  font-weight: 680;
  line-height: 18px;
}

.paper-sticky {
  position: absolute;
  right: 26px;
  bottom: 96px;
  z-index: 4;
  width: 176px;
  min-height: 150px;
  align-content: center;
  background: #ffafa8;
  transform: rotate(8deg);
  animation: paperStickyFloat 8600ms -3200ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.editorial-composition:hover .paper-main {
  box-shadow: 0 34px 82px rgba(16, 19, 15, 0.15);
}

.editorial-composition.is-motion-paused .paper-panel,
.editorial-composition.is-motion-paused .decor-square,
.editorial-composition.is-motion-paused .decor-star {
  animation-play-state: paused;
}

.paper-sticky span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #22231e;
  padding: 0;
  font-size: 13px;
}

.paper-sticky span::after {
  margin-left: 18px;
  color: #3c9d37;
  content: "✓";
}

.map-line b::before,
.paper-main i {
  transform-origin: left center;
  animation: lineGrow 900ms 520ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.paper-proof {
  position: absolute;
  right: 38px;
  bottom: 44px;
  width: 168px;
  min-height: 128px;
  border-color: rgba(232, 92, 104, 0.28);
  box-shadow: 0 22px 60px rgba(232, 92, 104, 0.18);
}

.paper-proof strong {
  color: #080908;
  font-size: 54px;
  line-height: 0.9;
}

.marketing-section {
  border-top: 1px solid rgba(16, 19, 15, 0.12);
  padding: 76px 0;
}

.section-title-block {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(320px, 0.68fr);
  gap: 56px;
  align-items: end;
}

.marketing-section h2 {
  max-width: 760px;
  font-size: clamp(48px, 5.8vw, 84px);
}

.audience-section {
  padding: 60px 0 58px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border-top: 1px solid rgba(16, 19, 15, 0.14);
  border-bottom: 1px solid rgba(16, 19, 15, 0.14);
}

.audience-grid article {
  display: grid;
  gap: 22px;
  min-height: 304px;
  align-content: start;
  border-right: 1px solid rgba(16, 19, 15, 0.14);
  padding: 28px 44px 30px 8px;
  translate: 0 0;
  transition: background-color 360ms ease, box-shadow 420ms ease, translate 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .audience-grid article:hover {
    z-index: 1;
    background: rgba(250, 251, 247, 0.92);
    box-shadow: 0 22px 54px rgba(16, 19, 15, 0.07);
    translate: 0 -5px;
  }

  .audience-grid article:hover .audience-icon {
    transform: rotate(-4deg) scale(1.06);
  }

  .audience-grid article:hover a .icon {
    transform: translateX(4px);
  }
}

.audience-grid article + article {
  padding-left: 48px;
}

.audience-grid article:last-child {
  border-right: 0;
}

.audience-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-strong);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-icon.coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.audience-grid .icon {
  width: 31px;
  height: 31px;
}

.audience-grid span,
.method-list span,
.pricing-cta-panel span {
  color: #e85c68;
  font-size: 12px;
  font-weight: 780;
  line-height: 15px;
  text-transform: uppercase;
}

.audience-grid h3,
.method-list h3 {
  margin: 0;
  color: #080908;
  font-size: 34px;
  font-weight: 670;
  line-height: 1;
}

.audience-grid p,
.method-list p {
  margin: 0;
  color: #626862;
  font-size: 16px;
  line-height: 26px;
}

.audience-grid p strong {
  color: #1c211c;
  font-weight: 720;
}

.audience-grid ul,
.pricing-proof-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-grid li,
.pricing-proof-list li {
  position: relative;
  color: #3f463f;
  font-size: 14px;
  font-weight: 640;
  line-height: 20px;
  padding-left: 19px;
}

.audience-grid li::before,
.pricing-proof-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.audience-grid a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  color: #151915;
  font-size: 14px;
  font-weight: 760;
  line-height: 18px;
  text-decoration: none;
}

.audience-grid a .icon {
  width: 16px;
  height: 16px;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-led-section {
  display: block;
  padding: 62px 0 68px;
  text-align: center;
}

.proof-led-copy {
  display: grid;
  gap: 24px;
}

.proof-led-section h2 {
  max-width: none;
  font-size: 42px;
  line-height: 1.08;
}

.proof-led-section > p {
  margin: 28px auto 0;
  text-align: center;
}

.proof-number-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 0;
}

.proof-number-grid span {
  display: grid;
  gap: 10px;
  min-height: 104px;
  align-content: center;
  border-right: 1px solid rgba(16, 19, 15, 0.14);
  border-bottom: 0;
  padding: 0 28px;
}

.proof-number-grid span:last-child {
  border-right: 0;
}

.proof-number-grid strong {
  color: #080908;
  font-size: 50px;
  font-weight: 650;
  line-height: 0.9;
}

.proof-number-grid em {
  color: #626862;
  font-size: 13px;
  font-style: normal;
  font-weight: 720;
  line-height: 18px;
  text-transform: uppercase;
}

.proof-number-grid small {
  color: #858d7e;
  font-size: 13px;
  font-weight: 640;
  line-height: 18px;
}

.method-section {
  display: grid;
  padding-top: 62px;
}

.method-section h2 {
  max-width: none;
  font-size: 42px;
  line-height: 1.08;
  text-align: center;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(420px, 1fr);
  gap: 78px;
  align-items: center;
  margin-top: 54px;
}

.method-list {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 0;
  border-top: 0;
}

.method-list::before {
  position: absolute;
  top: 20px;
  bottom: 22px;
  left: 20px;
  width: 1px;
  background-image: linear-gradient(to bottom, rgba(16, 19, 15, 0.18) 50%, transparent 0);
  background-size: 1px 14px;
  content: "";
}

.method-list article {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  min-height: 72px;
  border-bottom: 0;
}

.method-list span {
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #eaf7dd;
  color: #4f9441;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  transition: box-shadow 320ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.method-list article:hover span {
  box-shadow: 0 0 0 7px rgba(121, 201, 75, 0.1);
  transform: scale(1.08);
}

.method-list article:nth-child(even):hover span {
  box-shadow: 0 0 0 7px rgba(255, 141, 132, 0.1);
}

.method-list article:nth-child(even) span {
  background: #ffe0dc;
  color: #df5c52;
}

.method-list h3 {
  font-size: 25px;
  line-height: 1.05;
}

.method-list p {
  max-width: 430px;
  margin-top: 7px;
  font-size: 15px;
  line-height: 23px;
}

.method-quote {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: #fbfbf8;
  padding: 54px 56px 48px;
  box-shadow: 0 28px 70px rgba(16, 19, 15, 0.1);
  transform: rotate(-2deg);
}

.method-quote::after {
  position: absolute;
  right: -32px;
  bottom: -34px;
  width: 120px;
  height: 112px;
  opacity: 0.42;
  background-image: radial-gradient(#aab0a4 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  content: "";
}

.method-quote span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.6;
}

.method-quote p {
  margin: 0;
  color: #11140f;
  font-family: var(--font);
  font-size: 26px;
  font-weight: 540;
  line-height: 38px;
}

.pricing-wrap-section {
  display: grid;
  gap: 34px;
  padding-top: 52px;
}

.pricing-cta-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(260px, 0.8fr) minmax(260px, 0.68fr);
  gap: 58px;
  align-items: center;
  border: 1px solid rgba(255, 141, 132, 0.95);
  border-radius: 8px;
  background: #ffffff;
  color: #080908;
  padding: 40px 44px;
}

.pricing-cta-section h2,
.pricing-cta-section p {
  color: #080908;
}

.pricing-cta-section h2 {
  font-size: 48px;
  line-height: 0.98;
}

.pricing-cta-section p {
  color: #626862;
}

.pricing-proof-list {
  gap: 12px;
}

.pricing-proof-list li {
  color: #333933;
}

.pricing-proof-list li::before {
  top: 2px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #ff8d84;
  background: transparent;
  color: #ff8d84;
  font-size: 10px;
  line-height: 1;
  content: "✓";
}

.pricing-cta-actions {
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  border-top: 0;
  padding-top: 0;
}

.pricing-cta-actions .ghost-button {
  border-color: transparent;
  background: transparent;
  color: #10110f;
  box-shadow: none;
}

.pricing-cta-actions .solid-button {
  width: 260px;
  border-color: #080908;
  background: #080908;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(16, 19, 15, 0.14);
}

.reveal-item {
  opacity: 1;
  transform: none;
}

.reveal-item.is-visible {
  animation: revealUp 820ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) both;
}

.reveal-item.reveal-scale.is-visible {
  animation-name: revealScale;
}

.reveal-item.reveal-side.is-visible {
  animation-name: revealSide;
}

.reveal-item.reveal-soft.is-visible {
  animation-name: revealSoft;
}

@keyframes editorialCopyIn {
  from {
    opacity: 0;
    translate: 0 28px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes editorialSceneIn {
  from {
    opacity: 0;
    translate: 28px 20px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes paperMainFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  34% {
    transform: translate3d(-4px, -7px, 0) rotate(-3.35deg);
  }

  68% {
    transform: translate3d(3px, -3px, 0) rotate(-4.45deg);
  }
}

@keyframes paperMapFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }

  38% {
    transform: translate3d(5px, -6px, 0) rotate(3.45deg);
  }

  72% {
    transform: translate3d(-2px, -9px, 0) rotate(4.35deg);
  }
}

@keyframes paperStickyFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(8deg);
  }

  42% {
    transform: translate3d(4px, -6px, 0) rotate(9deg);
  }

  76% {
    transform: translate3d(-2px, -3px, 0) rotate(7.55deg);
  }
}

@keyframes decorPulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(1);
  }

  44% {
    opacity: 1;
    transform: scale(1.14) rotate(4deg);
  }

  72% {
    opacity: 0.7;
    transform: scale(0.96) rotate(-2deg);
  }
}

@keyframes decorOrbit {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(0.96);
  }

  46% {
    transform: translate3d(4px, -7px, 0) rotate(12deg) scale(1.05);
  }

  78% {
    transform: translate3d(-2px, -3px, 0) rotate(3deg) scale(1);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealSide {
  from {
    opacity: 0;
    transform: translate3d(34px, 8px, 0) rotate(0deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
}

@keyframes revealSoft {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.school-logo-section {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.school-logo-section p {
  margin: 0;
  color: #313731;
  font-size: 13px;
  font-weight: 780;
  line-height: 16px;
  text-transform: uppercase;
}

.school-logo-section div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  border-top: 0;
  border-bottom: 0;
}

.school-logo-section span {
  display: grid;
  min-height: 76px;
  justify-items: center;
  text-align: center;
  align-items: center;
  border-right: 0;
  color: #6b7168;
  padding: 18px;
  font-size: 15px;
  font-weight: 720;
  line-height: 19px;
}

.school-logo-section span:last-child {
  border-right: 0;
}

.hero-section,
.section,
.flow-strip {
  width: min(100%, 1320px);
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(760px, 1fr);
  gap: 42px;
  align-items: center;
  min-height: 710px;
  padding: 54px 0 28px;
}

.hero-copy {
  display: grid;
  gap: 20px;
  align-content: center;
}

.product-line,
.section-index,
.card-kicker,
.pricing-panel > div > span {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 16px;
  text-transform: uppercase;
}

.hero-copy h2,
.section-copy h2,
.pricing-head h2 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 54px;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy p:not(.product-line),
.section-copy p,
.pricing-head p,
.pricing-panel p {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 28px;
  text-wrap: pretty;
}

.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.product-shell {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) 230px;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 247, 221, 0.88), rgba(233, 241, 255, 0.82) 50%, rgba(255, 247, 228, 0.86)),
    #ffffff;
  padding: 12px;
  box-shadow: var(--shadow);
}

.hero-preview-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.7fr);
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 247, 221, 0.82), rgba(255, 255, 255, 0.94) 48%, rgba(233, 241, 255, 0.74)),
    #ffffff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.preview-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: start;
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.preview-quest {
  grid-row: span 2;
  min-height: 390px;
}

.preview-card-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.preview-card-head strong,
.preview-card-head small {
  display: block;
}

.preview-card-head strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 19px;
}

.preview-card-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.preview-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  font-weight: 760;
  line-height: 1.02;
  text-wrap: balance;
}

.preview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.preview-card p strong {
  color: var(--ink);
}

.preview-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-score-row span {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px;
  font-size: 11px;
  font-weight: 780;
  line-height: 14px;
  text-transform: uppercase;
}

.preview-score-row strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.preview-score-row .risk {
  border-color: rgba(232, 105, 85, 0.34);
  background: var(--coral-soft);
}

.preview-teacher .ghost-button {
  width: max-content;
}

.learner-rail,
.practice-workspace,
.teacher-panel {
  min-width: 0;
  border: 1px solid rgba(203, 213, 193, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.learner-rail {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 14px;
}

.rail-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #0c2109;
  font-weight: 800;
}

.rail-head strong,
.rail-head small,
.streak-card span,
.streak-card strong {
  display: block;
}

.rail-head strong {
  font-size: 14px;
  line-height: 18px;
}

.rail-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
}

.streak-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(245, 185, 66, 0.38);
  border-radius: 8px;
  background: var(--amber-soft);
  padding: 13px;
  color: #6a4200;
}

.streak-card .icon {
  color: var(--amber);
}

.streak-card span {
  color: #805106;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.streak-card strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 22px;
}

.learner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.learner-stats span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 9px 7px;
}

.learner-stats .icon {
  width: 16px;
  height: 16px;
  color: var(--green-strong);
}

.learner-stats strong,
.learner-stats em {
  overflow: hidden;
  font-style: normal;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.learner-stats strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
}

.learner-stats em {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 760;
  text-transform: uppercase;
}

.rail-review-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 11px;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  align-items: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 8px 0 0;
  text-align: left;
}

.review-row span,
.review-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-row span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
}

.review-row strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  text-transform: uppercase;
}

.review-row i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.review-row i b {
  display: block;
  width: var(--mastery);
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.path-list {
  display: grid;
  gap: 6px;
}

.path-list span {
  position: relative;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  padding: 9px 8px 9px 24px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.path-list span::before {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
  content: "";
}

.path-list .done::before {
  background: var(--green);
}

.path-list .active {
  border-color: rgba(121, 201, 75, 0.42);
  background: var(--green-soft);
  color: var(--ink);
}

.practice-workspace {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.workspace-top {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
}

.workspace-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.workspace-top h1 {
  margin: 2px 0 0;
  font-size: 30px;
  font-weight: 760;
  line-height: 1.02;
}

.xp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(121, 201, 75, 0.48);
  border-radius: 999px;
  background: var(--green-soft);
  color: #245c1d;
  padding: 8px 11px;
  font-size: 13px;
  white-space: nowrap;
}

.placement-sprint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 10px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 241, 255, 0.88), rgba(255, 255, 255, 0.92) 42%, rgba(234, 247, 221, 0.8)),
    #ffffff;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.placement-summary {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.placement-summary h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.placement-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 620;
  line-height: 18px;
}

.placement-summary p strong {
  color: var(--ink);
}

.placement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.placement-actions .solid-button,
.placement-actions .ghost-button,
.baseline-report .ghost-button {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 11px;
}

.placement-result {
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(62, 120, 214, 0.24);
  border-radius: 8px;
  background: var(--blue-soft);
  text-align: center;
}

.placement-result span,
.placement-result strong,
.placement-result em {
  display: block;
  font-style: normal;
  line-height: 1;
}

.placement-result span {
  color: var(--blue);
  font-size: 23px;
  font-weight: 840;
}

.placement-result strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
}

.placement-result em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 780;
  text-transform: uppercase;
}

.probe-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.probe-list article {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 9px;
}

.probe-list article.risk {
  border-color: rgba(232, 105, 85, 0.34);
  background: var(--coral-soft);
}

.probe-list span,
.probe-list p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.probe-list span {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 820;
  line-height: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.probe-list strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.probe-list i {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.probe-list i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.probe-list .risk i b {
  background: var(--coral);
}

.probe-list p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 620;
  line-height: 14px;
}

.recommended-quest {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.recommended-quest .card-kicker {
  grid-column: 1;
}

.recommended-quest strong {
  grid-column: 1;
  color: var(--ink);
  font-size: 14px;
  line-height: 18px;
}

.recommended-quest span {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
}

.placement-sprint.saved {
  border-color: rgba(121, 201, 75, 0.72);
  box-shadow: inset 0 3px 0 var(--green), var(--shadow-soft);
}

.quest-board {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.quest-head {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(110px, 1fr);
  gap: 12px;
  align-items: center;
}

.quest-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
}

.chest-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--amber-soft);
  box-shadow: inset 0 0 0 1px rgba(245, 185, 66, 0.28);
}

.chest-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--green));
}

.quest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quest-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 112px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 12px;
  text-align: left;
}

.quest-card .icon {
  color: var(--green-strong);
}

.quest-card span,
.quest-card em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 13px;
  text-transform: uppercase;
}

.quest-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 18px;
}

.quest-card em {
  width: max-content;
  border-radius: 999px;
  background: #ffffff;
  padding: 4px 7px;
}

.quest-card.active {
  border-color: rgba(121, 201, 75, 0.76);
  background: var(--green-soft);
  box-shadow: inset 0 3px 0 var(--green);
}

.quest-card.completed em {
  color: #245c1d;
}

.quest-card.locked {
  opacity: 0.72;
}

.word-tabs,
.stage-tabs,
.plan-tabs {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.word-tab,
.stage-tab,
.plan-tab {
  display: grid;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.word-tab {
  min-width: 132px;
  gap: 3px;
}

.word-tab span,
.plan-tab span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
  text-transform: uppercase;
}

.word-tab strong,
.plan-tab strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
}

.word-tab.active,
.stage-tab.active,
.plan-tab.active {
  border-color: rgba(121, 201, 75, 0.78);
  background: var(--green-soft);
  box-shadow: inset 0 3px 0 var(--green);
}

.stage-tab {
  grid-template-columns: 20px max-content;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.stage-tab.active {
  color: var(--ink);
}

.practice-card {
  display: grid;
  gap: 12px;
  min-height: 310px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.card-kicker {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.word-head {
  display: grid;
  gap: 8px;
}

.word-head > span {
  width: max-content;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 820;
}

.practice-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 720;
  line-height: 1.02;
  text-wrap: balance;
}

.word-head h2 {
  font-size: 54px;
}

.practice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.typing-board {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.typing-board i {
  display: grid;
  width: 34px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--muted-2);
  font-size: 19px;
  font-style: normal;
  font-weight: 800;
}

.typing-board .done {
  border-color: rgba(121, 201, 75, 0.72);
  background: var(--green-soft);
  color: var(--ink);
}

.typing-board .current {
  border-color: rgba(62, 120, 214, 0.58);
  background: var(--blue-soft);
  color: var(--ink);
}

.hint-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 8px;
}

.hint-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
  font-weight: 620;
  line-height: 18px;
}

.hint-grid strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-transform: uppercase;
}

textarea {
  min-height: 118px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 13px;
  font-size: 15px;
  line-height: 24px;
}

.coach-stage {
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
}

.coach-stage .solid-button {
  grid-column: 1 / -1;
  width: max-content;
}

.score-ring {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 12px solid var(--green-soft);
  border-top-color: var(--green);
  border-radius: 999px;
  background: #ffffff;
}

.score-ring strong,
.score-ring span {
  display: block;
  text-align: center;
}

.score-ring strong {
  font-size: 38px;
  line-height: 36px;
}

.score-ring span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.feedback-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.feedback-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 760;
}

.rewrite-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rewrite-compare span {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 11px;
  font-size: 14px;
  line-height: 22px;
}

.rewrite-compare strong {
  color: var(--ink);
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
}

.learning-map {
  display: grid;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.map-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.map-head strong,
.map-head span {
  display: block;
}

.map-head strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 16px;
  line-height: 20px;
}

.map-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.writing-coach {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 241, 255, 0.72), #ffffff 42%, rgba(234, 247, 221, 0.58)),
    #ffffff;
  padding: 13px;
  box-shadow: var(--shadow-soft);
}

.writing-coach.saved {
  border-color: rgba(121, 201, 75, 0.72);
  box-shadow: inset 0 3px 0 var(--green), var(--shadow-soft);
}

.writing-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.writing-head strong,
.writing-head span {
  display: block;
}

.writing-head strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
  line-height: 22px;
}

.writing-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.draft-panel,
.rewrite-panel,
.rubric-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 11px;
}

.draft-panel,
.rewrite-panel {
  display: grid;
  gap: 10px;
  align-content: start;
}

.draft-panel > span,
.rewrite-panel > span,
.rubric-grid span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 820;
  line-height: 13px;
  text-transform: uppercase;
}

.draft-panel p,
.rewrite-panel p,
.rubric-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  line-height: 18px;
}

.draft-panel .ghost-button,
.rewrite-panel .solid-button,
.portfolio-evidence .ghost-button {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 11px;
}

.rubric-grid {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.rewrite-panel {
  grid-column: 2;
  grid-row: 1;
}

.rubric-grid article {
  display: grid;
  gap: 5px;
}

.rubric-grid article.risk {
  border-color: rgba(232, 105, 85, 0.34);
  background: var(--coral-soft);
}

.rubric-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.rubric-grid i {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.rubric-grid i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.rubric-grid .risk i b {
  background: var(--coral);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.before-after em {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  line-height: 16px;
}

.before-after strong {
  color: var(--ink);
  font-size: 9.5px;
  line-height: 12px;
  text-transform: uppercase;
}

.map-nodes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.map-node {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 11px;
  text-align: left;
}

.map-node i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
}

.map-node strong,
.map-node span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-node strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 17px;
}

.map-node span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
}

.map-node.complete i,
.map-node.active i {
  background: var(--green);
  color: #0c2109;
}

.map-node.active {
  border-color: rgba(121, 201, 75, 0.72);
  background: var(--green-soft);
}

.map-node.locked {
  opacity: 0.62;
}

.teacher-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
}

.panel-section {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.panel-section p,
.panel-section small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 590;
  line-height: 19px;
}

.panel-section strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 22px;
}

.release-state {
  background: var(--coral-soft);
  border-color: rgba(232, 105, 85, 0.35);
}

.release-state.released {
  background: var(--green-soft);
  border-color: rgba(121, 201, 75, 0.48);
}

.pulse-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.queue-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.queue-row strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 17px;
}

.baseline-report .distribution-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  min-height: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.baseline-report .distribution-bars i {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.baseline-report .ghost-button {
  width: 100%;
}

.portfolio-evidence {
  background:
    linear-gradient(180deg, rgba(234, 247, 221, 0.72), #ffffff 72%),
    #ffffff;
}

.portfolio-evidence.saved {
  border-color: rgba(121, 201, 75, 0.72);
}

.evidence-timeline {
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.evidence-timeline span {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.evidence-timeline i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 820;
}

.evidence-timeline .done i {
  background: var(--green);
  color: #0c2109;
}

.evidence-timeline em {
  display: grid;
  gap: 1px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 620;
  line-height: 15px;
}

.evidence-timeline strong {
  color: var(--ink);
  font-size: 11.5px;
  line-height: 15px;
}

.portfolio-evidence .ghost-button {
  width: 100%;
}

.pulse-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pulse-row strong {
  font-size: 20px;
}

.section {
  display: grid;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.section-copy {
  display: grid;
  gap: 16px;
}

.clarity-section {
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
  align-items: start;
  padding-top: 44px;
}

.clarity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.clarity-grid article {
  display: grid;
  gap: 10px;
  min-height: 168px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 243, 0.92)),
    #ffffff;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.clarity-grid span {
  width: max-content;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 820;
  line-height: 14px;
  text-transform: uppercase;
}

.clarity-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 740;
  line-height: 1.05;
}

.clarity-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.experience-lab {
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.lab-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
}

.lab-intro h2 {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--ink);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  text-wrap: balance;
}

.lab-intro p {
  margin: 12px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
}

.lab-tabs {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(5, minmax(116px, 1fr));
  gap: 8px;
  width: min(100%, 720px);
}

.lab-tab {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  padding: 0 12px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.lab-tab .icon {
  width: 19px;
  height: 19px;
  color: var(--green-strong);
}

.lab-tab span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 780;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-tab:hover,
.lab-tab.active {
  border-color: rgba(121, 201, 75, 0.72);
  background: var(--green-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.lab-stage {
  display: grid;
  gap: 22px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 193, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 18px;
  box-shadow: var(--shadow);
}

.lab-stage > .section {
  width: 100%;
  border-top: 0;
  padding-top: 0;
}

.learning-lab-panel {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.standards-section,
.workflow-section,
.proof-section {
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  align-items: start;
}

.standards-grid,
.loop-grid,
.proof-board {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.standards-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.standards-grid article,
.loop-grid article,
.proof-board article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  border-right: 1px solid var(--line);
  background: #ffffff;
  padding: 20px;
}

.standards-grid article:last-child,
.loop-grid article:last-child,
.proof-board article:last-child {
  border-right: 0;
}

.standards-grid span,
.loop-grid article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 820;
  line-height: 14px;
  text-transform: uppercase;
}

.standards-grid h3,
.loop-grid h3,
.proof-board h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 720;
  line-height: 1.08;
}

.standards-grid p,
.loop-grid p,
.proof-board p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.loop-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.loop-grid .active {
  background:
    linear-gradient(180deg, var(--green-soft), #ffffff 72%),
    #ffffff;
  box-shadow: inset 0 3px 0 var(--green);
}

.flow-strip {
  position: relative;
  overflow: hidden;
  margin-top: -18px;
  margin-bottom: -18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  white-space: nowrap;
}

.flow-strip::before,
.flow-strip::after {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 110px;
  height: 100%;
  content: "";
  pointer-events: none;
}

.flow-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(255, 255, 255, 0));
}

.flow-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(255, 255, 255, 0));
}

.flow-strip-track {
  display: inline-flex;
  min-width: max-content;
  animation: flowStrip 38s linear infinite;
}

.flow-strip span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  padding-right: 54px;
  font-size: 14px;
  font-weight: 720;
}

.flow-strip span::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.social-league-section {
  gap: 26px;
}

.social-league-head {
  display: grid;
  grid-template-columns: minmax(360px, 0.58fr) minmax(700px, 1fr);
  gap: 28px;
  align-items: end;
}

.social-league-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 760;
  line-height: 0.98;
}

.social-league-head p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
}

.social-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.social-metrics span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  min-height: 82px;
  border-left: 1px solid var(--line);
  padding: 2px 14px 14px;
}

.social-metrics .icon {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  color: var(--green-strong);
}

.social-metrics span:nth-child(3) .icon {
  color: var(--blue);
}

.social-metrics span:nth-child(4) .icon {
  color: #bd7c00;
}

.social-metrics span:nth-child(5) .icon {
  color: var(--coral);
}

.social-metrics strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.social-metrics em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  line-height: 15px;
  text-transform: uppercase;
}

.social-league-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1fr) minmax(340px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.league-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 22px;
}

.league-panel:last-child {
  border-right: 0;
}

.social-panel-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.social-panel-head > span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  line-height: 1;
}

.social-panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.05;
}

.social-panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 20px;
}

.league-filter-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.8fr) minmax(92px, 0.8fr) minmax(120px, 1fr);
  gap: 8px;
}

.mini-control {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink-soft);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.mini-control.active {
  border-color: rgba(60, 157, 55, 0.68);
  background: var(--green-soft);
  color: var(--green-strong);
}

.leaderboard-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.leaderboard-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 28px minmax(120px, 1fr) 76px 58px 50px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
}

.leaderboard-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  line-height: 14px;
  text-transform: uppercase;
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.leaderboard-row.current {
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(60, 157, 55, 0.28);
}

.leaderboard-row > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 820;
}

.leaderboard-row.gold > span {
  background: var(--amber);
  color: #ffffff;
}

.leaderboard-row.silver > span {
  background: #aeb8c5;
  color: #ffffff;
}

.leaderboard-row.bronze > span {
  background: #c87931;
  color: #ffffff;
}

.leaderboard-row strong {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.leaderboard-row strong i,
.team-activity i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
}

.leaderboard-row strong em {
  display: grid;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
  line-height: 16px;
}

.leaderboard-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
}

.leaderboard-row b {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  line-height: 16px;
  white-space: nowrap;
}

.leaderboard-row b .icon {
  width: 14px;
  height: 14px;
  color: var(--coral);
}

.leaderboard-row .up {
  color: var(--green-strong);
}

.leaderboard-row .down {
  color: var(--coral);
}

.class-goal-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 140px auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.class-goal-card .icon {
  width: 30px;
  height: 30px;
  color: var(--green-strong);
}

.class-goal-card span {
  display: grid;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
}

.class-goal-card strong {
  color: var(--ink);
  font-size: 14px;
}

.class-goal-card i,
.challenge-progress i,
.share-card i {
  display: block;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #ecefed;
}

.class-goal-card i b,
.challenge-progress i b,
.share-card i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green-strong);
}

.class-goal-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
  white-space: nowrap;
}

.challenge-card,
.invite-card,
.share-card,
.shield-card,
.teacher-safe-card,
.team-activity {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.challenge-card {
  background:
    linear-gradient(180deg, rgba(234, 247, 221, 0.72), #ffffff 54%),
    #ffffff;
}

.challenge-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.challenge-title > .icon {
  width: 40px;
  height: 40px;
  color: var(--green-strong);
}

.challenge-title strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 28px;
}

.challenge-title small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.challenge-title em {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  padding: 5px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.challenge-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.challenge-progress span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.challenge-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.challenge-stats span {
  display: grid;
  gap: 4px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 12px;
  font-size: 12px;
  font-weight: 650;
}

.challenge-stats span:last-child {
  border-right: 0;
}

.challenge-stats strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.day-checks {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-checks span {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.day-checks i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.day-checks .done i {
  border-color: var(--green-strong);
  background: var(--green-strong);
}

.day-checks .done i::before {
  color: #ffffff;
  content: "✓";
  font-size: 13px;
  font-weight: 820;
}

.team-activity span {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.team-activity strong {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 18px;
}

.team-activity em {
  color: var(--green-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.invite-card h4,
.share-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
  line-height: 20px;
}

.invite-card p,
.share-card p {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
}

.invite-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.invite-code strong {
  display: flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.invite-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 18px;
}

.invite-card small b {
  color: var(--green-strong);
}

.share-card {
  gap: 12px;
}

.shield-card {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
}

.shield-card > .icon,
.teacher-safe-card > .icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.shield-card span,
.teacher-safe-card span {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.shield-card strong,
.teacher-safe-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 20px;
}

.shield-card em {
  color: var(--blue);
  font-style: normal;
  font-weight: 820;
}

.shield-card .ghost-button {
  grid-column: 1 / -1;
}

.shield-card.claimed {
  background: var(--blue-soft);
  border-color: rgba(62, 120, 214, 0.24);
}

.teacher-safe-card {
  grid-template-columns: 28px minmax(0, 1fr);
  border-color: rgba(60, 157, 55, 0.22);
  background: var(--green-soft);
}

.teacher-safe-card > .icon {
  color: var(--green-strong);
}

.league-impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.league-impact-strip span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
}

.league-impact-strip span:last-child {
  border-right: 0;
}

.league-impact-strip strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

@keyframes flowStrip {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.school-section {
  grid-template-columns: minmax(620px, 1fr) minmax(320px, 0.48fr);
  align-items: center;
}

.teacher-command {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(20, 35, 55, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #1d3149, var(--navy)),
    var(--navy);
  color: #ffffff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.command-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 18px;
}

.command-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.command-head strong {
  font-size: 18px;
  line-height: 22px;
}

.command-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.command-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 17px 18px;
}

.command-grid article:last-child {
  border-bottom: 0;
}

.command-grid .review {
  background:
    linear-gradient(90deg, rgba(121, 201, 75, 0.18), rgba(255, 255, 255, 0.04) 46%),
    rgba(255, 255, 255, 0.04);
}

.command-grid span {
  color: #aee38b;
  font-size: 13px;
  font-weight: 820;
}

.command-grid h3,
.command-grid p {
  margin: 0;
}

.command-grid h3 {
  font-size: 27px;
  line-height: 1;
}

.command-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 720;
  text-align: right;
}

.buyer-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.buyer-proof span {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
}

.buyer-proof span:last-child {
  border-right: 0;
}

.buyer-proof strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.school-evidence-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.school-evidence-row span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.school-evidence-row .icon {
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.school-evidence-row strong,
.school-evidence-row em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-evidence-row strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 17px;
}

.school-evidence-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  line-height: 16px;
}

.buyer-command-section {
  gap: 26px;
}

.buyer-command-head {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 0.68fr);
  gap: 30px;
  align-items: end;
}

.buyer-command-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 760;
  line-height: 0.98;
}

.buyer-command-head p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
}

.command-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.command-summary span {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 16px;
  font-size: 12px;
  font-weight: 720;
  line-height: 17px;
}

.command-summary span:last-child {
  border-right: 0;
}

.command-summary strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}

.buyer-command-center {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(360px, 1fr) minmax(310px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.roi-calculator,
.pilot-funnel,
.renewal-brief {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 26px;
}

.renewal-brief {
  border-right: 0;
}

.buyer-panel-head {
  display: grid;
  gap: 4px;
}

.buyer-panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.05;
}

.buyer-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 20px;
}

.buyer-segment-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.buyer-segment-tab {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 760;
  line-height: 18px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.buyer-segment-tab .icon {
  width: 18px;
  height: 18px;
}

.buyer-segment-tab.active,
.buyer-segment-tab:hover {
  border-color: rgba(60, 157, 55, 0.72);
  background: var(--green-soft);
  color: var(--green-strong);
  box-shadow: inset 0 0 0 1px rgba(60, 157, 55, 0.12);
}

.seat-control {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  line-height: 16px;
  text-transform: uppercase;
}

.seat-control strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  text-transform: none;
}

.seat-control input {
  width: 100%;
  accent-color: var(--green-strong);
}

.seat-control small {
  display: flex;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 16px;
  text-transform: none;
}

.roi-metrics,
.renewal-list {
  display: grid;
  gap: 10px;
}

.roi-metrics span,
.renewal-list span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
}

.roi-metrics .icon,
.renewal-list .icon {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.roi-metrics em,
.renewal-list em {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
  line-height: 16px;
  text-transform: uppercase;
}

.roi-metrics strong,
.renewal-list strong {
  justify-self: end;
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  white-space: nowrap;
}

.roi-metrics small,
.renewal-list small {
  grid-column: 2 / -1;
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  line-height: 16px;
  text-align: right;
}

.renewal-list span:nth-child(1) .icon,
.renewal-list span:nth-child(1) strong,
.renewal-list span:nth-child(4) .icon,
.renewal-list span:nth-child(4) strong {
  color: var(--green-strong);
}

.renewal-list span:nth-child(2) .icon,
.renewal-list span:nth-child(2) strong {
  color: var(--blue);
}

.renewal-list .risk .icon,
.renewal-list .risk strong {
  color: var(--coral);
}

.funnel-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.funnel-timeline::before {
  position: absolute;
  top: 24px;
  bottom: 30px;
  left: 20px;
  width: 2px;
  background: var(--line);
  content: "";
}

.funnel-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.funnel-step > i {
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--green-strong);
  color: #ffffff;
  font-size: 18px;
  font-style: normal;
  font-weight: 820;
  box-shadow: 0 10px 20px rgba(16, 19, 15, 0.12);
}

.funnel-step.blue > i {
  background: var(--blue);
}

.funnel-step.amber > i {
  background: #de9600;
}

.funnel-step.coral > i {
  background: var(--coral);
}

.funnel-step div {
  display: grid;
  gap: 4px;
  padding-top: 3px;
}

.funnel-step span {
  color: var(--green-strong);
  font-size: 14px;
  font-weight: 820;
  line-height: 18px;
  text-transform: uppercase;
}

.funnel-step.blue span {
  color: var(--blue);
}

.funnel-step.amber span {
  color: #bd7c00;
}

.funnel-step.coral span {
  color: var(--coral);
}

.funnel-step small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 18px;
}

.funnel-step b {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #ecefed;
}

.funnel-step b em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green-strong);
}

.funnel-step.blue b em {
  background: var(--blue);
}

.funnel-step.amber b em {
  background: var(--amber);
}

.funnel-step > strong {
  justify-self: end;
  color: var(--green-strong);
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}

.funnel-step.blue > strong {
  color: var(--blue);
}

.funnel-step.amber > strong {
  color: #bd7c00;
}

.funnel-step.coral > strong {
  color: var(--coral);
}

.funnel-step ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.funnel-step li {
  position: relative;
  color: var(--ink-soft);
  padding-left: 21px;
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.funnel-step li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green-strong);
  content: "";
}

.renewal-callout {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(60, 157, 55, 0.2);
  border-radius: 6px;
  background: var(--green-soft);
  padding: 15px;
}

.renewal-callout .icon {
  width: 24px;
  height: 24px;
  color: var(--green-strong);
}

.renewal-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 21px;
}

.renewal-brief .solid-button,
.renewal-brief .ghost-button {
  width: 100%;
}

.proof-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-board article {
  min-height: 220px;
}

.proof-board .icon {
  width: 28px;
  height: 28px;
  color: var(--green-strong);
}

.pilot-application-section {
  gap: 26px;
}

.application-head {
  display: grid;
  grid-template-columns: minmax(470px, 0.86fr) minmax(690px, 1fr);
  gap: 30px;
  align-items: start;
}

.application-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 760;
  line-height: 0.98;
}

.application-head p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
}

.proposal-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.proposal-summary span {
  display: grid;
  gap: 5px;
  min-height: 86px;
  align-content: start;
  border-left: 1px solid var(--line);
  color: var(--muted);
  padding: 2px 18px 16px;
  font-size: 11px;
  font-weight: 820;
  line-height: 15px;
  text-transform: uppercase;
}

.proposal-summary strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.proposal-summary span:last-child strong {
  color: var(--green-strong);
}

.application-workbench {
  display: grid;
  grid-template-columns: minmax(330px, 0.94fr) minmax(470px, 1.14fr) minmax(360px, 0.92fr);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.application-plan-zone,
.application-form-zone,
.procurement-zone {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 24px;
}

.procurement-zone {
  border-right: 0;
}

.application-zone-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.application-zone-head > span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  line-height: 1;
}

.application-zone-head h3,
.procurement-pack h4,
.sales-pipeline h4 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.05;
}

.application-zone-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 20px;
}

.application-plan-list {
  display: grid;
  gap: 12px;
}

.application-plan-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 18px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.application-plan-card:hover,
.application-plan-card.active {
  border-color: rgba(60, 157, 55, 0.78);
  background:
    linear-gradient(180deg, rgba(234, 247, 221, 0.68), #ffffff 58%),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(60, 157, 55, 0.08);
}

.plan-check {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 820;
  line-height: 14px;
  text-transform: uppercase;
}

.application-plan-card strong {
  padding-right: 62px;
  font-size: 20px;
  line-height: 24px;
}

.application-plan-card > em {
  max-width: 330px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px;
}

.application-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.application-price-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
}

.application-price-row b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 20px;
}

.application-plan-card small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 820;
  line-height: 14px;
  text-transform: uppercase;
}

.proof-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-chip-row i {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(60, 157, 55, 0.2);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  padding: 4px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  line-height: 14px;
}

.security-note,
.proposal-footnote {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
}

.security-note .icon,
.proposal-footnote .icon {
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
}

.application-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.application-form-grid label,
.application-notes {
  display: grid;
  gap: 7px;
}

.application-form-grid span,
.application-notes span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  line-height: 15px;
}

.application-form-grid input,
.application-form-grid select,
.application-notes textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 620;
  line-height: 18px;
}

.application-form-grid input,
.application-form-grid select {
  min-height: 42px;
}

.application-notes textarea {
  min-height: 72px;
  resize: vertical;
}

.committee-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.committee-row span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}

.committee-row strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
}

.committee-row em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 15px;
}

.committee-row .active {
  border-color: rgba(60, 157, 55, 0.36);
  background: var(--green-soft);
}

.application-form-zone .solid-button {
  width: 100%;
}

.procurement-pack,
.sales-pipeline {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.procurement-pack h4,
.sales-pipeline h4 {
  padding: 16px;
}

.procurement-pack span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid var(--line);
  padding: 10px 16px;
}

.procurement-pack .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
}

.procurement-pack em {
  color: var(--ink-soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}

.procurement-pack strong {
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 820;
}

.procurement-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.procurement-actions .ghost-button {
  width: 100%;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 18px 16px;
}

.pipeline-steps span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

.pipeline-steps span::before {
  position: absolute;
  top: 18px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: var(--line);
  content: "";
}

.pipeline-steps span:first-child::before {
  display: none;
}

.pipeline-steps i {
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
}

.pipeline-steps .icon {
  width: 18px;
  height: 18px;
}

.pipeline-steps .completed i,
.pipeline-steps .active i {
  border-color: rgba(60, 157, 55, 0.46);
  background: var(--green-soft);
  color: var(--green-strong);
}

.pipeline-steps .active i {
  border-color: rgba(62, 120, 214, 0.46);
  background: var(--blue-soft);
  color: var(--blue);
}

.pipeline-steps strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  line-height: 15px;
}

.pipeline-steps em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  line-height: 14px;
}

.pipeline-detail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pipeline-detail span {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  padding: 8px 16px;
}

.pipeline-detail span:last-child {
  border-bottom: 0;
}

.pipeline-detail em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.pipeline-detail strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  text-align: right;
}

.conversion-callout {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(60, 157, 55, 0.24);
  border-radius: 8px;
  background: var(--green-soft);
  padding: 16px;
}

.conversion-callout .icon {
  width: 28px;
  height: 28px;
  color: var(--green-strong);
}

.conversion-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
  line-height: 21px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: 340px;
  border: 1px solid rgba(16, 19, 15, 0.12);
  border-radius: 8px;
  background: #11140f;
  color: #ffffff;
  padding: 13px 15px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.student-portal-main {
  display: grid;
  gap: 24px;
  min-height: calc(100vh - 70px);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 280px, var(--surface) 100%),
    #ffffff;
  padding: 42px 44px 88px;
}

.student-portal-head,
.student-dashboard,
.student-section {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.student-portal-head {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 340px);
  gap: 36px;
  align-items: end;
}

.student-portal-head span,
.student-today-card span {
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 780;
  line-height: 15px;
  text-transform: uppercase;
}

.student-portal-head h1 {
  margin: 10px 0 0;
  color: #080908;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 670;
  letter-spacing: 0;
  line-height: 0.95;
}

.student-portal-head p {
  margin: 18px 0 0;
  max-width: 650px;
  color: #626862;
  font-size: 17px;
  line-height: 28px;
}

.student-today-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(16, 19, 15, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.student-today-card strong {
  color: #080908;
  font-size: 48px;
  line-height: 0.95;
}

.student-today-card small {
  color: #626862;
  font-size: 13px;
  font-weight: 680;
  line-height: 18px;
}

.student-dashboard {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 247, 221, 0.88), rgba(233, 241, 255, 0.82) 50%, rgba(255, 247, 228, 0.86)),
    #ffffff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.student-dashboard .practice-workspace {
  min-height: 720px;
}

.student-section {
  scroll-margin-top: 104px;
}

.student-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 14px;
}

.student-section-head span {
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 820;
  line-height: 15px;
  text-transform: uppercase;
}

.student-section-head h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.student-section-head p {
  margin: 12px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 24px;
}

.workbench-grid,
.typing-layout,
.ai-ib-grid {
  display: grid;
  gap: 14px;
}

.workbench-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr) minmax(260px, 0.55fr);
  align-items: stretch;
}

.teacher-task-panel,
.teacher-word-panel,
.workbench-side,
.ib-helper-panel {
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.teacher-task-panel,
.teacher-word-panel,
.workbench-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.teacher-task-panel h3,
.teacher-word-panel h3,
.ib-helper-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
}

.teacher-task-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.teacher-task-panel .quest-board,
.workbench-side .learning-map {
  box-shadow: none;
}

.teacher-task-panel .quest-list {
  grid-template-columns: 1fr;
}

.teacher-task-panel .quest-card {
  min-height: 92px;
}

.assigned-word-list {
  display: grid;
  gap: 8px;
}

.assigned-word {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.assigned-word span {
  grid-row: 1 / span 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.assigned-word strong {
  overflow: hidden;
  font-size: 18px;
  line-height: 22px;
  text-overflow: ellipsis;
}

.assigned-word em {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assigned-word.active {
  border-color: rgba(121, 201, 75, 0.78);
  background: var(--green-soft);
  box-shadow: inset 0 3px 0 var(--green);
}

.workbench-side .student-today-card {
  box-shadow: none;
}

.typing-layout {
  grid-template-columns: 250px minmax(0, 1fr);
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(234, 247, 221, 0.88), rgba(233, 241, 255, 0.82) 50%, rgba(255, 247, 228, 0.86)),
    #ffffff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.typing-layout .practice-workspace {
  min-height: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.ai-ib-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.ai-ib-grid .writing-coach {
  min-width: 0;
}

.ib-helper-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.ib-criteria-list,
.assistant-note {
  display: grid;
  gap: 8px;
}

.ib-criteria-list span,
.assistant-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 19px;
}

.ib-criteria-list strong,
.assistant-note strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 840;
  line-height: 16px;
  text-transform: uppercase;
}

.assistant-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.student-app-main {
  gap: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(233, 241, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #f8faf7 0, #f5f7fb 100%);
  padding-top: 30px;
}

.student-app-main .student-section {
  display: grid;
  gap: 16px;
}

.student-app-main .toddle-page-head {
  align-items: center;
  min-height: 120px;
  border: 1px solid rgba(203, 213, 193, 0.74);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px 24px;
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.student-app-main .student-section-head {
  margin-bottom: 0;
}

.student-app-main .student-section-head span,
.student-app-main .card-kicker {
  color: #3a7b36;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: none;
}

.student-app-main .student-section-head h2 {
  margin-top: 6px;
  color: #11140f;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 720;
  line-height: 1.08;
}

.student-app-main .student-section-head p {
  margin-top: 8px;
  max-width: 560px;
  color: #687061;
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.student-app-main .solid-button,
.student-app-main .ghost-button {
  min-height: 42px;
  border-radius: 8px;
}

.student-app-main .teacher-task-panel,
.student-app-main .teacher-word-panel,
.student-app-main .workbench-side,
.student-app-main .ib-helper-panel,
.student-app-main .quest-board,
.student-app-main .writing-coach,
.student-app-main .practice-card,
.student-app-main .learner-rail {
  border-color: rgba(203, 213, 193, 0.78);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(16, 19, 15, 0.045);
}

.student-app-main .workbench-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.72fr);
  align-items: start;
}

.student-app-main .primary-work-card {
  min-height: 430px;
}

.student-app-main .workbench-summary {
  display: grid;
  gap: 14px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.student-app-main .word-count-panel {
  display: grid;
  gap: 14px;
}

.word-count-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.word-count-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.word-count-metrics span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 15px;
}

.word-count-metrics strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.hero-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.focused-workbench-hero {
  grid-template-columns: minmax(0, 1fr) auto;
}

.today-route-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 16px;
  align-items: start;
}

.today-route-card,
.today-context-card,
.tutor-focus-card,
.tutor-guidance-panel {
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.today-route-card,
.today-context-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.route-head {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.route-head h3,
.today-context-card h3,
.tutor-current-task h3,
.next-action-card h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.route-head p,
.today-context-card p,
.tutor-current-task p,
.next-action-card p,
.study-output-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.route-time {
  display: grid;
  min-width: 74px;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #11140f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
}

.route-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-step-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 12px 14px;
}

.route-step-list li.active {
  border-color: rgba(121, 201, 75, 0.7);
  background: #eef8e7;
  box-shadow: inset 4px 0 0 var(--green);
}

.route-step-list li.done {
  background: #ffffff;
}

.route-step-list i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #11140f;
  color: #ffffff;
  font-style: normal;
}

.route-step-list .icon {
  width: 19px;
  height: 19px;
}

.route-step-list strong,
.today-word-stack strong,
.today-word-summary strong,
.tutor-why-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 20px;
}

.route-step-list small,
.today-word-stack small,
.today-word-summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 18px;
}

.route-step-list em {
  border-radius: 999px;
  background: #ffffff;
  color: #3a7b36;
  padding: 5px 9px;
  font-style: normal;
  font-size: 11px;
  font-weight: 820;
  white-space: nowrap;
}

.route-primary-action {
  justify-self: start;
}

.today-word-stack {
  display: grid;
  gap: 8px;
}

.today-word-stack button {
  display: grid;
  gap: 2px;
  min-height: 62px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 11px 12px;
  text-align: left;
}

.today-word-stack button.active {
  border-color: rgba(121, 201, 75, 0.68);
  background: #eef8e7;
}

.today-word-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.today-word-summary span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 13px;
}

.today-word-summary strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 820;
  line-height: 1;
}

.today-word-summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 16px;
}

.today-word-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.today-word-summary span {
  display: grid;
  min-height: 74px;
  align-content: center;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 13px 14px;
}

.today-word-summary strong {
  font-size: 20px;
  line-height: 24px;
}

.tutor-chat-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
}

.tutor-chat-panel {
  display: grid;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.tutor-hero {
  grid-template-columns: minmax(0, 1fr) auto;
}

.tutor-focus-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
}

.tutor-focus-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.tutor-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.tutor-stepper span {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 780;
  text-align: center;
}

.tutor-stepper span:last-child {
  border-right: 0;
}

.tutor-stepper span.active,
.tutor-stepper span.done {
  background: #eef8e7;
  color: #276b23;
}

.tutor-stepper .icon {
  width: 17px;
  height: 17px;
}

.tutor-current-task {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.tutor-rewrite-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tutor-why-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 14px;
}

.tutor-why-card p {
  margin: 6px 0 0;
  color: #4f594f;
  font-size: 14px;
  font-weight: 620;
  line-height: 23px;
}

.simple-tutor-composer {
  display: grid;
  gap: 10px;
  align-items: end;
}

.simple-tutor-composer label {
  display: grid;
  gap: 8px;
}

.simple-tutor-composer label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.simple-tutor-composer textarea {
  min-height: 84px;
  resize: vertical;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.simple-tutor-composer .ghost-button {
  justify-self: start;
}

.tutor-guidance-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.next-action-card,
.study-output-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 14px;
}

.next-action-card .solid-button {
  width: 100%;
}

.tutor-detail-panel {
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #ffffff;
  padding: 0;
}

.tutor-detail-panel summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  list-style: none;
}

.tutor-detail-panel summary::-webkit-details-marker {
  display: none;
}

.tutor-detail-panel summary::after {
  margin-left: auto;
  color: var(--muted);
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.tutor-detail-panel[open] summary::after {
  content: "-";
}

.tutor-detail-panel .source-vault,
.tutor-detail-panel .citation-card {
  padding: 0 12px 12px;
}

.study-output-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tutor-mode-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 14px 34px rgba(16, 19, 15, 0.045);
}

.tutor-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tutor-mode-grid button {
  min-height: 38px;
  border: 1px solid rgba(203, 213, 193, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 8px 9px;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.tutor-mode-grid button.active {
  border-color: rgba(121, 201, 75, 0.72);
  background: #eef8e7;
  color: #245c1d;
  box-shadow: inset 0 2px 0 var(--green);
}

.tutor-mode-output {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 13px;
}

.tutor-mode-output span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.tutor-mode-output strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 840;
  line-height: 21px;
}

.tutor-mode-output p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
}

.tutor-mode-output small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 17px;
}

.ai-guided-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-guided-steps li {
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 680;
  line-height: 20px;
}

.ai-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ai-analysis-grid span {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 11px;
}

.ai-analysis-grid strong,
.tutor-mode-card > strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 840;
  line-height: 19px;
}

.ai-analysis-grid small,
.tutor-mode-card > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 18px;
}

.ai-rewrite-text {
  margin: 0;
  border: 1px solid rgba(121, 201, 75, 0.38);
  border-radius: 8px;
  background: #eef8e7;
  color: var(--ink);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.teacher-next-move-grid {
  display: grid;
  gap: 8px;
}

.teacher-next-move-grid button {
  display: grid;
  gap: 4px;
  min-height: 72px;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
}

.teacher-next-move-grid button.active {
  border-color: rgba(121, 201, 75, 0.72);
  background: #eef8e7;
  box-shadow: inset 4px 0 0 var(--green);
}

.teacher-next-move-grid strong {
  font-size: 14px;
  font-weight: 840;
  line-height: 18px;
}

.teacher-next-move-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 17px;
}

.teacher-ai-evidence {
  margin-top: 14px;
}

.tutor-chat-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
}

.tutor-chat-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.tutor-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 14px 20px;
}

.tutor-action-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 17px;
}

.student-app-main .teacher-task-panel,
.student-app-main .teacher-word-panel,
.student-app-main .workbench-side,
.student-app-main .ib-helper-panel {
  padding: 18px;
}

.student-app-main .teacher-task-panel h3,
.student-app-main .teacher-word-panel h3,
.student-app-main .ib-helper-panel h3 {
  font-size: 22px;
  font-weight: 720;
}

.student-app-main .quest-card,
.student-app-main .assigned-word,
.student-app-main .ib-criteria-list span,
.student-app-main .assistant-note,
.student-app-main .probe-list article,
.student-app-main .rubric-grid article,
.student-app-main .draft-panel,
.student-app-main .rewrite-panel {
  border-color: rgba(221, 227, 214, 0.9);
  background: #fbfcf8;
}

.student-app-main .quest-card.active,
.student-app-main .assigned-word.active,
.student-app-main .word-tab.active,
.student-app-main .stage-tab.active {
  border-color: rgba(121, 201, 75, 0.64);
  background: #eff8e8;
  box-shadow: inset 0 3px 0 #79c94b;
}

.student-app-main .typing-layout {
  border-color: rgba(203, 213, 193, 0.74);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.student-app-main .typing-layout .practice-workspace {
  background: #f8faf7;
}

.student-app-main .practice-card h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.student-app-main .word-head h2 {
  font-size: clamp(48px, 7vw, 76px);
}

.student-app-main .ai-ib-grid {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
}

.role-portal-main {
  background:
    linear-gradient(180deg, #ffffff 0, #f6f8f4 340px, #eef5fb 100%),
    #ffffff;
  align-content: start;
}

.teacher-command-grid,
.teacher-results-board,
.teacher-insight-panel {
  width: min(100%, 1320px);
  margin: 0 auto;
  scroll-margin-top: 104px;
}

.role-portal-main .student-portal-head {
  align-items: center;
  min-height: 190px;
}

.role-portal-main .student-portal-head h1 {
  font-size: clamp(38px, 4.2vw, 62px);
}

.role-portal-main .student-portal-head p {
  max-width: 760px;
}

.teacher-action-center {
  width: min(100%, 1320px);
  margin: 0 auto 18px;
  padding: 22px;
  border: 1px solid rgba(203, 213, 193, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.045);
}

.teacher-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.teacher-action-card {
  display: grid;
  gap: 7px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfa;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.teacher-action-card:hover, .teacher-action-card:focus-visible {
  transform: translateY(-2px);
  border-color: #89b96a;
  box-shadow: 0 10px 24px rgba(16, 19, 15, .08);
}

.teacher-action-card.is-priority { background: #fffaf0; border-color: #ead4a6; }
.teacher-action-card strong { font-size: 17px; color: var(--ink); }
.teacher-action-card small { color: var(--muted); }
.teacher-action-card em { margin-top: auto; color: #4d7d31; font-size: 13px; font-style: normal; font-weight: 700; }
.action-card-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #e7f2df; color: #4d7d31; font-size: 12px; font-weight: 800; }

@media (max-width: 760px) {
  .teacher-action-center { padding: 16px; }
  .teacher-action-grid { grid-template-columns: 1fr; }
  .teacher-action-card { min-height: 120px; }
}

.teacher-command-grid,
.teacher-insight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: 14px;
  align-items: stretch;
}

.teacher-assignment-builder,
.teacher-assignment-preview,
.teacher-results-board,
.teacher-insight-panel > article {
  border: 1px solid rgba(203, 213, 193, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.teacher-assignment-builder,
.teacher-results-board,
.teacher-insight-panel > article {
  padding: 20px;
}

.teacher-track-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.teacher-assignee-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.teacher-control-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.teacher-control-label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.teacher-inline-button {
  margin-left: 8px;
  padding: 3px 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--blue-text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.teacher-inline-button:hover,
.teacher-inline-button:focus-visible {
  background: var(--blue-soft);
}

.teacher-assignee-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.teacher-assignee-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.teacher-assignee-row:has(input:checked) {
  border-color: rgba(60, 157, 55, 0.62);
  background: var(--green-soft);
}

.teacher-assignee-row input {
  accent-color: var(--green-strong);
}

.teacher-assignee-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.teacher-assignee-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teacher-duration-row label {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.teacher-duration-row select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

@media (max-width: 760px) {
  .teacher-assignee-list { grid-template-columns: 1fr; }
}

.teacher-track-card {
  display: grid;
  gap: 8px;
  min-height: 154px;
  border: 1px solid rgba(221, 227, 214, 0.95);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 16px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.teacher-track-card:hover,
.teacher-track-card.active {
  border-color: rgba(62, 120, 214, 0.56);
  background: #eef5fb;
  box-shadow: inset 0 3px 0 var(--blue);
  transform: translateY(-1px);
}

.teacher-track-card strong {
  font-size: 24px;
  line-height: 1;
}

.teacher-track-card span {
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 820;
  line-height: 18px;
}

.teacher-track-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 620;
  line-height: 19px;
}

.teacher-duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  border-top: 1px solid rgba(221, 227, 214, 0.8);
  padding-top: 14px;
}

.teacher-duration-row span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.teacher-duration-row button {
  min-height: 38px;
  border: 1px solid rgba(203, 213, 193, 0.9);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink-soft);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 760;
}

.teacher-duration-row button.active {
  border-color: rgba(121, 201, 75, 0.75);
  background: var(--green-soft);
  color: #1f5f25;
}

.teacher-assignment-preview {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 247, 228, 0.9), rgba(233, 241, 255, 0.86)),
    #ffffff;
}

.teacher-assignment-preview.published {
  border-color: rgba(121, 201, 75, 0.65);
  box-shadow: inset 0 3px 0 var(--green), 0 18px 48px rgba(16, 19, 15, 0.055);
}

.teacher-assignment-preview h3,
.teacher-recommendation-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
}

.teacher-assignment-preview p,
.teacher-insight-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  line-height: 23px;
}

.teacher-word-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.teacher-word-chip-list span,
.teacher-result-row i {
  border: 1px solid rgba(203, 213, 193, 0.9);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-soft);
  padding: 6px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  line-height: 14px;
}

.teacher-assignment-meta,
.teacher-result-summary,
.teacher-insight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.teacher-result-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 12px;
}

.teacher-assignment-meta span,
.teacher-result-summary span,
.teacher-insight-metrics span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
  line-height: 16px;
}

.teacher-assignment-meta strong,
.teacher-result-summary strong,
.teacher-insight-metrics strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.teacher-result-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(221, 227, 214, 0.92);
  border-radius: 8px;
}

.teacher-result-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) 0.52fr 0.52fr 0.52fr minmax(210px, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-bottom: 1px solid rgba(221, 227, 214, 0.75);
  background: #ffffff;
  color: var(--ink);
  padding: 11px 14px;
  text-align: left;
}

.teacher-result-row:last-child {
  border-bottom: 0;
}

.teacher-result-row.head {
  min-height: 42px;
  background: #f7f8f3;
  color: var(--muted);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.teacher-result-row:not(.head):hover,
.teacher-result-row.active {
  background: #eef5fb;
}

.teacher-result-row.active {
  box-shadow: inset 3px 0 0 var(--blue);
}

.teacher-result-row strong,
.teacher-result-row em {
  display: block;
}

.teacher-result-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 660;
  line-height: 16px;
}

.teacher-result-row > span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.teacher-insight-panel h2 {
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.teacher-insight-panel article {
  display: grid;
  gap: 14px;
  align-content: start;
}

.teacher-recommendation-card {
  background:
    linear-gradient(135deg, rgba(234, 247, 221, 0.92), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

.app-shell:has(.student-app-main) .topbar {
  grid-template-columns: minmax(190px, auto) minmax(270px, 1fr) auto;
  gap: 18px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 44px);
}

.app-shell:has(.student-app-main) .brand-mark {
  width: 38px;
  height: 38px;
}

.app-shell:has(.student-app-main) .primary-nav {
  justify-self: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(221, 227, 214, 0.82);
  border-radius: 8px;
  background: #f8faf7;
  padding: 4px;
}

.app-shell:has(.student-app-main) .nav-button {
  min-height: 30px;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
}

.app-shell:has(.student-app-main) .nav-button::after {
  display: none;
}

.app-shell:has(.student-app-main) .nav-button.active {
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(16, 19, 15, 0.07);
}

.app-shell:has(.student-app-main) .topbar-actions {
  gap: 8px;
}

.app-shell:has(.student-app-main) .connection-pill {
  min-height: 36px;
  padding-inline: 10px;
}

.app-shell:has(.student-app-main) .topbar-actions .ghost-button,
.app-shell:has(.student-app-main) .topbar-actions .icon-button {
  min-height: 38px;
  border-radius: 8px;
}

.app-shell:has(.student-app-main) .topbar-actions .icon-button {
  width: 38px;
}

.app-shell:has(.role-portal-main) .topbar {
  grid-template-columns: minmax(190px, auto) minmax(270px, 1fr) auto;
  gap: 18px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 44px);
}

.app-shell:has(.role-portal-main) .brand-mark {
  width: 38px;
  height: 38px;
}

.app-shell:has(.role-portal-main) .primary-nav {
  justify-self: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(221, 227, 214, 0.82);
  border-radius: 8px;
  background: #f8faf7;
  padding: 4px;
}

.app-shell:has(.role-portal-main) .nav-button {
  min-height: 30px;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
}

.app-shell:has(.role-portal-main) .nav-button::after {
  display: none;
}

.app-shell:has(.role-portal-main) .nav-button.active {
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(16, 19, 15, 0.07);
}

.app-shell:has(.role-portal-main) .topbar-actions {
  gap: 8px;
}

.app-shell:has(.role-portal-main) .connection-pill {
  min-height: 36px;
  padding-inline: 10px;
}

.app-shell:has(.role-portal-main) .topbar-actions .ghost-button,
.app-shell:has(.role-portal-main) .topbar-actions .icon-button {
  min-height: 38px;
  border-radius: 8px;
}

.app-shell:has(.role-portal-main) .topbar-actions .icon-button {
  width: 38px;
}

.ai-tutor-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.76fr) minmax(440px, 1.45fr) minmax(300px, 0.9fr);
  gap: 16px;
  min-height: calc(100vh - 150px);
}

.tutor-course-panel,
.tutor-lesson-panel,
.tutor-studio-panel {
  min-width: 0;
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.tutor-course-panel,
.tutor-studio-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.tutor-panel-head span,
.tutor-lesson-head span,
.studio-head .card-kicker {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #376d9d;
  font-size: 12px;
  font-weight: 820;
}

.tutor-panel-head h2,
.tutor-lesson-head h2,
.studio-head h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.08;
}

.tutor-panel-head p,
.tutor-lesson-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  line-height: 21px;
}

.tutor-progress-meter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(62, 120, 214, 0.2);
  border-radius: 8px;
  background: #eef5fb;
  padding: 14px;
}

.tutor-progress-meter strong {
  color: #1f5f94;
  font-size: 30px;
  line-height: 1;
}

.tutor-progress-meter span {
  color: #436277;
  font-size: 12px;
  font-weight: 760;
  line-height: 16px;
}

.tutor-syllabus-list {
  display: grid;
  gap: 8px;
}

.tutor-syllabus-list button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 10px;
  text-align: left;
}

.tutor-syllabus-list button.active {
  border-color: rgba(121, 201, 75, 0.72);
  background: #eef8e7;
  box-shadow: inset 3px 0 0 var(--green);
}

.tutor-syllabus-list button.locked {
  opacity: 0.66;
}

.tutor-syllabus-list i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #11140f;
  color: #ffffff;
  font-style: normal;
  font-size: 12px;
  font-weight: 820;
}

.tutor-syllabus-list strong,
.source-vault strong,
.citation-card strong,
.artifact-list strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  line-height: 17px;
}

.tutor-syllabus-list small,
.source-vault small,
.citation-card small,
.artifact-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  line-height: 17px;
}

.tutor-syllabus-list em,
.source-vault em,
.artifact-list em {
  color: #4d7f45;
  font-style: normal;
  font-size: 11px;
  font-weight: 820;
  line-height: 15px;
  white-space: nowrap;
}

.tutor-lesson-panel {
  display: grid;
  grid-template-rows: auto auto minmax(320px, 1fr) auto;
  overflow: hidden;
}

.tutor-lesson-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.tutor-lesson-head h2 {
  font-size: clamp(26px, 2.5vw, 38px);
}

.tutor-source-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fbfcf8;
}

.tutor-source-strip span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 76px;
  border-right: 1px solid var(--line);
  padding: 13px 14px;
}

.tutor-source-strip span:last-child {
  border-right: 0;
}

.tutor-source-strip .icon {
  width: 19px;
  height: 19px;
  color: #376d9d;
}

.tutor-source-strip strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.tutor-source-strip em {
  grid-column: 2;
  justify-self: start;
  color: #3a7b36;
  font-style: normal;
  font-size: 11px;
  font-weight: 820;
}

.tutor-source-strip small {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  line-height: 17px;
}

.tutor-dialogue {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  padding: 22px 20px;
}

.tutor-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 720px);
  gap: 10px;
  align-items: start;
}

.tutor-message.user {
  grid-template-columns: minmax(0, 620px) 34px;
  justify-content: end;
}

.tutor-whiteboard-card {
  display: grid;
  gap: 12px;
  width: min(100%, 760px);
  border: 1px solid rgba(20, 24, 20, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(rgba(16, 19, 15, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 15, 0.028) 1px, transparent 1px),
    #ffffff;
  background-size: 24px 24px;
  padding: 18px;
  box-shadow: 0 16px 38px rgba(16, 19, 15, 0.06);
}

.tutor-whiteboard-card h3,
.studio-head h3 {
  margin: 0;
  color: var(--ink);
}

.tutor-whiteboard-card h3 {
  font-size: 24px;
  line-height: 1.08;
}

.tutor-whiteboard-card p {
  margin: 0;
  color: #4f594f;
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.tutor-composer {
  border-top: 1px solid var(--line);
}

.source-vault,
.citation-card,
.studio-artifacts,
.tutor-next-step {
  display: grid;
  gap: 10px;
}

.source-vault button,
.citation-card span,
.artifact-list span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(221, 227, 214, 0.86);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 10px 11px;
  text-align: left;
}

.source-vault button {
  color: var(--ink);
}

.citation-card span {
  grid-template-columns: 1fr;
  background: #fff7e4;
  border-color: rgba(245, 185, 66, 0.38);
}

.studio-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.studio-head h3 {
  margin-top: 4px;
  font-size: 21px;
  line-height: 1.12;
}

.artifact-list {
  display: grid;
  gap: 8px;
}

.artifact-list span {
  align-items: start;
  background: #f8faf7;
}

.artifact-list em {
  align-self: start;
  border-radius: 999px;
  background: #ffffff;
  padding: 4px 7px;
}

.tutor-next-step {
  border: 1px solid rgba(121, 201, 75, 0.36);
  border-radius: 8px;
  background: #eef8e7;
  padding: 14px;
}

.tutor-next-step .solid-button {
  width: 100%;
}

.ai-chat-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  min-height: calc(100vh - 150px);
}

.ai-chat-panel,
.chat-context-panel {
  border: 1px solid rgba(203, 213, 193, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(16, 19, 15, 0.055);
}

.ai-chat-panel {
  display: grid;
  grid-template-rows: auto auto minmax(300px, 1fr) auto;
  min-width: 0;
  overflow: hidden;
}

.ai-chat-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.ai-chat-head span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #3a7b36;
  font-size: 12px;
  font-weight: 820;
}

.ai-chat-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.chat-suggestion-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
}

.chat-suggestion-row button {
  min-height: 34px;
  border: 1px solid rgba(203, 213, 193, 0.86);
  border-radius: 999px;
  background: #f8faf7;
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.chat-thread {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  padding: 24px 20px;
}

.chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 720px);
  gap: 10px;
  align-items: start;
}

.chat-message.user {
  grid-template-columns: minmax(0, 620px) 34px;
  justify-content: end;
}

.chat-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #11140f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 820;
}

.chat-avatar .icon {
  width: 17px;
  height: 17px;
}

.chat-bubble {
  border: 1px solid rgba(221, 227, 214, 0.9);
  border-radius: 8px;
  background: #f8faf7;
  color: var(--ink);
  padding: 14px 16px;
}

.chat-message.user .chat-bubble {
  background: #eef8e7;
  border-color: rgba(121, 201, 75, 0.48);
}

.chat-bubble strong,
.chat-bubble p {
  margin: 0;
}

.chat-bubble strong {
  display: block;
  font-size: 15px;
  line-height: 21px;
}

.chat-bubble p {
  margin-top: 6px;
  color: #4f594f;
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
}

.chat-feedback-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.chat-feedback-chips span {
  border-radius: 999px;
  background: #ffffff;
  color: #3a7b36;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 820;
}

.chat-composer {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 14px 20px 18px;
}

.chat-composer textarea {
  min-height: 84px;
  resize: vertical;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.composer-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.composer-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.chat-context-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.chat-context-panel h3,
.chat-context-panel p {
  margin: 0;
}

.chat-context-panel h3 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.chat-context-panel p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  line-height: 22px;
}

.immersive-typing {
  width: min(100%, 1120px);
}

.typing-immersive-shell {
  display: grid;
  grid-template-rows: minmax(540px, 1fr);
  min-height: calc(100vh - 118px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(233, 241, 255, 0.6), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 50% 40%, rgba(121, 201, 75, 0.08), transparent 34%);
  padding: 0;
  box-shadow: none;
}

.typing-immersive-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.typing-immersive-head span,
.typing-save-state span,
.typing-step-meta span,
.typing-prompt span {
  color: #3a7b36;
  font-size: 12px;
  font-weight: 820;
}

.typing-immersive-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
}

.typing-save-state {
  display: grid;
  gap: 2px;
  justify-items: end;
  border: 1px solid rgba(221, 227, 214, 0.95);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 12px 14px;
}

.typing-save-state strong {
  color: var(--ink);
  font-size: 14px;
}

.typing-focus-card {
  position: relative;
  display: grid;
  gap: 20px;
  align-content: center;
  justify-items: center;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(233, 241, 255, 0.9), transparent 34%),
    transparent;
  padding: clamp(22px, 5vw, 60px) clamp(16px, 4vw, 48px);
  text-align: center;
  transition: filter 180ms ease, transform 180ms ease;
}

.typing-focus-card h3,
.typing-focus-card p,
.typing-target,
.typing-input,
.screen-keyboard,
.typing-actions {
  animation: typingStageIn 260ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.typing-focus-card p {
  animation-delay: 30ms;
}

.typing-target,
.typing-input {
  animation-delay: 55ms;
}

.screen-keyboard,
.typing-actions {
  animation-delay: 80ms;
}

.typing-focus-card.complete {
  filter: saturate(1.05);
}

.typing-focus-card.celebrating {
  animation: typingLift 520ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.typing-celebration {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(121, 201, 75, 0.5);
  border-radius: 8px;
  background: #eff8e8;
  color: #245c1d;
  padding: 10px 14px;
  animation: heroTextIn 260ms ease both;
}

.typing-celebration strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 18px;
}

.typing-celebration span {
  font-size: 12px;
  font-weight: 760;
}

.typing-step-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.typing-step-meta strong {
  border-radius: 999px;
  background: #eaf7dd;
  color: #245c1d;
  padding: 4px 9px;
  font-size: 12px;
}

.typing-focus-card h3 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.02;
}

.typing-focus-card p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 26px;
}

.typing-target {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
}

.typing-target i,
.typing-target em {
  display: grid;
  width: clamp(42px, 5.2vw, 54px);
  min-width: 0;
  height: clamp(54px, 6vw, 64px);
  place-items: center;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  padding: 0;
  font-size: clamp(26px, 3vw, 32px);
  font-style: normal;
  font-weight: 820;
  box-shadow: 0 12px 26px rgba(16, 19, 15, 0.045);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.typing-target i.space {
  min-width: 28px;
  color: transparent;
}

.typing-target-long {
  flex-wrap: wrap;
  max-width: 860px;
  gap: 8px 13px;
  padding-inline: 14px;
  text-align: center;
}

.typing-word-group {
  display: inline-flex;
  gap: 0;
  align-items: center;
  border-bottom: 3px solid rgba(203, 213, 193, 0.82);
  white-space: nowrap;
}

.typing-word-gap {
  display: inline-grid;
  width: 2px;
  min-width: 2px;
  overflow: hidden;
}

.typing-target-long i {
  display: inline-grid;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0.5px;
  color: var(--ink);
  font-size: 26px;
  line-height: 42px;
  letter-spacing: 0;
  box-shadow: none;
}

.typing-target-long i.space {
  min-width: 2px;
  border-bottom-color: transparent;
}

.typing-target-long i.done {
  color: #245c1d;
  background: transparent;
}

.typing-target-long i.wrong {
  color: #9d3326;
  background: rgba(255, 233, 227, 0.7);
}

.typing-target-long i.current {
  color: var(--ink);
  background: rgba(233, 241, 255, 0.8);
}

.typing-target i.done {
  border-color: rgba(121, 201, 75, 0.64);
  background: #eff8e8;
  color: var(--ink);
  transform: translateY(-1px);
}

.typing-target i.wrong {
  border-color: rgba(232, 105, 85, 0.72);
  background: #ffe9e3;
  color: #9d3326;
  animation: typingShake 180ms ease;
}

.typing-target i.current {
  border-color: rgba(62, 120, 214, 0.56);
  background: #e9f1ff;
  color: var(--ink);
  box-shadow: 0 0 0 5px rgba(62, 120, 214, 0.08), 0 14px 32px rgba(16, 19, 15, 0.06);
}

.typing-target em {
  width: min(100%, 360px);
  letter-spacing: 3px;
}

.typing-input {
  width: min(100%, 760px);
  min-height: 68px;
  resize: none;
  border: 1px solid rgba(154, 177, 143, 0.72);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 16px 20px;
  font-size: 22px;
  font-weight: 650;
  line-height: 30px;
  text-align: center;
  outline: none;
  box-shadow: 0 14px 34px rgba(16, 19, 15, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.typing-input:focus {
  border-color: rgba(62, 120, 214, 0.6);
  box-shadow: 0 0 0 5px rgba(62, 120, 214, 0.1), 0 18px 44px rgba(16, 19, 15, 0.08);
}

.typing-input::placeholder {
  color: rgba(88, 101, 88, 0.58);
}

.typing-input-hidden {
  position: absolute;
  width: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
  resize: none;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

.typing-step-sentence .typing-input,
.typing-step-example .typing-input {
  min-height: 116px;
  text-align: left;
}

.typing-step-sentence .typing-input {
  width: min(100%, 840px);
  min-height: 148px;
  text-align: left;
}

.typing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.typing-sound-toggle {
  min-height: 42px;
  padding-inline: 14px;
}

.typing-sound-toggle[aria-pressed="true"] {
  border-color: rgba(121, 201, 75, 0.54);
  background: #eff8e8;
  color: #245c1d;
}

.screen-keyboard {
  display: grid;
  gap: 7px;
  width: min(100%, 760px);
  margin-top: 0;
}

.keyboard-row {
  display: flex;
  gap: 7px;
  justify-content: center;
}

.keyboard-row:nth-child(2) {
  padding-inline: 24px;
}

.keyboard-row:nth-child(3) {
  padding-inline: 64px;
}

.keyboard-row button {
  display: grid;
  width: 48px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(203, 213, 193, 0.92);
  border-radius: 8px;
  background: #ffffff;
  color: #303830;
  font-size: 14px;
  font-weight: 820;
  box-shadow: 0 8px 18px rgba(16, 19, 15, 0.045);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease, box-shadow 140ms ease;
}

.keyboard-row button.wide {
  width: 64px;
}

.keyboard-row button[data-key="space"] {
  width: min(100%, 360px);
}

.keyboard-row button.used {
  background: #eff8e8;
  color: #245c1d;
}

.keyboard-row button.active {
  border-color: rgba(62, 120, 214, 0.68);
  background: #e9f1ff;
  color: #163b7d;
  box-shadow: 0 0 0 4px rgba(62, 120, 214, 0.1);
}

.keyboard-row button.pressed {
  transform: translateY(2px) scale(0.98);
  box-shadow: inset 0 2px 8px rgba(16, 19, 15, 0.08);
}

.typing-actions .solid-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}

.typing-actions .solid-button:not(:disabled) {
  animation: readyPulse 1300ms ease-in-out infinite;
}

@keyframes typingShake {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-3px);
  }
  70% {
    transform: translateX(3px);
  }
}

@keyframes readyPulse {
  0%,
  100% {
    box-shadow: 0 14px 30px rgba(16, 19, 15, 0.16);
  }
  50% {
    box-shadow: 0 18px 40px rgba(121, 201, 75, 0.22);
  }
}

@keyframes typingStageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typingLift {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-6px) scale(1.005);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.login-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(16, 19, 15, 0.18);
  padding: 24px;
}

.workspace-loading-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(16, 19, 15, 0.56);
  backdrop-filter: blur(7px);
  padding: 24px;
}

.workspace-loading-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(100%, 420px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: #10130f;
  color: #fff;
  padding: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  animation: workspace-loading-enter 180ms ease-out both;
}

.workspace-loading-mark {
  display: inline-flex;
  align-items: end;
  gap: 4px;
  width: 36px;
  height: 36px;
}

.workspace-loading-mark i {
  display: block;
  width: 9px;
  height: 16px;
  border-radius: 999px;
  background: #c6ff4d;
  animation: workspace-loading-pulse 800ms ease-in-out infinite;
}

.workspace-loading-mark i:nth-child(2) { animation-delay: 120ms; }
.workspace-loading-mark i:nth-child(3) { animation-delay: 240ms; }

.workspace-loading-card p,
.workspace-loading-card h2 { margin: 0; }

.workspace-loading-kicker {
  color: #c6ff4d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workspace-loading-card h2 {
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.1;
}

.workspace-loading-card h2 + p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 20px;
}

@keyframes workspace-loading-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes workspace-loading-pulse {
  0%, 100% { height: 13px; opacity: 0.45; }
  50% { height: 32px; opacity: 1; }
}

.login-modal {
  position: relative;
  display: grid;
  gap: 24px;
  width: min(100%, 460px);
  border: 1px solid rgba(16, 19, 15, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 40px 120px rgba(16, 19, 15, 0.24);
}

.login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.login-modal h2,
.login-modal p {
  margin: 0;
}

.login-modal h2 {
  color: #080908;
  font-size: 34px;
  font-weight: 680;
  line-height: 1;
}

.login-modal p {
  margin-top: 10px;
  color: #626862;
  font-size: 15px;
  line-height: 23px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.cloud-status {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(16, 19, 15, 0.1);
  border-radius: 8px;
  background: #f7f8f4;
  padding: 14px;
}

.cloud-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  line-height: 16px;
  text-transform: uppercase;
}

.cloud-status strong {
  color: #586058;
  font-size: 13px;
  font-weight: 650;
  line-height: 19px;
}

.account-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(16, 19, 15, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.account-card strong,
.account-card small {
  display: block;
}

.account-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 19px;
}

.account-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
}

.login-form label {
  display: grid;
  gap: 7px;
}

.login-form span {
  color: #303630;
  font-size: 12px;
  font-weight: 780;
  line-height: 15px;
  text-transform: uppercase;
}

.login-form select,
.login-form input {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 620;
}

.login-form .solid-button {
  width: 100%;
  margin-top: 6px;
}

.login-form .ghost-button {
  width: 100%;
}

.login-switch {
  justify-self: start;
  padding: 2px 0;
  color: var(--olive);
  font-size: 13px;
  font-weight: 760;
}

.login-error {
  border: 1px solid rgba(176, 72, 55, 0.2);
  border-radius: 8px;
  background: rgba(176, 72, 55, 0.08);
  color: #8d3327 !important;
  padding: 10px 12px;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 19px !important;
}

.login-success {
  border: 1px solid rgba(60, 157, 55, 0.22);
  border-radius: 8px;
  background: rgba(60, 157, 55, 0.08);
  color: var(--green-strong) !important;
  padding: 10px 12px;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 19px !important;
}

.login-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px !important;
  line-height: 20px !important;
}

.registration-page {
  min-height: 100vh;
  background: #f5f6f1;
  color: var(--ink);
  padding: 32px clamp(20px, 5vw, 80px) 64px;
}

.registration-shell { width: min(1120px, 100%); margin: 0 auto; }

.registration-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.registration-brand > span:last-child { display: grid; gap: 2px; }
.registration-brand strong { font-size: 16px; }
.registration-brand small { color: var(--muted); font-size: 11px; }

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - 130px);
  padding: 72px 0 40px;
}

.registration-intro { max-width: 560px; }

.registration-intro h1 {
  max-width: 540px;
  margin: 18px 0 20px;
  color: #080908;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.registration-intro > p { max-width: 470px; color: #626862; font-size: 17px; line-height: 27px; }

.registration-points { display: grid; gap: 18px; margin-top: 48px; }

.registration-points > span { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }

.registration-points i {
  grid-row: span 2;
  color: var(--olive);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.registration-points b { font-size: 14px; }
.registration-points small { color: var(--muted); font-size: 13px; line-height: 20px; }

.registration-card {
  display: grid;
  gap: 22px;
  border: 1px solid rgba(16, 19, 15, 0.12);
  border-radius: 10px;
  background: #ffffff;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 28px 80px rgba(16, 19, 15, 0.1);
}

.registration-card h2, .registration-card p { margin: 0; }
.registration-card h2 { font-size: 32px; letter-spacing: -0.04em; line-height: 1; }
.registration-card > div:first-child p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 21px; }

.registration-footnote { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 12px; line-height: 19px; }

.registration-login-link { color: var(--olive); font-size: 13px; font-weight: 760; text-decoration: none; }
.registration-login-link:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .registration-layout { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding-top: 56px; }
  .registration-intro h1 { font-size: clamp(42px, 12vw, 64px); }
  .registration-card { width: min(100%, 520px); }
}

@media (max-width: 1240px) {
  .marketing-hero,
  .section-title-block,
  .proof-led-section,
  .method-layout,
  .pricing-cta-section {
    grid-template-columns: 1fr;
  }

  .student-portal-head,
  .student-dashboard,
  .workbench-grid,
  .ai-ib-grid,
  .ai-tutor-shell,
  .today-route-shell,
  .tutor-focus-shell,
  .tutor-chat-shell,
  .teacher-command-grid,
  .teacher-insight-panel {
    grid-template-columns: 1fr;
  }

  .ib-helper-panel {
    position: static;
  }

  .marketing-hero {
    min-height: 0;
    gap: 44px;
  }

  .editorial-composition {
    grid-template-columns: 1fr 0.72fr;
  }

  .hero-section,
  .clarity-section,
  .lab-intro,
  .standards-section,
  .workflow-section,
  .social-league-head,
  .school-section,
  .buyer-command-head,
  .proof-section,
  .application-head,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero-copy h2,
  .lab-intro h2,
  .section-copy h2,
  .pricing-head h2 {
    font-size: 46px;
  }

  .product-shell {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .hero-preview-shell {
    grid-template-columns: 1fr;
  }

  .preview-quest {
    min-height: 0;
  }

  .teacher-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .standards-grid,
  .clarity-grid,
  .loop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lab-tabs {
    justify-self: stretch;
    width: 100%;
  }

  .standards-grid article:nth-child(3),
  .loop-grid article:nth-child(3) {
    border-right: 0;
  }

  .buyer-command-center {
    grid-template-columns: 1fr;
  }

  .social-league-grid {
    grid-template-columns: 1fr;
  }

  .league-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .league-panel:last-child {
    border-bottom: 0;
  }

  .application-workbench {
    grid-template-columns: 1fr;
  }

  .roi-calculator,
  .pilot-funnel,
  .renewal-brief {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .renewal-brief {
    border-bottom: 0;
  }

  .application-plan-zone,
  .application-form-zone,
  .procurement-zone {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .procurement-zone {
    border-bottom: 0;
  }
}

@media (max-width: 1120px) {
  .app-shell:has(.student-app-main) .topbar {
    grid-template-columns: minmax(150px, auto) minmax(260px, 1fr) auto;
  }

  .app-shell:has(.role-portal-main) .topbar {
    grid-template-columns: minmax(150px, auto) minmax(260px, 1fr) auto;
  }

  .app-shell:has(.student-app-main) .primary-nav {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }

  .app-shell:has(.role-portal-main) .primary-nav {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }

  .app-shell:has(.student-app-main) .brand strong {
    font-size: 17px;
  }

  .app-shell:has(.role-portal-main) .brand strong {
    font-size: 17px;
  }

  .topbar {
    grid-template-columns: minmax(220px, auto) auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    overflow-x: auto;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .student-dashboard .learner-rail {
    grid-template-columns: 1fr 1fr;
  }

  .typing-layout {
    grid-template-columns: 1fr;
  }

  .student-app-main .workbench-grid {
    grid-template-columns: 1fr;
  }

  .teacher-track-list,
  .teacher-result-summary {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-result-row {
    grid-template-columns: minmax(150px, 1fr) 70px 70px 68px minmax(180px, 1fr);
  }

  .student-app-main .workbench-summary {
    grid-column: auto;
    grid-row: auto;
  }

  .today-context-card {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
    align-items: start;
  }

  .today-word-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ai-chat-shell {
    grid-template-columns: 1fr;
  }

  .tutor-course-panel {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
    align-items: start;
  }

  .tutor-panel-head,
  .tutor-progress-meter {
    grid-column: 1;
  }

  .tutor-syllabus-list {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .chat-context-panel {
    position: static;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .audience-grid article + article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 19, 15, 0.14);
    padding: 28px 0;
  }

  .audience-grid article:last-child {
    border-bottom: 0;
  }

  .preview-score-row {
    grid-template-columns: 1fr;
  }

  .learner-rail {
    grid-template-columns: 1fr 1fr;
  }

  .rail-review-card,
  .path-list {
    grid-column: 1 / -1;
  }

  .teacher-panel {
    grid-template-columns: 1fr;
  }

  .placement-sprint {
    grid-template-columns: 1fr;
  }

  .probe-list {
    grid-template-columns: 1fr;
  }

  .recommended-quest {
    grid-template-columns: 1fr;
  }

  .recommended-quest span {
    grid-column: 1;
    grid-row: auto;
    white-space: normal;
  }

  .writing-grid {
    grid-template-columns: 1fr;
  }

  .proof-board,
  .buyer-proof,
  .command-summary,
  .social-metrics,
  .league-impact-strip,
  .proposal-summary {
    grid-template-columns: 1fr;
  }

  .proof-board article,
  .buyer-proof span,
  .command-summary span,
  .social-metrics span,
  .league-impact-strip span,
  .proposal-summary span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-board article:last-child,
  .buyer-proof span:last-child,
  .command-summary span:last-child,
  .social-metrics span:last-child,
  .league-impact-strip span:last-child,
  .proposal-summary span:last-child {
    border-bottom: 0;
  }

  .proposal-summary span,
  .social-metrics span {
    border-left: 0;
    padding: 14px 16px;
  }
}

@media (max-width: 900px) {
  .app-shell:has(.student-app-main) .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .app-shell:has(.role-portal-main) .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .app-shell:has(.student-app-main) .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    overflow-x: auto;
  }

  .app-shell:has(.role-portal-main) .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    overflow-x: auto;
  }

  .app-shell:has(.student-app-main) .topbar-actions {
    justify-self: end;
  }

  .app-shell:has(.role-portal-main) .topbar-actions {
    justify-self: end;
  }

  .app-shell:has(.student-app-main) .connection-pill {
    display: none;
  }

  .app-shell:has(.role-portal-main) .connection-pill {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }

  .topbar-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .connection-pill {
    display: none;
  }

  .student-portal-main {
    padding: 28px 20px 72px;
  }

  .teacher-track-list,
  .teacher-result-summary,
  .teacher-assignment-meta,
  .teacher-insight-metrics {
    grid-template-columns: 1fr;
  }

  .teacher-results-board {
    overflow-x: auto;
  }

  .teacher-result-table {
    min-width: 760px;
  }

  .teacher-assignment-builder .student-section-head h2,
  .teacher-results-board .student-section-head h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .student-app-main {
    padding-top: 18px;
  }

  .ai-chat-head,
  .tutor-lesson-head,
  .focused-workbench-hero,
  .tutor-hero,
  .typing-immersive-head,
  .studio-head,
  .composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .focused-workbench-hero,
  .tutor-hero,
  .today-context-card,
  .today-word-summary,
  .tutor-stepper,
  .tutor-rewrite-card,
  .study-output-actions,
  .tutor-action-row {
    grid-template-columns: 1fr;
  }

  .route-head {
    flex-direction: column;
  }

  .route-time {
    width: max-content;
  }

  .route-step-list li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .route-step-list em {
    grid-column: 2;
    justify-self: start;
  }

  .tutor-stepper span {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tutor-stepper span:last-child {
    border-bottom: 0;
  }

  .tutor-course-panel,
  .tutor-syllabus-list {
    grid-template-columns: 1fr;
  }

  .tutor-panel-head,
  .tutor-progress-meter,
  .tutor-syllabus-list {
    grid-column: auto;
    grid-row: auto;
  }

  .tutor-source-strip {
    grid-template-columns: 1fr;
  }

  .tutor-source-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tutor-source-strip span:last-child {
    border-bottom: 0;
  }

  .tutor-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-analysis-grid {
    grid-template-columns: 1fr;
  }

  .typing-save-state {
    justify-items: start;
  }

  .typing-immersive-shell {
    grid-template-rows: minmax(620px, 1fr);
    min-height: calc(100vh - 156px);
    width: 100%;
    overflow: hidden;
  }

  .typing-focus-card {
    gap: 16px;
    width: 100%;
    max-width: 100%;
    padding: 28px 0 34px;
  }

  .typing-focus-card h3 {
    font-size: 40px;
  }

  .typing-focus-card p {
    width: min(100%, 320px);
    font-size: 16px;
    line-height: 24px;
  }

  .typing-target {
    gap: 3px;
    width: min(100%, 330px);
  }

  .typing-target i,
  .typing-target em {
    width: clamp(34px, 8.6vw, 38px);
    height: 48px;
    padding-inline: 0;
    font-size: 22px;
  }

  .typing-target-long {
    width: min(100%, 340px);
    gap: 6px 9px;
    padding-inline: 0;
  }

  .typing-target-long i {
    min-width: auto;
    height: auto;
    min-height: 32px;
    padding-inline: 1px;
    font-size: 18px;
    line-height: 32px;
  }

  .typing-target-long i.space {
    min-width: 1px;
  }

  .typing-input {
    width: min(100%, 360px);
    min-height: 64px;
    padding: 14px 16px;
    font-size: 20px;
    line-height: 28px;
  }

  .typing-step-sentence .typing-input,
  .typing-step-example .typing-input {
    width: min(100%, 360px);
    min-height: 104px;
  }

  .screen-keyboard {
    width: min(100%, 350px);
    gap: 6px;
  }

  .keyboard-row {
    gap: 4px;
  }

  .keyboard-row:nth-child(2),
  .keyboard-row:nth-child(3) {
    padding-inline: 0;
  }

  .keyboard-row button {
    width: clamp(28px, 8vw, 32px);
    height: 36px;
    font-size: 11px;
  }

  .keyboard-row button.wide {
    width: 54px;
  }

  .keyboard-row button[data-key="space"] {
    width: min(100%, 290px);
  }

  .typing-actions {
    width: min(100%, 350px);
    justify-content: center;
  }

  .chat-message,
  .chat-message.user,
  .tutor-message,
  .tutor-message.user {
    grid-template-columns: 30px minmax(0, 1fr);
    justify-content: start;
  }

  .chat-message.user .chat-avatar,
  .tutor-message.user .chat-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .chat-message.user .chat-bubble,
  .tutor-message.user .chat-bubble {
    grid-column: 2;
    grid-row: 1;
  }

  .student-section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .student-section-head .solid-button,
  .student-section-head .ghost-button {
    width: max-content;
    max-width: 100%;
  }

  .hero-action-stack {
    justify-content: flex-start;
  }

  .student-portal-head h1 {
    font-size: 46px;
  }

  .role-portal-main .student-portal-head h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  main {
    gap: 42px;
    padding: 0 20px 76px;
  }

  .marketing-main {
    gap: 0;
  }

  .marketing-hero {
    padding: 46px 0 56px;
  }

  .marketing-hero h1,
  .marketing-section h2 {
    font-size: 52px;
    line-height: 0.95;
  }

  .marketing-hero p,
  .section-title-block p,
  .proof-led-section p,
  .pricing-cta-section p {
    font-size: 16px;
    line-height: 26px;
  }

  .editorial-composition {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: hidden;
  }

  .decor-dot-grid,
  .decor-square,
  .decor-star,
  .editorial-composition::before {
    display: none;
  }

  .paper-map,
  .paper-main,
  .paper-sticky {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: auto;
    width: auto;
    animation: none;
    rotate: none;
    translate: none;
    transform: none;
  }

  .paper-main {
    min-height: 360px;
  }

  .paper-main h2 {
    font-size: 40px;
  }

  .paper-main p {
    font-size: 19px;
    line-height: 30px;
  }

  .paper-proof {
    position: static;
    width: auto;
  }

  .method-quote {
    transform: none;
  }

  .method-quote::after {
    display: none;
  }

  .marketing-section {
    padding: 60px 0;
  }

  .audience-grid,
  .method-list {
    margin-top: 40px;
  }

  .proof-number-grid {
    grid-template-columns: 1fr;
  }

  .proof-number-grid span {
    border-right: 0;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 24px 0;
  }

  .pricing-cta-section {
    gap: 30px;
    padding: 32px 24px;
  }

  .method-quote {
    position: static;
    margin-top: 0;
  }

  .hero-section {
    min-height: 0;
    padding-top: 34px;
  }

  .hero-copy h2,
  .lab-intro h2,
  .section-copy h2,
  .pricing-head h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .standards-grid,
  .clarity-grid,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .standards-grid article,
  .clarity-grid article,
  .loop-grid article {
    min-height: 0;
  }

  .standards-grid article,
  .loop-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .standards-grid article:last-child,
  .loop-grid article:last-child {
    border-bottom: 0;
  }

  .lab-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-stage {
    padding: 12px;
  }

  .path-list {
    grid-template-columns: 1fr;
  }

  .quest-list,
  .map-nodes,
  .rewrite-compare,
  .rubric-grid,
  .before-after,
  .league-filter-row,
  .class-goal-card,
  .challenge-title,
  .challenge-progress,
  .challenge-stats,
  .invite-code {
    grid-template-columns: 1fr;
  }

  .leaderboard-table {
    overflow-x: auto;
  }

  .leaderboard-head,
  .leaderboard-row {
    min-width: 560px;
  }

  .class-goal-card em {
    white-space: normal;
  }

  .coach-stage,
  .application-form-grid,
  .committee-row,
  .procurement-actions {
    grid-template-columns: 1fr;
  }

  .buyer-segment-tabs {
    grid-template-columns: 1fr;
  }

  .roi-metrics span,
  .renewal-list span {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .roi-metrics strong,
  .renewal-list strong,
  .roi-metrics small,
  .renewal-list small {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .funnel-step {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .funnel-step > strong {
    grid-column: 2;
    justify-self: start;
  }

  .application-price-row,
  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .pipeline-steps {
    gap: 12px;
  }

  .pipeline-steps span {
    grid-template-columns: 38px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .pipeline-steps span::before {
    display: none;
  }

  .command-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .command-grid p {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .brand {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .marketing-hero h1,
  .marketing-section h2 {
    font-size: 42px;
  }

  .paper-panel {
    padding: 18px;
  }

  .proof-number-grid strong,
  .pricing-cta-panel strong {
    font-size: 44px;
  }

  .pricing-cta-panel .solid-button {
    width: 100%;
  }

  .school-logo-section div {
    grid-template-columns: 1fr;
  }

  .school-logo-section span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 19, 15, 0.14);
  }

  .school-logo-section span:last-child {
    border-bottom: 0;
  }

  .pricing-cta-actions,
  .pricing-cta-actions .ghost-button {
    width: 100%;
  }

  .lab-tabs {
    grid-template-columns: 1fr;
  }

  .hero-actions .ghost-button,
  .hero-actions .solid-button,
  .application-form-zone .solid-button {
    width: 100%;
  }

  .product-shell,
  .hero-preview-shell,
  .practice-workspace,
  .teacher-command {
    padding: 10px;
  }

  .preview-card {
    padding: 14px;
  }

  .preview-card h3 {
    font-size: 28px;
  }

  .learner-rail {
    grid-template-columns: 1fr;
  }

  .student-dashboard {
    padding: 10px;
  }

  .typing-layout {
    padding: 10px;
  }

  .student-dashboard .learner-rail {
    grid-template-columns: 1fr;
  }

  .student-portal-head h1 {
    font-size: 38px;
  }

  .role-portal-main .student-portal-head h1 {
    font-size: 36px;
  }

  .workspace-top {
    display: grid;
  }

  .practice-card h2 {
    font-size: 28px;
  }

  .word-head h2 {
    font-size: 42px;
  }

  .hint-grid {
    grid-template-columns: 1fr;
  }

  .assigned-word {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .quest-head {
    grid-template-columns: 1fr;
  }

  .day-checks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .league-panel {
    padding: 18px;
  }

  .application-plan-zone,
  .application-form-zone,
  .procurement-zone {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }

  .editorial-composition {
    transform: none;
  }
}

/* Continuous student learning stream */
.learning-session-header span,
.learning-phase-label {
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.learning-workspace {
  min-width: 0;
  min-height: calc(100vh - 96px);
  padding: 34px clamp(20px, 5vw, 72px) 72px;
  background: transparent;
}

.learning-entry,
.learning-task-card,
.learning-exhausted,
.learning-loading-state {
  width: min(920px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.learning-entry {
  padding: clamp(24px, 5vw, 48px);
}

.learning-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 22px;
}

.learning-filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

.learning-filter-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.learning-type-filter {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.learning-type-filter legend {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-weight: 750;
}

.learning-type-filter legend small {
  margin-left: 7px;
  color: var(--muted);
  font-weight: 500;
}

.learning-type-filter > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.learning-type-filter label {
  position: relative;
}

.learning-type-filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.learning-type-filter span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
}

.learning-type-filter input:checked + span {
  border-color: var(--green-text);
  background: var(--green-soft);
  color: var(--green-text);
  font-weight: 750;
}

.learning-type-filter input:checked + span::before {
  content: "✓";
  margin-right: 7px;
}

.learning-filter-grid select:focus-visible,
.learning-type-filter input:focus-visible + span,
.learning-keyboard button:focus-visible,
.learning-evidence-status button:focus-visible,
.learning-inline-error button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent);
  outline-offset: 3px;
}

.learning-load-error,
.learning-inline-error {
  color: var(--coral-text);
  font-weight: 650;
}

.learning-load-error::before,
.learning-inline-error > span::before {
  content: "! ";
  font-weight: 900;
}

.learning-session-header {
  position: relative;
  display: grid;
  width: min(920px, 100%);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 auto 18px;
}

.learning-session-header > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.learning-session-header small {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.learning-session-header > strong {
  white-space: nowrap;
}

.learning-task-card {
  display: block;
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
  font-family: var(--font);
}

.learning-stage-track {
  display: flex;
  width: min(100%, 520px);
  margin: 0 auto 22px;
  padding: 0 0 10px;
  justify-content: center;
  gap: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.learning-stage-track li {
  position: relative;
  display: flex;
  min-width: 110px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-items: center;
  color: var(--muted-2);
  font-size: 12px;
}

.learning-stage-track li:not(:last-child)::after {
  position: absolute;
  top: 15px;
  right: -1px;
  left: auto;
  width: 18px;
  height: 1px;
  background: var(--line);
  content: "";
}

.learning-stage-track li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
}

.learning-stage-track li.complete { color: var(--green-text); }
.learning-stage-track li.complete > span { border-color: var(--green); background: var(--green-soft); }
.learning-stage-track li.current { color: var(--blue-text); }
.learning-stage-track li.current > span { border-color: var(--blue); background: var(--blue-soft); }

.learning-reading-column {
  width: 100%;
  max-width: 680px;
  min-width: 0;
  margin-inline: auto;
}

.learning-task-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(26px, 5vw, 48px);
  color: var(--muted);
  font-size: 13px;
}

.learning-task-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.learning-instruction {
  margin: 0 0 18px;
  color: var(--muted);
  text-align: center;
}

.learning-direct-task {
  position: relative;
  min-width: 0;
}

.learning-direct-target {
  min-width: 0;
  padding: 24px 12px;
  border: 2px solid transparent;
  border-radius: 13px;
  overflow-wrap: normal;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.learning-direct-task:has(.learning-direct-input:focus) .learning-direct-target {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent);
}

.copy-typing-text {
  width: min(100%, 38ch);
  margin-inline: auto;
  color: var(--muted-2);
  font-weight: 680;
  line-height: 1.55;
  overflow-wrap: normal;
  text-align: center;
  white-space: normal;
  word-break: normal;
}

.copy-typing-text.is-item {
  width: fit-content;
  max-width: min(100%, 38ch);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.35;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.copy-typing-text.is-item .copy-typing-segment:first-child::first-letter {
  text-transform: uppercase;
}

.copy-typing-text.is-example {
  font-size: clamp(22px, 3.5vw, 34px);
  text-wrap: pretty;
}

.copy-typing-segment[data-copy-state="complete"] { color: var(--green-text); }
.copy-typing-segment[data-copy-state="pending"] { color: var(--muted-2); }
.copy-typing-segment[data-copy-state="current"] {
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--coral);
  animation: copy-caret 1s steps(1, end) infinite;
}
.copy-typing-segment[data-copy-state="error"] {
  position: relative;
  display: inline-block;
  width: 0;
  overflow: visible;
  z-index: 1;
  color: var(--coral-text);
  text-decoration: underline 2px var(--coral);
  text-underline-offset: 0.16em;
  transform: translateY(0.72em);
  white-space: nowrap;
}

@keyframes copy-caret { 50% { box-shadow: inset 2px 0 0 transparent; } }

.review-recall-stage:has(.review-direct-input:focus) .review-recall-text {
  border-radius: 10px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent);
}

.learning-direct-progress,
.learning-direct-error {
  margin: 10px 0 0;
  text-align: center;
}

.learning-direct-progress {
  color: var(--ink-soft);
  font-weight: 700;
}

.learning-direct-error {
  min-height: 1.5em;
  color: var(--muted);
}

.learning-direct-error[role="alert"] {
  color: var(--coral-text);
  font-weight: 700;
}

.learning-direct-error[role="alert"]::before {
  content: "Error: ";
}

.learning-direct-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.learning-keyboard {
  display: grid;
  max-width: 560px;
  gap: 8px;
  margin: 30px auto 0;
}

.learning-keyboard-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.learning-keyboard-row:nth-child(2) { padding-inline: 18px; }
.learning-keyboard-row:nth-child(3) { padding-inline: 42px; }
.learning-keyboard-actions { margin-top: 4px; }

.learning-keyboard button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 90ms ease, border-width 90ms ease, background 90ms ease;
}

.learning-keyboard button.learning-key-pressed,
.learning-keyboard button:active {
  border-bottom-width: 1px;
  background: var(--blue-soft);
  transform: translateY(2px);
}

.learning-completion-card {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-warm);
}

.learning-completion-card p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.learning-completion-card .ghost-button { justify-self: start; }

.learning-meaning {
  max-width: 820px;
  margin: 0 auto;
}

.learning-meaning-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.learning-meaning-hero .icon-button { flex: 0 0 auto; }
.learning-meaning-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(190px, .65fr); gap: 14px; margin-top: 24px; }
.learning-meaning-primary, .learning-meaning-side { display: grid; gap: 14px; }
.learning-meaning-definition, .learning-example-preview, .learning-meaning-side > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.learning-meaning-definition { background: var(--surface-warm); }
.learning-meaning-definition small, .learning-example-preview small, .learning-meaning-side small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.learning-meaning-definition p, .learning-example-preview p, .learning-meaning-side p { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.6; }
.learning-meaning-definition p { color: var(--ink); font-size: 18px; }
.learning-meaning-definition strong { display: block; margin-top: 10px; color: var(--green-text); font-size: 16px; }
.learning-example-preview p { font-size: 17px; }
.learning-meaning-side > div { display: grid; gap: 8px; align-content: start; }
.learning-meaning-side strong { color: var(--ink); }
.learning-meaning-side .learning-tag-row { margin: 0; }
.learning-meaning-side p span { display: inline-block; margin: 3px 4px 0 0; padding: 4px 8px; border-radius: 999px; background: var(--surface-warm); color: var(--ink-soft); font-size: 12px; }
.learning-meaning-continue { margin-top: 22px; }

.learning-example-task { max-width: 620px; margin-inline: auto; }
.learning-example-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.learning-example-header span { color: var(--ink); font-weight: 800; }
.learning-example-header small { color: var(--muted); }
.learning-example-task .learning-direct-target { padding: 22px 14px; border-radius: 12px; background: var(--surface-warm); }
.learning-example-task .copy-typing-text.is-example { max-width: 26ch; font-size: clamp(24px, 4vw, 34px); line-height: 1.5; text-align: left; }

.learning-meaning h2 {
  margin: 8px 0 12px;
  overflow-wrap: normal;
  font-size: clamp(38px, 8vw, 68px);
  font-weight: 820;
  line-height: 1.06;
  text-wrap: balance;
  word-break: normal;
}

.learning-grammar-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
}

.learning-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 18px;
}

.learning-definition-grid > div,
.learning-usage,
.learning-collocations {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.learning-definition-grid small,
.learning-usage small,
.learning-collocations small {
  color: var(--muted);
  font-weight: 750;
  text-transform: uppercase;
}

.learning-definition-grid p,
.learning-usage p,
.learning-collocations p {
  margin: 7px 0 0;
  overflow-wrap: normal;
  line-height: 1.65;
}

.learning-definition-grid > div:first-child p { color: var(--ink); font-size: 17px; }
.learning-definition-grid > div:nth-child(2) p { color: var(--muted); font-size: 14px; }

.learning-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

.learning-tag-row span,
.learning-collocations p span {
  display: inline-flex;
  margin: 0 6px 6px 0;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
}

.learning-usage,
.learning-collocations {
  margin-bottom: 12px;
}

.learning-meaning > .solid-button {
  margin-top: 18px;
}

.learning-evidence-status,
.learning-inline-error {
  display: flex;
  width: min(920px, 100%);
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
}

.learning-evidence-status.persisted::before,
.learning-evidence-status.local::before {
  content: "✓";
  color: var(--green-text);
  font-weight: 900;
}

.learning-evidence-status.queued::before,
.learning-evidence-status.saving::before {
  content: "↻";
  color: var(--blue-text);
  font-weight: 900;
}

.learning-evidence-status.failed::before {
  content: "!";
  color: var(--coral-text);
  font-weight: 900;
}

.learning-evidence-status span {
  flex: 1;
}

.learning-evidence-status button,
.learning-inline-error button {
  border: 0;
  background: transparent;
  color: var(--blue-text);
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.learning-prefetch-status {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

.learning-prefetch-status::before {
  content: "↻ ";
}

.learning-exhausted,
.learning-loading-state {
  display: grid;
  justify-items: center;
  padding: clamp(36px, 8vw, 76px) clamp(22px, 6vw, 56px);
  text-align: center;
}

.learning-exhausted > span .icon {
  width: 34px;
  height: 34px;
}

.learning-exhausted h2,
.learning-loading-state h2 {
  margin: 16px 0 8px;
  font-size: clamp(28px, 5vw, 42px);
}

.learning-exhausted p,
.learning-loading-state p {
  max-width: 56ch;
  margin: 0 0 24px;
  color: var(--muted);
}

.learning-exhausted > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 760px) {
  .learning-session-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .learning-session-header > strong {
    position: absolute;
    right: 20px;
  }

  .learning-definition-grid {
    grid-template-columns: 1fr;
  }

  .learning-meaning-layout { grid-template-columns: 1fr; }
  .learning-example-header { align-items: flex-start; flex-direction: column; gap: 4px; }

  .learning-task-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .learning-stage-track {
    width: 100%;
    gap: 0;
  }

  .learning-stage-track li {
    min-width: 0;
    flex: 1;
    gap: 5px;
    font-size: 11px;
  }

  .learning-stage-track li > span { width: 26px; height: 26px; }
  .learning-stage-track li:not(:last-child)::after { top: 13px; right: -8px; left: auto; width: 16px; height: 1px; }
}

@media (max-width: 390px) {
  .learning-workspace {
    padding: 20px 12px 48px;
    overflow-x: clip;
  }

  .learning-entry,
  .learning-task-card {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .learning-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .learning-type-filter > div {
    gap: 7px;
  }

  .learning-type-filter span {
    min-height: 40px;
    padding: 0 11px;
    font-size: 13px;
  }

  .learning-session-header > strong {
    right: 12px;
  }

  .learning-task-meta {
    align-items: flex-start;
    font-size: 12px;
  }

  .learning-direct-target { padding-inline: 2px; }

  .copy-typing-text.is-item {
    font-size: clamp(24px, 8vw, 34px);
  }

  .learning-keyboard button {
    min-width: 40px;
    min-height: 40px;
    padding: 7px 9px;
  }

  .learning-evidence-status,
  .learning-inline-error {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .learning-direct-target,
  .learning-keyboard button,
  .copy-typing-segment[data-copy-state="current"] {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}

.student-app-main:has(.learning-workspace) {
  background: #fff;
  padding-top: 0;
}

.student-app-main:has(.learning-workspace)::before {
  display: none;
}

.student-app-main .learning-workspace {
  display: block;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 64px);
  margin: 0;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 72px) 76px;
  background: #fff;
}

.learning-workspace .learning-session-header {
  display: grid;
  width: min(100%, 930px);
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 auto;
  padding: 0 6px 20px;
  border-bottom: 1px solid var(--line);
}

.learning-session-filter {
  display: inline-flex;
  min-width: 0;
  gap: 8px;
  align-items: baseline;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.learning-session-filter span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.learning-session-filter small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.learning-session-filter:hover span,
.learning-session-filter:focus-visible span {
  color: var(--green-text);
}

.learning-session-filter:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 32%, transparent);
  outline-offset: 6px;
  border-radius: 4px;
}

.learning-session-count {
  justify-self: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.learning-session-actions {
  display: inline-flex;
  min-width: 0;
  gap: 16px;
  align-items: center;
  justify-self: end;
  color: var(--ink);
  white-space: nowrap;
}

.learning-session-actions > strong {
  color: var(--green-text);
  font-size: 14px;
  font-weight: 760;
}

.learning-session-actions .learning-evidence-status {
  display: inline-flex;
  width: auto;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.learning-session-actions .learning-evidence-status > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.learning-session-actions .learning-evidence-status.persisted,
.learning-session-actions .learning-evidence-status.local {
  color: var(--green-text);
}

.learning-session-actions .learning-evidence-status.queued,
.learning-session-actions .learning-evidence-status.saving {
  color: var(--blue-text);
}

.learning-session-actions .learning-evidence-status.failed {
  color: var(--coral-text);
}

.learning-session-actions .learning-evidence-status::before,
.learning-session-actions .learning-evidence-status::after {
  display: none;
}

.learning-session-actions .learning-evidence-status strong {
  font-weight: 680;
}

.learning-session-actions .learning-evidence-status button {
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.learning-workspace .learning-task-card {
  display: block;
  width: min(100%, 930px);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.learning-workspace .learning-reading-column {
  width: 100%;
  max-width: 930px;
}

.learning-workspace .learning-stage-track {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: clamp(58px, 8vw, 108px);
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(50px, 7vw, 82px);
  padding: 0;
  border: 0;
}

.learning-workspace .learning-stage-track li {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 32px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 660;
}

.learning-workspace .learning-stage-track li:not(:last-child)::after {
  top: 16px;
  right: auto;
  left: calc(100% + 14px);
  width: clamp(34px, 5vw, 70px);
  height: 1px;
  background: var(--line-strong);
}

.learning-workspace .learning-stage-track li.current:not(:last-child)::after,
.learning-workspace .learning-stage-track li.complete:not(:last-child)::after {
  background: var(--green-text);
}

.learning-workspace .learning-stage-track li > span {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-color: var(--line-strong);
  background: #fff;
  font-size: 13px;
}

.learning-workspace .learning-stage-track li.complete {
  color: var(--green-text);
}

.learning-workspace .learning-stage-track li.complete > span {
  border-color: var(--green-text);
  background: var(--green-soft);
}

.learning-workspace .learning-stage-track li.current {
  color: var(--green-text);
}

.learning-workspace .learning-stage-track li.current > span {
  border-color: var(--green-text);
  background: var(--green-text);
  color: #fff;
}

.learning-workspace .learning-direct-task {
  display: grid;
  min-width: 0;
  justify-items: center;
}

.learning-workspace .learning-instruction {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.learning-workspace .learning-direct-target {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.learning-workspace .learning-direct-task:has(.learning-direct-input:focus) .learning-direct-target {
  border-color: transparent;
  box-shadow: none;
}

.learning-workspace .copy-typing-text.is-item {
  width: fit-content;
  max-width: 100%;
  color: var(--muted-2);
  font-size: clamp(44px, 6.4vw, 74px);
  font-weight: 690;
  letter-spacing: -0.047em;
  line-height: 1.14;
  text-wrap: balance;
}

.learning-workspace .copy-typing-text.is-item .copy-typing-segment[data-copy-state="complete"] {
  color: var(--green-text);
}

.learning-workspace .copy-typing-text.is-item .copy-typing-segment[data-copy-state="pending"] {
  color: #9fa39b;
}

.learning-workspace .copy-typing-text.is-item .copy-typing-segment[data-copy-state="current"] {
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--ink);
}

.learning-workspace .copy-typing-segment[data-copy-state="error"] {
  display: none;
}

.learning-workspace .copy-typing-text:has(.copy-typing-segment[data-copy-state="error"]) .copy-typing-segment[data-copy-state="current"] {
  color: var(--coral-text);
  box-shadow: inset 2px 0 0 var(--coral);
  animation: none;
}

.learning-workspace .learning-direct-task:has(.copy-typing-segment[data-copy-state="error"]) .learning-target-rule {
  background: color-mix(in srgb, var(--coral) 22%, var(--line));
}

.learning-workspace .learning-target-rule {
  width: min(100%, 650px);
  height: 3px;
  margin: 26px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e8e1;
}

.learning-workspace .learning-target-rule i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green-text);
  transition: width 180ms ease;
}

.learning-workspace .learning-direct-progress {
  display: flex;
  width: min(100%, 650px);
  gap: 7px;
  align-items: baseline;
  justify-content: flex-start;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.learning-workspace .learning-direct-progress strong {
  color: var(--green-text);
  font-weight: 800;
}

.learning-workspace .learning-direct-progress span:last-child {
  margin-left: auto;
  color: var(--ink-soft);
  font-weight: 680;
}

.learning-workspace .learning-direct-task:has(.copy-typing-segment[data-copy-state="error"]) .learning-direct-progress span:last-child {
  margin-left: 0;
  color: var(--muted);
  font-weight: 500;
}

.learning-workspace .learning-direct-error {
  width: min(100%, 650px);
  min-height: 1.4em;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
}

.learning-workspace .learning-direct-error[role="alert"] {
  color: var(--coral-text);
  font-weight: 760;
}

.learning-workspace .learning-keyboard-shell {
  width: min(100%, 650px);
  margin: 34px auto 0;
  padding-top: 0;
}

.learning-keyboard-shell > header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  color: var(--ink-soft);
}

.learning-keyboard-shell > header span {
  font-size: 13px;
  font-weight: 720;
}

.learning-workspace .learning-keyboard {
  width: 100%;
  max-width: 650px;
  gap: 8px;
  margin: 14px auto 0;
}

.learning-workspace .learning-keyboard-row {
  gap: 8px;
}

.learning-workspace .learning-keyboard-row:nth-child(2) {
  padding-inline: 24px;
}

.learning-workspace .learning-keyboard-row:nth-child(3) {
  padding-inline: 0;
}

.learning-workspace .learning-keyboard button {
  min-width: 44px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #dde1da;
  border-bottom-width: 2px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.learning-workspace .learning-keyboard button:hover {
  border-color: color-mix(in srgb, var(--green-text) 45%, var(--line-strong));
  background: #fbfdf9;
}

.learning-workspace .learning-keyboard button.learning-key-pressed,
.learning-workspace .learning-keyboard button:active {
  border-color: var(--green-text);
  border-bottom-width: 1px;
  background: var(--green-soft);
  color: var(--green-text);
  transform: translateY(1px);
}

.learning-workspace .learning-space {
  min-width: 260px;
}

.learning-workspace .learning-shift,
.learning-workspace .learning-backspace {
  min-width: 92px;
}

.learning-workspace .learning-shift.is-active,
.review-workspace .review-shift.is-active {
  border-color: var(--green-text);
  background: var(--green-soft);
  color: var(--green-text);
}

.learning-workspace .learning-example-task {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.learning-workspace .learning-example-header {
  width: 100%;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.learning-workspace .learning-example-header span {
  color: var(--green-text);
  font-size: 15px;
}

.learning-workspace .learning-example-task .learning-direct-target {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.learning-workspace .learning-example-task .copy-typing-text.is-example {
  width: min(100%, 34ch);
  max-width: 100%;
  color: var(--muted-2);
  font-size: clamp(25px, 3.6vw, 38px);
  line-height: 1.44;
  text-align: left;
}

.learning-workspace .learning-meaning {
  width: min(100%, 900px);
  max-width: none;
  margin: 0 auto;
}

.learning-workspace .learning-meaning-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.learning-workspace .learning-word-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.learning-workspace .learning-meaning h2 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 690;
  letter-spacing: -0.052em;
  line-height: 1;
}

.learning-workspace .learning-audio-button {
  display: inline-flex;
  min-height: 42px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.learning-workspace .learning-audio-button:hover {
  border-color: var(--green-text);
  color: var(--green-text);
}

.learning-workspace .learning-audio-button .icon {
  width: 17px;
  height: 17px;
}

.learning-workspace .learning-meaning-divider {
  height: 1px;
  margin: 26px 0 0;
  background: var(--line);
}

.learning-workspace .learning-meaning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(230px, 0.72fr);
  gap: clamp(28px, 4vw, 50px);
  margin-top: 0;
  padding: clamp(24px, 3vw, 36px) 0;
}

.learning-workspace .learning-meaning-definition,
.learning-workspace .learning-meaning-side > div,
.learning-workspace .learning-example-preview {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.learning-workspace .learning-meaning-definition small,
.learning-workspace .learning-meaning-side small,
.learning-workspace .learning-example-preview small {
  color: var(--green-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.learning-workspace .learning-meaning-definition p {
  max-width: 31ch;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

.learning-workspace .learning-meaning-definition strong {
  max-width: 34ch;
  margin-top: 13px;
  color: var(--green-text);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 650;
  line-height: 1.6;
}

.learning-workspace .learning-meaning-side {
  display: grid;
  gap: 0;
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 42px);
}

.learning-workspace .learning-meaning-side > div {
  display: grid;
  gap: 9px;
  padding: 0 0 15px;
}

.learning-workspace .learning-meaning-side > div + div {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.learning-workspace .learning-meaning-side strong,
.learning-workspace .learning-detail-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.55;
}

.learning-workspace .learning-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.learning-workspace .learning-detail-tags span {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.learning-workspace .learning-detail-tags span + span::before {
  margin-right: 14px;
  color: var(--line-strong);
  content: "·";
}

.learning-workspace .learning-collocation-tags {
  gap: 7px;
}

.learning-workspace .learning-collocation-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-warm);
  font-size: 12px;
}

.learning-workspace .learning-collocation-tags span + span::before {
  display: none;
}

.learning-workspace .learning-example-preview {
  margin: 0;
  padding: 21px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.learning-workspace .learning-example-preview header {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
}

.learning-workspace .learning-example-preview header span {
  color: var(--muted);
  font-size: 13px;
}

.learning-workspace .learning-example-preview p {
  max-width: 48ch;
  margin: 13px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.learning-workspace .learning-meaning-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
}

.learning-workspace .learning-meaning-actions > span {
  color: var(--muted);
  font-size: 14px;
}

.learning-workspace .learning-meaning-continue {
  min-height: 46px;
  margin: 0;
  padding-inline: 18px;
}

.learning-workspace .learning-prefetch-status {
  margin-top: 24px;
  font-size: 13px;
}

.learning-workspace .learning-exhausted,
.learning-workspace .learning-loading-state {
  width: min(100%, 930px);
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 760px) {
  .student-app-main .learning-workspace {
    min-height: calc(100vh - 64px);
    padding: 24px 18px 58px;
  }

  .learning-workspace .learning-session-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding-bottom: 16px;
  }

  .learning-session-filter small {
    display: none;
  }

  .learning-session-count {
    font-size: 13px;
  }

  .learning-session-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .learning-workspace .learning-task-card {
    padding-top: 34px;
  }

  .learning-workspace .learning-stage-track {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 48px;
  }

  .learning-workspace .learning-stage-track li {
    flex: 1 1 0;
    gap: 6px;
    font-size: 12px;
    justify-content: flex-start;
  }

  .learning-workspace .learning-stage-track li:nth-child(2) { justify-content: center; }
  .learning-workspace .learning-stage-track li:nth-child(3) { justify-content: flex-end; }

  .learning-workspace .learning-stage-track li > span {
    width: 28px;
    height: 28px;
  }

  .learning-workspace .learning-stage-track li:not(:last-child)::after {
    top: 14px;
    right: 8px;
    left: 58px;
    width: auto;
  }

  .learning-workspace .learning-instruction {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .learning-workspace .copy-typing-text.is-item {
    font-size: clamp(38px, 11.5vw, 54px);
  }

  .learning-workspace .learning-direct-progress,
  .learning-workspace .learning-direct-error,
  .learning-workspace .learning-keyboard-shell {
    width: 100%;
  }

  .learning-workspace .learning-keyboard {
    gap: 5px;
  }

  .learning-workspace .learning-keyboard-row {
    gap: 5px;
  }

  .learning-workspace .learning-keyboard-row:nth-child(2) {
    padding-inline: 14px;
  }

  .learning-workspace .learning-keyboard-row:nth-child(3) {
    padding-inline: 0;
  }

  .learning-workspace .learning-keyboard button {
    min-width: 0;
    min-height: 42px;
    padding: 6px 8px;
    font-size: 13px;
  }

  .learning-workspace .learning-keyboard-row:not(.learning-keyboard-actions) button:not(.learning-shift):not(.learning-backspace) {
    flex: 1 1 0;
  }

  .learning-workspace .learning-space {
    min-width: 190px;
  }

  .learning-workspace .learning-shift,
  .learning-workspace .learning-backspace {
    min-width: 76px;
  }

  .learning-workspace .learning-meaning-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .learning-workspace .learning-audio-button {
    justify-self: start;
  }

  .learning-workspace .learning-meaning-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .learning-workspace .learning-meaning-side {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 24px 0 0;
  }

  .learning-workspace .learning-example-preview header,
  .learning-workspace .learning-meaning-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .learning-workspace .learning-meaning-actions {
    gap: 14px;
  }
}

@media (max-width: 390px) {
  .student-app-main .learning-workspace {
    padding-inline: 13px;
  }

  .learning-session-filter span {
    font-size: 13px;
  }

  .learning-workspace .learning-stage-track li strong {
    font-size: 11px;
  }

  .learning-workspace .learning-stage-track li:not(:last-child)::after {
    left: 52px;
  }

  .learning-workspace .learning-keyboard-row:nth-child(2) {
    padding-inline: 8px;
  }

  .learning-workspace .learning-keyboard-row:nth-child(3) {
    padding-inline: 0;
  }

  .learning-workspace .learning-keyboard button {
    min-height: 39px;
    padding-inline: 5px;
  }

  .learning-workspace .learning-space {
    min-width: 164px;
  }

  .learning-workspace .learning-shift,
  .learning-workspace .learning-backspace {
    min-width: 66px;
  }
}

/* Review uses the same quiet working canvas as Learn while preserving its
   distinct recall-and-apply sequence. */
.student-app-main:has(.review-workspace) {
  background: #fff;
  padding-top: 0;
}

.student-app-main:has(.review-workspace)::before {
  display: none;
}

.student-app-main .review-workspace {
  display: block;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 64px);
  margin: 0;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 72px) 76px;
  background: #fff;
}

.review-workspace .student-section-head,
.review-workspace .review-pass-notice,
.review-workspace .review-entry-card,
.review-workspace .review-session-card,
.review-workspace .review-complete {
  width: min(100%, 930px);
  margin-inline: auto;
}

.review-workspace .student-section-head {
  margin-bottom: 0;
  padding: 0 6px 20px;
  border-bottom: 1px solid var(--line);
}

.review-workspace .student-section-head h1 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.review-workspace .review-pass-notice {
  margin-top: 20px;
}

.review-workspace .review-entry-card,
.review-workspace .review-complete {
  margin-top: 28px;
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-workspace .review-session-card {
  margin-top: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-workspace .review-entry-card {
  padding: clamp(28px, 5vw, 50px) 0;
}

.review-workspace .review-session-head {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .9fr) auto;
  gap: 18px;
  align-items: center;
  padding: 0 6px 20px;
  border: 0;
  background: transparent;
}

.review-workspace .review-session-head > div:first-child {
  min-width: 0;
}

.review-workspace .review-session-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.review-workspace .review-session-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.review-workspace .review-progress-track {
  height: 3px;
  background: #e5e8e1;
}

.review-workspace .review-progress-track i {
  background: var(--green-text);
}

.review-workspace .review-workbook-column {
  width: 100%;
  max-width: 930px;
  padding-top: clamp(34px, 5vw, 58px);
}

.review-workspace .review-recall-stage,
.review-workspace .review-sentence-editor {
  width: min(100%, 760px);
  max-width: none;
  padding: 0;
}

.review-workspace .review-recall-stage > span,
.review-workspace .review-sentence-editor > span {
  color: var(--green-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
}

.review-workspace .review-recall-stage h2,
.review-workspace .review-sentence-editor h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 690;
  letter-spacing: -0.047em;
  line-height: 1.1;
}

.review-workspace .review-recall-stage > .review-recall-chinese {
  margin: 16px auto 0;
  color: var(--green-text);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 650;
}

.review-workspace .review-recall-stage > small {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.review-workspace .review-recall-text {
  margin-top: 38px;
}

.review-workspace .review-direct-progress,
.review-workspace #review-direct-status {
  width: min(100%, 650px);
  margin-inline: auto;
  text-align: left;
}

.review-workspace .review-keyboard {
  width: min(100%, 650px);
  gap: 8px;
  margin: 34px auto 0;
}

.review-workspace .review-keyboard > div {
  gap: 8px;
}

.review-workspace .review-keyboard button {
  min-width: 44px;
  min-height: 46px;
  padding: 8px 12px;
  border-color: #dde1da;
  border-bottom-width: 2px;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.review-workspace .review-keyboard button.review-key-pressed,
.review-workspace .review-keyboard button:active {
  border-color: var(--green-text);
  border-bottom-width: 1px;
  background: var(--green-soft);
  color: var(--green-text);
  transform: translateY(1px);
}

.review-workspace .review-keyboard button.wide {
  min-width: 260px;
}

.review-workspace .review-shift,
.review-workspace .review-backspace {
  min-width: 92px;
}

.review-workspace .review-sentence-editor {
  text-align: left;
}

.review-workspace .review-sentence-editor > p {
  max-width: 46ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.review-workspace .review-sentence-editor textarea {
  min-height: 164px;
  border-color: #dde1da;
  border-radius: 7px;
  background: #fff;
}

.review-workspace .review-action-row {
  justify-content: flex-start;
}

@media (max-width: 760px) {
  .student-app-main .review-workspace {
    min-height: calc(100vh - 64px);
    padding: 24px 18px 58px;
  }

  .review-workspace .review-session-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .review-workspace .review-progress-track {
    grid-column: 1 / -1;
    order: 3;
  }

  .review-workspace .review-workbook-column {
    padding-top: 34px;
  }

  .review-workspace .review-keyboard,
  .review-workspace .review-direct-progress,
  .review-workspace #review-direct-status {
    width: 100%;
  }

  .review-workspace .review-keyboard {
    gap: 5px;
  }

  .review-workspace .review-keyboard > div {
    gap: 5px;
  }

  .review-workspace .review-keyboard > div:not(:last-child) button:not(.review-shift):not(.review-backspace) {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .review-workspace .review-keyboard button {
    min-width: 0;
    min-height: 42px;
    padding: 6px 8px;
    font-size: 13px;
  }

  .review-workspace .review-keyboard button.wide {
    min-width: 190px;
  }

  .review-workspace .review-shift,
  .review-workspace .review-backspace {
    min-width: 76px;
  }
}

@media (max-width: 390px) {
  .student-app-main .review-workspace {
    padding-inline: 13px;
  }

  .review-workspace .review-keyboard button {
    min-height: 39px;
    padding-inline: 5px;
  }

  .review-workspace .review-keyboard button.wide {
    min-width: 164px;
  }

  .review-workspace .review-shift,
  .review-workspace .review-backspace {
    min-width: 66px;
  }
}

/* Continuous student route: Today → spell → learn → use → feedback */
.continuous-today-hero,
.continuous-today-shell,
.student-session,
.student-progress {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.continuous-today-hero {
  padding-bottom: 28px;
}

.continuous-today-hero h2 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.continuous-today-hero p {
  max-width: 680px;
}

.continuous-today-shell {
  display: grid;
  gap: 18px;
}

.continuous-route-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.today-progress {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 26px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.today-progress strong {
  color: var(--ink);
  font-size: 28px;
  font-weight: 650;
}

.today-progress-bar {
  display: block;
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.today-progress-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green-strong);
}

.today-learning-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.today-learning-copy span {
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.today-learning-copy h4 {
  margin: 5px 0 6px;
  font-size: clamp(20px, 2.5vw, 26px);
}

.today-learning-copy p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
}

.daily-learning-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 24px;
  align-items: end;
  padding: 26px 4px 0;
  border-top: 1px solid var(--line);
}

.daily-learning-report > span {
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-learning-report h3,
.daily-learning-report p {
  grid-column: 1;
  margin: 0;
}

.daily-learning-report h3 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.035em;
}

.daily-learning-report p {
  color: var(--muted);
}

.daily-learning-report button {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.today-learning-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.continuous-today-shell .diagnostic-today-card {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.continuous-today-shell .diagnostic-status-mark {
  display: none;
}

.continuous-today-shell .diagnostic-today-copy h3 {
  font-size: 18px;
}

.continuous-today-shell .diagnostic-today-copy p {
  max-width: 680px;
  color: var(--muted);
}

.continuous-today-shell .diagnostic-today-card .card-kicker {
  color: var(--green-strong);
}

@media (max-width: 760px) {
  .today-learning-actions {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .today-learning-buttons {
    display: grid;
    justify-content: stretch;
  }

  .today-learning-buttons button {
    width: 100%;
  }
}

.app-shell:has(.student-session) .topbar {
  display: none;
}

.student-session {
  min-height: 100vh;
  padding: 24px clamp(20px, 5vw, 64px) 48px;
}

.session-header {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.session-exit,
.session-sound {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.session-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9ede5;
}

.session-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 220ms ease;
}

.session-stage-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 12px;
}

.session-stage-list span {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f0f2ee;
  color: var(--muted);
  font-size: 12px;
}

.session-stage-list span.active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
}

.session-focus {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.session-word-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.session-word-meta em {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--blue);
  font-style: normal;
}

.session-instruction {
  margin: 26px 0 0;
  color: var(--muted);
}

.session-focus > h2 {
  margin: 10px 0 28px;
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.session-input {
  width: min(100%, 720px);
  border: 2px solid #bfd2f4;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 38px rgba(62, 120, 214, 0.09);
}

.spelling-input {
  padding: 16px 20px;
  text-align: center;
  font-size: 30px;
}

.sentence-input {
  min-height: 132px;
  padding: 18px 20px;
  resize: vertical;
  font-size: 21px;
  line-height: 1.55;
}

.session-helper,
.session-error {
  min-height: 24px;
  margin: 10px 0;
  font-size: 14px;
}

.session-helper {
  color: var(--muted);
}

.session-error {
  color: #b5473d;
}

.session-keyboard {
  width: min(100%, 680px);
  margin-top: 22px;
  opacity: 0.58;
}

.session-keyboard > div {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.session-keyboard button {
  width: 48px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f8f6;
  color: var(--muted);
}

.session-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: min(100%, 720px);
  margin-top: 20px;
}

.word-audio-button {
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: 20px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
}

.word-learning-details {
  display: grid;
  width: min(100%, 720px);
  gap: 12px;
  text-align: left;
}

.word-learning-details span,
.word-learning-details small {
  color: var(--muted);
}

.word-learning-details strong {
  font-size: 22px;
  font-weight: 500;
}

.word-learning-details p {
  margin: 0;
}

.word-learning-details blockquote {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.submitted-sentence,
.session-feedback-card,
.session-feedback-state {
  width: min(100%, 760px);
  text-align: left;
}

.submitted-sentence {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.submitted-sentence span,
.feedback-result span,
.feedback-points span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.submitted-sentence p {
  margin: 5px 0 0;
  font-size: 18px;
}

.session-feedback-card,
.session-feedback-state {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.feedback-result {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feedback-result strong {
  font-size: 21px;
}

.feedback-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feedback-points article {
  padding: 14px;
  border-radius: 10px;
  background: var(--surface);
}

.feedback-points p {
  margin: 6px 0 0;
}

.session-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: session-spin 0.8s linear infinite;
}

@keyframes session-spin {
  to { transform: rotate(360deg); }
}

.session-complete-card {
  width: min(100%, 720px);
  margin: 14vh auto 0;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.session-complete-card h2 {
  margin: 10px 0;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1;
}

.progress-evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.progress-evidence-list article {
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
}

.progress-evidence-list article:nth-child(odd) {
  padding-right: 28px;
}

.progress-evidence-list article:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.progress-evidence-list span,
.progress-evidence-list p {
  color: var(--muted);
}

.progress-evidence-list strong {
  display: block;
  margin: 8px 0 2px;
  font-size: 36px;
}

@media (max-width: 720px) {
  .continuous-today-hero h2 {
    font-size: 46px;
  }

  .today-progress,
  .daily-learning-report {
    grid-template-columns: 1fr;
  }

  .daily-learning-report button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .continuous-today-shell .diagnostic-today-card,
  .session-header {
    grid-template-columns: 1fr auto;
  }

  .session-header .session-progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .session-sound {
    display: none;
  }

  .student-session {
    padding: 18px 16px 32px;
  }

  .session-stage-list {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .session-focus {
    min-height: 600px;
  }

  .session-keyboard {
    display: none;
  }

  .feedback-points,
  .progress-evidence-list {
    grid-template-columns: 1fr;
  }

  .progress-evidence-list article:nth-child(odd),
  .progress-evidence-list article:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .session-action-row {
    flex-direction: column-reverse;
  }

  .session-action-row button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .session-progress i,
  .session-spinner {
    animation: none !important;
    transition: none !important;
  }
}

/* Guided Tutor: teacher task → coached conversation → student-controlled submission */
.app-shell:has(.guided-tutor) .topbar {
  display: none;
}

.guided-tutor {
  width: min(100%, 1040px);
  margin-inline: auto;
  padding-bottom: 72px;
}

.guided-tutor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.guided-tutor-header > div:first-child {
  max-width: 680px;
}

.guided-tutor-header span,
.guided-tutor-header p {
  color: var(--muted);
}

.guided-tutor-header > div:first-child > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guided-tutor-header h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.guided-tutor-header p {
  margin: 12px 0 0;
  font-size: 17px;
}

.guided-tutor-meta {
  display: grid;
  min-width: 140px;
  justify-items: end;
  gap: 5px;
}

.guided-tutor-meta strong {
  font-size: 24px;
  font-weight: 600;
}

.guided-tutor-meta .ghost-button {
  min-height: 44px;
  margin-top: 8px;
}

.guided-tutor-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.guided-tutor-progress li {
  display: grid;
  min-height: 96px;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.guided-tutor-progress li > span {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
}

.guided-tutor-progress li strong {
  font-size: 13px;
  font-weight: 600;
}

.guided-tutor-progress li small {
  color: var(--muted);
}

.guided-tutor-progress li.complete {
  background: var(--surface);
}

.guided-tutor-progress li.complete > span {
  color: var(--green-strong);
}

.guided-tutor-progress li.active {
  border-color: #9fb9e5;
  background: var(--blue-soft);
  box-shadow: inset 0 3px 0 var(--blue);
}

.guided-tutor-progress li.active > span {
  background: var(--blue);
  color: #fff;
}

.guided-tutor-workspace {
  width: min(100%, 780px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.guided-tutor-goal {
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfa;
}

.guided-tutor-goal > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guided-tutor-goal h3 {
  margin: 8px 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.guided-tutor-goal p {
  margin: 0;
  color: var(--muted);
}

.guided-tutor-thread {
  display: flex;
  min-height: 300px;
  max-height: 520px;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 28px;
  background: #f7f8f5;
}

.guided-turn {
  width: fit-content;
  max-width: 82%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px;
  background: #fff;
  text-align: left;
}

.guided-turn.student {
  margin-left: auto;
  border-color: #bfd2f4;
  border-radius: 14px 4px 14px 14px;
  background: var(--blue-soft);
}

.guided-turn > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guided-turn p {
  margin: 0;
}

.guided-turn strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.45;
}

.guided-turn small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.guided-turn-issue {
  margin-top: 8px !important;
  padding-left: 10px;
  border-left: 2px solid var(--brand-warning, #e96516);
  color: var(--muted);
}

.guided-turn.loading {
  color: var(--muted);
  animation: guided-tutor-pulse 1.4s ease-in-out infinite;
}

.guided-tutor-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid #efc6bf;
  border-bottom: 1px solid #efc6bf;
  background: #fff7f5;
}

.guided-tutor-fallback-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fbfaf7;
}

.guided-tutor-fallback-action p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.guided-tutor-fallback-action button {
  min-height: 44px;
  flex: 0 0 auto;
}

.guided-tutor-error p {
  margin: 0;
  color: #9f3f36;
}

.guided-tutor-composer {
  padding: 22px 24px 18px;
  border-top: 1px solid var(--line);
}

.guided-tutor-composer label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.guided-tutor-composer textarea {
  width: 100%;
  min-height: 104px;
  padding: 14px 16px;
  border: 2px solid #bfd2f4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.guided-tutor-composer textarea:focus {
  outline: 3px solid rgba(86, 131, 210, 0.18);
  outline-offset: 2px;
}

.guided-tutor-composer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.guided-tutor-composer button {
  min-height: 44px;
}

.guided-tutor-composer > small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.guided-tutor-input-error {
  margin: 8px 0 0;
  color: #9f3f36;
}

.guided-tutor-rationale {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}

.guided-tutor-rationale summary {
  color: var(--muted);
  cursor: pointer;
}

.guided-tutor-rationale p {
  margin: 10px 0 0;
  color: var(--muted);
}

.guided-tutor-complete {
  padding: 32px 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.guided-tutor-complete > span {
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.guided-tutor-complete h3 {
  margin: 8px 0;
  font-size: 26px;
}

.guided-tutor-complete p {
  color: var(--muted);
}

@keyframes guided-tutor-pulse {
  50% { opacity: 0.55; }
}

@media (max-width: 820px) {
  .guided-tutor-progress {
    grid-template-columns: 1fr;
  }

  .guided-tutor-progress li {
    grid-template-columns: auto 1fr auto;
    min-height: 0;
    align-items: center;
  }

  .guided-tutor-progress li > span {
    grid-row: 1;
    margin: 0 8px 0 0;
  }
}

@media (max-width: 560px) {
  .guided-tutor {
    padding-inline: 0;
  }

  .guided-tutor-header {
    display: grid;
    gap: 18px;
  }

  .guided-tutor-meta {
    grid-template-columns: auto 1fr auto;
    width: 100%;
    align-items: center;
    justify-items: start;
  }

  .guided-tutor-meta .ghost-button {
    margin: 0;
  }

  .guided-tutor-workspace {
    border-inline: 0;
    border-radius: 0;
  }

  .guided-tutor-goal,
  .guided-tutor-thread,
  .guided-tutor-composer {
    padding-inline: 18px;
  }

  .guided-turn {
    max-width: 94%;
  }

  .guided-tutor-composer > div {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .guided-tutor-fallback-action {
    align-items: stretch;
    flex-direction: column;
  }

  .guided-tutor-composer button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guided-turn.loading {
    animation: none !important;
  }
}

/* Student continuity: Today assignment → Tutor evidence → Progress */
.teacher-tutor-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.teacher-tutor-task-copy {
  max-width: 700px;
}

.teacher-tutor-task-copy > span,
.teacher-tutor-task-status > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.teacher-tutor-task h3 {
  margin: 6px 0;
  font-size: 22px;
  font-weight: 500;
}

.teacher-tutor-task p {
  margin: 0;
  color: var(--muted);
}

.teacher-tutor-task-status {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 10px;
}

.teacher-tutor-task-status .ghost-button {
  min-height: 44px;
}

.tutor-completion-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.tutor-completion-stats span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.tutor-completion-stats strong {
  color: var(--ink);
  font-size: 24px;
}

.tutor-completion-evidence {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  text-align: left;
}

.tutor-completion-evidence li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.tutor-completion-evidence span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.tutor-completion-evidence p {
  margin: 0;
  color: var(--ink);
}

.tutor-completion-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.tutor-completion-actions button {
  min-height: 44px;
}

.student-progress-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 36px 0;
  padding: 28px;
  border-radius: 14px;
  background: var(--blue-soft);
}

.student-progress-next span,
.progress-timeline-head > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.student-progress-next h3,
.progress-timeline-head h3 {
  margin: 6px 0;
  font-size: 24px;
}

.student-progress-next p {
  margin: 0;
  color: var(--muted);
}

.student-progress-next button {
  min-width: 180px;
  min-height: 48px;
}

.progress-evidence-timeline {
  padding-top: 4px;
}

.progress-timeline-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.progress-evidence-timeline ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-evidence-timeline li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.progress-evidence-timeline li > i {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.progress-evidence-timeline li strong {
  display: block;
  margin-bottom: 4px;
}

.progress-evidence-timeline li p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.progress-evidence-timeline time {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.progress-empty-state {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.progress-empty-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .teacher-tutor-task,
  .student-progress-next {
    align-items: stretch;
    flex-direction: column;
  }

  .teacher-tutor-task-status {
    justify-items: stretch;
  }

  .teacher-tutor-task-status > span {
    text-align: left;
  }

  .teacher-tutor-task-status button,
  .student-progress-next button {
    width: 100%;
  }

  .tutor-completion-stats {
    grid-template-columns: 1fr;
  }

  .tutor-completion-evidence li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tutor-completion-actions {
    flex-direction: column;
  }

  .tutor-completion-actions button {
    width: 100%;
  }

  .progress-evidence-timeline li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .progress-evidence-timeline time {
    grid-column: 2;
  }
}

/* ==========================================================================
   Public homepage · Artful Institutional system
   Deliberately scoped beneath .marketing-main so product workspaces retain
   their established component geometry and density.
   ========================================================================== */

.marketing-main {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: 0;
  background: var(--surface-warm);
  color: var(--ink);
}

.marketing-main :where(h1, h2, h3, p) {
  margin-top: 0;
}

.marketing-main :where(p, li) {
  font-size: max(14px, 1rem);
}

.marketing-main .section-label,
.marketing-main .offset-paper > span,
.marketing-main .program-index article > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}

.marketing-main .section-label {
  color: var(--green-text);
}

.marketing-main .learning-label {
  color: var(--green-text);
}

.marketing-main .editorial-folio {
  position: absolute;
  top: 106px;
  left: 32px;
  color: var(--coral-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.institutional-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  min-height: calc(100svh - 70px);
  border-bottom: 1px solid var(--ink);
  background: var(--surface-warm);
}

.institutional-hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(64px, 7vw, 104px) clamp(38px, 6vw, 88px) 72px clamp(70px, 8vw, 116px);
}

.institutional-hero h1 {
  max-width: 780px;
  margin: 18px 0 24px;
  color: var(--ink);
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.01;
  text-wrap: balance;
}

.institutional-hero .hero-summary {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
  text-wrap: pretty;
}

.marketing-main .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.marketing-main :where(.solid-button, .ghost-button) {
  min-height: 44px;
  border-radius: 8px;
  padding-inline: 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.marketing-main .solid-button {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.marketing-main .solid-button::after {
  display: none;
}

.marketing-main .ghost-button {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.marketing-main :where(.solid-button, .ghost-button):hover {
  transform: none;
}

.marketing-main .solid-button:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(60, 157, 55, .16);
}

.marketing-main .ghost-button:hover {
  background: var(--surface-learning);
  box-shadow: none;
}

.marketing-main :where(.solid-button, .ghost-button):active {
  filter: saturate(.88);
  box-shadow: none;
}

.marketing-main :where(button, a):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.app-shell:has(.marketing-main) .topbar :where(.brand, .nav-button, .solid-button, .ghost-button) {
  min-height: 44px;
}

.app-shell:has(.marketing-main) .topbar :where(button, a):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

#public-students,
#public-teachers,
#public-leaders,
#public-programs,
#public-method,
#public-pricing {
  scroll-margin-top: 88px;
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  background: var(--surface-learning);
}

.art-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.art-orb-lime {
  top: -76px;
  right: -68px;
  width: 260px;
  height: 260px;
  background: var(--green);
}

.art-orb-coral {
  bottom: -82px;
  left: -62px;
  width: 230px;
  height: 230px;
  background: var(--coral);
}

.art-orb-blue {
  right: 7%;
  bottom: 9%;
  width: 96px;
  height: 96px;
  background: var(--blue);
}

.offset-paper {
  border: 1px solid rgba(20, 35, 55, .14);
  background: #fff;
  box-shadow: var(--shadow-paper);
}

.hero-paper {
  position: absolute;
  inset: 17% 11% auto 12%;
  z-index: 1;
  display: block;
  min-height: 310px;
  padding: 40px;
  transform: rotate(-2.5deg);
}

.hero-paper > span {
  color: var(--coral-text);
}

.hero-paper strong {
  display: block;
  margin: 25px 0 18px;
  color: var(--navy);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.07;
}

.hero-paper p {
  max-width: 340px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.paper-progress {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  background: var(--blue-soft);
}

.paper-progress b {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--blue);
}

.audience-ledger {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border-bottom: 1px solid var(--ink);
  background: #fff;
}

.audience-ledger > .editorial-folio,
.learning-method > .editorial-folio {
  top: 42px;
}

.audience-ledger > h2 {
  grid-column: 1;
  margin: 0;
  padding: 86px 34px 42px;
  border-right: 1px solid var(--ink);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.audience-ledger-rows {
  grid-column: 2;
}

.audience-ledger-row {
  display: grid;
  grid-template-columns: 48px 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px 38px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.audience-ledger-row:last-child {
  border-bottom: 0;
}

.audience-ledger-row::before {
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
}

.audience-ledger-row:nth-child(1)::before { content: "01"; }
.audience-ledger-row:nth-child(2)::before { content: "02"; }
.audience-ledger-row:nth-child(3)::before { content: "03"; }

.audience-ledger-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.audience-ledger-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.learning-method {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-bottom: 1px solid var(--ink);
  background: var(--surface-warm);
}

.learning-method > h2 {
  grid-column: 1;
  align-self: center;
  max-width: 700px;
  margin: 0;
  padding: 100px clamp(38px, 6vw, 86px) 76px;
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.method-steps {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface-learning);
}

.method-step {
  min-height: 200px;
  padding: 34px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-step:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.method-step > span {
  color: var(--green-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.method-step h3 {
  margin: 44px 0 10px;
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.method-step p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.evidence-section {
  padding: clamp(56px, 7vw, 88px) clamp(30px, 6vw, 72px);
  background: #fff;
}

.decision-evidence-copy {
  position: relative;
  max-width: 760px;
  padding-left: 52px;
}

.decision-evidence-copy .editorial-folio {
  top: 12px;
  left: 0;
}

.decision-evidence-copy h2,
.program-section > h2,
.pilot-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.decision-evidence-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.evidence-objects {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 26px;
  margin-top: 44px;
}

.teacher-question-card {
  min-height: 270px;
  padding: 30px 6px;
  border-top: 4px solid var(--coral);
  background: transparent;
}

.teacher-question-card::before {
  display: block;
  margin-bottom: 68px;
  color: var(--coral-text);
  content: "Teacher decision";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.teacher-question-card h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.evidence-stack {
  align-self: start;
  padding: 36px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 9px 9px 0 var(--blue-soft), -7px -7px 0 var(--coral-soft);
}

.evidence-stack ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-stack li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.evidence-stack li:last-child {
  border-bottom: 0;
}

.evidence-stack li::before {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--blue-text);
  content: "✓";
  font-size: 13px;
  font-weight: 700;
}

.program-section {
  position: relative;
  padding: clamp(58px, 7vw, 90px) clamp(30px, 6vw, 72px) clamp(70px, 8vw, 104px);
  background: var(--surface-warm);
}

.program-section > .editorial-folio {
  top: 78px;
  left: clamp(30px, 6vw, 72px);
}

.program-section > h2 {
  max-width: 780px;
  margin-left: 52px;
}

.program-index {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  margin-top: 44px;
  border-block: 1px solid var(--ink);
  background: #fff;
}

.program-index article {
  min-height: 230px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.program-index article:last-child {
  border-right: 0;
}

.program-index article:first-child {
  background: var(--surface-learning);
}

.program-index article > span {
  color: var(--green-text);
}

.program-index article:nth-child(2) > span {
  color: var(--blue-text);
}

.program-index article:nth-child(3) > span {
  color: var(--coral-text);
}

.program-index h3 {
  margin: 50px 0 14px;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.program-index article:first-child h3 {
  font-size: clamp(29px, 2.8vw, 41px);
}

.program-index p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pilot-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(52px, 6vw, 76px);
  background: var(--navy);
  color: #fff;
}

.pilot-cta > .editorial-folio {
  top: 62px;
  left: 32px;
  color: var(--coral-on-dark);
}

.pilot-cta .section-label,
.pilot-cta h2,
.pilot-cta > p:not(.section-label) {
  grid-column: 1;
}

.pilot-cta .section-label {
  margin: 0;
  color: var(--green);
}

.pilot-cta h2 {
  margin: 6px 0 2px;
  color: #fff;
}

.pilot-cta > p:not(.section-label) {
  max-width: 650px;
  margin: 0;
  color: #dce3ec;
  font-size: 17px;
  line-height: 1.6;
}

.pilot-cta .solid-button {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 48px;
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.pilot-cta .solid-button:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--navy);
}

@media (max-width: 1120px) {
  .app-shell:has(.marketing-main) .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    min-height: 64px;
    padding: 10px clamp(12px, 2.5vw, 28px);
  }

  .app-shell:has(.marketing-main) .primary-nav {
    display: none;
  }

  .app-shell:has(.marketing-main) .topbar-actions {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .app-shell:has(.marketing-main) .connection-pill {
    display: none;
  }

  .institutional-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    min-height: calc(100svh - 64px);
  }

  .institutional-hero h1 {
    font-size: clamp(48px, 6vw, 64px);
  }
}

@media (max-width: 900px) {
  .institutional-hero,
  .audience-ledger,
  .learning-method,
  .evidence-objects,
  .pilot-cta {
    grid-template-columns: 1fr;
  }

  .institutional-hero-copy {
    min-height: 540px;
  }

  .hero-art {
    min-height: 470px;
  }

  .audience-ledger > h2 {
    grid-column: 1;
    padding: 86px 38px 42px 74px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .audience-ledger-rows,
  .method-steps {
    grid-column: 1;
  }

  .learning-method > h2 {
    grid-column: 1;
    min-height: 390px;
  }

  .program-index {
    grid-template-columns: 1fr;
  }

  .program-index article,
  .program-index article:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .program-index article:last-child {
    border-bottom: 0;
  }

  .pilot-cta .solid-button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 18px;
  }

  .pilot-cta {
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .app-shell:has(.marketing-main) .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px;
  }

  .app-shell:has(.marketing-main) .topbar-actions {
    gap: 6px;
  }

  .app-shell:has(.marketing-main) .topbar-actions :where(.ghost-button, .solid-button) {
    padding-inline: 10px;
    font-size: 12px;
  }

  .marketing-main {
    overflow-x: hidden;
  }

  .marketing-main :where(p, li) {
    font-size: 16px;
  }

  .institutional-hero-copy {
    min-height: 0;
    padding: 56px 24px 48px 54px;
  }

  .institutional-hero {
    min-height: calc(100svh - 70px);
  }

  .marketing-main .editorial-folio {
    top: 62px;
    left: 18px;
  }

  .institutional-hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .institutional-hero .hero-summary,
  .marketing-main .section-copy {
    font-size: 16px;
  }

  .marketing-main .hero-paper p,
  .marketing-main .audience-ledger-row p,
  .marketing-main .learning-method .method-step p,
  .marketing-main .decision-evidence-copy p,
  .marketing-main .evidence-stack li,
  .marketing-main .program-index p,
  .marketing-main .pilot-cta > p:not(.section-label) {
    font-size: 16px;
  }

  .marketing-main .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .marketing-main .hero-actions button {
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }

  .hero-art {
    min-height: 430px;
  }

  .hero-paper {
    inset: 15% 8% auto;
    min-height: 290px;
    padding: 30px 26px;
    transform: rotate(-1deg);
  }

  .hero-paper strong {
    font-size: clamp(34px, 10vw, 43px);
  }

  .art-orb-lime {
    width: 190px;
    height: 190px;
  }

  .art-orb-coral {
    width: 170px;
    height: 170px;
  }

  .audience-ledger > h2 {
    padding: 92px 24px 38px 54px;
  }

  .audience-ledger-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 24px;
  }

  .audience-ledger-row p {
    grid-column: 2;
  }

  .learning-method > h2 {
    min-height: 0;
    padding: 100px 24px 58px 54px;
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-step,
  .method-step:nth-last-child(-n + 2) {
    min-height: 180px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .method-step:last-child {
    border-bottom: 0;
  }

  .evidence-section,
  .program-section {
    padding-inline: 24px;
  }

  .decision-evidence-copy {
    padding-top: 42px;
    padding-left: 0;
  }

  .decision-evidence-copy .editorial-folio {
    top: 4px;
    left: 0;
  }

  .teacher-question-card::before {
    margin-bottom: 42px;
  }

  .evidence-stack {
    padding: 24px;
    box-shadow: 7px 7px 0 var(--blue-soft), -5px -5px 0 var(--coral-soft);
  }

  .program-section {
    padding-top: 96px;
  }

  .program-section > .editorial-folio {
    top: 62px;
    left: 24px;
  }

  .program-section > h2 {
    margin-left: 0;
  }

  .program-index article {
    padding: 26px 22px;
  }

  .pilot-cta {
    padding: 94px 24px 58px 54px;
  }

  .pilot-cta > .editorial-folio {
    top: 62px;
    left: 18px;
  }

  .pilot-cta .solid-button {
    width: 100%;
    min-height: 48px;
  }

  .marketing-main :where(button, a) {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .app-shell:has(.marketing-main) .brand > span:not(.brand-mark) {
    display: none;
  }
}

@media (max-width: 360px) {
  .app-shell:has(.marketing-main) .topbar {
    gap: 6px;
    padding-inline: 8px;
  }

  .app-shell:has(.marketing-main) .topbar-actions :where(.ghost-button, .solid-button) {
    padding-inline: 8px;
  }

  .hero-art {
    min-height: 460px;
  }

  .hero-paper {
    inset: 12% 7% auto;
    min-height: 280px;
    padding: 26px 22px;
  }

  .hero-paper strong {
    margin-block: 22px 14px;
    font-size: clamp(32px, 11vw, 38px);
  }

  .hero-paper p {
    margin-bottom: 22px;
  }
}

/* Public homepage motion follows the page's editorial reading groups. */
.marketing-main .reveal-item {
  opacity: 0;
  transform: translateY(12px);
  animation: none;
  transition:
    opacity 560ms var(--ease-editorial) var(--reveal-delay, 0ms),
    transform 560ms var(--ease-editorial) var(--reveal-delay, 0ms);
}

.marketing-main .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

.marketing-main .hero-paper.reveal-item {
  --hero-paper-angle: -2.5deg;
  transform: rotate(var(--hero-paper-angle)) translateY(12px);
  transition:
    opacity 560ms var(--ease-editorial) var(--reveal-delay, 0ms),
    transform 680ms var(--ease-editorial) var(--reveal-delay, 0ms),
    box-shadow 680ms var(--ease-editorial) var(--reveal-delay, 0ms);
}

.marketing-main .hero-paper.reveal-item.is-visible {
  transform: rotate(var(--hero-paper-angle));
}

.marketing-main :where(.hero-paper, .art-orb) {
  transition:
    transform 680ms var(--ease-editorial),
    box-shadow 680ms var(--ease-editorial);
}

.app-shell:has(.marketing-main) :where(.solid-button, .ghost-button) .icon {
  transition: transform 200ms var(--ease-editorial);
}

.app-shell:has(.marketing-main) [data-action="open-demo-request"] {
  transform: none;
}

@media (max-width: 720px) {
  .marketing-main .hero-paper.reveal-item {
    --hero-paper-angle: -1deg;
  }
}

@media (max-width: 900px) {
  .institutional-hero-copy {
    min-height: 0;
  }
}

@media (hover: hover) {
  .marketing-main .hero-art:hover .hero-paper.reveal-item.is-visible {
    transform: rotate(-.7deg) translateY(-7px);
    box-shadow: 0 30px 66px rgba(20, 35, 55, .16);
  }

  .marketing-main .hero-art:hover .art-orb-lime {
    transform: translate(-10px, 12px);
  }

  .marketing-main .hero-art:hover .art-orb-coral {
    transform: translate(8px, -6px);
  }

  .marketing-main .hero-art:hover .art-orb-blue {
    transform: translate(-4px, -3px);
  }

  .app-shell:has(.marketing-main) :where(.solid-button, .ghost-button):hover .icon {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell:has(.marketing-main) :where(.solid-button, .ghost-button) .icon {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .marketing-main .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .marketing-main :where(.hero-paper, .art-orb, .solid-button svg, .solid-button .icon, .ghost-button svg, .ghost-button .icon),
  .marketing-main .hero-art:hover :where(.hero-paper, .art-orb) {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .marketing-main .hero-paper.reveal-item,
  .marketing-main .hero-art:hover .hero-paper.reveal-item.is-visible {
    transform: rotate(var(--hero-paper-angle)) !important;
  }
}

/* Refined editorial motion for the institutional homepage. */
.marketing-main .reveal-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 760ms var(--ease-editorial) var(--reveal-delay, 0ms),
    transform 820ms var(--ease-editorial) var(--reveal-delay, 0ms),
    background-color 360ms ease,
    box-shadow 480ms ease;
}

.marketing-main .reveal-item.reveal-scale {
  transform: translate3d(0, 20px, 0) scale(0.955);
}

.marketing-main .reveal-item.reveal-side {
  transform: translate3d(-34px, 6px, 0);
}

.marketing-main .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

.marketing-main .hero-paper.reveal-item {
  --hero-paper-angle: -2.5deg;
  opacity: 0;
  rotate: calc(var(--hero-paper-angle) + var(--parallax-r, 0deg));
  translate: var(--parallax-x, 0px) calc(var(--parallax-y, 0px) + 26px);
  transform: none;
  transition:
    opacity 820ms var(--ease-editorial) var(--reveal-delay, 0ms),
    translate 620ms var(--ease-editorial),
    rotate 620ms var(--ease-editorial),
    box-shadow 520ms ease;
}

.marketing-main .hero-paper.reveal-item.is-visible {
  opacity: 1;
  rotate: calc(var(--hero-paper-angle) + var(--parallax-r, 0deg));
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transform: none;
}

.marketing-main .art-orb {
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition: translate 620ms var(--ease-editorial);
  will-change: transform, translate;
}

.marketing-main .art-orb-lime {
  animation: institutionalOrbLime 13s -3s ease-in-out infinite;
}

.marketing-main .art-orb-coral {
  animation: institutionalOrbCoral 15s -8s ease-in-out infinite;
}

.marketing-main .art-orb-blue {
  animation: institutionalOrbBlue 10s -5s ease-in-out infinite;
}

.hero-art.is-motion-paused .art-orb {
  animation-play-state: paused;
}

.marketing-main .hero-art:hover .hero-paper.reveal-item.is-visible {
  rotate: calc(-1.2deg + var(--parallax-r, 0deg));
  translate: var(--parallax-x, 0px) calc(var(--parallax-y, 0px) - 5px);
  transform: none;
  box-shadow: 0 30px 66px rgba(20, 35, 55, 0.16);
}

.paper-progress b {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms var(--ease-editorial) 520ms;
}

.hero-paper.is-visible .paper-progress b {
  transform: scaleX(1);
}

@media (hover: hover) {
  .audience-ledger-row:hover,
  .method-step:hover,
  .program-index article:hover {
    background: rgba(238, 241, 233, 0.72);
  }

  .method-step:hover > span {
    transform: translateX(5px);
  }
}

.method-step > span {
  display: inline-block;
  transition: transform 360ms var(--ease-editorial);
}

@keyframes institutionalOrbLime {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  42% { transform: translate3d(-7px, 9px, 0) scale(1.025); }
  76% { transform: translate3d(4px, 3px, 0) scale(0.99); }
}

@keyframes institutionalOrbCoral {
  0%, 100% { transform: translate3d(0, 0, 0); }
  36% { transform: translate3d(8px, -5px, 0); }
  72% { transform: translate3d(-3px, -9px, 0); }
}

@keyframes institutionalOrbBlue {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-5px, -7px, 0) scale(1.04); }
}

@media (max-width: 720px) {
  .marketing-main .hero-paper.reveal-item {
    --hero-paper-angle: -1deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-main .reveal-item,
  .marketing-main .hero-paper.reveal-item,
  .marketing-main .hero-paper.reveal-item.is-visible,
  .marketing-main .hero-art:hover .hero-paper.reveal-item.is-visible {
    opacity: 1 !important;
    rotate: var(--hero-paper-angle, 0deg) !important;
    translate: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .marketing-main .art-orb,
  .paper-progress b {
    translate: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
