/* Eat. Pause. Breathe. - Body Map design system (Cormorant Garamond + Jost, plum, blush) */
:root {
  --plum: #5C1A5E;
  --plum-deep: #2E1A30;
  --teal: #00A9A5;
  --blush: #FFFAFB;
  --card: #FFFFFF;
  --line: #EBDDE6;
  --muted: #6E5A6F;
  --green: #5E8A4C;
  --amber: #C98A1B;
  --red: #B5475A;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(46, 26, 48, 0.07);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--blush);
  color: var(--plum-deep);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  padding: 0 16px env(safe-area-inset-bottom);
  max-width: 560px;
  margin: 0 auto;
}
@media (prefers-reduced-motion: no-preference) {
  .card, .pill, .btn { transition: background-color .2s ease, border-color .2s ease; }
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--plum); line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: 1.85rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; margin-top: 1em; }
p { margin: 0 0 .8em; }

.brand { text-align: center; padding: 28px 0 8px; }
.brand-eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.brand-title { font-size: 2.4rem; font-weight: 700; margin: .1em 0 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin: 16px 0;
}
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2em; }

label { display: block; font-weight: 500; margin: 6px 0; }
input[type=email] {
  width: 100%; font: inherit; padding: 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--plum-deep);
}
input[type=email]:focus { outline: 3px solid rgba(0,169,165,.35); border-color: var(--teal); }

.btn { display: inline-block; font: inherit; font-weight: 500; border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; margin-top: 14px; }
.btn-primary { background: var(--plum); color: #fff; width: 100%; }
.btn-primary:hover { background: #4a144c; }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-quiet { background: transparent; color: var(--plum); border: 1.5px solid var(--line); }
.btn-link { background: none; color: var(--muted); text-decoration: underline; padding: 8px; }
.btn:focus-visible, .pill:focus-visible { outline: 3px solid rgba(0,169,165,.45); outline-offset: 2px; }

.msg { min-height: 1.2em; margin-top: 12px; color: var(--plum); }

.questions { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: q; }
.q { padding: 14px 0; border-top: 1px solid var(--line); counter-increment: q; }
.q:first-child { border-top: 0; }
.q[hidden] { display: none; }
.q-text::before { content: counter(q) ". "; color: var(--muted); font-weight: 500; }
.q-text { margin-bottom: 10px; }
.yn { display: flex; gap: 10px; }
.pill {
  flex: 1; font: inherit; font-weight: 500; padding: 14px 10px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--plum-deep); cursor: pointer; min-height: 48px;
}
.pill[aria-pressed=true] { background: var(--plum); border-color: var(--plum); color: #fff; }

.result { border-width: 2px; }
.result h2 { font-size: 2.2rem; }
.result-line { font-weight: 500; }
.result.green { border-color: var(--green); background: #F4F8F1; }
.result.green h2 { color: var(--green); }
.result.amber { border-color: var(--amber); background: #FCF6EA; }
.result.amber h2 { color: #9A6810; }
.result.red { border-color: var(--red); background: #FBF1F3; }
.result.red h2 { color: var(--red); }
.ideas { padding-left: 1.1em; margin: 0 0 .6em; }
.ideas li { margin: .25em 0; }

.safety { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); margin: 28px 0 24px; padding-top: 14px; }
.safety p { margin: 0 0 .5em; }
.fine { font-size: .78rem; }

/* ---------- v0.2: plates, chips, cards, sheet, lookup ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.result-eating { font-size: 1.08rem; font-weight: 500; }
.section-head { margin: 26px 0 8px; }
.section-head h2 { margin-bottom: .15em; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font: inherit; font-size: .95rem; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--plum-deep); cursor: pointer; }
.chip[aria-selected=true] { background: var(--plum); border-color: var(--plum); color: #fff; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 520px) { .cards { grid-template-columns: 1fr 1fr; } }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; display: flex; flex-direction: column; }
.rcard:focus-visible { outline: 3px solid rgba(0,169,165,.45); outline-offset: 2px; }
.rcard img, .rcard .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #F3E9EF; }
.rcard .noimg { display: grid; place-items: center; background: linear-gradient(135deg, #5C1A5E, #8a3a7c); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; padding: 10px; text-align: center; }
.rcard .rbody { padding: 10px 11px 12px; }
.rcard .rtitle { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.12rem; color: var(--plum); line-height: 1.15; margin: 0 0 6px; }
.rcard.hero { grid-column: 1 / -1; }
.rcard.hero .noimg { aspect-ratio: 16 / 7; font-size: 1.7rem; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .76rem; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: #F3E9EF; color: var(--plum-deep); }
.badge.p { background: #EDE3F2; }
.badge.f { background: #E3F3F2; }
.badge.c { background: #F6EEDD; }
.badge.t { background: #fff; border: 1px solid var(--line); }

.shelf { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.shelf li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.shelf .s-title { font-weight: 500; margin: 0; }
.shelf .s-note { font-size: .9rem; color: var(--muted); margin: 0; }
.shelf button { margin-left: auto; flex: none; font: inherit; font-size: .9rem; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--red); background: #fff; color: var(--red); cursor: pointer; }
.shelf button[aria-pressed=true] { background: var(--red); color: #fff; }

.sheet { border: 0; padding: 0; width: min(560px, 100vw); max-height: 92vh; border-radius: 20px 20px 0 0; margin: auto auto 0; overflow: auto; background: var(--blush); }
.sheet::backdrop { background: rgba(46,26,48,.45); }
@media (min-width: 620px) { .sheet { border-radius: 20px; margin: auto; } }
.sheet-close { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--plum-deep); }
.sheet-media img, .sheet-media .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sheet-media .noimg { display: grid; place-items: center; background: linear-gradient(135deg, #5C1A5E, #8a3a7c); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 2rem; aspect-ratio: 16 / 8; }
.sheet-body { padding: 18px 20px 26px; }
.ings, .steps { padding-left: 1.2em; margin: 0 0 .6em; }
.ings li, .steps li { margin: .3em 0; }

.suggest { list-style: none; padding: 0; margin: 6px 0 0; border-radius: 12px; overflow: hidden; }
.suggest li button { width: 100%; text-align: left; font: inherit; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: pointer; }
.suggest li button:hover { background: #FBF5F8; }
input[type=search] { width: 100%; font: inherit; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--plum-deep); }
input[type=search]:focus { outline: 3px solid rgba(0,169,165,.35); border-color: var(--teal); }
.fres { border-top: 1px solid var(--line); padding: 12px 0; }
.fres-name { font-weight: 500; margin: 0; }
.fres-sub { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.fres .btn { margin-top: 8px; padding: 10px 16px; }
.attrib { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.attrib a { color: var(--muted); }
.safe-list { list-style: none; padding: 0; margin: 0; }
.safe-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.safe-list li:first-child { border-top: 0; }

/* v0.2.2: sign-in polish */
input[type=email], input[type=password] {
  width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--plum-deep); margin-bottom: 6px;
}
input[type=email]:focus, input[type=password]:focus { outline: 3px solid rgba(0,169,165,.35); border-color: var(--teal); }
#view-signin h2 { text-align: center; }
#view-signin > p.muted { text-align: center; font-size: .95rem; }
#view-signin label { margin-top: 12px; }
.seg { display: flex; background: #F3E9EF; border-radius: 999px; padding: 4px; margin: 14px 0 4px; }
.seg button {
  flex: 1; font: inherit; font-weight: 500; font-size: .98rem; border: 0; background: transparent;
  color: var(--muted); padding: 11px 10px; border-radius: 999px; cursor: pointer; min-height: 44px;
}
.seg button[aria-selected=true] { background: #fff; color: var(--plum); box-shadow: 0 2px 8px rgba(46,26,48,.12); }
.seg button:focus-visible { outline: 3px solid rgba(0,169,165,.45); outline-offset: 2px; }
.pw-links { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 8px; }
.pw-links .btn-link { margin-top: 0; font-size: .95rem; text-decoration: none; color: var(--plum); }
.pw-links .btn-link:hover { text-decoration: underline; }
#pw-forgot { color: var(--muted) !important; font-size: .88rem !important; }
#signin-form .fine { text-align: center; margin-top: 10px; }

/* v0.3: barcode scanner */
.scan { margin: 14px 0 6px; }
.scan-frame { position: relative; margin-top: 14px; border-radius: 16px; overflow: hidden; background: var(--plum-deep); aspect-ratio: 4 / 3; }
.scan-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-aim { position: absolute; left: 12%; right: 12%; top: 30%; bottom: 30%; border: 3px solid rgba(255,255,255,.92); border-radius: 12px; box-shadow: 0 0 0 999px rgba(46,26,48,.35); }
@media (prefers-reduced-motion: no-preference) {
  .scan-aim::after { content: ''; position: absolute; left: 6%; right: 6%; height: 2px; background: var(--teal); top: 50%; animation: scanline 1.6s ease-in-out infinite alternate; }
  @keyframes scanline { from { top: 12%; } to { top: 88%; } }
}
#scan-stop { width: 100%; margin-top: 4px; }
.code-form { margin-top: 16px; }
.code-form label { font-size: .92rem; font-weight: 400; color: var(--muted); }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--plum-deep); letter-spacing: .04em; }
.code-row input:focus { outline: 3px solid rgba(0,169,165,.35); border-color: var(--teal); }
.code-row .btn { margin-top: 0; flex: none; }
.scan-hit { border-top: 0; margin-top: 12px; background: #FBF5F8; border-radius: 14px; padding: 14px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 22px 0 10px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tm { font-size: .38em; vertical-align: super; margin-left: 2px; font-family: "Jost", sans-serif; font-weight: 500; }

/* v0.4: Daily Body Barometer */
.baro-rows { margin-top: 10px; }
.baro-row { padding: 12px 0; border-top: 1px solid var(--line); }
.baro-row:first-child { border-top: 0; }
.baro-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 8px; }
.baro-swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--c); align-self: center; flex: none; }
.baro-name { font-weight: 500; }
.baro-hint { font-size: .82rem; color: var(--muted); }
.baro-ctl { display: flex; gap: 8px; align-items: center; }
.baro-dot { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-weight: 500; cursor: pointer; }
.baro-dot.on { background: var(--c); border-color: var(--c); color: #fff; }
.baro-dot[aria-pressed=true] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.baro-pill { flex: 1; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--plum-deep); font: inherit; font-weight: 500; cursor: pointer; }
.baro-pill[aria-pressed=true] { background: var(--c); border-color: var(--c); color: #fff; }
.baro-cycle { width: 96px; flex: none; height: 44px; font: inherit; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--plum-deep); }
.baro-cycle:focus { outline: 3px solid rgba(0,169,165,.35); border-color: var(--teal); }
.baro-dot:focus-visible, .baro-pill:focus-visible { outline: 3px solid rgba(0,169,165,.45); outline-offset: 2px; }
.baro-week { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.baro-grid { display: grid; gap: 4px; }
.bg-row { display: grid; grid-template-columns: 7.2em repeat(7, 1fr); gap: 4px; align-items: center; }
.bg-name { font-size: .8rem; color: var(--plum-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-day { font-size: .72rem; color: var(--muted); text-align: center; }
.bg-cell { height: 24px; border-radius: 6px; background: #F3ECF0; font-size: .72rem; color: #fff; display: grid; place-items: center; font-weight: 600; }
.bg-cell.filled { background: var(--c); }

/* v0.5: same-food mode + privacy note */
.totals { background: #FBF5F8; border-radius: 14px; padding: 12px 14px; margin: 10px 0 6px; }
.totals .fine { margin: 6px 0 0; }
.sf { padding: 14px 0 !important; }
.sf-tex { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.chip-sm { font-size: .82rem; padding: 6px 12px; }
.chip[aria-pressed=true] { background: var(--plum); border-color: var(--plum); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .95rem; margin-top: 10px; }
.sf .btn-primary.btn-sm { width: auto; }
.addon { margin-top: 10px; background: #F4F8F1; border: 1px solid #DDE8D6; border-radius: 14px; padding: 12px 14px; }
.addon-name { font-weight: 500; margin: 2px 0; text-transform: none; }
.addon-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.addon-row .btn-link { margin-top: 10px; }
.privacy { font-size: .85rem; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 10px 14px; margin: 16px 0; }

.empty-note { background: #FBF5F8; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; color: var(--plum-deep); margin-top: 10px; }
.fres > .btn-quiet { width: 100%; margin-top: 8px; }


/* ---------- v0.6 design pass: bottom tabs + polish ---------- */
.tab-off { display: none !important; }
#view-today { padding-bottom: 8px; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 560px; margin: 0 auto;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(46, 26, 48, .06);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .74rem; font-weight: 500;
  padding: 6px 2px; border-radius: 12px; cursor: pointer; min-height: 52px;
}
.tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current=page] { color: var(--plum); background: #F7EEF4; }
.tab[aria-current=page] svg { stroke-width: 2.1; }
.tab:focus-visible { outline: 3px solid rgba(0,169,165,.45); outline-offset: -2px; }
#view-today ~ * , body:has(#view-today:not([hidden])) .safety { padding-bottom: 0; }
body:has(#view-today:not([hidden])) .safety { margin-bottom: 96px; }

/* header: one calm line on a phone */
.brand { padding: 22px 0 4px; }
.brand-title { font-size: clamp(1.75rem, 7.6vw, 2.4rem); white-space: nowrap; }

/* result card actions */
.result-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 4px; }
.result-actions .btn-link { align-self: center; margin-top: 6px; }

/* plates header breathing room */
#plates .section-head { margin-top: 8px; }

/* "Counted" reads as done, not disabled */
.btn:disabled { cursor: default; }
.sf .btn-primary:disabled, .fres .btn-quiet:disabled, .addon .btn-quiet:disabled { opacity: 1; background: #EAF3E6; color: #3F6B30; border: 1.5px solid #CFE3C6; }
.sf .btn-primary:disabled::before, .fres .btn-quiet:disabled::before, .addon .btn-quiet:disabled::before { content: '\2713  '; }
.sf strong { display: block; line-height: 1.3; }

/* hero shake card */
.rcard.hero .noimg { background: radial-gradient(120% 140% at 20% 10%, #8a3a7c 0%, #5C1A5E 55%, #2E1A30 100%); }

.legal-note { text-align: center; color: var(--muted); margin-top: 14px; }
.legal-note a, .legal-links a { color: var(--plum); }
.legal-links { margin-top: 6px; }

.brand-title .dot { color: var(--teal); }


/* ===================== v0.7: Studio design language ===================== */
:root { --acc: #5C1A5E; --r: 22px; --shadow2: 0 10px 30px rgba(46,26,48,.08); }
[hidden] { display: none !important; }
html, body { overflow-x: hidden; }
body { background: #FFF8FA; }
.card { border-radius: var(--r); box-shadow: var(--shadow2); }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -16px; padding: 12px 18px; background: rgba(255,248,250,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .brand-title { font-size: 1.35rem; margin: 0; white-space: nowrap; }
.day-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; padding: 4px 10px 4px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.day-chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--acc); }
.hero { position: relative; margin: 14px -4px 14px; border-radius: 28px; overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(180deg, rgba(46,26,48,0) 25%, rgba(46,26,48,.82) 100%), var(--img) center 30% / cover no-repeat, var(--plum); box-shadow: var(--shadow2); }
.hero-sm { min-height: 210px; }
.hero-in { padding: 20px 20px 18px; width: 100%; }
.hero .hero-h, .hero h2 { color: #fff; font-size: 2rem; margin: 0 0 .25em; }
.hero p { color: rgba(255,255,255,.92); margin: 0; }
.kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin: 0 0 .35em; opacity: .92; }
.hero-in-card { margin: -22px -20px 16px; border-radius: var(--r) var(--r) 0 0; min-height: 240px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 14px; }
.stat { background: #fff; border-radius: 18px; padding: 12px 6px; text-align: center; box-shadow: var(--shadow2); border: 1px solid var(--line); }
.stat b { display: block; font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1.7rem; color: var(--acc); line-height: 1.1; }
.stat span { font-size: .74rem; color: var(--muted); line-height: 1.25; display: block; }
/* one question per screen */
.qcard { padding-top: 16px; }
.qprog { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.qprog span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.qbar { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.qbar i { display: block; height: 100%; width: 33%; background: var(--plum); border-radius: 999px; transition: width .4s ease; }
.questions { margin-top: 8px; }
.q { border-top: 0 !important; padding: 6px 0 4px; animation: rise .35s ease both; }
.q-text { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; line-height: 1.2; font-weight: 600; margin: 4px 0 18px; }
.q-text::before { content: none !important; }
.yn { flex-direction: column; gap: 12px; }
.pill { min-height: 62px; border-radius: 18px; font-size: 1.1rem; text-align: left; padding: 16px 20px; box-shadow: 0 2px 0 rgba(46,26,48,.03); }
.pill[aria-pressed=true] { background: var(--plum); border-color: var(--plum); color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* result takes the day color */
.result { padding-top: 0; overflow: hidden; border-width: 0 !important; background: #fff !important; }
.result-img { margin: 0 -20px 16px; height: 190px; background: var(--acc) center 35% / cover no-repeat; }
.result h2 { color: var(--acc) !important; font-size: 2.4rem; }
.result .eyebrow { color: var(--acc); }
.result-actions .btn-primary { background: var(--acc); box-shadow: 0 8px 20px rgba(46,26,48,.18); }
.btn-primary { border-radius: 999px; box-shadow: 0 8px 20px rgba(92,26,94,.22); }
.chip[aria-selected=true] { background: var(--acc); border-color: var(--acc); }
.rcard { border-radius: 18px; }
.baro-dot.on { box-shadow: 0 4px 10px rgba(46,26,48,.12); }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; display: none; }
@media (prefers-reduced-motion: reduce) { .q { animation: none; } }

.hero[data-tab="food"] { background-position: center, center 72%; }

.rcard.hero img { aspect-ratio: 16 / 9; object-position: center 60%; }

.rcard .rbody { width: 100%; align-self: stretch; box-sizing: border-box; }
.rcard.hero .rbody { text-align: center; padding: 14px 16px 16px; }
.rcard.hero .rtitle { font-size: 1.45rem; }
.rcard.hero .badges { justify-content: center; }

.red-din-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #5C1A5E; margin: 22px 0 10px; }
