:root {
  color-scheme: light;
  --ink: #202c28;
  --muted: #5d6b65;
  --line: #d8dfda;
  --paper: #f3f5f1;
  --surface: #ffffff;
  --green: #173d36;
  --green-2: #2f6758;
  --green-pale: #e8f0eb;
  --rust: #96563b;
  --rust-pale: #f5ebe6;
  --focus: #bd6d43;
  font-family: "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.topbar {
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - 1040px) / 2));
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  background: var(--green);
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid #9db9aa;
  color: #f5e8ce;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 23px;
}
.brand-copy { min-width: 0; }
.brand-copy .eyebrow { margin: 0; color: #bfd0c7; font-size: 12px; }
.brand-copy h1 { margin: 0; font-size: 19px; font-weight: 650; }
.sample-tag {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid #8fa99c;
  color: #e8f1ec;
  font-size: 12px;
  white-space: nowrap;
}

.shell { width: min(760px, calc(100% - 32px)); margin: 34px auto 48px; }
.notice {
  margin-bottom: 14px;
  padding: 11px 14px;
  border-left: 4px solid var(--rust);
  background: var(--rust-pale);
  color: #613b2b;
  font-size: 14px;
}
.panel {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--surface);
}
.panel h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.35; }
.panel h3 { margin: 0 0 9px; font-size: 17px; }
.lead { margin: 0 0 20px; color: #44534c; font-size: 16px; }
.intro-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-meta div { padding: 12px 10px 12px 0; }
.intro-meta dt { color: var(--muted); font-size: 12px; }
.intro-meta dd { margin: 3px 0 0; font-weight: 650; }
.plain-list { margin: 15px 0; padding-left: 20px; color: #44534c; }
.plain-list li + li { margin-top: 6px; }
.privacy-note {
  margin: 20px 0;
  padding: 13px 15px;
  border-left: 4px solid var(--green-2);
  background: var(--green-pale);
  color: #29443b;
  font-size: 14px;
}
.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.actions-end { justify-content: flex-end; }
.button {
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-weight: 650;
}
.button:hover { background: #24554a; }
.button.secondary { color: var(--green); background: #fff; }
.button.secondary:hover { background: var(--green-pale); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.text-button {
  padding: 5px 0;
  border: 0;
  color: var(--green-2);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiet { color: var(--muted); font-size: 13px; }

.progress-wrap { margin-bottom: 25px; }
.progress-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.progress-track { height: 8px; margin-top: 8px; overflow: hidden; background: #e3e8e4; }
.progress-fill { height: 100%; background: var(--green-2); transition: width .18s ease-out; }
.module-label { margin: 0 0 7px; color: var(--rust); font-size: 13px; font-weight: 700; }
.question-title { margin: 0 0 17px; font-size: 21px; line-height: 1.45; }
.required { margin-left: 7px; color: #9a402d; font-size: 12px; font-weight: 650; white-space: nowrap; }
.question-hint { margin: -8px 0 15px; color: var(--muted); font-size: 13px; }
.option-list { display: grid; gap: 9px; }
.option {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.option:hover { border-color: #94aa9e; background: #fbfcfa; }
.option input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--green-2); }
.option span { line-height: 1.45; }
.textarea {
  width: 100%;
  min-height: 152px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid #bfcac3;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
}
.textarea::placeholder { color: #84918a; }
.textarea-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.chip-button { padding: 6px 10px; border: 1px solid #c4d1c9; border-radius: 3px; color: #315548; background: #f7faf7; font-size: 13px; }
.chip-button:hover { background: var(--green-pale); }
.matrix { display: grid; gap: 10px; }
.matrix-row { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(190px, .9fr); align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); }
.matrix-row label { font-weight: 600; }
.matrix-row select { width: 100%; min-height: 42px; padding: 7px 9px; border: 1px solid #bfcac3; color: var(--ink); background: white; }
.validation { min-height: 24px; margin-top: 11px; color: #9a402d; font-size: 14px; }

.review-intro { color: var(--muted); }
.review-list { margin: 22px 0 0; border-top: 1px solid var(--line); }
.review-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-item h3 { margin: 0 0 5px; font-size: 15px; }
.review-answer { margin: 0; color: #52615a; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.review-edit { align-self: start; padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--green); background: white; }
.review-edit:hover { background: var(--green-pale); }
.complete-mark { margin-bottom: 14px; color: var(--green-2); font-size: 14px; font-weight: 700; }
.footer {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer .text-button { color: #5d6b65; font-size: 13px; }
.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; }

@media (max-width: 600px) {
  .topbar { min-height: 68px; padding: 10px 16px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 21px; }
  .brand-copy .eyebrow { font-size: 11px; }
  .brand-copy h1 { font-size: 17px; }
  .sample-tag { padding: 3px 7px; font-size: 11px; }
  .shell { width: calc(100% - 24px); margin: 18px auto 32px; }
  .panel { padding: 21px 17px; }
  .panel h2 { font-size: 22px; }
  .question-title { font-size: 19px; }
  .intro-meta { grid-template-columns: 1fr; }
  .intro-meta div { padding: 9px 0; border-bottom: 1px solid #e7ebe8; }
  .intro-meta div:last-child { border-bottom: 0; }
  .matrix-row { grid-template-columns: 1fr; gap: 7px; padding: 10px; }
  .matrix-row select { min-height: 44px; }
  .actions { align-items: stretch; }
  .actions .button { flex: 1; padding-inline: 11px; }
  .footer { width: calc(100% - 24px); align-items: flex-start; flex-direction: column; gap: 6px; }
  .review-item { grid-template-columns: 1fr; }
  .review-edit { justify-self: start; }
}
.brand{color:inherit;text-decoration:none}.return-link,.public-entry a{color:#f6f2e7}.public-entry{width:min(760px,calc(100% - 32px));margin:12px auto 38px;text-align:center;font-size:13px}.public-entry a{display:inline-block;color:#31594d;text-decoration:none;border-bottom:1px solid #9db4a4;padding:8px}.invite-field{display:grid;gap:8px;margin:20px 0;color:#31594d;font-size:14px;font-weight:700}.invite-field input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #b9cbbb;border-radius:3px;background:#fff;color:#223a31;font:inherit;font-weight:400}.actions .button{text-decoration:none;text-align:center}.button:disabled{opacity:.6;cursor:wait}
.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-copy small,.brand-copy strong{display:block}.brand-copy small{color:#bfd0c7;font-size:12px;font-weight:400}.brand-copy strong{font-size:19px;line-height:1.4}.return-link{margin-left:auto;flex:none;font-size:13px;text-underline-offset:4px}.topbar{justify-content:space-between}.brand-copy{overflow-wrap:anywhere}
@media(max-width:600px){.topbar{gap:12px;flex-wrap:wrap}.brand{gap:9px}.brand-copy small{font-size:10px}.brand-copy strong{font-size:17px}.return-link{font-size:12px}.brand-mark{flex-shrink:0}}
