html:has(body[data-path="/guide"]) { scroll-behavior: auto; }
body[data-path="/guide"] .site-header { position: static; }
body[data-path="/guide"] .support-launcher { display: none; }
.guide-page { --guide-teal: #087e82; --guide-ink: #14242c; --guide-orange: #bc591d; --guide-motion-ease: cubic-bezier(.2, .7, .25, 1); max-width: 1160px; margin: 0 auto; color: var(--guide-ink); }
.guide-page [hidden] { display: none !important; }
.guide-intro { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 32px; padding: 28px 0 36px; }
.guide-intro h1 { margin: 10px 0 18px; font-size: clamp(2rem, 4.5vw, 3.65rem); line-height: 1.14; letter-spacing: -.055em; }
.guide-lead { max-width: 680px; margin: 0; color: #475965; font-size: 1.08rem; line-height: 1.7; }
.guide-privacy { margin: 18px 0 0; font-size: .84rem; color: var(--guide-teal); font-weight: 700; }
.guide-intro-art { position: relative; text-align: center; }
.guide-intro-art img { display: block; width: 270px; max-width: 100%; height: auto; margin: 0 auto; }
.guide-intro-art > span { display: inline-block; padding: 8px 18px; border: 1px solid #c3e7e5; border-radius: 16px; background: #f1fbfa; font-size: .82rem; line-height: 1.5; transform: rotate(-3deg); }
.guide-motion-control { margin-top: 18px; }
.guide-motion-control button[data-guide-motion] { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; min-width: 184px; max-width: 100%; padding: 9px 14px; border: 1px solid #b7d5d3; border-radius: 12px; background: #f1faf8; box-shadow: none; color: #185d62; font: inherit; font-size: .78rem; font-weight: 750; line-height: 1.5; text-align: center; white-space: normal; cursor: pointer; }
.guide-motion-control button[data-guide-motion]:hover { border-color: #087e82; background: #e7f5f1; }
.guide-motion-control button[data-guide-motion]:focus-visible { outline: 3px solid #fca15d; outline-offset: 3px; }
.guide-page[data-guide-motion="off"] .guide-motion-control button[data-guide-motion] { background: #fff; border-style: dashed; color: #405d66; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 24px; align-items: start; }
.guide-workspace { min-width: 0; padding: clamp(20px, 3vw, 34px); border: 1px solid #d8e4e8; border-radius: 26px; background: #fff; box-shadow: 0 12px 38px #0b3e4e08; scroll-margin-top: 24px; }
.guide-progress { margin: 0 0 22px; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--guide-teal); }
.guide-progress:has(+ .guide-progress-track) { margin-bottom: 10px; }
.guide-progress-track { height: 7px; margin: 0 0 22px; overflow: hidden; border-radius: 999px; background: #e6eeef; }
.guide-progress-track > span[data-guide-progress-fill] { display: block; height: 100%; min-width: 0; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg, #087e82, #37a8a2 76%, #ef9c58); }
.guide-page[data-guide-motion="on"] .guide-progress-track > span[data-guide-progress-fill] { transition: width 300ms var(--guide-motion-ease); }
.guide-companion { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 18px; min-width: 0; min-height: 206px; margin: 0 0 28px; padding: 12px 16px; border: 1px solid #d6e8e4; border-radius: 22px; background: radial-gradient(ellipse at 12% 70%, #ffddaf6b, transparent 47%), linear-gradient(125deg, #f0faf7, #fffdf8); }
.guide-companion > [data-guide-cat] { width: 180px; height: 180px; max-width: 100%; justify-self: center; }
.guide-companion img[data-guide-cat], .guide-companion [data-guide-cat] > img, .guide-companion > .mascot-image { display: block; width: 180px; height: 180px; max-width: 100%; object-fit: contain; object-position: center; justify-self: center; transform-origin: 50% 82%; }
.guide-companion > div { min-width: 0; }
.guide-companion > div > strong { display: block; margin: 0 0 8px; color: #28585c; font-size: .76rem; line-height: 1.5; }
.guide-companion [data-guide-cat-speech] { position: relative; display: flex; align-items: center; min-height: 116px; margin: 0; padding: 18px 20px; border: 1px solid #c3e0d9; border-radius: 19px 19px 19px 5px; background: #fff; color: #244b50; font-size: .91rem; font-weight: 650; line-height: 1.7; overflow-wrap: anywhere; }
.guide-page[data-guide-state="result"] .guide-companion { display: none; }
.guide-body-fields { min-width: 0; margin: 24px 0 0; padding: 20px; border: 1px solid #dce9e6; border-radius: 18px; background: #f6faf8; }
.guide-body-fields > h2, .guide-body-fields > h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; }
.guide-body-fields > .guide-hint { margin-bottom: 0; }
.guide-body-fields .guide-field { margin-top: 18px; }
.guide-form fieldset { min-inline-size: 0; min-width: 0; margin: 0; padding: 0; border: 0; }
.guide-form legend { display: block; max-width: 100%; padding: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.guide-form legend:focus, .guide-result:focus { outline: none; }
.guide-form legend, .guide-result { scroll-margin-top: 24px; }
.guide-hint { margin: 12px 0 20px; color: #52616c; font-size: .89rem; line-height: 1.65; }
.guide-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-choice { display: flex; gap: 12px; align-items: flex-start; min-width: 0; margin: 0; padding: 17px 15px; border: 1.5px solid #dce5e8; border-radius: 16px; background: #fbfcfd; cursor: pointer; transition: border-color .15s, background .15s; }
.guide-choice:has(input:checked) { border-color: var(--guide-teal); background: #eefaf8; box-shadow: 0 0 0 1px var(--guide-teal); }
.guide-choice:has(input:focus-visible) { outline: 3px solid #fca15d; outline-offset: 3px; }
.guide-choice input[type="radio"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--guide-teal); }
.guide-choice > span { min-width: 0; }
.guide-choice strong { display: block; font-size: .93rem; line-height: 1.45; }
.guide-choice small { display: block; margin-top: 6px; color: #586a75; font-size: .79rem; line-height: 1.6; }
.guide-choices-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0; }
.guide-choices-compact strong { font-size: .83rem; }
.guide-choices-stacked { grid-template-columns: 1fr; }
.guide-field { display: grid; gap: 8px; margin: 24px 0 0; min-width: 0; }
.guide-field > span { font-size: .9rem; font-weight: 800; }
.guide-field > span small { font-weight: 500; color: #647580; }
.guide-field input, .guide-field select { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #bdcdd3; border-radius: 12px; background: #fff; color: var(--guide-ink); font: inherit; font-size: 1rem; }
.guide-field input:focus-visible, .guide-field select:focus-visible { outline: 3px solid #b3e2de; outline-offset: 2px; border-color: var(--guide-teal); }
.guide-field > small { color: #647580; font-size: .77rem; line-height: 1.6; }
.guide-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-health-question { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e1e9eb; }
.guide-health-question h2 { margin: 0; font-size: 1.03rem; line-height: 1.5; }
.guide-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #e1e9eb; }
.guide-actions button { gap: 12px; font-size: .9rem; }
.guide-actions > span { color: #71838d; font-size: .8rem; }
.guide-actions .guide-back { background: #f0f4f5; box-shadow: none; color: #354b58; }
.guide-error { margin: 0 0 20px; padding: 12px 14px; color: #8a2a08; background: #fff1e8; border-left: 3px solid #ef7c38; border-radius: 7px; font-size: .9rem; line-height: 1.6; }
.guide-side { padding: 24px; border-radius: 24px; background: #eaf5f3; border: 1px solid #d6e7e4; }
.guide-side h2 { margin: 8px 0 18px; font-size: 1.18rem; line-height: 1.5; }
.guide-side ol { margin: 0; padding-left: 20px; font-size: .89rem; line-height: 1.75; }
.guide-side li + li { margin-top: 12px; }
.guide-side-note { margin: 24px 0 16px; padding-top: 22px; border-top: 1px solid #c5dcda; }
.guide-side-note p { margin: 8px 0 0; font-size: .84rem; line-height: 1.75; }
.guide-small { color: #5c707a; font-size: .77rem; line-height: 1.75; }
.guide-sources { margin: 28px 0 24px; padding: 26px 30px; border: 1px solid #d8e4e8; border-radius: 24px; background: #ffffffa8; }
.guide-sources h2 { margin: 0 0 12px; font-size: 1.08rem; }
.guide-sources > p { max-width: 880px; line-height: 1.75; font-size: .88rem; }
.guide-sources > div { display: flex; gap: 16px 26px; flex-wrap: wrap; font-size: .82rem; line-height: 1.7; }
.guide-sources a, .guide-result a { color: #096f78; text-underline-offset: 3px; }
.guide-sources a:focus-visible, .guide-result a:focus-visible { outline: 3px solid #fca15d; outline-offset: 3px; }
.guide-result h2 { margin: 8px 0 18px; font-size: clamp(1.4rem, 2.7vw, 2rem); line-height: 1.35; letter-spacing: -.035em; }
.guide-result h3 { margin: 0 0 10px; font-size: 1rem; }
.guide-result p, .guide-result li { font-size: .92rem; line-height: 1.75; }
.guide-result-kicker { color: var(--guide-teal); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.guide-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.guide-result-card { min-width: 0; padding: 20px; border: 1px solid #cfe3e0; border-radius: 18px; background: #f2faf8; }
.guide-result-card p:last-child { margin-bottom: 0; }
.guide-result-mascot { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 18px; min-width: 0; margin: 0 0 24px; padding: 14px 18px; border: 1px solid #cae2dc; border-radius: 22px; background: linear-gradient(120deg, #ecf8f3, #fff8ed); }
.guide-result-mascot img { width: 128px; height: 128px; max-width: 100%; object-fit: contain; justify-self: center; }
.guide-result-mascot > div { min-width: 0; }
.guide-result-mascot p { margin: 0; color: #25565b; font-size: .94rem; font-weight: 650; line-height: 1.75; overflow-wrap: anywhere; }
.guide-nutrition-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; margin: 22px 0; }
.guide-nutrition-card { min-width: 0; padding: 21px 19px; border: 1px solid #cce3dc; border-radius: 19px; background: linear-gradient(145deg, #f0faf6, #fff); }
.guide-nutrition-card:nth-child(2) { border-color: #efd6bd; background: linear-gradient(145deg, #fff4e7, #fffdf9); }
.guide-nutrition-card h3 { margin: 0 0 14px; color: #34595d; font-size: .87rem; line-height: 1.6; }
.guide-nutrition-card .guide-nutrition-number { display: block; margin: 0; color: #086f76; font-size: clamp(2rem, 3.7vw, 3rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.045em; line-height: 1.2; overflow-wrap: anywhere; }
.guide-nutrition-card:nth-child(2) .guide-nutrition-number { color: #9f4c1a; }
.guide-nutrition-card .guide-nutrition-unit { display: block; margin-top: 7px; color: #4b626c; font-size: .78rem; font-weight: 600; line-height: 1.65; }
.guide-nutrition-card > p:last-child { margin-bottom: 0; }
.guide-nutrition-details { margin: 20px 0; padding: 18px 20px; border: 1px solid #d4e3e0; border-radius: 17px; background: #fbfdfc; overflow-wrap: anywhere; }
.guide-nutrition-details summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: #255b60; font-size: .88rem; font-weight: 800; line-height: 1.6; list-style: none; cursor: pointer; }
.guide-nutrition-details summary::-webkit-details-marker { display: none; }
.guide-nutrition-details summary::after { content: "+"; flex: 0 0 25px; width: 25px; color: #087e82; font-size: 1.3rem; text-align: center; }
.guide-nutrition-details[open] > summary::after { content: "−"; }
.guide-nutrition-details summary:focus-visible { outline: 3px solid #fca15d; outline-offset: 4px; border-radius: 5px; }
.guide-nutrition-details p, .guide-nutrition-details li { color: #4b626c; font-size: .84rem; line-height: 1.8; }
.guide-nutrition-details p:last-child { margin-bottom: 0; }
.guide-nutrition-gate { min-width: 0; margin: 22px 0; padding: 20px 22px; border: 1px solid #efcba7; border-left: 4px solid #d5813c; border-radius: 17px; background: #fff7eb; overflow-wrap: anywhere; }
.guide-nutrition-gate h3 { color: #855022; }
.guide-nutrition-gate p { margin: 0; color: #6d553e; font-size: .88rem; line-height: 1.8; }
.guide-result-notes { padding-left: 20px; }
.guide-profile { color: #5c707a; font-size: .83rem !important; }
.guide-result-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.guide-result-actions a { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 16px; border: 1px solid #bad9d6; border-radius: 12px; background: #eaf5f3; font-size: .84rem; font-weight: 800; text-decoration: none; }
.guide-result-actions button { font-size: .86rem; }
.guide-no-script { margin-top: 24px; padding: 18px; background: #f1f6f7; border-radius: 16px; }
@keyframes guide-step-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes guide-card-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes guide-cat-greet { 0%, 100% { transform: none; } 35% { transform: translateY(-4px) rotate(-3deg); } 68% { transform: translateY(-1px) rotate(1deg); } }
.guide-page[data-guide-motion="on"] .guide-form fieldset:not([hidden]) { animation: guide-step-enter 260ms var(--guide-motion-ease) both; }
.guide-page[data-guide-motion="on"] .guide-result:not([hidden]) .guide-result-card,
.guide-page[data-guide-motion="on"] .guide-result:not([hidden]) .guide-nutrition-card { animation: guide-card-enter 260ms var(--guide-motion-ease) backwards; }
.guide-page[data-guide-motion="on"] .guide-result:not([hidden]) .guide-nutrition-card:nth-child(2) { animation-delay: 40ms; }
.guide-page[data-guide-motion="on"] .guide-result:not([hidden]) .guide-nutrition-card:nth-child(3) { animation-delay: 80ms; }
.guide-page[data-guide-motion="on"] .guide-companion.is-greeting img[data-guide-cat],
.guide-page[data-guide-motion="on"] .guide-companion.is-greeting [data-guide-cat] > img,
.guide-page[data-guide-motion="on"] .guide-companion.is-greeting > .mascot-image { animation: guide-cat-greet 650ms var(--guide-motion-ease) 1; }
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .guide-side > .eyebrow, .guide-side > h2 { grid-column: 1 / -1; }
  .guide-side-note { margin: 0; padding: 0; border: 0; }
  .guide-side > .guide-small { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .guide-intro { position: relative; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px 0 26px; }
  .guide-intro > div:first-child { position: relative; z-index: 1; }
  .guide-intro .eyebrow { max-width: 190px; font-size: .63rem; }
  .guide-intro h1 { padding-right: 88px; margin-top: 18px; font-size: 2rem; letter-spacing: -.06em; }
  .guide-lead { font-size: .94rem; }
  .guide-intro-art { position: absolute; right: -5px; top: 20px; width: 120px; }
  .guide-intro-art > span { display: none; }
  .guide-privacy { font-size: .76rem; line-height: 1.65; }
  .guide-motion-control { margin-top: 14px; }
  .guide-motion-control button[data-guide-motion] { font-size: .75rem; }
  .guide-workspace { padding: 22px 17px; border-radius: 22px; }
  .guide-progress { font-size: .68rem; letter-spacing: .04em; }
  .guide-progress-track { height: 6px; margin-bottom: 20px; }
  .guide-companion { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; min-height: 172px; margin-bottom: 24px; padding: 12px; border-radius: 18px; }
  .guide-companion > [data-guide-cat], .guide-companion img[data-guide-cat], .guide-companion [data-guide-cat] > img, .guide-companion > .mascot-image { width: 120px; height: 120px; }
  .guide-companion [data-guide-cat-speech] { min-height: 146px; padding: 13px; border-radius: 15px 15px 15px 4px; font-size: .81rem; line-height: 1.7; }
  .guide-body-fields { padding: 16px; border-radius: 16px; }
  .guide-choices, .guide-choices-compact, .guide-field-pair, .guide-result-grid { grid-template-columns: 1fr; }
  .guide-choices-compact { gap: 8px; }
  .guide-choices-compact .guide-choice { padding: 13px; }
  .guide-choices-compact strong { font-size: .87rem; }
  .guide-choice { padding: 15px 13px; }
  .guide-choice strong { font-size: .91rem; }
  .guide-field-pair { gap: 0; }
  .guide-actions { flex-wrap: wrap; gap: 10px; }
  .guide-actions button { font-size: .83rem; padding: 12px 14px; }
  .guide-actions button[data-guide-next], .guide-actions button[data-guide-submit] { flex: 1; }
  .guide-side { display: block; padding: 22px; }
  .guide-side-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid #c5dcda; }
  .guide-sources { padding: 22px; }
  .guide-sources > div { flex-direction: column; gap: 14px; }
  .guide-result-actions { flex-direction: column; align-items: stretch; }
  .guide-result-actions a, .guide-result-actions button { justify-content: center; text-align: center; }
  .guide-result-mascot { grid-template-columns: 98px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 18px; }
  .guide-result-mascot img { width: 98px; height: 112px; }
  .guide-result-mascot p { font-size: .85rem; }
  .guide-nutrition-cards { grid-template-columns: 1fr; gap: 12px; }
  .guide-nutrition-card { padding: 20px; }
  .guide-nutrition-card .guide-nutrition-number { font-size: clamp(2rem, 8vw, 2.7rem); }
  .guide-nutrition-details, .guide-nutrition-gate { padding: 16px; }
}
@media (max-width: 360px) {
  body[data-path="/guide"] .site-header-mobile-actions { gap: 6px; }
  body[data-path="/guide"] .site-header-mobile-actions .ghost-link { min-height: 40px; padding: 9px; font-size: .73rem; }
  body[data-path="/guide"] .brandmark-copy strong { font-size: .87rem; }
  body[data-path="/guide"] .brandmark-copy span:last-child { font-size: .65rem; }
  .guide-companion { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px; }
  .guide-companion [data-guide-cat-speech] { min-height: 140px; font-size: .84rem; border-radius: 15px; }
  .guide-result-mascot { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .guide-result-mascot img { width: 112px; height: 112px; }
  .guide-result-mascot p { text-align: center; }
}
.guide-page[data-guide-motion="off"],
.guide-page[data-guide-motion="off"] *,
.guide-page[data-guide-motion="off"] *::before,
.guide-page[data-guide-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .guide-page, .guide-page *, .guide-page *::before, .guide-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
