/* Gulf Coast Bites "Coastal Modern" — Deep Gulf, Coral, Sand, Sunset, Charcoal */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url(/static/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url(/static/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url(/static/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url(/static/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); }

:root {
  --gulf: #103D40; --gulf-2: #17565a; --coral: #E47A54; --coral-dark: #c9603b;
  --sand: #F5EDE0; --sand-2: #ebe0cf; --sunset: #EABF85; --charcoal: #232C2B;
  --ink: #232C2B; --muted: #66716f; --line: #e6dccb; --card: #fff;
  --ok: #2f7d57; --bad: #b6442a;
  --radius: 18px; --radius-sm: 12px; --shadow: 0 8px 30px rgba(16, 61, 64, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.5 "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h2 { font-size: 26px; font-weight: 800; color: var(--gulf); }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
a { color: var(--gulf); }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { max-width: 760px; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }
.error { color: var(--bad); font-size: 14px; min-height: 1em; }
.link { font-weight: 700; text-decoration: none; }

/* ---------- buttons & inputs ---------- */
.btn { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .08s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-block { width: 100%; padding: 15px 20px; font-size: 17px; }
.btn-coral { background: var(--coral); color: var(--charcoal); }
.btn-coral:hover { background: #ea8963; }
.btn-deep { background: var(--gulf); color: #fff; }
.btn-deep:hover { background: var(--gulf-2); }
.btn-sunset { background: var(--sunset); color: var(--charcoal); }
.btn-light { background: #fff; color: var(--gulf); }
.btn-outline { background: transparent; color: var(--gulf); box-shadow: inset 0 0 0 1.5px var(--gulf); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.input, select, textarea { font: inherit; color: var(--ink); padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; min-width: 0; }
textarea { border-radius: var(--radius-sm); width: 100%; margin-top: 6px; resize: vertical; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23232C2B' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; width: 100%; }
.input:focus, select:focus, textarea:focus, .btn:focus-visible, .pill:focus-visible { outline: 3px solid rgba(228, 122, 84, .45); outline-offset: 1px; }
.field { display: grid; gap: 8px; font-weight: 600; font-size: 15px; color: var(--charcoal); }
.field.inline { display: flex; align-items: center; gap: 10px; }
.field.inline input { width: 7em; }

/* ---------- nav ---------- */
.nav { background: var(--gulf); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.wordmark { font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: #fff; }
.wordmark span { color: var(--sunset); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; white-space: nowrap; }
.nav-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.region-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #fff; opacity: .9; }
.region-pill svg { color: var(--sunset); }

/* ---------- hero & finder ---------- */
.hero { background: radial-gradient(1200px 400px at 50% -10%, #1d5a5e 0%, var(--gulf) 60%); color: #fff; padding: 56px 0 0; }
.hero-inner { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--sunset); margin-bottom: 14px; }
.eyebrow.dark { color: var(--coral-dark); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.hero-accent { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--sunset); margin-top: 10px; }
.hero-sub { color: rgba(255,255,255,.85); margin: 12px auto 0; max-width: 560px; font-size: 17px; }
.finder { text-align: left; max-width: 760px; margin: 36px auto -90px; position: relative; z-index: 2; display: grid; gap: 18px; }
.finder h2 { font-size: 22px; }
.finder-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: -6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 0; background: var(--sand); color: var(--gulf); cursor: pointer; user-select: none; }
.pill:hover { background: var(--sand-2); }
.pill.on { background: var(--gulf); color: #fff; }
.pill.avoid { background: var(--bad); color: #fff; text-decoration: line-through; }
.radios { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.radios input { accent-color: var(--gulf); width: 18px; height: 18px; }

/* ---------- sand sections ---------- */
.sand { background: var(--sand); }
#view-home .sand > .wrap { padding: 130px 0 40px; }
.page { padding: 36px 0 56px; min-height: 70vh; }
.block { margin-bottom: 48px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sub-head { margin: 28px 0 14px; color: var(--gulf); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.banner { margin-top: 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 1.5px dashed var(--sunset); border-radius: var(--radius); padding: 18px 22px; }

/* ---------- dish cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.dish { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.dish:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(16,61,64,.16); }
.dish-art { height: 120px; display: grid; place-items: center; font-size: 54px; position: relative; }
.dish-art.no-photo { height: 48px; }  /* no dish emoji: a slim color band for badges and price */
.dish-art .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.dish-art .price { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--charcoal); font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.art-sea { background: linear-gradient(135deg, #1d5a5e, #103D40); }
.art-sun { background: linear-gradient(135deg, #f1d3a6, #EABF85); }
.art-coral { background: linear-gradient(135deg, #f0a283, #E47A54); }
.art-sand { background: linear-gradient(135deg, #f7efe3, #ebe0cf); }
.art-green { background: linear-gradient(135deg, #cfe5d5, #9fcbb0); }
.dish-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-body h3 { font-size: 18px; }
.where { font-size: 14px; color: var(--muted); }
.where a { font-weight: 700; text-decoration: none; }
.why { font-size: 14px; color: var(--gulf); background: #edf4f3; border-radius: 10px; padding: 7px 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 600; background: var(--sand); color: var(--muted); border-radius: 999px; padding: 2px 10px; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .02em; border-radius: 999px; padding: 3px 9px; background: #fff3d9; color: #7a5b00; }
.badge.owner { background: #dff3e6; color: #1f6b3d; }
.badge.menu { background: #e3eff0; color: var(--gulf); }
.actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.act { font: inherit; font-size: 14px; font-weight: 700; border: 0; background: var(--sand); color: var(--gulf); border-radius: 999px; padding: 8px 13px; cursor: pointer; }
.act:hover { background: var(--sand-2); }
.act.on { background: var(--gulf); color: #fff; }
.act.ate { margin-left: auto; background: var(--coral); color: var(--charcoal); }
.rate { display: grid; gap: 10px; background: var(--sand); border-radius: var(--radius-sm); padding: 12px; }
.stars { display: flex; gap: 4px; }
.stars button { font-size: 26px; line-height: 1; border: 0; background: none; cursor: pointer; color: #cdbfa8; padding: 0 2px; }
.stars button.on { color: #e0a43c; }
.rate textarea { margin: 0; }
.dish.done { opacity: .55; }
.empty { background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); }

/* ---------- craving tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }  /* 9 cravings: 3 by 3, or one row when wide */
.tile { border: 0; cursor: pointer; border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; align-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 17px; color: var(--charcoal); box-shadow: var(--shadow); transition: transform .15s ease; }
.tile span { font-size: 52px; }
.tile:hover { transform: translateY(-3px); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(9, 1fr); gap: 12px; } .tile span { font-size: 38px; } .tile { font-size: 14px; gap: 6px; } }
.tile.art-sea { color: #fff; }

/* ---------- spots ---------- */
.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 14px; }
.spot { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; text-decoration: none; color: var(--ink); display: grid; gap: 4px; }
.spot b { font-size: 16px; color: var(--gulf); }
.spot:hover { box-shadow: 0 12px 34px rgba(16,61,64,.16); }

/* ---------- how it works & owner CTA ---------- */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--sunset); color: var(--charcoal); font-weight: 800; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: 15px; }
.owner-cta { background: var(--coral); border-radius: var(--radius); padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.owner-cta h2 { color: var(--charcoal); }
.owner-cta p { margin-top: 6px; color: var(--charcoal); }

/* ---------- prefs, my bites, restaurant ---------- */
.group { margin: 16px 0; }
.group h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.profile-card { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.add-card { margin-top: 28px; display: grid; gap: 10px; }
.add-card .input { flex: 1 1 180px; }
.place-head { background: var(--gulf); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; }
.place-head h2 { color: #fff; font-size: 32px; }
.place-head a { color: var(--sunset); }
.google { background: #fff; color: var(--ink); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 4px; font-size: 15px; margin-top: 8px; }
.attribution { font-size: 12px; color: #5f6368; }
.menu-list { display: grid; gap: 12px; }
.menu-row { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 6px; }
.menu-row.done { opacity: .5; }
.review-q { background: #fff; border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); }

/* ---------- footer, dialogs, toast ---------- */
.footer { background: var(--charcoal); color: #cfd6d4; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.slogan { color: var(--sunset); font-weight: 700; margin-top: 6px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; align-items: center; }
.footer-links a { color: #fff; }
.modal { border: 0; border-radius: var(--radius); padding: 26px; width: min(440px, 100% - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(16, 61, 64, .55); }
.modal h2 { font-size: 22px; margin-bottom: 8px; }
.modal p { margin-bottom: 10px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.x { border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); line-height: 1; }
.tabs { display: flex; background: var(--sand); border-radius: 999px; padding: 4px; }
.tab { flex: 1; font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 8px; background: transparent; color: var(--gulf); cursor: pointer; }
.tab.active { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--gulf); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; background: var(--charcoal); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: transform .25s ease, opacity .25s ease, visibility .25s; z-index: 50; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.block, .view { scroll-margin-top: 84px; }

/* ---------- mobile-first adjustments ---------- */
@media (max-width: 720px) {
  .nav-inner { height: 58px; }
  .wordmark { font-size: 21px; }
  .region-pill, .nav-link[href="#places"], .nav-link.not-owner[href="/biz"] { display: none; }  /* footer + home CTA still link /biz */
  .nav-links { gap: 10px; }
  .hero { padding-top: 34px; }
  .hero-sub { font-size: 15px; }
  .finder { padding: 20px; margin-top: 26px; }
  .card { padding: 20px; }
  #view-home .sand > .wrap { padding-top: 115px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tile { font-size: 14px; }
  .tile span { font-size: 38px; }
  h2 { font-size: 22px; }
  .owner-cta { padding: 22px; }
}

/* ---------- sponsored (paid) placements: always labelled, visually distinct but calm ---------- */
.badge.ad { background: var(--charcoal); color: var(--sunset); }
.dish.sponsored { outline: 2px solid var(--sunset); outline-offset: -2px; }
.why.ad-copy { background: #fbf3e6; color: var(--charcoal); }
.spot.sponsored { outline: 2px solid var(--sunset); outline-offset: -2px; }
.spot .ad-copy { font-size: 14px; color: var(--charcoal); }
.tile .presented { font-size: 11px; font-weight: 700; opacity: .85; max-width: 90%; text-align: center; line-height: 1.25; }
.tile .presented:empty { display: none; }

/* ---------- owner advertising ---------- */
.hint { font-size: 13px; font-weight: 500; color: var(--muted, #5d6b69); }
.small { font-size: 13px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.field { position: relative; }
.field .count { position: absolute; right: 2px; top: 2px; font-size: 12px; font-weight: 500; color: var(--muted, #5d6b69); }
.field textarea { border-radius: 16px; resize: vertical; }
.ads-hero { max-width: 720px; margin-bottom: 22px; }
.ads-hero h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 6px 0 8px; }
.ad-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ad-product { display: grid; gap: 6px; align-content: start; padding: 22px; }
.ad-product h3 { color: var(--gulf); }
.ad-price { font-size: 30px; font-weight: 800; color: var(--charcoal); }
.ad-price span { font-size: 15px; font-weight: 600; color: var(--muted, #5d6b69); }
.ads-gate { margin-top: 22px; display: grid; gap: 10px; justify-items: start; }
.ads-section { margin-top: 36px; }
.ad-builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
#ad-form { gap: 18px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--gulf); background: #edf4f3; }
.choice input { accent-color: var(--gulf); width: 18px; height: 18px; }
.ad-side { position: sticky; top: 88px; display: grid; gap: 14px; padding: 22px; }
.ad-preview { pointer-events: none; }  /* a picture of the ad, not a working card */
.ad-preview .dish { max-width: 380px; margin: 0 auto; }
.ad-preview .spots { margin-top: 0; grid-template-columns: 1fr; }
.tiles.one { grid-template-columns: minmax(0, 190px); justify-content: center; margin-bottom: 8px; }
.ad-quote { border-top: 1.5px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.quote-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.quote-row b { font-size: 20px; color: var(--charcoal); }
.my-ads { display: grid; gap: 12px; }
.ad-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; padding: 20px 22px; }
.ad-row h3 { margin: 6px 0 2px; }
.ad-row-stats { display: flex; gap: 18px; font-size: 14px; color: var(--muted, #5d6b69); }
.ad-row-stats b { display: block; font-size: 20px; color: var(--charcoal); }
.ad-row-actions { grid-column: 1 / -1; align-items: center; }
.ad-row-actions .link { margin-left: auto; }
.status { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; background: var(--sand); color: var(--charcoal); }
.status.st-live { background: #dff3e6; color: #1f6b3d; }
.status.st-live::before { content: "● "; }
.status.st-approved { background: #fff3d9; color: #7a5b00; }
.status.st-active { background: #e3eff0; color: var(--gulf); }
.status.st-rejected, .status.st-refunded, .status.st-removed { background: #fbe3dc; color: #9a3412; }
.ad-head { margin-top: 14px; }
.ad-head p { color: rgba(255,255,255,.85); }
.ad-head .status { justify-self: start; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0 8px; }
.stat { padding: 16px 18px; display: grid; gap: 4px; }
.stat b { font-size: 28px; color: var(--gulf); }
.table-card { padding: 8px 18px 14px; overflow-x: auto; }
table.daily { width: 100%; border-collapse: collapse; font-size: 15px; }
table.daily th { text-align: left; font-size: 13px; color: var(--muted, #5d6b69); font-weight: 700; padding: 10px 8px; border-bottom: 1.5px solid var(--line); }
table.daily td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
  .ad-builder { grid-template-columns: 1fr; }
  .ad-side { position: static; }
  .ad-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-link { font-size: 14px; }
  .nav-links { gap: 12px; }
  #nav-signout { display: none; }  /* signed-in phones: Sign out lives on My Bites */
}
@media (max-width: 360px) {
  .wordmark { font-size: 18px; }
  .brand img { width: 26px; height: 26px; }
  .nav-links { gap: 10px; }
  .nav-link { font-size: 13px; }
}

/* ---------- admin screen ---------- */
.admin-nav { background: var(--charcoal); }
.admin-tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--charcoal); background: var(--sunset); border-radius: 6px; padding: 2px 7px; margin-left: 4px; }
.admin-gate { margin: 40px auto; display: grid; gap: 12px; }
.admin-gate .input { flex: 1; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1.5px solid var(--line); margin-bottom: 10px; }
.admin-tab { font: inherit; font-weight: 700; font-size: 15px; color: var(--muted); background: none; border: 0; padding: 10px 14px; border-bottom: 3px solid transparent; margin-bottom: -1.5px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.admin-tab[aria-selected="true"] { color: var(--gulf); border-bottom-color: var(--coral); }
.count-pill { background: var(--coral); color: #fff; font-size: 12px; border-radius: 999px; padding: 1px 8px; }
.admin-list { display: grid; gap: 16px; margin-top: 14px; }
.admin-ad { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 26px; align-items: start; }
.admin-ad-preview { pointer-events: none; }
.admin-ad-preview .spots { margin-top: 0; grid-template-columns: 1fr; }
.admin-ad-info { display: grid; gap: 12px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.facts a { color: var(--gulf); font-weight: 700; }
.warn { background: #fff3d9; color: #6b4f00; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.reject-form { background: var(--sand); border-radius: 14px; padding: 14px; }
.reject-form .pill { background: #fff; font-size: 13px; }
details.remove summary { cursor: pointer; color: #9a3412; font-weight: 700; font-size: 14px; }
details.remove form { margin-top: 10px; }
.admin-claim { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.admin-claim h3 a { color: var(--gulf); }
@media (max-width: 860px) { .admin-ad { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .admin-nav .nav-link { display: none; }
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .admin-tab { white-space: nowrap; flex: none; padding: 10px 10px; }
  .admin .block-head { display: grid; gap: 4px; }
}

/* ---------- photos ---------- */
.dish-art.has-photo { height: 170px; background: var(--sand-2, #eadfcd); overflow: hidden; }
.dish-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-art .badges, .dish-art .price { z-index: 1; }
.spot-photo { width: calc(100% + 36px); margin: -16px -18px 8px; height: 120px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; max-width: none; }
.menu-row.with-photo { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; }
.menu-row.with-photo > :not(.menu-photo) { grid-column: 2; }
.menu-photo { grid-row: 1 / span 6; width: 112px; height: 112px; object-fit: cover; border-radius: 12px; }
.owner-tools { align-items: center; gap: 8px; }
.photo-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.photo-state.bad { color: #9a3412; }
img.mini { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.ad-photo-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 500; }
.ad-photo-box .link, .photo-state .link { background: none; padding: 0; color: var(--deep, #12403f); text-decoration: underline; border: 0; font: inherit; cursor: pointer; }
.ad-row-photo { float: left; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; margin: 0 14px 6px 0; }
.photo-drop { display: grid; place-items: center; min-height: 180px; border: 2px dashed var(--line); border-radius: 16px; cursor: pointer; text-align: center; padding: 10px; position: relative; overflow: hidden; background: var(--sand); }
.photo-drop:hover { border-color: var(--coral); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { max-height: 260px; max-width: 100%; border-radius: 10px; object-fit: contain; }
.photo-tips { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
@media (max-width: 720px) {
  .menu-row.with-photo { grid-template-columns: 84px minmax(0, 1fr); }
  .menu-photo { width: 84px; height: 84px; }
}

/* admin: menu photos */
.admin-photo { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-photo-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.admin-photo h3 { margin: 0 0 4px; }
@media (max-width: 720px) { .admin-photo { grid-template-columns: 1fr; } }

/* ---------- diner photos & gallery ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.photo-pick { display: grid; gap: 10px; justify-items: center; }
.photo-pick .btn { cursor: pointer; min-width: 220px; justify-content: center; }
.photo-drop { cursor: default; }
.link.center { justify-self: center; background: none; border: 0; font: inherit; color: var(--deep, #12403f); text-decoration: underline; cursor: pointer; }
.art-btn { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.art-btn:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.photo-count { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(18, 26, 26, .72); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
button.menu-photo { all: unset; grid-row: 1 / span 6; cursor: zoom-in; }
button.menu-photo img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; display: block; }
.photo-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.photo-links .link, .g-meta .link, .g-mine .link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--deep, #12403f); cursor: pointer; }
.g-meta .link { font-weight: 500; text-decoration: underline; font-size: 14px; color: var(--muted); }
.modal.gallery { width: min(760px, 96vw); }
.g-main { position: relative; margin: 0; background: #111; border-radius: 14px; overflow: hidden; }
.g-main img { width: 100%; max-height: 62vh; object-fit: contain; display: block; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 26px; line-height: 1; cursor: pointer; }
.g-nav.prev { left: 10px; } .g-nav.next { right: 10px; }
.g-meta { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.g-meta p { margin: 0; }
.g-caption { font-weight: 600; margin-bottom: 2px !important; }
.g-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.g-strip button { all: unset; cursor: pointer; flex: none; border-radius: 8px; outline: 3px solid transparent; }
.g-strip button.on { outline-color: var(--coral); }
.g-strip img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.g-report { background: var(--sand); padding: 14px; border-radius: 12px; }
.g-reasons { display: grid; gap: 6px; }
.g-mine { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.g-mine p { width: 100%; margin: 0; }
.admin-photo .reports ul { margin: 6px 0 0; padding-left: 18px; }
.photo-views { margin-bottom: 14px; }
.bad { color: #9a3412; }
@media (max-width: 720px) { button.menu-photo img { width: 84px; height: 84px; } }
.photo-pick[hidden], .photo-drop img[hidden] { display: none; }

/* ---------- restaurant photos ---------- */
.place-head.with-cover { padding-top: 0; overflow: hidden; }
.place-cover { all: unset; cursor: zoom-in; position: relative; display: block; margin: 0 -28px 12px; height: 240px; }
.place-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-photo-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.place-head .link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--sunset); cursor: pointer; }
@media (max-width: 720px) { .place-cover { height: 180px; } }

/* ---------- owner insights ---------- */
.ins-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ins-head h1 { margin: 4px 0; font-size: 34px; color: var(--gulf); }
.ins-head p { margin: 0; }
.ins-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ins-controls select { width: auto; }
.ins-quiet { margin-bottom: 14px; }
.ins-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 14px; }
.ins-tile { display: grid; gap: 4px; align-content: start; padding: 18px 20px; }
.ins-value { font-size: 32px; line-height: 1.1; color: var(--ink); font-weight: 800; }
.ins-tile .delta { color: var(--ink); font-weight: 600; }
#view-insights .card { margin-bottom: 14px; }
#view-insights h2 { font-size: 19px; margin: 0 0 10px; }
.ins-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ins-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ins-two .card { margin-bottom: 0 !important; }
.ins-two { margin-bottom: 14px; }
.cchart { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 6px; }
.cchart-y { position: relative; height: 200px; min-width: 28px; font-size: 12px; color: var(--muted); }
.cchart-y span { position: absolute; right: 0; transform: translateY(50%); line-height: 1; }
.cchart-plot { position: relative; }
.cchart-bars .grid { position: absolute; left: 0; right: 0; height: 1px; background: #ece6da; pointer-events: none; }
.cchart-bars { position: relative; height: 200px; display: grid; grid-template-columns: repeat(var(--n), 1fr); align-items: end; }
.cchart-bars .col { all: unset; position: relative; z-index: 1; height: 100%; display: flex; align-items: end; justify-content: center; cursor: pointer; padding: 0 1px; }
.cchart-bars .bar { display: block; width: min(24px, 100%); border-radius: 4px 4px 0 0; min-height: 0; }
.cchart-bars .col.hover .bar, .cchart-bars .col:focus-visible .bar { filter: brightness(.85); }
.cchart-bars .col:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.cchart-x { display: grid; grid-template-columns: repeat(var(--n, 1), 1fr); font-size: 12px; color: var(--muted); margin-top: 6px; white-space: nowrap; }
.cchart-x span { overflow: visible; text-align: center; }
.cchart-x span:first-child { text-align: left; } .cchart-x span:last-child { text-align: right; }
.cchart-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 2; }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 140px) 1fr; gap: 10px; align-items: center; font-size: 14px; }
.hbar-track { display: flex; align-items: center; gap: 8px; }
.hbar-fill { display: block; height: 16px; border-radius: 0 4px 4px 0; max-width: calc(100% - 60px); }
.hbar-track b { font-size: 14px; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.ins-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ins-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ins-table td { padding: 8px 10px; border-bottom: 1px solid #f1ebe0; }
.ins-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ins-dish { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.art-mini { display: grid; place-items: center; background: var(--sand); font-size: 22px; }
.ins-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 8px; }
.ins-photos button { all: unset; cursor: pointer; }
.ins-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.ins-cta { margin: 8px 0 12px; }
@media (max-width: 820px) { .ins-two { grid-template-columns: 1fr; } .ins-head h1 { font-size: 28px; } }
@media (max-width: 560px) { .ins-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .ins-tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; } .ins-tile { padding: 14px; } .ins-value { font-size: 24px; } .ins-tile .hint { display: none; } }

/* ---------- account email, emailed links ---------- */
.grow { flex: 1 1 220px; }
.row.center { justify-content: center; }
.ok-note { background: #e6f3ec; color: #1f5a3c; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; }
.account-card { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.4fr); gap: 10px 28px; align-items: start; margin-top: 18px; }
.account-card #email-remove { grid-column: 2; justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 720px) { .account-card { grid-template-columns: 1fr; } .account-card #email-remove { grid-column: 1; } }
.email-form .hint { margin-top: -4px; }
.email-form .error:empty { display: none; }
.email-state { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--charcoal); overflow-wrap: anywhere; }
.email-state .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #b9b2a6; }
.email-state.ok .dot { background: var(--ok); }
.email-state.waiting .dot, .email-state.changing .dot { background: var(--sunset); box-shadow: 0 0 0 3px rgba(234,191,133,.35); }
.link-card { text-align: center; display: grid; gap: 12px; max-width: 520px; margin: 20px auto; }
.link-card.stack { text-align: left; }
.big-check { width: 56px; height: 56px; border-radius: 50%; background: #dff3e6; color: var(--ok); font-size: 28px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 4px; }

/* ---------- For restaurants ---------- */
.fr-hero { background: radial-gradient(900px 360px at 85% -20%, #1d5a5e 0%, var(--gulf) 62%); color: #fff; border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.fr-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.03em; max-width: 14ch; }
.fr-lede { color: rgba(255,255,255,.86); margin: 14px 0 22px; max-width: 54ch; }
.fr-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fr-facts li { background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 14px 18px; display: flex; align-items: baseline; gap: 10px; }
.fr-facts b { font-size: 24px; color: var(--sunset); min-width: 3.6em; }
.fr-facts span { color: rgba(255,255,255,.85); font-size: 15px; }
.fr-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 22px 0; }
.fr-benefit { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 8px; align-content: start; }
.fr-benefit > span { font-size: 26px; }
.fr-benefit p { color: var(--muted); font-size: 15px; }
.fr-claims { margin-bottom: 22px; }
.fr-claims ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.fr-claims li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fr-claims a { text-decoration: none; }
.status-chip { margin-left: auto; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; background: #fff3d9; color: #7a5b00; }
.status-chip.approved { background: #dff3e6; color: #1f6b3d; }
.status-chip.rejected { background: #f8e1da; color: #8a3018; }
.fr-steps { scroll-margin-top: 84px; }
.fr-steps ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.fr-step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.fr-step:first-child { border-top: 0; padding-top: 4px; }
.fr-step .step-n { background: var(--sand-2); color: var(--gulf); }
.fr-step.active .step-n { background: var(--sunset); color: var(--charcoal); }
.fr-step.done .step-n { background: var(--ok); color: #fff; }
.fr-step-body { display: grid; gap: 10px; min-width: 0; }
.fr-step:not(.active):not(.done) .fr-step-body > h3 { color: var(--muted); }
.fr-step select { border-radius: 999px; }
.fr-results { display: grid; gap: 6px; }
.fr-results:empty { display: none; }
.fr-result { font: inherit; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; color: var(--ink); }
.fr-result:hover { border-color: var(--gulf); }
.fr-pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--sand); border-radius: var(--radius-sm); padding: 12px 16px; }
.fr-pick .link, .fr-claims .link { background: none; border: 0; font: inherit; font-weight: 700; color: var(--gulf); cursor: pointer; text-decoration: underline; }
.fr-add summary { cursor: pointer; font-weight: 700; color: var(--gulf); font-size: 15px; }
.fr-add form { margin-top: 12px; }
.fr-sent { background: #e6f3ec; color: #1f5a3c; border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; font-size: 15px; }
.fr-after { margin-top: 6px; }
.fr-faq { margin: 30px 0 0; display: grid; gap: 10px; }
.fr-faq h2 { margin-bottom: 6px; }
.fr-faq details { background: #fff; border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); }
.fr-faq summary { cursor: pointer; font-weight: 700; color: var(--gulf); }
.fr-faq details p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) {
  .fr-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .fr-facts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .fr-facts li { flex-direction: column; gap: 2px; padding: 10px 12px; }
  .fr-facts b { font-size: 20px; min-width: 0; }
  .fr-facts span { font-size: 13px; }
  .fr-step { grid-template-columns: 30px 1fr; gap: 12px; }
}
.auth-reason { background: var(--sand); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; color: var(--charcoal); margin: 0; }

/* ---------- claim with a code ---------- */
.ways { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.way { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.way:has(input:checked) { border-color: var(--gulf); background: #f3f8f8; }
.way input { margin-top: 4px; accent-color: var(--gulf); }
.way > span { display: grid; gap: 2px; }
.local-row { flex-wrap: nowrap; gap: 6px; }
.local-row .input { flex: 1 1 auto; min-width: 0; }
.local-row .at { color: var(--gulf); overflow-wrap: anywhere; }
.code-sent { display: grid; gap: 10px; background: var(--sand); border-radius: var(--radius-sm); padding: 16px; }
.code-sent .error:empty { display: none; }
.code-sent .link { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--gulf); text-decoration: underline; cursor: pointer; }
.code-input { width: 9em; font-size: 22px; letter-spacing: .25em; text-align: center; font-variant-numeric: tabular-nums; }
.fr-review { margin-top: 6px; }
#fr-send .error:empty, #fr-claim .error:empty { display: none; }

/* ---------- Gulf Coast Bites for Business (/biz) ---------- */
.biz .nav { background: var(--charcoal); }
.biz-tag { margin-left: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sunset); border: 1.5px solid rgba(234,191,133,.5); border-radius: 999px; padding: 2px 9px; }
.biz-switch select { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 30px 6px 14px; font: inherit; font-size: 14px; font-weight: 700; max-width: 240px; }
.biz-switch select option { color: var(--ink); }
.biz-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; width: min(1240px, 100% - 40px); margin: 0 auto; padding: 28px 0 56px; min-height: 75vh; }
.biz-side { position: sticky; top: 84px; align-self: start; display: grid; gap: 18px; }
.biz-tabs { display: grid; gap: 2px; }
.biz-tabs a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--charcoal); text-decoration: none; font-weight: 600; cursor: pointer; }
.biz-tabs a span { width: 22px; text-align: center; }
.biz-tabs a:hover { background: var(--sand-2); }
.biz-tabs a.on { background: var(--gulf); color: #fff; }
.biz-side-foot { padding: 0 14px; }
.biz-main { min-width: 0; }
.biz-main .view { padding: 0; min-height: 0; }
.biz-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.biz-head h1 { font-size: clamp(26px, 3vw, 34px); color: var(--gulf); letter-spacing: -.03em; }
.biz-head .eyebrow { margin-bottom: 6px; }
.biz-head p.muted { margin-top: 6px; max-width: 64ch; }
.biz-loading { padding: 40px 0; }
.row.between { justify-content: space-between; }
.small { font-size: 13px; }
.biz-main h2 { font-size: 19px; }
.stars { color: #c98a1b; letter-spacing: 1px; } .stars span { color: #ddd3c2; }

.biz-tabs .tab-signout { display: none; cursor: pointer; }
.biz-name-locked { background: var(--sand); color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dash-grid > .card { display: grid; gap: 14px; align-content: start; }
.dash-todo { grid-row: span 2; }
.dash-todo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dash-todo li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dash-todo li:first-child { border-top: 0; }
.todo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sand-2); }
.dash-todo li.urgent .todo-dot { background: var(--coral); }
.all-done { color: var(--ok); font-weight: 700; }
.dash-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dash-fav { margin: 12px 0 4px; font-size: 15px; }
.dash-fav > span:first-child { color: var(--coral, #e07a55); }
.mini-tile { background: var(--sand); border-radius: var(--radius-sm); padding: 10px 12px; display: grid; gap: 2px; align-content: start; }
.mini-tile b { font-size: 22px; color: var(--gulf); font-variant-numeric: tabular-nums; }
.mini-tile .delta { color: var(--muted); }
.dash-week .cchart-y, .dash-week .cchart-bars { height: 150px; }
.biz-review { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.biz-review:first-of-type { border-top: 0; }
.biz-review .row { gap: 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick { font: inherit; font-weight: 700; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius-sm); background: var(--sand); color: var(--gulf); text-decoration: none; border: 0; cursor: pointer; text-align: left; }
.quick:hover { background: var(--sand-2); }
.quick span { font-size: 20px; }

.menu-add { margin-bottom: 18px; display: grid; gap: 12px; }
.menu-add-row { display: grid; grid-template-columns: 1.1fr 2fr 120px auto; gap: 10px; }
.menu-add .error:empty { display: none; }
.menu-table { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.menu-tr { display: grid; grid-template-columns: 76px minmax(0, 1fr) 110px 120px 210px; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.menu-th { border-top: 0; background: var(--sand); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; }
.menu-tr.dirty { background: #fff8ee; }
.menu-tr.is-hidden { opacity: .7; }
.menu-tr.error-row { box-shadow: inset 3px 0 0 var(--bad); }
.thumb { width: 64px; height: 64px; border-radius: 12px; border: 0; padding: 0; overflow: hidden; position: relative; cursor: pointer; background: var(--sand); display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb i { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(0,0,0,.6); color: #fff; border-radius: 999px; padding: 0 6px; }
.empty-thumb { font-size: 13px; color: var(--gulf); border: 1.5px dashed var(--sand-2); background: #fff; }
.m-dish { display: grid; gap: 4px; min-width: 0; }
.m-name, .m-desc, .m-price input { font: inherit; border: 1.5px solid transparent; border-radius: 8px; padding: 4px 8px; margin-left: -8px; background: transparent; color: var(--ink); width: 100%; }
.m-name { font-weight: 700; color: var(--gulf); }
.m-desc { font-size: 14px; color: var(--muted); resize: none; min-height: 30px; overflow: hidden; }
.m-name:hover, .m-desc:hover, .m-price input:hover { border-color: var(--line); }
.m-name:focus, .m-desc:focus, .m-price input:focus { border-color: var(--gulf); background: #fff; outline: none; }
.m-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.m-badges .link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--gulf); text-decoration: underline; cursor: pointer; }
.m-price { display: flex; align-items: center; }
.m-price .dollar { color: var(--muted); margin-right: 6px; }
.m-price input { margin-left: 0; font-variant-numeric: tabular-nums; }
.m-act { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.menu-hidden { margin-top: 18px; }
.menu-hidden summary { cursor: pointer; font-weight: 700; color: var(--gulf); margin-bottom: 10px; }

.ph-group { display: grid; gap: 12px; margin-bottom: 14px; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ph { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--sand); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.chosen { outline: 3px solid var(--sunset); outline-offset: -3px; }
.ph-main { position: absolute; left: 6px; top: 6px; background: var(--charcoal); color: var(--sunset); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.ph-by { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 5px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rev-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.rev-dist { display: grid; gap: 8px; position: sticky; top: 84px; }
.rev-bar { font: inherit; display: grid; grid-template-columns: 34px 1fr 30px; gap: 8px; align-items: center; background: none; border: 0; padding: 4px 6px; border-radius: 8px; cursor: pointer; color: var(--ink); text-align: left; }
.rev-bar:hover, .rev-bar.on { background: var(--sand); }
.rev-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.rev-bar .hbar-track { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; display: block; }
.rev-bar .hbar-fill { display: block; height: 100%; border-radius: 999px; }
.rev-dist .link { background: none; border: 0; font: inherit; color: var(--gulf); text-decoration: underline; cursor: pointer; justify-self: start; }
.rev-list { display: grid; gap: 10px; }
.rev-list .card { padding: 16px 20px; }
.rev-list .biz-review { border: 0; padding: 0; }
.rev-list > .btn { justify-self: center; }

.info-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.info-layout .row.two > .field { flex: 1 1 200px; }
.info-layout .error:empty { display: none; }
.info-layout aside { display: grid; gap: 10px; position: sticky; top: 84px; }
.owner-info { display: grid; gap: 10px; margin-top: 18px; }
.info-layout .owner-info { margin-top: 0; }
.owner-info .eyebrow { margin-bottom: 0; }

.landing .biz-adv { margin-top: 36px; display: grid; gap: 12px; }
.biz-adv:empty { display: none; }

@media (max-width: 900px) {
  .biz-shell { grid-template-columns: 1fr; gap: 14px; padding-top: 0; width: 100%; }
  .biz-side { position: sticky; top: 58px; z-index: 5; background: var(--sand); padding: 8px 12px; margin: 0; box-shadow: 0 6px 12px rgba(16,61,64,.06); }
  .biz-tabs { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .biz-tabs a { white-space: nowrap; padding: 8px 12px; font-size: 14px; }
  .biz-tabs a span { display: none; }
  .biz-side-foot { display: none; }
  .biz-main { padding: 0 16px; }
  .dash-grid, .rev-layout, .info-layout { grid-template-columns: 1fr; }
  .dash-todo { grid-row: auto; }
  .rev-dist, .info-layout aside { position: static; }
  .menu-add-row { grid-template-columns: 1fr 110px; }
  .menu-add-row [name=description] { grid-column: 1 / -1; grid-row: 2; }
  .menu-add-row .btn { grid-column: 1 / -1; }
  .menu-th { display: none; }
  .menu-tr { grid-template-columns: 64px 96px minmax(0, 1fr); grid-template-areas: "ph dish dish" "ph price stats" "ph act act"; row-gap: 6px; padding: 14px; }
  .m-photo { grid-area: ph; align-self: start; } .m-dish { grid-area: dish; } .m-price { grid-area: price; align-self: center; } .m-stats { align-self: center; }
  .m-stats { grid-area: stats; } .m-act { grid-area: act; justify-content: flex-start; }
  .m-stats { display: flex; flex-wrap: wrap; gap: 2px 10px; } .m-stats br { display: none; }
}
@media (max-width: 560px) {
  .biz-tag { display: none; }
  .biz-switch select { max-width: 150px; }
  #biz-public { display: none; }
  .biz #nav-signout { display: none; }
  .biz-tabs .tab-signout { display: block; color: var(--muted); }
  .dash-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: 1fr; }
}
.nowrap { white-space: nowrap; }

/* ---------- add to home screen ---------- */
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 12px; background: var(--gulf); color: #fff; border-radius: var(--radius-sm); padding: 10px 10px 10px 12px; box-shadow: 0 12px 34px rgba(0,0,0,.25); }
.install-banner.hidden { display: none; }
.install-banner img { border-radius: 10px; flex: none; box-shadow: 0 0 0 1.5px rgba(255,255,255,.28); }
.install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.install-text strong { font-size: 14px; }
.install-text span { font-size: 12.5px; color: #cfe0de; }
.install-banner .x { color: #fff; }
.install-steps { padding-left: 22px; margin: 6px 0 18px; }
.install-steps li { margin-bottom: 10px; }
.install-steps svg { vertical-align: -3px; }

.place-site { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: 15px; justify-self: start; word-break: break-all; }
.place-site svg { flex: none; }
.city-row { display: flex; gap: 8px; align-items: center; }
.city-row select { flex: 1; min-width: 0; }
.city-row .btn { white-space: nowrap; flex: none; }
.loc-help { background: #FFF4E0; border-radius: 12px; padding: 12px 14px; }

/* favorite-restaurant toggle on the restaurant page */
.fav-btn { justify-self: start; margin: 4px 0 8px; }
.place-head .fav-btn.btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.place-head .fav-btn.on { background: var(--sunset); color: var(--charcoal); box-shadow: none; }
