:root {
  --ink: #1b2421;
  --muted: #5c675f;
  --bg: #efe8dc;
  --card: #fbf7f0;
  --line: #ddd2c2;
  --steel: #1e2a28;
  --orange: #e25b1a;
  --orange-ink: #8d3409;
  --ok: #1c6b43;
  --mid: #8a5a00;
  --bad: #8e2430;
  --shadow: 0 10px 28px rgba(48, 36, 18, 0.08);
  --radius: 18px;
  --tab: 76px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: #c9c1b4;
  -webkit-font-smoothing: antialiased;
}

button, input { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.app {
  width: min(430px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px rgba(30, 42, 40, 0.08);
  padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom));
}

.brandbar {
  display: flex;
  align-items: center;
  padding: 14px 18px 12px;
  background: var(--steel);
  color: #f6f1e8;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.mark.mark-img {
  display: block;
  padding: 0;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}
.brand strong { display: block; font-size: 16px; letter-spacing: 0.04em; }
.brand small { display: block; margin-top: 2px; color: rgba(246, 241, 232, 0.68); font-size: 12px; }

.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #e25b1a 0 8px,
    #1e2a28 8px 16px
  );
}

.hero {
  padding: 22px 18px 46px;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px),
    var(--steel);
  color: #fbf7f0;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 7vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.hero p { margin: 12px 0 0; line-height: 1.65; color: rgba(251, 247, 240, 0.82); }
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffb088;
}
.page-head { padding: 22px 18px 4px; }
.page-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 6.4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.page-head .eyebrow { color: var(--orange-ink); }
.lead { margin: 10px 0 0; line-height: 1.65; color: #3e4944; }

.wrap { padding: 16px 18px 28px; }
.kicker {
  margin: 6px 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.hint { min-height: 2.8em; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.fine { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: -34px 0 8px;
  position: relative;
  z-index: 1;
  padding: 0;
  list-style: none;
  position: relative;
}
.facts li {
  background: var(--card);
  border-radius: 14px;
  padding: 12px 6px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.facts strong {
  display: block;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.facts span { color: var(--muted); font-size: 12px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}
.chip[aria-pressed="true"] {
  background: var(--steel);
  border-color: var(--steel);
  color: #fff;
}

.resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  background: #fff6ea;
  border: 1px solid #f0d2b4;
  border-radius: 14px;
}
.resume p { margin: 0; font-size: 14px; line-height: 1.5; }
.resume .btn { width: auto; padding: 8px 12px; }

.btn {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid #cfc3b2;
}
.btn.ready { box-shadow: 0 8px 18px rgba(226, 91, 26, 0.28); }
a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  color: #fff;
}
#start { margin-top: 16px; }
.cat-board.need-pick {
  animation: cat-board-shake 0.45s ease;
  box-shadow: 0 0 0 2px rgba(226, 91, 26, 0.45);
  border-radius: 12px;
}
@keyframes cat-board-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.note { border-left: 4px solid var(--orange); }
.btn-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  margin-top: 8px;
}
#view-info .rule-line {
  margin-top: 4px;
  margin-bottom: 10px;
}
.quiz-submit-row {
  margin-top: 20px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}
.quiz-submit-row .btn {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 14px 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(47, 111, 228, 0.22);
}
#view-quiz .btn-row {
  position: sticky;
  bottom: calc(var(--tab) - 18px);
  margin-top: 18px;
  padding-top: 18px;
  background: linear-gradient(rgba(239, 232, 220, 0), var(--bg) 36%);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#view-quiz .btn-row .btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 15px;
}
.btn:focus-visible, .chip:focus-visible, .opt:focus-visible, .choice:focus-visible, .tabbar a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.q-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.q-top strong { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 15px; }
.bar {
  height: 6px;
  margin: 10px 0 18px;
  background: #e3d8c8;
  border-radius: 99px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
}
.question {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.opt {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  margin: 10px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.letter {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #efe6d8;
  font-weight: 800;
  line-height: 1;
}
.opt[aria-pressed="true"] {
  border-color: var(--steel);
  background: #fff;
  box-shadow: 0 0 0 1px var(--steel);
}
.opt[aria-pressed="true"] .letter { background: var(--orange); color: #fff; }
.opt span:last-child { flex: 1; }
.need-pick .opt { animation: shake 0.35s linear; }

.report-band {
  border-radius: 20px;
  padding: 18px 16px 16px;
  color: #fff;
}
.report-band .range {
  margin: 0;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}
.score-line { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.score-num {
  margin: 0;
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-size: 4.4rem;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.score-den { margin: 0 0 6px; font-size: 1rem; opacity: 0.88; }
.level-name { margin: 10px 0 0; font-size: 1.55rem; letter-spacing: 0.08em; }
.tone-ok { background: var(--ok); color: #fff; }
.tone-mid { background: var(--orange); color: #fff; }
.tone-bad { background: var(--bad); color: #fff; }
.meta-line { margin: 8px 0 0; font-size: 13px; opacity: 0.9; }

.field-label {
  margin: 18px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.field-body { margin: 0; line-height: 1.7; font-size: 15px; }

.block, .contact-card, .case, .note, .rule {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0;
  box-shadow: var(--shadow);
}
.idx {
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.block h2, .case h2, .contact-card h2, .note h2, .rule h2 {
  margin: 4px 0 8px;
  font-size: 1.12rem;
  line-height: 1.35;
}
.for { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.block p, .case p, .note p, .rule p { margin: 8px 0 0; line-height: 1.65; }
.block p:first-of-type, .case p { margin-top: 0; }

.plain-list { margin: 8px 0 0; padding-left: 1.1em; }
.plain-list li { margin: 6px 0; line-height: 1.55; }
.plain-list.tight { list-style: none; padding: 0; }
.plain-list.tight li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.plain-list.tight li:last-child { border-bottom: 0; }
.plain-list.tight span { color: var(--muted); }

.contact-card .who { margin: 0 0 8px; font-weight: 800; }
.copy-field {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}
.qr-slot {
  width: 188px;
  height: 188px;
  margin: 14px auto;
  background: #fff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px dashed #c9bba8;
}
.qr-slot img { width: 160px; height: 160px; object-fit: contain; border-radius: 8px; }
.qr-empty { display: none; text-align: center; color: var(--muted); font-weight: 800; line-height: 1.5; }
.qr-slot.is-empty .qr-empty { display: block; }
.qr-slot::before, .qr-slot::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--steel);
}
.qr-slot::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.qr-slot::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tags span {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #efe6d8;
}
.tag-ok { background: #e5f3eb !important; color: var(--ok); }
.tag-mid { background: #fff1d6 !important; color: var(--mid); }
.tag-bad { background: #fde8e6 !important; color: var(--bad); }
.case b { display: inline-block; min-width: 2.5em; color: var(--muted); font-weight: 700; }

.steps { list-style: none; margin: 12px 0; padding: 0; }
.steps li { display: flex; gap: 12px; margin: 0 0 14px; }
.steps li > span {
  flex: 0 0 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--steel);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.steps h2 { margin: 2px 0 4px; font-size: 1rem; }
.steps p { margin: 0; color: #3e4944; line-height: 1.6; font-size: 14px; }

.band-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.band-row:first-of-type { border-top: 0; padding-top: 4px; }
.band-score {
  margin: 0;
  color: var(--orange-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.band-row h3 { margin: 4px 0 6px; font-size: 1.08rem; }
.band-row p { margin: 0; line-height: 1.6; }

.link { color: var(--orange-ink); font-weight: 800; }

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(251, 247, 240, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
  z-index: 20;
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.tabbar svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--orange-ink); }

/* 服务 / 问诊 / 案例 / 关于：按后台编辑器正文排，不套卡片 */
.editor {
  background: #fff;
  color: #222;
  min-height: calc(100dvh - 64px - var(--tab));
  padding: 20px 16px 36px;
  font-size: 16px;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.editor > :first-child { margin-top: 0; }
.editor h1,
.editor h2,
.editor h3,
.editor h4 {
  color: #1b2421;
  font-weight: 700;
  line-height: 1.45;
  margin: 1.35em 0 0.55em;
}
.editor h1 { font-size: 22px; margin-top: 0; }
.editor h2 { font-size: 18px; }
.editor h3,
.editor h4 { font-size: 16px; }
.editor p { margin: 0 0 1em; }
.editor ul,
.editor ol { margin: 0 0 1em; padding-left: 1.4em; }
.editor li { margin: 0.3em 0; }
.editor a { color: #8d3409; }
.editor img,
.editor video { max-width: 100%; height: auto; }
.editor iframe { max-width: 100%; border: 0; }
.editor table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.editor th,
.editor td {
  border: 1px solid #e6e6e6;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.editor blockquote {
  margin: 0 0 1em;
  padding: 0 0 0 12px;
  border-left: 3px solid #e25b1a;
  color: #555;
}
.editor hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 1.4em 0;
}
.editor pre {
  margin: 0 0 1em;
  padding: 12px;
  overflow-x: auto;
  background: #f7f7f7;
  white-space: pre-wrap;
}
.editor .qr-slot { margin: 8px auto 1em; }

.app.is-home {
  background: #eef2f6;
  padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom, 0px) + 28px);
}
#screen-head {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
  display: flow-root;
  overflow: visible;
}
.home-banner {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.sheet { padding: 0 14px 8px; }
#view-info.sheet {
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
}
#view-result.sheet { padding-top: 14px; }
.banner {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  vertical-align: top;
  object-fit: contain;
}
#screen-head .cat-board,
#screen-head .report-records {
  position: relative;
  z-index: 1;
}
.cat-board {
  margin: 12px 14px;
  padding: 20px 10px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(28, 55, 90, 0.06);
  font-size: 14px;
  line-height: 1.5;
  overflow: visible;
}
.report-records {
  margin: 0 14px 12px;
  padding: 0;
}
.report-records-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(28, 55, 90, 0.06);
  overflow: hidden;
}
.report-records-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 14px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.report-records-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.report-records-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d4f91;
}
.report-records-sub {
  font-size: 12px;
  color: #667085;
}
.report-records-toggle-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.report-records-badge {
  min-width: 22px;
  padding: 2px 8px;
  border-radius: 99px;
  background: #2f6fe4;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.report-records-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.report-records-toggle[aria-expanded="true"] .report-records-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.report-records-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 12px;
  max-height: 280px;
  overflow-y: auto;
  border-top: 1px solid #eef1f5;
}
.report-records-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 8px 0 0;
  padding: 12px 12px;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  background: #fafbfc;
  text-align: left;
  cursor: pointer;
}
.report-records-item-main {
  flex: 1;
  min-width: 0;
}
.report-records-item-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.report-records-item-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #667085;
}
.report-records-item-action {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #2f6fe4;
}
.report-records-empty {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 13px;
  color: #8b93a7;
  text-align: center;
  border-top: 1px solid #eef1f5;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 2px;
  padding: 6px 4px 2px;
  box-sizing: border-box;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 11px;
  line-height: 1.3;
}
.cat-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}
.cat-ico img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
.cat-ico img.is-broken {
  opacity: 0.35;
}
.cat-item[aria-pressed="true"] .cat-ico {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e23b3b;
}
.cat-swiper {
  overflow-x: hidden;
  overflow-y: visible;
  height: auto !important;
}
.cat-swiper .swiper-wrapper {
  height: auto !important;
  align-items: flex-start;
}
.cat-swiper .swiper-slide {
  overflow: visible;
  height: auto !important;
}
.cat-swiper .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 10px;
  line-height: 0;
}
.cat-swiper .swiper-pagination-bullet {
  width: 16px;
  height: 4px;
  margin: 0 3px !important;
  border-radius: 99px;
  background: #f3d4d4;
  opacity: 1;
}
.cat-swiper .swiper-pagination-bullet-active {
  width: 22px;
  background: #e23b3b;
}
.quiz-title {
  margin: 0 0 12px;
  padding: 16px 14px;
  background: #fff;
  border-radius: 18px;
  text-align: center;
  color: #1d4f91;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 8px 22px rgba(28, 55, 90, 0.06);
}
.panel, .progress-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 8px;
  margin: 0 0 12px;
  box-shadow: 0 8px 22px rgba(28, 55, 90, 0.06);
}
.app.is-home #view-info .panel {
  padding-bottom: 20px;
}
.progress-card { padding-bottom: 14px; }
.doc-sub {
  margin: 0 0 12px;
  text-align: center;
  color: #667085;
  font-size: 14px;
}
.quiz-split {
  margin: 18px 0 14px;
  border: 0;
  border-top: 1px solid rgba(30, 42, 40, 0.08);
}
#quiz-block .part-title {
  margin-top: 0;
}
.questions-all {
  margin-top: 4px;
}
.quiz-part-block {
  margin-bottom: 18px;
}
.quiz-part-block .quiz-part-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.quiz-q {
  margin-bottom: 16px;
}
.quiz-q .ask {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
}
.quiz-q-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  background: #fafbfc;
  border: 1px solid #eef1f5;
}
.quiz-q-options.need-pick {
  animation: cat-board-shake 0.45s ease;
}
.rule-line {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f3f7fc;
  border-radius: 12px;
  color: #1d4f91;
  font-size: 14px;
  line-height: 1.6;
}
.part-title {
  margin: 4px 0 4px;
  font-size: 17px;
  line-height: 1.45;
}
.part-hint { margin: 0 0 8px; color: #8b93a7; font-size: 13px; }
.ask {
  margin: 12px 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.field {
  display: block;
  margin: 14px 0;
  font-size: 15px;
  font-weight: 700;
}
.field input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #f6f8fb;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}
.field input::placeholder { color: #a0a8b5; }
.field input.is-error { border-color: #e25b1a; background: #fff7f3; }
.info-tip { margin: 0 0 12px; color: #9b3412; font-size: 13px; }
#options {
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  background: #fafbfc;
  border: 1px solid #eef1f5;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 14px;
  border: 0;
  border-bottom: 1px solid #eef1f5;
  background: transparent;
  color: #2c3340;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}
.choice:last-child { border-bottom: 0; }
.choice .letter {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eef1f5;
  color: #667085;
  font-size: 15px;
}
.choice .choice-text {
  flex: 1;
  min-width: 0;
}
.choice[aria-pressed="true"] {
  background: #f0f6ff;
  color: #1d4f91;
  font-weight: 700;
}
.choice[aria-pressed="true"] .letter {
  background: #2f6fe4;
  color: #fff;
}
.app.is-home .btn { background: #2f6fe4; }
.app.is-home .btn.secondary {
  background: #fff;
  color: #344054;
  border: 1px solid #d7dee8;
}
.app.is-home .bar > span { background: #2f6fe4; }
.need-pick .choice { animation: shake 0.35s linear; }
#view-result .panel { padding-bottom: 16px; }
#view-result .field-label { letter-spacing: 0.08em; }

@media (prefers-reduced-motion: reduce) {
  .bar > span, .need-pick .opt { animation: none; transition: none; }
}
@keyframes shake {
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
