/* Oct 16 (E-man): Scan's meal, photo and barcode screens rebuilt in the app's own look: black space, iOS blue glass, the same
   tokens as Today and Community (--ms-*, style-sweep.css). No herb-world card, no flat wallpaper, no gold, beige or herb green.
   - #ssFood: the food camera (spirit.js photo()), full screen like the barcode camera: X, a framed view, one big shutter,
     Choose a photo and Type it beside it, a Barcode switch; blocked or missing camera = one blue glass card with a way round
   - .r2-ov.ss-sheet: every sheet of Scan's flows (Log a meal, Your photo, the barcode result card, the not-found form)
   Semantic colours stay (the verdict pill and the low/medium/high meter); everything else is blue glass. Loaded last. */

/* ---------- food camera ---------- */
html #ssFood {
  position: fixed; inset: 0; z-index: 2147483002; overflow: hidden; color: #fff;
  font-family: var(--lg-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif);
  background: radial-gradient(90% 60% at 50% 38%, rgba(30, 110, 255, .22), transparent 70%), radial-gradient(140% 100% at 50% 0%, #0a1f4a 0%, #040a1c 55%, #000 100%);
  animation: ssIn .24s ease-out both; -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
@keyframes ssIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
html #ssFood video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; background: transparent; }
html #ssFood.live video { opacity: 1; }
html #ssFood .ss-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0, transparent 22%, transparent 62%, rgba(0, 0, 0, .7) 100%); }
html #ssFood button, html #ssFood label { -webkit-tap-highlight-color: transparent; font: inherit; color: inherit; cursor: pointer; }
html #ssFood svg { width: 20px; height: 20px; flex: none; }
html #ssFood input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* the one glass recipe for every control here (weather pill / Daily Quest glass) */
html #ssFood :is(.ss-x, .ss-title, .ss-bc, .ss-side, .ss-card, .ss-btn:not(.pri)) {
  background: var(--ms-glass-solid, linear-gradient(180deg, rgba(58, 112, 205, .62), rgba(16, 42, 102, .74)));
  border: 1px solid var(--ms-line, rgba(170, 214, 255, .42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 14px 34px -14px rgba(30, 110, 255, .55);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
}
html #ssFood .ss-top { position: absolute; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 12px); display: flex; align-items: center; justify-content: space-between; gap: 10px; z-index: 2; }
html #ssFood .ss-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
html #ssFood .ss-title { height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html #ssFood .ss-bc { height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }

/* the frame: four soft corners, the same as the barcode camera */
html #ssFood .ss-frame { position: absolute; left: 50%; top: 44%; width: min(70vw, 52vh, 380px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; transition: opacity .3s; }
html #ssFood:not(.live) .ss-frame { opacity: .28; }
html #ssFood .ss-frame i { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .92); filter: drop-shadow(0 0 8px rgba(100, 180, 255, .7)); }
html #ssFood .ss-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
html #ssFood .ss-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 18px; }
html #ssFood .ss-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 18px; }
html #ssFood .ss-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }

/* status card: starting / camera off / no camera, centred in the frame */
html #ssFood .ss-card { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(340px, calc(100% - 40px)); box-sizing: border-box; padding: 20px 18px 18px; border-radius: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; z-index: 2; }
html #ssFood .ss-card:empty { display: none; }
html #ssFood[data-st=starting] .ss-card { width: auto; padding: 14px 20px; flex-direction: row; gap: 10px; border-radius: 999px; }
html #ssFood .ss-card b { font-size: 17px; font-weight: 700; line-height: 1.25; }
html #ssFood .ss-card small { font-size: 14px; line-height: 1.4; color: rgba(235, 240, 255, .82); }
html #ssFood .ss-card-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); margin-bottom: 2px; }
html #ssFood .ss-card-ic svg { width: 24px; height: 24px; }
html #ssFood .ss-card-btns { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 8px; }
html #ssFood .ss-btn { position: relative; flex: 1 1 130px; min-height: 46px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; box-sizing: border-box; }
html #ssFood .ss-btn.pri, html:root body .r2-ov.ss-sheet:not(.full) :is(.r2-btn.pri, .sp-primary) {
  color: #fff !important; border: .5px solid rgba(255, 255, 255, .38) !important;
  background: linear-gradient(180deg, #3d9bff, #0a84ff) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 26px -10px rgba(10, 132, 255, .9) !important;
}
html #ssFood .ss-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: ssSpin .8s linear infinite; }
@keyframes ssSpin { to { transform: rotate(360deg); } }

/* bottom: hint, then Choose a photo · shutter · Type it */
html #ssFood .ss-bar { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 2; padding: 0 14px; }
html #ssFood .ss-hint { margin: 0; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .92); background: rgba(6, 18, 44, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-align: center; max-width: 100%; }
html #ssFood .ss-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: min(100%, 460px); }
html #ssFood .ss-side { position: relative; min-height: 48px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 14px; min-width: 0; }
html #ssFood .ss-side span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html #ssFood .ss-row > :first-child { justify-self: end; }
html #ssFood .ss-row > :last-child { justify-self: start; }
html #ssFood .ss-shutter { width: 78px; height: 78px; border-radius: 50%; padding: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 4px solid #fff; box-shadow: 0 0 0 1px rgba(170, 214, 255, .5), 0 10px 34px -6px rgba(10, 132, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .12s; }
html #ssFood .ss-shutter i { width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: inset 0 -3px 8px rgba(30, 110, 255, .25); }
html #ssFood .ss-shutter:active { transform: scale(.93); }
html #ssFood:not(.live) .ss-shutter { opacity: .35; pointer-events: none; }
html #ssFood :is(.ss-x, .ss-bc, .ss-side, .ss-btn):active { transform: scale(.96); }
/* camera blocked or missing: the card carries the choices, the bottom row would only repeat them */
html #ssFood:is([data-st=denied], [data-st=nocam]) .ss-bar { display: none; }
@media (max-width: 360px), (max-height: 600px) {
  html #ssFood .ss-side span { display: none; }
  html #ssFood .ss-side { width: 52px; height: 52px; padding: 0; border-radius: 50%; }
}
@media (min-width: 700px) {
  html #ssFood .ss-bar { bottom: calc(env(safe-area-inset-bottom, 0px) + 34px); }
  html #ssFood .ss-shutter { width: 86px; height: 86px; }
  html #ssFood .ss-shutter i { width: 66px; height: 66px; }
  html #ssFood .ss-side { min-height: 52px; padding: 0 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html #ssFood { animation: none; } html #ssFood .ss-spin { animation-duration: 2s; } }

/* ---------- sheets: Log a meal, Your photo, the barcode result ---------- */
html:root body .r2-ov.ss-sheet:not(.full) .r2-sh {
  background: var(--ms-glass-solid, linear-gradient(180deg, rgba(58, 112, 205, .62), rgba(16, 42, 102, .74))) !important;
  border: 1px solid var(--ms-line, rgba(170, 214, 255, .42)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 -10px 50px -18px rgba(30, 110, 255, .55), 0 24px 60px -20px rgba(0, 0, 0, .6) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important; backdrop-filter: blur(30px) saturate(180%) !important;
  color: #fff;
}
html:root body .r2-ov.ss-sheet:not(.full) .pf-hd { background: linear-gradient(180deg, rgba(34, 78, 160, .92) 55%, rgba(34, 78, 160, 0)) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .r2-x { background: rgba(255, 255, 255, .14) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; color: #fff !important; }
html:root body .r2-ov.ss-sheet:not(.full) .r2-grab { background: rgba(235, 240, 255, .55) !important; }
html:root body .r2-ov.ss-sheet:not(.full) h2 { color: #fff !important; font-weight: 700; letter-spacing: -.02em; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.sp-note, .muted, .dim, .tiny.dim, small.muted) { color: rgba(225, 235, 255, .72) !important; }

/* glass tiles and rows inside */
html:root body .r2-ov.ss-sheet:not(.full) :is(.sp-quick-cap button, .sp-action:not(.sp-primary), .r2-btn.ghost, .sp-gpt, .b3-have, .sp-recent button, .sp-recent li) {
  background: rgba(255, 255, 255, .1) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important;
  color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14) !important; min-height: 44px;
}
html:root body .r2-ov.ss-sheet:not(.full) .sp-quick-cap button { min-height: 56px; border-radius: 18px !important; font-weight: 600; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.sp-quick-cap, .sp-photo-acts, .sp-herb-tip, .sp-gpt) svg { color: var(--ms-accent, #8fd8ff) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-herb-tip {
  background: linear-gradient(120deg, rgba(64, 130, 235, .34), rgba(16, 42, 102, .5)) !important;
  border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; border-radius: 18px !important; color: #fff !important;
}
html:root body .r2-ov.ss-sheet:not(.full) .sp-herb-tip small { color: var(--ms-accent, #8fd8ff) !important; font-weight: 600; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-herb-tip img { border-radius: 14px; }
html:root body .r2-ov.ss-sheet:not(.full) details.sp-manual { border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; border-radius: 16px; background: rgba(4, 14, 40, .28); padding: 0 12px; }
html:root body .r2-ov.ss-sheet:not(.full) details.sp-manual summary { color: #fff !important; font-weight: 600; min-height: 44px; display: flex; align-items: center; cursor: pointer; }
html:root body .r2-ov.ss-sheet:not(.full) details.sp-manual[open] { padding-bottom: 12px; }
html:root body .r2-ov.ss-sheet:not(.full) label { color: rgba(235, 242, 255, .9) !important; }
html:root body .r2-ov.ss-sheet:not(.full) :is(input:not([type=file]):not([type=checkbox]):not([type=radio]), select, textarea) {
  background: rgba(4, 14, 40, .5) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important;
  color: #fff !important; border-radius: 12px !important; min-height: 44px; box-sizing: border-box; font-size: 16px;
}
html:root body .r2-ov.ss-sheet:not(.full) input::placeholder { color: rgba(205, 220, 255, .5) !important; }
html:root body .r2-ov.ss-sheet:not(.full) :is(input, select, textarea):focus { outline: none; border-color: rgba(143, 216, 255, .9) !important; box-shadow: 0 0 0 3px rgba(10, 132, 255, .35) !important; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.r2-btn.pri, .sp-primary) { min-height: 50px; border-radius: 999px !important; font-weight: 700; width: 100%; justify-content: center; }

/* Your photo: one clear flow */
html:root body .r2-ov.ss-sheet:not(.full) .sp-photo-prev { display: block; width: 100%; max-height: 34vh; object-fit: cover; border-radius: 20px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .7); margin: 4px 0 14px; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-photo-form { display: flex; flex-direction: column; gap: 12px; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-photo-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-photo-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-photo-acts .sp-action { border-radius: 999px !important; justify-content: center; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.sp-gpt, .ss-gpt-wrap .sp-gpt) { display: flex; align-items: center; gap: 8px; border-radius: 999px !important; padding: 0 16px; margin-top: 12px; text-decoration: none; font-weight: 600; font-size: 14px !important; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-gpt span { flex: 1; color: #fff !important; font-size: 14px !important; }

/* Oct 19 2026 food photo AI (food-photo-ai.js): what the AI sees, under the photo */
html:root body .r2-ov.ss-sheet:not(.full) .sp-ai { margin: 12px 0; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-ai:empty { display: none; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-msg { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(225, 235, 255, .8) !important; display: flex; align-items: center; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-h { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-dish { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(170, 214, 255, .22); }
html:root body .r2-ov.ss-sheet:not(.full) .fai-total { background: rgba(10, 132, 255, .16); }
html:root body .r2-ov.ss-sheet:not(.full) .fai-dh { display: flex; align-items: baseline; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-dh b { font-size: 15px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-dh small { flex: 1; opacity: .75; font-size: 12px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-total .fai-dh b { flex: 1; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-x { margin-left: auto; min-width: 32px; min-height: 32px; border-radius: 999px; border: 1px solid rgba(170, 214, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-ms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-m { display: flex; flex-direction: column; align-items: center; text-align: center; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-m b { font-size: 14px; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-m small { font-size: 10px; opacity: .75; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-spin { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid rgba(143, 216, 255, .35); border-top-color: #8fd8ff; animation: fai-spin .9s linear infinite; }
@keyframes fai-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html:root body .r2-ov.ss-sheet:not(.full) .fai-spin { animation: none; } }
/* Oct 22 2026: the photo check can miss (slow AI, no signal). Try again re-sends the same photo, no retake. */
html:root body .r2-ov.ss-sheet:not(.full) .fai-retry { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(143, 216, 255, .5); background: rgba(10, 132, 255, .22); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
html:root body .r2-ov.ss-sheet:not(.full) .fai-retry:active { transform: scale(.97); }
/* Oct 22 2026: "my brand colour is not green". misty-panels.css (loaded later) painted Log as meal in Move's mint; on the
   photo sheet it now takes the brand accent the chat uses for send and your own bubble (item 43, community-tg.css
   --cr-send-g: brand blue #1668dc -> #0b5bbf, white text, AA), the same in Day and Night. */
html:root body .r2-ov.ss-sheet:not(.full) #spMeal .sp-primary {
  --brand-accent-g: linear-gradient(135deg, #1668dc, #0b5bbf);
  background: var(--brand-accent-g) !important; color: #fff !important;
  border: .5px solid rgba(255, 255, 255, .34) !important; text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 10px 26px -10px rgba(22, 104, 220, .9) !important;
}

/* Oct 21 2026 meal result (meal-result.js): the spike verdict first and biggest, then each food (tap to fix), drinks, XP.
   Level colours are the barcode card's (v-ok / v-better / v-spike), glow in the level colour, never white. */
html:root body .r2-ov.ss-sheet.mr-on:not(.full) .sp-photo-prev { display: none; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-photo-form.mr-has > label { display: none; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-ai.mr { margin: 4px 0 14px; display: flex; flex-direction: column; gap: 14px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-verdict {
  --mr-c: 95, 194, 126; display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; border-radius: 22px;
  background: linear-gradient(140deg, rgba(var(--mr-c), .2), rgba(10, 28, 72, .78) 62%) !important;
  border: 1.5px solid rgba(var(--mr-c), .75) !important;
  box-shadow: 0 0 22px -6px rgba(var(--mr-c), .65), inset 0 1px 0 rgba(255, 255, 255, .14) !important;
}
html:root body .r2-ov.ss-sheet:not(.full) .mr-verdict.mr-mid { --mr-c: 232, 180, 79; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-verdict.mr-high { --mr-c: 255, 122, 107; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-vt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-q { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(225, 235, 255, .82) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-ans { display: flex; align-items: center; gap: 10px; font-size: clamp(30px, 9vw, 42px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: rgb(var(--mr-c)) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-ans i { width: 14px; height: 14px; flex: none; border-radius: 50%; background: rgb(var(--mr-c)); box-shadow: 0 0 0 4px rgba(var(--mr-c), .25), 0 0 14px rgba(var(--mr-c), .8); }
html:root body .r2-ov.ss-sheet:not(.full) .mr-why { font-size: 14px; line-height: 1.35; color: rgba(235, 242, 255, .9) !important; }
/* 28 Oct 2026 (Emmanuel, iPhone: "insulinfreu-ndlich"): the sheet body breaks words anywhere (apple-ui .r2-shb), and beside
   the photo the answer had about 186 px, so "insulinfreundlich" at 30-42 px could only break inside the word. Now the
   question and the photo share the top row, the answer gets the card's full width below them, keeps whole words, and its
   size follows the card width (container units) so "insulinfreundlich" fits on one line from 320 px phones up. */
html:root body .r2-ov.ss-sheet:not(.full) .mr-verdict { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; align-items: start; container-type: inline-size; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-vt { display: contents; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-vt > * { grid-column: 1 / -1; min-width: 0; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-vt > .mr-q { grid-column: 1; grid-row: 1; align-self: center; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-thumb { grid-column: 2; grid-row: 1; width: 56px; height: 56px; border-radius: 14px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-ans { overflow-wrap: normal; word-break: normal; -webkit-hyphens: manual; hyphens: manual; font-size: clamp(22px, 6.6vw, 34px); }
@supports (font-size: 1cqi) { html:root body .r2-ov.ss-sheet:not(.full) .mr-ans { font-size: clamp(18px, calc(10.4cqi - 3px), 38px); } }
/* the separate energy line (big portion of nuts or cheese): calories, not the blood-sugar verdict */
html:root body .r2-ov.ss-sheet:not(.full) .mr-energy { display: block; margin-top: 2px; padding: 6px 10px; border-radius: 12px; font-size: 13px; line-height: 1.35; color: rgba(235, 242, 255, .92) !important; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
/* 29 Oct 2026 (Emmanuel: "says spike but not why or which food"): the foods that tip the verdict, each with its reason,
   under the headline, and the same food's card marked in the verdict colour. */
.mr-cause { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding: 8px 10px; border-radius: 12px; font-size: 13.5px; line-height: 1.35; color: rgba(235, 242, 255, .94); background: rgba(var(--mr-c, 255, 122, 107), .12); border: 1px solid rgba(var(--mr-c, 255, 122, 107), .45); }
.mr-cause > b { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--mr-c, 255, 122, 107)); }
.mr-cz { display: block; overflow-wrap: anywhere; }
.mr-cz b { font-weight: 700; color: #fff; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-cause { color: rgba(235, 242, 255, .94) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-item.mr-bad { border-color: rgba(255, 122, 107, .8) !important; box-shadow: 0 0 14px -6px rgba(255, 122, 107, .75); }
html:root body .r2-ov.ss-sheet:not(.full) .mr-flag { margin: 0; padding: 0 56px 12px 14px; font-size: 13px; line-height: 1.35; color: rgba(255, 196, 188, .98) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-flag b { color: rgb(255, 122, 107) !important; font-weight: 700; margin-right: 4px; }
/* Master Knowledge v3: the LOWiSPIKE traffic light under the spike answer (green JA, yellow SELTEN, red NEIN). */
.mr-fk { --fk: 88, 214, 141; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 6px; padding: 6px 10px; border-radius: 14px; font-size: 13px; line-height: 1.3; color: rgba(235, 242, 255, .92); background: rgba(var(--fk), .14); border: 1px solid rgba(var(--fk), .38); }
.mr-fk i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: rgb(var(--fk)); box-shadow: 0 0 8px rgba(var(--fk), .8); align-self: center; }
.mr-fk b { font-weight: 700; letter-spacing: .02em; }
.mr-fk.mr-fk-yellow { --fk: 232, 180, 79; }
.mr-fk.mr-fk-red { --fk: 255, 122, 107; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-thumb { width: 68px; height: 68px; flex: none; object-fit: cover; border-radius: 16px; border: 1px solid rgba(var(--mr-c), .5); align-self: flex-start; }
@media (max-width: 359px) { html:root body .r2-ov.ss-sheet:not(.full) .mr-thumb { display: none; } html:root body .r2-ov.ss-sheet:not(.full) .mr-verdict { padding: 14px; gap: 10px; } }
html:root body .r2-ov.ss-sheet:not(.full) .mr-sec { display: flex; flex-direction: column; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-h { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-h b { font-size: 16px; color: #fff; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-h small { font-size: 13px; color: var(--ms-accent, #8fd8ff) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-item { position: relative; border-radius: 18px; background: rgba(255, 255, 255, .07) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-item.mr-editing { border-color: rgba(143, 216, 255, .8) !important; box-shadow: 0 0 16px -6px rgba(143, 216, 255, .7); }
html:root body .r2-ov.ss-sheet:not(.full) .mr-tap {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center; width: 100%; min-height: 56px;
  padding: 12px 14px 4px; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; color: #fff !important; text-align: left; font: inherit; cursor: pointer; border-radius: 18px;
}
html:root body .r2-ov.ss-sheet:not(.full) .mr-nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-nm b { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-nm small { font-size: 13px; color: rgba(225, 235, 255, .78) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-kc { display: flex; flex-direction: column; align-items: flex-end; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-kc b { font-size: 19px; font-weight: 800; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-kc small { font-size: 12px; color: rgba(225, 235, 255, .78) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-pen { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--ms-accent, #8fd8ff) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-x { position: absolute; bottom: 6px; right: 6px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .3)) !important; background: rgba(255, 255, 255, .08) !important; color: #fff !important; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-mac { margin: 0; padding: 4px 56px 14px 14px; min-height: 36px; align-items: center; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: rgba(225, 235, 255, .8) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-mac b { font-weight: 700; color: #fff; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-note { margin: 0; padding: 0 56px 14px 14px; font-size: 13px; line-height: 1.35; color: rgb(143, 216, 255) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-ed { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-ed label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.mr-ed-acts, .mr-add-row) { display: flex; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-add-row input { flex: 1; min-width: 0; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.mr-save, .mr-cancel, .mr-chip, .mr-add-btn) { min-height: 44px; border-radius: 999px !important; padding: 0 18px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; color: #fff !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-save { background: linear-gradient(180deg, #2f8cff, #0a5bd6) !important; border: 1px solid rgba(143, 216, 255, .7) !important; box-shadow: 0 0 14px -4px rgba(10, 132, 255, .8) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-ed-acts .mr-save { flex: 1; }
/* Fix field suggestions (Oct 21): products the app already knows, dark glass list under "What is it really?" */
html:root body .r2-ov.ss-sheet:not(.full) .mr-sug { display: flex; flex-direction: column; margin-top: -4px; border-radius: 14px !important; overflow: hidden; background: rgba(6, 14, 34, .94) !important; border: 1px solid rgba(143, 216, 255, .38) !important; box-shadow: 0 0 18px -6px rgba(10, 132, 255, .75), 0 10px 24px -12px rgba(0, 0, 0, .8) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-sug[hidden] { display: none; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; min-height: 52px; width: 100%; padding: 8px 14px; margin: 0; text-align: left; font: inherit; color: #fff !important; background: transparent !important; border: 0 !important; border-top: 1px solid rgba(170, 214, 255, .14) !important; border-radius: 0 !important; cursor: pointer; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt:first-child { border-top: 0 !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt:is(:hover, :focus-visible, [aria-selected="true"]) { background: rgba(47, 140, 255, .2) !important; outline: none; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 9em; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt-n b { font-size: 15px; font-weight: 700; color: #fff !important; overflow-wrap: anywhere; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt-n small { font-size: 12px; font-weight: 500; color: rgba(205, 228, 255, .78) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt-k { flex: none; margin-left: auto; font-size: 13px; font-weight: 700; color: rgb(143, 216, 255) !important; white-space: nowrap; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-live { margin: -2px 0 0; font-size: 14px; font-weight: 700; color: rgb(143, 216, 255) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-live[hidden] { display: none; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.mr-cancel, .mr-chip) { background: rgba(255, 255, 255, .1) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; font-weight: 600; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-add { display: flex; flex-direction: column; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-chip { padding: 0 16px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-add-x { align-self: flex-start; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-add-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; background: rgba(143, 216, 255, .06) !important; border: 1px dashed rgba(143, 216, 255, .6) !important; font-weight: 600; }
/* Kitchen autocomplete (Oct 24 2026): your Kitchen rows read "In your kitchen" in mint, and "+ Add food" sits under the foods */
html:root body .r2-ov.ss-sheet:not(.full) .mr-opt-kit .mr-opt-n small { color: rgb(134, 239, 196) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-add-food { margin-top: 2px; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-xp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; border-radius: 18px; background: rgba(143, 216, 255, .1); border: 1px solid rgba(143, 216, 255, .55); box-shadow: 0 0 16px -8px rgba(143, 216, 255, .8); }
html:root body .r2-ov.ss-sheet:not(.full) .mr-xp b { font-size: 20px; font-weight: 800; white-space: nowrap; color: var(--ms-accent, #8fd8ff) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-xp span { flex: 1 1 150px; font-size: 14px; line-height: 1.35; color: rgba(235, 242, 255, .9) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-xp.mr-xp-zero { background: rgba(255, 255, 255, .06); border-color: var(--ms-line-soft, rgba(170, 214, 255, .26)); box-shadow: none; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-xp.mr-xp-zero b { color: #fff !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-tot { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: rgba(225, 235, 255, .8) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-tot > b { color: #fff; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-tot span b { color: #fff; font-weight: 700; }
html:root body .r2-ov.ss-sheet:not(.full) .mr-est { font-size: 12px !important; }

/* barcode result card */
html:root body .r2-ov.ss-sheet:not(.full) .b3-card {
  background: linear-gradient(180deg, rgba(20, 52, 120, .55), rgba(6, 18, 48, .72)) !important;
  border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px -20px rgba(0, 0, 0, .7) !important;
}
html:root body .r2-ov.ss-sheet:not(.full) .b3-card.v-ok { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(95, 194, 126, .35), 0 18px 40px -20px rgba(0, 0, 0, .7) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-card.v-better { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(232, 180, 79, .32), 0 18px 40px -20px rgba(0, 0, 0, .7) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-card.v-spike { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 122, 107, .35), 0 18px 40px -20px rgba(0, 0, 0, .7) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-art:not(:has(img)) { background: radial-gradient(80% 80% at 50% 40%, rgba(64, 140, 255, .3), rgba(6, 18, 48, .6)) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); }
html:root body .r2-ov.ss-sheet:not(.full) .b3-mfill { background: rgba(3, 10, 30, .78) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-herb { background: rgba(255, 255, 255, .08) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); }
html:root body .r2-ov.ss-sheet:not(.full) .b3-herb p { color: #fff !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-facts span { background: rgba(255, 255, 255, .08) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-sil .gold, html:root body .r2-ov.ss-sheet:not(.full) .gold { color: var(--ms-accent, #8fd8ff) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-q { background: radial-gradient(circle, rgba(64, 140, 255, .45), rgba(6, 18, 48, .9)) !important; border: 1px solid var(--ms-line, rgba(170, 214, 255, .42)); }
html:root body .r2-ov.ss-sheet:not(.full) .b3-chip { background: rgba(255, 255, 255, .1) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; color: #fff !important; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-chip::before { color: #5fc27e; }
html:root body .r2-ov.ss-sheet:not(.full) .r2-link { color: var(--ms-accent, #8fd8ff) !important; min-height: 44px; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-eat { gap: 8px; }
html:root body .r2-ov.ss-sheet:not(.full) .b3-eat .r2-btn { min-height: 50px; border-radius: 999px !important; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-quick-item em { color: var(--ms-accent, #8fd8ff) !important; background: rgba(255, 255, 255, .1) !important; }
html:root body .r2-ov.ss-sheet:not(.full) :is(.sp-quick-item, .sp-quick-list button) { background: rgba(255, 255, 255, .08) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; color: #fff !important; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-quick-item small, html:root body .r2-ov.ss-sheet:not(.full) .sp-quick-h { color: rgba(225, 235, 255, .72) !important; }
html:root body .r2-ov.ss-sheet:not(.full) .sp-earned { background: rgba(255, 255, 255, .1) !important; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)) !important; color: #fff !important; }

/* Oct 19, 2026 (E-man: "Ich habe Pop-up. Zack, Mahlzeit-Eintrag."): Log meal opens Breakfast / Lunch / Dinner / Snacks first.
   Four big glass tiles that pop in one after another, thumb-sized (2 x 2, bottom half of the sheet), then Write / Scan / Snap. */
html:root body .r2-ov.ss-sheet .sp-slot-q { margin: 2px 0 12px; color: rgba(225, 235, 255, .78); font-size: 15px; }
/* Oct 21 one meal path: while a fast runs, Log meal says saving ends it (and the points). A thin brand-cyan line, no fill, no icon circle. */
html:root body .r2-ov.ss-sheet .sp-fast-note { margin: -4px 0 12px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); color: var(--ms-accent, #8fd8ff); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
/* Oct 21 scanner result on the one meal path: the photo result screen repeats Log meal's fast line right under its XP, same thin cyan rim */
html:root body .r2-ov.ss-sheet .mr .sp-fast-note.mr-fast { margin: 8px 0 4px; }
html:root body .r2-ov.ss-sheet .sp-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html:root body .r2-ov.ss-sheet .sp-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 112px; padding: 14px 8px; border-radius: 24px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; animation: spSlotIn .42s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(var(--i, 0) * 55ms); transition: transform .14s ease, background .2s ease; touch-action: manipulation; }
html:root body .r2-ov.ss-sheet .sp-slot:active { transform: scale(.94); }
html:root body .r2-ov.ss-sheet .sp-slot b { font-size: 17px; font-weight: 700; }
html:root body .r2-ov.ss-sheet .sp-slot small { font-size: 12px; color: rgba(225, 235, 255, .7); min-height: 1.2em; }
html:root body .r2-ov.ss-sheet .sp-slot.now { border-color: var(--ms-accent, #8fd8ff); background: rgba(143, 216, 255, .16); box-shadow: 0 0 0 1px rgba(143, 216, 255, .35), 0 0 22px rgba(143, 216, 255, .25); }
html:root body .r2-ov.ss-sheet .sp-slot.now small { color: var(--ms-accent, #8fd8ff); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html:root body .r2-ov.ss-sheet .sp-slot-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(143, 216, 255, .14); color: var(--ms-accent, #8fd8ff); }
html:root body .r2-ov.ss-sheet .sp-slot-ic svg { width: 26px; height: 26px; }
html:root body .r2-ov.ss-sheet .sp-slot-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
html:root body .r2-ov.ss-sheet .sp-slot-head h2 { margin: 0; flex: 1; min-width: 0; }
html:root body .r2-ov.ss-sheet .sp-slot-change { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 14px; }
html:root body .r2-ov.ss-sheet .sp-slot-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
html:root body .r2-ov.ss-sheet .sp-how { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; border-radius: 20px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 14px; font-weight: 600; animation: spSlotIn .36s cubic-bezier(.2, .9, .3, 1.15) both; touch-action: manipulation; }
html:root body .r2-ov.ss-sheet .sp-how:active { transform: scale(.94); }
html:root body .r2-ov.ss-sheet .sp-how svg { width: 26px; height: 26px; color: var(--ms-accent, #8fd8ff); }
html:root body .r2-ov.ss-sheet .sp-slot-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: rgba(143, 216, 255, .16); color: var(--ms-accent, #8fd8ff); font-size: 13px; font-weight: 600; }
/* Oct 21 Scan / Fuel / Gap: Log meal asks when you ate (Now default). Chips scroll sideways on 320 px, 44 px tall, same cyan rim */
html:root body .r2-ov.ss-sheet .sp-when { margin: 0 0 12px; }
html:root body .r2-ov.ss-sheet .sp-when > small { display: block; margin: 0 0 6px; color: rgba(225, 240, 255, .78); font-size: 13px; font-weight: 600; }
html:root body .r2-ov.ss-sheet .sp-when-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
html:root body .r2-ov.ss-sheet .sp-when-row::-webkit-scrollbar { display: none; }
html:root body .r2-ov.ss-sheet .sp-when-c { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ms-line-soft, rgba(170, 214, 255, .26)); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; }
html:root body .r2-ov.ss-sheet .sp-when-c[aria-pressed="true"] { border-color: var(--ms-accent, #8fd8ff); background: rgba(143, 216, 255, .18); color: var(--ms-accent, #8fd8ff); }
html:root body .r2-ov.ss-sheet .sp-when-c:focus-visible { outline: 2px solid var(--ms-accent, #8fd8ff); outline-offset: 2px; }
html:root body .r2-ov.ss-sheet .sp-fast-note[hidden] { display: none; }
@keyframes spSlotIn { from { opacity: 0; transform: translateY(14px) scale(.86); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html:root body .r2-ov.ss-sheet :is(.sp-slot, .sp-how) { animation: none; transition: none; } }
@media (prefers-reduced-transparency: reduce) { html:root body .r2-ov.ss-sheet :is(.sp-slot, .sp-how, .sp-slot-change) { background: #1b2740; } }

/* Nov 5 2026 no food on the photo (food-photo-ai.js sayNone): the sheet shows the photo, one line and Retake photo as the main
   button. The meal form, Save photo and the GPT link stay hidden until "It's food, let me type it" (.fai-typing). */
html:root body .r2-ov .r2-sh.fai-nofood:not(.fai-typing) :is(.sp-photo-form, .sp-photo-acts, .sp-gpt) { display: none !important; }
html:root body .r2-ov .r2-sh.fai-nofood.fai-typing .sp-gpt { display: none !important; }
html:root body .r2-ov .fai-none-acts { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
html:root body .r2-ov .fai-none-acts .fai-retake { min-height: 50px; border-radius: 14px; border: 0; background: #fff; color: #000; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html:root body .r2-ov .fai-none-acts .fai-type { min-height: 44px; border: 0; background: none; color: var(--ms-accent, #8fd8ff); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html:root body .r2-ov .fai-none-acts button:active { opacity: .8; transform: scale(.98); }
html:root body .r2-ov .fai-none-acts button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
