@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;450;500;550;600;650;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --white: #fff;
  --ink: #1d1d1b;
  --muted: #83837d;
  --soft: #aaa9a1;
  --line: #e9e8e2;
  --line-strong: #deddd6;
  --green: #317451;
  --green-bg: #edf4ee;
  --red: #a94e47;
  --red-bg: #f8eeeb;
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --mono: 'DM Mono', monospace;
  font-family: var(--sans);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: #e7e6df; }

.app-shell { min-height: 100vh; transition: opacity .2s ease; }
.desktop-blocked { overflow: hidden; }
.desktop-blocked .app-shell { visibility: hidden; pointer-events: none; }
.desktop-gate { position: fixed; z-index: 20; inset: 0; display: none; align-items: center; justify-content: center; overflow: hidden; padding: 24px 20px; background: #fff; }
.desktop-gate.is-visible { display: flex; }
.desktop-gate-image { display: block; width: min(75vw, 340px, calc(100dvh - 48px)); height: auto; max-width: 340px; object-fit: contain; object-position: center; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.desktop-blocked { min-height: 100vh; min-height: 100dvh; background: #fff; }
.desktop-blocked .desktop-gate { position: fixed; width: 100vw; height: 100vh; height: 100dvh; touch-action: none; user-select: none; -webkit-user-select: none; }
.desktop-blocked .app-shell { display: none; }

.intro { display: none; }
html.intro-pending .intro { position: fixed; z-index: 100; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px 24px; overflow: hidden; background: #fff; color: var(--ink); text-align: center; animation: intro-fade-in .3s ease both; }
html.intro-pending.intro-leaving .intro { animation: intro-fade-out .35s ease both; }
html.intro-pending body { overflow: hidden; }
html.intro-pending #app, html.intro-pending .desktop-gate { visibility: hidden; }
.intro-inner { width: 100%; max-width: 1040px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.intro-title { width: 100%; display: flex; justify-content: center; }
.intro-title h1 { max-width: 100%; margin: 0; }
.intro-credit { margin: 22px 0 0; color: #5e5d56; font-family: var(--sans); font-size: 13px; font-weight: 450; line-height: 1.6; letter-spacing: -.012em; opacity: 0; animation: intro-credit-in .55s ease .55s both; }
html.intro-complete .app-shell, html.intro-complete .desktop-gate { animation: intro-app-reveal .4s ease both; }
@keyframes intro-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes intro-credit-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-app-reveal { from { opacity: 0; } to { opacity: 1; } }

.topbar { max-width: 1328px; min-height: 78px; margin: 0 auto; padding: 0 44px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-icon-frame { position: relative; width: 30px; height: 30px; flex: 0 0 30px; overflow: hidden; }
.brand-icon { position: absolute; top: 50%; left: 50%; display: block; width: 58px; height: 58px; max-width: none; transform: translate(-50%, -50%); -webkit-user-drag: none; user-select: none; }
.brand .brand-mark { width: 35px; height: 35px; font-size: 16px; }
.brand-name { font-size: 14px; font-weight: 600; letter-spacing: -.035em; }
.header-label, .progress-meta > span, .progress-caption, .section-eyebrow, .exercise-kicker, .label-index, .field-label, .body-label, .window-dots, .secure-mark, .objective-label, .category-tag, .score-eyebrow, .panel-status, .panel-number, .feedback-index, .issue-dot, .page-footer, .average-count, .report-row-number, .report-level > span, .report-score-row > div > span, .next-skill > span, .assessment-item h3, .insight-row > span, .loading-index { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .12em; }
.header-label { color: #787871; text-align: center; }
.header-divider { padding: 0 8px; color: #c4c3bb; }
.progress-meta { display: flex; align-items: baseline; justify-content: flex-end; gap: 11px; }
.progress-meta > span { color: var(--muted); font-size: 8px; }
.progress-meta > strong { font-size: 13px; font-weight: 550; }
.progress-muted { color: #aaa9a1; font-weight: 400; }
.exercise-navigation { max-width: 1328px; margin: 0 auto; padding: 15px 44px 14px; border-bottom: 1px solid var(--line); }
.navigation-intro { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: var(--muted); font: 8px var(--mono); letter-spacing: .11em; }
.exercise-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.exercise-step { position: relative; min-width: 0; min-height: 49px; padding: 7px 10px; display: flex; align-items: center; gap: 9px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background .18s ease, box-shadow .18s ease; }
.exercise-step:last-child { border-right: 0; }
.exercise-step:hover { background: #f5f4ef; }
.exercise-step.is-active { z-index: 1; background: #f2f1ec; box-shadow: inset 0 -2px var(--ink); }
.exercise-step:focus-visible { z-index: 2; outline-offset: -3px; }
.step-number { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: #74736b; font: 8px var(--mono); }
.exercise-step.is-active .step-number { border-color: var(--ink); background: var(--ink); color: #fff; }
.exercise-step.is-saved .step-number { border-color: var(--green); background: var(--green); color: white; }
.step-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.step-copy strong { overflow: hidden; font-size: 9px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.step-copy > span { overflow: hidden; color: #86857d; font: 7px var(--mono); letter-spacing: .045em; text-overflow: ellipsis; white-space: nowrap; }
.step-status { margin-left: auto; display: block; flex: 0 0 auto; color: #97968e; font: 6px var(--mono); letter-spacing: .055em; }
.exercise-step.is-saved .step-status { color: var(--green); }
.exercise-step.is-locked { background: #fbfaf7; color: #a3a29a; cursor: not-allowed; }
.exercise-step.is-locked:hover { background: #fbfaf7; }
.exercise-step.is-locked .step-number { border-style: dashed; background: transparent; color: #b1b0a8; }
.exercise-step.is-locked .step-copy strong, .exercise-step.is-locked .step-copy > span, .exercise-step.is-locked .step-status { color: #a9a8a0; }
.navigation-progress { display: flex; align-items: center; gap: 14px; }
.reset-progress-button { min-height: 28px; padding: 0 3px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #8a8981; font: 8px var(--mono); letter-spacing: .045em; cursor: pointer; transition: color .18s ease; }
.reset-progress-button:hover { color: var(--ink); }
.reset-progress-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.reset-icon { width: 12px; height: 12px; flex: 0 0 12px; }
.report-nav-button { min-height: 24px; padding: 0 9px; border: 1px solid var(--line-strong); background: #fff; color: #5b5a54; font: 8px var(--mono); letter-spacing: .07em; cursor: pointer; }
.report-nav-button:hover:not(:disabled) { background: #f2f1ec; }
.report-nav-button:disabled { border-color: var(--line); background: transparent; color: #a9a8a0; cursor: not-allowed; }
.saved-notice { display: none; margin: 12px 0 18px; padding: 10px 13px; border: 1px solid #e1e9df; background: #f3f6f0; color: #526552; font-size: 10px; line-height: 1.6; }
.saved-notice.is-visible { display: block; }
.report-unlocked-banner { margin: 12px 0 0; padding: 11px 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid #dfe9df; background: var(--green-bg); color: #4e6253; font-size: 10px; line-height: 1.6; }
.progress-nav { max-width: 1328px; height: 71px; margin: 0 auto; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.progress-track { width: 220px; display: flex; align-items: center; }
.step-dot { z-index: 1; width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: #a7a69f; font: 8px var(--mono); transition: background .2s, color .2s, border-color .2s; }
.step-dot.is-current { border-color: var(--ink); background: var(--ink); color: white; }
.step-dot.is-done { border-color: var(--green); background: var(--green); color: white; }
.step-connector { height: 1px; flex: 1; background: var(--line-strong); }
.progress-caption { color: #5b5a54; font-size: 8px; }
.progress-caption span { padding: 0 6px; color: #c0bfb7; }
.main-content { max-width: 1328px; min-height: calc(100vh - 181px); margin: 0 auto; padding: 36px 44px 78px; animation: arrive .42s ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.section-eyebrow { display: flex; align-items: center; gap: 13px; color: #797870; font-size: 8px; }
.section-eyebrow > i { width: 3px; height: 3px; border-radius: 50%; background: #a6a59e; }
.practice-heading, .results-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 25px 0 35px; }
.exercise-kicker { margin: 0 0 10px; color: #77766f; font-size: 8px; }
.exercise-kicker > span { padding: 0 7px; color: #b1b0a8; }
.practice-heading h1, .results-heading h1, .report-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(33px, 4vw, 43px); font-weight: 500; letter-spacing: -.048em; line-height: 1.18; }
.practice-heading h1 em, .results-heading h1 em, .report-hero h1 em { font-weight: 500; }
.category-tag { padding: 9px 11px; margin-bottom: 3px; border: 1px solid var(--line-strong); color: #68675f; font-size: 8px; white-space: nowrap; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); gap: clamp(42px, 6vw, 84px); align-items: start; }
.task-column, .compose-column { min-width: 0; }
.section-label { display: flex; align-items: flex-start; gap: 13px; }
.label-index { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: #77766e; font-size: 8px; }
.section-label h2 { margin: 3px 0 0; font-size: 15px; font-weight: 550; letter-spacing: -.035em; }
.scenario-copy { margin: 25px 0 20px; max-width: 496px; color: #46453f; font-size: 14px; line-height: 1.92; }
.objective-box { padding: 18px 20px 19px; border-left: 2px solid #282824; background: #f2f1ec; }
.objective-label { color: #75746c; font-size: 8px; }
.objective-box p { margin: 9px 0 0; color: #33322e; font-size: 13px; line-height: 1.8; }
.detail-block { margin-top: 26px; }
.detail-block h3, .feedback-intro h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: -.015em; }
.requirement-list, .considerations ul { display: grid; gap: 12px; margin: 15px 0 0; padding: 0; list-style: none; }
.requirement-list li { display: grid; grid-template-columns: 15px 1fr; gap: 10px; color: #5b5a54; font-size: 12px; line-height: 1.72; }
.empty-checkbox { width: 13px; height: 13px; margin-top: 3px; border: 1px solid #d2d1ca; border-radius: 3px; }
.considerations { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.considerations ul { gap: 9px; padding-left: 15px; list-style: disc; }
.considerations li { padding-left: 1px; color: #797870; font-size: 11px; line-height: 1.75; }
.rubric-note { margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--line); }
.rubric-note summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; font-size: 11px; font-weight: 500; }
.rubric-note summary::-webkit-details-marker { display: none; }
.summary-plus { color: #898880; font-size: 16px; font-weight: 400; }
.rubric-note[open] .summary-plus { transform: rotate(45deg); }
.rubric-note > p { color: #797870; font-size: 11px; line-height: 1.8; }
.compose-column .section-label { margin-bottom: 20px; }
.compose-column .section-label h2 { margin: 1px 0 4px; }
.editor-subheading { color: #82817a; font-size: 11px; }
.email-window { overflow: hidden; border: 1px solid var(--line-strong); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.email-window:focus-within { border-color: #b5b4ac; box-shadow: 0 6px 22px rgb(26 26 22 / 4%); }
.email-window-top { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--line); background: #fcfbf9; color: #76756e; font: 8px var(--mono); letter-spacing: .12em; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #deddd6; }
.window-dots i:first-child { background: #c2c1b8; }
.secure-mark { color: #898880; font-size: 7px; }
.secure-mark i { display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.email-field { min-height: 46px; padding: 0 18px; display: flex; align-items: center; gap: 17px; border-bottom: 1px solid #eeede8; }
.field-label, .body-label { width: 51px; flex: 0 0 51px; color: #83827a; font-size: 8px; }
.email-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #32312d; font-size: 12px; }
.email-field input::placeholder, .email-body textarea::placeholder { color: #b0afa8; }
.email-body { padding: 17px 18px 4px; }
.body-label { margin-bottom: 12px; }
.email-body textarea { display: block; width: 100%; min-height: 263px; resize: vertical; border: 0; outline: 0; background: transparent; color: #35342f; font-size: 13px; line-height: 1.9; }
.composer-footer { min-height: 40px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); color: #93928a; font-size: 10px; }
.word-count { color: #53524c; font-variant-numeric: tabular-nums; }
.save-indicator { font-size: 9px; }
.form-error { margin: 15px 19px 0; padding: 11px 12px; border-left: 2px solid var(--red); background: var(--red-bg); color: var(--red); font-size: 11px; line-height: 1.6; }
.primary-button, .secondary-button, .text-button { min-height: 49px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.primary-button { padding: 0 18px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 500; }
.primary-button:hover { background: #383832; }
.primary-button:active { transform: translateY(1px); }
.primary-button:focus-visible, .secondary-button:focus-visible, .text-button:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #4d775f; outline-offset: 3px; }
.submit-button { width: 100%; margin-top: 16px; }
.button-arrow { font-size: 17px; font-weight: 400; transition: transform .2s; }
.primary-button:hover .button-arrow { transform: translate(2px, -1px); }
.submission-note { margin: 11px 5px 15px; color: #92918a; font-size: 10px; line-height: 1.7; }
.scoring-strip { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.scoring-mark { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: #797870; font-size: 12px; }
.scoring-strip p { color: #75746d; font-size: 10px; line-height: 1.75; }
.scoring-strip strong { color: #45443e; font-weight: 550; }
.page-footer { width: 100%; max-width: 1328px; margin: 0 auto; padding: 17px 44px 21px; display: flex; justify-content: center; border-top: 1px solid var(--line); color: #96958e; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 30px; }
.page-footer a { padding-bottom: 2px; border-bottom: 1px solid transparent; color: inherit; text-decoration: none; transition: color .2s, border-color .2s; }
.page-footer a:hover { border-color: var(--line-strong); color: var(--ink); }
.page-footer a:focus-visible { outline: 2px solid #4d775f; outline-offset: 4px; }

.legal-shell { min-height: 100vh; display: flex; flex-direction: column; }
.legal-topbar { width: 100%; max-width: 1328px; min-height: 78px; margin: 0 auto; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.legal-topbar-label { color: #787871; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.legal-main { width: 100%; max-width: 920px; margin: 0 auto; padding: 35px 44px 70px; flex: 1; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 0; color: #76756d; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-decoration: none; }
.legal-back:hover { color: var(--ink); }
.legal-back:focus-visible { outline: 2px solid #4d775f; outline-offset: 4px; }
.legal-kicker { margin: 34px 0 13px; color: #7d7c74; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.legal-main h1 { margin: 0; font-family: var(--display); font-size: clamp(44px, 5.5vw, 64px); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; }
.legal-lede { max-width: 700px; margin: 17px 0 0; color: #65645c; font-size: 13px; line-height: 1.9; }
.legal-meta { margin: 20px 0 0; color: #96958e; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }
.legal-sections { margin-top: 38px; border-top: 1px solid var(--line-strong); }
.legal-section { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 24px; padding: 25px 0 26px; border-bottom: 1px solid var(--line); }
.legal-section-index { padding-top: 4px; color: #96958e; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }
.legal-section h2 { margin: 0 0 10px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.legal-section p { margin: 0 0 11px; color: #5e5d56; font-size: 12px; line-height: 1.9; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 2px 0 0; padding-left: 17px; display: grid; gap: 7px; color: #5e5d56; font-size: 12px; line-height: 1.85; }
.legal-section li::marker { color: #aaa9a1; }
.legal-section strong { color: #3e3d37; font-weight: 600; }
.legal-note { margin: 28px 0 0; padding: 16px 18px; border-left: 2px solid var(--ink); background: #f4f3ee; color: #5e5d56; font-size: 11px; line-height: 1.85; }
.legal-note strong { color: var(--ink); font-weight: 600; }
#form-error[hidden] { display: none; }
#form-error { scroll-margin-top: 24px; }
@media (min-width: 1024px) {
  .exercise-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1300px) and (min-width: 1024px) {
  .exercise-step { gap: 7px; padding-right: 7px; padding-left: 7px; }
  .step-copy strong { font-size: 8px; }
  .step-copy > span { font-size: 6px; }
  .step-status { font-size: 5px; letter-spacing: 0; }
}

.results-heading { margin-bottom: 27px; }
.results-heading h1 { font-size: 39px; }
.results-heading h1 em { color: #68675f; }
.results-notice { margin: -8px 0 20px; padding: 11px 13px; border: 1px solid #e8e2d2; background: #fbf7ec; color: #6d5f3f; font-size: 10px; line-height: 1.7; }
.endcap-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
button.report-score-row { width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
button.report-score-row:hover { background: #f5f4ef; }
button.report-score-row:last-child { border-bottom: 0; }
.report-empty { margin: 14px 0 0; color: #86857d; font-size: 10px; line-height: 1.7; }
.report-loading { width: min(660px, 100%); min-height: 460px; margin: 38px auto 0; padding: 48px 40px; display: flex; align-items: center; flex-direction: column; justify-content: center; border: 1px solid var(--line-strong); background: #fff; text-align: center; }
.report-loading-mark { width: 48px; height: 48px; margin-bottom: 27px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font: 22px var(--display); }
.report-loading .exercise-kicker { margin-bottom: 13px; }
.report-loading h1 { margin: 0; font: 500 clamp(31px, 4vw, 43px)/1.2 var(--display); letter-spacing: -.045em; }
.report-loading h1 em { color: #74736b; }
.report-loading > p:not(.exercise-kicker) { max-width: 470px; margin: 15px 0 0; color: #75746d; font-size: 12px; line-height: 1.9; }
.report-loading-bar { width: min(270px, 100%); height: 2px; margin-top: 33px; overflow: hidden; background: var(--line); }
.report-loading-bar i { width: 35%; height: 100%; display: block; background: var(--green); animation: report-progress 1.6s ease-in-out infinite alternate; }
@keyframes report-progress { from { transform: translateX(0); } to { transform: translateX(185%); } }
.report-start { min-height: 500px; }
.report-generate-button { margin-top: 26px; }
.report-generation-error { max-width: 500px; margin: 19px 0 0; padding: 12px 14px; border-left: 2px solid var(--red); background: var(--red-bg); color: var(--red); font-size: 10px; line-height: 1.75; text-align: left; }
.report-assessment-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.report-assessment-card { min-width: 0; padding: 17px 19px 18px; border: 1px solid var(--line); background: #fff; }
.report-card-index { color: #898880; font: 7px var(--mono); letter-spacing: .12em; }
.report-assessment-card h2 { margin: 8px 0 0; font-size: 12px; font-weight: 600; }
.report-assessment-card p { margin: 8px 0 0; color: #66655e; font-size: 10px; line-height: 1.85; }
.report-plan-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; list-style: none; }
.report-plan-list li { min-width: 0; min-height: 116px; padding: 15px 0; display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--line); }
.report-plan-step { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: #77766e; font: 8px var(--mono); }
.report-plan-timeframe { color: var(--green); font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.report-plan-list h3 { margin: 7px 0 0; font-size: 11px; font-weight: 600; line-height: 1.6; }
.report-plan-list p { margin: 6px 0 0; color: #77766f; font-size: 9px; line-height: 1.7; }
.completed-report-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.completed-report-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.score-banner { min-height: 132px; display: grid; grid-template-columns: 103px 1fr auto; align-items: center; gap: 26px; padding: 23px 27px; border: 1px solid var(--line-strong); background: #fff; }
.score-number { display: flex; align-items: baseline; gap: 4px; }
.score-number strong { font-family: var(--display); font-size: 61px; font-weight: 500; line-height: 1; letter-spacing: -.065em; }
.score-number > span { color: #8e8d85; font-size: 14px; }
.score-description { max-width: 650px; }
.score-eyebrow { color: #76756d; font-size: 8px; }
.score-separator { margin: 0 6px; color: #c0bfb7; }
.score-description h2 { margin: 9px 0 5px; font-size: 17px; font-weight: 550; letter-spacing: -.03em; }
.score-description > p { margin: 0; color: #66655e; font-size: 11px; line-height: 1.75; }
.score-side { min-width: 139px; padding-left: 22px; border-left: 1px solid var(--line); }
.score-side > span { color: #898880; font: 8px var(--mono); letter-spacing: .11em; }
.score-side > strong { display: block; margin-top: 9px; font-size: 11px; font-weight: 550; }
.comparison-heading { margin: 33px 0 17px; display: flex; align-items: center; justify-content: space-between; }
.comparison-heading .section-label { align-items: center; }
.comparison-heading .section-label h2 { margin: 0; }
.legend { display: flex; align-items: center; gap: 15px; color: #77766f; font-size: 9px; }
.legend > span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-dot.green { background: var(--green); }
.legend-dot.red { background: var(--red); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; align-items: stretch; }
.comparison-panel { display: flex; min-height: 305px; flex-direction: column; padding: 21px 23px 14px; border: 1px solid var(--line-strong); background: #fff; }
.panel-topline { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-status { font-size: 8px; }
.original-status { color: #65645c; }
.refined-status { color: var(--green); }
.panel-topline h3 { margin: 7px 0 0; font-size: 14px; font-weight: 550; }
.panel-number { color: #a3a29a; font-size: 9px; }
.message-meta { min-height: 31px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #f0efe9; }
.message-meta > span { width: 45px; color: #94938b; font: 7px var(--mono); letter-spacing: .1em; }
.message-meta > p { margin: 0; color: #68675f; font-size: 10px; }
.comparison-body { min-height: 122px; flex: 1; padding: 19px 1px 13px; color: #44433e; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; white-space: pre-wrap; }
.comparison-body mark { position: relative; color: inherit; background: none; cursor: help; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.comparison-body mark.negative { border-bottom: 1px wavy var(--red); background: #fbeae6; }
.comparison-body mark.positive, .comparison-body mark.improved { border-bottom: 1px solid #77a087; background: #e6f0e8; }
.comparison-body mark:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.comparison-body mark.negative:focus-visible { outline-color: var(--red); }
.mark-index { margin-left: 1px; color: var(--green); font: 7px var(--mono); line-height: 1; vertical-align: super; }
.comparison-body mark.negative .mark-index { color: var(--red); }
.mark-tip { position: absolute; z-index: 3; bottom: calc(100% + 9px); left: 0; width: max-content; max-width: 260px; padding: 11px 12px; border: 1px solid var(--line-strong); background: white; color: #42413c; font-size: 10px; line-height: 1.7; box-shadow: 0 5px 17px rgb(25 25 20 / 9%); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.mark-tip::after { position: absolute; bottom: -4px; left: 12px; width: 7px; height: 7px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: white; content: ''; transform: rotate(45deg); }
mark:hover .mark-tip, mark:focus .mark-tip { opacity: 1; visibility: visible; }
.annotation-note { min-height: 20px; margin: 1px 0 0; color: #929189; font-size: 9px; line-height: 1.6; }
.annotations-block { margin-top: 22px; }
.annotations-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 11px; border-bottom: 1px solid var(--line-strong); }
.annotations-heading h3 { margin: 0; font-size: 11px; font-weight: 600; }
.annotations-heading > span { color: #94938b; font: 8px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.annotations-lede { margin: 11px 0 15px; color: #7c7b73; font-size: 10px; line-height: 1.75; }
.annotations-list { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.annotation-card { scroll-margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid #77a087; background: #fff; }
.annotation-card.is-incorrect { border-left-color: var(--red); background: #fdf7f5; }
.annotation-card-head { display: flex; align-items: center; gap: 8px; }
.annotation-number { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--green-bg); color: var(--green); font: 8px var(--mono); }
.annotation-card.is-incorrect .annotation-number { background: var(--red-bg); color: var(--red); }
.annotation-kind { color: var(--green); font: 7px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.annotation-card.is-incorrect .annotation-kind { color: var(--red); }
.annotation-quote { margin: 10px 0 0; color: #4f6255; font-size: 11px; font-style: italic; line-height: 1.7; overflow-wrap: anywhere; }
.annotation-card.is-incorrect .annotation-quote { color: #81534d; }
.annotation-explanation { margin: 7px 0 0; color: #66655e; font-size: 10px; line-height: 1.8; }
.feedback-section { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line-strong); }
.feedback-intro { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.feedback-intro .section-label { align-items: center; }
.feedback-intro .section-label h2 { margin: 0; }
.feedback-intro > p { margin: 0; color: #86857d; font-size: 10px; }
.feedback-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feedback-item { min-height: 117px; display: flex; gap: 13px; padding: 17px 16px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 54%); }
.feedback-index { color: #9d9c93; font-size: 8px; }
.feedback-item h3, .strength-block h3, .weakness-block h3, .mistakes-block > h3, .suggestion-block > h3 { margin: 0; font-size: 11px; font-weight: 600; }
.feedback-item p { margin: 8px 0 0; color: #68675f; font-size: 10px; line-height: 1.8; }
.strength-block, .weakness-block, .suggestion-block { margin-top: 20px; padding: 17px 19px; border-left: 2px solid var(--green); background: var(--green-bg); }
.strength-block h3 { color: var(--green); }
.strength-block ul, .weakness-block ul, .suggestion-block ul { margin: 10px 0 0; padding-left: 16px; color: #4f6255; font-size: 11px; line-height: 1.9; }
.weakness-block { border-left-color: var(--red); background: var(--red-bg); }
.weakness-block h3 { color: var(--red); }
.weakness-block ul { color: #78554f; }
.suggestion-block { border-left-color: #a5a49b; background: #f1f0eb; }
.suggestion-block h3 { color: #484740; }
.suggestion-block ul { color: #68675f; }
.mistakes-block { margin-top: 22px; }
.mistakes-block > h3 { margin-bottom: 12px; }
.corrections-list { display: grid; gap: 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.correction-card { padding: 14px 16px; border: 1px solid #eddfdc; background: #fff; }
.correction-heading { display: flex; align-items: center; gap: 7px; color: var(--red); font: 8px var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.issue-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.correction-card > p { margin: 9px 0 0; color: #66655e; font-size: 10px; line-height: 1.8; }
.correction-card .correction-original { color: #81534d; font-style: italic; }
.correction-fix strong { color: #44433e; font-weight: 600; }
.correction-card .correction-why { color: #87867e; font-size: 9px; }
.no-errors { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding: 16px 19px; border: 1px solid #e0e9e0; background: #f4f7f2; }
.no-errors > span { color: var(--green); }
.no-errors > p { margin: 0; color: #5f7060; font-size: 10px; line-height: 1.7; }
.results-endcap { min-height: 124px; margin-top: 32px; padding: 23px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line-strong); background: #fff; }
.results-endcap .score-eyebrow { color: #7d7c74; font-size: 8px; }
.results-endcap h2 { margin: 7px 0 4px; font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.results-endcap p { margin: 0; color: #7c7b73; font-size: 10px; }
.continue-button { min-width: 226px; }
.score-disclaimer { margin: 14px 0 0; color: #93928a; font-size: 9px; text-align: center; }
.secondary-button { min-height: 39px; padding: 0 14px; border: 1px solid var(--line-strong); background: #fff; font-size: 11px; }
.secondary-button:hover { background: #f2f1ec; }
.text-button { min-height: auto; padding: 10px 0; border: 0; background: transparent; color: #76756d; font-size: 10px; }

.loading-page { width: min(490px, 100%); min-height: 560px; margin: 48px auto 0; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.loading-index { align-self: center; color: #7d7c74; }
.loading-orbit { position: relative; width: 103px; height: 103px; margin: 37px 0 31px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.loading-orbit::before { position: absolute; inset: 9px; border: 1px dashed #d5d4cb; border-radius: 50%; content: ''; animation: orbit 18s linear infinite; }
.loading-orbit > i, .loading-orbit > b { position: absolute; top: 7px; left: 48px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: orbit 4.2s linear infinite; transform-origin: 4px 44px; }
.loading-orbit > b { width: 5px; height: 5px; top: 20px; left: 67px; background: #b5b4aa; animation-duration: 6s; animation-direction: reverse; transform-origin: -17px 32px; }
.orbit-core { font-family: var(--display); font-size: 28px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.loading-page h1 { margin: 0; font-family: var(--display); font-size: 31px; font-weight: 500; letter-spacing: -.035em; }
.loading-page > p { max-width: 365px; margin: 11px auto 25px; color: #7b7a72; font-size: 12px; line-height: 1.8; }
.loading-stages { width: 285px; display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; text-align: left; }
.loading-stages li { display: flex; align-items: center; gap: 11px; color: #9a9991; font-size: 10px; transition: color .25s; }
.stage-dot { width: 7px; height: 7px; border: 1px solid #c9c8bf; border-radius: 50%; transition: background .2s, border-color .2s; }
.is-active .stage-dot { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 4px rgb(49 116 81 / 11%); }
.loading-stages .is-active { color: #43423c; }
.loading-stages .is-complete { color: #77766f; }
.is-complete .stage-dot { border-color: var(--green); background: var(--green); }
.stage-check { display: none; margin-left: auto; color: var(--green); }
.is-complete .stage-check { display: inline; }
.loading-error { width: 100%; margin-top: 20px; padding: 18px; border: 1px solid #eddfdc; background: #fff; }
.loading-error > p { margin: 0 0 13px; color: var(--red); font-size: 11px; line-height: 1.7; }
.loading-error .secondary-button { margin-right: 13px; }

.report-hero { position: relative; padding: 39px 0 43px; border-bottom: 1px solid var(--line-strong); }
.report-hero h1 { margin-top: 18px; font-size: clamp(45px, 6vw, 66px); line-height: 1.1; }
.report-hero h1 em { color: #74736b; }
.report-lede { max-width: 670px; margin: 17px 0 0; color: #65645c; font-size: 13px; line-height: 1.9; }
.report-level { position: absolute; right: 0; bottom: 43px; min-width: 190px; padding-left: 20px; border-left: 1px solid var(--line-strong); }
.report-level > span { display: block; color: #86857d; font-size: 8px; }
.report-level > strong { display: block; margin-top: 9px; font-size: 14px; font-weight: 550; }
.average-panel { min-height: 104px; margin: 22px 0 34px; padding: 18px 22px; display: grid; grid-template-columns: 91px 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line-strong); background: #fff; }
.average-number { display: flex; align-items: baseline; gap: 4px; }
.average-number strong { font-family: var(--display); font-size: 47px; font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.average-number > span { color: #929189; font-size: 12px; }
.average-panel > div:nth-child(2) > p { max-width: 480px; margin: 7px 0 0; color: #7c7b73; font-size: 10px; line-height: 1.65; }
.average-count { padding-left: 21px; border-left: 1px solid var(--line); color: #55544d; font-size: 10px; line-height: 1.6; }
.average-count i { color: #aaa9a1; font-style: normal; }
.average-count small { color: #96958d; font-size: 7px; }
.report-columns { display: grid; grid-template-columns: .93fr 1.07fr; gap: 56px; }
.report-columns > section > .section-label, .recommendation-section > .section-label, .insight-section > .section-label, .plan-section > .section-label { align-items: center; margin-bottom: 16px; }
.report-columns > section > .section-label h2, .recommendation-section > .section-label h2, .insight-section > .section-label h2, .plan-section > .section-label h2 { margin: 0; }
.report-score-row { min-height: 57px; display: grid; grid-template-columns: 27px 1fr 33px; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.report-row-number { color: #93928a; font-size: 8px; }
.report-score-row > div > strong { display: block; overflow: hidden; color: #36352f; font-size: 10px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.report-score-row > div > span { display: block; margin-top: 3px; color: #898880; font-size: 7px; letter-spacing: .04em; }
.report-row-score { font-family: var(--display); font-size: 22px; text-align: right; }
.report-row-score i { margin-left: 2px; color: #9e9d95; font: 9px var(--sans); }
.next-skill { margin-top: 17px; padding: 15px 16px; display: grid; gap: 7px; border: 1px solid var(--line); background: #fff; }
.next-skill > span { margin-top: 3px; color: #898880; font-size: 7px; }
.next-skill > strong { color: #45443e; font-size: 10px; font-weight: 500; line-height: 1.6; }
.assessment-item { padding: 11px 0 12px; border-top: 1px solid var(--line); }
.assessment-item h3 { margin: 0; color: #7c7b73; font-size: 8px; }
.assessment-item p { margin: 5px 0 0; color: #5e5d56; font-size: 10px; line-height: 1.75; }
.recommendation-section, .insight-section, .plan-section { margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line-strong); }
.recommendation-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; list-style: none; }
.recommendation-list li { padding: 13px 15px; border-left: 2px solid var(--green); background: var(--green-bg); color: #4b5e50; font-size: 10px; line-height: 1.75; }
.insight-row { display: grid; grid-template-columns: 95px 1fr; gap: 19px; padding: 13px 0; border-top: 1px solid var(--line); }
.insight-row > span { padding-top: 2px; color: #898880; font-size: 7px; }
.insight-row > div > p { margin: 0 0 5px; color: #76756e; font-size: 9px; line-height: 1.7; }
.insight-row > div > strong { color: #43423c; font-size: 10px; font-weight: 500; line-height: 1.7; }
.plan-section ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.plan-section ol li { min-height: 59px; display: flex; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.plan-section ol li > span { padding-top: 1px; color: #93928a; font: 8px var(--mono); }
.plan-section ol li > p { margin: 0; color: #5e5d56; font-size: 10px; line-height: 1.8; }
.report-endcap { min-height: 105px; margin-top: 31px; padding: 21px 23px; display: flex; align-items: center; gap: 17px; border: 1px solid var(--line-strong); background: #fff; }
.report-endcap .brand-mark { flex: 0 0 39px; }
.report-endcap > p { margin: 0; color: #77766f; font-size: 11px; line-height: 1.9; }
.report-endcap strong { color: #3e3d37; font-weight: 550; }

.reset-dialog { width: min(460px, calc(100vw - 40px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 1px solid var(--line-strong); border-radius: 0; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgb(20 20 18 / 18%); }
.reset-dialog::backdrop { background: rgb(20 20 18 / 32%); backdrop-filter: blur(3px); }
.reset-dialog-panel { padding: 28px; }
.reset-dialog-kicker { color: #8a8981; font: 8px var(--mono); letter-spacing: .12em; }
.reset-dialog h2 { margin: 11px 0 0; font-family: var(--display); font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.reset-dialog p { margin: 13px 0 0; color: #68675f; font-size: 11px; line-height: 1.8; }
.reset-dialog-actions { margin-top: 25px; display: flex; justify-content: flex-end; gap: 9px; }
.reset-dialog-actions .secondary-button { min-width: 92px; justify-content: center; cursor: pointer; }
.reset-confirm-button { min-height: 39px; padding: 0 15px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 11px; cursor: pointer; transition: background .18s ease, color .18s ease; }
.reset-confirm-button:hover { background: #3b3a35; }
.reset-confirm-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 1300px) and (min-width: 1024px) {
  .results-heading h1 { font-size: 34px; }
  .score-banner { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; padding: 20px 21px; }
  .score-number strong { font-size: 52px; }
  .score-side { min-width: 112px; padding-left: 16px; }
  .comparison-grid { gap: 13px; }
  .comparison-panel { padding: 18px 18px 13px; }
  .comparison-body { font-size: 11.5px; }
  .annotations-list { grid-template-columns: 1fr; }
}

@media (min-width: 1500px) {
  .topbar, .exercise-navigation, .progress-nav, .main-content, .page-footer { max-width: 1360px; }
  .main-content { padding-top: 42px; }
  .workspace-grid { gap: 90px; }
}

@media (max-width: 1100px) and (min-width: 1024px) {
  .topbar, .exercise-navigation { padding-right: 30px; padding-left: 30px; }
  .topbar { min-height: 70px; }
  .exercise-step { padding-right: 7px; padding-left: 7px; gap: 6px; }
  .step-status { display: none; }
  .exercise-step { padding-right: 7px; padding-left: 7px; gap: 6px; }
  .main-content { padding: 29px 30px 58px; }
  .page-footer, .legal-topbar, .legal-main { padding-right: 30px; padding-left: 30px; }
  .workspace-grid { gap: 32px; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .scenario-copy { font-size: 13px; }
  .email-body textarea { min-height: 240px; }
  .report-columns { gap: 35px; }
  .average-panel { grid-template-columns: 72px minmax(0, 1fr); }
  .average-count { grid-column: 2; padding: 0; border-left: 0; }
  .report-plan-list { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  body { min-height: 100vh; min-height: 100dvh; overflow: hidden; background: #fff; }
  .desktop-gate { display: flex; }
  .app-shell, .legal-shell { display: none; }
  .navigation-progress { gap: 6px; }
  .report-nav-button { font-size: 7px; }
  .report-loading { padding: 38px 24px; }
  .report-assessment-grid, .report-plan-list { grid-template-columns: 1fr; }
  .average-panel { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .average-count { grid-column: 2; padding: 0; border-left: 0; }
  .endcap-actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
