:root {
  color-scheme: light dark;
  --bg: #fafbf9; --surface: #ffffff; --text: #202c29; --muted: #606e68;
  --ownership-text: #666666;
  --line: #dce3de; --accent: #24654e; --accent-text: #ffffff; --soft: #edf4ee;
  --placeholder: #eef0ed; --placeholder-ink: #6b7771; --chip: #f5f7f4;
  --health-bg: #e9f3eb; --health-text: #285f3d; --yellow-bg: #fff5d6; --yellow-text: #765818;
  --danger-bg: #fcecea; --danger-text: #a02d29; --backdrop: #16271d66; --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141b18; --surface: #1c2521; --text: #e9efeb; --muted: #b0bdb5;
    --ownership-text: #bbbbbb;
    --line: #3b4840; --accent: #a0d4b6; --accent-text: #11281c; --soft: #24372c;
    --placeholder: #2a322d; --placeholder-ink: #a9b5ad; --chip: #252f29;
    --health-bg: #284532; --health-text: #b3e1c2; --yellow-bg: #433b22; --yellow-text: #f0d58b;
    --danger-bg: #472925; --danger-text: #ffb4aa; --backdrop: #00000099;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif; line-height: 1.65; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, .button, select, summary { cursor: pointer; }
button, .button { min-height: 44px; }
button, input, select { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
button { padding: 8px 16px; }
input { min-width: 0; accent-color: var(--accent); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; flex-shrink: 0; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.3; letter-spacing: -.055em; margin-bottom: 16px; font-weight: 750; }
h2 { font-size: 19px; line-height: 1.4; letter-spacing: -.025em; }
h3 { font-size: 17px; line-height: 1.5; }
p { margin-bottom: 12px; }
.container { width: min(100%, 1112px); padding-inline: 16px; margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.logo { font-size: 23px; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.logo span, .footer-logo span { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
nav { display: flex; gap: 16px; font-size: 13px; }
nav a { min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid transparent; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
.intro { padding-top: 44px; padding-bottom: 22px; }
.eyebrow { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .07em; margin-bottom: 14px; }
.muted { color: var(--muted); }
.ownership-note { color: var(--ownership-text); }
.small { font-size: 12px; }
.search-box { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px 8px 16px; }
.search-box svg { color: var(--accent); flex-shrink: 0; }
.search-box input { flex: 1; width: 100%; border: 0; background: transparent; border-radius: 0; font-size: 14px; min-height: 44px; }
.search-box button { background: var(--accent); color: var(--accent-text); border-color: var(--accent); padding-inline: 14px; flex-shrink: 0; }
#search-help { margin: 8px 0 24px; }
.survey-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.survey-banner strong { font-size: 16px; }
.survey-banner p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.banner-arrow { color: var(--accent); font-size: 28px; }
.filter-panel { padding: 18px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.section-heading, .results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.section-heading h2, .results-toolbar h2 { margin: 0; }
.text-button { border: 0; background: transparent; color: var(--muted); padding: 4px 8px; font-size: 13px; }
.filter-help { margin-bottom: 18px; }
.filter-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group legend { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--chip); padding: 7px 12px; font-size: 12px; }
.chip input:checked + span { background: var(--soft); color: var(--accent); border-color: var(--accent); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.results-section { margin-block: 30px 50px; }
.results-toolbar { margin-bottom: 10px; }
#result-count { color: var(--accent); }
.sort-control { min-width: 0; }
select { max-width: 100%; min-height: 44px; padding: 8px 24px 8px 10px; font-size: 12px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; overflow: hidden; }
.card-link { display: block; height: 100%; }
.card-link:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.card-link:focus-visible { outline-offset: -4px; }
.photo-placeholder { background: var(--placeholder); color: var(--placeholder-ink); height: 122px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.photo-placeholder span { font-size: 11px; }
.card-body { padding: 18px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.badge { display: inline-flex; align-items: center; border-radius: 6px; padding: 3px 7px; font-size: 10px; line-height: 1.5; background: var(--placeholder); color: var(--muted); }
.badge-health { color: var(--health-text); background: var(--health-bg); }
.badge-overseas { color: var(--yellow-text); background: var(--yellow-bg); }
.brand { margin: 16px 0 4px; font-size: 12px; color: var(--muted); }
.product-card h3 { margin-bottom: 12px; }
.product-meta { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.detail-link { display: flex; justify-content: space-between; color: var(--accent); font-size: 12px; font-weight: 650; }
.empty-state { padding: 44px 16px; text-align: center; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; background: var(--surface); font-size: 14px; }
.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 32px; color: var(--muted); font-size: 12px; }
.footer-logo { display: block; color: var(--text); font-size: 17px; margin-bottom: 12px; }
.site-footer p { max-width: 880px; margin-bottom: 0; line-height: 1.9; }
.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: 8px; left: 16px; transform: translateY(-150%); padding: 10px 20px; z-index: 20; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.skip-link:focus { transform: translateY(0); }
.dialog-open { overflow: hidden; }
.product-dialog { margin: 0; padding: 0; width: 100%; max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border: 0; color: var(--text); background: var(--surface); overscroll-behavior: contain; }
.product-dialog::backdrop { background: var(--backdrop); }
.dialog-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.icon-button { padding: 4px 12px; font-size: 13px; }
.icon-button span { font-size: 20px; margin-left: 8px; }
.detail-content { padding: 26px 16px 40px; }
.detail-content h2 { font-size: 26px; margin-bottom: 16px; }
.detail-content h3 { margin-bottom: 12px; }
.detail-content h3 .muted { font-size: 12px; font-weight: 400; }
.detail-content .brand { margin-top: 0; }
.detail-cfu { font-size: 21px; color: var(--accent); font-weight: 650; margin: 24px 0; }
.facts { font-size: 13px; }
.facts > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
dt { color: var(--muted); }
dd { margin: 0; }
dd small { display: block; color: var(--muted); margin-top: 4px; }
.detail-section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; font-size: 13px; overflow-wrap: anywhere; }
.organism-list { list-style: none; padding: 0; margin: 0; }
.organism-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.scientific { display: block; margin-bottom: 8px; }
.organism-list small { font-size: 11px; color: var(--muted); }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 13px; margin-block: 20px; }
.notice p { margin: 6px 0 0; }
.notice-danger { background: var(--danger-bg); color: var(--danger-text); border-color: currentColor; }
.notice-caution { background: var(--yellow-bg); color: var(--yellow-text); border-color: currentColor; }
.preserve-lines { white-space: pre-wrap; }
.caution-details, .selection-details { font-size: 13px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 24px; background: var(--surface); }
summary { font-weight: 650; min-height: 30px; }
details p { margin: 12px 0 0; }
.seller-links { display: flex; flex-wrap: wrap; gap: 8px; }
.source-facts { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.survey-main { padding-bottom: 50px; }
.survey-intro, .survey-panel { max-width: 680px; margin-inline: auto; }
.survey-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; background: var(--surface); }
.progress-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
progress { appearance: none; width: 100%; height: 5px; border: 0; border-radius: 12px; background: var(--line); color: var(--accent); display: block; margin-bottom: 36px; overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.survey-question { min-width: 0; padding: 0; margin: 0; border: 0; }
.survey-question legend { font-size: 23px; line-height: 1.45; font-weight: 700; letter-spacing: -.035em; margin-bottom: 8px; padding: 0; }
#question-hint { font-size: 13px; margin-bottom: 22px; }
.survey-options { display: grid; gap: 10px; }
.survey-option { display: flex; align-items: center; gap: 12px; padding: 16px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: 14px; }
.survey-option:has(input:checked) { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.survey-option input { margin: 0; }
.option-number { display: inline-block; font-size: 11px; color: var(--muted); margin-right: 12px; }
.form-error { min-height: 23px; color: var(--danger-text); font-size: 13px; margin: 16px 0; }
.survey-actions { display: flex; gap: 10px; }
.survey-actions .primary { flex: 1; }
.overseas-option { display: flex; align-items: center; gap: 10px; margin: 24px 0 10px; cursor: pointer; font-size: 14px; }
.result-heading { padding-top: 44px; }
.recommendation-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px; }
.recommendation-grid .card-link { height: auto; }
.strain-results { margin-top: 28px; overflow-wrap: anywhere; }
.recommendation-reason { border-top: 1px solid var(--line); padding: 18px; font-size: 13px; overflow-wrap: anywhere; }
.recommendation-reason strong { font-size: 12px; color: var(--accent); }
.recommendation-reason p { color: var(--muted); margin: 6px 0 0; }
.result-footer { margin-top: 32px; font-size: 13px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (min-width: 640px) {
  .mobile-break { display: none; }
  nav { gap: 28px; font-size: 14px; }
  .intro { padding-top: 54px; }
  .filter-panel { padding: 22px 24px; }
  .product-grid, .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .survey-panel { padding: 32px; }
  .survey-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-placeholder { height: 146px; }
  .product-dialog { left: auto; right: 0; width: 530px; max-width: 100%; border-left: 1px solid var(--line); }
  .dialog-toolbar { padding-inline: 28px; }
  .detail-content { padding-inline: 28px; }
  .recommendation-grid .card-link { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
  .recommendation-grid .photo-placeholder { height: 100%; min-height: 180px; }
}
.same-strain .same-strain-list { margin-top: 10px; }
.same-strain .same-strain-list ul { margin: 8px 0 0; padding-left: 18px; }
.same-strain .same-strain-list li { margin: 4px 0; }
