/* Baloo 2, self-hosted (variable font, weights 400-800) — founder's
   round font, Nov 16, 2026. Self-hosted after the Google Fonts route
   kept serving some weights and not others in test browsers. */
@font-face {
  font-family: "Baloo 2";
  src: url("/fonts/baloo2-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
/* Hello Yellow — color scheme (approved Nov 2, 2026): lemon is
   the voice (brand, primary actions, active states); warm paper +
   card white + warm charcoal carry the pages; a muted six-hue
   pool files categories and sections at bar/dot/chip scale only;
   green/amber/red keep their meanings and are never decoration.
   Pages stay light even in phone dark mode. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #FFFDF5;
  color: #26241F;
  -webkit-font-smoothing: antialiased;
}
#app { max-width: 560px; margin: 0 auto; padding: 0 14px 110px; }
a { color: #8A6D00; }
button { font: inherit; cursor: pointer; }
input, select, textarea {
  font: inherit; padding: 10px 12px; border: 1px solid #EAE3D0; border-radius: 12px;
  background: #fff; width: 100%;
}
textarea { min-height: 74px; resize: vertical; }
label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 5px; color: #454138; }

/* Header */
.hy-header { display: flex; align-items: center; gap: 10px; padding: 16px 0 6px; }
/* Chick + wordmark = the home button (Nov 1). The wrapper carries
   the same flex/gap the header used, so the layout, ring and spacing
   are unchanged — just clickable, with no link styling showing. */
.hy-home { display: flex; align-items: center; gap: 10px; cursor: pointer;
  text-decoration: none; color: inherit; }
/* The user's crochet chick (cartoon version, chosen Nov 1) beside the
   wordmark. The source art has a solid white background, so it sits in a
   round sticker frame — yellow ring, face-weighted crop: the portrait
   frame is windowed high (15%) so the head tuft survives the crop and
   her eyes land at the circle's center. */
.hy-mascot { width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 2px solid #FFE600; object-fit: cover; object-position: 50% 15%; background: #fff; }
.hy-logo { font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 28px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 380px) { .hy-mascot { width: 34px; height: 34px; } }
.hy-logo .hello { color: #26241F; }
.hy-logo .yellow { color: #26241F; }
.hy-header .spacer { flex: 1; }
.hy-role { font-size: 12px; font-weight: 700; background: #FFF6BF; border: 1px solid #FFE600;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; }
/* Header sign-out (Nov 2): top right, beside the role pill. Small
   and plain on purpose — a working control, not a second wordmark.
   flex:none keeps it whole at phone width; the role pill above is
   the element that shrinks (ellipsis) when space is tight. */
.hy-signout { flex: none; font-size: 13px; font-weight: 600; color: #454138;
  background: #fff; border: 1px solid #EAE3D0; border-radius: 999px;
  padding: 5px 12px; white-space: nowrap; }
.hy-signout:active { background: #FFF6BF; }
/* Points chip (Nov 4): the diner's balance, top-right beside
   Sign out — the lemon chip from the Style C mockups he picked.
   flex:none so the role pill (which ellipsizes) absorbs any
   squeeze at phone width. */
.hy-points { flex: none; font-size: 12px; font-weight: 800; background: #FFEA00;
  border: 1px solid #FFE600; color: #4A3F00; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap; }
.hy-tagline { color: #7A7466; font-size: 13px; margin: 0 0 10px; }

/* Cards and lists */
.card { background: #fff; border: 1px solid #EAE3D0; border-radius: 16px; padding: 14px; margin: 10px 0;
  box-shadow: 0 1px 3px rgba(38, 36, 31, 0.05); }
.card h3 { margin: 0 0 4px; font-size: 17px; }
.card h4 { margin: 0 0 4px; font-size: 15px; }
.muted { color: #7A7466; font-size: 13px; }
.small { font-size: 12px; }
/* Dish page restaurant line (Nov 7): the place's name under the
   dish title steps up so it reads at a glance — name bold, city
   and distance ride the same line. Dish page only; the shared
   .muted meta size stays untouched everywhere else. */
.dish-rest-line { font-size: 18px; color: #7A7466; }
.dish-rest-line a { font-weight: 700; }
.price { font-weight: 700; }
.pill-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: #EAF2EA; color: #3E7C43; border: 1px solid #C4DCC6; }
.pill-badge.waiting { background: #F5F1E6; color: #7A7466; border-color: #EAE3D0; }
.pill-badge.warn { background: #F8F1DC; color: #8A6716; border-color: #E7D194; }
.pill-badge.bad { background: #FAECEC; color: #B02A2A; border-color: #E3B7B7; }
/* Best items (HQ + owner curation): the lemon badge a marked dish
   carries in the place page's menu and on its dish page, and the
   separated HQ tools card on the place/dish pages. */
.best-badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: #FFEA00; color: #4d3d00; border: 1px solid #FFE600; vertical-align: middle; white-space: nowrap; }
.hq-tools { border: 2px dashed #E7D194; background: #FFFDF5; }
/* Owner invite (HQ): the pull-the-owner-in box on the questions
   queue and inside the HQ tools card — dashed warm-amber edge in
   the Coming up hue, so it reads as an action waiting, not
   content. New class only; no existing rule changes. */
.owner-invite { border: 1.5px dashed #C79A3B; border-radius: 14px; background: #fff; padding: 12px 14px; margin: 10px 0; }
.owner-invite input { min-width: 0; }
.hq-dish-row { padding: 8px 0; border-top: 1px solid #F0EADA; }
/* HQ stat balls (user ask, Nov 4): the nine HQ home stats as
   colored circles — the number large inside, its label under the
   number inside the ball. Same tiles, same values, same taps
   (hqJump / hqJumpListings) — only the paint changed. Colors are
   the app's own accent families, one per ball, with the number
   ink picked per ball for contrast. Phone wraps 3 x 3 (flex
   basis below); the desktop pass further down sets the row to
   nine-across. Long counts step the number size down (.n4/.n5)
   so the exact count always fits its ball. */
.hq-ball { border-radius: 50%; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 8px; width: 100%; max-width: 200px; justify-self: center; box-shadow: 0 2px 8px rgba(38, 36, 31, 0.12); }
/* Ball rows (user, Nov 4, final shape): nine balls never sit
   in one long row — they run 4 / 4 / 1. The row is a
   four-column grid, so the split is structural: four, four,
   and a last single ball centered in its row (it spans its
   column cell and centers there; on phone the balls land
   ~83px). A flex wrap could not be trusted with this — the
   200px cap shrank the balls until five squeezed onto the
   first line. On phone the number and label step down a size
   (below) until even the longest label ("Held review
   photos") fits its circle — the counts never change. */
.row.hq-balls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
/* The ninth ball spans its row so it can center, but keeps
   one column's width — sized like its eight siblings, never
   stretched by the span (the 200px cap still applies). */
.hq-ball:nth-child(9) { grid-column: 1 / -1; width: calc((100% - 24px) / 4); }
@media (max-width: 899px) {
  .hq-ball { padding: 5px 3px; }
  .hq-ball-num { font-size: 18px; }
  .hq-ball-num.n4 { font-size: 15px; }
  .hq-ball-num.n5 { font-size: 12px; }
  .hq-ball-label { font-size: 8px; line-height: 1.05; margin-top: 2px; }
}
.hq-ball-num { font-size: 27px; font-weight: 800; line-height: 1.05; }
.hq-ball-num.n4 { font-size: 21px; }
.hq-ball-num.n5 { font-size: 17px; }
.hq-ball-label { font-size: 10.5px; font-weight: 700; line-height: 1.15; margin-top: 3px; }
.hq-ball.b1 { background: #5B84A6; border-color: #4A7192; color: #FFFFFF; }
.hq-ball.b2 { background: #BE5A30; border-color: #A34C27; color: #FFFFFF; }
.hq-ball.b3 { background: #5F7F52; border-color: #4F6B44; color: #FFFFFF; }
.hq-ball.b4 { background: #E9B44C; border-color: #D29F35; color: #3D2E07; }
.hq-ball.b5 { background: #7A5C90; border-color: #684E7B; color: #FFFFFF; }
.hq-ball.b6 { background: #2F7E79; border-color: #276A66; color: #FFFFFF; }
.hq-ball.b7 { background: #C4707E; border-color: #AC5B69; color: #FFFFFF; }
.hq-ball.b8 { background: #B7A400; border-color: #9C8B00; color: #33300A; }
.hq-ball.b9 { background: #7D6F5C; border-color: #695D4D; color: #FFFFFF; }
/* TOP 10 city balls (user ask, Nov 7): the HQ stat-ball look
   carried to the diner side — ten round colored balls above
   Nearest dishes on a city page, one per top dish: a round
   colored ball carrying the dish's real photo when one exists
   (the .t10-photo fill) or its clip-art glyph, with the dish
   name and its "N places" count under the ball. Same palette
   as the HQ balls (plus a tenth color), same 4-across sizing;
   the wrap is a centered flex so the ten land 4 / 4 / 2 with
   the last pair centered, never stretched. Long dish names
   step the name size down (.t10-name-l / -xl). A tap runs the
   dish search for the ball's family (HY.topDish). */
.top10-balls { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 8px; margin: 4px 0 10px; }
.t10-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 0 calc((100% - 24px) / 4); max-width: 200px; cursor: pointer; container-type: inline-size; }
.t10-ball { width: 100%; border-radius: 50%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(38, 36, 31, 0.12); border: 1px solid transparent; overflow: hidden; }
/* The glyph FILLS the face (user ask, Nov 7): sized in cqw
   against the .t10-item container, so the font-size tracks
   ~95% of the ball's diameter at any screen width — the px
   line stays as the fallback where container units are
   unknown. The ball's overflow:hidden clips any bleed. */
.t10-emoji { font-size: 36px; font-size: 95cqw; line-height: 1; }
.t10-photo { background-size: cover; background-position: center; background-repeat: no-repeat; border-width: 3px; }
.t10-name { font-size: 14px; font-weight: 800; line-height: 1.12; margin-top: 5px; }
.t10-name.t10-name-l { font-size: 12px; }
.t10-name.t10-name-xl { font-size: 10.5px; }
.t10-count { font-size: 10.5px; font-weight: 700; line-height: 1.15; margin-top: 3px; opacity: 0.85; }
@media (max-width: 899px) {
  .t10-emoji { font-size: 27px; font-size: 95cqw; }
  .t10-name { font-size: 10.5px; }
  .t10-name.t10-name-l { font-size: 9px; }
  .t10-name.t10-name-xl { font-size: 8px; }
  .t10-count { font-size: 8px; margin-top: 2px; }
}
.t10-ball.c1 { background: #5B84A6; border-color: #4A7192; color: #FFFFFF; }
.t10-ball.c2 { background: #BE5A30; border-color: #A34C27; color: #FFFFFF; }
.t10-ball.c3 { background: #5F7F52; border-color: #4F6B44; color: #FFFFFF; }
.t10-ball.c4 { background: #E9B44C; border-color: #D29F35; color: #3D2E07; }
.t10-ball.c5 { background: #7A5C90; border-color: #684E7B; color: #FFFFFF; }
.t10-ball.c6 { background: #2F7E79; border-color: #276A66; color: #FFFFFF; }
.t10-ball.c7 { background: #C4707E; border-color: #AC5B69; color: #FFFFFF; }
.t10-ball.c8 { background: #B7A400; border-color: #9C8B00; color: #33300A; }
.t10-ball.c9 { background: #7D6F5C; border-color: #695D4D; color: #FFFFFF; }
.t10-ball.c10 { background: #A83A5C; border-color: #8E2F4D; color: #FFFFFF; }
/* Empty menus worklist (Nov 7): HQ's field task list. The
   door is a plain card row on HQ home under the Ask HQ
   inbox; the list itself is one numbered row per place —
   big task numbers in the app's dark gold, slim uppercase
   city dividers between groups (unnumbered). Rows ride the
   .dish ledger lines; a tap opens the place's HQ page. */
.hq-empty-door, .em-row { cursor: pointer; }
.hq-empty-door:hover, .em-row:hover { background: #F8F1DC; }
.em-city { margin: 18px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8A6D00; }
.em-num { flex: none; min-width: 46px; margin-right: 10px; font-size: 22px; font-weight: 800; color: #8A6D00; text-align: right; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row > * { min-width: 0; }
.grow { flex: 1; }
.btn { border: 1px solid #EAE3D0; background: #fff; border-radius: 12px; padding: 9px 14px; font-weight: 600; }
.btn.primary { background: #FFEA00; border-color: #FFE600; color: #26241F; }
.btn.small { padding: 6px 10px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.danger { border-color: #E3B7B7; color: #B02A2A; }
.linkbtn { background: none; border: none; color: #8A6D00; font-weight: 600; padding: 4px; text-decoration: underline; }
/* Big place presence (Nov 1): the business name and the Call /
   Directions actions are what a diner acts on — enlarged on the
   place page, the dish page and place cards alike, so the number
   and the way there are never hunted for. */
.place-name { font-size: 30px; line-height: 1.15; }
.btn.big { font-size: 17px; padding: 13px 18px; border-radius: 14px; }
.place-actions { display: flex; gap: 10px; margin: 12px 0; }
.place-actions .btn { flex: 1; text-align: center; text-decoration: none; }
.card .place-actions { margin: 10px 0 2px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid #F0EADA; }
.list li:last-child { border-bottom: none; }
.empty { text-align: center; color: #7A7466; padding: 26px 10px; }
.error { background: #FAECEC; border: 1px solid #E3B7B7; color: #B02A2A; border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.notice { background: #F8F1DC; border: 1px solid #E7D194; color: #8A6716; border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.photos { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0; }
.photos img { height: 110px; border-radius: 12px; object-fit: cover; }
.chip { display: inline-block; font-size: 12px; background: #F5F1E6; border: 1px solid #EAE3D0;
  border-radius: 999px; padding: 3px 9px; margin: 2px 3px 2px 0; color: #5C574B; }
button.chip { cursor: pointer; font: inherit; font-size: 12px; }

/* HQ search-keyword editor chips (Nov 3): the keyword, its
   source tag, and a quiet remove ✕ — HQ tools only. */
.kw-row { display: flex; flex-wrap: wrap; gap: 2px; margin: 6px 0; }
.kw-src { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  background: #EAE3D0; border-radius: 999px; padding: 1px 6px; color: #7A7466; }
.kw-x { border: none; background: none; cursor: pointer; font: inherit; font-size: 11px;
  color: #B02A2A; padding: 0 1px; }

/* Front-page pill to Trending (retired Nov 4: the Style C
   home answers the same curiosity with the LIVE board section
   itself; the rule stays for any surface still wearing it). */
.see-eating { display: block; width: 100%; margin: 12px 0; padding: 14px; border-radius: 999px;
  background: #FFEA00; border: 2px solid #FFE600; font-weight: 800; font-size: 16px; color: #26241F;
  box-shadow: 0 2px 8px rgba(255, 230, 0, 0.35); }

/* Style C home — "The Neighborhood Pulse" (Nov 4): the diner
   home leads with people, not search. Section hues stay in the
   filing system: LIVE wears the sage family, drops the dusty
   blue of the Drops section, Trending its terracotta title.
   Cards are the mockup's shape — one calm card per idea, a tap
   through to the section's own page. */
.home-headline { font-size: 21px; font-weight: 900; line-height: 1.2;
  letter-spacing: -0.3px; margin: 12px 0 2px; }
/* His motto (Nov 4): "Search, and you will find." — one quiet
   line signing the search block, where the promise is kept.
   Muted warm ink, italic, centered like a signature; the only
   ornament is the small chick that already lives in the search
   button. No banner, no box, no button — a statement, not an ad. */
.home-motto { text-align: center; font-size: 13px; font-style: italic;
  color: #7A7466; margin: 10px 0 2px; }
.home-motto-chick { width: 15px; height: 15px; border-radius: 50%;
  object-fit: cover; object-position: 50% 15%; background: #fff;
  vertical-align: -3px; margin-right: 5px; }
.pulse-card { background: #fff; border: 1.5px solid #E3DCC8; border-radius: 14px;
  padding: 11px 13px; margin: 10px 0; cursor: pointer;
  box-shadow: 0 1px 3px rgba(38, 36, 31, 0.05); }
.pulse-drop { background: #EAF0F5; border-color: #C3D2DF; }
.pulse-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pulse-title { font-weight: 800; font-size: 13px; letter-spacing: 0.4px;
  display: flex; align-items: center; gap: 7px; }
.pulse-live .pulse-title, .pulse-live .pulse-count { color: #4F6B47; }
.pulse-drop .pulse-title, .pulse-drop .pulse-count { color: #47637F; }
.pulse-count { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.pulse-entry { display: flex; gap: 9px; align-items: center; margin-top: 9px; }
.pulse-av { width: 26px; height: 26px; flex: none; border-radius: 50%; color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pulse-dish { font-weight: 700; }
.pulse-quiet { margin: 8px 0 2px; color: #7A7466; font-size: 13px; }
.pulse-more { margin-top: 9px; font-size: 12px; font-weight: 700; color: #8A6D00; }
.pulse-more-line { display: block; text-align: right; font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.pulse-drop-body { margin-top: 5px; font-size: 13.5px; }
/* Home Trending thumbs: the dish's real photo when it has one;
   the fallback is a warm gradient wearing the dish's first
   word (the mockup's language) — never a stock image. */
.trend-thumb { width: 46px; height: 46px; flex: none; border-radius: 10px; object-fit: cover; }
/* Menu-list dish thumbnail (Nov 13): same 56px geometry as the
   Best items row photo, so a place's menu reads consistently. */
.dish-thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; }
/* Dish photo lightbox (Nov 14): a thumb with a photo is a
   button — tapping it opens the dish's photo full-screen. The
   full view fits the photo to the screen keeping its aspect,
   the dish name captions it, and the ✕ / backdrop / Escape
   close it. Sits above the sheets (.claim-overlay is 2000). */
.dish-thumb-tap { cursor: zoom-in; }
.dish-photo-overlay { position: fixed; inset: 0; z-index: 2100; background: rgba(28, 26, 22, 0.93);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.dish-photo-box { position: relative; margin: 0; max-width: min(92vw, 720px);
  display: flex; flex-direction: column; align-items: center; }
.dish-photo-full { max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain;
  border-radius: 12px; background: #14120F; }
.dish-photo-caption { color: #FFF6D8; font-weight: 700; font-size: 16.5px;
  margin-top: 12px; text-align: center; }
.dish-photo-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px;
  border-radius: 50%; border: 2px solid #241F14; background: #FFE600; color: #241F14;
  font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer; padding: 0; }
.trend-thumb-fallback { display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 10.5px; text-align: center; padding: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }

/* Story bubble */
.story-bubble { background: #FFF6BF; border: 1px solid #FFE600; border-radius: 18px; padding: 12px 14px; margin: 12px 0; }
.story-bubble .story-title { font-weight: 800; }
.story-bubble .story-text { margin-top: 8px; line-height: 1.45; display: none; }
.story-bubble.open .story-text { display: block; }

/* Dish rows */
.dish { padding: 10px 0; border-bottom: 1px solid #F0EADA; }
.dish:last-child { border-bottom: none; }
.dish .dish-name { font-weight: 700; }
/* Freshness semantics (scheme, Nov 2): green = verified, amber =
   check first, red = gone. The dot carries the same color as the
   words (currentColor), so the signal reads before the text does. */
.fresh { font-size: 12px; color: #3E7C43; font-weight: 600; }
.fresh .fdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-right: 5px; vertical-align: 1px; }
.fresh.stale { color: #B06A00; }
.fresh.gone { color: #B02A2A; }
.allergy-flag { font-size: 12px; color: #B06A00; font-weight: 600; }

/* Map (Trending's bubble map; the Drops treasure map reuses the
   same frame — one component, two data sets). Stacking law: the
   map is a CONTAINED stacking context (position + z-index 0 +
   isolation), because Leaflet's inner layers carry z-indexes up
   to 1000 (panes 200-700, controls 1000) — uncontained, they
   escape into the page's stacking order and paint over sheets
   that open on top of the map (the claim sheet, Nov 4 bug). The
   .leaflet-container rule is the same guard for any future
   Leaflet mount: nothing inside a map may ever outrank the
   app's own chrome or sheets (.claim-overlay sits at 2000). */
#trend-map, #drops-map, #follow-map { height: 300px; border-radius: 16px; border: 1px solid #EAE3D0; margin: 10px 0; background: #F5F1E6;
  position: relative; z-index: 0; isolation: isolate; }
/* Following map (Nov 6): a pin is the PEOPLE who have been at
   a place — their profile pictures (or initial dots) ride the
   marker, so the map reads as who, not just where. */
.map-pin { display: flex; gap: 2px; filter: drop-shadow(0 2px 4px rgba(38,36,31,0.35)); }
.map-av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #FFFFFF;
  object-fit: cover; background: #FFFFFF; vertical-align: middle; }
span.map-av { display: inline-flex; align-items: center; justify-content: center;
  color: #FFFFFF; font-weight: 800; font-size: 14px; }
.leaflet-container { isolation: isolate; }
.bubble-label { background: #FFEA00; border: 2px solid #FFE600; border-radius: 999px; font-weight: 800;
  text-align: center; color: #26241F; display: flex; align-items: center; justify-content: center; }

/* Trending: city groups in the list, labeled city bubbles on the map */
.trend-city { margin-bottom: 4px; }
.trend-city-head { display: flex; align-items: baseline; gap: 8px; padding: 12px 0 0; }
.trend-city-name { font-size: 17px; font-weight: 800; }
.city-bubble { white-space: nowrap; cursor: pointer; padding: 0 8px;
  box-shadow: 0 2px 8px rgba(38, 36, 31, 0.25); }

/* Trending controls: type-ahead city picker + Near me radius view.
   One slim row above the map; the radius toggle only appears in
   Near-me mode, to keep the screen uncluttered. */
.trend-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0 2px; }
/* Circle / lasso draw controls on the inline maps (Nov 11):
   one slim row under each map's own controls — Trending, Drops,
   and the Following map share the row; the Area map overlay
   keeps its own .am-controls. */
.map-draw-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0 2px; }
.trend-pick { position: relative; flex: 1 1 150px; min-width: 140px; }
.trend-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1200;
  background: #fff; border: 1px solid #EAE3D0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(38, 36, 31, 0.18); }
.trend-suggest button { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  width: 100%; border: none; background: none; padding: 10px 12px; font-size: 14px; text-align: left; }
.trend-suggest button:hover { background: #FFF6BF; }
.trend-suggest .muted { white-space: nowrap; }
.trend-radius { display: inline-flex; border: 1px solid #EAE3D0; border-radius: 999px; overflow: hidden; background: #fff; }
.trend-radius button { border: none; background: none; padding: 7px 12px; font-weight: 700; font-size: 13px; color: #7A7466; }
.trend-radius button.on { background: #FFEA00; color: #26241F; }

/* Bottom nav: one big rounded yellow-outlined pill */
.bottom-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 50;
  width: min(540px, calc(100vw - 20px)); background: #fff; border: 2px solid #FFE600; border-radius: 999px;
  display: flex; padding: 6px; box-shadow: 0 6px 20px rgba(38, 36, 31, 0.14);
  transition: transform 0.25s ease; }
.bottom-nav.nav-hide { transform: translate(-50%, 160%); }
.bottom-nav button { flex: 1; border: none; background: none; padding: 7px 2px; font-weight: 700; font-size: 13px;
  border-radius: 999px; color: #7A7466; display: flex; align-items: center; justify-content: center; }
/* Active tab: lemon pill highlight + the SOLID icon (Facebook's
   pattern) — the outline/solid swap below makes the state
   unmistakable without any word label. */
.bottom-nav button.active { color: #26241F; background: #FFEA00; box-shadow: inset 0 0 0 2px #FFE600; }
.bottom-nav .nav-icon { display: flex; align-items: center; justify-content: center; }
.bottom-nav .nav-svg { width: 24px; height: 24px; display: block; }
.bottom-nav .icon-solid { display: none; }
.bottom-nav button.active .icon-solid { display: block; }
.bottom-nav button.active .icon-outline { display: none; }
/* Give tab heart in warm heart-red (user ask, Nov 2): a deepened
   Meal Rose (#BE3E4D) so the program's tab reads as a red heart
   at a glance. Only the glyph takes the color — the outline
   (stroke) and solid (fill) icons both ride currentColor, so
   the outline/solid pair stays consistent; the button's label
   color and the lemon active pill are untouched. Scoped to the
   bottom nav's Give button only — no other hearts change. */
.bottom-nav button.nav-give .nav-icon { color: #BE3E4D; }
/* Owner shortcut bar (Nov 3): the same pill, plus a count
   badge where work waits. The badge is the ask-dot's red
   (#B02A2A) so waiting work reads the same everywhere it
   appears; it anchors to the button (position: relative
   below), sits at the button's top-right corner, and hides
   at zero (.hidden). The bar is the diner pill's own element
   and geometry, so the Ask launcher's bottom:86px clearance
   and the scroll hide behave identically on owner views.
   The buttons wore the section headers' emoji at first; on
   Nov 4 (user: the icons "look kind of funky") they moved to
   the same outline/solid line-icon pairs as the diner and HQ
   bars (OWNER_NAV_ICONS) — the .nav-svg sizing and the
   active outline/solid swap above cover them unchanged, and
   the old .nav-glyph emoji rule went away with the emoji. */
.bottom-nav button { position: relative; }
.bottom-nav .nav-badge { position: absolute; top: -3px; right: 1px; min-width: 18px; height: 18px;
  border-radius: 999px; background: #B02A2A; color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
  border: 2px solid #fff; }
/* The Search tab is the chick herself: same round sticker treatment
   as the header (lemon ring, face-weighted crop), sized to sit
   alongside the 24px line icons. */
.nav-chick { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 15%;
  border: 2px solid #FFE600; background: #fff; display: block; }
/* The search submit button wears a small chick too (she flaps on
   search; see HY.doSearch). No ring here — the round white crop
   reads clean on the lemon button. */
.search-go { display: inline-flex; align-items: center; gap: 7px; }
.search-chick { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: 50% 15%;
  background: #fff; display: block; }
/* Invisible-but-present text (the nav's word labels live on only
   in this form, for accessibility). */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Entry / auth */
.role-grid { display: grid; gap: 10px; margin: 14px 0; }
.role-grid button { padding: 16px; border-radius: 16px; border: 2px solid #FFE600; background: #FFFDF5;
  font-weight: 800; font-size: 16px; text-align: left; }
.role-grid button .sub { display: block; font-weight: 500; font-size: 13px; color: #7A7466; margin-top: 3px; }
details.authbox { margin: 14px 0; border: 1px solid #EAE3D0; border-radius: 16px; padding: 4px 14px 14px; background: #fff; }
details.authbox summary { font-weight: 700; padding: 10px 0; cursor: pointer; }
/* Public front page (founder, Nov 16, 2026 — the public
   launch): photo hero + one big dish search, how-it-works
   cards, then the real sign-in doors. The hero bleeds to the
   page edges over the app's normal content column. */
.fp-hero { margin: 10px -4px 0; background: linear-gradient(135deg, #f9a8d4 0%, #fbcfe8 50%, #fdf2f8 100%); border: 2px solid #55585E; border-radius: 24px; color: #26241F; }
.fp-hero-in { max-width: 760px; margin: 0 auto; padding: 44px 20px 36px; text-align: center; }
.fp-h1 { font-size: 40px; line-height: 1.12; font-weight: 900; margin: 0 0 12px; color: #26241F; }
.fp-sub { font-size: 16.5px; line-height: 1.5; color: #4A463C; margin: 0 auto 22px; max-width: 560px; }
.fp-search { display: flex; max-width: 620px; margin: 0 auto; background: #fff; border: 2px solid #55585E; border-radius: 999px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.fp-search input { flex: 1; border: 0; padding: 15px 20px; font-size: 16px; outline: none; min-width: 0; color: #26241F; background: transparent; }
.fp-go { background: #FF7A00; color: #fff; border: 0; font-weight: 800; font-size: 16px; padding: 0 26px; cursor: pointer; border-radius: 999px; margin: 4px; }
.fp-mic { background: transparent; border: 0; font-size: 19px; padding: 0 2px 0 6px; cursor: pointer; border-radius: 999px; align-self: center; }
.mic-btn { font-size: 17px; padding: 0 12px; }
.fp-mic.listening, .mic-btn.listening { background: #E23B2E; color: #fff; animation: micPulse 1s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.fp-note { color: #4A463C; font-size: 14.5px; margin: 14px auto 0; max-width: 560px; }
.fp-note a { color: #B85C00; font-weight: 700; }
.fp-hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; max-width: 680px; margin: 18px auto 0; text-align: left; }
.fp-hit { background: #fff; border-radius: 14px; overflow: hidden; color: #26241F; }
.fp-hit img { width: 100%; height: 84px; object-fit: cover; display: block; }
.fp-hit-noimg { height: 84px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: #FFF6D8; }
.fp-hit-name { font-weight: 700; font-size: 13.5px; padding: 8px 10px 0; line-height: 1.3; }
.fp-hit-place { font-size: 12.5px; color: #7A7466; padding: 2px 10px 10px; }
.fp-loc-card { background: #fff; color: #26241F; border-radius: 16px; padding: 16px 18px; max-width: 560px; margin: 18px auto 0; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.fp-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin: 18px 0 0; align-items: stretch; }
.fp-story-text { background: #FFFDF5; border: 1px solid #EAE3D0; border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.fp-story-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B85C00; margin-bottom: 10px; }
.fp-story-h { font-size: 30px; line-height: 1.15; font-weight: 900; margin: 0 0 10px; }
.fp-story-p { font-size: 16px; line-height: 1.55; color: #57534A; margin: 0; }
.fp-story-dots { display: flex; gap: 4px; margin-top: 20px; }
.fp-story-dots button { position: relative; width: 30px; height: 30px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.fp-story-dots button::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 999px; background: #D8D2BE; }
.fp-story-dots button.on::after { background: #FF7A00; width: 26px; }
.fp-story-dots button:focus-visible { outline: 2px solid #FF7A00; outline-offset: 2px; }
.fp-story-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; background: #26241F; }
.fp-story-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.fp-story-v.on { opacity: 1; }
@media (max-width: 640px) { .fp-story { grid-template-columns: 1fr; } .fp-story-media { aspect-ratio: 4/5; } }
#guest-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 76px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #26241F; color: #FFF6D8; border-radius: 999px; padding: 8px 8px 8px 16px; font-size: 13.5px; box-shadow: 0 8px 24px rgba(0,0,0,.3); max-width: calc(100vw - 24px); }
#guest-bar button { background: #FFE600; color: #26241F; border: 0; border-radius: 999px; font-weight: 800; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.fpr-wrap { max-width: 920px; margin: 0 auto; padding: 20px 16px 44px; text-align: left; }
.fpr-bar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.fpr-h { font-size: 26px; margin: 4px 0 2px; color: #26241F; }
.fpr-count { color: #7A7466; margin: 0 0 16px; }
.fpr-loading { text-align: center; color: #7A7466; padding: 34px 0; font-size: 16px; }
.fpr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.fpr-card { background: #fff; border: 1px solid #EFE9D8; border-radius: 14px; overflow: hidden; color: #26241F; cursor: pointer; padding: 0; display: flex; flex-direction: column; text-align: left; font: inherit; }
.fpr-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.fpr-noimg { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 34px; background: #FFF6D8; }
.fpr-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.fpr-dish { font-weight: 700; line-height: 1.3; }
.fpr-place { color: #55503F; font-size: 13.5px; }
.fpr-meta { color: #7A7466; font-size: 12.5px; }
.fpr-empty { background: #FFF6D8; border-radius: 14px; padding: 18px; }
.fpr-joinbox { margin-top: 26px; background: #FFF6D8; border-radius: 14px; padding: 16px 18px; text-align: center; }
.fp-loc-card .row { display: flex; gap: 8px; }
.fp-loc-card .row input { flex: 1; min-width: 0; }
.fp-loc-q { font-weight: 800; font-size: 17px; margin: 0 0 10px; }
.fp-signin-line { margin: 20px 0 0; font-size: 14.5px; color: #4A463C; }
.fp-signin-line a { color: #B85C00; font-weight: 700; }
.fp-how { padding: 34px 4px 6px; }
.fp-h2 { font-size: 26px; font-weight: 900; text-align: center; margin: 0 0 6px; }
.fp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 16px; }
.fp-card { background: #FFFDF5; border: 1px solid #EAE3D0; border-radius: 16px; padding: 18px; position: relative; overflow: hidden; }
.fp-card > *:not(.fp-ico) { position: relative; z-index: 1; }
.fp-card h3 { margin: 8px 0 6px; font-size: 17px; }
.fp-card p { margin: 0; color: #57534A; font-size: 14.5px; line-height: 1.5; }
.fp-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 130px; line-height: 1; opacity: .25; z-index: 0; pointer-events: none; }
.fp-join { padding: 30px 4px 10px; max-width: 560px; margin: 0 auto; }
.fp-join-sub { text-align: center; color: #7A7466; margin: 0 0 14px; }
.ticket { border-left: 4px solid #FFE600; }
.ticket .steps { font-size: 12px; color: #7A7466; }
.ticket .steps .on { color: #26241F; font-weight: 800; }
/* Section titles (scheme, Nov 2): every title carries a 4px bar —
   lemon by default; the five identity sections swap in their
   filing hue through the st-* classes set at their render sites
   (Drops dusty blue, Trending terracotta, Live sage, Bucket List
   plum, Coming up warm amber). Color at bar scale only. */
.section-title { font-size: 19px; font-weight: 800; margin: 18px 0 4px; position: relative; padding-left: 13px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 19px; border-radius: 2px; background: #FFE600; }
.section-title.st-drops::before { background: #6E8CA8; }
.section-title.st-trending::before { background: #C4744C; }
.section-title.st-live::before { background: #7D9B76; }
.section-title.st-history::before { background: #8A9BA8; }
.section-title.st-bucket::before { background: #9A7BA6; }
.section-title.st-comingup::before { background: #C79A3B; }
.section-title.st-care::before { background: #C4707E; }
.hidden { display: none !important; }

/* Live page lively pass (Nov 2): a softly pulsing sage dot with the
   honest activity count, photo-first cards, and the lemon Fresh
   chip. Color stays at dot/chip scale — cards remain white, text
   charcoal, no gradients; the pulse is opacity only, and stills
   entirely under reduced-motion. */
.live-pulse { display: flex; align-items: center; gap: 8px; margin: 8px 0 2px; font-size: 13px; color: #5C574B; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #7D9B76; flex: none;
  animation: livePulse 2.4s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-hero { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 8px; }
.fresh-chip { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: #FFEA00; color: #4d3d00; border: 1px solid #FFE600; vertical-align: middle; white-space: nowrap; }
.searchbar { display: flex; gap: 8px; }
.searchbar input { flex: 1; }

/* Search history on the Live tab (Nov 13): quiet tappable rows —
   the search re-runs from the row body, and a small × removes
   just that one row. There is no clear-all, on purpose (founder
   law: per-item deletion only). */
.sh-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 4px; }
.sh-row { display: flex; gap: 6px; align-items: stretch; }
.sh-main { flex: 1; min-width: 0; text-align: left; background: #fff; border: 1px solid #EAE3D0;
  border-radius: 12px; padding: 9px 12px; font-weight: 600; color: #26241F; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-x { flex: none; width: 38px; border: 1px solid #EAE3D0; background: #fff; border-radius: 12px;
  color: #7A7466; font-size: 17px; line-height: 1; cursor: pointer; }

/* Drop day calendar: tap-to-select days, no typing. Always visible
   in the owner drop form; selected days get the strong yellow fill,
   today is outlined, past days are disabled. */
.cal { max-width: 350px; }
.cal-head { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { margin-bottom: 4px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 700; color: #7A7466; }
.cal-day { padding: 8px 0; border: 1px solid #EAE3D0; background: #fff; border-radius: 10px; font-weight: 600; color: #26241F; }
.cal-day:disabled { opacity: 0.35; }
.cal-day.today { outline: 2px solid #FFE600; outline-offset: -2px; }
.cal-day.sel { background: #FFEA00; border-color: #FFE600; color: #26241F; }

/* Drop claim confirmation sheet: tapping Claim opens this overlay
   first; only the sheet's buttons claim. Fixed and centered, capped
   on desktop, above the bottom nav pill. This sheet becomes the
   payment step when payments land (drops are paid in full). */
.claim-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(38, 36, 31, 0.45);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.claim-sheet { width: 100%; max-width: 420px; margin: 0; max-height: calc(100vh - 32px); overflow-y: auto;
  box-shadow: 0 12px 40px rgba(38, 36, 31, 0.25); }
.claim-total { font-size: 18px; font-weight: 800; margin-top: 10px; }

/* Order-ahead (Nov 3): the cart bar floats above the bottom nav
   pill on place and dish pages while the cart holds anything;
   the stepper is the cart's quantity control wherever it shows
   (menu rows, dish page, review sheet); an order's shared
   allergy labels get the app's one warning treatment — muted
   amber, like the .warn pill, never lemon (lemon is brand). */
.cart-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 86px; z-index: 60;
  width: min(680px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px;
  background: #FFFDF5; border: 2px solid #FFE600; border-radius: 999px;
  padding: 8px 10px 8px 18px; box-shadow: 0 8px 28px rgba(38, 36, 31, 0.22); font-weight: 700; }
.stepper { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.order-line { border-top: 1px solid #EAE3D0; padding: 10px 0 2px; }
.order-line input { margin-top: 6px; }
.order-allergy { margin-top: 6px; background: #F8F1DC; color: #8A6716; border: 1px solid #E7D194;
  border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.warn-text { color: #8A6716; }
/* The closed line's CLOSED (Nov 3): caps, bigger, and the app's
   danger red #B02A2A — the same red as .fresh.gone and .btn.danger
   text — so a closed kitchen reads at a glance. The rest of the
   line keeps its muted small treatment; only the word shouts. */
.closed-word { color: #B02A2A; font-weight: 800; font-size: 1.35em;
  text-transform: uppercase; letter-spacing: .02em; }
/* Permanently closed banner (Nov 6): a closed business's page
   (and its dish pages, and its owner's portal) carries this
   box — warm paper tinted toward the danger red, a firm red
   edge, and the words big in the same #B02A2A, so the state
   reads before anything else on the page. No lemon: this is
   not a celebration, and lemon stays brand-only. */
.closed-banner { background: #FBF1EF; border: 2px solid #B02A2A;
  border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.closed-banner-title { color: #B02A2A; font-weight: 800;
  font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
/* Owner order cards (Nov 3, owner-queue visual fix): the
   Open orders queue leads the owner view, so its cards — and
   the Completed orders history's — run the full width of the
   section (the desktop one-column rule sits in the widening
   block below; on phones the cards are block-level already)
   and alternate a soft sage wash order by order, so a busy
   owner separates consecutive orders at a glance. The
   striping is POSITIONAL (nth-child), recomputed on every
   render: after Mark ready / Mark picked up re-sorts the
   queue, the tints follow the position, never the order.
   Tint A is the stock card white; tint B is the sage wash
   the Order ahead badge already wears (#EDF3EA). Lemon is
   never a card tint. The allergy banner inside a card sets
   its own warning background and keeps it — safety beats
   zebra — and pills/buttons keep their own colors. */
.orders-list > .card:nth-child(odd) { background: #FFFFFF; }
.orders-list > .card:nth-child(even) { background: #EDF3EA; }
/* Drops + drop-pickup zebra (user ask, Nov 4): the owner's
   Drops list and Drop pickups list take the orders zebra —
   same tints (card white / sage wash #EDF3EA). Like the dish
   zebra (Nov 4 parity fix), each card is stamped at render
   with data-zb = its index mod 2 in its list and the tint
   rides the stamp, never the DOM position. State stays
   where it already
   lives — in the pills (Donated, runner states, No-show warn),
   the status text and the buttons, which keep their own
   colors on both tints; no card here carried a background
   signal of its own, so nothing is overridden. */
.drops-list > .card[data-zb="0"],
.pickups-list > .card[data-zb="0"] { background: #FFFFFF; }
.drops-list > .card[data-zb="1"],
.pickups-list > .card[data-zb="1"] { background: #EDF3EA; }
/* Scheduled pickup on the owner ticket (Nov 3): the chosen
   pickup time is the promise the order makes, so it prints
   big on the card — readable across a kitchen, day included
   when it isn't today (the renderer drops the word only for
   today's pickups). */
.pickup-big { font-size: 20px; font-weight: 800; margin-top: 6px; }
/* The review sheet's pickup-time picker (Nov 3): a full-width
   select under its label, optgroups per day. */
.pickup-pick select { width: 100%; margin-top: 4px; }
/* Dish-card zebra (Nov 3, user ask from the Monkey King bench;
   parity fix Nov 4): the long Your dishes list — and its diner
   mirror, the place page menu — read as a ledger: card
   interiors alternate the stock white #FFFFFF with the soft
   sage wash #EDF3EA (the orders zebra's tints; never lemon),
   so the eye can track a card across a 60-dish menu. Striping
   is scoped per category group: each grid (.bench-dishes on
   the owner's bench, .place-dishes on the diner place page)
   runs its own count, so a category never inherits a
   neighbour's parity.
   HOW IT WORKS NOW (Nov 4): every card is STAMPED at render
   with data-zb = its index mod 2 within its grid
   (ownerDishCardHtml / dishRowHtml), the bench search filter
   re-stamps by visible position, and the two rules below are
   the whole mechanism — the tint rides the stamp, never the
   DOM position. The first version counted DOM position
   (nth-child), with a 4n checkerboard at >=900px written when
   both grids ran two columns; the Nov 4 owner-full stretch
   collapsed the bench grid to one column, so the checkerboard
   sequence (white, sage, sage, white) read straight down the
   single column and two sage rows landed together — the
   slip the user caught on Eggs 'n Things' Favorites. A
   stamp cannot slip that way: column count, hidden cards and
   interleaved elements are all invisible to it. On the place
   page the grid still runs two columns on desktop, so the
   stripes follow reading order — each row reads white, sage.
   Dish internals (names, prices, freshness and gone lines,
   buttons, order steppers) keep their own colors on both
   tints; a gone dish still reads gone by its red line. */
.bench-dishes > .dish[data-zb="0"],
.place-dishes > .dish[data-zb="0"] { background: #FFFFFF; }
.bench-dishes > .dish[data-zb="1"],
.place-dishes > .dish[data-zb="1"] { background: #EDF3EA; }
/* Card-grid zebra (Nov 3, Phase 2; extended Nov 4): the home
   page's nearest-dishes grid joins the ledger family — the
   same tints (white #FFFFFF / sage wash #EDF3EA), positional,
   recomputed on every render (the grid re-renders whole, so
   DOM order is the visual order and plain nth-child suffices
   — no data-zb stamps needed here). Nov 4 extension (user,
   from his "wings" search screenshot: "Should be alternate
   the colors under dishes matching?"): the SEARCH-results
   grids join too — .search-dishes over the dish-card grids
   ("Dishes matching …", craving matches, EBT-query dishes)
   and .search-places over the place-card grids on the same
   page ("Places matching …", EBT-query places), which render
   the same grid-list card component with .card children, so
   the page reads uniformly. His earlier plain-search boundary
   is superseded by his own call. The EBT blank-query BROWSE
   grid is a different surface and stays untinted. Second
   Nov 4 extension (user, from his Berkeley Places screenshot:
   "Can we make this Alive too"): the PLACES BROWSE grid joins
   as .places-browse — its cards are the same .card children.
   The EBT blank-query browse stays untinted even now: it is
   a genuinely different render path (a plain .grid-list with
   place cards carrying nested dish rows), not this component. Columns:
   the grid stacks one-up at phone widths (odd/even deals the
   tints), runs 2-up at ≥900px (the bench's 4n checkerboard:
   W S / S W), and 3-up at ≥1280px (.cols3), where the period
   runs 6 — W S W / S W S — so neighbours differ across AND
   down. A card carrying a live special keeps its .sale-rim:
   the rim is a shadow pulse and layers over the tint. Dish
   rows nested inside a place card (.ebt-dishes) are not grid
   children and are never tinted by these rules. */
.nearest-dishes > .dish:nth-child(odd),
.search-dishes > .dish:nth-child(odd),
.search-places > .card:nth-child(odd),
.places-browse > .card:nth-child(odd) { background: #FFFFFF; }
.nearest-dishes > .dish:nth-child(even),
.search-dishes > .dish:nth-child(even),
.search-places > .card:nth-child(even),
.places-browse > .card:nth-child(even) { background: #EDF3EA; }
@media (min-width: 900px) {
  .nearest-dishes > .dish:nth-child(4n+1),
  .nearest-dishes > .dish:nth-child(4n),
  .search-dishes > .dish:nth-child(4n+1),
  .search-dishes > .dish:nth-child(4n),
  .search-places > .card:nth-child(4n+1),
  .search-places > .card:nth-child(4n),
  .places-browse > .card:nth-child(4n+1),
  .places-browse > .card:nth-child(4n) { background: #FFFFFF; }
  .nearest-dishes > .dish:nth-child(4n+2),
  .nearest-dishes > .dish:nth-child(4n+3),
  .search-dishes > .dish:nth-child(4n+2),
  .search-dishes > .dish:nth-child(4n+3),
  .search-places > .card:nth-child(4n+2),
  .search-places > .card:nth-child(4n+3),
  .places-browse > .card:nth-child(4n+2),
  .places-browse > .card:nth-child(4n+3) { background: #EDF3EA; }
}
@media (min-width: 1280px) {
  .nearest-dishes > .dish:nth-child(6n+1),
  .nearest-dishes > .dish:nth-child(6n+3),
  .nearest-dishes > .dish:nth-child(6n+5),
  .search-dishes > .dish:nth-child(6n+1),
  .search-dishes > .dish:nth-child(6n+3),
  .search-dishes > .dish:nth-child(6n+5),
  .search-places > .card:nth-child(6n+1),
  .search-places > .card:nth-child(6n+3),
  .search-places > .card:nth-child(6n+5),
  .places-browse > .card:nth-child(6n+1),
  .places-browse > .card:nth-child(6n+3),
  .places-browse > .card:nth-child(6n+5) { background: #FFFFFF; }
  .nearest-dishes > .dish:nth-child(6n+2),
  .nearest-dishes > .dish:nth-child(6n+4),
  .nearest-dishes > .dish:nth-child(6n),
  .search-dishes > .dish:nth-child(6n+2),
  .search-dishes > .dish:nth-child(6n+4),
  .search-dishes > .dish:nth-child(6n),
  .search-places > .card:nth-child(6n+2),
  .search-places > .card:nth-child(6n+4),
  .search-places > .card:nth-child(6n),
  .places-browse > .card:nth-child(6n+2),
  .places-browse > .card:nth-child(6n+4),
  .places-browse > .card:nth-child(6n) { background: #EDF3EA; }
}
/* Places browse, alive (Nov 4): the photoless place's face —
   the Trending pool's warm gradients wearing the place's NAME
   (it launched wearing initials; the user's call the same
   morning: "Instead of the 2 letters put the name on it"),
   quieter than a real photo (shorter, no image) so
   shells stay shells. Life chips sit in the badge family:
   eating takes Trending's terracotta, the drop chip takes the
   Drops dusty blue (same family as .pulse-drop / badge-ebt). */
.place-tile-fallback { height: 120px; border-radius: 12px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 14px; text-align: center;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.place-tile-name { font-size: 22px; font-weight: 800; line-height: 1.2;
  letter-spacing: .2px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.badge-chip.badge-eating { background: #F6E3D9; color: #A04A24; border-color: #E3C3B2; }
.badge-chip.badge-dropchip { background: #EAF0F5; color: #47637F; border-color: #C3D2DF; }
.known-for { font-size: 13px; margin-top: 4px; color: #5C574B; }
/* Places pulse band (Nov 4): the home pulse at browse scale —
   a place's face at row size (real cover photo, else the
   gradient name plate), tappable LIVE rows, and a compact row of
   trending-place tiles. The trending card's title takes
   Trending's terracotta, like its home sibling's section hue. */
.pulse-tile { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; }
.pulse-tile-fallback { display: flex; align-items: center; justify-content: center;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); overflow: hidden; padding: 3px; }
.pulse-tile-name { font-weight: 800; font-size: 8.5px; line-height: 1.15;
  text-align: center; letter-spacing: .1px; display: -webkit-box;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere; }
.place-pulse-row { cursor: pointer; }
.pulse-trend .pulse-title { color: #A04A24; }
.ptrend-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.ptrend-tile { display: flex; flex-direction: column; align-items: center;
  text-align: center; width: 84px; cursor: pointer; }
.ptrend-tile .pulse-tile { width: 52px; height: 52px; border-radius: 12px; }
.ptrend-tile .pulse-tile-name { font-size: 10.5px; }
.ptrend-name { font-size: 12px; font-weight: 700; margin-top: 4px; line-height: 1.2; }
/* Order timeline + home tracker (Nov 3 fix round): the bar is
   an ACTIVE-state element, so its fill and lit dot take the
   brand lemon; finished steps read as dark checks on lemon,
   what's ahead stays paper-and-grey, and a decline stops the
   line in the app's soft red. The tracker strip is a plain
   white card with a lemon edge — a door, not a decoration. */
.order-strip { display: block; background: #fff; border: 1px solid #EAE3D0;
  border-left: 4px solid #FFE600; border-radius: 14px; padding: 10px 12px;
  margin: 10px 0; color: inherit; text-decoration: none;
  box-shadow: 0 1px 3px rgba(38, 36, 31, 0.05); }
.ot-line { position: relative; margin: 12px 2px 2px; }
.ot-track { position: absolute; top: 9px; left: 12.5%; right: 12.5%; height: 4px;
  background: #EFE9D6; border-radius: 2px; }
.ot-fill { height: 100%; background: #FFE600; border-radius: 2px; }
.ot-steps { position: relative; display: flex; }
.ot-step { flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-align: center; }
.ot-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 2px solid #D8D0B8; color: #26241F; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.ot-step.done .ot-dot { background: #FFE600; border-color: #D9BE00; }
.ot-step.current .ot-dot { background: #FFE600; border-color: #26241F;
  box-shadow: 0 0 0 3px #FFF3A6; }
.ot-step.stop .ot-dot { background: #FAECEC; border-color: #E3B7B7; color: #B02A2A; }
.ot-label { font-size: 11px; font-weight: 600; color: #7A7466; }
.ot-step.done .ot-label, .ot-step.current .ot-label { color: #26241F; }
.ot-step.stop .ot-label { color: #B02A2A; }
.ot-caption { font-size: 13px; font-weight: 600; margin-top: 5px; }
.ot-line.mini { margin-top: 8px; }
.ot-line.mini + .ot-caption { font-size: 12px; }
/* Unconfirmed-order safeguard (Fix 5): the Submitted stage
   pulses while an order waits unconfirmed past 10 minutes,
   and the attention box carries the call prompt on both the
   tracker strip and the My orders card. The pulse is a soft
   lemon ring breathing around the stage dot — noticeable,
   not alarming; the box itself is plain paper with the red
   reserved for words that mean stop. (Nov 6: the flash box
   itself goes urgent — red outline + red Call button, see
   .attn-box.urgent below; the pulse is unchanged.) */
.ot-step.pulse .ot-dot { animation: ot-pulse 1.1s ease-in-out infinite; }
@keyframes ot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px #FFF3A6; }
  50% { box-shadow: 0 0 0 7px rgba(255, 230, 0, 0.25); }
}
.order-strip.attention { border-left-color: #B02A2A; }
.attn-box { margin-top: 10px; background: #FDF6EC; border: 1px solid #EBD9B4;
  border-radius: 12px; padding: 10px 12px; font-size: 14px; color: #454138; }
/* Unconfirmed-order urgency (Nov 6, user directive from his
   order #80 screenshot — unconfirmed at 6:52 PM for a 5:00 PM
   pickup, "so it has urgency"): the FLASH box only —
   orderAttentionHtml, rendered solely while
   orderStaleUnconfirmed(o) holds — trades its calm cream rim
   for the cancelled strip's 2px danger-red outline (#B02A2A,
   the .order-ended family) and its Call button turns filled
   red with white text: red = needs your action now. The
   shared .attn-box keeps its calm styling for its other use
   (the no-show nudge box, orderNudgeHtml — a confirmed order,
   a different state), and the card's own top Call/Directions
   pills are untouched. */
.attn-box.urgent { border: 2px solid #B02A2A; }
.attn-box.urgent .btn.primary { background: #B02A2A; border-color: #B02A2A;
  color: #FFFFFF; }
/* Attention-box action row (Nov 6, counter-box overlap fix —
   the user's screenshot: the counter box's Call pill painted
   ON TOP of its Cancel order button). Root cause: the in-box
   Call was a bare <a class="btn"> in plain block flow — an
   anchor is inline by default and .btn sets no display, so
   its vertical padding painted outside its line box (over the
   row above, the explainer below) and its margin-top was
   ignored entirely; the link underline showing through in the
   screenshot is the same tell. The fix is structural, shared
   by every .attn-box variant: the actions ride ONE flex row —
   Accept / Cancel on the left, the Call pushed to the right
   edge (.attn-call) — and as flex items the anchors are
   blockified, painted box == layout box, so overlap is
   impossible at any width. The row wraps; on phone widths
   the Call takes its own full line under Accept/Cancel, one
   clean thumb target, never draped over another control. */
.attn-actions { display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin-top: 8px; }
.attn-actions .btn { text-decoration: none; }
.attn-actions .attn-call { margin-left: auto; }
@media (max-width: 480px) {
  .attn-actions .attn-call { margin-left: 0; flex: 1 1 100%;
    text-align: center; }
}
/* Diner order live tint + contact row (Nov 3, 20:52). Active
   order boxes (tracker strip + active My-orders cards) wear a
   soft amber wash — #FAF0DA — so a live order lifts off the
   warm paper at a glance. It is deliberately distinct from
   the zebra sage (#EDF3EA) and never lemon (lemon is brand
   only, never a fill). Terminal cards keep the neutral card.
   The attention/nudge states layer their own emphasis on
   top (red edge, attn box) — the tint never fights them.
   The contact row sits directly under the order header:
   the kitchen's address as text, a Call tel: button, and a
   Directions maps link — only what's on file renders. */
.order-strip.order-live, .card.order-live { background: #FAF0DA; }
/* Cancelled/declined acknowledgment strip (Nov 3, 21:06): an
   ended-badly order stays on the front page until the diner
   taps Got it, outlined in red — his refinement, "or outline
   it red": the danger red #B02A2A (the .closed-word /
   .fresh.gone family) as a 2px rim at the strip's own radius,
   over a whisper of red tint #FDF4F4. Rim, not paint — the
   deliberate contrast to the live strips' amber FILL above:
   live = amber fill, ended-badly = red outline. The rim
   replaces the base strip's border on all four sides (lemon
   edge included); the word, the timeline's ✕ step (already
   red via .ot-step.stop) and the Got it button carry the
   same family. */
.order-strip.order-ended { background: #FDF4F4; border: 2px solid #B02A2A; }
.order-ended-word { color: #B02A2A; font-weight: 800; font-size: 16px; margin-top: 4px; }
.order-contact { margin-top: 6px; }
.order-addr { color: #454138; font-weight: 600; }
.order-contact-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
/* Ordering-hours editor rows (owner portal + HQ tools). */
.oh-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.oh-row .oh-day { width: 36px; flex: none; font-weight: 700; font-size: 13px; color: #454138; }
.oh-row input[type="time"] { width: auto; flex: 1; padding: 7px 9px; }
.oh-row .oh-closed { display: flex; align-items: center; gap: 5px; margin: 0;
  font-size: 13px; font-weight: 600; color: #454138; white-space: nowrap; }
.oh-row .oh-closed input { width: auto; }
/* EBT browse (Nov 3 fix round): a badged place's dishes listed
   under its card, divided from the place facts by a hairline. */
.ebt-dishes { margin-top: 8px; border-top: 1px solid #F0EAD6; padding-top: 4px; }
/* Claim sheet paths (clarity pass, Nov 2): one question per block.
   Each way of claiming is its own bordered sub-card inside the
   sheet — "Claim it for yourself" (paying) first, "Use your meal
   credit" second, with the runner option nested inside the credit
   block. Meal Rose stays at heading scale for the credit block,
   per the scheme (never a whole tinted card). */
.claim-path { border: 1px solid #EAE3D0; border-radius: 12px; padding: 12px; margin-top: 12px; }
.claim-path-title { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.claim-path-credit { border-color: #EBCFD3; }
.claim-path-credit .claim-path-title { color: #96505E; }

/* Private-note review sheet: same overlay/sheet as the claim
   sheet; the note being reviewed sits in a pale lemon block with
   the diner's line breaks preserved, capped and scrollable for
   long notes. */
.feedback-text { background: #FFFDF5; border: 1px solid #EAE3D0; border-radius: 10px;
  padding: 10px 12px; margin-top: 10px; white-space: pre-wrap; overflow-wrap: break-word;
  max-height: 40vh; overflow-y: auto; }

/* Owner drop-money balance (demo payouts). */
.money-balance { font-size: 30px; font-weight: 800; line-height: 1.15; }

/* Gone-flag review note on the owner's dish list. */
.gone-note { background: #F8F1DC; border: 1px solid #E7D194; border-radius: 10px; padding: 8px 10px; font-size: 13px; margin-top: 8px; }

/* Buy a meal. Give a meal: give-card amount chips, the claimed-
   place chip, and the owner give row in the Drop money card. */
.amt-chip { font: inherit; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid #EAE3D0; color: #26241F; cursor: pointer; }
.amt-chip.on { background: #FFEA00; border-color: #FFE600; }
/* Place badges (Nov 3): checked facts at chip scale in the muted
   hues — lemon is brand-only and never a badge color, cards stay
   white. Accepts CalFresh EBT wears dusty blue (the Drops hue).
   The place page's badge note states the fact + eligibility rule
   + checked date on a white card with a dusty-blue edge. */
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px;
  border-radius: 999px; border: 1px solid #EAE3D0; background: #F5F1E6; color: #5C574B; }
.badge-chip.badge-ebt { background: #EAF0F5; color: #47637F; border-color: #C3D2DF; }
.badge-chip.badge-order { background: #EDF3EA; color: #4F6B47; border-color: #C2D2BA; }
.badge-chip.badge-hidden { background: #F7E8F1; color: #7C2D5A; border-color: #E3BCD4; }
.ht-splash { background: #43284A; color: #FBF3E4; border-radius: 18px; padding: 18px; margin: 14px 0 6px; }
.ht-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #F2C879; }
.ht-head { font-family: 'Baloo 2', sans-serif; font-size: 24px; font-weight: 800; line-height: 1.15; margin: 6px 0; }
.ht-body { font-size: 14.5px; line-height: 1.45; color: #EFE3D2; margin: 6px 0 10px; }
.ht-picks { display: grid; gap: 8px; margin: 10px 0 12px; }
.ht-pick { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 9px 12px; color: #FBF3E4; text-decoration: none; }
.ht-pick span { font-size: 12.5px; color: #E8CF9F; text-align: right; }
.ht-btn { background: #FF7A00; color: #fff; border: 0; font-weight: 800; width: 100%; padding: 12px; border-radius: 999px; }
/* Specials (coupon rail, Nov 3): the owner's own price promise
   sits on the owner-controlled rung like Order ahead — a muted
   warm chip, never lemon. The regular price strikes through
   beside the special price; nothing about it implies Hello
   Yellow verified anything — it's the kitchen's posted price. */
.badge-chip.badge-special { background: #F6E7CE; color: #7A4E12; border-color: #E3C99A; }
/* Dine-in only (Nov 4): muted plum — informational, never an
   alarm color and never the brand lemon. */
.badge-chip.badge-dinein { background: #F3E8EF; color: #6E4460; border-color: #D8BFD2; }
.strike { text-decoration: line-through; opacity: .6; font-weight: 400; }
.special-banner { background: #F6E7CE; border: 1px solid #E3C99A; color: #7A4E12;
  border-radius: 10px; padding: 8px 10px; margin-top: 8px; font-size: 14px; }
/* At-table banner (Nov 7): the seated diner's standing
   context on the place page — lemon family, slim, with the
   Leave table button riding its right edge (.row supplies
   the flex; .grow on the text span does the pushing). */
.table-banner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #FFF3B0; border: 1px solid #E8CE54; color: #6B5310;
  border-radius: 10px; padding: 8px 10px; margin-top: 8px; font-size: 14px; }
/* Prepaid tab view (Nov 7): the tabletop stack, as tickets.
   A wave still standing renders as a bright ticket (the
   .order-live amber family); a served wave settles to one
   dimmed line — the ticket pulled; a refunded wave keeps
   the red-outline ended dress (.order-ended family) and is
   never hidden, only struck from the total. The foot is one
   calm total block, Paid in bold — nothing on the tab is
   ever owed, every wave prepaid at its own checkout. */
.tab-ticket { background: #fff; border: 1px solid #EAE3D0; border-radius: 12px;
  padding: 10px 12px; margin-top: 8px; }
.tab-ticket.live { background: #FAF0DA; border-color: #E3C99A; }
.tab-ticket.served { display: flex; align-items: center; gap: 8px;
  background: #F4F1E8; color: #8A8474; font-size: 13px; padding: 7px 12px; }
.tab-ticket.ended { background: #FDF4F4; border: 2px solid #B02A2A; }
.tab-total { border-top: 2px solid #EAE3D0; margin-top: 12px; padding-top: 8px; }
.tab-total .tab-paid { font-weight: 800; font-size: 17px; margin-top: 4px; }
.tab-group-head { font-size: 15px; margin: 14px 0 2px; }
.special-card { background: #FFF9EC; border: 1px solid #E3C99A; border-radius: 12px;
  padding: 10px 12px; margin-top: 8px; }
/* THE SALE BLINK (user, Nov 3, 15:26): anything on sale
   carries a pulsing rim — "some kind of blinking light, the
   rim that goes around it" — his model is Costco's entrance,
   where the sale items line the door and people spot them
   instantly. Craft rules: ONE pulsing element per card; a
   slow, soft pulse (1.6s ease), never a strobe; terracotta —
   the app's attention hue (#C4744C family), never lemon
   (brand only). Reduced motion gets the rim standing still.
   Reuse this one class on every future sale surface. */
.sale-rim { animation: salePulse 1.6s ease-in-out infinite; }
@keyframes salePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(196, 116, 76, .45), 0 0 0 0 rgba(196, 116, 76, 0); }
  50% { box-shadow: 0 0 0 2px rgba(196, 116, 76, .95), 0 0 14px 3px rgba(196, 116, 76, .35); }
}
@media (prefers-reduced-motion: reduce) {
  .sale-rim { animation: none; box-shadow: 0 0 0 2px rgba(196, 116, 76, .8); }
}
/* Applied-discount lines on the review/claim sheets: each
   named promise on its own line before paying; the block that
   holds them is the sheet's one sale-rim element when a
   discount is live. */
.discount-lines { border-radius: 10px; padding: 6px 8px; margin-top: 10px; }
.discount-line { display: flex; justify-content: space-between; gap: 8px;
  font-size: 14px; padding: 2px 0; }
.discount-line .dl-amt { font-weight: 700; white-space: nowrap; }
.badge-note { font-size: 13px; background: #fff; border: 1px solid #EAE3D0; border-left: 4px solid #6E8CA8;
  border-radius: 10px; padding: 8px 10px; margin-top: 8px; color: #454138; }
/* Hidden Table description block (Nov 17): the "why" title and
   the plain-words description inside the badge note. */
.ht-why { font-family: 'Baloo 2', sans-serif; font-size: 14px; font-weight: 800; color: #43284A; margin-bottom: 2px; }
.ht-desc { margin-top: 5px; line-height: 1.5; }
/* Search filter chips (EBT accepted): plain controls; the "on"
   state takes the badge's own dusty blue, never lemon. */
.filter-chip { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #EAE3D0; color: #5C574B; cursor: pointer; }
.filter-chip.on { background: #EAF0F5; border-color: #6E8CA8; color: #47637F; }
/* Give a meal wears Meal Rose (scheme, Nov 2) — chip and banner
   strip scale only, never a whole card: pale rose tint, deep
   rose text. */
.meal-chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: #F9EDEF; border: 1px solid #EBCFD3; color: #96505E; text-decoration: none; }
/* Care profiles (Nov 2): the avatar is a set glyph in a soft rose
   tint circle — never a photo. The monthly-goal bar is Meal Rose
   at bar scale only, on a pale track; cards stay white. Long
   stories clamp to three lines until "Read more" opens them. */
.care-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  background: #F9EDEF; border: 1px solid #EBCFD3; display: flex; align-items: center;
  justify-content: center; font-size: 28px; line-height: 1; }
.care-bar { height: 6px; border-radius: 3px; background: #F3E4E7; margin-top: 6px; overflow: hidden; }
.care-bar-fill { height: 100%; border-radius: 3px; background: #C4707E; }
/* Points → credit game (Nov 6): the care-bar's geometry with
   Nugget riding the fill's leading edge toward the $5 marker.
   CSS only — the fill and chick transition into place after
   render, a conversion (or landing on a ready block) earns
   one small hop, and reduced-motion renders the end state. */
.points-track { position: relative; height: 6px; border-radius: 3px; background: #F3E4E7; margin-top: 24px; }
.points-fill { height: 100%; border-radius: 3px; background: #C4707E; transition: width .7s ease; }
.points-chick { position: absolute; top: -22px; width: 24px; height: 24px; object-fit: contain;
  transform: translateX(-50%); transition: left .7s ease; pointer-events: none; }
.points-chick.celebrate { animation: pointsHop .9s ease; }
@keyframes pointsHop { 0%, 100% { margin-top: 0; } 30% { margin-top: -9px; } 55% { margin-top: 0; } 75% { margin-top: -5px; } }
.points-goal { position: absolute; right: 0; top: -17px; font-size: 11px; font-weight: 700; color: #C4707E; }
@media (prefers-reduced-motion: reduce) {
  .points-fill, .points-chick { transition: none; }
  .points-chick.celebrate { animation: none; }
}
.care-story.clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.care-story.clamped.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* Front-page generosity banner: one slim rose strip under the
   header carrying the live meals-fed count. */
.meal-banner { display: block; text-align: center; background: #F9EDEF; border: 1px solid #EBCFD3;
  color: #96505E; border-radius: 12px; padding: 8px 12px; margin: 6px 0 10px; font-size: 14px;
  font-weight: 700; text-decoration: none; }
.meal-give-row { margin-top: 12px; border-top: 1px solid #F0EADA; padding-top: 10px; }

/* Owner dish workbench: the dish name in Your dishes is the door
   to the dish's reviews; Edit opens the inline panel (description
   + dish photos); owner replies sit in a pale lemon block under
   a review, on both the owner's dish view and the public page. */
a.dish-name { color: inherit; text-decoration: none; border-bottom: 2px solid #FFEA00; }
.dish-edit { margin-top: 10px; border-top: 1px dashed #EAE3D0; padding-top: 10px; }
.dish-thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dish-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.owner-reply { background: #FFFDF5; border: 1px solid #EAE3D0; border-left: 4px solid #FFEA00;
  border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
.owner-reply .or-label { font-weight: 700; font-size: 12px; margin-bottom: 2px; }

/* Menu sections (dish categories): collapsible groups on the
   owner's Your dishes and the diner place page. The header is a
   plain working row — a chevron toggle, the section name, a
   count — with the owner's manager controls on their side. */
.menu-group { margin: 10px 0; }
.menu-group-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px solid #EAE3D0; padding: 4px 0 6px; }
/* Category filing (scheme, Nov 2): the hue lives in this 4px bar
   and the count chip only — assigned per category in display
   order from the pool in app.js (CAT_HUES). The neutral variant
   marks the uncategorized remainder: no hue, no claim. */
.mg-bar { width: 4px; height: 17px; border-radius: 2px; flex: none; }
.mg-bar-neutral { background: #E3DCC8; }
.count-chip { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.count-chip-neutral { background: #F5F1E6; color: #5C574B; }
.mg-toggle { font: inherit; font-size: 17px; font-weight: 800; background: none; border: none;
  padding: 2px 0; cursor: pointer; color: #26241F; text-align: left; }
.mg-toggle .mg-chev { color: #B7A400; font-size: 13px; }
.cat-rename { padding: 8px 0 2px; }

/* ------------------------------------------------------------------
   Desktop widening (user-approved Nov 1, 2026). EVERYTHING below
   lives inside wide-screen media queries: below 900px the app
   renders exactly as before — same phone column, same pill, same
   spacing. The wrapper classes used here (.search-block,
   .grid-list, .form-card, .narrow-col, .trend-wrap) carry no base
   styles, so they are inert on phones.
   ------------------------------------------------------------------ */
@media (min-width: 900px) {
  /* The content container opens up; centered, phone padding kept. */
  #app { max-width: 1150px; padding-left: 24px; padding-right: 24px; }

  /* Search/Places header block spans the full container — the
     same width as the result grids below it (user ask, Nov 2: the
     Nov 1 readable-width cap left a big blank space on the right
     of Search/Near me/Find it on desktop). Its own search bars
     stretch with it. The generic .searchbar cap stays as the
     default. Second pass (user said yes, Nov 2): the two bars the
     first pass deliberately left capped — the owner's Your dishes
     search (.yd-searchbar) and the HQ listings filter
     (.hq-searchbar) — span the full width too, scoped by their
     hook classes so any other .searchbar stays capped. Below
     900px nothing here applies, so the block folds back to the
     phone column as before. */
  .search-block { max-width: none; }
  .searchbar { max-width: 640px; }
  .search-block .searchbar { max-width: none; }
  .searchbar.yd-searchbar, .searchbar.hq-searchbar { max-width: none; }

  /* Multi-column result grids (2 columns at this width). Cards keep
     their look; dish rows gain a light card frame inside the grid. */
  .grid-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; margin: 10px 0; }
  .grid-list > .card { margin: 0; }
  .grid-list > .dish { background: #fff; border: 1px solid #EAE3D0; border-radius: 14px; padding: 12px;
    box-shadow: 0 1px 3px rgba(38, 36, 31, 0.05); }
  .grid-list > p, .grid-list > .empty, .grid-list > .section-title { grid-column: 1 / -1; }

  /* Forms stay a readable width; lists around them go full width. */
  .form-card { max-width: 720px; }

  /* Account page forms span the full width too (third pass, user
     catch Nov 2): the diner Account page's own form boxes — Add a
     profile and the three Security cards (PIN, authenticator,
     change password) — sat at the 720 readable cap under sections
     that run the full container width, leaving a blank right
     column. Scoped by the renderer's .acct-form hook class, so
     every other page's form cards (HQ Link-an-owner, owner forms)
     keep the cap. Below 900px nothing here applies. */
  .form-card.acct-form { max-width: none; }

  /* Owner page: the whole view takes the full width (fourth
     pass, user catch Nov 4). The owner page's form cards —
     Categories, Add a dish, Menu photo reader, Online
     ordering, Start a drop, Your story, Page details, Add a
     photo — sat at the 720 readable cap, and its working
     lists (private inbox, fix-it tickets, ingredient
     questions, bench dishes, drops, drop pickups, the
     delivery board, photos) sat in the two-column result
     grid, while the sections around them (orders, Drop
     money, coupons) already ran the full container width.
     Scoped by the renderer's .owner-form / .owner-full hook
     classes, like .acct-form and .hq-full before them, so
     diner and HQ surfaces keep their widths. Inside the
     Start a drop form the new width is used plainly: How
     many and Price pair up, the pickup window keeps a
     comfortable measure instead of stretching wall to
     wall, and the day-tap calendar spreads a little. The
     .drop-cols / .drop-times hooks exist only in that
     form and carry no styles below 900px, so the phone
     keeps its stacked fields exactly. */
  .form-card.owner-form { max-width: none; }
  /* HQ fifth pass (user catch, Nov 4): the Link-an-owner form
     card (.hq-form) joins the Send-a-meal form (#hq-deliveries,
     third pass) at the full column — the rest of HQ already ran
     full width via .hq-full lists and plain cards. (The stat
     balls' 4-over-5 wrap lives in the base .hq-ball rules.) */
  .form-card.hq-form { max-width: none; }
  .grid-list.owner-full { grid-template-columns: 1fr; }
  .drop-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .drop-times { max-width: 560px; }
  #dr-cal { max-width: 470px; }

  /* HQ dashboard doors + full-width moderation lists (Nov 2).
     The stat boxes and Listings by area rows are controls, not
     readouts: pointer, a warm gold hover border (the notice /
     HQ-tools tone), press settle, keyboard focus ring in the
     deep gold the chevrons already use. The finder bar and the
     Send a meal form span their sections like the search bars;
     its in-form message rides inside the form card, so it
     stretches with it. HQ moderation lists — claims, gone
     flags, ingredient questions, deliveries, story drafts, both
     photo queues, held notes — read one full-width card per row
     (.hq-full) instead of the half-width result grid; Listings
     and the diner grids keep their columns. */
  .hq-stat, .hq-area, .hq-find-row { cursor: pointer; }
  .hq-stat:hover { border-color: #E7D194; box-shadow: 0 3px 10px rgba(38, 36, 31, 0.10); }
  .hq-stat:active { box-shadow: 0 1px 3px rgba(38, 36, 31, 0.05); }
  .hq-area { border-radius: 10px; padding: 3px 8px; margin: 1px -8px; }
  .hq-area:hover, .hq-find-row:hover { background: #F8F1DC; }
  .hq-stat:focus-visible, .hq-area:focus-visible, .hq-find-row:focus-visible { outline: 2px solid #B7A400; outline-offset: 2px; }
  .grid-list.hq-full { grid-template-columns: 1fr; }
  /* Owner order queues (Nov 3): Open orders and Completed
     orders cards stretch to the section's full width — one
     card per row, like the HQ moderation lists — instead of
     sitting in the two-column result grid. */
  .grid-list.orders-list { grid-template-columns: 1fr; }
  .searchbar.hq-findbar { max-width: none; }
  #hq-deliveries .form-card { max-width: none; }

  /* Detail pages: main column capped readable. */
  .narrow-col { max-width: 760px; }

  /* Trending: bubble map and list side by side. */
  .trend-wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 18px; align-items: start; }
  .trend-wrap #trend-map { height: 460px; margin: 0; }

  /* Drops: the treasure map spans the column, taller on desktop
     like Trending's. */
  #drops-map { height: 460px; }
  #follow-map { height: 460px; }

  /* Entry screen: role buttons pair up, sign-in boxes stay readable. */
  .role-grid { grid-template-columns: 1fr 1fr; }
  details.authbox { max-width: 720px; }
}

/* Diner journal (Nov 2): profile picture, Moments strip, memory
   keepsakes on check-ins. Lemon family, same card language. */
.avatar-round { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-fallback { display: flex; align-items: center; justify-content: center;
  background: #FFEA00; color: #4D3D00; font-weight: 800; font-size: 26px; }
.avatar-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
div.avatar-sm { display: inline-flex; align-items: center; justify-content: center;
  background: #FFEA00; color: #4D3D00; font-weight: 800; font-size: 14px; }
.moments-strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0; }
.moments-strip img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; cursor: pointer; }
.journal-photo { max-width: 180px; border-radius: 12px; margin-top: 8px; display: block; }
.memory-note { background: #FFFDF5; border: 1px solid #EAE3D0; border-radius: 10px;
  padding: 10px 12px; margin-top: 10px; white-space: pre-wrap; overflow-wrap: break-word; }
.memory-edit { margin-top: 10px; border-top: 1px solid #EAE3D0; padding-top: 10px; }
.memory-view { margin-top: 4px; }
.mem-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.mem-thumb { display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.mem-thumb img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.card.flash { box-shadow: 0 0 0 3px #FFE600; transition: box-shadow .3s; }

/* Diner profile page is THEIRS (Nov 3): a cover slideshow of
   their own memory photos on top, and a changeable page
   background behind it. The background layer is a fixed div
   under everything (z-index -1): a soft palette tint, or one of
   their memory photos under a heavy soft-white wash (a solid
   translucent overlay — text and white cards stay exactly as
   readable as on warm paper). Tints touch the page background
   only; cards stay white, text stays warm charcoal, lemon stays
   brand-only. Profile page only — the layer is removed on every
   other view. */
#pfbg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
#pfbg-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
#pfbg-layer .pfbg-wash { position: absolute; inset: 0; background: rgba(255, 253, 245, 0.88); }
.cover-show { position: relative; height: 190px; border-radius: 16px; overflow: hidden;
  border: 1px solid #EAE3D0; margin: 10px 0; background: #FFF6BF; }
.cover-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; cursor: pointer; }
.cover-slide.on { opacity: 1; }
.cover-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 96px);
  background: rgba(255, 253, 245, 0.93); border: 1px solid #EAE3D0; border-radius: 999px;
  padding: 4px 11px; font-size: 12.5px; font-weight: 600; color: #26241F;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-dots { position: absolute; right: 10px; bottom: 13px; display: flex; gap: 6px; }
.cover-dots button { width: 9px; height: 9px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(38, 36, 31, 0.35); background: rgba(255, 253, 245, 0.75); }
.cover-dots button.on { background: #FFEA00; border-color: #B7A400; }
@media (prefers-reduced-motion: reduce) { .cover-slide { transition: none; } }
/* No photo memories yet: the cover is a warm place waiting for
   their life, not a blank — the chick and one invitation line
   on the pale lemon the story bubble already uses. */
.cover-empty { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 16px; cursor: default; }
.cover-empty img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; object-position: 50% 15%;
  border: 2px solid #FFE600; background: #fff; }
.cover-empty-text { font-size: 14.5px; font-weight: 600; color: #5C574B; max-width: 300px; }
/* Customize sheet: swatches are soft mists of the section hues;
   the photo grid is the diner's own memory photos. Selection
   wears the deep-gold ring the chevrons use. */
.bg-swatches { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
.bg-swatch { background: none; border: none; width: 66px; padding: 4px 2px; text-align: center;
  font-size: 11px; font-weight: 600; color: #5C574B; border-radius: 12px; }
.bg-swatch .sw { display: block; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #EAE3D0; margin: 0 auto 4px; }
.bg-swatch.on .sw { border-color: #B7A400; box-shadow: 0 0 0 2px #FFE600; }
.bg-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.bg-photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  cursor: pointer; border: 2px solid #EAE3D0; }
.bg-photo-grid img.on { border-color: #B7A400; box-shadow: 0 0 0 2px #FFE600; }

/* Donation acknowledgment print (Nov 3): when the owner's
   acknowledgment overlay is open, printing shows ONLY the
   acknowledgment — a clean sheet for their records. */
@media print {
  body:has(#ack-overlay) > *:not(#ack-overlay) { display: none !important; }
  #ack-overlay { position: static; background: none; padding: 0; display: block; }
  #ack-overlay .donation-ack { box-shadow: none; max-width: none; max-height: none; overflow: visible; }
  #ack-overlay .donation-ack .btn { display: none; }
}
/* Kitchen ticket print (Nov 7): HY.printTicket fills a
   body-level #kitchen-ticket sheet for one order and calls
   window.print(). On screen the sheet never shows; in print
   it is the ONLY thing on the page (same body:has() shape as
   the acknowledgment rule above). Black on white regardless
   of theme, monospace-friendly stack, fluid width — the
   same ticket reads on an 80mm receipt printer and on
   letter paper. */
#kitchen-ticket { display: none; }
@media print {
  body:has(#kitchen-ticket) > *:not(#kitchen-ticket) { display: none !important; }
  #kitchen-ticket { display: block !important; position: static; page: kitchen-ticket; }
}
@page kitchen-ticket { margin: 6mm; }
#kitchen-ticket { color: #000; background: #fff; line-height: 1.3;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace; }
#kitchen-ticket .kt-head { font-size: 32px; font-weight: 800; letter-spacing: .5px; }
#kitchen-ticket .kt-place { font-size: 20px; font-weight: 700; margin-top: 2px; }
#kitchen-ticket .kt-time { font-size: 15px; margin-top: 2px; }
#kitchen-ticket .kt-allergy { border: 3px solid #000; padding: 6px 8px; margin-top: 10px;
  font-size: 18px; font-weight: 800; }
#kitchen-ticket .kt-kind { font-size: 34px; font-weight: 800; margin-top: 10px; }
/* Treat-a-table (Nov 7): the gift line on BOTH copies —
   boxed and bold like the allergy banner but lighter: good
   news, not a warning. It names the sender and carries the
   note, right under the table line where the cook (and the
   table, on their copy) reads it first. */
#kitchen-ticket .kt-treat { border: 2px solid #000; padding: 5px 8px; margin-top: 8px;
  font-size: 18px; font-weight: 800; }
#kitchen-ticket .kt-diner { font-size: 19px; font-weight: 700; margin-top: 2px; }
#kitchen-ticket .kt-items { margin-top: 10px; border-top: 2px solid #000; padding-top: 4px; }
#kitchen-ticket .kt-item { font-size: 21px; font-weight: 700; margin-top: 7px; }
#kitchen-ticket .kt-note { font-size: 16px; margin: 1px 0 0 16px; }
#kitchen-ticket .kt-count { font-size: 18px; font-weight: 700; margin-top: 12px;
  border-top: 2px solid #000; padding-top: 8px; }
#kitchen-ticket .kt-foot { font-size: 13px; margin-top: 10px; }
/* Receipt copy (Nov 7; two-copy print completed later the
   same day): the second printed page of the same sheet for
   EVERY order — TABLE copy for dine-in, CUSTOMER copy for
   pickup — label/value rows with prices, the tip line and
   the full total. The .kt-coplabel boxed tag heads BOTH
   copies so a torn-off page always says whose it is. */
#kitchen-ticket .kt-coplabel { border: 2px solid #000; padding: 4px 0; margin-bottom: 10px;
  font-size: 15px; font-weight: 800; letter-spacing: 4px; text-align: center; }
#kitchen-ticket .kt-copy2 { page-break-before: always; break-before: page; }
#kitchen-ticket .kt-row { display: flex; justify-content: space-between; gap: 12px;
  font-size: 17px; margin-top: 6px; }
#kitchen-ticket .kt-total { font-size: 21px; font-weight: 800;
  border-top: 2px solid #000; padding-top: 6px; }
@media (min-width: 1280px) {
  /* Widest screens: the main result grids go to 3 columns. */
  .grid-list.cols3 { grid-template-columns: repeat(3, 1fr); }
}

/* Ask Hello Yellow (Nov 3): the floating HQ chat. The launcher
   is a round chick button fixed at the bottom-right, floating
   ABOVE the bottom pill nav (the nav hugs bottom:14px at
   z-index 50; the launcher sits at bottom:86px, z-index 65) so
   it never covers a tab. Two stacking laws ride body:has():
   - while the cart bar is on screen (z-index 60, bottom:86px)
     the launcher and panel lift one bar higher (bottom:158px)
     rather than covering the cart's checkout button;
   - while any sheet/overlay is open (.claim-overlay sits at
     z-index 2000 and owns the screen) the launcher and panel hide
     entirely — they must never sit on a live control.
   The panel is a card pinned bottom-right; on phone widths it
   stretches edge to edge. Lemon is brand-only here (the
   launcher ring + the user's own bubbles lean on #FFEA00,
   the same tint as the nav's active pill). */
.ask-launcher { position: fixed; right: 14px; bottom: 86px; z-index: 65;
  width: 56px; height: 56px; border-radius: 50%; padding: 0; cursor: pointer;
  background: #FFEA00; border: 2px solid #FFE600;
  box-shadow: 0 6px 20px rgba(38, 36, 31, 0.28);
  display: flex; align-items: center; justify-content: center; }
.ask-launcher img { width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; object-position: 50% 15%; background: #fff; display: block; }
.ask-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
  border-radius: 999px; background: #B02A2A; color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
  border: 2px solid #fff; }
.ask-panel { position: fixed; right: 14px; bottom: 86px; z-index: 95;
  width: min(360px, calc(100vw - 28px));
  height: min(520px, calc(100dvh - 110px));
  background: #FFFDF5; border: 1px solid #EAE3D0; border-radius: 16px;
  box-shadow: 0 16px 44px rgba(38, 36, 31, 0.3);
  display: flex; flex-direction: column; overflow: hidden; }
.ask-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-bottom: 1px solid #EAE3D0; background: #fff; }
.ask-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  object-position: 50% 15%; border: 2px solid #FFE600; background: #fff; }
.ask-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex;
  flex-direction: column; gap: 8px; }
.ask-row { display: flex; }
.ask-row.mine { justify-content: flex-end; }
.ask-bubble { max-width: 85%; background: #fff; border: 1px solid #EAE3D0;
  border-radius: 14px; padding: 8px 11px; font-size: 14px; line-height: 1.45;
  overflow-wrap: anywhere; }
.ask-row.mine .ask-bubble { background: #FFF6BF; border-color: #E7D194; }
.ask-time { font-size: 11px; color: #7A7466; margin-top: 4px; }
/* HQ thread view only (Nov 3): message boxes alternate positionally
   — 1st soft blue, 2nd soft green, 3rd blue — a reading rhythm for
   the conversation, NOT a speaker code (the stamp inside each box
   says who wrote it; HQ's own replies take their position's color
   too). Blue is the Drops dusty-blue tint family (#EAF0F5, the EBT
   chip's), green is the Live sage wash (#EDF3EA). The diner/owner
   chat panel does not carry .hq-thread and keeps its speaker
   styling (lemon mine / white other) untouched. */
.ask-msgs.hq-thread > .ask-row:nth-child(odd) > .ask-bubble { background: #EAF0F5; border-color: #C3D2DF; }
.ask-msgs.hq-thread > .ask-row:nth-child(even) > .ask-bubble { background: #EDF3EA; border-color: #C2D2BA; }
/* Same view, same positional law (Nov 3, later): the boxes also
   alternate SIDE — odd left, even right — so color and side march
   together (blue-left, green-right) in a conversation zigzag.
   Speaker-independent like the colors: these selectors outrank
   .ask-row.mine, so HQ's own replies follow position too and the
   stamp inside the box names the speaker. Bubbles cap at 85% of
   the container so a right-hand box sits visibly on the right
   with air on its left. The chat panel is untouched. */
.ask-msgs.hq-thread > .ask-row:nth-child(odd) { justify-content: flex-start; }
.ask-msgs.hq-thread > .ask-row:nth-child(even) { justify-content: flex-end; }
.ask-msgs.hq-thread > .ask-row > .ask-bubble { max-width: 85%; }
/* HQ support inbox LIST (Nov 3, later still): the conversation
   rows wear the same tints as the thread they open — positional
   nth-child, 1st row the soft Drops blue (#EAF0F5 / #C3D2DF),
   2nd the Live sage wash (#EDF3EA / #C2D2BA), 3rd blue — so the
   queue reads in the same rhythm as the conversation inside it.
   Scoped to .hq-support-list, the hook class paintHqSupportList
   puts on its own grid and nothing else renders: every other HQ
   list keeps the stock white card. The list re-renders whole on
   every filter tap, so All / Diners / Owners each re-deal the
   stripes from blue over their visible rows. Row contents —
   label, Owner/Diner pill, waiting badge, timestamp, preview,
   Open button — keep their own colors on both tints. */
.hq-support-list > .card:nth-child(odd) { background: #EAF0F5; border-color: #C3D2DF; }
.hq-support-list > .card:nth-child(even) { background: #EDF3EA; border-color: #C2D2BA; }
.ask-compose { display: flex; gap: 8px; padding: 10px 12px;
  border-top: 1px solid #EAE3D0; background: #fff; }
.ask-compose input { flex: 1; margin: 0; }
.ask-compose .btn { flex: none; }
body:has(.cart-bar) .ask-launcher { bottom: 158px; }
body:has(.cart-bar) .ask-panel { bottom: 158px; height: min(520px, calc(100dvh - 182px)); }
body:has(.claim-overlay) .ask-launcher,
body:has(.claim-overlay) .ask-panel,
body:has(.dish-photo-overlay) .ask-launcher,
body:has(.dish-photo-overlay) .ask-panel { display: none !important; }
/* Timeline following — profile editor (Nov 6, amendments
   #3/#4): the "Public profile" checkbox row and the I DONATED
   sticker — a proud little pill in brand lemon with a black
   edge and a slight tilt, like the I VOTED sticker it echoes.
   It says THAT a diner gave; there is no number on it, ever. */
.public-profile-row { display: flex; align-items: center; gap: 8px;
  margin-top: 14px; cursor: pointer; font-size: 15px; }
.public-profile-row input { width: 20px; height: 20px; flex: none;
  accent-color: #111; }
.donated-badge { display: inline-block; background: #FFE600;
  border: 2px solid #111; border-radius: 999px; padding: 0 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .03em;
  vertical-align: middle; transform: rotate(-3deg);
  white-space: nowrap; }
@media (max-width: 480px) {
  .ask-panel { left: 12px; right: 12px; width: auto; }
}

/* PayPoint (Nov 8, 2026): the public pay page + the owner
   counter panel — the same shapes Square One's PayPoint uses,
   so a customer who has paid anywhere in the network knows
   this screen. */
.pay-test-banner { border: 2px solid #b45309; background: #fdf3e3; color: #7c3f06; border-radius: 10px; padding: 10px 12px; font-size: 15px; margin: 10px 0; }
.pay-tips { border: 1px solid rgba(0, 0, 0, .18); border-radius: 10px; margin: 12px 0; padding: 10px 12px; }
.pay-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.pay-chip { padding: 10px 16px; border-radius: 999px; border: 2px solid #2e6b34; background: #fff; color: #2e6b34; font: inherit; font-weight: 700; cursor: pointer; }
.pay-chip.on { background: #2e6b34; color: #fff; }
.pay-total { font-size: 18px; font-weight: 700; margin: 10px 0; }
.paypoint-latest { border: 2px solid #2e6b34; background: #e9f5ec; }
.paypoint-link { word-break: break-all; font-size: 13px; }
.paypoint-qr { display: block; margin: 8px 0; background: #fff; }

/* Owner portal pages (Nov 9 restructure): the ☰ menu in the
   owner header — a full-width tap target under the place name;
   the dropdown lists each category page, the current one
   marked. Plain brand shapes, no new palette. */
.owner-menu-wrap { margin: 8px 0 4px; }
.owner-menu-btn { width: 100%; text-align: left; font-weight: 700; }
.owner-menu { margin-top: 6px; border: 2px solid #111; border-radius: 12px;
  overflow: hidden; background: #fff; }
.owner-menu-item { display: block; width: 100%; text-align: left;
  padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 600;
  background: #fff; border: 0; border-bottom: 1px solid rgba(0,0,0,.12);
  cursor: pointer; }
.owner-menu-item:last-child { border-bottom: 0; }
.owner-menu-item.on { background: #FFE600; }

/* Your story editor (Nov 9): the story has its own page, and the
   box FORMS AROUND the story (his word) — app.js auto-sizes it to
   its content (fitStoryEditor): a short story gets a short box,
   typing grows it, deleting shrinks it. The floor is ~5 lines so
   an empty story still invites writing; the cap is 75vh, past
   which the box scrolls internally so Save never gets pushed
   away. Comfortable editing type (16px also keeps iOS from
   zooming on focus). Only #ow-story carries this class. */
textarea.story-editor { font-size: 16px; line-height: 1.55;
  padding: 14px; min-height: 152px; max-height: 75vh;
  overflow-y: auto; resize: none; }

/* Draw-on-map search (Nov 10): the full-screen "Search this
   area" overlay. It owns the screen while open (z-index 900 —
   under the claim sheet's 2000, over the app chrome), and its
   Leaflet mount gets the same contained stacking context as
   the other maps so map panes can never outrank app sheets. */
#area-map-overlay { position: fixed; inset: 0; z-index: 900; background: #FFFDF5;
  display: flex; flex-direction: column; height: 100dvh; }
#area-map-overlay.hidden { display: none !important; }
.am-head { display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 4px; }
.am-title { font-size: 19px; font-weight: 800; }
.am-anchor { padding: 4px 12px 0; position: relative; }
.am-picks { margin-top: 6px; border: 1px solid #EAE3D0; border-radius: 12px;
  background: #fff; padding: 6px; max-height: 240px; overflow-y: auto; }
.am-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  width: 100%; text-align: left; font: inherit; font-size: 15px; font-weight: 600;
  background: none; border: none; border-radius: 9px; padding: 8px; cursor: pointer; }
.am-pick:hover, .am-pick:active { background: #F5F1E6; }
#area-map { flex: 0 0 60%; min-height: 300px; margin: 8px 12px 0; border-radius: 16px;
  border: 1px solid #EAE3D0; background: #F5F1E6; position: relative; z-index: 0;
  isolation: isolate; }
.am-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 8px 12px 0; }
.am-zoomrow { display: inline-flex; gap: 6px; }
.am-counts { padding: 6px 12px 0; font-weight: 800; font-size: 16px; min-height: 22px; }
.am-note { padding: 2px 12px 0; font-size: 13px; color: #7A7466; min-height: 17px; }
.am-results { flex: 1; overflow-y: auto; padding: 4px 12px 24px; }
.am-hit { display: flex; flex-direction: column; }
.am-dist { font-size: 12px; color: #7A7466; padding: 3px 2px 0; }
.am-pin-wrap { background: none; border: none; }
.am-dot { width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; }
.am-dot-center { background: #FFEA00; border: 3px solid #c9a800; }
.am-dot-edge { background: #fff; border: 4px solid #c9a800; cursor: ew-resize; }
/* Spot popup (spot-tap fix, Nov 10 build .2): a tapped yellow dot
   answers with the place — name big, address and distance plain,
   and the standard big Call / Directions pair un-squeezed inside
   Leaflet's popup chrome. */
.am-spot-pop .leaflet-popup-content { margin: 14px 16px; line-height: 1.35; }
.am-spot { min-width: 218px; font-size: 15px; }
.am-spot-name { font-size: 19px; font-weight: 800; margin-bottom: 3px; }
.am-spot-line { color: #57534A; margin-top: 2px; }
.am-spot-view { display: block; width: 100%; margin: 12px 0 0; cursor: pointer; }
.am-spot .place-actions { margin: 10px 0 2px; }

/* Ellie's TV, build 2026-11-11.6: the QR-landing highlight on
   the screen-photo card, the occasion chips on the diner form,
   the owner's framed-splash preview mock, and the Google
   sign-in button on the entry page. */
@keyframes spFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 230, 0, 0); }
  25%, 75% { box-shadow: 0 0 0 5px rgba(255, 230, 0, 0.85); }
  50% { box-shadow: 0 0 0 2px rgba(255, 230, 0, 0.4); }
}
.sp-flash { animation: spFlash 1.2s ease-in-out 2; border-color: #FFE600 !important; }
.sp-occ { cursor: pointer; }
.sp-occ input { margin: 0 4px 0 0; width: auto; }
.sp-mock { position: relative; width: min(320px, 100%); margin-top: 10px; border-radius: 10px; overflow: hidden; background: #222; }
.sp-mock-photo { display: block; width: 100%; }
.sp-mock-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-mock-line { position: absolute; left: 7%; right: 7%; bottom: 4.5%; text-align: center;
  font-weight: 800; color: #4A3F00; font-size: 15px; line-height: 1.15; }
.google-btn { display: inline-block; text-decoration: none; }
.google-btn[disabled] { opacity: 0.55; }
.did-you-mean { font-size: 16px; margin: 4px 0 12px; }
.did-you-mean .linkbtn { font-size: 16px; }
.allergy-note { border-top: 1px solid #E5DFD2; margin: 22px 4px 8px; padding: 12px 4px 4px; font-size: 12.5px; line-height: 1.5; color: #7A7261; }
.viewas-banner { background: #43284A; color: #FFF3E2; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.viewas-banner .btn { background: #FFC53D; color: #43284A; border: none; font-weight: 700; }
/* Front page in the round font (founder, Nov 16, 2026): every
   word on the entry page wears Baloo 2, the wordmark's face —
   hero, story, the six boxes, and the sign-in doors alike.
   Scoped to the fp- surfaces so the app's working pages keep
   their plainer text face. */
[class*="fp-"], [class*="fp-"] input, [class*="fp-"] button, [class*="fp-"] select, [class*="fp-"] textarea, [class*="fp-"] a, [class*="fp-"] p, [class*="fp-"] span, [class*="fp-"] div, [class*="fp-"] h1, [class*="fp-"] h2, [class*="fp-"] h3, [class*="fp-"] label {
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
/* The front-page wrapper takes the round font with it — every
   descendant, no exceptions (founder, Nov 16, 2026). */
.fp-page, .fp-page * { font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
/* How-it-works cards wear the loved-one profile scenes (founder,
   Nov 16, 2026: fill each box with that profile color behind the
   watermark so it looks vibrant). Same gradients as Square One's
   bd-* scenes, so the family palette matches across both apps. */
.fp-card.scene-sky { background: linear-gradient(135deg, #7dd3fc 0%, #bae6fd 45%, #f0f9ff 100%); }
.fp-card.scene-ocean { background: linear-gradient(135deg, #5eead4 0%, #a5f3fc 50%, #ecfeff 100%); }
.fp-card.scene-garden { background: linear-gradient(135deg, #86efac 0%, #bbf7d0 50%, #f0fdf4 100%); }
.fp-card.scene-rose { background: linear-gradient(135deg, #f9a8d4 0%, #fbcfe8 50%, #fdf2f8 100%); }
.fp-card.scene-sunset { background: linear-gradient(135deg, #fcd34d 0%, #fda4af 55%, #fbcfe8 100%); }
.fp-card.scene-peach { background: linear-gradient(135deg, #fdba74 0%, #fed7aa 50%, #fff7ed 100%); }
