:root {
  color-scheme: light;
  --canvas: #f7f8fa;
  --paper: #fff;
  --wash: #eef0f4;
  --line: #e0e4eb;
  --ink: #171d2e;
  --secondary: #465068;
  --muted: #5e687b;
  --accent: #2449d8;
  --accent-hover: #1736ae;
  --accent-wash: #edf1ff;
  --danger: #a1352b;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
  font: 15px/1.65 var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:not(:disabled) { cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: inherit; text-underline-offset: 4px; }
p, h1, h2, h3, blockquote, ol, ul { margin: 0; }
[hidden], .symbols { display: none !important; }
.frame { width: min(calc(100% - 96px), 1160px); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-inner, .top-end, .brand { display: flex; align-items: center; }
.top-inner { min-height: 64px; justify-content: space-between; }
.brand, .text-button, .quiet { background: none; border: 0; padding: 0; }
.brand { gap: 10px; font-weight: 600; font-size: 17px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.brand-icon { display: grid; place-items: center; width: 32px; height: 32px; color: white; background: var(--accent); border-radius: 8px; }
.brand-icon .icon { width: 20px; height: 20px; }
.top-end { gap: 16px; }
.prototype { font-size: 12px; color: var(--muted); padding-right: 16px; border-right: 1px solid var(--line); }
.text-button, .quiet { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); min-height: 36px; text-align: left; }
.text-button:hover, .quiet:hover, .footer a:hover { color: var(--accent); }
.help { font-size: 13px; }
.stepper { display: flex; list-style: none; padding: 0; gap: 24px; border-bottom: 1px solid var(--line); margin-top: 20px; }
.stepper li { min-width: 0; }
.step { display: flex; gap: 8px; align-items: center; border: 0; border-bottom: 2px solid transparent; background: none; min-height: 44px; padding: 0 4px 8px; color: var(--muted); font-size: 13px; }
.step[aria-current] { color: var(--ink); border-color: var(--accent); font-weight: 600; }
.step .num { color: var(--muted); }
.step[aria-current] .num { color: var(--accent); }
.step:not(:disabled):hover { color: var(--accent); }
.num { font: 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.entrance { animation: arrive 360ms var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; padding-block: 56px 40px; }
.hero-copy { min-width: 0; }
.kicker { font-size: 13px; color: var(--secondary); font-weight: 500; }
.hero h1 { margin: 16px 0 20px; font-size: clamp(48px, 5.45vw, 76px); font-weight: 600; line-height: 1.06; letter-spacing: -.065em; }
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: 4px; }
.lede { color: var(--secondary); max-width: 25em; font-size: 17px; line-height: 1.7; }
.drop { margin: 24px 0 0; border-radius: 12px; }
.drop.is-dragging { outline: 2px dashed var(--accent); outline-offset: 8px; background: var(--accent-wash); }
.drop-meta, .small, .footer { color: var(--muted); font-size: 12px; }
.drop-meta { margin-top: 12px; }
.buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.button:hover { background: var(--wash); border-color: #bcc6d7; }
.button.primary { border-color: var(--accent); background: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button:disabled { opacity: .5; }
.hero .button { min-height: 48px; }
.alt-actions { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; margin-top: 8px; font-size: 13px; }
.dot { margin-inline: 4px; color: var(--muted); }
.error { margin-top: 8px; color: var(--danger); font-size: 13px; }
.resume-draft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; margin-top: 16px; padding: 0 12px; background: var(--wash); border-radius: 8px; font-size: 13px; max-width: 360px; }
.resume-draft > span { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); }
.resume-draft .text-button { color: var(--accent-hover); }
.draft-note { margin-top: 4px; }
.board { min-width: 0; margin: 0; padding: 24px 32px; background: var(--accent); border-radius: 16px; color: white; }
.board-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; }
.board-head .num, .board-foot { color: #e5ebff; }
.case-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.case-choice { min-height: 34px; padding: 4px 12px; color: white; background: transparent; border: 1px solid #ffffff5c; border-radius: 6px; font-size: 13px; }
.case-choice:hover { background: #ffffff24; }
.case-choice[aria-pressed=true] { color: var(--accent-hover); background: white; border-color: white; font-weight: 600; }
.case-choice:focus-visible { outline-color: white; }
.sample-paper { position: relative; isolation: isolate; margin: 24px 0; padding: 24px; color: var(--ink); }
.sample-paper::before, .sample-paper::after { content: ""; position: absolute; inset: 0; border-radius: 8px; z-index: -1; }
.sample-paper::before { background: #b0c1ff; transform: rotate(4deg) translateY(2px); z-index: -2; }
.sample-paper::after { background: var(--paper); box-shadow: 0 4px 12px #121b4224; }
.sample-header { display: flex; justify-content: space-between; gap: 8px; align-items: start; color: var(--muted); }
.sample-header strong { display: block; font-size: 24px; line-height: 1.2; color: var(--ink); font-weight: 600; }
.sample-header span { display: block; margin-top: 4px; font-size: 12px; }
.sample-section { margin-top: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.sample-diff { margin-top: 8px; }
.diff-row { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 8px; padding: 8px; color: var(--secondary); }
.diff-row.is-added { color: var(--ink); border-radius: 6px; background: var(--accent-wash); }
.diff-mark { font: 14px/20px var(--mono); text-align: center; }
.diff-label { display: block; font-size: 11px; color: var(--muted); }
.is-added .diff-label, .is-added .diff-mark { color: var(--accent-hover); }
.diff-row p { margin-top: 2px; font-size: 14px; line-height: 1.6; }
mark { color: var(--accent-hover); background: #dbe5ff; padding: 0 2px; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.proof-line { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.proof-line .icon { color: var(--accent); width: 14px; height: 14px; }
.board-foot { padding-top: 12px; border-top: 1px solid #ffffff52; font-size: 12px; }
.process-note { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; border-block: 1px solid var(--line); padding: 20px 0; }
.process-note div { display: flex; align-items: baseline; gap: 12px; }
.process-note .num { color: var(--accent); }
.process-note strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.process-note span:last-child { font-size: 12px; color: var(--muted); }
.case-study { padding: 56px 0; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin: 8px 0; font-size: clamp(24px, 3.2vw, 36px); font-weight: 600; letter-spacing: -.045em; line-height: 1.3; }
.section-heading > p:last-child { color: var(--secondary); }
.role-lens { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-left: 2px solid var(--accent); margin-bottom: 16px; padding: 8px 12px; background: var(--accent-wash); color: var(--secondary); font-size: 13px; }
.role-lens-label { color: var(--accent-hover); font-weight: 600; }
.role-lens a { color: var(--accent-hover); font-size: 12px; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: stretch; }
.lesson-options { display: grid; grid-template-rows: repeat(3, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.lesson-choice { display: grid; grid-template-columns: 24px minmax(0,1fr) 18px; align-items: center; gap: 12px; width: 100%; min-height: 78px; padding: 12px 16px; background: transparent; border: 0; text-align: left; }
.lesson-choice + .lesson-choice { border-top: 1px solid var(--line); }
.lesson-choice:first-child { border-radius: 11px 11px 0 0; }
.lesson-choice:last-child { border-radius: 0 0 11px 11px; }
.lesson-choice[aria-pressed=true] { background: var(--accent-wash); }
.lesson-choice:hover { color: var(--accent-hover); }
.lesson-choice .num, .lesson-choice .icon { color: var(--accent-hover); }
.lesson-choice strong { display: block; font-size: 14px; font-weight: 600; }
.lesson-choice strong + span { display: block; margin-top: 2px; color: var(--secondary); font-size: 13px; }
.lesson-result { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.lesson-caption { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.lesson-answer { color: var(--secondary); }
.lesson-rewrite { padding: 12px 16px; border-radius: 6px; background: var(--accent-wash); }
.lesson-rewrite .lesson-caption, .lesson-actions .text-button { color: var(--accent-hover); }
.lesson-rewrite p { font-size: 17px; line-height: 1.6; }
.lesson-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; border-top: 1px solid var(--line); padding: 40px 0 48px; }
.faq .section-heading { margin: 0; }
.faq-list { border-block: 1px solid var(--line); }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; font-weight: 500; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--muted); }
.faq-list details[open] summary .icon { transform: rotate(90deg); }
.faq-list details p { padding: 0 20px 12px 0; color: var(--secondary); font-size: 14px; }
.footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 16px 0 20px; }
.footer > span { display: flex; align-items: center; gap: 8px; }
.footer .icon { width: 14px; height: 14px; }
.footer a { text-decoration: none; }
.workspace { padding-block: 32px 48px; }
.workspace-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.workspace h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 8px; font-weight: 600; letter-spacing: -.045em; }
.workspace-head p:last-child { color: var(--secondary); }
.workspace-head .kicker { margin-bottom: 8px; }
.columns { display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px; align-items: start; }
.question-columns { grid-template-columns: 1.22fr .78fr; }
.context { min-width: 0; }
.panel { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; min-width: 0; }
.panel-content { padding: 20px; }
.panel-head { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 15px; font-weight: 600; }
.panel-head .small { display: flex; gap: 8px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.original { font-size: 17px; line-height: 1.65; font-weight: 500; padding-left: 12px; border-left: 2px solid var(--accent); overflow-wrap: anywhere; }
.source-location { margin-top: 12px; overflow-wrap: anywhere; }
.source-original { margin-top: 8px; }
.source-original summary { cursor: pointer; }
.source-original p { margin-top: 4px; overflow-wrap: anywhere; }
.source-panel .text-button { margin-top: 4px; font-size: 13px; color: var(--accent-hover); }
.compare { margin-top: 12px; }
.compare .panel-content { display: grid; gap: 8px; }
.compare .answer-line { padding: 12px; border-radius: 6px; background: var(--accent-wash); overflow-wrap: anywhere; }
.answer-line .small { display: block; margin-bottom: 4px; color: var(--accent-hover); }
.compare .empty { padding: 0; color: var(--muted); background: none; font-size: 13px; }
.count { padding: 2px 8px; border-radius: 4px; background: var(--accent-wash); color: var(--accent-hover); }
.question-list { list-style: none; padding: 0; }
.question + .question { border-top: 1px solid var(--line); }
.question-toggle { width: 100%; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 8px 12px; align-items: start; text-align: left; background: none; border: 0; padding: 16px 20px; min-height: 76px; }
.question-toggle:hover { background: var(--canvas); }
.question-toggle > .num { padding: 2px 0; border-radius: 4px; text-align: center; background: var(--accent-wash); color: var(--accent-hover); }
.question-toggle .prompt { font-size: 15px; font-weight: 500; }
.question-toggle .prompt .small { font-weight: 400; }
.question-toggle .small { display: block; margin-bottom: 2px; }
.question-toggle .end { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.question-action { font-size: 13px; color: var(--accent-hover); white-space: nowrap; }
.question-toggle[aria-expanded=true] .end svg { transform: rotate(90deg); }
.answer-form { margin: 0 20px 16px 60px; }
.answer-form label { display: block; margin-bottom: 4px; }
.answer-form .buttons { margin-top: 8px; }
.answer-hint { margin-top: 4px; }
.field { width: 100%; padding: 8px 12px; border-radius: 8px; border: 1px solid #c5cddd; background: var(--paper); color: var(--ink); }
textarea.field { resize: vertical; min-height: 96px; }
.field::placeholder { color: var(--muted); }
.instruction { border-top: 1px solid var(--line); padding: 16px 20px; background: #f7f8fb; border-radius: 0 0 11px 11px; }
.instruction strong { font-weight: 600; }
.instruction p { margin-top: 4px; }
.instruction strong { color: var(--ink); }
.workspace-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; }
.form-grid { display: grid; gap: 16px; }
.form-grid label, .dialog-body label { display: grid; gap: 4px; font-size: 13px; }
.form-grid label > span { font-weight: 600; }
.form-grid .buttons { justify-content: flex-end; padding-top: 8px; }
.preview-columns { grid-template-columns: 1.26fr .74fr; }
.paper-wrap { padding: 20px; background: var(--wash); border-radius: 12px; border: 1px solid var(--line); }
.resume-paper { min-height: 440px; padding: 32px; background: white; border: 1px solid var(--line); box-shadow: 0 2px 8px #151d3214; }
.paper-name { font-weight: 600; font-size: 32px; line-height: 1.1; overflow-wrap: anywhere; }
.paper-contact { color: var(--secondary); margin-top: 8px; font-size: 13px; overflow-wrap: anywhere; }
.paper-section { margin: 32px 0 12px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 15px; font-weight: 600; }
.resume-claims { padding-left: 20px; overflow-wrap: anywhere; }
.resume-claims li + li { margin-top: 12px; }
.resume-claims [data-action] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: none; color: inherit; padding: 0; border: 0; text-align: left; line-height: inherit; }
.claim-link { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px; color: var(--accent-hover); border-radius: 4px; font-size: 12px; white-space: nowrap; }
.claim-link .icon { width: 14px; height: 14px; }
.resume-claims [aria-pressed=true] .claim-link, .resume-claims [data-action]:hover .claim-link { background: var(--accent-wash); }
.pending .claim-link { color: var(--danger); }
.export-checks { margin-bottom: 16px; padding: 8px 16px; background: var(--accent-wash); border-radius: 8px; font-size: 13px; }
.export-checks > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.export-checks .text-button { color: var(--accent-hover); }
.evidence { display: grid; gap: 16px; }
.evidence-block { border-top: 1px solid var(--line); padding-top: 12px; overflow-wrap: anywhere; }
.evidence-block .label { display: block; color: var(--accent-hover); margin-bottom: 4px; font-size: 13px; }
.evidence-block p { font-size: 14px; }
.pending { color: var(--danger); }
dialog { width: min(480px, calc(100% - 32px)); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 48px #0002; }
dialog::backdrop { background: #171d2e66; }
dialog h2 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dialog-head .text-button { min-width: 36px; justify-content: center; }
.dialog-body { display: grid; gap: 12px; padding: 20px; }
.dialog-body .buttons { justify-content: flex-end; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 2; background: var(--ink); color: white; border-radius: 8px; padding: 12px 16px; max-width: min(320px, calc(100% - 48px)); }
@media (max-width: 1080px) {
  .frame { width: calc(100% - 64px); }
  .hero { gap: 32px; }
}
@media (701px <= width <= 900px) {
  .frame { width: calc(100% - 48px); }
  .hero { gap: 24px; padding-top: 44px; }
  .hero h1 { font-size: clamp(48px, 7vw, 60px); }
  .board { padding: 20px 24px; }
  .sample-paper { padding: 20px; }
  .question-columns { gap: 16px; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 40px); }
  .top-inner { min-height: 56px; }
  .top-end { gap: 12px; }
  .prototype { padding-right: 12px; }
  .stepper { gap: 12px; margin-top: 12px; }
  .step { gap: 4px; min-height: 40px; padding-inline: 0; font-size: 12px; }
  .step .num { font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .hero h1 { font-size: clamp(44px, 10vw, 58px); margin: 12px 0 16px; }
  .lede { font-size: 15px; }
  .board { padding: 20px; }
  .sample-paper { padding: 16px; margin-block: 20px; }
  .process-note { gap: 12px; }
  .process-note div { display: block; }
  .process-note .num { display: block; margin-bottom: 4px; }
  .case-study { padding: 32px 0; }
  .lesson-grid, .faq { grid-template-columns: 1fr; }
  .lesson-result { padding: 16px; }
  .faq { gap: 20px; padding: 28px 0 32px; }
  .workspace { padding-block: 24px 32px; }
  .columns { grid-template-columns: 1fr; gap: 12px; }
  .question-columns > .context { display: contents; }
  .question-columns .source-panel { grid-row: 1; }
  .question-columns .compare { margin-top: 0; }
  .workspace-head { margin-bottom: 16px; align-items: start; }
  .resume-paper { min-height: 320px; padding: 20px; }
}
@media (max-width: 380px) {
  .frame { width: calc(100% - 32px); }
  .stepper { gap: 10px; }
  .step .num, .prototype { display: none; }
  .footer { flex-wrap: wrap; }
  .answer-form { margin-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  :root, body { background: white; }
  body > .top, .stepper, .workspace-head, .workspace-actions, .evidence-panel, .footer, .toast, .claim-link, .export-checks, dialog { display: none !important; }
  .frame, .workspace, .preview-columns, .paper-wrap, .resume-paper { display: block; width: 100%; padding: 0; margin: 0; box-shadow: none; border: 0; background: white; }
  .resume-claims [data-action] { display: inline; }
  @page { size: A4; margin: 20mm; }
}
