:root {
  --paper:#f4f6f8; --surface:#fff; --ink:#172b3a; --muted:#526575;
  --soft:#edf2f5; --line:#d5dfe6; --teal:#116b63; --teal-light:#e9f5f1;
  --navy:#172b3a; --amber:#82551a; --amber-bg:#fff5e3;
  --red:#a22f32; --red-bg:#fff0ef; --focus:#ad6310;
  --shadow:0 4px 16px #172b3a05; --radius:14px; --rail:192px;
  --header-height:76px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;
  font-size:16px; line-height:1.65; font-synthesis:none; color:var(--ink); background:var(--paper);
}
* { box-sizing:border-box; }
body { margin:0; }
button,input,textarea,select { font:inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color:transparent; }
button,a,summary,label.choice { touch-action:manipulation; }
button,summary { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
a { color:var(--teal); text-underline-offset:4px; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
[tabindex="-1"]:focus { outline:2px solid var(--teal); outline-offset:4px; }
[hidden] { display:none!important; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { line-height:1.4; letter-spacing:-.035em; text-wrap:balance; }
h1 { font-size:32px; margin-bottom:16px; }
h2 { font-size:21px; margin-bottom:14px; }
h3 { font-size:18px; margin-bottom:12px; }
p { margin-bottom:16px; }
p:last-child { margin-bottom:0; }
strong { font-weight:650; }
small { font-size:14px; }
.muted,.hint { color:var(--muted); }
.hint { font-size:14px; }
.eyebrow { font-size:12px; letter-spacing:.09em; font-weight:750; color:var(--teal); margin-bottom:12px; }
.shell { width:min(1240px,calc(100% - 64px)); margin:auto; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:11px 20px; border-radius:9px; background:var(--teal); border:1px solid var(--teal); color:#fff; text-decoration:none; font-weight:650; line-height:1.5; transition:background .15s,border-color .15s; }
.button:hover { background:#0b564f; border-color:#0b564f; }
.button:active { box-shadow:inset 0 2px 5px #0002; }
.button.secondary { background:#fff; border-color:#a7b8c4; color:var(--ink); }
.button.secondary:hover { background:var(--soft); border-color:#6f8a9c; }
.button.small { min-height:44px; padding:8px 14px; font-size:14px; }
.button.ghost { background:transparent; color:var(--ink); border-color:transparent; }
.button.ghost:hover { background:var(--soft); }
.actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.stack { display:grid; gap:20px; }
.badge { display:inline-flex; align-items:center; border-radius:6px; padding:4px 10px; background:var(--soft); font-size:13px; font-weight:650; color:var(--muted); }
.badge.teal { background:var(--teal-light); color:var(--teal); }
.notice { padding:16px 18px; border:1px solid #e9d3aa; border-radius:10px; background:var(--amber-bg); color:var(--amber); font-size:15px; }
.notice.info { background:#edf4f9; border-color:#cbdfe9; color:#34536a; }
.notice.success { background:var(--teal-light); border-color:#bfdbcf; color:var(--teal); }
.error,.field-error { color:var(--red); font-size:14px; }
.error:not(:empty) { padding:12px 15px; background:var(--red-bg); border:1px solid #e7b4b1; border-radius:9px; margin:16px 0; }
.field-error { display:block; margin:8px 0; font-weight:500; }
[aria-invalid="true"] { border-color:var(--red)!important; }
.field { display:grid; gap:8px; }
.field>span { font-size:15px; font-weight:650; }
.field .hint { font-size:14px; color:var(--muted); font-weight:400; }
input[type=text],input[type=number],input[type=url],select,textarea { width:100%; padding:12px 14px; color:var(--ink); background:#fff; border:1px solid #9db0be; border-radius:8px; line-height:1.65; }
input[readonly] { background:var(--soft); }
textarea { resize:vertical; min-height:170px; }
input[type=radio],input[type=checkbox] { accent-color:var(--teal); flex-shrink:0; }
.check-line { display:flex; align-items:flex-start; gap:11px; font-size:15px; cursor:pointer; }
.check-line input { width:19px; height:19px; margin:4px 0 0; }
.site-header { position:sticky; top:0; z-index:30; border-bottom:1px solid var(--line); background:#fff; }
.site-header .shell { width:calc(100% - 48px); min-height:var(--header-height); display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:12px; color:var(--ink); font-size:17px; font-weight:750; letter-spacing:-.04em; text-decoration:none; }
.brand-mark { display:inline-grid; place-items:center; width:34px; height:34px; background:var(--navy); color:#fff; border-radius:9px; }
.brand-mark svg { width:21px; height:21px; }
.header-meta { display:flex; gap:12px; align-items:center; font-size:13px; color:var(--muted); }
#save-status { min-width:132px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:var(--teal); display:inline-block; margin-right:7px; }
.status-dot.warning { background:#a46812; }
.site-footer { padding:20px 0; color:var(--muted); font-size:13px; border-top:1px solid var(--line); }
.site-footer .shell { display:flex; justify-content:space-between; gap:20px; }
.skip-link { position:fixed; top:-90px; left:20px; z-index:100; background:#fff; padding:12px 20px; border:2px solid var(--teal); border-radius:8px; }
.skip-link:focus { top:12px; }
.loading-screen { min-height:100vh; display:grid; align-content:center; justify-items:center; gap:20px; color:var(--muted); }
.welcome { padding:40px 0 56px; max-width:1180px; }
.welcome-heading { margin-bottom:32px; }
.welcome h1 { font-size:clamp(30px,3.2vw,42px); line-height:1.22; margin-bottom:20px; }
.welcome-lead { font-size:18px; line-height:1.85; color:var(--muted); }
.intro-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:24px; }
.intro-tag { padding:5px 12px; background:#fff; border:1px solid var(--line); border-radius:6px; font-size:13px; color:var(--muted); }
.onboarding-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr); gap:40px; align-items:start; }
.onboarding-story { display:grid; gap:24px; }
.start-card { position:sticky; top:100px; }
.start-card h2 { font-size:26px; }
.start-card>.muted { font-size:15px; margin-bottom:24px; }
.start-state { font-size:13px; color:var(--teal); font-weight:650; margin-bottom:16px; }
.start-form { display:grid; gap:20px; }
.start-footnote { text-align:center; margin:0; }
.case-preview { border-top:2px solid var(--ink); }
.section-caption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:16px 0; font-size:14px; font-weight:650; }
.section-caption span { color:var(--muted); font-size:13px; font-weight:400; }
.case-preview-row { display:flex; gap:20px; align-items:center; padding:22px 4px; border-top:1px solid var(--line); }
.case-preview-row h2 { font-size:20px; margin:0 0 4px; }
.case-preview-row p { color:var(--muted); font-size:15px; }
.case-preview-row>.document-icon { display:grid; place-items:center; width:28px; height:28px; padding:0; color:var(--teal); }
.case-number { font-family:ui-monospace,monospace; font-size:13px; color:var(--muted); }
.journey-card h2 { font-size:19px; }
.journey-list { list-style:none; margin:20px 0; padding:0; display:grid; gap:20px; }
.journey-list li { display:flex; gap:14px; align-items:start; }
.journey-list li>span { display:grid; place-items:center; width:27px; height:27px; border:1px solid #a7bfc0; border-radius:50%; color:var(--teal); flex:none; font-size:13px; font-weight:650; }
.journey-list strong { font-size:15px; }
.journey-list p,.journey-footnote { color:var(--muted); font-size:14px; margin-top:4px; }
.journey-footnote { border-top:1px solid var(--line); padding-top:16px; }
.recording-note { background:var(--soft); border-radius:9px; padding:16px; font-size:14px; }
.recording-note ul { padding-left:18px; margin:8px 0 12px; display:grid; gap:8px; color:var(--muted); }
.inline-link { background:transparent; border:0; padding:0; color:var(--teal); font:inherit; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.resume-card { border-color:#a8cec2; background:#f9fcfb; }
.resume-card p { font-size:15px; }
.saved-code { font-family:ui-monospace,monospace; overflow-wrap:anywhere; }
.practice-wrap,.completed-wrap,.blocked-wrap { max-width:960px; margin:40px auto; padding:0 24px; }
.practice-layout { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.practice-sample { display:flex; flex-direction:column; justify-content:center; background:var(--soft); border-radius:10px; padding:28px; gap:17px; }
.sample-label { font-size:14px; color:var(--teal); font-weight:650; }
.sample-word { font-size:32px; font-weight:750; }
.practice-question fieldset { border:0; padding:0; margin:0; min-width:0; }
.practice-question legend { font-size:17px; font-weight:650; margin-bottom:12px; }
.section-top { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:24px; }
.section-top h1 { margin:0; font-size:29px; }
.score-guide { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:18px 0; }
.score-guide>div { background:var(--soft); border-radius:8px; padding:16px; font-size:14px; }
.score-guide strong { display:block; font-size:24px; color:var(--teal); }
.workspace { max-width:1840px; margin-inline:auto; display:grid; grid-template-columns:var(--rail) minmax(0,1fr); min-height:calc(100dvh - var(--header-height) - 64px); }
.workspace-nav { align-self:stretch; border-right:1px solid var(--line); padding:28px 16px; background:#ecf1f4; }
.nav-heading { font-size:13px; font-weight:650; color:var(--muted); margin:0 10px 20px; }
.task-nav { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.task-nav-item { display:grid; grid-template-columns:26px minmax(0,1fr); gap:10px; padding:14px 10px; border:1px solid transparent; border-radius:9px; color:var(--muted); }
.task-nav-item.active { background:#fff; border-color:#b4c9c7; color:var(--ink); }
.nav-index { font-size:12px; border-radius:6px; background:#dfe8ed; display:grid; place-items:center; width:26px; height:26px; font-weight:700; }
.active .nav-index { background:var(--teal); color:#fff; }
.complete .nav-index { background:#d6e9e1; color:var(--teal); }
.task-nav-item strong { display:block; font-size:14px; line-height:1.6; }
.task-nav-item div>span { font-size:12px; }
.nav-session { border-top:1px solid var(--line); padding:24px 10px 0; margin-top:28px; display:grid; gap:4px; overflow-wrap:anywhere; }
.nav-session span { font-size:12px; color:var(--muted); }
.nav-session strong { font-size:14px; }
.nav-note { font-size:13px; color:var(--muted); margin:24px 10px; }
.workspace-nav>.button { font-size:13px; width:100%; }
.workspace-main { padding:24px 28px 24px; min-width:0; }
.workspace-top { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:18px; }
.workspace-title h1 { font-size:26px; margin:5px 0 6px; }
.workspace-title p { color:var(--muted); font-size:15px; margin:0; }
.workspace-eyebrow { font-size:12px; font-weight:750; color:var(--teal); }
.progress-wrap { min-width:130px; padding-top:6px; }
.progress-label { display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:13px; margin-bottom:8px; }
.progress-track { height:5px; background:#dce5e9; border-radius:8px; overflow:hidden; }
.progress-track>span { display:block; height:100%; background:var(--teal); }
.phase-steps { list-style:none; padding:0; margin:0 0 14px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border:1px solid var(--line); border-radius:10px; background:#fff; overflow:hidden; }
.phase-steps li { display:flex; align-items:center; gap:8px; padding:12px 14px; font-size:13px; color:var(--muted); border-right:1px solid var(--line); }
.phase-steps li:last-child { border:0; }
.phase-steps .current { background:var(--teal-light); color:var(--teal); font-weight:700; }
.phase-number { display:grid; place-items:center; width:23px; height:23px; border:1px solid #a3b5bf; border-radius:50%; flex:none; font-size:11px; }
.current .phase-number { background:var(--teal); border-color:var(--teal); color:#fff; }
.finished .phase-number { color:var(--teal); border-color:#97c1b5; }
.workspace-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(350px,.8fr); gap:24px; align-items:start; }
.source-column,.decision-column { min-width:0; max-height:var(--pane-height,calc(100dvh - 320px)); min-height:0; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; scroll-padding:var(--pane-heading-height,96px) 0 24px; padding:3px 9px 12px 3px; scrollbar-width:thin; scrollbar-color:#8ca5b2 transparent; border-radius:10px; }
.source-column { display:block; }
.source-column>.card { margin-bottom:18px; }
.source-column>.card:last-child { margin-bottom:0; }
.source-toolbar,.response-pane-heading { position:sticky; top:0; z-index:10; background:var(--paper); padding:0 0 14px; }
.source-toolbar>div { display:flex; gap:12px; align-items:baseline; flex-wrap:wrap; margin-bottom:10px; }
.source-toolbar strong,.response-pane-heading strong { font-size:16px; }
.source-toolbar span,.response-pane-heading>span { color:var(--muted); font-size:12px; }
.source-shortcuts { display:flex; flex-wrap:wrap; gap:6px; }
.source-shortcuts button { flex:0 0 auto; background:#fff; border:1px solid #abbfc9; color:var(--ink); border-radius:6px; padding:7px 10px; font-size:13px; min-height:40px; }
.source-shortcuts button:hover { background:var(--teal-light); border-color:var(--teal); }

.brief-card { border-left:3px solid var(--teal); padding:22px 24px; }
.brief-card h2 { font-size:18px; }
.brief-card p { font-size:16px; line-height:1.85; }
.source-document { padding:0; overflow:hidden; scroll-margin-top:var(--pane-heading-height,96px); }
.document-heading { padding:20px 24px 16px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; align-items:start; }
.document-heading h2 { font-size:18px; margin:4px 0 0; }
.document-label { font-size:12px; color:var(--muted); }
.document-icon { color:var(--muted); padding-top:5px; }
.document-icon svg { width:20px; height:20px; }
.document-body { padding:22px 24px; font-size:16px; line-height:1.9; }
.document-body p { margin-bottom:16px; }
.document-body ul { margin:0; padding-left:20px; display:grid; gap:12px; }
.table-wrap { overflow:auto; border:1px solid #afc0cc; border-radius:8px; max-width:100%; }
table { border-collapse:collapse; width:100%; text-align:left; line-height:1.7; font-size:14px; }
th,td { padding:13px 14px; vertical-align:top; border-bottom:1px solid var(--line); }
thead th { background:var(--soft); font-weight:650; }
tbody th { font-weight:650; }
tbody tr:last-child>* { border-bottom:0; }
td { min-width:86px; }
th:first-child,td:first-child { min-width:96px; }
.response-pane-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-bottom:14px; min-height:84px; }
.response-pane-heading>div { display:grid; gap:4px; }
.response-pane-heading span { font-size:12px; color:var(--muted); }
.decision-column>.card { margin-bottom:18px; }
.ai-card,.support-neutral { height:260px; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; }
.ai-card { background:#edf7f3; border-color:#b0d0c3; padding:22px 24px; }
.ai-card h2 { font-size:18px; margin:14px 0; }
.ai-card p { font-size:15px; line-height:1.9; color:#30554b; }
.ai-label { display:inline-flex; gap:7px; align-items:center; font-size:13px; font-weight:750; color:var(--teal); }
.ai-label svg { width:16px; height:16px; }
.support-neutral { background:#edf2f5; border-style:dashed; color:var(--muted); font-size:15px; padding:24px; }
.support-neutral strong { color:var(--ink); display:block; margin-bottom:10px; font-size:16px; }
.decision-column[data-evaluation=true] .support-neutral { height:auto; min-height:0; }
.response-card { padding:24px; }
.response-card h2 { font-size:20px; }
.response-card fieldset { border:0; padding:0; margin:0; min-width:0; }
.response-card legend { font-size:18px; line-height:1.65; font-weight:700; margin-bottom:14px; }
.choice { display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid #b3c3cc; border-radius:9px; background:#fff; cursor:pointer; margin:12px 0; transition:background .15s,border-color .15s; }
.choice:hover { border-color:var(--teal); background:#f8fbfa; }
.choice:has(input:checked) { border-color:var(--teal); background:var(--teal-light); box-shadow:inset 0 0 0 1px var(--teal); }
.choice input { margin:5px 0 0; width:18px; height:18px; }
.choice-text { font-size:15px; line-height:1.75; }
.choice-text strong { display:block; font-size:15px; }
.choice-text small { display:block; font-size:14px; color:var(--muted); margin-top:5px; line-height:1.8; }
.choice.unknown { border-style:dashed; background:#f7f9fa; }
.choice.unknown .choice-text { color:var(--muted); }
.response-submit { margin-top:24px; border-top:1px solid var(--line); padding-top:18px; }
.response-submit .button { width:100%; }
.submit-note { font-size:13px; color:var(--muted); margin:10px 0 0; text-align:center; }
.selection-status { min-height:24px; font-size:13px; color:var(--muted); margin:0 0 12px; }
.selection-status[data-ready=true] { color:var(--teal); }
.update-callout { background:#edf4f9; border:1px solid #b7cedc; border-radius:9px; padding:20px; margin-bottom:24px; }
.update-callout .eyebrow { color:#315974; }
.update-callout p { font-size:16px; line-height:1.85; color:#284d65; }
.update-caption { color:var(--muted); font-size:14px; }
.rating-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
.rating-grid.prediction { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.rating-choice { position:relative; cursor:pointer; border:1px solid #acbec8; border-radius:7px; min-height:46px; display:grid; place-items:center; font-size:15px; background:#fff; }
.rating-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.rating-choice:hover { border-color:var(--teal); }
.rating-choice:has(input:checked) { background:var(--teal-light); border-color:var(--teal); color:var(--teal); box-shadow:inset 0 0 0 1px var(--teal); font-weight:750; }
.rating-choice:has(input:focus-visible) { outline:3px solid var(--focus); outline-offset:3px; }
.rating-ends { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:var(--muted); margin:10px 0 0; }
.response-card .rating-section+.rating-section { border-top:1px solid var(--line); padding-top:24px; margin-top:28px; }
.prediction-hint { font-size:14px; color:var(--muted); }
.chosen-summary { background:var(--soft); padding:14px 16px; border-radius:8px; margin-bottom:24px; }
.chosen-summary span { display:block; font-size:12px; color:var(--muted); margin-bottom:5px; }
.chosen-summary strong { font-size:15px; }
.memo-field { font-size:16px; min-height:240px; }
.memo-meta { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:var(--muted); margin:10px 0 18px; }
.memo-instructions { font-size:15px; color:var(--muted); }
.done-emblem { width:56px; height:56px; display:grid; place-items:center; background:var(--teal-light); color:var(--teal); border:1px solid #bdd8cd; border-radius:50%; margin-bottom:24px; }
.done-emblem svg { width:26px; height:26px; }
.completion-card { padding:40px; }
.completion-card h1 { font-size:30px; }
.completion-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:28px 0; }
.completion-summary>div { background:var(--soft); border-radius:9px; padding:18px; overflow-wrap:anywhere; }
.completion-summary span { display:block; font-size:13px; color:var(--muted); margin-bottom:6px; }
.completion-summary strong { font-size:19px; }
.completion-next { padding-top:24px; border-top:1px solid var(--line); display:grid; gap:16px; }
.download-status { font-size:14px; color:var(--muted); min-height:24px; }
.delivery-steps { list-style:none; padding:0; margin:24px 0; display:grid; gap:14px; }
.delivery-steps li { display:flex; gap:14px; align-items:start; }
.delivery-steps li>span { display:grid; place-items:center; width:28px; height:28px; border:1px solid #a8bdc7; border-radius:50%; flex:none; font-size:13px; }
.delivery-steps strong { font-size:16px; }
.delivery-steps p { font-size:14px; color:var(--muted); }
.mobile-gate { display:none; }
.desktop-notice { display:flex; gap:18px; align-items:start; }
.desktop-notice svg { width:26px; flex:none; }
.session-banner { margin-bottom:20px; }
.locked-overlay { position:fixed; inset:0; z-index:80; background:#172b3a80; display:flex; align-items:center; justify-content:center; padding:30px; }
.locked-overlay .card { width:500px; max-height:90dvh; overflow:auto; }
.locked-overlay h2 { font-size:24px; }
.session-dialog { padding:0; width:min(580px,calc(100% - 48px)); max-height:85dvh; overflow:auto; border:1px solid var(--line); border-radius:16px; color:var(--ink); background:#fff; box-shadow:0 16px 64px #172b3a30; }
.session-dialog::backdrop { background:#172b3a80; }
.dialog-body { padding:32px; }
.dialog-body h2 { font-size:25px; }
.dialog-body p,.dialog-body li { font-size:15px; }
.dialog-body ul { padding-left:20px; display:grid; gap:12px; }
.dialog-actions { position:sticky; bottom:0; background:#fff; display:flex; justify-content:flex-end; gap:12px; border-top:1px solid var(--line); padding:20px 32px; flex-wrap:wrap; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Cross-pane movement remains visible without adding answer hints. */
.workspace-switch { display:flex; justify-content:flex-end; gap:8px; padding:0 0 12px; }
.workspace-switch button,.pane-link { border:1px solid var(--line); background:#fff; color:var(--teal); border-radius:6px; padding:7px 11px; min-height:38px; font-size:13px; font-weight:600; }
.workspace-switch button:hover,.pane-link:hover { border-color:var(--teal); background:var(--teal-light); }
.source-column:focus-visible,.decision-column:focus-visible { outline-offset:2px; }
.source-toolbar { box-shadow:0 4px 0 var(--paper); }
.source-toolbar>div { gap:10px; }
.source-toolbar span { font-size:12px; }
.response-card { scroll-margin-top:var(--pane-heading-height,96px); }
.choice:focus-within { outline:2px solid var(--focus); outline-offset:2px; }
.choice-text,.document-body,.brief-card p { overflow-wrap:anywhere; word-break:normal; }
.document-body p,.document-body li { max-width:72ch; }
.table-wrap:focus-visible { outline-offset:-3px; }
.ai-card { scrollbar-width:thin; scrollbar-color:#789e8f #e2eee7; }
.unknown-help { font-size:13px; margin:10px 0 0 30px; }
#save-status { display:flex; align-items:center; font-variant-numeric:tabular-nums; padding:6px 10px; background:var(--teal-light); border-radius:6px; color:var(--teal); font-size:12px; }
#save-status.save-warning { background:var(--amber-bg); color:var(--amber); }
.workspace[data-layout=page] .source-column,.workspace[data-layout=page] .decision-column { max-height:none; overflow:visible; padding-bottom:0; }
.workspace[data-layout=page] .source-toolbar,.workspace[data-layout=page] .response-pane-heading { position:static; }
.workspace[data-layout=page] .workspace-grid { align-items:start; }
.workspace[data-layout=page] .source-document,.workspace[data-layout=page] .response-card { scroll-margin-top:96px; }
@media(max-height:680px) and (min-width:900px) {
 .site-header .shell { min-height:64px; }
 .workspace-main { padding-top:18px; }
 .workspace-title h1 { font-size:23px; }
 .phase-steps li { padding-top:9px; padding-bottom:9px; }
 .start-card { position:static; }
}
@media(min-width:1600px) {
  :root { --rail:216px; }
  .workspace-main { padding-left:36px; padding-right:36px; }
  .workspace-grid { grid-template-columns:minmax(0,1fr) minmax(400px,.76fr); gap:30px; }
}
@media(max-width:1180px) {
  :root { --rail:160px; }
  .workspace-main { padding:24px 20px; }
  .workspace-grid { grid-template-columns:minmax(0,1fr) 340px; gap:16px; }
  .workspace-title h1 { font-size:23px; }
  .workspace-nav { padding:24px 10px; }
  .task-nav-item { grid-template-columns:22px minmax(0,1fr); gap:7px; padding:12px 7px; }
  .nav-index { width:22px; height:22px; }
  .task-nav-item strong { font-size:13px; }
  .phase-steps li { padding:12px 8px; gap:6px; font-size:12px; }
  .document-body,.document-heading,.brief-card,.response-card { padding:20px; }
  .onboarding-grid { gap:24px; grid-template-columns:minmax(0,1fr) 370px; }
}
@media(max-width:1020px) {
  .workspace { grid-template-columns:1fr; }
  .workspace-nav { display:none; }
  .workspace-grid { grid-template-columns:minmax(0,1fr) 360px; }
  .header-meta>.header-tagline { display:none; }
}
@media(max-width:899px) {
  .mobile-gate { display:block; padding:40px 0; }
  .desktop-content { display:none!important; }
  .shell { width:calc(100% - 36px); }
  .site-header .shell { min-height:68px; width:calc(100% - 36px); }
  .header-meta { display:none; }
  .site-footer .shell { display:grid; gap:8px; }
  .mobile-gate h1 { font-size:28px; }
  .mobile-gate .card { padding:24px; }
  .brand { font-size:16px; }
  .locked-overlay { padding:18px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
@media print {
  .workspace-nav,.site-header,.site-footer,.decision-column,.button,.source-toolbar,.phase-steps { display:none!important; }
  .workspace,.workspace-grid { display:block; }
  .workspace-main { padding:0; }
  .source-column { max-height:none; overflow:visible; }
  .card { box-shadow:none; break-inside:avoid; }
}

.resume-card{margin-bottom:28px;border-left:4px solid var(--teal)}.resume-card .eyebrow{margin-bottom:6px}.resume-card h3{margin-bottom:8px}.practice-intro{color:var(--muted);font-size:15px;line-height:1.8;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.start-form>button[type=submit]{width:100%}.onboarding-story .case-preview-row{padding-block:18px}.onboarding-story .case-preview-row h2{margin:0;font-size:18px}.site-footer{background:#f8fafb}.completion-card .completion-next .actions>.button:first-child{min-width:240px}.workspace[data-layout=panes] .workspace-nav{position:sticky;top:var(--header-height)}
@media(max-width:1180px){.header-meta{gap:8px}.site-header .shell{gap:16px}.brand{font-size:16px}.header-meta .button{padding-inline:11px}}
@media(max-width:899px){.site-footer{padding-block:18px}.resume-card{margin-bottom:20px}.workspace-switch{display:none}}
.header-meta [data-cloud-status]{font-size:12px;color:var(--teal);max-width:160px;line-height:1.5;overflow-wrap:anywhere}.completion-card [data-action=cloud-submit]{margin-top:14px}.completion-card [data-cloud-status]{display:block;margin-bottom:8px}.site-footer .shell>span:last-child{max-width:660px;text-align:right}@media(max-width:1100px){.header-meta{flex-wrap:wrap;justify-content:flex-end}.site-header .shell{padding-block:10px}.header-meta [data-cloud-status]{max-width:130px}}@media(max-width:899px){.site-footer .shell>span:last-child{text-align:left}}
