:root {
  color-scheme: light;
  --canvas: #f4faf6;
  --white: #fff;
  --ink: #173e34;
  --muted: #4b675c;
  --green: #087653;
  --deep: #106043;
  --line: #dfede4;
  --mint: #e8f6ee;
  --shadow: 0 4px 16px #17422d08;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #eaf2ec;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  width: min(100%, 460px);
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: linear-gradient(#eefaf4 3.25rem, #f8fcf8 23rem, var(--canvas) 42rem);
  box-shadow: 0 0 42px #264d3812;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid #198353; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.symbols { display: none; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { padding-inline: 16px; }

.site-header { background: #fff; border-bottom: 1px solid #ecf3ee; }
.bar {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(48px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  color: #172923;
  font-weight: 700;
}
#step-title { pointer-events: none; }
.step-back { position: absolute; bottom: 2px; left: 0; width: 46px; height: 44px; border: 0; background: transparent; color: #234139; }
.step-back::before { content: ""; display: inline-block; width: 9px; height: 9px; border: solid currentColor; border-width: 0 0 1.7px 1.7px; transform: rotate(45deg); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.brand-mark { width: 16px; height: 23px; border-radius: 85% 15% 85% 15%; transform: rotate(12deg); background: linear-gradient(105deg, #1aa874 59%, #efd05b 59%); }
.quiet { min-height: 32px; border: 0; border-radius: 999px; background: #e1f2e8; padding: 4px 11px; color: #226a4f; font-size: 12px; font-weight: 650; white-space: nowrap; }
.quiet:hover { background: #d6ecdf; }

.hero { margin-top: 22px; text-align: center; }
h1 { font-size: clamp(24px, 7vw, 31px); font-weight: 850; line-height: 1.25; letter-spacing: -.045em; }
.hero p { margin: 6px 0 10px; color: var(--muted); font-size: 14px; }
.hero img { display: block; width: 100%; height: auto; border-radius: 14px 14px 5px 5px; background: var(--mint); }

.search-panel { margin-top: 10px; }
#search-form { display: grid; justify-items: center; gap: 10px; }
.search-box { display: flex; align-items: center; gap: 8px; width: 100%; border: 1px solid #d3e6db; padding-inline: 12px; border-radius: 13px; background: white; color: var(--green); }
.search-box:focus-within { outline: 2px solid #46a784; outline-offset: 1px; }
.search-box input { flex: 1; min-width: 0; min-height: 46px; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 16px; }
.search-box input::placeholder { color: #60796e; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 17px; border: 0; border-radius: 13px; background: linear-gradient(112deg, #148657, #08764f); color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 10px #0e7d4924; }
#search-form .primary { width: min(100%, 184px); }
.primary:hover { filter: brightness(.94); }
.primary .icon { width: 15px; height: 15px; }
.edition { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 11px; padding: 9px 10px; border-radius: 10px; background: #ebf3f5; color: #405f58; font-size: 12px; text-decoration: none; }
.edition .icon { width: 15px; height: 15px; }

.panel { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.results, .detail { margin-top: 18px; }
.coverage { margin-top: 14px; padding: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-head h2 { margin-top: 4px; font-size: 20px; line-height: 1.3; letter-spacing: -.035em; }
.kicker { color: var(--green); font-size: 11px; font-weight: 750; }
h2[tabindex]:focus { outline: none; }
.muted { color: var(--muted); line-height: 1.6; font-size: 13px; }
.tag { flex: none; padding: 4px 8px; border-radius: 999px; background: var(--mint); color: var(--deep); font-size: 11px; font-weight: 750; white-space: nowrap; }
.results-hint { margin: 6px 0 12px; overflow-wrap: anywhere; }
.result-item { border: 1px solid #e5efe7; border-radius: 13px; background: #fff; }
.choice { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 62px; padding: 10px 12px; text-align: left; color: var(--ink); }
.choice:hover { background: var(--mint); }
.choice::after { content: ""; width: 6px; height: 6px; flex: none; margin: 0 2px 0 3px; border: solid var(--green); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.result-item + .result-item { margin-top: 8px; }
.result-name { display: grid; flex: 1; min-width: 0; gap: 3px; overflow-wrap: anywhere; }
.result-name strong { font-size: 15px; }
.result-name small { color: var(--muted); font-size: 12px; }
.result-body { padding: 11px 0 0; display: grid; gap: 6px; }
.result-body p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.result-note { margin: 10px 0 6px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.inline-link { width: fit-content; color: var(--deep); font-size: 12px; font-weight: 650; text-underline-offset: 3px; }

.search-recovery { display: grid; justify-items: center; gap: 12px; margin-top: 14px; padding: 17px; }
.detail-banner { min-height: 71px; padding: 7px 12px; border-radius: 14px 14px 0 0; background: linear-gradient(110deg, #dff6e9, #eaf7de); }
.detail-card { position: relative; margin-top: -5px; padding: 13px; }
.drug-identification { display: grid; gap: 3px; padding-bottom: 11px; overflow-wrap: anywhere; }
.drug-identification h3 { font-size: 19px; }
.drug-status { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px; border-radius: 10px; background: var(--mint); color: var(--deep); font-size: 13px; }
.drug-status .tag { background: #187d57; color: white; }
.detail-notice { margin: 9px 0 14px; padding: 8px 10px; border-radius: 10px; background: #ebf3f5; font-size: 12px; }
.related-title { margin-bottom: 8px; padding-left: 7px; border-left: 3px solid #169969; font-size: 15px; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.related button { position: relative; display: flex; align-items: flex-start; min-height: 102px; padding: 10px 9px 56px; border: 0; border-radius: 12px; color: var(--ink); background: linear-gradient(135deg, #dcf5e7, #eff9e8); text-align: left; font-size: 13px; font-weight: 750; }
.related button:last-child { background: linear-gradient(130deg, #fff2bd, #fff8de); }
.related button img { position: absolute; right: 0; bottom: 0; width: 62px; height: 54px; object-fit: cover; border-radius: 10px 0 12px 0; }
.related button:hover { filter: brightness(.97); }
#view-supplement { width: 100%; }

.coverage > .section-head { min-height: 76px; padding: 7px 8px 7px 11px; background: linear-gradient(115deg, #e6f7ec, #f0f9e9); border-radius: 12px; }
.coverage-art { width: 71px; height: auto; flex: none; border-radius: 10px; }
.coverage > p { margin-top: 8px; overflow-wrap: anywhere; }
fieldset { padding: 0; margin: 13px 0 0; border: 0; min-width: 0; }
legend { font-size: 13px; font-weight: 750; margin-bottom: 7px; }
.scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.scenarios label { position: relative; min-width: 0; cursor: pointer; }
.scenarios input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.scenarios span { display: grid; place-items: center; text-align: center; border: 1px solid var(--line); border-radius: 10px; min-height: 43px; height: 100%; padding: 7px 3px; color: var(--deep); font-weight: 650; font-size: 12px; }
.scenarios input:checked + span { border-color: #64a98b; background: var(--mint); }
.scenarios input:focus-visible + span { outline: 2px solid #198353; outline-offset: 2px; }
.coverage-details { margin-top: 13px; }
.checklist-title { font-weight: 750; font-size: 13px; }
#coverage-checklist { margin: 6px 0 12px; padding-left: 19px; color: var(--muted); font-size: 12px; line-height: 1.8; }
#coverage-checklist li::marker { color: var(--green); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid #efe8c4; border-radius: 12px; background: linear-gradient(126deg, #fff4ce, #fff9e8); }
.product-art { grid-column: 2; grid-row: 1; width: 64px; height: auto; border-radius: 10px; }
.product > div { grid-column: 1; grid-row: 1; }
.product .primary { grid-column: 1 / -1; }
.product-type { font-size: 11px; color: #635329; font-weight: 700; }
.product h3 { margin-top: 2px; font-size: 19px; }
.product p { margin-top: 3px; color: #555e4c; font-size: 12px; line-height: 1.5; }

.help { display: flex; gap: 9px; align-items: center; margin-top: 16px; padding: 11px 10px; background: #eef5f1; border-radius: 12px; }
.help-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: #e2f2e7; color: var(--green); }
.help h2 { font-size: 13px; }
.help p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; padding-block: 13px max(20px, env(safe-area-inset-bottom, 0px)); }
.footer a { text-underline-offset: 3px; }
dialog { width: min(90vw, 390px); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); padding: 16px; }
dialog::backdrop { background: #102e2399; }
dialog p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 9px 0; }
.close { width: 32px; padding: 0; font-size: 20px; }

@media (max-width: 340px) {
  .container { padding-inline: 12px; }
  .coverage { padding: 11px; }
  .section-head h2 { font-size: 18px; }
  .coverage-art { width: 58px; }
}
