:root {
  --paper: #f7f4ed;
  --paper-deep: #eee9dd;
  --ink: #1d211d;
  --muted: #697069;
  --line: #d9d4c9;
  --orange: #ef6a35;
  --orange-dark: #c84920;
  --green: #193f34;
  --green-soft: #dfe9df;
  --yellow: #f1c75b;
  --white: #fffefb;
  --danger: #a43122;
  --shadow: 0 24px 70px rgba(40, 36, 28, .11);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; }
main { min-height: calc(100vh - 150px); }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 12px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 13px; }

.site-header { height: 76px; padding: 0 max(24px, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(29,33,29,.1); background: rgba(247,244,237,.9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px 12px 12px 4px; background: var(--green); color: #fff; font-family: serif; font-weight: 800; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 14px; letter-spacing: .04em; }
.brand small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.site-header nav { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.user-chip { padding: 6px 11px; border-radius: 999px; background: var(--paper-deep); }
.inline-form { display: inline; margin: 0; }
.text-button { padding: 5px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.text-button:hover { color: var(--orange-dark); }

.button { appearance: none; border: 0; border-radius: 999px; background: var(--orange); color: white; padding: 13px 22px; font-weight: 750; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(239,106,53,.22); transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); background: var(--orange-dark); box-shadow: 0 10px 28px rgba(200,73,32,.25); }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
.button-small { padding: 9px 16px; font-size: 12px; }
.button-block { width: 100%; }
.button-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.button-ghost:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.disabled-link { opacity: .38; pointer-events: none; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 68px; padding-block: 70px; }
.hero h1 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: clamp(45px, 5.3vw, 74px); font-weight: 750; letter-spacing: -.055em; line-height: 1.08; }
.hero h1 em { color: var(--green); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; left: 1%; right: -1%; bottom: 4px; height: 13px; border-radius: 999px; background: var(--yellow); opacity: .55; }
.hero-lead { max-width: 620px; margin: 26px 0 28px; color: #4f5851; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; }
.micro-proof { margin-top: 28px; display: flex; align-items: baseline; gap: 9px; color: var(--muted); font-size: 12px; }
.micro-proof strong { color: var(--ink); font-size: 17px; }
.micro-proof span { height: 1px; width: 18px; background: var(--line); }
.hero-card { border: 1px solid #cbc5b8; border-radius: 28px; padding: 0 24px 26px; background: var(--white); box-shadow: var(--shadow); transform: rotate(1.3deg); }
.window-bar { height: 54px; margin-inline: -5px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c7c1b5; }
.window-bar i:first-child { background: var(--orange); }
.window-bar span { margin-left: auto; }
.preview-route { margin: 23px 0 16px; padding: 10px 13px; display: flex; gap: 8px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 11px; }
.preview-route span { margin-left: auto; font-weight: 800; }
.preview-message { width: 86%; margin: 12px 0; padding: 14px 16px; border-radius: 16px; line-height: 1.65; font-size: 13px; }
.preview-message.ai { border-bottom-left-radius: 4px; background: var(--paper-deep); }
.preview-message.human { margin-left: auto; border-bottom-right-radius: 4px; background: var(--green); color: white; }
.preview-rule { margin-top: 20px; padding: 15px; border: 1px dashed #c9983b; border-radius: 13px; background: #fff9e9; display: flex; flex-direction: column; gap: 5px; }
.preview-rule small { color: #977324; }
.preview-rule strong { font-family: serif; font-size: 15px; }
.preview-rule span { color: var(--muted); font-size: 10px; }

.section { padding-block: 90px; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section h2, .page-heading h1, .workspace-heading h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-weight: 750; letter-spacing: -.025em; }
.section h2 { font-size: clamp(32px, 4vw, 50px); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,251,.52); }
.step-card > span { color: var(--orange); font-family: serif; font-size: 14px; }
.step-card h3 { margin: 34px 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }
.boundary-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.check-list li { padding: 16px 18px 16px 50px; border-radius: 14px; background: var(--green); color: white; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--yellow); font-weight: 900; }

.site-footer { min-height: 74px; padding: 18px max(24px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.mode-badge { padding: 5px 9px; border-radius: 99px; font-weight: 700; }
.mode-real { background: var(--green-soft); color: var(--green); }
.mode-demo { background: #fae8c4; color: #876018; }

.auth-shell { width: min(1040px, calc(100% - 40px)); min-height: calc(100vh - 150px); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.auth-aside { padding: 80px 70px 80px 0; display: flex; flex-direction: column; justify-content: center; }
.auth-aside h1 { margin: 0; max-width: 560px; font-family: serif; font-size: 50px; line-height: 1.18; }
.auth-aside > p:not(.eyebrow) { max-width: 540px; color: var(--muted); }
.auth-quote { margin-top: 46px; padding: 20px 0 20px 24px; border-left: 3px solid var(--orange); color: var(--green); font-family: serif; font-size: 19px; line-height: 1.6; }
.auth-panel { margin-block: 46px; padding: 42px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.auth-panel h2 { margin: 0; font-family: serif; font-size: 33px; }
.stack-form { display: grid; gap: 17px; margin-top: 26px; }
.stack-form label, .task-form label, .revision-form label, .plain-label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); padding: 12px 13px; outline: none; transition: border .18s, box-shadow .18s; }
textarea { line-height: 1.65; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,106,53,.12); }
label small, .field-help { color: var(--muted); font-weight: 400; font-size: 10px; }
.switch-auth { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.switch-auth a { color: var(--orange-dark); font-weight: 700; }
.form-error, .warning-banner { padding: 12px 14px; border: 1px solid #efbbb3; border-radius: 10px; background: #fff1ee; color: var(--danger); font-size: 12px; line-height: 1.6; }

.page-shell { padding-block: 56px 90px; }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-heading { margin-bottom: 34px; }
.page-heading h1 { font-size: clamp(32px, 4vw, 50px); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .18s, box-shadow .18s; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(40,36,28,.08); }
.project-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
.carrier-tag { padding: 6px 9px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-weight: 700; }
.project-card h2 { margin: 36px 0 5px; font-family: serif; font-size: 23px; }
.project-card p { min-height: 46px; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.progress-line { height: 5px; overflow: hidden; border-radius: 99px; background: var(--paper-deep); }
.progress-line i { display: block; height: 100%; border-radius: inherit; background: var(--orange); transition: width .3s; }
.project-stats { display: flex; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.project-stats b { color: var(--ink); }
.project-stats strong { margin-left: auto; color: var(--orange-dark); }
.empty-state { padding: 80px 30px; text-align: center; border: 1px dashed #bdb7a9; border-radius: 28px; }
.empty-mark { width: 74px; height: 74px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: serif; font-size: 27px; }
.empty-state h2 { margin: 0; font-family: serif; font-size: 30px; }
.empty-state p { color: var(--muted); }

.form-page { display: grid; grid-template-columns: .78fr 1.22fr; gap: 74px; padding-block: 62px 100px; }
.form-intro { position: sticky; top: 130px; align-self: start; }
.form-intro h1 { margin: 0; font-family: serif; font-size: 45px; line-height: 1.2; }
.form-intro > p:not(.eyebrow) { color: var(--muted); }
.ratio-card { margin-top: 28px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 10px; font-size: 11px; }
.ratio-card span { display: flex; align-items: center; gap: 9px; }
.ratio-card i { width: 30px; height: 6px; border-radius: 99px; }
.ratio-main { background: var(--orange); }
.ratio-near { background: var(--green); }
.ratio-explore { background: var(--yellow); }
.setup-form { padding: 32px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
fieldset { margin: 0; padding: 25px 0; border: 0; border-bottom: 1px solid var(--line); }
fieldset:first-of-type { padding-top: 0; }
fieldset legend { width: 100%; margin-bottom: 15px; font-weight: 800; font-size: 15px; }
fieldset legend small { margin-left: 6px; color: var(--muted); font-size: 10px; font-weight: 400; }
.carrier-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.choice-card { display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span { min-height: 77px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; display: flex; flex-direction: column; justify-content: center; gap: 5px; transition: all .18s; }
.choice-card span b { font-size: 13px; }
.choice-card span small { color: var(--muted); font-size: 9px; }
.choice-card input:checked + span { border-color: var(--green); background: var(--green); color: white; box-shadow: 0 8px 22px rgba(25,63,52,.14); }
.choice-card input:checked + span small { color: #dbe6dc; }
.choice-card.compact span { min-height: 48px; }
.choice-card input:disabled + span { opacity: .35; cursor: not-allowed; }
.consent-box { border-bottom: 0; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.65; cursor: pointer; }
.check-row input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--orange); }
.required-check { padding: 13px; border-radius: 11px; background: var(--paper); color: var(--ink); }

.interview-layout { height: calc(100vh - 76px); display: grid; grid-template-columns: 340px 1fr; overflow: hidden; }
.interview-sidebar { padding: 34px; border-right: 1px solid var(--line); background: #eeeadf; overflow-y: auto; }
.interview-sidebar h1 { margin: 0 0 30px; font-family: serif; font-size: 28px; }
.big-progress { display: grid; grid-template-columns: auto 1fr; align-items: baseline; width: max-content; }
.big-progress strong { font-family: serif; font-size: 62px; line-height: .9; }
.big-progress > span { color: var(--muted); font-size: 21px; }
.big-progress small { grid-column: 1 / -1; margin-top: 8px; color: var(--muted); font-size: 10px; }
.progress-line.large { margin: 18px 0 25px; height: 7px; background: #dbd6c9; }
.interview-stats { margin: 0; display: grid; }
.interview-stats div { padding: 11px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #d9d4c6; }
.interview-stats dt { color: var(--muted); font-size: 10px; }
.interview-stats dd { margin: 0; text-align: right; font-size: 11px; font-weight: 700; }
.privacy-note { margin: 24px 0; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.55); }
.privacy-note b { font-size: 11px; }
.privacy-note p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.chat-panel { min-width: 0; display: grid; grid-template-rows: 61px 1fr auto; background: var(--white); }
.chat-header { padding: 0 30px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.chat-header > div { display: flex; flex-direction: column; }
.chat-header b { font-size: 13px; }
.chat-header span { color: var(--muted); font-size: 9px; }
.live-dot { display: flex; align-items: center; gap: 7px; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: #39a46f; box-shadow: 0 0 0 4px rgba(57,164,111,.13); }
.message-list { overflow-y: auto; padding: 30px clamp(24px, 6vw, 90px); scroll-behavior: smooth; }
.system-message { width: fit-content; margin: 0 auto 26px; padding: 7px 12px; border-radius: 99px; background: var(--paper); color: var(--muted); font-size: 9px; }
.message { margin: 22px 0; display: flex; gap: 11px; align-items: flex-end; }
.message > div:not(.avatar) { max-width: min(78%, 720px); }
.avatar { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: white; font-size: 9px; font-weight: 800; }
.human-message { justify-content: flex-end; }
.human-message .avatar { background: var(--orange); }
.bubble { padding: 14px 17px; border-radius: 17px 17px 17px 4px; background: var(--paper-deep); font-size: 14px; line-height: 1.72; white-space: pre-wrap; }
.human-message .bubble { border-radius: 17px 17px 4px 17px; background: var(--green); color: white; }
.message-meta { margin: 0 0 6px 4px; display: flex; gap: 8px; color: var(--muted); font-size: 9px; }
.message-meta small { padding: 1px 5px; border-radius: 4px; background: var(--green-soft); color: var(--green); }
.record-meta { margin: 6px 4px 0; text-align: right; color: var(--muted); font-size: 8px; }
.cursor { display: inline-block; width: 2px; height: 15px; margin-left: 3px; vertical-align: -2px; background: var(--orange); animation: blink .85s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat-composer { padding: 17px clamp(24px, 6vw, 90px) 22px; border-top: 1px solid var(--line); background: var(--white); }
.answer-form > label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; }
.answer-form textarea { max-height: 220px; }
.answer-options { margin: 8px 0; display: flex; gap: 20px; color: var(--muted); font-size: 9px; }
.answer-options label { display: flex; align-items: center; gap: 5px; }
.answer-options input { width: 13px; height: 13px; accent-color: var(--orange); }
.composer-actions { display: flex; justify-content: space-between; align-items: center; }
.followup-panel { padding: 13px; border-radius: 12px; background: var(--paper); }
.followup-panel p { margin: 0 0 8px; color: var(--muted); font-size: 10px; }
.followup-panel div { display: flex; flex-wrap: wrap; gap: 6px; }
.followup-panel button, .blind-review button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--muted); font-size: 9px; cursor: pointer; }
.followup-panel .primary-mini { border-color: var(--green); background: var(--green); color: white; }
.complete-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 20px; padding: 14px 16px; border-radius: 13px; background: var(--green); color: white; }
.complete-panel b { font-size: 13px; }
.complete-panel span { grid-column: 1; color: #d7e4da; font-size: 9px; }
.complete-panel .button { grid-column: 2; grid-row: 1 / 3; }
.composer-error, .pipeline-error { margin: 8px 0 0; color: var(--danger); font-size: 10px; }

.pipeline-shell { padding-block: 54px 100px; }
.pipeline-steps { margin-bottom: 28px; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.pipeline-steps::before { content: ""; position: absolute; top: 14px; left: 8%; right: 8%; height: 1px; background: var(--line); }
.pipeline-step { z-index: 1; display: grid; place-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.pipeline-step i { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-style: normal; }
.pipeline-step.done { color: var(--green); font-weight: 700; }
.pipeline-step.done i { border-color: var(--green); background: var(--green); color: white; }
.warning-banner { margin-bottom: 18px; }
.workspace-card { margin-top: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.workspace-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.workspace-heading h2 { margin-top: 7px; font-size: 28px; }
.step-label { color: var(--orange-dark); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.count-chip { padding: 7px 11px; border-radius: 99px; background: var(--paper); color: var(--muted); font-size: 9px; }
.two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.compact-form { margin: 0; padding: 18px; border-radius: 15px; background: var(--paper); }
.proposal-result { min-height: 240px; padding: 22px; border: 1px dashed #bdb5a5; border-radius: 15px; display: flex; flex-direction: column; justify-content: center; }
.proposal-result > small { color: var(--orange-dark); }
.proposal-result h3 { margin: 13px 0; font-family: serif; font-size: 24px; line-height: 1.5; }
.proposal-result p { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.proposal-actions { display: flex; gap: 8px; margin-top: 12px; }
.empty-mini { color: var(--muted); text-align: center; font-size: 11px; }
.rule-list { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.rule-list article { padding: 15px; border-radius: 12px; background: var(--green-soft); display: flex; flex-direction: column; gap: 6px; }
.rule-list span, .rule-list small { color: var(--green); font-size: 8px; }
.rule-list b { font-size: 12px; }
.task-form { display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.output-comparison, .blind-output { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.output-comparison article, .blind-output article { min-height: 240px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.output-comparison article > span, .blind-output article > span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.output-comparison .personalized { border-color: #9fb6a4; background: #f2f7f2; }
.output-text { margin-top: 12px; white-space: pre-wrap; font-size: 12px; line-height: 1.78; }
.revision-form { margin-top: 16px; padding: 18px; display: grid; gap: 12px; border-radius: 15px; background: #fff8e7; }
.blind-route { margin-bottom: 18px; padding: 14px 17px; border-radius: 13px; background: var(--green); color: white; display: grid; grid-template-columns: auto 1fr; gap: 3px 18px; }
.blind-route span { grid-row: 1 / 3; align-self: center; color: #bfd1c4; font-size: 9px; }
.blind-route b { font-size: 12px; }
.blind-route small { color: #bfd1c4; font-size: 8px; }
.blind-output { position: relative; }
.blind-review { grid-column: 1 / -1; padding: 16px; border-radius: 13px; background: var(--paper); }
.blind-review p { margin: 0 0 8px; font-size: 11px; font-weight: 700; }
.blind-review > div { display: flex; gap: 6px; margin-bottom: 10px; }
.blind-review label { margin-right: 15px; color: var(--muted); font-size: 9px; }
.blind-review input { width: 13px; height: 13px; }
.flow-summary { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: var(--green); color: white; }
.flow-summary h2 { margin: 8px 0; font-family: serif; font-size: 29px; }
.flow-summary p { margin: 0; color: #c4d4c8; font-size: 11px; }
.flow-arrows { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.flow-arrows span { padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 9px; }
.flow-arrows i { align-self: center; color: var(--yellow); font-style: normal; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 60; max-width: 360px; padding: 12px 15px; border-radius: 11px; background: var(--ink); color: white; font-size: 11px; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero, .auth-shell, .form-page, .boundary-section, .flow-summary { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; gap: 45px; }
  .hero-card { transform: none; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-aside { padding: 60px 0 20px; }
  .auth-panel { margin: 20px 0 60px; }
  .form-intro { position: static; }
  .interview-layout { height: auto; min-height: calc(100vh - 76px); grid-template-columns: 1fr; overflow: visible; }
  .interview-sidebar { padding: 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-panel { min-height: 720px; }
  .message-list { min-height: 380px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { height: 66px; padding-inline: 12px; }
  .brand small, .site-header nav > a:not(.button), .user-chip { display: none; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 14px; }
  .hero-actions, .heading-row { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .micro-proof { flex-wrap: wrap; }
  .step-grid, .project-grid, .carrier-options, .two-column, .rule-list, .form-row, .output-comparison, .blind-output { grid-template-columns: 1fr; }
  .boundary-section { gap: 26px; }
  .auth-aside h1, .form-intro h1 { font-size: 38px; }
  .auth-panel, .setup-form, .workspace-card { padding: 22px; }
  .pipeline-steps { overflow-x: auto; grid-template-columns: repeat(6, 80px); justify-content: start; }
  .message-list { padding: 22px 14px; }
  .chat-composer { padding: 13px 14px 18px; }
  .message > div:not(.avatar) { max-width: 86%; }
  .answer-options { flex-direction: column; gap: 6px; }
  .complete-panel { grid-template-columns: 1fr; }
  .complete-panel .button { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .blind-review { grid-column: 1; }
}

