:root {
  color-scheme: light;
  --page: #faf8f4;
  --surface: #ffffff;
  --ink: #282b26;
  --muted: #64695f;
  --subtle: #e9e7df;
  --line: #e5e4db;
  --accent: #ce4925;
  --accent-hover: #b33c1c;
  --accent-soft: #fff0e8;
  --green: #496950;
  --green-soft: #eaf0e6;
  --yellow: #ecc568;
  --yellow-soft: #f7efda;
  --rose-soft: #f5e7de;
  --blue-soft: #e8eef0;
  --warm-ink: #955b36;
  --food-orange: #dd693b;
  --food-green: #78936b;
  --food-dark-green: #4b7054;
  --food-grain: #e8d6aa;
  --food-brown: #ad764a;
  --food-noodle: #e3bc6c;
  --food-white: #fffdf5;
  --shadow: 0 14px 40px #35332208;
  --shadow-raised: 0 18px 40px #35332212;
  --backdrop: #272b2666;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, textarea, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .45; }
button, a, summary, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button { transition: background .18s, border-color .18s, color .18s, transform .18s; }
button:active:not(:disabled) { transform: translateY(1px); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: var(--space-4); z-index: 100; background: var(--ink); color: var(--surface); padding: var(--space-3) var(--space-5); border-radius: var(--radius-sm); opacity: 0; }
.skip-link:focus { top: var(--space-4); opacity: 1; }
.page-shell { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; font-size: 26px; font-weight: 850; letter-spacing: -1.5px; }
.brand svg { width: 31px; height: 31px; color: var(--accent); }
.brand-dot { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: var(--space-8); }
.nav-link, .text-button { background: none; border: 0; padding: var(--space-2) 0; min-height: 44px; font-size: 13px; font-weight: 600; }
.nav-link { color: var(--muted); }
.catalog-button { border: 0; padding: var(--space-2) 0; background: none; font-size: 13px; min-height: 44px; font-weight: 600; }
.catalog-button:hover { color: var(--accent); }
.text-button:hover, .nav-link:hover { color: var(--accent); }
.library-button { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-pill); background: transparent; min-height: 44px; font-size: 13px; font-weight: 650; }
.library-button:hover { background: var(--surface); border-color: var(--ink); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; border-radius: var(--radius-pill); background: var(--subtle); color: var(--ink); padding: 0 6px; font-size: 11px; }
.hero { display: flex; align-items: center; justify-content: space-between; padding: var(--space-12) 0 var(--space-12); gap: var(--space-10); }
.eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: 1.9px; font-weight: 700; display: flex; align-items: center; gap: var(--space-2); }
.small-line { width: 23px; height: 2px; background: var(--accent); }
.hero h1 { margin: var(--space-4) 0 var(--space-5); font-size: clamp(36px, 3.6vw, 51px); line-height: 1.3; font-weight: 780; letter-spacing: -2.4px; }
.hero h1 span { color: var(--accent); }
.hero-description { font-size: 14px; color: var(--muted); }
.hero-art { width: 322px; height: 206px; margin-right: var(--space-10); flex-shrink: 0; }
.hero-art svg { width: 100%; height: 100%; }
.mobile-break { display: none; }
.workspace { display: grid; grid-template-columns: 318px minmax(0, 1fr); gap: var(--space-10); align-items: start; padding-bottom: var(--space-16); }
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); }
.section-label { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.step-number { font-size: 10px; color: var(--accent); font-weight: 750; letter-spacing: .7px; border: 1px solid var(--accent); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.section-label h2 { font-size: 15px; letter-spacing: -.5px; font-weight: 750; }
.input-wrap { position: relative; }
textarea { display: block; width: 100%; resize: vertical; min-height: 126px; max-height: 280px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); padding: var(--space-4) var(--space-10) var(--space-4) var(--space-4); font-size: 14px; line-height: 1.85; }
textarea::placeholder { color: var(--muted); opacity: 1; }
textarea:focus { border-color: var(--accent); }
.input-decoration { position: absolute; bottom: var(--space-4); right: var(--space-4); color: var(--accent); pointer-events: none; }
.field-note { margin-top: var(--space-2); font-size: 11px; line-height: 1.75; color: var(--muted); }
.example-list { display: grid; margin-top: var(--space-3); }
.example-list button { text-align: left; display: flex; justify-content: space-between; border: 0; background: none; min-height: 36px; padding: var(--space-1) 0; font-size: 11px; color: var(--muted); }
.example-list button:hover { color: var(--accent); }
.example-list span { color: var(--accent); }
.filter-section { margin-top: var(--space-6); }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); gap: var(--space-2); }
.filter-heading h3 { font-size: 12px; font-weight: 750; }
.filter-heading > span { font-size: 10px; color: var(--muted); }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-size: 12px; font-weight: 550; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); }
.chip.is-exclusion[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.compact { gap: 6px; }
.compact .chip { padding: 7px 10px; font-size: 11px; min-height: 44px; }
.ingredient-details { margin-top: var(--space-6); padding: var(--space-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ingredient-details summary { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; cursor: pointer; font-size: 12px; font-weight: 700; list-style: none; }
.ingredient-details summary::-webkit-details-marker { display: none; }
.ingredient-details .count-pill { background: var(--page); color: var(--muted); }
.chevron { margin-left: auto; }
.ingredient-details[open] .chevron { transform: rotate(180deg); }
.ingredient-details .chip-group { margin-top: var(--space-4); }
.check-row { display: flex; align-items: center; gap: var(--space-2); min-height: 56px; font-size: 11px; cursor: pointer; }
.check-row input { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }
.primary-button { background: var(--accent); color: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-sm); min-height: 49px; padding: var(--space-3) var(--space-4); display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: 13px; font-weight: 700; width: 100%; }
.primary-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.primary-button > span:last-child { margin-left: auto; }
.primary-button > span:first-child { margin-right: auto; }
#meal-form > .primary-button { margin-top: var(--space-4); }
.reset-button { display: block; margin: var(--space-1) auto 0; font-size: 11px; color: var(--muted); }
.composer-note { display: flex; gap: var(--space-3); padding-top: var(--space-4); margin-top: var(--space-2); border-top: 1px solid var(--line); }
.composer-note > span { color: var(--green); padding-top: 3px; }
.composer-note p { font-size: 11px; color: var(--ink); }
.composer-note p span { color: var(--muted); font-size: 10px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-1); margin-bottom: var(--space-4); }
.muted { color: var(--muted); font-size: 9px; letter-spacing: 1.5px; }
.result-heading h2 { font-size: 25px; font-weight: 730; letter-spacing: -.8px; margin-top: var(--space-1); }
.menu-count { font-size: 11px; color: var(--muted); padding-bottom: 5px; white-space: nowrap; }
.active-conditions { display: flex; flex-wrap: wrap; gap: 6px; }
.condition { background: var(--accent-soft); border: 0; color: var(--accent); font-size: 11px; border-radius: var(--radius-pill); padding: 5px 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; }
.condition.exclusion { background: var(--subtle); color: var(--ink); }
.condition .icon { width: 11px; height: 11px; }
.notice-list:empty { display: none; }
.notice { border-left: 2px solid var(--accent); background: var(--accent-soft); padding: var(--space-3); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: var(--space-3); font-size: 12px; }
.clarify-options { margin-top: var(--space-4); }
.clarify-options p { font-size: 13px; font-weight: 600; margin-bottom: var(--space-2); }
.results-status { color: var(--muted); font-size: 12px; min-height: 23px; margin-top: var(--space-2); margin-bottom: var(--space-4); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.menu-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; min-width: 0; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.menu-card:first-child { border-color: var(--warm-ink); }
.card-art { height: 178px; position: relative; overflow: hidden; background: var(--yellow-soft); }
.menu-card:nth-child(2) .card-art { background: var(--green-soft); }
.menu-card:nth-child(3) .card-art { background: var(--rose-soft); }
.dish-illustration { width: 100%; height: 100%; }
.card-rank { position: absolute; top: var(--space-3); left: var(--space-3); font-size: 10px; font-weight: 650; display: flex; align-items: center; gap: 5px; }
.card-rank .icon { width: 12px; height: 12px; }
.favorite-button { position: absolute; right: var(--space-2); top: var(--space-2); border-radius: 50%; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; }
.favorite-button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.favorite-button[aria-pressed="true"] .icon { fill: var(--accent-soft); }
.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.card-body { padding: var(--space-5) var(--space-4) var(--space-4); display: flex; flex-direction: column; flex: 1; }
.cuisine-label { font-size: 10px; color: var(--muted); font-weight: 550; }
.card-body h3 { margin-top: var(--space-1); font-size: 19px; font-weight: 750; line-height: 1.4; letter-spacing: -.6px; word-break: keep-all; }
.menu-description { margin-top: var(--space-2); font-size: 11px; line-height: 1.8; color: var(--muted); word-break: keep-all; min-height: 42px; }
.reason-list { margin: var(--space-4) 0 var(--space-5); padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-1); flex: 1; }
.reason-list li { font-size: 10px; display: flex; align-items: start; gap: 5px; color: var(--green); }
.reason-list .icon { width: 12px; height: 12px; margin-top: 3px; }
.match-info { margin-top: var(--space-3); }
.match-info > span { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.match-info b { color: var(--accent); font-weight: 650; }
.match-info progress { display: block; width: 100%; height: 3px; border: 0; border-radius: var(--radius-pill); background: var(--subtle); overflow: hidden; appearance: none; }
.match-info progress::-webkit-progress-bar { background: var(--subtle); }
.match-info progress::-webkit-progress-value { background: var(--accent); }
.match-info progress::-moz-progress-bar { background: var(--accent); }
.card-detail-button { border: 0; background: none; display: flex; align-items: center; gap: 5px; padding: var(--space-2) 0; margin-bottom: var(--space-2); min-height: 32px; color: var(--muted); font-size: 10px; text-align: left; }
.card-detail-button .icon { width: 12px; height: 12px; }
.card-detail-button:hover { color: var(--accent); }
.detail-heading { margin-top: var(--space-6); margin-bottom: var(--space-3); font-size: 15px; }
.detail-traits { list-style: none; padding: 0; display: grid; gap: var(--space-2); font-size: 13px; }
.detail-traits li { display: flex; align-items: center; gap: var(--space-2); }
.matched { color: var(--green); }
.unmatched { color: var(--muted); }
.detail-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.detail-tags span { font-size: 12px; background: var(--subtle); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); }
.source-list { padding-left: var(--space-5); font-size: 12px; }
.source-list li + li { margin-top: var(--space-3); }
.source-list a { color: var(--accent); overflow-wrap: anywhere; }
.source-list p { margin-top: var(--space-1); color: var(--muted); }
.choose-button { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); min-height: 42px; font-size: 11px; font-weight: 700; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-3); }
.choose-button:hover, .menu-card:first-child .choose-button { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.menu-card:first-child .choose-button:hover { background: var(--accent); border-color: var(--accent); }
.choose-button .icon { width: 14px; height: 14px; }
.card-feedback { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }
.feedback-button { flex: 1 1 88px; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-2); background: var(--surface); color: var(--muted); font-size: 11px; line-height: 1.5; word-break: keep-all; }
.feedback-button:hover { color: var(--ink); border-color: var(--warm-ink); background: var(--subtle); }
.session-feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); margin-bottom: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.session-feedback[hidden] { display: none; }
.session-feedback > div { flex: 1 1 210px; min-width: 0; }
.session-feedback strong { font-size: 13px; }
.session-feedback p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: var(--space-1); }
.session-feedback .secondary-button { flex-shrink: 0; min-height: 44px; }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 1px solid var(--line); background: var(--surface); padding: var(--space-3) var(--space-4); min-height: 44px; font-size: 12px; font-weight: 650; border-radius: var(--radius-sm); }
.secondary-button:hover { border-color: var(--ink); }
.pick-one-button { display: flex; gap: var(--space-2); align-items: center; font-size: 11px; }
.pick-one-button .icon { width: 14px; height: 14px; }
.decision-note { position: relative; display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-8); padding: var(--space-6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.note-number { color: var(--accent); font-size: 48px; font-family: Georgia, serif; font-style: italic; line-height: 1; }
.decision-note h3 { font-size: 13px; font-weight: 650; letter-spacing: -.2px; margin-bottom: var(--space-1); }
.decision-note p { font-size: 11px; color: var(--muted); line-height: 1.8; }
.note-flower { color: var(--food-grain); font-size: 67px; margin-left: auto; line-height: 1; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: var(--space-12) var(--space-6); min-height: 350px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.empty-state > .icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: var(--space-5); }
.empty-state h3 { font-size: 20px; letter-spacing: -.5px; }
.empty-state p { color: var(--muted); margin: var(--space-3) 0 var(--space-6); font-size: 13px; max-width: 310px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); border-top: 1px solid var(--line); min-height: 100px; color: var(--muted); }
.site-footer > span { font-size: 10px; letter-spacing: 1.3px; font-weight: 650; }
.site-footer p, .site-footer button { font-size: 11px; }
dialog { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--page); color: var(--ink); padding: var(--space-6); width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 48px); box-shadow: var(--shadow-raised); }
dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.dialog-head h2 { font-size: 20px; letter-spacing: -.5px; }
.dialog-copy { font-size: 14px; }
.dialog-copy p + p { margin-top: var(--space-4); }
.dialog-copy .secondary-button { margin-top: var(--space-6); }
.dialog-copy small { display: block; color: var(--muted); margin-top: var(--space-5); }
.library-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: var(--space-4); gap: var(--space-5); }
.library-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: var(--space-3) 0; font-size: 13px; color: var(--muted); }
.library-tabs button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.library-row { display: flex; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--line); padding: var(--space-3) 0; }
.library-thumb { width: 64px; height: 64px; background: var(--yellow-soft); border-radius: var(--radius-sm); flex-shrink: 0; overflow: hidden; }
.library-info { flex: 1; min-width: 0; }
.library-info h3 { font-size: 14px; }
.library-info p { color: var(--muted); font-size: 11px; }
.library-row > .text-button { font-size: 11px; color: var(--accent); }
.library-row > .text-button { min-height: 44px; }
.library-row > .icon-button { width: 44px; height: 44px; flex-shrink: 0; }
.library-empty { text-align: center; color: var(--muted); font-size: 13px; padding: var(--space-10) 0; }
.library-hint { margin-top: var(--space-4); color: var(--muted); font-size: 11px; }
.catalog-browser > label { display: block; font-size: 12px; margin-bottom: var(--space-2); font-weight: 600; }
.catalog-browser input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); padding: var(--space-3); font-size: 14px; }
.catalog-cuisines { margin-top: var(--space-4); }
.catalog-row { display: flex; gap: var(--space-3); align-items: center; border-bottom: 1px solid var(--line); padding: var(--space-4) 0; }
.catalog-row > div { flex: 1; min-width: 0; }
.catalog-row h3 { font-size: 15px; }
.catalog-row p { color: var(--muted); font-size: 12px; margin-top: var(--space-1); }
.catalog-row small { color: var(--muted); font-size: 10px; display: block; margin-top: var(--space-1); }
.catalog-row button { color: var(--accent); flex-shrink: 0; font-size: 12px; }
.catalog-more { margin: var(--space-5) auto 0; display: flex; }
.choice-art { height: 215px; border-radius: var(--radius-md); background: var(--yellow-soft); margin-bottom: var(--space-5); }
.choice-body { text-align: center; }
.choice-body h3 { font-size: 30px; letter-spacing: -1px; }
.choice-body > p { color: var(--muted); font-size: 13px; margin: var(--space-2) 0 var(--space-6); }
.choice-body .primary-button { margin-top: var(--space-4); }
.toast { position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%); z-index: 100; background: var(--ink); color: var(--surface); font-size: 13px; padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); box-shadow: var(--shadow-raised); max-width: calc(100vw - 32px); text-align: center; width: max-content; }
.noscript { padding: var(--space-6); background: var(--accent-soft); text-align: center; }
@media (min-width: 1500px) { .hero { padding-top: var(--space-16); padding-bottom: var(--space-16); } }
@media (max-width: 1180px) {
  .page-shell { width: calc(100% - 64px); }
  .workspace { grid-template-columns: 284px minmax(0, 1fr); gap: var(--space-6); }
  .composer { padding: var(--space-5); }
  .menu-grid { gap: var(--space-3); }
  .card-body { padding: var(--space-4) var(--space-3); }
  .card-art { height: 150px; }
  .card-body h3 { font-size: 17px; }
  .note-flower { display: none; }
}
@media (max-width: 980px) {
  .workspace { grid-template-columns: 280px minmax(0, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { flex-direction: row; }
  .card-art { width: 38%; height: auto; min-height: 225px; flex-shrink: 0; }
  .card-body { padding: var(--space-4); }
  .card-body h3 { font-size: 20px; }
  .menu-description { min-height: auto; }
  .reason-list { margin: var(--space-3) 0; }
  .card-rank { left: var(--space-2); top: var(--space-2); font-size: 9px; }
  .favorite-button { top: auto; bottom: var(--space-2); }
  .result-actions { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .pick-one-button { justify-content: center; }
  .hero-art { width: 250px; height: 190px; margin-right: 0; }
  .hero h1 { font-size: 38px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .menu-count { display: none; }
  .decision-note { padding: var(--space-5) 0; }
  .desktop-break { display: none; }
}
@media (max-width: 720px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { min-height: 80px; }
  .brand { font-size: 24px; }
  .brand svg { width: 27px; }
  .site-header nav { gap: var(--space-3); }
  .nav-link { display: none; }
  .library-button { font-size: 12px; padding: var(--space-2) var(--space-3); }
  .hero { padding: var(--space-10) 0 var(--space-8); position: relative; min-height: 220px; }
  .hero h1 { font-size: clamp(32px, 7.7vw, 42px); letter-spacing: -1.8px; margin: var(--space-3) 0 var(--space-4); }
  .hero-description { font-size: 12px; max-width: 270px; }
  .hero-art { position: absolute; right: -10px; bottom: 15px; width: 133px; height: 107px; opacity: .95; z-index: -1; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.2px; }
  .small-line { width: 14px; }
  .mobile-break { display: block; }
  .workspace { grid-template-columns: 1fr; gap: var(--space-8); padding-bottom: var(--space-10); }
  .composer { padding: var(--space-5); }
  .section-label { margin-bottom: var(--space-4); }
  textarea { min-height: 104px; font-size: 15px; }
  .example-list { margin-top: var(--space-2); display: flex; gap: var(--space-2); flex-wrap: wrap; }
  .example-list button { font-size: 10px; background: var(--page); border-radius: var(--radius-sm); padding: var(--space-2); gap: var(--space-2); min-height: 44px; }
  .filter-section { margin-top: var(--space-5); }
  .filter-heading { margin-bottom: var(--space-2); }
  .ingredient-details { margin-top: var(--space-5); }
  .chip { min-height: 44px; }
  .compact .chip { min-height: 44px; padding: var(--space-2) var(--space-3); }
  .condition, .card-detail-button, .ingredient-details summary, .reset-button { min-height: 44px; }
  .composer-note { display: none; }
  .reset-button { min-height: 36px; }
  .result-heading h2 { font-size: 24px; }
  .menu-count { display: inline; }
  .menu-grid { gap: var(--space-3); }
  .card-art { min-height: 226px; width: 37%; }
  .menu-description { font-size: 12px; }
  .reason-list li { font-size: 11px; }
  .card-body h3 { font-size: 21px; }
  .favorite-button { width: 44px; height: 44px; }
  .choose-button { min-height: 44px; font-size: 12px; }
  .result-actions { margin-top: var(--space-4); }
  .decision-note { margin-top: var(--space-5); }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-3); padding: var(--space-5) 0; min-height: auto; }
  .site-footer p { display: none; }
  .site-footer button { min-height: 44px; }
  dialog { padding: var(--space-5); }
  .icon-button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .menu-card:hover { transform: none; }
}
