:root {
  --bg: #f1efe8;
  --paper: #fbfaf6;
  --ink: #121312;
  --muted: #666861;
  --line: #d8d5cb;
  --accent: #1f5b46;
  --accent-soft: #e0ece6;
  --warm: #e8dfcc;
  --danger: #7d3e32;
  --shadow: 0 20px 70px rgba(38, 35, 28, .08);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 8%, rgba(255,255,255,.9), transparent 25rem), var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
.topbar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font: 700 29px/1 Georgia, "Times New Roman", serif;
  letter-spacing:-.03em;
}
.brand span { color: var(--accent); }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.view { padding: 64px 0 88px; }
.hidden { display: none !important; }
.start-view { max-width: 940px; margin: 0 auto; }
.hero-copy { max-width: 850px; margin-bottom: 38px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  font-weight:700;
  letter-spacing:.06em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing:-.03em; }
h1 {
  margin: 18px 0 22px;
  max-width: 900px;
  font-size: clamp(48px, 7.2vw, 86px);
  line-height: .98;
  font-weight:600;
}
h1 em { color: var(--accent); font-style: italic; font-weight:500; }
.hero-copy p { max-width: 720px; margin: 0; color: #474943; font-size: 19px; line-height: 1.6; }
.decision-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(251,250,246,.92);
  box-shadow: var(--shadow);
}
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight:700; letter-spacing: .02em; }
textarea, input {
  width: 100%;
  border: 1px solid #bbb8ae;
  border-radius: 11px;
  background: white;
  padding: 14px 15px;
  outline: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 98px; resize: vertical; }
textarea:focus, input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,91,70,.11); }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.form-error { min-height: 20px; margin: 10px 0; color: var(--danger); font-size: 13px; }
.primary-button, .secondary-button, .ghost-button, .text-button {
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  transition: transform .12s, background .12s, border-color .12s;
}
.primary-button {
  min-height: 48px;
  padding: 0 20px;
  background: var(--accent);
  color: white;
  font-weight:700;
}
.primary-button:hover { background: #174936; transform: translateY(-1px); }
.secondary-button {
  min-height: 46px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid #8e8c84;
  font-weight:700;
}
.secondary-button:hover { border-color: var(--ink); }
.ghost-button, .text-button { background: transparent; padding: 9px 11px; font-weight:700; }
.ghost-button:hover, .text-button:hover { background: rgba(0,0,0,.05); }
.privacy-note, .microcopy { color: var(--muted); font-size: 12px; }
.privacy-note { margin: 10px 0 0; }
.parse-preview { min-height: 18px; margin: 10px 0 4px; color: var(--accent); font-size: 12px; font-weight:700; }
.manual-link { border: 0; background: transparent; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}
.proof-strip div { background: rgba(251,250,246,.75); padding: 18px; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font: 600 19px Georgia, serif; margin-bottom: 4px; }
.proof-strip span { color: var(--muted); font-size: 13px; }
.grill-card, .result-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.grill-meta, .result-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight:700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.progress { height: 5px; overflow: hidden; margin: 18px 0 36px; border-radius: 999px; background: #e2dfd5; }
.progress span { display: block; width: 33%; height: 100%; background: var(--accent); transition: width .2s ease; }
.question-kicker { color: var(--accent); font-size: 13px; font-weight:700; }
.grill-card h2, .result-card h2, .history-header h2 {
  margin: 10px 0 26px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight:600;
}
.answers { display: grid; gap: 10px; }
.answer-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 16px 17px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  cursor: pointer;
}
.answer-card:hover { border-color: var(--accent); background: #f3f8f5; transform: translateY(-1px); }
.answer-key {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight:700;
}
.microcopy { margin: 18px 0 0; }
.local-badge { padding: 6px 9px; border-radius: 999px; background: var(--warm); color: #4e4638; }
.result-summary { max-width: 690px; color: #474943; font-size: 18px; line-height: 1.65; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.insight-grid article { border-top: 1px solid var(--line); padding-top: 18px; }
.insight-grid span { color: var(--muted); font-size: 12px; font-weight:700; text-transform: uppercase; letter-spacing: .08em; }
.insight-grid h3 { margin: 8px 0 9px; font-size: 25px; }
.insight-grid p { margin: 0; color: #555751; line-height: 1.55; }
.answer-evidence { margin: 24px 0; padding: 18px 20px; border-radius: 12px; background: #f3f1e9; border: 1px solid var(--line); }
.answer-evidence > span { color: var(--muted); font-size: 12px; font-weight:700; text-transform: uppercase; letter-spacing: .08em; }
.answer-evidence ul { margin: 12px 0 0; padding-left: 20px; color: #4f514c; }
.answer-evidence li + li { margin-top: 8px; }
.risk-notice {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid #dbc3ba;
  border-radius: 11px;
  background: #f7ece8;
  color: #6f4035;
  font-size: 13px;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; align-items: center; }
.history-header {
  max-width: 900px;
  margin: 0 auto 26px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.history-header p { max-width: 700px; color: var(--muted); line-height: 1.55; }
.history-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.history-item {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251,250,246,.8);
}
.history-item h3 { margin: 4px 0 7px; font-size: 22px; }
.history-item p { margin: 0 0 10px; color: var(--muted); }
.history-date { color: var(--muted); font-size: 12px; }
.outcome-pill {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size:12px;
  font-weight:700;
}
.history-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.empty { padding: 28px; border: 1px dashed #aaa79d; border-radius: 14px; color: var(--muted); }
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 720px) {
  .topbar, .shell, .footer { width: min(100% - 26px, 1120px); }
  .view { padding: 38px 0 62px; }
  h1 { font-size: clamp(43px, 15vw, 67px); }
  .hero-copy p { font-size: 17px; }
  .decision-card, .grill-card, .result-card { padding: 20px; border-radius: 16px; }
  .option-grid, .insight-grid, .proof-strip { grid-template-columns: 1fr; }
  .history-header, .history-item { flex-direction: column; }
  .history-actions { justify-content: flex-start; }
  .result-actions { align-items: stretch; }
  .result-actions .primary-button, .result-actions .secondary-button { width: 100%; }
  .footer { flex-direction: column; }
}

/* 5188688 typography normalization v1 */
:root{
  --type-font-en:Inter,"Noto Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --type-font-zh:"Noto Sans SC","PingFang SC","Microsoft YaHei","Hiragino Sans GB",Inter,system-ui,sans-serif;
  --type-font-display:Georgia,"Times New Roman",serif;
  --type-measure:46rem;
}
html{font-kerning:normal;font-optical-sizing:auto;font-synthesis:none}
body{font-family:var(--type-font-en);font-size:16px;line-height:1.6}
.brand{letter-spacing:-.025em}
h1,h2,h3{font-family:var(--type-font-display);letter-spacing:-.025em}
h1{line-height:1.02;text-wrap:balance}
.hero-copy p,.result-summary,.history-header p{max-width:var(--type-measure);text-wrap:pretty}
.hero-copy p,.result-summary,.insight-grid p,.history-header p{line-height:1.65}
.eyebrow{font-weight:700;letter-spacing:.06em}
.field label,.primary-button,.secondary-button{font-weight:700}
:is(.privacy-note,.microcopy,.parse-preview,.manual-link){line-height:1.5}
:is(.history-date,[data-score],[data-count]){font-variant-numeric:tabular-nums}
html:lang(zh-CN) body,
html:lang(zh-Hans) body{font-family:var(--type-font-zh)}
html:lang(zh-CN) :is(.brand,h1,h2,h3),
html:lang(zh-Hans) :is(.brand,h1,h2,h3){font-family:var(--type-font-zh);letter-spacing:0}
html:lang(zh-CN) .eyebrow,
html:lang(zh-Hans) .eyebrow{letter-spacing:0;text-transform:none}
html:lang(zh-CN) :is(p,li,.result-summary,.history-header p),
html:lang(zh-Hans) :is(p,li,.result-summary,.history-header p){
  line-height:1.72;
  line-break:strict;
  word-break:normal;
  overflow-wrap:break-word;
}
@media(max-width:720px){
  h1{line-height:1.07}
}
