:root {
  --ink: #16263d;
  --ink-soft: #4e5e70;
  --paper: #f7f8f4;
  --white: #ffffff;
  --yellow: #ffcd3c;
  --yellow-dark: #f3b916;
  --coral: #ff6e5a;
  --mint: #b8ead5;
  --blue: #a9d7ef;
  --line: #dfe4e7;
  --shadow: 0 15px 40px rgba(22, 38, 61, 0.12);
  --radius: 24px;
  --font: ui-rounded, "SF Pro Rounded", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
}
.verified-facts {font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; padding: 12px; background: #f2f5f3; border-radius: 14px; margin: 12px 0;}
.verified-facts p {margin-bottom: 10px;}
.verified-facts a {color: #235a81;}
.verified-facts details {margin-top: 12px;}
.route-link {display: inline-block; padding: 10px 0; font-weight: 800;}
summary {cursor: pointer; min-height: 36px;}
#drinkList {padding-left: 18px;}

#distance { appearance: auto !important; height: 52px !important; padding: 10px; border: 2px solid var(--ink); border-radius: 12px; background: white !important; font-size: 1rem; }
.distance-value strong { font-size: 1.6rem !important; }
#drinkSection { margin-top: 25px; background: #eaf6fc; }
#drinkSection p, #drinkList { font-size: .95rem; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, label, input[type="range"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .brand:focus-visible {
  outline: 3px solid rgba(32, 96, 151, 0.45);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.page-shell { width: 100%; overflow: hidden; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--yellow); color: var(--ink); transform: rotate(-3deg); }
.brand-mark svg { width: 29px; height: 29px; }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: .04em; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .72rem; letter-spacing: .03em; }
.icon-button { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; border: 0; background: transparent; cursor: pointer; font-size: .88rem; font-weight: 800; }
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

main { padding-bottom: 44px; }
.hero { position: relative; max-width: 1080px; min-height: 440px; margin: 0 auto; padding: 62px 22px 240px; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 8px -36% 32px -20%; border-radius: 0 0 46% 18%; background: var(--yellow); transform: rotate(-1.5deg); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.eyebrow span { width: 27px; height: 4px; border-radius: 999px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(2.65rem, 13vw, 4.5rem); line-height: .99; letter-spacing: -.06em; }
h1 em { position: relative; color: var(--ink); font-style: normal; }
h1 em::after { content: ""; position: absolute; z-index: -1; right: -4px; bottom: -5px; left: -4px; height: 15px; border-radius: 50%; background: var(--white); transform: rotate(-2deg); }
.hero-copy > p { max-width: 470px; margin: 0; color: #3b4651; font-size: 1.02rem; font-weight: 650; }
.hero-art { position: absolute; right: 25px; bottom: 64px; width: 208px; height: 190px; }
.sun-shape { position: absolute; width: 150px; height: 150px; right: -72px; top: -12px; border: 20px solid rgba(255,255,255,.46); border-radius: 50%; }
.lunch-bag { position: absolute; right: 12px; bottom: 0; width: 150px; height: 138px; padding: 45px 18px 10px; border: 3px solid var(--ink); border-radius: 11px 11px 26px 26px; background: var(--coral); box-shadow: 9px 10px 0 rgba(22,38,61,.9); transform: rotate(4deg); }
.bag-handle { position: absolute; width: 70px; height: 40px; top: -25px; left: 37px; border: 7px solid var(--ink); border-bottom: 0; border-radius: 36px 36px 0 0; }
.bag-face { display: block; margin-bottom: 7px; font-weight: 900; font-size: 1.45rem; letter-spacing: .12em; }
.bag-note { display: block; border-top: 2px dashed rgba(22,38,61,.45); padding-top: 7px; font-size: .78rem; font-weight: 900; line-height: 1.2; }
.spark { position: absolute; font-size: 1.9rem; color: white; animation: twinkle 2.8s ease-in-out infinite; }
.spark-one { top: 10px; left: 3px; }
.spark-two { bottom: 14px; left: 16px; animation-delay: .8s; }
@keyframes twinkle { 0%,100% { opacity: .5; transform: rotate(-8deg) scale(.82); } 50% { opacity: 1; transform: rotate(8deg) scale(1.08); } }

.demo-notice { display: flex; align-items: flex-start; gap: 12px; width: calc(100% - 36px); max-width: 740px; margin: -9px auto 48px; padding: 15px 17px; border: 1px solid #bed7e5; border-radius: 17px; background: #eaf6fc; box-shadow: 0 8px 22px rgba(22,38,61,.05); }
.notice-icon { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; margin-top: 2px; border-radius: 50%; background: var(--ink); color: white; font-size: .78rem; font-weight: 900; }
.demo-notice p { margin: 0; color: #42576a; font-size: .84rem; line-height: 1.45; }
.demo-notice strong { color: var(--ink); }

.chooser, .result-section, .empty-state { width: calc(100% - 36px); max-width: 740px; margin-right: auto; margin-left: auto; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.section-kicker { display: block; margin-bottom: 4px; color: #6c7782; font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.section-heading h2 h2, .empty-state h2 { margin-bottom: 0; font-size: 1.65rem; line-height: 1.16; letter-spacing: -.04em; }
.question-count { display: grid; min-width: 52px; height: 31px; place-items: center; border: 2px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 900; box-shadow: 3px 3px 0 var(--yellow); }

#lunchForm { display: grid; gap: 15px; }
.question-card { min-width: 0; margin: 0; padding: 20px 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 18px rgba(22,38,61,.045); }
.question-card legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 17px; }
.question-number { display: grid; flex: 0 0 auto; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--ink); color: white; font-size: .74rem; font-weight: 900; transform: rotate(-2deg); }
.question-card legend strong { display: block; font-size: 1.04rem; }
.question-card legend small { display: block; color: #75808a; font-size: .75rem; font-weight: 600; }
.option-grid { display: grid; gap: 9px; }
.hunger-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.weather-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-surface { display: flex; min-height: 120px; flex-direction: column; align-items: center; justify-content: center; padding: 11px 7px; border: 1.5px solid var(--line); border-radius: 17px; background: #fbfcfa; text-align: center; transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.choice-surface:hover { border-color: #99a5ac; transform: translateY(-2px); }
.choice input:checked + .choice-surface { border-color: var(--ink); background: #fff9da; box-shadow: 4px 5px 0 var(--ink); transform: translate(-2px,-2px); }
.choice input:focus-visible + .choice-surface { outline: 3px solid rgba(32,96,151,.35); outline-offset: 2px; }
.choice-emoji { display: block; margin-bottom: 6px; font-size: 1.85rem; filter: saturate(.88); }
.choice strong { display: block; font-size: .84rem; line-height: 1.25; }
.choice small { display: block; margin-top: 3px; color: #7a858d; font-size: .68rem; }
.choice.compact .choice-surface { min-height: 88px; flex-direction: row; gap: 9px; padding: 10px; }
.choice.compact .choice-emoji { margin: 0; font-size: 1.65rem; }
.choice.compact strong { font-size: .8rem; }

.distance-control { padding: 2px 4px 0; }
.distance-value { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.distance-value strong { font-size: 2.45rem; line-height: 1; letter-spacing: -.06em; }
.distance-value span { font-weight: 800; }
#distance { width: 100%; height: 34px; margin: 4px 0 0; appearance: none; background: transparent; cursor: pointer; }
#distance::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--coral)); }
#distance::-webkit-slider-thumb { width: 25px; height: 25px; margin-top: -8px; appearance: none; border: 3px solid var(--ink); border-radius: 50%; background: white; box-shadow: 2px 3px 0 var(--ink); }
#distance::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--coral)); }
#distance::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid var(--ink); border-radius: 50%; background: white; box-shadow: 2px 3px 0 var(--ink); }
.range-labels { display: flex; justify-content: space-between; margin-top: -1px; color: #7c858d; font-size: .7rem; font-weight: 800; }
#distanceHint { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #f0f3f1; color: #64707b; font-size: .76rem; text-align: center; }
#distanceHint strong { color: var(--ink); }

.primary-button, .secondary-button, .small-primary, .reset-button, .text-button, .footer-link { border: 0; cursor: pointer; }
.primary-button { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: center; gap: 18px; border: 2px solid var(--ink); border-radius: 18px; background: var(--ink); color: white; font-weight: 900; letter-spacing: .03em; box-shadow: 5px 6px 0 var(--yellow); transition: transform .16s ease, box-shadow .16s ease; }
.primary-button:hover { transform: translate(-1px,-2px); box-shadow: 7px 8px 0 var(--yellow); }
.primary-button:active { transform: translate(2px,2px); box-shadow: 2px 3px 0 var(--yellow); }
.button-dots { display: flex; gap: 4px; }
.button-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.button-dots i:nth-child(2) { opacity: .65; }
.button-dots i:nth-child(3) { opacity: .35; }

.result-section, .empty-state { margin-top: 64px; padding-top: 5px; scroll-margin-top: 18px; }
.result-heading { align-items: center; }
.tiny-stamp { display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); font-size: .62rem; font-weight: 900; line-height: 1.15; text-align: center; transform: rotate(8deg); }
.restaurant-card { position: relative; overflow: hidden; padding: 20px; border: 2px solid var(--ink); border-radius: 28px; background: white; box-shadow: 9px 10px 0 var(--ink); transform-origin: center top; }
.restaurant-card::before { content: ""; position: absolute; top: -54px; right: -50px; width: 170px; height: 170px; border-radius: 50%; background: #fff1a7; }
.restaurant-card.revealing { animation: revealCard .66s cubic-bezier(.19,.9,.32,1); }
@keyframes revealCard { 0% { opacity: 0; transform: translateY(18px) rotateX(22deg) scale(.94); } 65% { opacity: 1; transform: translateY(-4px) rotateX(0) scale(1.015); } 100% { transform: translateY(0) scale(1); } }
.card-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.demo-badge, .match-badge { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 900; letter-spacing: .03em; }
.demo-badge { background: #e9f6fc; color: #32647c; }
.match-badge { background: var(--mint); }
.restaurant-icon { position: relative; z-index: 1; display: grid; width: 82px; height: 82px; place-items: center; margin: 21px auto 12px; border: 2px solid var(--ink); border-radius: 24px; background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); font-size: 2.9rem; transform: rotate(-3deg); }
.restaurant-type { margin: 0 0 3px; color: var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.restaurant-card h3 { margin: 0; font-size: 2rem; line-height: 1.18; letter-spacing: -.05em; text-align: center; }
.recommendation-reason { max-width: 480px; margin: 14px auto 20px; color: #596775; font-size: .92rem; font-weight: 650; text-align: center; }
.restaurant-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.restaurant-meta div { padding: 12px; border-radius: 14px; background: #f2f4f1; text-align: center; }
.restaurant-meta span { display: block; margin-bottom: 2px; color: #77818b; font-size: .67rem; }
.restaurant-meta strong { display: block; font-size: .84rem; }
.restaurant-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.restaurant-tags span { padding: 4px 9px; border: 1px solid #cfd5d8; border-radius: 999px; color: #56636d; font-size: .68rem; font-weight: 750; }
.result-actions { display: grid; gap: 11px; margin-top: 24px; }
.decide-button { background: var(--coral); color: var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.decide-button:hover { box-shadow: 7px 8px 0 var(--ink); }
.decide-button.is-decided { background: var(--mint); }
.secondary-button { width: 100%; min-height: 52px; border: 2px solid var(--ink); border-radius: 17px; background: white; font-weight: 900; transition: background .15s ease, transform .15s ease; }
.secondary-button:hover { background: #f1f3ef; transform: translateY(-1px); }
.secondary-button span { color: #6f7b84; font-size: .76rem; }
.text-button { display: block; margin: 18px auto 0; padding: 7px 10px; background: transparent; color: #66727d; font-size: .8rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.empty-state { padding: 32px 20px 28px; border: 2px dashed #adb5ba; border-radius: 28px; background: white; text-align: center; }
.empty-illustration { display: grid; width: 82px; height: 82px; place-items: center; margin: 0 auto 15px; border-radius: 25px; background: #eef0ed; font-size: 2.8rem; transform: rotate(5deg); }
.empty-state > p { max-width: 490px; margin: 12px auto 18px; color: #64707a; font-size: .9rem; }
.suggestion-list { display: grid; gap: 8px; margin-bottom: 20px; text-align: left; }
.suggestion-list div { padding: 10px 12px; border-radius: 12px; background: #fff8d7; font-size: .8rem; font-weight: 750; }


footer { padding: 40px 20px calc(34px + env(safe-area-inset-bottom)); background: #0f1d2d; color: white; text-align: center; }
.footer-brand { font-size: 1.1rem; font-weight: 900; letter-spacing: .05em; }
.footer-brand span { color: var(--yellow); font-size: .65rem; }
footer p { margin: 8px 0 15px; color: #9cacba; font-size: .8rem; }
.footer-link { padding: 6px 10px; background: transparent; color: #cfdae3; font-size: .78rem; text-decoration: underline; text-underline-offset: 4px; }

dialog { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--ink); }
dialog::backdrop { background: rgba(10,22,36,.68); backdrop-filter: blur(4px); }
.manager-dialog { width: 100%; height: 100%; margin: 0; }
.dialog-shell { position: absolute; right: 0; bottom: 0; left: 0; display: flex; max-height: 92%; flex-direction: column; border-radius: 28px 28px 0 0; background: var(--paper); box-shadow: 0 -15px 45px rgba(0,0,0,.22); animation: sheetUp .28s ease-out; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 15px; border-bottom: 1px solid var(--line); background: white; }
.dialog-header h2 { margin: 0; font-size: 1.55rem; line-height: 1.1; }
.close-button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: #edf0ed; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.dialog-body { overflow-y: auto; padding: 17px 18px 28px; }
.manager-notice { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #eaf6fc; }
.manager-notice span { flex: 0 0 auto; padding: 4px 8px; border-radius: 99px; background: #cce9f7; font-size: .67rem; font-weight: 900; }
.manager-notice p { margin: 0; color: #4e6474; font-size: .74rem; }
.manager-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 21px 0 12px; }
.manager-toolbar p { margin: 0; font-size: .83rem; }
.small-primary { min-height: 42px; padding: 0 14px; border-radius: 13px; background: var(--ink); color: white; font-size: .78rem; font-weight: 900; }
.restaurant-list { display: grid; gap: 10px; }
.manager-item { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.manager-item-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #fff4be; font-size: 1.55rem; }
.manager-item h3 { margin: 0 0 2px; font-size: .9rem; }
.manager-item p { margin: 0; color: #73808b; font-size: .69rem; }
.manager-item-actions { display: flex; gap: 3px; }
.manager-item-actions button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 11px; background: #edf0ed; cursor: pointer; font-size: .72rem; font-weight: 850; }
.manager-item-actions .delete { color: #a52e2e; }
.reset-button { display: block; margin: 24px auto 0; padding: 8px; background: transparent; color: #9b3d38; font-size: .77rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.editor-dialog { width: calc(100% - 24px); max-width: 560px; margin: auto; }
.editor-shell { overflow: hidden; max-height: 92vh; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.editor-header { padding: 19px; }
.editor-body { overflow-y: auto; max-height: calc(92vh - 166px); padding: 18px; }
.field { display: block; margin-bottom: 15px; }
.field > span, .checkbox-field legend { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #cbd2d6; border-radius: 12px; background: white; color: var(--ink); font-size: .88rem; }
.field select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%); background-position: calc(100% - 18px) 19px,calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 82px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-field { min-width: 0; margin: 0 0 15px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.checkbox-field legend { padding: 0 5px; }
.checkbox-field > div { display: flex; flex-wrap: wrap; gap: 8px 13px; }
.checkbox-field label { font-size: .75rem; font-weight: 650; }
.checkbox-field input { accent-color: var(--ink); }
.editor-actions { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10px; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: white; }
.editor-actions .primary-button { min-height: 50px; box-shadow: none; }

.toast { position: fixed; z-index: 20; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom)); left: 18px; max-width: 470px; margin: 0 auto; padding: 13px 16px; border-radius: 14px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: .82rem; font-weight: 800; text-align: center; opacity: 0; pointer-events: none; transform: translateY(18px); transition: .22s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.confetti-layer { position: fixed; z-index: 18; inset: 0; overflow: hidden; pointer-events: none; }
.confetti { position: absolute; top: -20px; width: 10px; height: 18px; border-radius: 2px; animation: confettiFall 1.8s ease-in forwards; }
@keyframes confettiFall { to { transform: translate3d(var(--drift), 105vh, 0) rotate(760deg); opacity: .1; } }

@media (min-width: 720px) {
  .topbar { padding: 24px 32px 18px; }
  .hero { display: grid; min-height: 490px; grid-template-columns: 1.25fr .75fr; align-items: center; padding: 80px 42px 100px; }
  .hero::before { inset: 10px -8% 28px -8%; border-radius: 45px 45px 90px 90px; transform: rotate(-1deg); }
  .hero-copy { padding-right: 30px; }
  .hero-art { position: relative; right: auto; bottom: auto; width: 260px; height: 230px; justify-self: end; }
  .lunch-bag { width: 175px; height: 160px; right: 25px; }
  .demo-notice { margin-top: -4px; }
  .question-card { padding: 24px; }
  .choice-surface { min-height: 132px; }
  .choice strong { font-size: .92rem; }
  .choice.compact .choice-surface { min-height: 96px; }
  .result-actions { grid-template-columns: 1.2fr .8fr; }
  .dialog-shell { top: 0; right: 0; bottom: 0; left: auto; width: min(520px, 92%); max-height: none; border-radius: 28px 0 0 28px; }
  @keyframes sheetUp { from { transform: translateX(40px); opacity: 0; } }
}

@media (max-width: 375px) {
  .topbar { padding-right: 15px; padding-left: 15px; }
  .icon-button span { display: none; }
  .hero { padding-right: 18px; padding-left: 18px; }
  .chooser, .result-section, .empty-state { width: calc(100% - 28px); }
  .hunger-grid { gap: 6px; }
  .choice-surface { padding-right: 4px; padding-left: 4px; }
  .choice strong { font-size: .77rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep task-related labels comfortably readable on narrow screens. */
.brand small, .eyebrow, .section-kicker, .question-count,
.question-card legend small, .choice small, .choice.compact strong,
.range-labels, #distanceHint, .demo-badge, .match-badge,
.restaurant-type, .restaurant-meta span, .restaurant-tags span,
.manager-notice span, .manager-notice p, .manager-item p,
.manager-item-actions button, .checkbox-field label, .field > span,
.checkbox-field legend { font-size: .875rem; }
.manager-item { grid-template-columns: 42px minmax(0,1fr) auto; gap: 8px; }
.manager-item h3 { overflow-wrap: anywhere; }
.choice.compact .choice-surface { gap: 6px; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.directory-filters { display: grid; gap: 12px; }
.directory-filters input, .directory-filters select { width: 100%; min-height: 44px; font-size: 1rem; }
.directory-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; overflow-wrap: anywhere; }
.directory-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.directory-card p { margin-bottom: 10px; font-size: 1rem; line-height: 1.6; }
.directory-card .directory-category { font-size: .875rem; color: var(--ink-soft); }
.directory-card .directory-price { font-weight: 700; }
.directory-card .verified-facts { margin-top: 12px; }
.directory-empty { padding: 24px 12px; text-align: center; }
@media (max-width: 440px) {
  .topbar { flex-wrap: wrap; gap: 12px; }
  .header-actions { width: 100%; justify-content: flex-end; }
}
