:root {
  --bg: #f4f6f9; --card: #ffffff; --card2: #f0f3f7;
  --text: #17202e; --muted: #5c6675;
  --accent: #1a7f37; --accent-dark: #14622b; --accent2: #b7791f;
  --star: #d97706; --border: #dde3ec;
  --shadow: 0 1px 3px rgba(16,24,40,.07); --shadow-lg: 0 4px 14px rgba(16,24,40,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
.site-header { background: linear-gradient(180deg, #edf7ef 0%, #f4f6f9 100%); border-bottom: 1px solid var(--border); padding-bottom: 44px; }
.header-inner { max-width: 960px; margin: 0 auto; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.hero { max-width: 760px; margin: 34px auto 0; padding: 0 20px; text-align: center; }
.hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.hero-steps { font-size: 16px; color: var(--muted); margin-bottom: 26px; }
#find-form { text-align: left; max-width: 680px; margin: 0 auto; }
.q-row { display: flex; gap: 14px; margin-bottom: 14px; }
.q { flex: 1; display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); position: relative; }
.q-num { position: absolute; top: -9px; left: 12px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.q-text { font-size: 13px; font-weight: 650; color: var(--text); }
.q input, .q select { border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; font-size: 15px; color: var(--text); background: #fff; outline: none; width: 100%; }
.q input:focus, .q select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,127,55,.14); }
.price-pair { display: flex; align-items: center; gap: 8px; }
.price-pair select { flex: 1; }
.price-pair .dash { color: var(--muted); font-size: 13px; }
.q-wide { flex: 1; }
#find-btn { display: block; width: 100%; margin-top: 6px; padding: 14px; font-size: 17px; font-weight: 700; background: var(--accent); color: #fff; border: none; border-radius: 10px; cursor: pointer; transition: background .15s; }
#find-btn:hover { background: var(--accent-dark); }
.status { margin-top: 14px; font-size: 13px; color: var(--muted); min-height: 18px; }
.status .err { color: #b42318; }
main { max-width: 860px; margin: 32px auto 60px; padding: 0 20px; }
.hidden { display: none !important; }
h2 { margin-bottom: 6px; font-size: 20px; letter-spacing: -.01em; }
.cert-note { font-size: 13px; color: var(--accent2); background: #fdf6e8; border: 1px solid #f0dfae; border-radius: 8px; padding: 8px 12px; margin: 10px 0 18px; }
.rest-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.rest-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.rest-rank { font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 2px; }
.rest-name { font-size: 17px; font-weight: 750; }
.rest-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.rest-score { text-align: right; white-space: nowrap; }
.stars { color: var(--star); font-size: 15px; letter-spacing: 1px; }
.rating-num { font-weight: 750; font-size: 15px; }
.rev-count { font-size: 12px; color: var(--muted); }
.price-level { color: var(--accent); font-weight: 700; font-size: 13px; }
.rest-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 13.5px; }
.rest-contact a { color: var(--accent); text-decoration: none; font-weight: 600; }
.rest-contact a:hover { text-decoration: underline; }
.hours-toggle { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; padding: 6px 0 0; font-weight: 600; }
.hours-list { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.reviews { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 10px; }
.review { margin-bottom: 10px; font-size: 13.5px; }
.review .r-head { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.review .r-head b { color: var(--text); }
.review.pinned { background: #eefaf1; border: 1px solid #bfe6cb; border-radius: 8px; padding: 8px 10px; }
.pinned-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 1px; }
.attribution { font-size: 12px; color: var(--muted); margin-top: 18px; }
footer { background: #0f1722; color: #93a0b4; font-size: 13px; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 28px 20px 34px; }
.footer-logo { color: #e7edf6; font-size: 16px; margin-bottom: 10px; }
@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .q-row { flex-direction: column; gap: 12px; }
  .rest-top { flex-direction: column; }
  .rest-score { text-align: left; }
}
