/* Qoffa kiosk. Everything is sized in --u (1% of the portrait stage width) so it scales to any screen. */
@font-face { font-family: Alexandria; src: url(assets/fonts/alexandria-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Alexandria; src: url(assets/fonts/alexandria-arabic.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: Cairo; src: url(assets/fonts/cairo-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Cairo; src: url(assets/fonts/cairo-arabic.woff2) format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --u: min(1vw, calc(100vh / 177.78));
  --blue: #085DA8; --blue-d: #06468a; --navy: #052b57; --blue-l: #e9f1fb; --blue-m: #c9dcf5;
  --yellow: #FFE800; --ink: #0b1b36; --mute: #5d6b85; --line: #e3e8f1;
  --bg: #f3f5f9; --card: #fff; --ok: #0a7d45; --ok-l: #e4f5ec; --bad: #c4281c; --bad-l: #fdebe8; --sp: #fff7d9; --sp-b: #eec300;
  --r: calc(3.2 * var(--u)); --r-s: calc(2 * var(--u));
  --sh-1: 0 calc(.3 * var(--u)) calc(1.2 * var(--u)) rgba(11, 27, 54, .06);
  --sh-2: 0 calc(1 * var(--u)) calc(3.5 * var(--u)) rgba(11, 27, 54, .1);
  --sh-3: 0 calc(2 * var(--u)) calc(7 * var(--u)) rgba(11, 27, 54, .22);
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: #030b1c; overflow: hidden; }
body { font-family: Alexandria, Cairo, "Segoe UI", Tahoma, system-ui, sans-serif; color: var(--ink); user-select: none; -webkit-font-smoothing: antialiased; }
#stage { width: calc(100 * var(--u)); height: calc(177.78 * var(--u)); margin: 0 auto; position: relative; top: 50%; transform: translateY(-50%); background: var(--bg); overflow: hidden; }
#app { height: 100%; display: flex; flex-direction: column; font-size: calc(2.6 * var(--u)); line-height: 1.35; position: relative; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; text-align: inherit; transition: transform .18s var(--spring), background .18s, box-shadow .18s; }
button:active { transform: scale(.96); }
.num { font-variant-numeric: tabular-nums; font-weight: 800; direction: ltr; display: inline-block; }
small { font-weight: 700; opacity: .6; font-size: .5em; margin-inline-start: .35em; }
i { font-style: normal; }

/* entry animation: only when the screen changes */
.enter .rise { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(calc(3 * var(--u))); } }

/* brand + header */
.brand { display: flex; align-items: center; gap: calc(1.2 * var(--u)); font-size: calc(3.4 * var(--u)); }
.brand b { font-weight: 900; letter-spacing: -.01em; }
.dot { width: calc(2.2 * var(--u)); height: calc(2.2 * var(--u)); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 calc(.7 * var(--u)) rgba(255, 209, 0, .22); }
.mlogo { height: calc(5 * var(--u)); width: auto; display: block; }
.brand .x { opacity: .45; font-size: .8em; }
.top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: calc(2 * var(--u)); padding: calc(2.4 * var(--u)) calc(3.5 * var(--u)); background: var(--navy); color: #fff; }
.mid { display: flex; flex-direction: column; gap: calc(.2 * var(--u)); }
.step { font-size: calc(1.9 * var(--u)); opacity: .6; font-weight: 600; }
.round { width: calc(7.5 * var(--u)); height: calc(7.5 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: calc(4.4 * var(--u)); line-height: 1; display: grid; place-items: center; padding-bottom: calc(.6 * var(--u)); }
[dir=rtl] .round:not(.dark) { transform: scaleX(-1); }
.round.dark { background: var(--bg); color: var(--ink); font-size: calc(3 * var(--u)); padding: 0; }
.langs { display: flex; gap: calc(.8 * var(--u)); background: rgba(255, 255, 255, .1); padding: calc(.6 * var(--u)); border-radius: 99px; }
.langs button { padding: calc(1 * var(--u)) calc(2 * var(--u)); border-radius: 99px; color: rgba(255, 255, 255, .78); font-size: calc(2.1 * var(--u)); font-weight: 600; }
.langs button.on { background: #fff; color: var(--navy); font-weight: 800; }
.langs.big button { font-size: calc(2.6 * var(--u)); padding: calc(1.4 * var(--u)) calc(2.8 * var(--u)); }

/* attract */
.attract { flex: 1; display: flex; flex-direction: column; background: radial-gradient(120% 70% at 50% 0%, #0a4fb0 0%, var(--blue-d) 38%, var(--navy) 78%); color: #fff; padding: calc(4.5 * var(--u)); cursor: pointer; position: relative; overflow: hidden; }
.glow { position: absolute; width: calc(90 * var(--u)); height: calc(90 * var(--u)); border-radius: 50%; background: radial-gradient(circle, rgba(255, 209, 0, .3), transparent 62%); top: calc(8 * var(--u)); inset-inline-start: calc(5 * var(--u)); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.atop { display: flex; justify-content: space-between; align-items: center; position: relative; }
.atop .brand { font-size: calc(4.2 * var(--u)); }
.orbit { position: relative; height: calc(62 * var(--u)); margin-top: calc(2 * var(--u)); }
.orb { position: absolute; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 calc(2.5 * var(--u)) calc(3.5 * var(--u)) rgba(0, 0, 0, .35)); }
.orb .plate { width: 100%; height: 100%; }
.o0 { width: calc(40 * var(--u)); height: calc(40 * var(--u)); left: calc(25.5 * var(--u)); top: calc(10 * var(--u)); }
.o1 { width: calc(23 * var(--u)); height: calc(23 * var(--u)); left: calc(1 * var(--u)); top: calc(3 * var(--u)); animation-delay: -1.6s; }
.o2 { width: calc(25 * var(--u)); height: calc(25 * var(--u)); left: calc(66 * var(--u)); top: 0; animation-delay: -3.1s; }
.o3 { width: calc(19 * var(--u)); height: calc(19 * var(--u)); left: calc(6 * var(--u)); top: calc(38 * var(--u)); animation-delay: -4.4s; }
.o4 { width: calc(21 * var(--u)); height: calc(21 * var(--u)); left: calc(68 * var(--u)); top: calc(36 * var(--u)); animation-delay: -2.4s; }
@keyframes float { 50% { transform: translateY(calc(-2.2 * var(--u))) rotate(5deg); } }
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: calc(2.6 * var(--u)); position: relative; }
.kicker { background: var(--yellow); color: var(--navy); font-weight: 800; padding: calc(.9 * var(--u)) calc(3.2 * var(--u)); border-radius: 99px; font-size: calc(3.1 * var(--u)); }
.hero h1 { font-size: calc(7.6 * var(--u)); line-height: 1.22; font-weight: 900; letter-spacing: -.015em; }
.hero p { font-size: calc(3 * var(--u)); opacity: .82; max-width: 84%; line-height: 1.6; }
.cta { margin-top: calc(1.5 * var(--u)); background: #fff; color: var(--blue-d); font-weight: 800; font-size: calc(4 * var(--u)); padding: calc(2.8 * var(--u)) calc(6.5 * var(--u)); border-radius: 99px; display: flex; align-items: center; gap: calc(2 * var(--u)); box-shadow: var(--sh-3); animation: pulse 2.2s ease-in-out infinite; }
.cta i, .primary i { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: .9em; padding-bottom: .12em; }
[dir=rtl] .cta i, [dir=rtl] .primary i { transform: scaleX(-1); }
@keyframes pulse { 50% { transform: scale(1.04); box-shadow: 0 0 0 calc(2.4 * var(--u)) rgba(255, 255, 255, .12), var(--sh-3); } }
.ad { display: flex; align-items: center; gap: calc(2.6 * var(--u)); background: rgba(255, 255, 255, .1); backdrop-filter: blur(calc(2 * var(--u))); border: calc(.2 * var(--u)) solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: calc(2.2 * var(--u)) calc(3 * var(--u)); position: relative; animation: rise .5s var(--ease); }
.adicon { font-size: calc(6.5 * var(--u)); width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: var(--r-s); background: #fff; display: grid; place-items: center; }
.ad > div { flex: 1; } .ad b { display: block; font-size: calc(3.4 * var(--u)); font-weight: 800; }
.ad div span { font-size: calc(2.5 * var(--u)); opacity: .8; }
.sp-tag { font-size: calc(1.9 * var(--u)); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #6b5200; background: var(--sp); border: calc(.2 * var(--u)) solid var(--sp-b); padding: calc(.3 * var(--u)) calc(1.2 * var(--u)); border-radius: 99px; white-space: nowrap; }
.afoot { display: flex; justify-content: space-between; align-items: center; margin-top: calc(2.4 * var(--u)); font-size: calc(1.9 * var(--u)); color: rgba(255, 255, 255, .5); }
.afoot button { padding: calc(1 * var(--u)); color: rgba(255, 255, 255, .7); }

/* plates */
.plate { position: relative; display: block; width: calc(11 * var(--u)); height: calc(11 * var(--u)); flex: none; filter: drop-shadow(0 calc(.6 * var(--u)) calc(1 * var(--u)) rgba(11, 27, 54, .18)); }
.plate svg { width: 100%; height: 100%; display: block; }
.plate em { position: absolute; inset-inline-end: -4%; bottom: -4%; width: 42%; height: 42%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: calc(2.6 * var(--u)); box-shadow: var(--sh-1); line-height: 1; }
.orb .plate em { font-size: 1em; display: none; }
.plate.lg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); } .plate.lg em { font-size: calc(5 * var(--u)); }

/* main + footer */
.main { flex: 1; overflow-y: auto; padding: calc(3.5 * var(--u)); scrollbar-width: none; }
.main::-webkit-scrollbar, .opts::-webkit-scrollbar { display: none; }
.title { font-size: calc(5 * var(--u)); font-weight: 900; letter-spacing: -.01em; }
.sub { color: var(--mute); margin-top: calc(1 * var(--u)); font-size: calc(2.6 * var(--u)); line-height: 1.6; }
.card { background: var(--card); border-radius: var(--r); padding: calc(3.5 * var(--u)); box-shadow: var(--sh-1); }
.bar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(calc(2 * var(--u))); border-top: calc(.2 * var(--u)) solid var(--line); padding: calc(2.6 * var(--u)) calc(3.5 * var(--u)) calc(3.5 * var(--u)); display: flex; flex-direction: column; gap: calc(2 * var(--u)); box-shadow: 0 calc(-1 * var(--u)) calc(4 * var(--u)) rgba(11, 27, 54, .07); position: relative; z-index: 1; }
.bar.two { flex-direction: row; } .bar.two .primary { flex: 1.7; } .bar.two .secondary { flex: 1; }
.primary { background: linear-gradient(180deg, #0a5fc4, var(--blue)); color: #fff; font-weight: 800; font-size: calc(3.5 * var(--u)); padding: calc(3 * var(--u)); border-radius: calc(2.8 * var(--u)); width: 100%; display: flex; align-items: center; justify-content: center; gap: calc(1.8 * var(--u)); box-shadow: 0 calc(1 * var(--u)) calc(2.5 * var(--u)) rgba(0, 80, 170, .35), inset 0 calc(.2 * var(--u)) 0 rgba(255, 255, 255, .25); }
.secondary { background: #fff; border: calc(.3 * var(--u)) solid var(--line); color: var(--ink); font-weight: 700; font-size: calc(2.8 * var(--u)); padding: calc(3 * var(--u)) calc(2 * var(--u)); border-radius: calc(2.8 * var(--u)); text-align: center; }
.secondary.danger { color: var(--bad); }
.bad { color: var(--bad); } .ok { color: var(--ok); }
.notice { margin-top: calc(2 * var(--u)); background: var(--bad-l); color: var(--bad); border-radius: var(--r-s); padding: calc(2 * var(--u)) calc(2.6 * var(--u)); font-weight: 700; font-size: calc(2.4 * var(--u)); }
.fine { color: var(--mute); font-size: calc(1.9 * var(--u)); text-align: center; margin: calc(3 * var(--u)) 0 calc(1 * var(--u)); }

/* setup */
.setup { display: flex; flex-direction: column; gap: calc(2.6 * var(--u)); justify-content: center; }
.setup h2 { font-size: calc(3.4 * var(--u)); font-weight: 800; text-align: center; margin-bottom: calc(2.6 * var(--u)); }
.setup h2.gap { margin-top: calc(3.5 * var(--u)); }
.hero-q { background: linear-gradient(165deg, var(--blue) 0%, var(--navy) 100%); color: #fff; padding: calc(5 * var(--u)) calc(3.5 * var(--u)); box-shadow: var(--sh-2); }
.stepper { display: flex; align-items: center; justify-content: center; gap: calc(4 * var(--u)); }
.stepper button { width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: calc(6 * var(--u)); font-weight: 700; line-height: 1; display: grid; place-items: center; padding-bottom: calc(.8 * var(--u)); }
.hero-q .stepper button { background: rgba(255, 255, 255, .14); color: #fff; }
.val { min-width: calc(34 * var(--u)); text-align: center; font-size: calc(9 * var(--u)); direction: ltr; line-height: 1.1; }
.stepper.xl .val { font-size: calc(17 * var(--u)); letter-spacing: -.03em; }
.stepper.xl .val small { color: var(--yellow); opacity: 1; font-size: .22em; letter-spacing: 0; }
.chips { display: flex; justify-content: center; gap: calc(1.4 * var(--u)); margin-top: calc(3.5 * var(--u)); }
.chips button { padding: calc(1.3 * var(--u)) calc(2.8 * var(--u)); border-radius: 99px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: calc(2.6 * var(--u)); font-variant-numeric: tabular-nums; }
.chips button.on { background: var(--yellow); color: var(--navy); }
.seg { display: flex; background: var(--bg); border-radius: calc(2.6 * var(--u)); padding: calc(.8 * var(--u)); gap: calc(.8 * var(--u)); }
.seg button { flex: 1; padding: calc(2.3 * var(--u)) calc(1 * var(--u)); border-radius: calc(2 * var(--u)); font-weight: 700; font-size: calc(2.8 * var(--u)); text-align: center; color: var(--mute); }
.seg button.on { background: #fff; color: var(--blue); box-shadow: var(--sh-1); }

/* budget card */
.bcard { display: flex; align-items: center; gap: calc(3.5 * var(--u)); background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); color: #fff; border-radius: var(--r); padding: calc(3 * var(--u)) calc(3.5 * var(--u)); box-shadow: var(--sh-2); }
.ring { position: relative; width: calc(26 * var(--u)); height: calc(26 * var(--u)); flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.trk { stroke: rgba(255, 255, 255, .14); } .arc { stroke: var(--yellow); transition: stroke-dashoffset .9s var(--ease); }
.over .arc { stroke: #ff7a66; }
.rin { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rin b { font-size: calc(5.4 * var(--u)); line-height: 1.1; letter-spacing: -.02em; }
.rin span { font-size: calc(1.8 * var(--u)); opacity: .7; }
.binfo { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: calc(1.2 * var(--u)); }
.pill { font-size: calc(2 * var(--u)); font-weight: 800; padding: calc(.5 * var(--u)) calc(1.8 * var(--u)); border-radius: 99px; }
.pill.ok { background: #c9f5dc; color: #065c32; } .pill.bad { background: #ffd9d3; color: #8f1a10; }
.binfo .big { font-size: calc(3.4 * var(--u)); font-weight: 800; line-height: 1.3; }
.cb { font-size: calc(2.2 * var(--u)); opacity: .9; } .cb b { color: var(--yellow); }
.cb.big { background: var(--blue-l); color: var(--blue-d); border-radius: var(--r-s); padding: calc(2.2 * var(--u)) calc(3 * var(--u)); font-size: calc(3 * var(--u)); margin-top: calc(3 * var(--u)); opacity: 1; }
.cb.big b { color: var(--blue); }

/* week grid */
.wk { margin-top: calc(2.4 * var(--u)); display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); }
.drow { display: grid; grid-template-columns: calc(13 * var(--u)) 1fr 1fr; gap: calc(1.4 * var(--u)); align-items: stretch; }
.m1 .drow { grid-template-columns: calc(13 * var(--u)) 1fr; }
.dlab { display: grid; place-items: center; background: var(--blue-l); color: var(--blue-d); border-radius: var(--r-s); font-size: calc(2.2 * var(--u)); font-weight: 800; text-align: center; padding: calc(.5 * var(--u)); }
.slot { background: var(--card); border-radius: var(--r-s); padding: calc(1.5 * var(--u)); display: flex; align-items: center; gap: calc(1.6 * var(--u)); box-shadow: var(--sh-1); min-height: calc(13.6 * var(--u)); min-width: 0; }
.slot .plate { width: calc(10 * var(--u)); height: calc(10 * var(--u)); }
.sinfo { display: flex; flex-direction: column; gap: calc(.3 * var(--u)); min-width: 0; }
.sinfo em { font-style: normal; font-size: calc(1.7 * var(--u)); color: var(--mute); font-weight: 600; }
.sinfo b { font-size: calc(2.25 * var(--u)); line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m1 .sinfo b { font-size: calc(2.9 * var(--u)); } .m1 .sinfo em { font-size: calc(2 * var(--u)); }
.slot.empty { background: none; box-shadow: none; border: calc(.3 * var(--u)) dashed var(--blue-m); color: var(--blue); justify-content: center; font-weight: 700; font-size: calc(2.2 * var(--u)); }
.slot.empty i { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: 50%; background: var(--blue-l); display: grid; place-items: center; font-size: calc(3.4 * var(--u)); line-height: 1; }

/* sheets */
.scrim { position: absolute; inset: 0; background: rgba(6, 26, 61, .6); backdrop-filter: blur(calc(.8 * var(--u))); z-index: 2; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; inset-inline: 0; bottom: 0; max-height: 78%; background: #fff; border-radius: calc(5 * var(--u)) calc(5 * var(--u)) 0 0; padding: calc(2 * var(--u)) calc(4 * var(--u)) calc(4 * var(--u)); display: flex; flex-direction: column; z-index: 3; animation: up .42s var(--ease); box-shadow: var(--sh-3); }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: calc(9 * var(--u)); height: calc(.9 * var(--u)); border-radius: 99px; background: var(--line); align-self: center; margin-bottom: calc(2.5 * var(--u)); flex: none; }
.shead { display: flex; justify-content: space-between; align-items: center; margin-bottom: calc(2.4 * var(--u)); }
.sheet h3 { font-size: calc(4.2 * var(--u)); font-weight: 900; line-height: 1.25; }
.opts { overflow-y: auto; display: flex; flex-direction: column; gap: calc(1.2 * var(--u)); scrollbar-width: none; }
.opt { display: flex; align-items: center; gap: calc(2.2 * var(--u)); padding: calc(1.4 * var(--u)) calc(2 * var(--u)); border-radius: var(--r-s); background: var(--bg); }
.opt .plate { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }
.opt > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.opt b { font-size: calc(2.7 * var(--u)); font-weight: 700; } .opt em { font-style: normal; color: var(--mute); font-size: calc(2 * var(--u)); }
.delta { font-weight: 800; direction: ltr; white-space: nowrap; padding: calc(.6 * var(--u)) calc(1.6 * var(--u)); border-radius: 99px; font-size: calc(2.3 * var(--u)); }
.delta.up { color: var(--bad); background: var(--bad-l); } .delta.down { color: var(--ok); background: var(--ok-l); }
.dhead { display: flex; align-items: center; gap: calc(3.5 * var(--u)); margin-bottom: calc(3 * var(--u)); }
.dn { color: var(--blue); font-weight: 800; font-size: calc(2.2 * var(--u)); }
.meta { display: flex; flex-wrap: wrap; gap: calc(1.2 * var(--u)); margin-top: calc(1.4 * var(--u)); }
.meta span { background: var(--bg); border-radius: 99px; padding: calc(.6 * var(--u)) calc(1.8 * var(--u)); font-size: calc(2.1 * var(--u)); font-weight: 700; }
.sheet h4 { font-size: calc(2.3 * var(--u)); color: var(--mute); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: calc(1 * var(--u)); }
.ing { list-style: none; padding: 0; overflow-y: auto; }
.ing li { display: flex; justify-content: space-between; padding: calc(1.5 * var(--u)) 0; border-bottom: calc(.2 * var(--u)) solid var(--line); font-size: calc(2.6 * var(--u)); }
.ing b { direction: ltr; font-variant-numeric: tabular-nums; }
.sacts { display: flex; gap: calc(1.6 * var(--u)); margin-top: calc(3 * var(--u)); } .sacts .primary { flex: 2; font-size: calc(3 * var(--u)); } .sacts .secondary { flex: 1; }

/* list */
.lhead { display: flex; flex-direction: column; gap: calc(1.6 * var(--u)); }
.prog { display: flex; align-items: center; gap: calc(2 * var(--u)); font-size: calc(2.2 * var(--u)); color: var(--mute); font-weight: 600; }
.track { flex: 1; height: calc(1.4 * var(--u)); background: var(--line); border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width .4s var(--ease); }
.group { background: var(--card); border-radius: var(--r); margin-top: calc(2.2 * var(--u)); overflow: hidden; box-shadow: var(--sh-1); }
.ghead { display: flex; justify-content: space-between; align-items: center; padding: calc(1.8 * var(--u)) calc(2.6 * var(--u)); font-size: calc(2.6 * var(--u)); border-bottom: calc(.2 * var(--u)) solid var(--line); }
.ghead b { font-weight: 800; }
.aisle { background: var(--navy); color: #fff; padding: calc(.5 * var(--u)) calc(1.8 * var(--u)); border-radius: 99px; font-size: calc(2 * var(--u)); font-weight: 700; }
.row { padding: calc(.6 * var(--u)) calc(2.6 * var(--u)) calc(1.4 * var(--u)); } .row + .row { border-top: calc(.2 * var(--u)) solid var(--line); }
.rmain { display: flex; align-items: center; gap: calc(1.8 * var(--u)); width: 100%; padding: calc(1.2 * var(--u)) 0; }
.chk { width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: 50%; border: calc(.35 * var(--u)) solid var(--blue-m); display: grid; place-items: center; color: #fff; font-size: calc(2.6 * var(--u)); font-weight: 900; flex: none; transition: all .2s var(--spring); }
.done .chk { background: var(--ok); border-color: var(--ok); transform: scale(1.08); }
.done .rname b { text-decoration: line-through; color: var(--mute); }
.rname { flex: 1; min-width: 0; } .rname b { font-size: calc(2.5 * var(--u)); font-weight: 600; }
.qty { color: var(--mute); font-size: calc(2.2 * var(--u)); white-space: nowrap; direction: ltr; }
.price { min-width: calc(14 * var(--u)); text-align: end; font-size: calc(2.7 * var(--u)); white-space: nowrap; direction: ltr; }
.tag { display: inline-block; margin-inline-start: calc(1 * var(--u)); font-size: calc(1.8 * var(--u)); font-weight: 800; padding: calc(.2 * var(--u)) calc(1.1 * var(--u)); border-radius: 99px; vertical-align: middle; }
.tag.fm { background: var(--ok-l); color: var(--ok); } .tag.own { background: #ffe9e0; color: #a83a00; }
.sp { background: var(--sp); border: calc(.25 * var(--u)) dashed var(--sp-b); border-radius: var(--r-s); padding: calc(1.2 * var(--u)) calc(1.8 * var(--u)); display: flex; align-items: center; gap: calc(1.4 * var(--u)); flex-wrap: wrap; }
.sp .sp-tag { background: #fff; }
.sp-name { flex: 1; font-size: calc(2.15 * var(--u)); font-weight: 600; min-width: 40%; direction: ltr; text-align: start; }
.sp button { background: var(--navy); color: #fff; font-weight: 800; padding: calc(1.2 * var(--u)) calc(2.8 * var(--u)); border-radius: 99px; font-size: calc(2.2 * var(--u)); }
.sp.on { border-style: solid; border-color: var(--ok); background: var(--ok-l); } .sp.on button { background: var(--ok); }
.xgrid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(1.6 * var(--u)); padding: calc(2.2 * var(--u)); }
.x { background: var(--bg); border: calc(.3 * var(--u)) solid transparent; border-radius: var(--r-s); padding: calc(2 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(.7 * var(--u)); text-align: center; }
.x.on { border-color: var(--ok); background: var(--ok-l); }
.xi { font-size: calc(5.5 * var(--u)); } .x b { font-size: calc(2.2 * var(--u)); line-height: 1.4; font-weight: 700; }
.xp { color: var(--mute); font-size: calc(2 * var(--u)); }
.xb { margin-top: calc(.6 * var(--u)); background: var(--navy); color: #fff; font-weight: 800; padding: calc(.9 * var(--u)) calc(2.6 * var(--u)); border-radius: 99px; font-size: calc(2.1 * var(--u)); }
.x.on .xb { background: var(--ok); }
.tot > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.tot > div > span { color: var(--mute); font-size: calc(2.6 * var(--u)); font-weight: 600; }
.tot b { font-size: calc(6 * var(--u)); letter-spacing: -.02em; line-height: 1.1; }
.hint { font-weight: 700; font-size: calc(2.4 * var(--u)); }

/* QR */
.qr { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qrbox { width: calc(68 * var(--u)); height: calc(68 * var(--u)); margin: calc(4.5 * var(--u)) 0 calc(4 * var(--u)); background: #fff; border-radius: calc(4 * var(--u)); padding: calc(2.5 * var(--u)); box-shadow: var(--sh-2); }
.qrbox svg { width: 100%; height: 100%; display: block; }
.recap { font-size: calc(3.2 * var(--u)); display: flex; gap: calc(3 * var(--u)); align-items: baseline; color: var(--mute); font-weight: 600; }
.recap b { font-size: calc(6.4 * var(--u)); color: var(--ink); }

/* dashboard */
.admin h3 { margin: calc(4.5 * var(--u)) 0 calc(1.8 * var(--u)); font-size: calc(3.2 * var(--u)); font-weight: 800; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.6 * var(--u)); margin-top: calc(3 * var(--u)); }
.kpi { background: #fff; border-radius: var(--r-s); padding: calc(2.4 * var(--u)); display: flex; flex-direction: column; gap: calc(.6 * var(--u)); box-shadow: var(--sh-1); }
.kpi b { font-size: calc(5.2 * var(--u)); color: var(--blue); font-variant-numeric: tabular-nums; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.kpi span { color: var(--mute); font-size: calc(2 * var(--u)); line-height: 1.4; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-s); overflow: hidden; font-size: calc(2.4 * var(--u)); box-shadow: var(--sh-1); }
th, td { padding: calc(1.6 * var(--u)) calc(2.4 * var(--u)); text-align: left; border-bottom: calc(.2 * var(--u)) solid var(--line); }
th { color: var(--mute); font-size: calc(1.9 * var(--u)); text-transform: uppercase; letter-spacing: .05em; }
td:not(:first-child), th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
td:first-child { font-weight: 700; }
.empty { color: var(--mute); text-align: center !important; padding: calc(3 * var(--u)); }
.barrow { display: grid; grid-template-columns: 42% 1fr calc(5 * var(--u)); align-items: center; gap: calc(2 * var(--u)); margin-bottom: calc(1.4 * var(--u)); font-size: calc(2.3 * var(--u)); }
.barrow .track { height: calc(2 * var(--u)); } .barrow .track i { background: var(--blue); }
.gains { padding-inline-start: calc(4 * var(--u)); line-height: 1.9; font-size: calc(2.4 * var(--u)); margin-bottom: calc(3.5 * var(--u)); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ===== Marjane-branded wizard flow ===== */
.top { position: relative; background: var(--blue); grid-template-columns: auto 1fr auto; padding-bottom: calc(3 * var(--u)); }
.logo { display: inline-flex; align-items: center; background: #fff; border-radius: calc(1.6 * var(--u)); padding: calc(1.1 * var(--u)) calc(2 * var(--u)); justify-self: start; box-shadow: var(--sh-1); }
.logo img { height: calc(4.4 * var(--u)); width: auto; display: block; }
.pbar { position: absolute; inset-inline: 0; bottom: 0; height: calc(1 * var(--u)); background: rgba(255, 255, 255, .22); }
.pbar i { display: block; height: 100%; background: var(--yellow); border-radius: 0 99px 99px 0; transition: width .5s var(--ease); }
[dir=rtl] .pbar i { border-radius: 99px 0 0 99px; }
.atitle { color: #fff; font-weight: 800; font-size: calc(2.6 * var(--u)); }
.primary[disabled] { opacity: .4; box-shadow: none; }
.tick { width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: 50%; border: calc(.35 * var(--u)) solid var(--blue-m); display: grid; place-items: center; color: transparent; font-size: calc(2.6 * var(--u)); font-weight: 900; flex: none; transition: all .2s var(--spring); }
.on > .tick { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.08); }

.attract { background: radial-gradient(120% 70% at 50% 0%, #1b78c9 0%, var(--blue) 40%, var(--navy) 100%); }
.atop .logo { padding: calc(1.6 * var(--u)) calc(2.6 * var(--u)); } .atop .logo img { height: calc(6 * var(--u)); }
.pic { display: block; width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; background: #dfe5ef center / cover; flex: none; box-shadow: 0 0 0 calc(.5 * var(--u)) #fff, var(--sh-1); }
.orb .pic, .orb .plate { width: 100%; height: 100%; box-shadow: 0 0 0 calc(1 * var(--u)) #fff; }
.orb .plate { box-shadow: none; }
.cta { padding: calc(3 * var(--u)) calc(10 * var(--u)); background: var(--yellow); color: var(--navy); }

.wiz { display: flex; flex-direction: column; }
.wbody { margin: auto 0; padding: calc(2 * var(--u)) 0; }
.q { font-size: calc(5.4 * var(--u)); font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
.qs { color: var(--mute); font-size: calc(2.7 * var(--u)); margin: calc(1.2 * var(--u)) 0 calc(4 * var(--u)); line-height: 1.6; }
.q + :not(.qs) { margin-top: calc(4 * var(--u)); }
.stack { display: flex; flex-direction: column; gap: calc(1.8 * var(--u)); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: calc(1.8 * var(--u)); }
.oc, .srow { display: flex; align-items: center; gap: calc(2.4 * var(--u)); background: #fff; border-radius: var(--r); padding: calc(2.6 * var(--u)); border: calc(.35 * var(--u)) solid transparent; box-shadow: var(--sh-1); width: 100%; }
.oc.on { border-color: var(--blue); background: var(--blue-l); }
.grid2 .oc { flex-direction: column; align-items: flex-start; position: relative; min-height: calc(22 * var(--u)); }
.grid2 .oc .tick { position: absolute; top: calc(2.2 * var(--u)); inset-inline-end: calc(2.2 * var(--u)); }
.oi { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: calc(2.2 * var(--u)); background: var(--blue-l); display: grid; place-items: center; font-size: calc(5 * var(--u)); flex: none; }
.on .oi { background: #fff; }
.ot { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ot b { font-size: calc(3.1 * var(--u)); font-weight: 800; } .ot em { font-style: normal; color: var(--mute); font-size: calc(2.2 * var(--u)); }
.mini-step { display: flex; align-items: center; gap: calc(2.4 * var(--u)); }
.mini-step button { width: calc(8.5 * var(--u)); height: calc(8.5 * var(--u)); border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: calc(5 * var(--u)); font-weight: 700; line-height: 1; display: grid; place-items: center; padding-bottom: calc(.6 * var(--u)); }
.mini-step button:last-child { background: var(--blue); color: #fff; }
.mini-step b { font-size: calc(5 * var(--u)); min-width: calc(6 * var(--u)); text-align: center; }
.sum { display: flex; justify-content: space-between; align-items: center; background: var(--blue-l); border-radius: var(--r); padding: calc(2.4 * var(--u)) calc(3 * var(--u)); font-weight: 700; color: var(--blue-d); }
.sum b { font-size: calc(4.6 * var(--u)); color: var(--blue); }
.stores { display: flex; flex-direction: column; gap: calc(2.2 * var(--u)); }
.store { display: flex; flex-direction: column; align-items: center; gap: calc(2 * var(--u)); background: #fff; border-radius: var(--r); padding: calc(5 * var(--u)) calc(3 * var(--u)); border: calc(.4 * var(--u)) solid transparent; box-shadow: var(--sh-1); position: relative; }
.store.on { border-color: var(--blue); box-shadow: var(--sh-2); }
.store img { height: calc(11 * var(--u)); width: auto; max-width: 70%; }
.store em { font-style: normal; color: var(--mute); font-weight: 600; font-size: calc(2.5 * var(--u)); }
.store .tick { position: absolute; top: calc(2.4 * var(--u)); inset-inline-end: calc(2.4 * var(--u)); }
.dgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(1.2 * var(--u)); }
.dbtn { background: #fff; border-radius: var(--r-s); padding: calc(2.6 * var(--u)) 0; display: flex; flex-direction: column; align-items: center; gap: calc(1.4 * var(--u)); border: calc(.35 * var(--u)) solid transparent; box-shadow: var(--sh-1); }
.dbtn b { font-size: calc(3.4 * var(--u)); font-weight: 800; }
.dbtn i { width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%; border: calc(.35 * var(--u)) solid var(--blue-m); display: grid; place-items: center; color: #fff; font-size: calc(2.4 * var(--u)); font-weight: 900; }
.dbtn.on { background: var(--blue-l); border-color: var(--blue); } .dbtn.on i { background: var(--blue); border-color: var(--blue); }
.note { text-align: center; color: var(--mute); margin-top: calc(3 * var(--u)); font-weight: 600; }
.kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.8 * var(--u)); }
.kc { background: #fff; border-radius: var(--r); padding: calc(3 * var(--u)) calc(1.5 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(1.2 * var(--u)); border: calc(.4 * var(--u)) solid transparent; box-shadow: var(--sh-1); position: relative; text-align: center; }
.kc span { font-size: calc(9 * var(--u)); line-height: 1.2; filter: grayscale(1); opacity: .45; transition: all .25s; }
.kc b { font-size: calc(2.5 * var(--u)); font-weight: 700; }
.kc.on { border-color: var(--blue); background: var(--blue-l); } .kc.on span { filter: none; opacity: 1; transform: scale(1.08); }
.kc .tick { position: absolute; top: calc(1.4 * var(--u)); inset-inline-end: calc(1.4 * var(--u)); width: calc(3.8 * var(--u)); height: calc(3.8 * var(--u)); font-size: calc(2.1 * var(--u)); }
.chipsw { display: flex; flex-wrap: wrap; gap: calc(1.4 * var(--u)); }
.chip { display: flex; align-items: center; gap: calc(1.2 * var(--u)); background: #fff; border-radius: 99px; padding: calc(1.5 * var(--u)) calc(2.6 * var(--u)); font-weight: 700; font-size: calc(2.6 * var(--u)); box-shadow: var(--sh-1); border: calc(.3 * var(--u)) solid transparent; }
.chip.on { background: var(--navy); color: #fff; } .chip.on::after { content: "✕"; font-size: .8em; opacity: .7; }
.hgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(1.6 * var(--u)); }
.hc { background: #fff; border-radius: var(--r-s); padding: calc(2.2 * var(--u)) calc(1 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(.8 * var(--u)); border: calc(.4 * var(--u)) solid transparent; box-shadow: var(--sh-1); text-align: center; }
.hc span { font-size: calc(7.5 * var(--u)); line-height: 1.2; } .hc b { font-size: calc(2.05 * var(--u)); font-weight: 700; line-height: 1.3; }
.hc.on { border-color: var(--ok); background: var(--ok-l); }

.bnum { text-align: center; font-size: calc(19 * var(--u)); line-height: 1; letter-spacing: -.03em; color: var(--blue); direction: ltr; margin-top: calc(2 * var(--u)); }
.bnum small { font-size: .2em; letter-spacing: 0; opacity: 1; color: var(--ink); }
.per { text-align: center; color: var(--mute); font-size: calc(2.3 * var(--u)); margin: calc(1 * var(--u)) 0 calc(4 * var(--u)); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: calc(2 * var(--u)); border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--p), var(--line) var(--p)); outline: none; direction: ltr; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: #fff; border: calc(1 * var(--u)) solid var(--blue); box-shadow: var(--sh-2); cursor: grab; }
input[type=range]::-moz-range-thumb { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #fff; border: calc(1 * var(--u)) solid var(--blue); }
.rlab { display: flex; justify-content: space-between; color: var(--mute); font-size: calc(2.1 * var(--u)); margin-top: calc(1.6 * var(--u)); direction: ltr; font-weight: 600; }
.tip { display: flex; gap: calc(2.2 * var(--u)); background: var(--ok-l); border-radius: var(--r); padding: calc(2.6 * var(--u)); margin-top: calc(3.5 * var(--u)); }
.tip > span { font-size: calc(4.4 * var(--u)); } .tip b { font-size: calc(2.9 * var(--u)); color: var(--ok); } .tip p { font-size: calc(2.3 * var(--u)); color: var(--mute); margin-top: calc(.4 * var(--u)); line-height: 1.55; }
.tip.bad { background: var(--bad-l); } .tip.bad b { color: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.6 * var(--u)); margin-top: calc(2.2 * var(--u)); }
.stats div { background: #fff; border-radius: var(--r-s); padding: calc(2.2 * var(--u)); box-shadow: var(--sh-1); }
.stats b { display: block; font-size: calc(3.6 * var(--u)); font-weight: 900; direction: ltr; text-align: start; } .stats span { font-size: calc(1.7 * var(--u)); color: var(--mute); font-weight: 700; letter-spacing: .04em; }

.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; text-align: center; }
.spin { position: relative; width: calc(56 * var(--u)); height: calc(56 * var(--u)); display: grid; place-items: center; }
.spin span { position: absolute; font-size: calc(6 * var(--u)); animation: orbit 6s linear infinite; --r: calc(24 * var(--u)); }
@keyframes orbit { from { transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(var(--a) + 360deg)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a) - 360deg)); } }
.spin .logo { box-shadow: none; animation: pulse 1.6s ease-in-out infinite; } .spin .logo img { height: calc(8 * var(--u)); }
.loading h2 { font-size: calc(3.6 * var(--u)); font-weight: 800; margin: calc(3 * var(--u)) 0 calc(4 * var(--u)); }
.lsteps { list-style: none; padding: 0; width: 100%; display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); }
.lsteps li { display: flex; align-items: center; gap: calc(2 * var(--u)); background: var(--bg); border-radius: var(--r-s); padding: calc(2 * var(--u)) calc(2.6 * var(--u)); font-size: calc(2.6 * var(--u)); color: #a3adc0; font-weight: 600; text-align: start; transition: all .3s; }
.lsteps i { width: calc(4 * var(--u)); height: calc(4 * var(--u)); border-radius: 50%; border: calc(.4 * var(--u)) solid #c9d1df; display: grid; place-items: center; color: #fff; font-size: calc(2.2 * var(--u)); font-weight: 900; flex: none; }
.lsteps .ok { color: var(--ink); } .lsteps .ok i { background: var(--ok); border-color: var(--ok); }
.lsteps .cur { color: var(--ink); } .lsteps .cur i { border-color: var(--blue); border-top-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.rcards { display: grid; grid-template-columns: 1.25fr 1fr; gap: calc(1.8 * var(--u)); margin: calc(2.6 * var(--u)) 0; }
.rc { background: #fff; border-radius: var(--r); padding: calc(2.8 * var(--u)); box-shadow: var(--sh-1); display: flex; flex-direction: column; align-items: flex-start; gap: calc(1 * var(--u)); position: relative; }
.rc em { font-style: normal; font-size: calc(1.8 * var(--u)); color: var(--mute); font-weight: 700; letter-spacing: .04em; }
.rc > b { font-size: calc(6.4 * var(--u)); letter-spacing: -.02em; line-height: 1.1; }
.rc .track { width: 100%; flex: none; } .rc .track i { background: var(--blue); } .rc .track i.badbg { background: var(--bad); }
.rc.link b { font-size: calc(3.2 * var(--u)); font-weight: 800; } .rc.link > i { position: absolute; inset-inline-end: calc(2.4 * var(--u)); top: 50%; font-size: calc(5 * var(--u)); color: var(--mute); line-height: 0; }
[dir=rtl] .rc.link > i { transform: scaleX(-1); }
.cart { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: calc(2 * var(--u)); background: var(--yellow); display: grid; place-items: center; font-size: calc(4.4 * var(--u)); }
.cbs { font-size: calc(2 * var(--u)); font-weight: 800; color: var(--blue); }
.mlist { display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); }
.mrow { display: flex; align-items: stretch; background: #fff; border-radius: var(--r-s); box-shadow: var(--sh-1); overflow: hidden; }
.mmain { flex: 1; display: flex; align-items: center; gap: calc(2.4 * var(--u)); padding: calc(1.6 * var(--u)) calc(2 * var(--u)); min-width: 0; }
.mmain .pic, .mmain .plate { width: calc(11.5 * var(--u)); height: calc(11.5 * var(--u)); border-radius: calc(2.2 * var(--u)); box-shadow: none; }
.mi { display: flex; flex-direction: column; gap: calc(.2 * var(--u)); min-width: 0; }
.mi em { font-style: normal; font-size: calc(1.8 * var(--u)); color: var(--blue); font-weight: 800; letter-spacing: .02em; }
.mi b { font-size: calc(2.8 * var(--u)); font-weight: 700; line-height: 1.3; } .mi small { font-size: calc(2 * var(--u)); opacity: 1; color: var(--mute); margin: 0; font-weight: 600; }
.swap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(.3 * var(--u)); padding: 0 calc(2.6 * var(--u)); color: var(--blue); font-size: calc(1.9 * var(--u)); font-weight: 700; border-inline-start: calc(.2 * var(--u)) solid var(--line); }
.swap i { font-size: calc(3.4 * var(--u)); line-height: 1; }
.mrow.empty { border: calc(.3 * var(--u)) dashed var(--blue-m); background: none; box-shadow: none; padding: calc(2.6 * var(--u)); gap: calc(2.4 * var(--u)); align-items: center; color: var(--blue); }
.mrow.empty > i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: var(--blue-l); display: grid; place-items: center; font-size: calc(4 * var(--u)); }
.opt .pic { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }

.rec { padding: 0; background: #fff; }
.rhero { height: calc(64 * var(--u)); background: var(--blue-l) center / cover; position: relative; display: grid; place-items: center; }
.rhero.noph { background: radial-gradient(circle at 50% 40%, #fff, var(--blue-l)); }
.plate.xl { width: calc(46 * var(--u)); height: calc(46 * var(--u)); }
.round.glass { position: absolute; top: calc(3 * var(--u)); inset-inline-start: calc(3 * var(--u)); background: rgba(5, 43, 87, .55); backdrop-filter: blur(calc(1 * var(--u))); }
.rbody { background: #fff; border-radius: calc(5 * var(--u)) calc(5 * var(--u)) 0 0; margin-top: calc(-5 * var(--u)); position: relative; padding: calc(4 * var(--u)); }
.rbody h2 { font-size: calc(5 * var(--u)); font-weight: 900; line-height: 1.25; margin-top: calc(.4 * var(--u)); }
.rmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.4 * var(--u)); margin: calc(3 * var(--u)) 0; }
.rmeta div { background: var(--bg); border-radius: var(--r-s); padding: calc(2 * var(--u)); text-align: center; }
.rmeta b { display: block; font-size: calc(2.8 * var(--u)); font-weight: 800; } .rmeta span { font-size: calc(1.9 * var(--u)); color: var(--mute); }
.tabs { display: flex; border-bottom: calc(.3 * var(--u)) solid var(--line); margin-bottom: calc(1.5 * var(--u)); }
.tabs button { flex: 1; padding: calc(2 * var(--u)); font-weight: 700; font-size: calc(2.9 * var(--u)); color: var(--mute); text-align: center; border-bottom: calc(.6 * var(--u)) solid transparent; margin-bottom: calc(-.3 * var(--u)); }
.tabs button.on { color: var(--blue); border-color: var(--blue); }
.rec .ing li { justify-content: flex-start; align-items: center; gap: calc(2 * var(--u)); }
.rec .ing li > span { font-size: calc(3.4 * var(--u)); width: calc(5 * var(--u)); text-align: center; } .rec .ing li b { font-weight: 600; direction: inherit; }
.rec .ing em { font-style: normal; font-size: calc(1.8 * var(--u)); background: var(--ok-l); color: var(--ok); padding: calc(.2 * var(--u)) calc(1.4 * var(--u)); border-radius: 99px; font-weight: 700; }
.rec .ing li i { margin-inline-start: auto; font-weight: 800; direction: ltr; font-variant-numeric: tabular-nums; }
.how { list-style: none; padding: 0; display: flex; flex-direction: column; gap: calc(2.4 * var(--u)); margin-top: calc(2.5 * var(--u)); }
.how li { display: flex; gap: calc(2.2 * var(--u)); } .how p { font-size: calc(2.7 * var(--u)); line-height: 1.65; }
.how i { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: calc(2.4 * var(--u)); flex: none; }
.row.owned { opacity: .55; } .row.owned .chk { border: 0; font-size: calc(3 * var(--u)); } .row.owned .rname b { text-decoration: line-through; }
.pill { align-self: flex-start; }

/* ===== Wireframe pass: light header, line icons, product photos, kitchen hotspots ===== */
.ic { width: 1em; height: 1em; display: block; }
.top { background: #fff; color: var(--ink); grid-template-columns: 1fr auto 1fr; padding: calc(2 * var(--u)) calc(3.5 * var(--u)) calc(2.6 * var(--u)); border-bottom: 0; }
.top .logo { box-shadow: none; padding: 0; justify-self: center; } .top .logo img { height: calc(5 * var(--u)); }
.top > :first-child { justify-self: start; } .top .langs { justify-self: end; }
.round { background: var(--bg); color: var(--ink); font-size: calc(3.4 * var(--u)); padding: 0; width: calc(6.6 * var(--u)); height: calc(6.6 * var(--u)); }
.round.glass { color: #fff; }
.langs { background: var(--bg); } .langs button { color: var(--mute); } .langs button.on { background: var(--navy); color: #fff; }
.langs.mini button { padding: calc(.8 * var(--u)) calc(1.5 * var(--u)); font-size: calc(1.8 * var(--u)); }
.pbar { background: var(--line); height: calc(.7 * var(--u)); inset-inline: calc(3.5 * var(--u)); border-radius: 99px; overflow: hidden; } .pbar i { background: var(--blue); }
.atitle { color: var(--ink); justify-self: end; }
.wbody { margin: 0; padding: calc(1.5 * var(--u)) 0; }
.q { font-size: calc(5 * var(--u)); } .note.start { text-align: start; margin-top: calc(3.5 * var(--u)); }

.attract { background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--blue-l) 100%); color: var(--ink); }
.glow { display: none; } .hero p { color: var(--mute); opacity: 1; }
.cta { background: var(--blue); color: #fff; width: 100%; justify-content: center; border-radius: calc(3 * var(--u)); animation: none; box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(8, 93, 168, .35); }
.ad { background: #fff; border-color: var(--line); backdrop-filter: none; box-shadow: var(--sh-1); } .adicon { background: var(--bg); }
.afoot, .afoot button { color: var(--mute); }
.orb { filter: drop-shadow(0 calc(1.5 * var(--u)) calc(2.5 * var(--u)) rgba(11, 27, 54, .22)); }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: calc(2 * var(--u)); }
.store { padding: calc(2 * var(--u)); gap: calc(.6 * var(--u)); border-width: calc(.35 * var(--u)); }
.slogo { width: 100%; height: calc(18 * var(--u)); display: grid; place-items: center; }
.store img { height: auto; max-height: calc(11 * var(--u)); max-width: 80%; }
.store b { font-size: calc(2.9 * var(--u)); font-weight: 800; } .store em { font-size: calc(2.1 * var(--u)); }
.store.on { background: var(--blue-l); }
.oi { color: var(--blue); font-size: calc(4.6 * var(--u)); width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
.srow { padding: calc(2.2 * var(--u)) calc(2.6 * var(--u)); }
.mini-step button { width: calc(7 * var(--u)); height: calc(7 * var(--u)); font-size: calc(4.2 * var(--u)); background: none; color: var(--mute); }
.mini-step button:last-child { background: var(--navy); color: #fff; }
.mini-step b { font-size: calc(4.4 * var(--u)); }
.mopt { display: flex; align-items: center; gap: calc(2.6 * var(--u)); background: #fff; border-radius: var(--r); padding: calc(2 * var(--u)) calc(2.6 * var(--u)); box-shadow: var(--sh-1); width: 100%; border: calc(.35 * var(--u)) solid transparent; }
.mopt.on { border-color: var(--blue-m); }
.sw { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: calc(2.2 * var(--u)); flex: none; }
.box { width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: calc(1.1 * var(--u)); border: calc(.35 * var(--u)) solid var(--blue-m); display: grid; place-items: center; color: transparent; font-weight: 900; font-size: calc(2.8 * var(--u)); flex: none; transition: all .2s var(--spring); }
.on > .box { background: var(--blue); border-color: var(--blue); color: #fff; }
.tile { background: #fff; border-radius: var(--r); padding: calc(3 * var(--u)) calc(2 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(.5 * var(--u)); text-align: center; box-shadow: var(--sh-1); border: calc(.35 * var(--u)) solid transparent; position: relative; min-height: calc(19 * var(--u)); justify-content: center; }
.ti { font-size: calc(5.4 * var(--u)); color: var(--ink); margin-bottom: calc(.8 * var(--u)); }
.tile b { font-size: calc(2.8 * var(--u)); font-weight: 700; } .tile em { font-style: normal; color: var(--mute); font-size: calc(2 * var(--u)); }
.tile .tick { position: absolute; top: calc(1.6 * var(--u)); inset-inline-end: calc(1.6 * var(--u)); width: calc(3.8 * var(--u)); height: calc(3.8 * var(--u)); font-size: calc(2.1 * var(--u)); opacity: 0; }
.tile.on { border-color: var(--blue); background: var(--blue-l); } .tile.on .tick { opacity: 1; } .tile.on .ti { color: var(--blue); }

.kitchen { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); background: #fff; }
.kitchen > img { width: 100%; display: block; }
.hot { position: absolute; border-radius: calc(2 * var(--u)); border: calc(.5 * var(--u)) solid transparent; transition: all .25s var(--ease); }
.hot::after { content: "+"; position: absolute; top: calc(-1 * var(--u)); right: calc(-1 * var(--u)); width: calc(4 * var(--u)); height: calc(4 * var(--u)); border-radius: 50%; background: #fff; color: var(--blue); font-weight: 900; font-size: calc(3 * var(--u)); line-height: calc(3.7 * var(--u)); text-align: center; box-shadow: var(--sh-2); animation: pulse 2s ease-in-out infinite; }
.hot span { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 60%) scale(.6); background: var(--blue); color: #fff; font-weight: 800; font-size: calc(1.9 * var(--u)); padding: calc(.4 * var(--u)) calc(1.5 * var(--u)); border-radius: 99px; white-space: nowrap; opacity: 0; transition: all .25s var(--spring); }
.hot.on { border-color: var(--blue); background: rgba(8, 93, 168, .12); box-shadow: 0 0 0 calc(.6 * var(--u)) rgba(255, 232, 0, .75), 0 0 calc(3 * var(--u)) rgba(8, 93, 168, .5); }
.hot.on::after { content: "✓"; background: var(--blue); color: #fff; font-size: calc(2.3 * var(--u)); animation: none; }
.hot.on span { opacity: 1; transform: translate(-50%, 30%) scale(1); }

.search { display: flex; align-items: center; gap: calc(1.6 * var(--u)); background: #fff; border: calc(.3 * var(--u)) solid var(--line); border-radius: 99px; padding: calc(1.6 * var(--u)) calc(2.6 * var(--u)); margin: calc(2.4 * var(--u)) 0; color: var(--mute); font-size: calc(2.8 * var(--u)); }
.search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); min-width: 0; }
.ftabs { display: flex; gap: calc(1.2 * var(--u)); margin-bottom: calc(2.4 * var(--u)); flex-wrap: wrap; }
.ftabs button { padding: calc(1 * var(--u)) calc(2.4 * var(--u)); border-radius: 99px; background: #fff; border: calc(.3 * var(--u)) solid var(--line); font-weight: 700; font-size: calc(2.1 * var(--u)); color: var(--mute); }
.ftabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
[hidden] { display: none !important; }
.pimg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); object-fit: contain; background: #fff; border-radius: calc(1.6 * var(--u)); flex: none; display: block; }
.pimg.sm { width: calc(8.5 * var(--u)); height: calc(8.5 * var(--u)); } .pimg.xs { width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: 50%; }
.pimg.ph { display: grid; place-items: center; background: var(--bg); font-size: calc(5 * var(--u)); } .pimg.ph.sm { font-size: calc(4 * var(--u)); } .pimg.ph.xs { font-size: calc(2.6 * var(--u)); background: none; }
.hc { padding: calc(1.6 * var(--u)) calc(1 * var(--u)) calc(1.8 * var(--u)); gap: calc(.6 * var(--u)); } .hc .pimg { width: 100%; height: calc(15 * var(--u)); }
.hc.on { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 calc(.3 * var(--u)) var(--blue-l); }
.chip { padding: calc(.9 * var(--u)) calc(2.2 * var(--u)) calc(.9 * var(--u)) calc(1.2 * var(--u)); font-size: calc(2.4 * var(--u)); border: calc(.3 * var(--u)) solid var(--line); box-shadow: none; }
[dir=rtl] .chip { padding: calc(.9 * var(--u)) calc(1.2 * var(--u)) calc(.9 * var(--u)) calc(2.2 * var(--u)); }
.chip.on { border-color: var(--navy); }
.tip > span { font-size: calc(4.4 * var(--u)); color: var(--ok); } .tip.bad > span { color: var(--bad); }
.cart { font-size: calc(4.4 * var(--u)); color: var(--navy); } .swap .ic { font-size: calc(3.4 * var(--u)); }

.list .rmain { gap: calc(2.2 * var(--u)); } .rname small { display: block; font-size: calc(2 * var(--u)); opacity: 1; color: var(--mute); margin: calc(.3 * var(--u)) 0 0; font-weight: 600; }
.rname .tag { margin: 0; } .list .price { min-width: calc(12 * var(--u)); }
.ghead { border: 0; background: none; padding-bottom: calc(.4 * var(--u)); } .ghead b { font-size: calc(2.1 * var(--u)); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.row.owned .pimg { filter: grayscale(1); }
.racts { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(1 * var(--u)); margin: calc(2.6 * var(--u)) 0 calc(.5 * var(--u)); }
.racts button { display: flex; flex-direction: column; align-items: center; gap: calc(.8 * var(--u)); font-size: calc(2 * var(--u)); font-weight: 700; color: var(--ink); text-align: center; }
.racts span { width: calc(8.5 * var(--u)); height: calc(8.5 * var(--u)); border-radius: calc(2.4 * var(--u)); border: calc(.3 * var(--u)) solid var(--line); display: grid; place-items: center; font-size: calc(4 * var(--u)); }
.rmeta { grid-template-columns: 1fr 1fr; margin: calc(2.4 * var(--u)) 0; }
.servs { display: flex; align-items: center; gap: calc(2 * var(--u)); margin: calc(2 * var(--u)) 0 calc(1 * var(--u)); color: var(--mute); font-weight: 600; }
.mini-step.sm { gap: calc(1.6 * var(--u)); border: calc(.3 * var(--u)) solid var(--line); border-radius: 99px; padding: calc(.5 * var(--u)); }
.mini-step.sm button { width: calc(5.4 * var(--u)); height: calc(5.4 * var(--u)); font-size: calc(3.4 * var(--u)); } .mini-step.sm b { font-size: calc(3 * var(--u)); min-width: calc(5 * var(--u)); color: var(--ink); }
.rec .ing li { padding: calc(1 * var(--u)) 0; } .rec .rbody { padding-bottom: calc(8 * var(--u)); }

/* ===== Motion pass: cross-fade between steps, staggered items, push transitions, tap pop ===== */
.enter :nth-child(1) { --n: 1; }
.enter :nth-child(2) { --n: 2; }
.enter :nth-child(3) { --n: 3; }
.enter :nth-child(4) { --n: 4; }
.enter :nth-child(5) { --n: 5; }
.enter :nth-child(6) { --n: 6; }
.enter :nth-child(7) { --n: 7; }
.enter :nth-child(8) { --n: 8; }
.enter :nth-child(9) { --n: 9; }
.enter :nth-child(10) { --n: 10; }
.enter :nth-child(11) { --n: 11; }
.enter :nth-child(12) { --n: 12; }
.enter :nth-child(13) { --n: 13; }
.enter :nth-child(14) { --n: 14; }
.enter :nth-child(15) { --n: 15; }
.enter :nth-child(16) { --n: 16; }
.enter :nth-child(17) { --n: 17; }
.enter :nth-child(18) { --n: 18; }
.enter :nth-child(19) { --n: 19; }
.enter :nth-child(20) { --n: 20; }
.enter :nth-child(21) { --n: 21; }
.enter :nth-child(22) { --n: 22; }
.enter :nth-child(23) { --n: 23; }
.enter :nth-child(24) { --n: 24; }
.enter :nth-child(25) { --n: 25; }
.enter :nth-child(26) { --n: 26; }
.enter :nth-child(27) { --n: 27; }
.enter :nth-child(28) { --n: 28; }
.enter :nth-child(29) { --n: 29; }
.enter :nth-child(30) { --n: 30; }
.enter :nth-child(31) { --n: 31; }
.enter :nth-child(32) { --n: 32; }
.enter :nth-child(33) { --n: 33; }
.enter :nth-child(34) { --n: 34; }
.enter :nth-child(35) { --n: 35; }
.enter :nth-child(36) { --n: 36; }
.enter .wbody.rise { animation: none; }
.main.wiz { position: relative; }
.ghost { position: absolute; inset: calc(3.5 * var(--u)); pointer-events: none; animation: ghostOut .26s ease-out forwards; }
@keyframes ghostOut { to { opacity: 0; transform: translateY(calc(-1 * var(--u))); } }
.enter .wbody > .q, .enter .wbody > .qs, .enter .wbody > .search, .enter .wbody > .ftabs, .enter .wbody > .note, .enter .wbody > .bnum, .enter .wbody > .per,
.enter .wbody > input, .enter .wbody > .rlab, .enter .wbody > .tip, .enter .wbody > .kitchen { animation: softIn .5s var(--ease) both; animation-delay: .12s; }
@keyframes softIn { from { opacity: 0; } }
.enter .stack > *, .enter .grid2 > *, .enter .stores > *, .enter .dgrid > *, .enter .hgrid > *, .enter .chipsw > *, .enter .stats > *, .enter .mlist > *, .enter .list .row {
  animation: itemIn .5s var(--ease) both; animation-delay: calc(min(var(--n, 36), 36) * 32ms + 140ms); }
@keyframes itemIn { from { opacity: 0; transform: translateY(calc(2 * var(--u))) scale(.97); } }
.enter .hot { animation: softIn .5s ease both; animation-delay: calc(var(--n, 1) * 70ms + .45s); }
.enter .kitchen > img { animation: kIn .8s var(--ease) both; }
@keyframes kIn { from { transform: scale(1.06); opacity: 0; } }
/* pushed screens slide in from the side, like the recipe page in the video */
.enter[data-screen=recipe] .rec, .enter[data-screen=list] .main, .enter[data-screen=qr] .main { animation: pushIn .42s var(--ease) both; }
@keyframes pushIn { from { transform: translateX(100%); } }
[dir=rtl].enter[data-screen=recipe] .rec, [dir=rtl].enter[data-screen=list] .main, [dir=rtl].enter[data-screen=qr] .main { animation-name: pushInRtl; }
@keyframes pushInRtl { from { transform: translateX(-100%); } }
.enter[data-screen=recipe] .rbody > * { animation: itemIn .5s var(--ease) both; animation-delay: calc(var(--n, 1) * 45ms + .3s); }
.enter[data-screen=ready] .rcards, .enter[data-screen=ready] .title { animation: itemIn .5s var(--ease) both; }
.enter .bar .primary { animation: softIn .4s ease both; animation-delay: .2s; }
.pop { animation: pop .34s var(--spring); }
@keyframes pop { 0% { transform: scale(.93); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
.hot.pop { animation: hotPop .5s var(--spring); }
@keyframes hotPop { 0% { transform: scale(.85); box-shadow: 0 0 0 0 rgba(255, 232, 0, .9); } 100% { transform: scale(1); } }
.lsteps .ok:has(+ :not(.ok)) i { animation: pop .34s var(--spring); }
.spin span { animation-duration: 5s; }
.pbar i { transition: width .6s var(--ease); }

/* real partner products in the welcome card, the add-ons and the suggestion strips */
.adicon { overflow: hidden; background: #fff; border: calc(.2 * var(--u)) solid var(--line); width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.adicon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ad b { color: var(--ink); font-size: calc(3.1 * var(--u)); line-height: 1.3; } .ad div span { color: var(--mute); font-size: calc(2.2 * var(--u)); opacity: 1; display: block; margin-top: calc(.3 * var(--u)); direction: ltr; text-align: start; }
.ad .num { color: var(--blue); }
.ad .sp-tag { align-self: flex-start; }
.xi { display: block; } .xi img { width: calc(15 * var(--u)); height: calc(15 * var(--u)); object-fit: contain; display: block; border-radius: calc(1.6 * var(--u)); background: #fff; }
.sp .pimg.xs { width: calc(6.5 * var(--u)); height: calc(6.5 * var(--u)); border-radius: calc(1.2 * var(--u)); }

/* ===== AI assistant layer, aurora background, wireframe home / nav / cook mode ===== */
#stage { background: #f4f7fc; }
#app { background: transparent; z-index: 1; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .5; transition: opacity .8s; }
#stage:has(#app[data-screen=attract]) .aurora, #stage:has(#app[data-screen=loading]) .aurora { opacity: 1; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(calc(14 * var(--u))); will-change: transform; }
.aurora i:nth-child(1) { width: calc(90 * var(--u)); height: calc(90 * var(--u)); left: calc(-30 * var(--u)); top: calc(-20 * var(--u)); background: rgba(8, 93, 168, .42); animation: au1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: calc(70 * var(--u)); height: calc(70 * var(--u)); right: calc(-25 * var(--u)); top: calc(30 * var(--u)); background: rgba(255, 232, 0, .38); animation: au2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: calc(80 * var(--u)); height: calc(80 * var(--u)); left: calc(5 * var(--u)); bottom: calc(-30 * var(--u)); background: rgba(76, 195, 255, .36); animation: au3 26s ease-in-out infinite alternate; }
@keyframes au1 { to { transform: translate(calc(40 * var(--u)), calc(35 * var(--u))) scale(1.2); } }
@keyframes au2 { to { transform: translate(calc(-45 * var(--u)), calc(-20 * var(--u))) scale(.85); } }
@keyframes au3 { to { transform: translate(calc(30 * var(--u)), calc(-45 * var(--u))) scale(1.15); } }
.attract { background: transparent; } .loading { background: transparent; } .main { background: transparent; } .main.rec { background: #fff; }
.oc, .srow, .tile, .mopt, .store, .hc, .mrow, .rc, .dbtn, .stats div, .search, .prow { background: rgba(255, 255, 255, .88); }
.bar { background: rgba(255, 255, 255, .8); }
.primary, .secondary, .cta { border-radius: 99px; }

.top.v2 { display: flex; align-items: center; gap: calc(2.6 * var(--u)); background: transparent; padding: calc(2.4 * var(--u)) calc(3.5 * var(--u)) calc(1 * var(--u)); }
.top.v2 .pbar { position: static; flex: 1; height: calc(.9 * var(--u)); background: rgba(8, 93, 168, .14); inset: auto; }
.top.v2 .pbar i { background: linear-gradient(90deg, var(--blue), #4cc3ff); }
.top.v2 .grow { flex: 1; } .top.v2 .logo img { height: calc(3.8 * var(--u)); } .top.v2 .logo { background: none; }
.top.v2 .round { background: rgba(255, 255, 255, .85); border: calc(.25 * var(--u)) solid var(--line); border-radius: calc(2 * var(--u)); }

.orb-ai { position: relative; display: inline-block; flex: none; width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0%, #9fd8ff 22%, var(--blue) 62%, #052b57 100%); box-shadow: 0 0 calc(3 * var(--u)) rgba(8, 93, 168, .45), inset 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .55); overflow: hidden; animation: orbBreath 3.6s ease-in-out infinite; }
.orb-ai i { position: absolute; inset: -25%; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; mix-blend-mode: screen; animation: orbSpin 7s linear infinite; }
.orb-ai i:nth-child(1) { background: conic-gradient(from 0deg, transparent 0 55%, rgba(255, 232, 0, .9) 70%, transparent 85%); }
.orb-ai i:nth-child(2) { background: conic-gradient(from 120deg, transparent 0 50%, rgba(76, 195, 255, .95) 68%, transparent 84%); animation-duration: 5s; animation-direction: reverse; }
.orb-ai i:nth-child(3) { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), transparent 38%); animation: none; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbBreath { 50% { transform: scale(1.06); box-shadow: 0 0 calc(5 * var(--u)) rgba(8, 93, 168, .6), inset 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .55); } }
.orb-ai.xs { width: calc(3.6 * var(--u)); height: calc(3.6 * var(--u)); box-shadow: 0 0 calc(1.2 * var(--u)) rgba(8, 93, 168, .5); }
.orb-ai.sm { width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
.orb-ai.xl { position: absolute; width: calc(52 * var(--u)); height: calc(52 * var(--u)); left: calc(19.5 * var(--u)); top: calc(4 * var(--u)); opacity: .9; filter: blur(calc(.4 * var(--u))); }
.orb-ai.xxl { width: calc(44 * var(--u)); height: calc(44 * var(--u)); }
.orb { z-index: 1; }
.aitag { display: inline-flex; align-items: center; gap: calc(1.2 * var(--u)); font-size: calc(2.1 * var(--u)); font-weight: 800; color: var(--blue); margin-bottom: calc(1.4 * var(--u)); letter-spacing: .01em; }
.aitag.big { background: rgba(255, 255, 255, .8); border: calc(.25 * var(--u)) solid rgba(8, 93, 168, .2); padding: calc(.9 * var(--u)) calc(2.6 * var(--u)); border-radius: 99px; font-size: calc(2.5 * var(--u)); backdrop-filter: blur(calc(1.5 * var(--u))); margin: 0; }
.aitag .ic { font-size: 1.25em; }
.shine { background: linear-gradient(100deg, var(--blue) 0%, #0a84d6 35%, #a87900 60%, var(--blue) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.hero h1 { font-size: calc(6.6 * var(--u)); } .hero { gap: calc(2.2 * var(--u)); }
.intents { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(1.4 * var(--u)); }
.intents button { display: inline-flex; align-items: center; gap: calc(1 * var(--u)); background: rgba(255, 255, 255, .85); border: calc(.25 * var(--u)) solid rgba(8, 93, 168, .22); border-radius: 99px; padding: calc(1.3 * var(--u)) calc(2.6 * var(--u)); font-weight: 700; font-size: calc(2.4 * var(--u)); color: var(--navy); box-shadow: var(--sh-1); }
.intents .ic { color: var(--blue); }
.w { display: inline-block; }
.insight { display: flex; align-items: center; gap: calc(1.6 * var(--u)); margin-top: calc(3 * var(--u)); padding: calc(1.8 * var(--u)) calc(2.4 * var(--u)); border-radius: var(--r-s); font-size: calc(2.4 * var(--u)); font-weight: 600; color: var(--navy);
  border: calc(.3 * var(--u)) solid transparent; background: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)) padding-box, linear-gradient(100deg, var(--blue), #4cc3ff, var(--yellow)) border-box; }
.insight .ic { color: var(--blue); font-size: calc(3.2 * var(--u)); flex: none; }
.enter .insight { animation: itemIn .5s var(--ease) both; animation-delay: .7s; }
.aicard { display: flex; gap: calc(2.4 * var(--u)); padding: calc(2.6 * var(--u)); border-radius: var(--r); margin: calc(2.4 * var(--u)) 0 0; border: calc(.35 * var(--u)) solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--blue), #4cc3ff 45%, var(--yellow)) border-box; box-shadow: var(--sh-2); }
.aicard b { font-size: calc(2.2 * var(--u)); color: var(--blue); font-weight: 800; } .aicard p { font-size: calc(2.5 * var(--u)); line-height: 1.6; margin-top: calc(.4 * var(--u)); }
.tipbtn { display: inline-flex; align-items: center; gap: calc(1.2 * var(--u)); margin-top: calc(1.8 * var(--u)); background: var(--navy); color: #fff; border-radius: 99px; padding: calc(1.2 * var(--u)) calc(2.4 * var(--u)); font-size: calc(2.1 * var(--u)); font-weight: 700; text-align: start; }
.tipbtn .ic { color: var(--yellow); flex: none; font-size: 1.3em; }
.whys { display: flex; flex-wrap: wrap; gap: calc(.8 * var(--u)); margin-top: calc(.6 * var(--u)); }
.whys i { display: inline-flex; align-items: center; gap: calc(.6 * var(--u)); background: var(--blue-l); color: var(--blue-d); font-size: calc(1.7 * var(--u)); font-weight: 700; padding: calc(.25 * var(--u)) calc(1.3 * var(--u)); border-radius: 99px; }
.whys.big { margin: calc(1.4 * var(--u)) 0 0; } .whys.big i { font-size: calc(2 * var(--u)); padding: calc(.5 * var(--u)) calc(1.8 * var(--u)); }
.mmain { align-items: flex-start; } .mmain .pic, .mmain .plate { align-self: center; }

.spin { width: calc(48 * var(--u)); height: calc(48 * var(--u)); margin-bottom: calc(3 * var(--u)); }
.spin .logo { position: absolute; background: rgba(255, 255, 255, .92); border-radius: calc(2.4 * var(--u)); padding: calc(1.6 * var(--u)) calc(2.6 * var(--u)); animation: none; box-shadow: var(--sh-2); }
.spin .logo img { height: calc(6 * var(--u)); }
.loading h2 { font-size: calc(3.2 * var(--u)); min-height: 2.8em; margin-top: calc(2.4 * var(--u)); }
.lsteps li { background: rgba(255, 255, 255, .8); font-size: calc(2.3 * var(--u)); }

.nav { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .94); border-top: calc(.2 * var(--u)) solid var(--line); padding: calc(1.4 * var(--u)) calc(2 * var(--u)) calc(2.2 * var(--u)); position: relative; z-index: 1; }
.nav button { display: flex; flex-direction: column; align-items: center; gap: calc(.4 * var(--u)); color: var(--mute); font-size: calc(1.8 * var(--u)); font-weight: 700; padding: calc(.8 * var(--u)) 0; border-radius: calc(2 * var(--u)); }
.nav .ic { font-size: calc(4 * var(--u)); } .nav button.on { color: var(--blue); background: var(--blue-l); }
.wtabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: calc(1.2 * var(--u)); }
.wtabs button { background: rgba(255, 255, 255, .88); border-radius: var(--r-s); padding: calc(1.6 * var(--u)) 0; display: flex; flex-direction: column; align-items: center; gap: calc(.6 * var(--u)); box-shadow: var(--sh-1); }
.wtabs b { font-size: calc(3 * var(--u)); font-weight: 800; } .wtabs i { font-size: calc(1.7 * var(--u)); font-weight: 700; color: var(--mute); background: var(--bg); border-radius: 99px; min-width: calc(3.6 * var(--u)); text-align: center; }
.wtabs button.on { background: var(--navy); color: #fff; } .wtabs button.on i { background: var(--yellow); color: var(--navy); }
.phead { display: flex; justify-content: space-between; align-items: baseline; margin: calc(3.5 * var(--u)) 0 calc(1.6 * var(--u)); } .phead h2 { font-size: calc(4.4 * var(--u)); font-weight: 900; } .phead span { color: var(--mute); font-weight: 600; }
.psum { display: flex; align-items: baseline; gap: calc(2 * var(--u)); flex-wrap: wrap; margin-top: calc(3 * var(--u)); padding: calc(2.4 * var(--u)); border-radius: var(--r); background: rgba(255, 255, 255, .88); box-shadow: var(--sh-1); }
.psum span { color: var(--mute); font-weight: 600; } .psum b { font-size: calc(4.4 * var(--u)); } .psum em { font-style: normal; font-weight: 700; font-size: calc(2.2 * var(--u)); margin-inline-start: auto; }
.prow { display: flex; align-items: center; width: 100%; padding: calc(2.2 * var(--u)) calc(2.6 * var(--u)); border-radius: var(--r); box-shadow: var(--sh-1); } .prow > i { font-size: calc(4 * var(--u)); color: var(--mute); }
[dir=rtl] .prow > i { transform: scaleX(-1); }

.hpill { position: absolute; top: calc(3 * var(--u)); inset-inline-end: calc(3 * var(--u)); display: inline-flex; align-items: center; gap: calc(1 * var(--u)); background: rgba(255, 255, 255, .92); border-radius: 99px; padding: calc(1.3 * var(--u)) calc(2.4 * var(--u)); font-weight: 700; font-size: calc(2.2 * var(--u)); color: var(--navy); box-shadow: var(--sh-2); }
.racts .on span { background: var(--blue); border-color: var(--blue); color: #fff; }
.ncard { border: calc(.3 * var(--u)) solid var(--line); border-radius: var(--r-s); padding: calc(2 * var(--u)) calc(2.4 * var(--u)); margin: calc(2.2 * var(--u)) 0; display: flex; flex-direction: column; gap: calc(1.6 * var(--u)); }
.nrow { display: flex; justify-content: space-between; align-items: center; gap: calc(2 * var(--u)); } .nrow em { font-style: normal; font-size: calc(1.8 * var(--u)); letter-spacing: .08em; color: var(--mute); font-weight: 700; } .nrow b { font-size: calc(2.4 * var(--u)); }
.cook { display: inline-flex; align-items: center; gap: calc(1.4 * var(--u)); font-weight: 600; font-size: calc(2.4 * var(--u)); } .cook .chk { width: calc(4 * var(--u)); height: calc(4 * var(--u)); font-size: calc(2.2 * var(--u)); } .cook.on .chk { background: var(--ok); border-color: var(--ok); }
.stars button { font-size: calc(3.6 * var(--u)); color: var(--line); padding: 0 calc(.3 * var(--u)); } .stars button.on { color: #f0b400; }
.cookbtn { display: flex; align-items: center; justify-content: center; gap: calc(1.4 * var(--u)); width: 100%; padding: calc(2.2 * var(--u)); border-radius: 99px; border: calc(.3 * var(--u)) solid var(--blue); color: var(--blue); font-weight: 800; font-size: calc(2.7 * var(--u)); margin-top: calc(2 * var(--u)); }
.stepcard { background: var(--blue-l); border-radius: var(--r); padding: calc(3.5 * var(--u)); margin-top: calc(2.4 * var(--u)); text-align: center; }
.stepcard em { font-style: normal; color: var(--blue); font-weight: 800; font-size: calc(2.1 * var(--u)); } .stepcard p { font-size: calc(3.6 * var(--u)); line-height: 1.55; font-weight: 600; margin: calc(2.4 * var(--u)) 0 calc(3 * var(--u)); min-height: 5em; }
.stepcard .track { height: calc(1 * var(--u)); background: #fff; margin-bottom: calc(3 * var(--u)); } .stepcard .track i { background: var(--blue); }
.snav { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: calc(1.2 * var(--u)); } .snav button { padding: calc(2 * var(--u)) calc(1 * var(--u)); font-size: calc(2.3 * var(--u)); width: auto; } .snav [disabled] { opacity: .4; }
#toast { position: absolute; left: 50%; top: calc(11 * var(--u)); transform: translate(-50%, calc(-3 * var(--u))); z-index: 9; display: flex; align-items: center; gap: calc(1.4 * var(--u)); background: var(--navy); color: #fff; padding: calc(1.6 * var(--u)) calc(3 * var(--u)); border-radius: 99px; font-size: calc(2.4 * var(--u)); font-weight: 700; opacity: 0; transition: all .35s var(--spring); pointer-events: none; white-space: nowrap; box-shadow: var(--sh-3); font-family: Alexandria, Cairo, sans-serif; }
#toast .ic { color: var(--yellow); font-size: 1.3em; } #toast.show { opacity: 1; transform: translate(-50%, 0); }

/* cooking days: one full-width row per day, with the day's full name */
.dlist { display: flex; flex-direction: column; gap: calc(1.5 * var(--u)); }
.drow { display: flex; align-items: center; gap: calc(2.6 * var(--u)); width: 100%; background: rgba(255, 255, 255, .88); border-radius: var(--r); padding: calc(2.1 * var(--u)) calc(2.6 * var(--u)); border: calc(.35 * var(--u)) solid transparent; box-shadow: var(--sh-1); }
.drow b { flex: 1; font-size: calc(3.4 * var(--u)); font-weight: 800; }
.dnum { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: calc(2 * var(--u)); background: var(--bg); color: var(--mute); display: grid; place-items: center; font-weight: 800; font-size: calc(2.8 * var(--u)); flex: none; transition: all .2s; }
.drow.on { border-color: var(--blue); background: var(--blue-l); } .drow.on .dnum { background: var(--blue); color: #fff; }
.drow:not(.on) b { color: var(--mute); }
.enter .dlist > * { animation: itemIn .5s var(--ease) both; animation-delay: calc(var(--n, 1) * 45ms + 140ms); }

/* kitchen: each appliance is its own transparent PNG; selected ones grow and glow green */
.hot { border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0; overflow: visible; }
.hot img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 85%; transition: transform .35s var(--spring), filter .3s ease; pointer-events: none; }
.hot[data-v=four] img, .hot[data-v=plaque] img { transform-origin: 50% 50%; }
.hot.on { z-index: 2; }
.hot.on img { transform: scale(1.12); filter: drop-shadow(0 0 calc(.35 * var(--u)) #12b76a) drop-shadow(0 0 calc(.35 * var(--u)) #12b76a) drop-shadow(0 0 calc(2.2 * var(--u)) rgba(18, 183, 106, .75)); }
.hot[data-v=four].on img { transform: scale(1.05); } .hot[data-v=plaque].on img { transform: scale(1.07); }
.hot::after { top: calc(-1.5 * var(--u)); right: 50%; transform: translateX(50%); animation: none; opacity: .95; }
.hot.on::after { background: #12b76a; top: calc(-2.4 * var(--u)); right: calc(-.5 * var(--u)); transform: none; }
.hot span { background: #12b76a; bottom: auto; top: 100%; transform: translate(-50%, -40%) scale(.6); z-index: 3; }
.hot.on span { transform: translate(-50%, 10%) scale(1); }
.hot[data-v=four] span, .hot[data-v=plaque] span { top: 50%; }
.hot[data-v=four].on span, .hot[data-v=plaque].on span { transform: translate(-50%, -50%) scale(1); }
.hot.pop { animation: none; } .hot.pop img { animation: devPop .55s var(--spring); }
@keyframes devPop { 0% { transform: scale(.94); } 55% { transform: scale(1.2); } 100% { transform: scale(1.12); } }
.hot[data-v=four].pop img, .hot[data-v=plaque].pop img { animation-name: devPopFlat; }
@keyframes devPopFlat { 0% { transform: scale(.97); } 55% { transform: scale(1.1); } 100% { transform: scale(1.06); } }
.hot:not(.on).pop img { animation: none; }

/* partner card: brand logo and name */
.ad { align-items: center; padding: calc(2 * var(--u)) calc(2.6 * var(--u)); }
.ad .adicon { width: calc(15 * var(--u)); height: calc(15 * var(--u)); border-radius: calc(2.4 * var(--u)); padding: calc(.6 * var(--u)); }
.ad b { font-size: calc(3.4 * var(--u)); font-weight: 800; } .ad div span { direction: inherit; font-size: calc(2.4 * var(--u)); }
.sp-tag.real { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- store picker: three formats, one per row ---------- */
.stores { grid-template-columns: 1fr; gap: calc(1.8 * var(--u)); }
.store { flex-direction: row; align-items: center; gap: calc(3 * var(--u)); padding: calc(2.4 * var(--u)) calc(3 * var(--u)); text-align: start; min-height: calc(17 * var(--u)); }
.slogo { width: 34%; height: calc(11 * var(--u)); flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(.4 * var(--u)); }
.store img { height: calc(9 * var(--u)); width: auto; max-height: none; max-width: 100%; }
.store .st { flex: 1; display: flex; flex-direction: column; gap: calc(.4 * var(--u)); }
.store b { font-size: calc(3.2 * var(--u)); } .store em { font-size: calc(2.2 * var(--u)); }
.radio { flex: none; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%; border: calc(.35 * var(--u)) solid var(--line); background: #fff; display: grid; place-items: center; }
.store.on .radio { border-color: var(--blue); } .store.on .radio::after { content: ''; width: 55%; height: 55%; border-radius: 50%; background: var(--blue); }
/* "City" wordmark beside the Marjane logo (placeholder for the format's own logo). */
.ltag { font-style: normal; font-weight: 800; color: var(--blue); letter-spacing: .01em; line-height: 1; font-size: calc(2.6 * var(--u)); margin-inline-start: calc(1 * var(--u)); }
.logo { direction: ltr; } .slogo .ltag { margin: 0; font-size: calc(3 * var(--u)); } .atop .logo .ltag { font-size: calc(3.6 * var(--u)); }
/* ---------- goal step: the neutral choice leads, the two plans sit side by side ---------- */
.grid2.lead > :first-child { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; text-align: start; gap: calc(2 * var(--u)); padding-block: calc(2.4 * var(--u)); }
.grid2.lead > :first-child b { flex: none; } .grid2.lead > :first-child em { flex: 1; font-size: calc(2.2 * var(--u)); }
.nrow.nut { border-top: calc(.25 * var(--u)) solid var(--line); padding-top: calc(1.6 * var(--u)); }

/* 3D plates on the welcome screen (welcome3d.js). The flat plates stay underneath as the fallback. */
.orbit .w3d { position: absolute; inset: calc(-4 * var(--u)); width: calc(100% + 8 * var(--u)); height: calc(100% + 8 * var(--u)); z-index: 1; pointer-events: none; animation: w3dIn .9s var(--ease) both; filter: drop-shadow(0 calc(1.5 * var(--u)) calc(2.5 * var(--u)) rgba(11, 27, 54, .22)); }
@keyframes w3dIn { from { opacity: 0; transform: scale(.94); } }
.orbit.has3d > .orb.in3d { visibility: hidden; animation: none; }

/* Alexandria is wider than Cairo: let the welcome text use more width and keep a gap above the partner card. */
.hero p { max-width: 96%; }
.attract .ad { margin-top: calc(2.2 * var(--u)); }

/* Budget slider: same look, but the touchable strip is as tall as the handle. */
#brange { box-sizing: border-box; height: calc(8 * var(--u)); padding: calc(3 * var(--u)) 0; margin: calc(-3 * var(--u)) 0; background-clip: content-box; }

/* Direction-aware transitions: going forward the new question comes from the end side, going back from the start side. */
.enter[data-screen=wizard] .wbody { --dx: calc(5 * var(--u)); animation: stepIn .5s var(--ease) both; }
.enter[data-screen=wizard][data-dir=back] .wbody { --dx: calc(-5 * var(--u)); }
[dir=rtl].enter[data-screen=wizard] .wbody { --dx: calc(-5 * var(--u)); }
[dir=rtl].enter[data-screen=wizard][data-dir=back] .wbody { --dx: calc(5 * var(--u)); }
@keyframes stepIn { from { transform: translateX(var(--dx)); } }
.ghost { --gx: calc(-4 * var(--u)); animation-name: ghostSide; }
[data-dir=back] .ghost { --gx: calc(4 * var(--u)); }
[dir=rtl] .ghost { --gx: calc(4 * var(--u)); }
[dir=rtl][data-dir=back] .ghost { --gx: calc(-4 * var(--u)); }
@keyframes ghostSide { to { opacity: 0; transform: translateX(var(--gx)); } }
.enter[data-dir=back][data-screen=ready] .main, .enter[data-dir=back][data-screen=plan] .main { --bx: -14%; animation: backIn .42s var(--ease) both; }
[dir=rtl].enter[data-dir=back][data-screen=ready] .main, [dir=rtl].enter[data-dir=back][data-screen=plan] .main { --bx: 14%; }
@keyframes backIn { from { transform: translateX(var(--bx)); opacity: 0; } }

/* Welcome screen without the plates: a smaller orb, the text block centred in the space it frees, a calmer headline gradient. */
.orbit { height: calc(38 * var(--u)); margin-top: calc(5 * var(--u)); display: grid; place-items: center; }
.orb-ai.xl { position: relative; left: auto; top: auto; width: calc(34 * var(--u)); height: calc(34 * var(--u)); opacity: 1; }
.hero { justify-content: center; gap: calc(2.8 * var(--u)); }
.hero h1 { font-size: calc(7 * var(--u)); text-wrap: balance; }
.hero p { text-wrap: balance; }
.shine { background-image: linear-gradient(100deg, var(--blue) 0%, #0a84d6 45%, var(--navy) 75%, var(--blue) 100%); }
.attract .ad { margin-top: calc(4 * var(--u)); }

/* Arabic letters rise above and drop below the line box: give the coloured headline line room so they are not clipped. */
.shine { padding: .3em .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[dir="rtl"] .hero h1 { line-height: 1.42; }

/* "Your week is ready": the assistant's summary as three figures, the saving tip as two photos, and one line of facts per meal. */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.4 * var(--u)); margin-top: calc(1.4 * var(--u)); }
.facts span { display: flex; flex-direction: column; align-items: flex-start; gap: calc(.3 * var(--u)); background: var(--blue-l); border-radius: var(--r-s); padding: calc(1.6 * var(--u)) calc(1.8 * var(--u)); animation: itemIn .5s var(--ease) both; }
.facts span:nth-child(2) { animation-delay: .08s; } .facts span:nth-child(3) { animation-delay: .16s; }
.facts .ic { font-size: calc(3.2 * var(--u)); color: var(--blue); }
.aicard .facts b { font-size: calc(4.8 * var(--u)); font-weight: 900; color: var(--navy); line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts em { font-style: normal; font-size: calc(1.9 * var(--u)); font-weight: 700; color: var(--mute); line-height: 1.3; }
.aicard > div { flex: 1; min-width: 0; }
.tipbtn.v { display: flex; width: 100%; gap: calc(1.6 * var(--u)); padding: calc(1.2 * var(--u)) calc(3 * var(--u)) calc(1.2 * var(--u)) calc(1.4 * var(--u)); }
[dir=rtl] .tipbtn.v { padding: calc(1.2 * var(--u)) calc(1.4 * var(--u)) calc(1.2 * var(--u)) calc(3 * var(--u)); }
.tipbtn.v .pic, .tipbtn.v .plate { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; box-shadow: 0 0 0 calc(.4 * var(--u)) rgba(255, 255, 255, .9); }
.tipbtn.v .pic:first-child { opacity: .6; }
.tipbtn.v .arr { display: grid; place-items: center; transform: scaleX(-1); } [dir=rtl] .tipbtn.v .arr { transform: none; }
.tipbtn.v .arr .ic { font-size: calc(2.6 * var(--u)); }
.tipbtn.v span:last-child { display: flex; flex-direction: column; min-width: 0; margin-inline-start: calc(.8 * var(--u)); }
.aicard .tipbtn.v b { color: var(--yellow); font-size: calc(3.2 * var(--u)); font-weight: 900; line-height: 1.2; }
.tipbtn.v em { font-style: normal; font-size: calc(2 * var(--u)); font-weight: 700; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.whys.facts-row { margin-top: calc(1 * var(--u)); }
.whys.facts-row i { font-size: calc(1.9 * var(--u)); padding: calc(.4 * var(--u)) calc(1.4 * var(--u)); }
.whys i.plain { background: none; color: var(--mute); padding-inline: 0 calc(.6 * var(--u)); }

/* "Your week is ready": the 7 days as rows of dish photos instead of a list of text rows. */
.wgrid { display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); }
.wrow { display: grid; grid-template-columns: calc(7.5 * var(--u)) repeat(var(--cols), 1fr); gap: calc(1.4 * var(--u)); animation: itemIn .5s var(--ease) both; }
.wrow > b { display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: var(--r-s); font-size: calc(3.2 * var(--u)); font-weight: 900; }
.whead { animation: none; } .whead span { text-align: center; font-size: calc(1.9 * var(--u)); font-weight: 800; color: var(--blue); }
.wt { position: relative; height: calc(19 * var(--u)); border-radius: var(--r-s); overflow: hidden; box-shadow: var(--sh-1); display: flex; align-items: flex-end; text-align: start; background: #dfe5ef; transition: transform .15s var(--ease); }
.wt:active { transform: scale(.96); }
.wt .pic, .wt .plate { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.wt .nm { position: relative; width: 100%; padding: calc(5 * var(--u)) calc(1.4 * var(--u)) calc(1.2 * var(--u)); color: #fff; font-size: calc(1.9 * var(--u)); font-weight: 800; line-height: 1.3; background: linear-gradient(transparent, rgba(6, 20, 45, .85) 62%); }
.wt.empty { align-items: center; justify-content: center; background: none; box-shadow: none; border: calc(.3 * var(--u)) dashed var(--blue-m); color: var(--blue); font-size: calc(5 * var(--u)); }

/* Less text on the other screens. */
/* Questions: the orb stands for the assistant, option cards show a large icon and a name. */
.wiz .aitag > span:not(.orb-ai) { display: none; }
.grid2:not(.lead) .tile em, .mopt .ot em { display: none; }
.grid2:not(.lead) .tile { min-height: calc(26 * var(--u)); justify-content: center; gap: calc(1.2 * var(--u)); }
.grid2:not(.lead) .tile .ti { font-size: calc(9 * var(--u)); }
.grid2:not(.lead) .tile b { font-size: calc(3.1 * var(--u)); }
.insight { flex-wrap: wrap; } .insight .track { flex: 1 0 100%; height: calc(1 * var(--u)); } .insight .track i { background: var(--blue); }
.tip:not(.bad) p { display: none; }
/* Loading: five dots that fill in, with only the current step written out. */
.lsteps { flex-direction: row; justify-content: center; gap: calc(2.4 * var(--u)); }
.lsteps li { font-size: 0; padding: 0; background: none; gap: 0; }
.lsteps i { width: calc(5 * var(--u)); height: calc(5 * var(--u)); font-size: calc(2.6 * var(--u)); }
/* Recipe: time, price, kcal and protein as four tiles. */
.facts.four { grid-template-columns: repeat(4, 1fr); margin: calc(2.2 * var(--u)) 0 calc(1 * var(--u)); }
.facts b { font-size: calc(4.8 * var(--u)); font-weight: 900; color: var(--navy); line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts.four b { font-size: calc(3.8 * var(--u)); white-space: nowrap; }
.fnote { font-size: calc(1.8 * var(--u)); color: var(--mute); margin-bottom: calc(1.6 * var(--u)); }
/* My choices: an icon in front of each row. */
.prow { gap: calc(2.4 * var(--u)); } .prow .ot { flex: 1; text-align: start; }

/* Week grid: the full day name, turned a quarter so it fits the narrow column. */
.wrow > b { font-size: calc(2.4 * var(--u)); font-weight: 800; overflow: hidden; }
.wrow > b span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; letter-spacing: .02em; }

/* Welcome: the six shortcuts as icon tiles instead of text pills. */
.intents { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.6 * var(--u)); width: 100%; }
.intents button { flex-direction: column; justify-content: center; gap: calc(1 * var(--u)); border-radius: var(--r); padding: calc(2.4 * var(--u)) calc(1 * var(--u)); font-size: calc(2.5 * var(--u)); transition: transform .15s var(--ease); }
.intents button:active { transform: scale(.95); }
.intents .ic { font-size: calc(6 * var(--u)); }

/* Welcome shortcuts: two-tone icons on a soft badge. */
.intents .duo { display: grid; place-items: center; width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: calc(3.4 * var(--u)); background: linear-gradient(150deg, #fff 0%, var(--blue-l) 100%); box-shadow: inset 0 0 0 calc(.2 * var(--u)) rgba(8, 93, 168, .1), 0 calc(.8 * var(--u)) calc(1.8 * var(--u)) rgba(8, 93, 168, .16); }
.intents .duo svg { width: calc(6.6 * var(--u)); height: calc(6.6 * var(--u)); }
.intents button { background: rgba(255, 255, 255, .9); padding-block: calc(2.2 * var(--u)); gap: calc(1.2 * var(--u)); }

/* Meal choices: an icon inside each coloured square. */
.mopt .sw { display: grid; place-items: center; }
.mopt .sw svg { width: 62%; height: 62%; }

/* Question screens: two-tone icons on a soft badge, and matching round buttons on the counters. */
.grid2 .tile .ti, .srow .oi { display: grid; place-items: center; border-radius: calc(3.4 * var(--u)); background: linear-gradient(150deg, #fff 0%, var(--blue-l) 100%); box-shadow: inset 0 0 0 calc(.2 * var(--u)) rgba(8, 93, 168, .1), 0 calc(.8 * var(--u)) calc(1.8 * var(--u)) rgba(8, 93, 168, .16); }
.grid2:not(.lead) .tile .ti { width: calc(13 * var(--u)); height: calc(13 * var(--u)); font-size: calc(8 * var(--u)); margin-bottom: calc(.4 * var(--u)); }
.grid2.lead .tile .ti { width: calc(9 * var(--u)); height: calc(9 * var(--u)); font-size: calc(5.6 * var(--u)); flex: none; }
.srow .oi { width: calc(11 * var(--u)); height: calc(11 * var(--u)); font-size: calc(7 * var(--u)); }
.srow .mini-step button:first-child { background: var(--blue-l); color: var(--navy); }
.srow .mini-step b { color: var(--navy); }

/* Days question: seven calendar tiles instead of seven rows. */
.dlist { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: calc(1.8 * var(--u)); }
.drow { flex-direction: column; justify-content: center; gap: calc(1.4 * var(--u)); width: calc((100% - 5.4 * var(--u)) / 4); min-height: calc(27 * var(--u)); padding: calc(2.4 * var(--u)) calc(1 * var(--u)); position: relative; transition: transform .15s var(--ease), background .2s, border-color .2s; }
.drow:active { transform: scale(.95); }
.drow b { flex: none; font-size: calc(2.8 * var(--u)); text-align: center; }
.dnum { position: relative; overflow: hidden; width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: calc(3 * var(--u)); padding-top: calc(2.4 * var(--u)); font-size: calc(5 * var(--u)); font-weight: 900; color: var(--mute); background: linear-gradient(150deg, #fff 0%, var(--blue-l) 100%); box-shadow: inset 0 0 0 calc(.2 * var(--u)) rgba(8, 93, 168, .1), 0 calc(.8 * var(--u)) calc(1.8 * var(--u)) rgba(8, 93, 168, .16); }
.dnum::before { content: ""; position: absolute; inset: 0 0 auto 0; height: calc(2.6 * var(--u)); background: #c9d1df; transition: background .2s; }
.drow.on .dnum { background: linear-gradient(150deg, #fff 0%, var(--blue-l) 100%); color: var(--blue); }
.drow.on .dnum::before { background: var(--yellow); }
.drow .box { position: absolute; top: calc(1.4 * var(--u)); inset-inline-end: calc(1.4 * var(--u)); width: calc(3.8 * var(--u)); height: calc(3.8 * var(--u)); border-radius: 50%; font-size: calc(2.2 * var(--u)); opacity: 0; }
.drow.on .box { opacity: 1; }

/* Kitchen question: the photo runs edge to edge and sits in the middle of the screen. */
.wiz:has(.kitchen) .wbody { flex: 1; display: flex; flex-direction: column; }
.wiz .kitchen { margin: auto calc(-3.5 * var(--u)); border-radius: 0; flex: none; }
.wiz:has(.kitchen) .note { margin-top: calc(-1 * var(--u)); }

/* Disliked foods: large photo tiles, four across, instead of small pills. */
.chipsw { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(1.6 * var(--u)); }
.chipsw .chip { position: relative; flex-direction: column; justify-content: center; gap: calc(.8 * var(--u)); border-radius: var(--r-s); padding: calc(1.6 * var(--u)) calc(.8 * var(--u)) calc(1.8 * var(--u)); font-size: calc(2.5 * var(--u)); text-align: center; line-height: 1.25; background: rgba(255, 255, 255, .9); box-shadow: var(--sh-1); transition: transform .15s var(--ease), background .2s; }
.chipsw .chip:active { transform: scale(.95); }
.chipsw .chip .pimg.xs { width: calc(13 * var(--u)); height: calc(13 * var(--u)); border-radius: calc(2 * var(--u)); background: none; font-size: calc(8 * var(--u)); transition: opacity .2s, filter .2s; }
.chipsw .chip.on .pimg { opacity: .45; filter: grayscale(1); }
.chipsw .chip.on::after { position: absolute; top: calc(1.2 * var(--u)); inset-inline-end: calc(1.2 * var(--u)); width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: calc(2.4 * var(--u)); font-weight: 900; opacity: 1; }
.chipsw .chip.on { background: var(--navy); color: #fff; }
.chipsw .chip.on .pimg { opacity: .55; }

/* Budget slider (budgetslider.js): a grid of squares for the track, a tall pill for the handle, rolling digits above. */
#brange[hidden] { display: none; }
.bsl { position: relative; height: calc(8 * var(--u)); margin: calc(2.4 * var(--u)) 0 calc(.6 * var(--u)); border-radius: calc(1.6 * var(--u)); touch-action: none; cursor: pointer; outline: none; -webkit-user-select: none; user-select: none; animation: softIn .5s var(--ease) both; }
.bsl canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: inherit; }
.bsl-thumb { position: absolute; left: 0; top: 50%; width: calc(3.6 * var(--u)); height: calc(13 * var(--u)); margin: calc(-6.5 * var(--u)) 0 0 calc(-1.8 * var(--u)); pointer-events: none; }
.bsl-thumb i { display: block; width: 100%; height: 100%; border-radius: 99px; background: var(--navy); box-shadow: 0 0 0 calc(.5 * var(--u)) #fff, 0 calc(1 * var(--u)) calc(2.4 * var(--u)) rgba(11, 27, 54, .35); transition: transform .2s var(--ease); }
.bsl.drag .bsl-thumb i { transform: scaleX(1.18); }
.bsl:focus-visible { box-shadow: 0 0 0 calc(.5 * var(--u)) var(--blue-m); }
.bnum .rd { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.bnum .rds { display: flex; flex-direction: column; }
.bnum .rds i { display: block; height: 1em; line-height: 1; font-style: normal; }

/* Assistant card on "your week is ready": orb and name on one line, figures and tip across the full width; numbers stay left-to-right in Arabic. */
.aicard { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: calc(1.8 * var(--u)); row-gap: calc(1.6 * var(--u)); }
.aicard > div { display: contents; }
.aicard > .orb-ai { width: calc(6 * var(--u)); height: calc(6 * var(--u)); }
.aicard > div > b { font-size: calc(2.5 * var(--u)); }
.aicard .typed, .aicard .facts, .aicard .tipbtn { grid-column: 1 / -1; margin-top: 0; }
.facts b, .tipbtn.v b { direction: ltr; unicode-bidi: isolate; }
[dir=rtl] .tipbtn.v .arr { transform: scaleX(-1); }
.tipbtn.v span:last-child { align-items: flex-start; }

/* Grocery-list card on "your week is ready": deep blue card, product thumbnails, cashback pill, round arrow. */
.rc.lux { background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); color: #fff; overflow: hidden; gap: calc(.8 * var(--u)); box-shadow: 0 calc(1.4 * var(--u)) calc(3.6 * var(--u)) rgba(8, 93, 168, .35); transition: transform .15s var(--ease); }
.rc.lux:active { transform: scale(.97); }
.rc.lux::before { content: ""; position: absolute; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; inset-inline-end: calc(-12 * var(--u)); top: calc(-14 * var(--u)); background: radial-gradient(circle, rgba(76, 195, 255, .45), transparent 68%); pointer-events: none; }
.rc.lux .cart { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: calc(2.8 * var(--u)); background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 calc(.2 * var(--u)) rgba(255, 255, 255, .28); display: grid; place-items: center; }
.rc.lux .cart svg { width: calc(5.6 * var(--u)); height: calc(5.6 * var(--u)); }
.rc.lux > b { font-size: calc(3.6 * var(--u)); font-weight: 800; line-height: 1.25; letter-spacing: 0; margin-top: calc(.8 * var(--u)); color: #fff; }
.rc.lux em { color: rgba(255, 255, 255, .78); font-size: calc(2.1 * var(--u)); letter-spacing: 0; }
.rc.lux .go { position: absolute; top: calc(2.8 * var(--u)); inset-inline-end: calc(2.8 * var(--u)); width: calc(6.4 * var(--u)); height: calc(6.4 * var(--u)); border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: calc(3 * var(--u)); transform: scaleX(-1); }
.rc.lux .thumbs { display: flex; align-items: center; margin-top: calc(.6 * var(--u)); }
.rc.lux .thumbs .pimg { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #fff; box-shadow: 0 0 0 calc(.35 * var(--u)) var(--navy); margin-inline-end: calc(-1.4 * var(--u)); object-fit: contain; }
.rc.lux .thumbs u { text-decoration: none; margin-inline-start: calc(2.4 * var(--u)); font-size: calc(2 * var(--u)); font-weight: 800; color: rgba(255, 255, 255, .85); direction: ltr; }
.rc.lux .cbs { background: var(--yellow); color: var(--navy); border-radius: 99px; padding: calc(.5 * var(--u)) calc(1.6 * var(--u)); font-size: calc(2 * var(--u)); font-weight: 800; margin-top: calc(.6 * var(--u)); }
[dir=rtl] .rc.lux .go, [dir=rtl] .tipbtn.v .arr { transform: none; }
.rc.lux .thumbs u { margin: 0 calc(2.4 * var(--u)); }

/* Grocery-list card: same height as the budget card beside it; thumbnails and cashback share one line. */
.rc.lux { gap: calc(.4 * var(--u)); padding: calc(2.4 * var(--u)); }
.rc.lux .cart { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: calc(2.2 * var(--u)); }
.rc.lux .cart svg { width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); }
.rc.lux .go { top: calc(2.4 * var(--u)); inset-inline-end: calc(2.4 * var(--u)); width: calc(5.6 * var(--u)); height: calc(5.6 * var(--u)); font-size: calc(2.6 * var(--u)); }
.rc.lux > b { font-size: calc(3.2 * var(--u)); margin-top: calc(.6 * var(--u)); }
.rc.lux .lrow { display: flex; align-items: center; justify-content: space-between; gap: calc(1 * var(--u)); width: 100%; margin-top: calc(.8 * var(--u)); }
.rc.lux .thumbs { margin-top: 0; padding-inline-end: calc(1.4 * var(--u)); }
.rc.lux .thumbs .pimg { width: calc(5.2 * var(--u)); height: calc(5.2 * var(--u)); }
.rc.lux .cbs { display: inline-flex; align-items: center; gap: calc(.8 * var(--u)); margin-top: 0; padding: calc(.5 * var(--u)) calc(1.4 * var(--u)) calc(.5 * var(--u)) calc(1 * var(--u)); white-space: nowrap; }
[dir=rtl] .rc.lux .cbs { padding: calc(.5 * var(--u)) calc(1 * var(--u)) calc(.5 * var(--u)) calc(1.4 * var(--u)); }
.rc.lux .cbs svg { width: calc(3 * var(--u)); height: calc(3 * var(--u)); flex: none; }
.ccic { width: 1.35em; height: 1.35em; vertical-align: -.28em; }

/* Week grid: a soft, even shade behind the dish name instead of a hard dark band. */
.wt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(to top, rgba(6, 20, 45, .72) 0%, rgba(6, 20, 45, .5) 18%, rgba(6, 20, 45, .22) 38%, rgba(6, 20, 45, .06) 54%, transparent 66%); }
.wt.empty::after { display: none; }
.wt .nm { z-index: 1; background: none; padding-top: calc(1 * var(--u)); text-shadow: 0 calc(.2 * var(--u)) calc(.8 * var(--u)) rgba(6, 20, 45, .55); }

/* Maintenance screen, shown when the admin platform puts this kiosk in maintenance (telemetry.js). */
#mj-maint { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: linear-gradient(180deg, var(--blue) 0%, var(--navy) 100%); color: #fff; text-align: center; }
#mj-maint div { display: flex; flex-direction: column; gap: calc(2 * var(--u)); padding: calc(6 * var(--u)); }
#mj-maint b { font-size: calc(6.4 * var(--u)); font-weight: 900; line-height: 1.2; } #mj-maint span { font-size: calc(3.2 * var(--u)); opacity: .9; }

/* Grocery-list footer: total with two pills (what is left, cashback) and a send button with a phone badge and an arrow. */
.bar.lux { gap: calc(2.2 * var(--u)); }
.bar.lux .tot > div:first-child { align-items: center; }
.bar.lux .tot > div > span { font-size: calc(2.3 * var(--u)); font-weight: 700; letter-spacing: .01em; }
.bar.lux .tot b { font-size: calc(6.6 * var(--u)); color: var(--navy); }
.bar.lux .tot b.bad { color: var(--bad); }
.bar.lux .pills { display: flex; flex-wrap: wrap; gap: calc(1.2 * var(--u)); margin-top: calc(1 * var(--u)); }
.bar.lux .pill, .bar.lux .cbs { display: inline-flex; align-items: center; gap: calc(.8 * var(--u)); border-radius: 99px; padding: calc(.6 * var(--u)) calc(1.8 * var(--u)); font-size: calc(2.1 * var(--u)); font-weight: 800; white-space: nowrap; }
.bar.lux .pill.ok { background: var(--ok-l); color: var(--ok); } .bar.lux .pill.bad { background: var(--bad-l); color: var(--bad); }
.bar.lux .cbs { background: var(--yellow); color: var(--navy); } .bar.lux .cbs svg { width: calc(3 * var(--u)); height: calc(3 * var(--u)); flex: none; }
.bar.lux .send { justify-content: space-between; padding: calc(1.6 * var(--u)); background: linear-gradient(120deg, #0a6fd6 0%, var(--blue) 45%, var(--navy) 100%); box-shadow: 0 calc(1.4 * var(--u)) calc(3.6 * var(--u)) rgba(8, 93, 168, .4), inset 0 calc(.2 * var(--u)) 0 rgba(255, 255, 255, .22); transition: transform .15s var(--ease); }
.bar.lux .send:active { transform: scale(.98); }
.bar.lux .send > span { flex: 1; text-align: center; }
.bar.lux .send i.duo-ph, .bar.lux .send i.go { display: grid; place-items: center; flex: none; border-radius: 50%; padding: 0; }
.bar.lux .send i.duo-ph { width: calc(8.4 * var(--u)); height: calc(8.4 * var(--u)); background: #fff; box-shadow: 0 calc(.6 * var(--u)) calc(1.6 * var(--u)) rgba(5, 43, 87, .3); }
.bar.lux .send i.duo-ph svg { width: calc(5.4 * var(--u)); height: calc(5.4 * var(--u)); }
.bar.lux .send i.go { width: calc(6.4 * var(--u)); height: calc(6.4 * var(--u)); background: rgba(255, 255, 255, .16); color: #fff; font-size: calc(2.8 * var(--u)); transform: scaleX(-1); }
[dir=rtl] .bar.lux .send i.go { transform: none; }

/* Header logo: sized by width, so the Marjane wordmark is the same size whichever store logo is shown. */
.top.v2 .logo img { height: auto; width: calc(20 * var(--u)); }
.top.v2 .logo .ltag { font-size: calc(3.4 * var(--u)); }

/* The outgoing question (a fading copy, see render() in app.js and Wizard.tsx): it must fade and slide away, never
   replay the entrance animations. The slide-in rule for new questions is more specific, so this is forced. */
#app .wbody.ghost { animation: ghostSide .26s ease-out forwards !important; }
#app .wbody.ghost * { animation: none !important; }

/* Questions: the assistant's orb sits on the same line as the question, at its start. The orb is placed over the
   first line and the title's first line is indented to make room (this also works on the kitchen step, whose
   content is laid out as a column). */
.wiz .wbody:not(.ghost) { position: relative; }
.wiz .wbody > .aitag { position: absolute; inset-inline-start: 0; top: calc(2.5 * var(--u)); margin: 0; }
.wiz .wbody > .aitag .orb-ai.xs { width: calc(4.2 * var(--u)); height: calc(4.2 * var(--u)); }
.wiz .wbody > .q { text-indent: calc(5.6 * var(--u)); }
.wiz .wbody > .q .w { text-indent: 0; }

/* Budget card on "your week is ready": amount and what is left on one side, a ring showing the share of the budget used on the other. */
.rc.bud { flex-direction: row; align-items: center; justify-content: space-between; gap: calc(1.6 * var(--u)); padding: calc(2.4 * var(--u)); }
.rc.bud .bt { display: flex; flex-direction: column; align-items: flex-start; gap: calc(1.1 * var(--u)); min-width: 0; }
.rc.bud .bt > b { display: flex; align-items: baseline; gap: calc(.9 * var(--u)); direction: ltr; font-size: calc(5.6 * var(--u)); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; color: var(--navy); white-space: nowrap; }
.rc.bud .bt > b.bad { color: var(--bad); } .rc.bud .bt > b small { font-size: .38em; font-weight: 800; color: var(--mute); letter-spacing: 0; }
.rc.bud .pill { white-space: nowrap; }
.ring { width: calc(13 * var(--u)); height: calc(13 * var(--u)); flex: none; }
.ring .rg, .ring .rv { fill: none; stroke-width: 4.2; } .ring .rg { stroke: var(--blue-l); }
.ring .rv { stroke: var(--blue); stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); } .ring .rv.bad { stroke: var(--bad); }
.ring text { font-size: 8.4px; font-weight: 900; fill: var(--navy); font-family: inherit; }

/* Marjane City is the green format: its "City" label follows the green logo. */
img[src*="marjane-city-logo"] + .ltag { color: #00843D; }

/* Marjane's own question on the QR screen (React kiosk, data collector). */
.ask { margin-top: calc(3 * var(--u)); background: rgba(255, 255, 255, .9); border-radius: var(--r); padding: calc(2.6 * var(--u)); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: calc(1.2 * var(--u)); text-align: start; animation: itemIn .5s var(--ease) both; }
.ask em { font-style: normal; font-size: calc(1.9 * var(--u)); font-weight: 800; color: var(--blue); }
.ask > b { font-size: calc(3 * var(--u)); font-weight: 800; line-height: 1.3; }
.askopts { display: flex; flex-wrap: wrap; gap: calc(1.2 * var(--u)); margin-top: calc(.6 * var(--u)); }
.askopts button { flex: 1 1 auto; min-height: calc(8 * var(--u)); padding: calc(1.6 * var(--u)) calc(2.4 * var(--u)); border-radius: var(--r-s); background: var(--blue-l); color: var(--navy); font-weight: 800; font-size: calc(2.5 * var(--u)); transition: transform .15s var(--ease), background .2s; }
.askopts button:active { transform: scale(.96); } .askopts button.on { background: var(--navy); color: #fff; } .askopts button.ok { flex: 0 0 auto; background: var(--blue); color: #fff; }
.askopts.scale button { flex: 1 1 0; font-size: calc(3.2 * var(--u)); }
.ask.done { align-items: center; font-weight: 800; font-size: calc(2.8 * var(--u)); color: var(--ok); }
