@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --surface: #fff;
  --surface-soft: #f0efea;
  --ink: #292b2a;
  --muted: #72746e;
  --faint: #999b94;
  --line: #e3e3dc;
  --accent: #cf6c45;
  --accent-dark: #a94c2b;
  --accent-soft: #f6e9e1;
  --radius: 18px;
  --shadow: 0 12px 36px rgb(42 43 37 / 4%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.75; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button, input, textarea { min-width: 0; }
button { border: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { letter-spacing: -.035em; }
button, a, input, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--ink); background: #f2d9ca; }
#main:focus { outline: none; }
.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; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; border-radius: 8px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 14px; }

.site-header { position: relative; background: rgb(248 247 243 / 96%); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1180px; min-height: 94px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { position: relative; display: grid; place-items: center; width: 38px; height: 40px; padding-right: 5px; font-family: Georgia, serif; font-size: 31px; font-weight: 600; line-height: 1; }
.brand-mark > span { position: absolute; right: 1px; bottom: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brand-copy { display: flex; flex-direction: column; gap: 0; line-height: 1.5; }
.brand-copy strong { font-size: 20px; font-weight: 650; letter-spacing: -.6px; }
.brand-tools { font-weight: 400; color: var(--muted); }
.brand-copy small { font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a { position: relative; display: flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 14px; font-weight: 500; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .18s ease; }
.main-nav a.is-active, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a.is-active::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-help { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; color: var(--muted); background: transparent; font-size: 13px; }
.header-help > span:first-child { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #bcbeb6; border-radius: 50%; font: 13px Georgia, serif; }

.view { max-width: 1180px; margin: 0 auto; }
main { min-height: 65vh; }
.home-view { padding-top: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.eyebrow i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.home-intro { margin-bottom: 42px; }
.home-intro h1 { margin: 13px 0 16px; font-size: clamp(40px, 5.5vw, 64px); line-height: 1.3; font-weight: 500; letter-spacing: -.045em; }
.title-dot { color: var(--accent); }
.home-intro p { color: var(--muted); font-size: 17px; line-height: 1.9; }
.mobile-break { display: none; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tool-card-head { display: flex; align-items: center; justify-content: space-between; padding: 21px 26px 13px; }
.tool-number { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .1em; }
.round-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .2s ease, color .2s ease; }
.compare-visual { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0 26px; padding: 15px; border-radius: 9px; background: #eeede7; }
.mini-photo { position: relative; min-width: 0; }
.mini-photo img { width: 100%; border-radius: 3px; }
.mini-photo > span { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; color: #fff; background: rgb(35 39 35 / 60%); border-radius: 3px; font-size: 10px; line-height: 1.6; }
.visual-middle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 28px; height: 28px; border: 3px solid #eeede7; border-radius: 50%; background: #fff; color: var(--muted); font-size: 12px; transform: translate(-50%, -50%); }
.photo-original { --photo-treatment: saturate(.79) contrast(.92) brightness(.96); filter: var(--photo-treatment); }
.photo-reference { --photo-treatment: sepia(.12) saturate(.78) contrast(1.05) brightness(1.06); filter: var(--photo-treatment); }
.guide-visual { display: flex; flex-direction: column; justify-content: center; min-height: 185px; flex-grow: 1; margin: 0 26px; padding: 22px 24px; border-radius: 9px; background: #f1f0eb; }
.visual-caption { margin-bottom: 11px; color: var(--muted); font-size: 11px; }
.visual-question { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 13px; border: 1px solid #dedfd7; border-radius: 7px; background: #fff; font-size: 12px; }
.visual-question > span:last-child { margin-left: auto; color: var(--accent); }
.visual-question.muted { margin-top: 7px; background: #f7f7f3; color: #94968d; }
.small-cross { color: var(--accent); font-size: 17px; font-weight: 300; }
.visual-path { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 10px; }
.visual-path i { height: 1px; flex: 1; background: #d3d5ca; }
.visual-path strong { color: var(--accent-dark); font-weight: 500; }
.tool-card-copy { padding: 25px 26px 24px; }
.tool-card-copy h2 { margin-bottom: 9px; font-size: 25px; font-weight: 550; }
.tool-card-copy p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.tool-tags span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 10px; }
.tool-card-foot { display: flex; align-items: center; justify-content: space-between; min-height: 64px; margin-top: auto; padding: 14px 26px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.tool-card-foot > span:last-child { color: var(--accent); font-size: 21px; font-weight: 400; }
.home-note { display: flex; align-items: center; gap: 17px; margin-top: 30px; padding: 23px 26px; border-radius: 10px; background: #eeede7; }
.note-symbol { color: var(--accent); font-size: 28px; line-height: 1; }
.home-note strong { font-size: 14px; font-weight: 500; }
.home-note p { margin-top: 2px; color: var(--muted); font-size: 12px; }
.prototype-tag { display: inline-block; flex-shrink: 0; padding: 4px 9px; border: 1px solid #d9dbd2; border-radius: 5px; color: var(--muted); font-size: 10px; line-height: 1.6; white-space: nowrap; }
.home-note .prototype-tag { margin-left: auto; }
.how-section { padding: 56px 0 68px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 22px; }
.how-grid > div { position: relative; padding: 20px 0 0 37px; border-top: 1px solid var(--line); }
.how-grid > div > span { position: absolute; left: 0; top: 25px; color: var(--accent); font-size: 10px; }
.how-grid h3 { margin-bottom: 4px; font-size: 17px; font-weight: 500; }
.how-grid p { color: var(--muted); font-size: 12px; }

.workspace-view, .guide-view { padding: 43px 0 64px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.back-link { display: inline-flex; align-items: center; min-height: 36px; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.page-heading h1 { display: flex; align-items: center; gap: 14px; font-size: 34px; font-weight: 500; line-height: 1.5; }
.inline-tag { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 5px; color: var(--accent); font-size: 10px; letter-spacing: 0; }
.page-heading p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.page-heading > .button { margin-bottom: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1.5; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary > span { font-size: 18px; font-weight: 400; }
.button-secondary { background: #fff; border-color: var(--line); }
.button-subtle { background: #f3f2ec; border-color: #e4e4da; color: #5f625b; }
.button[aria-pressed="true"], .button.is-active { border-color: #cf997f; background: var(--accent-soft); color: var(--accent-dark); }
.button:disabled { background: #e9e9e2; border-color: #e9e9e2; color: #97998f; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 5px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: 22px; font-weight: 300; line-height: 1; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 0; background: transparent; color: var(--muted); font-size: 12px; }
.text-button:disabled { opacity: .42; }
.workspace-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
.workspace-meta > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.workspace-meta strong { color: #686d5f; font-weight: 500; }
.status-dot { display: inline-block; width: 5px; height: 5px; margin-right: 2px; border-radius: 50%; background: #7c8970; }
.meta-small { color: var(--faint); }
.compare-toolbar { display: flex; align-items: center; gap: 22px; min-height: 78px; padding: 14px 0; }
.segmented { display: inline-flex; flex-shrink: 0; gap: 3px; padding: 3px; border: 1px solid #e4e4dc; border-radius: 9px; background: #efeee9; }
.segmented button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 76px; min-height: 44px; padding: 7px 14px; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; }
.segmented button[aria-pressed="true"], .segmented button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 5px rgb(40 43 33 / 6%); }
.half-circle { width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.compare-toolbar > p { color: var(--muted); font-size: 12px; }
.compare-toolbar > .icon-button { margin-left: auto; border-color: var(--line); background: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.photo-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.photo-card[data-photo="mine"] { order: 0; }
.photo-card[data-photo="reference"] { order: 1; }
.photo-grid.is-swapped .photo-card[data-photo="mine"] { order: 1; }
.photo-grid.is-swapped .photo-card[data-photo="reference"] { order: 0; }
.photo-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 53px; padding: 4px 8px 4px 17px; font-size: 12px; }
.photo-card-header > span { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.photo-card-header > div { display: flex; align-items: center; gap: 2px; min-width: 0; }
.photo-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #858b7b; }
.reference-dot { background: var(--accent); }
.image-meta { color: var(--faint); font-size: 10px; white-space: nowrap; }
.photo-frame { position: relative; background: #efeee8; }
.photo-frame > img { width: 100%; height: auto; }
.photo-grid.is-gray .photo-frame > img { filter: var(--photo-treatment, brightness(1)) grayscale(1); }
.photo-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 7px 11px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 7px; background: rgb(39 43 37 / 60%); color: #fff; font-size: 21px; line-height: 1; backdrop-filter: blur(4px); }
.photo-zoom span { font-size: 11px; }
.photo-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 53px; padding: 4px 17px; font-size: 11px; }
.demo-caption { color: var(--faint); }
.photo-card-footer .text-button { color: var(--muted); font-size: 11px; }
.photo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 340px; aspect-ratio: 3 / 2; padding: 26px; border-top: 1px dashed #dedfd5; border-bottom: 1px dashed #dedfd5; background: #f4f4ee; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 15px; border: 1px solid #d5d7cc; border-radius: 50%; color: #9c9f92; font-size: 25px; font-weight: 300; }
.photo-empty h3 { margin-bottom: 7px; font-size: 17px; font-weight: 500; }
.photo-empty p { color: var(--muted); font-size: 12px; }
.photo-empty .button { margin: 22px 0 12px; }
.photo-empty small { color: var(--faint); font-size: 10px; }
.sample-markers { position: absolute; inset: 0; pointer-events: none; }
.sample-marker { position: absolute; display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid #fff; border-radius: 50%; background: rgb(40 44 38 / 72%); color: #fff; box-shadow: 0 2px 7px rgb(0 0 0 / 16%); font-size: 10px; }
.marker-one { left: 54%; top: 33%; }
.marker-two { left: 51%; top: 68%; }
.marker-three { left: 23%; top: 44%; }
.observation-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 19px 0 26px; padding: 17px 20px; border: 1px solid #e6e4dc; border-radius: 9px; background: #f1f0e9; }
.tiny-label { color: var(--accent-dark); font-size: 10px; letter-spacing: .08em; }
.observation-bar p { margin-top: 4px; color: #64675e; font-size: 12px; }
.observation-bar .button { flex-shrink: 0; font-size: 11px; }
.sample-panel { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 25px; margin: -8px 0 26px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.sample-panel h3 { margin-bottom: 5px; font-size: 13px; font-weight: 500; }
.muted-label { margin-left: 5px; color: var(--faint); font-size: 10px; font-weight: 400; }
.sample-panel p { color: var(--muted); font-size: 11px; }
.sample-row { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 7px; }
.sample-label { width: 100%; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.color-chip { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #e9e9e2; border-radius: 5px; color: var(--muted); font-size: 10px; }
.color-chip i { width: 16px; height: 16px; border: 1px solid rgb(0 0 0 / 6%); border-radius: 3px; background: var(--swatch); }
.color-chip code { color: #676b60; font-size: 9px; }
.plan-panel { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.plan-heading { display: flex; align-items: flex-start; gap: 15px; }
.section-number { padding-top: 5px; color: var(--accent); font-size: 10px; }
.plan-heading h2 { margin-bottom: 4px; font-size: 24px; font-weight: 500; }
.plan-heading p { color: var(--muted); font-size: 12px; }
.plan-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 23px; }
.plan-fields label { display: block; position: relative; min-width: 0; font-size: 12px; font-weight: 500; }
.field-limit { float: right; color: var(--faint); font-size: 10px; font-weight: 400; }
.plan-fields textarea { display: block; width: 100%; min-height: 98px; margin-top: 8px; padding: 14px; resize: vertical; border: 1px solid #dedfd6; border-radius: 7px; background: #fbfbf8; color: var(--ink); font-size: 13px; line-height: 1.8; }
.plan-fields textarea::placeholder { color: #9a9d92; }
.plan-fields textarea:focus { background: #fff; border-color: #bf8c72; }
.plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.plan-foot p { color: var(--muted); font-size: 11px; }
.plan-foot p > span { margin-right: 5px; color: var(--accent); }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; color: #919489; font-size: 10px; }
.workspace-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #6e7464; white-space: nowrap; }

.guide-view { min-height: 690px; }
.guide-prompt { margin: 44px 0 28px; }
.guide-prompt h2 { margin: 10px 0 8px; font-size: 28px; font-weight: 500; }
.guide-prompt p { color: var(--muted); font-size: 13px; }
.issue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.issue-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 181px; padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: #fff; text-align: left; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.issue-index, .issue-number { margin-bottom: 22px; color: var(--accent); font-size: 10px; line-height: 1; letter-spacing: .06em; }
.issue-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 14px; border: 1px solid #e5e4da; border-radius: 6px; color: #7a806e; }
.issue-title, .issue-label, .issue-card h3, .issue-card strong { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.issue-description, .issue-desc, .issue-card p, .issue-card small { display: block; color: var(--muted); font-size: 11px; line-height: 1.8; }
.issue-arrow { position: absolute; right: 18px; top: 17px; color: #959c8d; font-size: 17px; }
.issue-card[aria-pressed="true"], .issue-card.is-active, .issue-card.is-selected { border-color: #c98a6e; background: #f9f1eb; }
.guide-note { margin-top: 26px; color: var(--muted); font-size: 12px; }
.guide-note > span { margin-right: 7px; color: var(--accent); }
.question-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 68px; margin-top: 49px; }
.question-context { min-width: 0; padding-top: 9px; }
.question-context h2 { margin: 12px 0; font-size: 30px; font-weight: 500; line-height: 1.5; }
.question-context > p { max-width: 300px; color: var(--muted); font-size: 13px; }
.question-context > .text-button { margin-top: 9px; }
.context-image { position: relative; overflow: hidden; max-width: 290px; margin-top: 35px; border-radius: 8px; }
.context-image img { width: 100%; opacity: .82; }
.context-image > span { position: absolute; left: 10px; bottom: 9px; padding: 3px 6px; border-radius: 3px; color: #fff; background: rgb(36 42 34 / 54%); font-size: 9px; }
.question-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.question-progress { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 31px; color: var(--muted); font-size: 11px; }
.progress-dots { display: flex; align-items: center; gap: 6px; }
.progress-dots i { width: 22px; height: 3px; border-radius: 2px; background: #e8e9e2; }
.progress-dots i.is-active, .progress-dots i.is-current, .progress-dots i.is-complete, .progress-dots i[aria-current="step"] { background: var(--accent); }
.question-card h2 { font-size: 24px; font-weight: 500; line-height: 1.6; }
.question-card > p:not(.question-disclaimer) { margin-top: 9px; color: var(--muted); font-size: 12px; }
.question-options { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.answer-option, .question-option { display: flex; align-items: center; gap: 13px; min-height: 67px; width: 100%; padding: 14px 16px; border: 1px solid #e1e3da; border-radius: 8px; background: #fbfcf8; text-align: left; font-size: 14px; line-height: 1.6; transition: border-color .15s ease, background .15s ease; }
.option-letter, .option-key { display: inline-grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; border: 1px solid #dedfd5; border-radius: 5px; color: var(--muted); background: #fff; font-size: 10px; }
.option-copy { min-width: 0; flex: 1; }
.option-copy strong { display: block; font-size: 13px; font-weight: 500; }
.option-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.option-check { display: grid; place-items: center; flex-shrink: 0; width: 19px; height: 19px; margin-left: auto; border: 1px solid #d7dbcf; border-radius: 50%; color: transparent; font-size: 10px; }
.answer-option[aria-pressed="true"], .question-option[aria-pressed="true"], .answer-option.is-active, .question-option.is-active, .answer-option.is-selected, .question-option.is-selected { border-color: #c88e72; background: #fbf3ed; }
.answer-option[aria-pressed="true"] .option-letter, .question-option[aria-pressed="true"] .option-key, .answer-option.is-selected .option-letter { border-color: #d9b49e; background: #f7e4d7; color: var(--accent-dark); }
.answer-option[aria-pressed="true"] .option-check, .question-option[aria-pressed="true"] .option-check, .answer-option.is-selected .option-check, .question-option.is-selected .option-check { border-color: var(--accent); background: var(--accent); color: #fff; }
.question-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 27px; }
.question-actions .button { min-width: 103px; }
.question-disclaimer { margin-top: 24px; padding-top: 18px; border-top: 1px solid #eeeee8; color: var(--faint); font-size: 10px; }
.result-top { margin: 48px 0 31px; max-width: 770px; }
.result-top h2 { margin: 12px 0; font-size: 32px; font-weight: 500; line-height: 1.6; }
.result-top > p { color: var(--muted); font-size: 14px; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.result-main { padding: 28px 31px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.result-section { display: flex; gap: 17px; padding: 16px 0 22px; border-bottom: 1px solid #ededE6; }
.result-section:first-child { padding-top: 0; }
.result-index { flex-shrink: 0; padding-top: 6px; color: var(--accent); font-size: 10px; }
.result-section h3 { margin-bottom: 9px; font-size: 17px; font-weight: 500; }
.result-section p { color: #74776d; font-size: 13px; line-height: 1.95; }
.result-main > .button { margin-top: 25px; }
.result-aside { padding: 25px 27px; border: 1px solid #e2e3d9; border-radius: 12px; background: #edeee6; }
.result-aside h3 { margin: 20px 0 7px; color: #565e4d; font-size: 13px; font-weight: 500; }
.result-aside p { color: #79806f; font-size: 12px; line-height: 1.9; }
.result-demo-label { display: block; margin-top: 24px; padding-top: 15px; border-top: 1px solid #d9ddcf; color: #8e9682; font-size: 10px; }
.result-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); font-size: 16px; font-weight: 550; }
.footer-brand span { color: var(--muted); font-size: 11px; font-weight: 400; }
.site-footer p { margin-right: auto; margin-left: 24px; }

dialog { width: calc(100% - 40px); max-height: calc(100dvh - 56px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 28px 90px rgb(18 23 14 / 20%); }
dialog::backdrop { background: rgb(28 32 26 / 53%); backdrop-filter: blur(4px); }
dialog[open] { animation: dialog-enter .18s ease-out; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.dialog-header strong { font-size: 13px; font-weight: 500; }
.dialog-header .icon-button { margin: -5px -8px -5px 0; }
.info-dialog { max-width: 460px; padding-bottom: 25px; }
.info-dialog h2 { margin: 24px 27px 11px; font-size: 24px; font-weight: 500; }
.info-dialog > p { margin: 0 27px; color: var(--muted); font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; margin: 26px 27px 0; }
.zoom-dialog { max-width: 1050px; background: #fff; }
.zoom-viewport { max-height: 65dvh; overflow: auto; background: #edede7; }
.zoom-viewport > img { display: block; width: 100%; max-width: none; height: auto; margin: auto; transform-origin: left top; }
.zoom-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; border-top: 1px solid var(--line); }
.zoom-controls label { display: flex; align-items: center; gap: 15px; min-width: 0; color: var(--muted); font-size: 12px; }
.zoom-controls input { width: 200px; min-height: 44px; margin: 0; accent-color: var(--accent); }
#zoom-value { min-width: 40px; color: var(--ink); font-size: 11px; }
.card-dialog { max-width: 720px; }
.preview-card { margin: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.preview-brand { margin-bottom: 18px; font-size: 18px; font-weight: 600; }
.preview-brand span { margin-left: 8px; color: var(--muted); font-size: 11px; font-weight: 400; }
.preview-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.preview-photos img { width: 100%; border-radius: 4px; }
.preview-photos figure { min-width: 0; }
.preview-empty::before { content: "未放入图片"; display: grid; place-items: center; aspect-ratio: 3 / 2; border: 1px dashed #d7dacf; border-radius: 4px; background: #f2f3ed; color: var(--faint); font-size: 11px; }
.zoom-dialog.is-gray img, .preview-card.is-gray img { filter: var(--photo-treatment, brightness(1)) grayscale(1); }
.preview-photos figcaption { margin-top: 6px; color: var(--muted); font-size: 10px; }
.preview-text { margin-top: 21px; }
.preview-text h3 { margin: 14px 0 5px; color: var(--muted); font-size: 11px; font-weight: 500; }
.preview-text p { min-height: 24px; color: var(--ink); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; white-space: pre-wrap; }
.preview-footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; }
.card-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 22px 22px; }
.card-dialog-foot p { color: var(--muted); font-size: 11px; }

/* Reading copy stays distinct from compact labels and utility metadata. */
.tool-card-copy p, .home-note p, .how-grid p, .page-heading p,
.observation-bar p, .plan-heading p, .guide-prompt p,
.question-context > p, .question-card > p:not(.question-disclaimer),
.result-top > p, .result-section p, .result-aside p { font-size: 16px; }
.issue-description, .issue-desc, .issue-card p, .issue-card small { font-size: 13px; }
.answer-option, .question-option, .option-copy strong { font-size: 16px; }
.option-copy small { font-size: 13px; }
.tool-card-copy p { line-height: 1.85; }
.home-note p, .how-grid p, .page-heading p, .observation-bar p, .plan-heading p { font-size: 14px; }

@media (hover: hover) {
  .main-nav a:hover, .header-help:hover, .back-link:hover, .text-button:not(:disabled):hover { color: var(--accent-dark); }
  .tool-card:hover { border-color: #c8c9bb; box-shadow: 0 16px 40px rgb(45 49 35 / 7%); transform: translateY(-3px); }
  .tool-card:hover .round-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
  .button-primary:not(:disabled):hover { background: #454940; }
  .button-secondary:hover { border-color: #b5bdac; background: #f8f9f4; }
  .button-subtle:hover { border-color: #c4c9b8; background: #eceee4; }
  .icon-button:hover { border-color: var(--line); background: #eeeee7; color: var(--ink); }
  .photo-zoom:hover { background: rgb(39 43 37 / 84%); }
  .issue-card:hover { border-color: #bcc4b0; background: #f8faf4; transform: translateY(-2px); }
  .answer-option:hover, .question-option:hover { border-color: #bfc8b2; }
}

@media (max-width: 1260px) {
  .header-inner, .view, .site-footer { margin-right: 40px; margin-left: 40px; }
  .compare-visual { padding: 12px; }
  .guide-visual { min-height: 165px; padding: 17px 20px; }
}

@media (max-width: 950px) {
  .header-inner, .view, .site-footer { margin-right: 28px; margin-left: 28px; }
  .header-inner { min-height: 84px; gap: 16px; }
  .main-nav { gap: 23px; }
  .brand-copy strong { font-size: 18px; }
  .header-help > span:last-child { display: none; }
  .header-help { justify-content: center; min-width: 44px; }
  .home-view { padding-top: 48px; }
  .tool-grid { gap: 18px; }
  .tool-card-head { padding: 18px 20px 13px; }
  .compare-visual, .guide-visual { margin-right: 20px; margin-left: 20px; }
  .guide-visual { min-height: 146px; padding: 14px; }
  .visual-path { gap: 5px; font-size: 9px; }
  .tool-card-copy, .tool-card-foot { padding-right: 20px; padding-left: 20px; }
  .tool-card-copy h2 { font-size: 23px; }
  .tool-card-copy p { font-size: 15px; }
  .how-grid { gap: 25px; }
  .photo-card-header { padding-left: 12px; }
  .image-meta { display: none; }
  .photo-empty { min-height: 250px; }
  .compare-toolbar > p { font-size: 11px; }
  .sample-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sample-panel > div:first-child { grid-column: 1 / -1; }
  .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .issue-card { min-height: 160px; }
  .question-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 32px; }
  .question-card { padding: 26px; }
  .question-card h2 { font-size: 21px; }
  .question-context h2 { font-size: 25px; }
  .result-top h2 { font-size: 29px; }
  .result-grid { gap: 18px; }
  .result-main { padding: 25px; }
  .result-aside { padding: 23px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 24px; }
  .header-inner, .view, .site-footer { margin-right: 20px; margin-left: 20px; }
  .header-inner { position: relative; flex-wrap: wrap; min-height: 0; column-gap: 12px; row-gap: 0; padding-top: 18px; }
  .brand-mark { width: 32px; height: 34px; font-size: 27px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 10px; }
  .brand-tools { font-size: 16px; }
  .header-help { margin-left: auto; }
  .main-nav { order: 3; justify-content: flex-start; width: 100%; gap: 26px; margin-top: 10px; }
  .main-nav a { min-height: 48px; font-size: 13px; }
  .home-view { padding-top: 35px; }
  .home-intro { margin-bottom: 29px; }
  .home-intro .eyebrow { font-size: 10px; letter-spacing: .035em; }
  .home-intro h1 { margin: 12px 0 13px; font-size: 39px; line-height: 1.35; }
  .home-intro p { font-size: 14px; line-height: 1.85; }
  .mobile-break { display: initial; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tool-card { border-radius: 14px; }
  .tool-card-head { padding: 17px 20px 11px; }
  .compare-visual { padding: 11px; gap: 7px; }
  .mini-photo > span { left: 5px; bottom: 5px; padding: 2px 5px; font-size: 8px; }
  .visual-middle { width: 25px; height: 25px; font-size: 10px; }
  .guide-visual { min-height: 168px; padding: 17px 20px; }
  .visual-caption { font-size: 10px; }
  .visual-path { font-size: 9px; }
  .tool-card-copy { padding-top: 21px; padding-bottom: 21px; }
  .tool-card-copy h2 { font-size: 24px; }
  .tool-card-copy p { font-size: 15px; }
  .tool-card-foot { min-height: 61px; }
  .home-note { align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 25px; padding: 19px 18px; }
  .note-symbol { padding-top: 3px; font-size: 23px; }
  .home-note > div { flex: 1; min-width: 0; }
  .home-note strong { font-size: 12px; }
  .home-note p { margin-top: 4px; font-size: 14px; }
  .home-note .prototype-tag { margin: 0 0 0 35px; }
  .how-section { padding: 42px 0 43px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 16px; }
  .how-grid > div { padding: 15px 0 16px 35px; }
  .how-grid > div > span { top: 20px; }
  .how-grid h3 { font-size: 16px; }
  .how-grid p { font-size: 14px; }
  .workspace-view, .guide-view { padding-top: 24px; padding-bottom: 38px; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; gap: 17px; margin-bottom: 22px; }
  .back-link { margin-bottom: 8px; }
  .page-heading h1 { gap: 10px; font-size: 28px; }
  .page-heading p { max-width: 310px; font-size: 14px; }
  .page-heading > .button { margin: 0; }
  .page-heading > .prototype-tag { margin-top: -4px; }
  .button { font-size: 12px; }
  .workspace-meta { min-height: 47px; font-size: 10px; }
  .meta-small { display: none; }
  .compare-toolbar { flex-wrap: wrap; column-gap: 12px; row-gap: 12px; padding: 15px 0; }
  .segmented button { min-height: 44px; min-width: 79px; }
  .compare-toolbar > p { order: 3; width: 100%; font-size: 11px; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .photo-card { border-radius: 9px; }
  .photo-card-header { min-height: 52px; padding-left: 14px; }
  .image-meta { display: inline; font-size: 9px; }
  .photo-card-footer { min-height: 51px; padding-right: 14px; padding-left: 14px; }
  .photo-zoom { right: 9px; bottom: 9px; min-height: 44px; padding-right: 9px; padding-left: 9px; }
  .photo-empty { min-height: 245px; padding: 23px 15px; }
  .sample-marker { width: 24px; height: 24px; }
  .observation-bar { flex-direction: column; align-items: stretch; gap: 13px; margin: 18px 0 22px; padding: 17px; }
  .observation-bar p { font-size: 14px; line-height: 1.85; }
  .observation-bar .button { align-self: flex-start; }
  .sample-panel { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; }
  .sample-panel > div:first-child { grid-column: auto; }
  .sample-row { gap: 5px; }
  .color-chip { padding: 5px 6px; }
  .plan-panel { padding: 21px 18px; }
  .plan-heading { gap: 10px; }
  .plan-heading h2 { font-size: 22px; }
  .plan-heading p { font-size: 14px; }
  .plan-fields { grid-template-columns: minmax(0, 1fr); gap: 19px; margin-top: 21px; }
  .plan-fields textarea { min-height: 106px; font-size: 16px; }
  .plan-foot { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 19px; }
  .plan-foot p { font-size: 10px; }
  .plan-foot .button { min-height: 47px; }
  .workspace-footer { align-items: flex-start; flex-direction: column; gap: 5px; margin-top: 18px; line-height: 1.8; }
  .workspace-footer a { white-space: normal; font-size: 11px; }
  .guide-view { min-height: 570px; }
  .guide-prompt { margin-top: 31px; margin-bottom: 23px; }
  .guide-prompt .eyebrow { font-size: 10px; }
  .guide-prompt h2 { margin: 9px 0; font-size: 24px; }
  .guide-prompt p { font-size: 14px; }
  .issue-grid { gap: 11px; }
  .issue-card { min-height: 160px; padding: 17px 14px; border-radius: 9px; }
  .issue-index, .issue-number { margin-bottom: 20px; font-size: 9px; }
  .issue-title, .issue-label, .issue-card h3, .issue-card strong { font-size: 14px; margin-bottom: 7px; }
  .issue-description, .issue-desc, .issue-card p, .issue-card small { font-size: 12px; }
  .issue-arrow { right: 13px; top: 12px; font-size: 14px; }
  .guide-note { margin-top: 22px; font-size: 11px; }
  .question-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-top: 26px; }
  .question-context { position: relative; padding: 0 0 21px; border-bottom: 1px solid var(--line); }
  .question-context h2 { margin: 8px 0; font-size: 24px; }
  .question-context > p { max-width: none; padding-right: 0; font-size: 15px; }
  .question-context > .text-button { margin-top: 5px; }
  .context-image { display: none; }
  .question-card { padding: 23px 18px; border-radius: 11px; }
  .question-progress { margin-bottom: 23px; font-size: 10px; }
  .question-card h2 { font-size: 22px; }
  .question-card > p:not(.question-disclaimer) { margin-top: 9px; font-size: 14px; }
  .question-options { gap: 10px; margin-top: 22px; }
  .answer-option, .question-option { gap: 10px; min-height: 69px; padding: 14px 12px; font-size: 15px; }
  .option-letter, .option-key { width: 22px; height: 22px; }
  .option-copy strong { font-size: 15px; }
  .option-copy small { font-size: 12px; }
  .question-actions { margin-top: 22px; }
  .question-disclaimer { margin-top: 21px; font-size: 9px; }
  .result-top { margin-top: 29px; margin-bottom: 24px; }
  .result-top h2 { margin: 10px 0; font-size: 26px; line-height: 1.65; }
  .result-top > p { font-size: 15px; }
  .result-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .result-main { padding: 23px 19px; }
  .result-section { gap: 13px; padding-bottom: 20px; }
  .result-section h3 { font-size: 16px; }
  .result-section p { font-size: 15px; }
  .result-main > .button { display: flex; margin-top: 22px; min-height: 47px; }
  .result-aside { padding: 23px; }
  .result-foot { gap: 10px; margin-top: 19px; }
  .result-foot .text-button { font-size: 11px; }
  .result-foot .button { padding-right: 13px; padding-left: 13px; font-size: 11px; }
  .site-footer { flex-wrap: wrap; column-gap: 15px; row-gap: 8px; padding: 20px 0 calc(25px + env(safe-area-inset-bottom)); }
  .footer-brand { min-height: 36px; font-size: 15px; }
  .site-footer p { width: 100%; order: 3; margin: 0; font-size: 10px; }
  .site-footer > span { margin-left: auto; font-size: 9px; }
  dialog { width: calc(100% - 28px); max-height: calc(100dvh - 30px); border-radius: 13px; }
  .dialog-header { min-height: 59px; padding: 10px 17px; }
  .dialog-header .eyebrow { font-size: 10px; }
  .info-dialog h2 { margin: 23px 21px 12px; font-size: 22px; }
  .info-dialog > p { margin: 0 21px; font-size: 13px; }
  .dialog-actions { margin: 22px 21px 0; }
  .zoom-viewport { max-height: 62dvh; }
  .zoom-controls { gap: 8px; padding: 11px 15px; }
  .zoom-controls label { gap: 8px; font-size: 10px; }
  .zoom-controls input { width: min(33vw, 150px); }
  #zoom-value { min-width: 32px; font-size: 10px; }
  .zoom-controls .text-button { font-size: 10px; }
  .preview-card { margin: 15px; padding: 17px; }
  .preview-photos { gap: 8px; }
  .preview-brand { margin-bottom: 14px; font-size: 17px; }
  .preview-photos figcaption { font-size: 9px; }
  .preview-text { margin-top: 16px; }
  .preview-text p { font-size: 12px; }
  .preview-footer { margin-top: 20px; font-size: 8px; }
  .card-dialog-foot { flex-direction: column; align-items: stretch; gap: 13px; padding: 0 15px 17px; }
  .card-dialog-foot p { font-size: 10px; }
}

@media (max-width: 375px) {
  .header-inner, .view, .site-footer { margin-right: 16px; margin-left: 16px; }
  .home-intro h1 { font-size: 36px; }
  .main-nav { gap: 24px; }
  .tool-card-head, .tool-card-copy, .tool-card-foot { padding-right: 18px; padding-left: 18px; }
  .compare-visual, .guide-visual { margin-right: 18px; margin-left: 18px; }
  .guide-visual { padding-right: 15px; padding-left: 15px; }
  .photo-card-header { padding-left: 12px; }
  .image-meta { font-size: 8px; }
  .issue-card { padding-right: 12px; padding-left: 12px; }
  .issue-title, .issue-label, .issue-card h3, .issue-card strong { font-size: 13px; }
  .color-chip { padding: 5px; gap: 4px; }
  .color-chip i { width: 14px; height: 14px; }
  .color-chip code { font-size: 8px; }
  .question-card { padding-right: 15px; padding-left: 15px; }
}

@keyframes dialog-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
