/* =====================================================================
   Local Link — VoiceBite design system (v23)
   A clean rebuild on VoiceBite's UI/UX: white app on a warm aurora stage,
   bokeh lights + silk ribbon waves, frosted header, big italic display
   type, soft cards, pill controls, floating dock with a raised centre
   button, living voice screen, bento console. Local Link teal + coral.
   This file replaces styles.css + fx.css.
   ===================================================================== */

/* ---------- tokens ---------- */
:root{
  --brand:#0C8F82; --brand-d:#0A5C55; --brand-l:#17B6A6; --brand-50:#EAF6F4; --brand-100:#D2EEEA;
  --hot:#F0523A; --hot-d:#D63F28; --hot-50:#FFEAE4; --sun:#F7C948; --sun-50:#FFF4D2;
  --bg:#FFFFFF; --cream:#F5FBF9; --surface:#FFFFFF; --surface-2:#F3F6F5; --canvas:#E4EEEB;
  --ink:#14161A; --ink2:#3D4044; --body:#3D4044; --muted:#737A80; --soft:#737A80; --faint:#A3AAB0;
  --line:#ECEFEE; --border:#ECEFEE; --border-strong:#DDE3E1;
  --ok:#0A9F64; --ok-50:#E7F7F0; --warn:#C27C0E; --warn-50:#FFF2D9; --bad:#D93A2B; --bad-50:#FDE8E5;
  --shadow:0 1px 2px rgba(20,30,28,.04), 0 8px 24px -12px rgba(20,40,36,.20);
  --shadow-lg:0 20px 50px -18px rgba(20,40,36,.38);
  --glow:0 10px 22px -8px rgba(12,143,130,.65);
  --hot-glow:0 10px 22px -8px rgba(240,82,58,.6);
  --r:22px; --r-sm:14px; --r-lg:26px;
  --ease:cubic-bezier(.2,.8,.2,1); --spring:cubic-bezier(.34,1.56,.64,1);
  --font:'Plus Jakarta Sans','Inter','Segoe UI',system-ui,sans-serif;
  --display:'Barlow Condensed','Plus Jakarta Sans',system-ui,sans-serif;
  --top:env(safe-area-inset-top,0px); --bottom:env(safe-area-inset-bottom,0px);
  /* names app.js inline styles use */
  --primary:var(--brand); --primary-dark:var(--brand-d); --primary-light:var(--brand-l); --primary-50:var(--brand-50); --primary-100:var(--brand-100); --primary-600:var(--brand);
  --primary-grad:linear-gradient(135deg,#17B6A6,#0C8F82 55%,#0A5C55);
  --accent:var(--hot); --accent-soft:var(--hot-50); --accent-grad:linear-gradient(135deg,#FF8A5B,#F05A34);
  --success:var(--ok); --success-bg:var(--ok-50); --warning:var(--warn); --warning-bg:var(--warn-50); --error:var(--bad); --error-bg:var(--bad-50);
  --express:var(--sun); --express-ink:#5A4600; --elevated:var(--surface); --stage:#EEF2F0;
  --shadow-sm:var(--shadow); --shadow-md:var(--shadow); --ring:0 0 0 3px rgba(12,143,130,.18);
  --r-md:var(--r-sm); --r-xl:30px; --r-pill:999px;
  --font-display:var(--font); --font-body:var(--font);
}
:root[data-theme="dark"], body.cdark{
  --bg:#0D1110; --cream:#111716; --surface:#161C1B; --surface-2:#1E2625; --canvas:#070B0A;
  --ink:#F1F5F4; --ink2:#C9D2D0; --body:#C9D2D0; --muted:#8C9A97; --soft:#8C9A97; --faint:#5D6B68;
  --line:#232C2B; --border:#232C2B; --border-strong:#2F3A38;
  --brand:#1BB3A3; --brand-l:#2CCBBA; --brand-50:#10221F; --brand-100:#143A35; --hot-50:#33201B; --sun-50:#2E2712;
  --ok-50:#0F271E; --warn-50:#2A2012; --bad-50:#2C1618; --stage:#060908;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 10px 26px -12px rgba(0,0,0,.7); --shadow-lg:0 22px 50px -18px rgba(0,0,0,.8);
}

/* ---------- base ---------- */
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent}
html,body{margin:0; min-height:100%}
body{font-family:var(--font); color:var(--ink); background:var(--stage); line-height:1.45; -webkit-font-smoothing:antialiased}
.ml :is(h1,h2,h3,h4,p,span,button,div,b){font-family:'Noto Sans Malayalam',var(--font)}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{color:var(--ink); letter-spacing:-.025em; text-wrap:balance}
button{font:inherit; color:inherit; cursor:pointer; border:0; background:none; padding:0}
a{color:inherit; text-decoration:none}
input,select,textarea{font:inherit; color:inherit}
:focus-visible{outline:2.5px solid var(--brand); outline-offset:2px; border-radius:8px}
[hidden],.hidden{display:none !important}
svg{flex:none}
#fx-intro{display:none}
@keyframes rise{from{opacity:0; transform:translateY(12px)}}
@keyframes pop{from{transform:scale(.6); opacity:0}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{50%{opacity:.45}}
@keyframes boing{30%{transform:scale(1.08,.92)} 60%{transform:scale(.96,1.04)}}
@keyframes wv{50%{height:100%}}
@keyframes breath{50%{transform:scale(1.12); opacity:.7}}
@keyframes sheen{40%,100%{transform:translateX(100%)}}
@keyframes ringpulse{from{opacity:1; transform:scale(.92)} to{opacity:0; transform:scale(1.22)}}
@keyframes growx{from{transform:scaleX(0)}}
@keyframes draw{to{stroke-dashoffset:0}}
.boing{animation:boing .45s var(--spring)}
.muted{color:var(--muted)} .faint{color:var(--faint)} .tabnums{font-variant-numeric:tabular-nums}
.px{padding-left:16px; padding-right:16px}
.row{display:flex; align-items:center}
.stack{display:flex; flex-direction:column}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.center-min{min-height:300px; display:grid; place-items:center}
.gi{display:inline-grid; place-items:center; line-height:0}
.gi svg{width:1.15em; height:1.15em}
.ic-svg svg{width:18px; height:18px}

/* =====================================================================
   STAGE, ATMOSPHERE, BOKEH, SILK RIBBONS
   ===================================================================== */
.appwrap{position:relative; isolation:isolate; overflow:hidden; min-height:100vh; min-height:100dvh; display:flex; align-items:center; justify-content:center; padding:20px;
  background:radial-gradient(700px 500px at 15% 10%, #D3F0EA, transparent 60%), radial-gradient(600px 500px at 90% 90%, #FFE1D8, transparent 60%), #EEF2F0}
body.cdark .appwrap,:root[data-theme="dark"] .appwrap{background:radial-gradient(700px 500px at 15% 10%, #0C2A26, transparent 60%), radial-gradient(600px 500px at 90% 90%, #2A1610, transparent 60%), #060908}
.atmo{position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; contain:strict}
.atmo > i{position:absolute; border-radius:50%; will-change:transform}
.atmo > i:nth-child(1){width:60vmax; height:60vmax; left:-15vmax; top:-20vmax; background:radial-gradient(circle, rgba(95,211,196,.55), rgba(95,211,196,0) 62%); animation:drift1 22s ease-in-out infinite alternate}
.atmo > i:nth-child(2){width:55vmax; height:55vmax; right:-18vmax; top:10vmax; background:radial-gradient(circle, rgba(255,170,140,.5), rgba(255,170,140,0) 62%); animation:drift2 26s ease-in-out infinite alternate}
.atmo > i:nth-child(3){width:50vmax; height:50vmax; left:10vmax; bottom:-25vmax; background:radial-gradient(circle, rgba(250,214,110,.45), rgba(250,214,110,0) 62%); animation:drift3 30s ease-in-out infinite alternate}
@keyframes drift1{to{transform:translate(12vmax,10vmax) scale(1.15)}}
@keyframes drift2{to{transform:translate(-14vmax,8vmax) scale(.9)}}
@keyframes drift3{to{transform:translate(8vmax,-12vmax) scale(1.1)}}
.atmo::after{content:""; position:absolute; inset:-50%; opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.phone > .atmo > i{opacity:.55}
.phone > .atmo > i:nth-child(1){width:340px; height:340px; left:-140px; top:120px}
.phone > .atmo > i:nth-child(2){width:300px; height:300px; right:-140px; top:420px; left:auto}
.phone > .atmo > i:nth-child(3){width:320px; height:320px; left:40px; bottom:-120px}
body.cdark .phone > .atmo > i,:root[data-theme="dark"] .phone > .atmo > i{opacity:.18}
/* two slow rotating rings */
.phone > .atmo::before{content:""; position:absolute; width:520px; height:520px; left:50%; top:30%; margin:-260px 0 0 -260px; border-radius:50%;
  border:1.5px dashed rgba(12,143,130,.10); box-shadow:0 0 0 70px rgba(247,201,72,.04), 0 0 0 71.5px rgba(240,82,58,.07); animation:spin 80s linear infinite}
/* bokeh + ribbons (built by vbfx.js) */
.floaters{position:absolute; inset:0; pointer-events:none; overflow:hidden; will-change:transform}
.bk{position:absolute; left:var(--x); top:var(--y); width:var(--s); height:var(--s); margin:calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(var(--c),.9), rgba(var(--c),.35) 45%, rgba(var(--c),0) 70%);
  opacity:0; animation:bk var(--d) ease-in-out var(--dl) infinite; will-change:transform,opacity}
.bk::after{content:""; position:absolute; inset:18%; border-radius:50%; border:1px solid rgba(255,255,255,.55); opacity:.5}
@keyframes bk{0%,100%{transform:translate3d(0,0,0) scale(.7); opacity:0} 25%{opacity:var(--o)} 50%{transform:translate3d(var(--dx),var(--dy),0) scale(1)} 75%{opacity:var(--o)}}
.ribbon{position:absolute; left:0; top:38%; width:200%; height:220px; display:flex; opacity:.9; animation:silk 26s linear infinite; will-change:transform}
.ribbon .silk{width:50%; height:100%; flex:none}
.ribbon.rb2{top:68%; height:180px; opacity:.6; animation-duration:38s; animation-direction:reverse}
@keyframes silk{to{transform:translate3d(-50%,0,0)}}
.appwrap > .atmo .ribbon{top:30%; height:340px}
body.cdark .bk,:root[data-theme="dark"] .bk{opacity:0; --o:.18 !important}

/* ---------- the phone ---------- */
.phone{position:relative; z-index:1; isolation:isolate; display:flex; flex-direction:column; overflow:hidden;
  width:440px; max-width:100%; height:min(900px,calc(100dvh - 40px)); background:var(--bg); border-radius:46px;
  box-shadow:0 50px 110px -30px rgba(10,50,45,.45), 0 0 0 10px #151B1C, 0 0 0 11px #303B3C}
.phone .screen{position:relative; z-index:1; flex:1; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:none; padding-bottom:120px}
.phone .screen::-webkit-scrollbar{display:none}
.phone .screen > *{animation:rise .5s var(--ease) both}
#navholder{position:absolute; left:0; right:0; bottom:0; z-index:20; pointer-events:none}
@media (max-width:560px){
  .appwrap{padding:0}
  .phone{width:100%; height:100dvh; border-radius:0; box-shadow:none}
}

/* =====================================================================
   HEADER, SEARCH, BRAND
   ===================================================================== */
.vb-word{font-family:var(--display); font-style:italic; font-weight:800; font-size:24px; letter-spacing:.005em; text-transform:uppercase; line-height:1}
.vb-word .w1{color:var(--ink)} .vb-word .w2{color:var(--brand)}
.cbrand-logo svg{animation:logoBob 4s ease-in-out infinite; display:block}
@keyframes logoBob{0%,100%{transform:none} 50%{transform:translateY(-2px) rotate(-4deg)}}
.vhd{position:sticky; top:0; z-index:8; padding:calc(14px + var(--top)) 16px 14px; border-radius:0 0 28px 28px;
  background:color-mix(in srgb,var(--cream) 94%,transparent); box-shadow:0 10px 30px -24px rgba(10,40,36,.55); transition:padding .35s var(--ease)}
.vhd-brand{display:flex; align-items:center; gap:8px; max-height:48px; overflow:hidden; transition:max-height .35s var(--ease), opacity .3s, margin .35s var(--ease)}
.vhd.tight .vhd-brand{max-height:0; opacity:0}
.vhd.tight .vhd-row{margin-top:0}
.vhd-tag{font-size:10.5px; font-weight:700; color:var(--muted); background:var(--surface); border-radius:999px; padding:5px 10px; box-shadow:var(--shadow)}
.hicon,.tb-btn{width:42px; height:42px; flex:none; border-radius:50%; display:grid; place-items:center; background:var(--surface); color:var(--ink); box-shadow:var(--shadow); transition:transform .3s var(--spring)}
.hicon:active,.tb-btn:active{transform:scale(.9)}
.hicon svg,.tb-btn svg{width:19px; height:19px}
.clang,.lang-toggle{display:flex; background:var(--surface); box-shadow:var(--shadow); border-radius:999px; padding:3px}
.clang button,.lang-toggle button{border-radius:999px; padding:6px 10px; font-size:12px; font-weight:800; color:var(--muted)}
.clang button.on,.lang-toggle button.on{background:var(--brand); color:#fff; box-shadow:var(--glow)}
.mini-ctrl{display:flex; align-items:center; gap:8px}
.vhd-row{display:flex; align-items:center; gap:10px; margin-top:12px; transition:margin .35s var(--ease)}
.vloc{flex:1; min-width:0; display:flex; align-items:center; gap:10px; background:var(--surface); border-radius:18px; padding:6px 12px 6px 6px; box-shadow:var(--shadow); text-align:left; transition:transform .3s var(--spring)}
.vloc:active{transform:scale(.98)}
.vloc-ico{width:38px; height:38px; flex:none; border-radius:13px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand)}
.vloc-ico svg{width:20px; height:20px; fill:currentColor}
.vloc-t{min-width:0; display:block}
.vloc-t small{display:flex; gap:8px; font-size:11.5px; color:var(--brand); font-weight:600}
.vloc-t b{display:block; font-size:15px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.opennow{font-style:normal; color:var(--ok); font-weight:700; white-space:nowrap}
.opennow::before{content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background:currentColor; margin-right:5px; vertical-align:1px; animation:pulse 1.8s ease-in-out infinite}
.vround{width:46px; height:46px; flex:none; border-radius:50%; display:grid; place-items:center; background:var(--surface); color:var(--hot); box-shadow:var(--shadow); transition:transform .3s var(--spring)}
.vround svg{width:20px; height:20px; fill:currentColor}
.vround:active{transform:scale(.9)}
.vsrch{display:flex; align-items:center; gap:4px; margin-top:12px; background:var(--surface); border-radius:999px; padding:5px 5px 5px 16px; box-shadow:var(--shadow); transition:box-shadow .3s}
.vsrch:hover{box-shadow:0 0 0 2px var(--brand-50), var(--shadow)}
.vsrch-ic svg{width:18px; height:18px; color:var(--ink2); display:block}
.vsrch-txt{flex:1; min-width:0; text-align:left; padding:11px 6px; color:var(--muted); font-weight:500; font-size:14.5px; white-space:nowrap; overflow:hidden}
.vsrch-txt .sq{display:inline-block; animation:hintIn .45s var(--ease)}
@keyframes hintIn{from{opacity:0; transform:translateY(8px)}}
.vsrch-mic{position:relative; flex:none; width:44px; height:44px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; box-shadow:var(--glow)}
.vsrch-mic svg{width:20px; height:20px}
.vsrch-mic::after{content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid rgba(12,143,130,.35); animation:ringpulse 2.2s ease-out infinite}
.vav{width:42px; height:42px; border:0; box-shadow:var(--shadow)}
.avatar{width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:800; flex:none}
/* inner pages: sticky title bar (VoiceBite menu "stick") */
.phone .row.px[style*="sticky"]{position:sticky !important; top:0; z-index:8; padding-top:calc(14px + var(--top)) !important; padding-bottom:12px !important; border-radius:0 0 26px 26px;
  background:color-mix(in srgb,var(--cream) 95%,transparent) !important; box-shadow:0 12px 24px -22px rgba(10,40,36,.5)}
.phone .row.px[style*="sticky"] h3{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:28px !important; letter-spacing:0; line-height:1}
.chead{padding:calc(16px + var(--top)) 16px 14px; border-radius:0 0 26px 26px; background:color-mix(in srgb,var(--cream) 95%,transparent); box-shadow:0 12px 24px -22px rgba(10,40,36,.5)}
.chead h2{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:30px !important; letter-spacing:0; line-height:1}
.addrbar{display:flex; align-items:center; gap:10px; padding:calc(16px + var(--top)) 16px 10px}
.addrbar .atext{flex:1; min-width:0}
.addrbar .atop{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:30px; line-height:1; display:flex; align-items:center; gap:6px}
.addrbar .atop svg{width:16px; height:16px}
.addrbar .asub{font-size:12.5px; color:var(--muted); margin-top:3px}
.addrbar .pinwrap{width:38px; height:38px; border-radius:13px; background:var(--brand-50); color:var(--brand); display:grid; place-items:center}
.addrbar .pinwrap svg{width:19px; height:19px; fill:currentColor}
.cbrand{display:flex; align-items:center; gap:8px; padding:calc(16px + var(--top)) 16px 6px}
.cbrand-name{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:30px; line-height:1}
.nsearch,.searchbar{display:flex; align-items:center; gap:10px; margin:6px 16px 4px; padding:13px 16px; border-radius:999px; background:var(--surface); box-shadow:var(--shadow); color:var(--muted); font-size:14.5px; text-align:left; width:calc(100% - 32px)}
.searchbar{margin:0; width:auto}
.nsearch > svg,.searchbar > svg{width:18px; height:18px}
.nsearch .sq{flex:1; white-space:nowrap; overflow:hidden}
.nsearch .cambtn{width:34px; height:34px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; box-shadow:var(--glow)}
.nsearch .cambtn svg{width:17px; height:17px}
.searchbar input{flex:1; min-width:0; border:0; outline:0; background:none; color:var(--ink); font-size:14.5px}
.searchbar:focus-within{box-shadow:0 0 0 2px var(--brand), var(--shadow)}

/* =====================================================================
   HOME: PROMOS, DOTS, GREETING, MOODS, CATEGORY TILES
   ===================================================================== */
.vpromos{display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; margin-top:14px; padding:4px 16px 8px; scroll-padding-inline:16px; scrollbar-width:none}
.vpromos::-webkit-scrollbar{display:none}
.vpromo{position:relative; flex:none; width:calc(100% - 44px); height:166px; scroll-snap-align:start; border-radius:22px; overflow:hidden; padding:13px 15px; color:#fff; display:flex; flex-direction:column; align-items:flex-start; isolation:isolate; transition:box-shadow .4s}
.vpromo small{font-size:9.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; background:rgba(255,255,255,.22); border-radius:999px; padding:3px 8px}
.vpromo h2{font-family:var(--display); font-style:italic; font-weight:800; font-size:21px; line-height:.95; text-transform:uppercase; margin-top:6px; max-width:11.5ch; color:inherit; text-shadow:0 2px 0 rgba(0,0,0,.08)}
.vpromo > p{display:none}
.vchips{display:flex; gap:5px; margin-top:7px; flex-wrap:nowrap}
.vchips span{display:inline-flex; align-items:center; gap:4px; font-size:9.5px; font-weight:600; white-space:nowrap; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:3px 7px 3px 5px}
.vchips svg{width:11px; height:11px}
.vpromo-btn{margin-top:auto; border-radius:999px; background:#fff; color:var(--brand); padding:6px 11px 6px 9px; font-weight:700; font-size:11.5px; display:inline-flex; align-items:center; gap:7px; box-shadow:0 8px 20px -10px rgba(0,0,0,.5); transition:transform .2s var(--ease)}
.vpromo-btn:active{transform:scale(.95)}
.vpromo-btn svg{width:14px; height:14px}
.p-voice .vpromo-btn svg{width:20px; height:20px; padding:4px; border-radius:50%; background:var(--brand); color:#fff}
.p-voice{background:radial-gradient(240px 200px at 85% 20%, #2CCBBA, transparent 70%), linear-gradient(135deg,#0FA596,#0A5C55)}
.p-voice::before{content:""; position:absolute; width:220px; height:220px; right:-70px; top:-80px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.22), transparent 62%); z-index:-1}
.p-voice .wave{position:absolute; right:12px; bottom:14px; display:flex; align-items:center; gap:3px; height:28px; opacity:.65; z-index:-1}
.p-voice .wave i{width:3px; border-radius:3px; background:#fff; height:20%; animation:wv 1.1s ease-in-out infinite; animation-delay:calc(var(--n) * -110ms)}
.p-deal{background:radial-gradient(220px 180px at 90% 90%, #FFA27F, transparent 70%), linear-gradient(135deg,#FF6B4A,#E0422A)}
.p-deal .vpromo-btn{color:var(--hot)}
.p-deal::after{content:"%"; position:absolute; right:-4px; bottom:-26px; font:italic 800 120px/1 var(--display); color:rgba(255,255,255,.16); z-index:-1}
.p-near{background:radial-gradient(240px 200px at 10% 0%, #FFE9A6, transparent 70%), linear-gradient(135deg,#F7C948,#EFAE1E); color:#2B2100}
.p-near small{background:rgba(30,23,0,.1)} .p-near .vchips span{background:rgba(30,23,0,.08); border-color:rgba(30,23,0,.12)}
.p-near .vpromo-btn{background:#14161A; color:#fff}
.p-near::after{content:""; position:absolute; right:18px; bottom:18px; width:64px; height:64px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:rgba(255,255,255,.35); box-shadow:inset 0 0 0 15px rgba(255,255,255,.25); z-index:-1; animation:pinFloat 4.5s ease-in-out infinite}
@keyframes pinFloat{50%{transform:rotate(-45deg) translate(4px,-6px)}}
.vpromo.on.p-voice{box-shadow:0 22px 40px -20px rgba(10,92,85,.6)} .vpromo.on.p-deal{box-shadow:0 22px 40px -20px rgba(240,82,58,.55)} .vpromo.on.p-near{box-shadow:0 22px 40px -20px rgba(239,174,30,.6)}
.vdots,.dots,.ostack-dots,.intro-dots{display:flex; justify-content:center; gap:6px; margin-top:6px}
:is(.vdots,.dots,.ostack-dots,.intro-dots) i{width:6px; height:6px; border-radius:3px; background:var(--border-strong); transition:width .35s var(--spring), background .3s; cursor:pointer}
:is(.vdots,.dots,.ostack-dots,.intro-dots) i.on{width:20px; background:var(--brand)}
.vgreet{display:grid; gap:2px; margin:18px 18px 4px; animation:rise .6s var(--ease) .15s both}
.vgreet b{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:28px; line-height:1}
.vgreet span{color:var(--muted); font-size:13.5px}
.vmoods,.vpills,.subchips{display:flex; gap:8px; overflow-x:auto; padding:10px 16px 8px; scrollbar-width:none}
:is(.vmoods,.vpills,.subchips)::-webkit-scrollbar{display:none}
.vbar{padding:4px 0}
.vmood,.vpill{flex:none; display:inline-flex; align-items:center; gap:7px; background:var(--surface); border-radius:999px; padding:7px 15px 7px 7px; font-weight:600; font-size:13px; color:var(--ink); box-shadow:var(--shadow);
  animation:moodIn .5s var(--spring) both; animation-delay:calc(.2s + var(--n,0) * 50ms); transition:transform .25s var(--spring), background .25s, color .25s}
@keyframes moodIn{from{opacity:0; transform:translateY(10px) scale(.9)}}
.vmood i,.vpill .gi{width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--brand-50); color:var(--brand); font-style:normal; transition:transform .4s var(--spring)}
.vmood i svg,.vpill .gi svg{width:16px; height:16px}
.vmood:hover i,.vpill:hover .gi{transform:rotate(-12deg) scale(1.1)}
.vmood.on,.vpill.on{background:var(--brand); color:#fff; box-shadow:var(--glow)}
.vmood.on i,.vpill.on .gi{background:rgba(255,255,255,.2); color:#fff}
.vcats{display:flex; gap:10px; overflow-x:auto; padding:2px 16px 10px; scrollbar-width:none}
.vcats::-webkit-scrollbar{display:none}
.vcat{flex:none; width:74px; display:flex; flex-direction:column; align-items:center; gap:7px; animation:catIn .55s var(--spring) both}
@keyframes catIn{from{opacity:0; transform:translateY(16px) scale(.85)}}
.vcat-pic{width:70px; height:70px; border-radius:20px; background:var(--surface); display:grid; place-items:center; color:var(--brand); box-shadow:var(--shadow); transition:transform .35s var(--spring), box-shadow .3s, background .3s}
.vcat-pic svg{width:28px; height:28px}
.vcat:nth-child(6n+1) .vcat-pic{background:#E2F5F1; color:#0C8F82} .vcat:nth-child(6n+2) .vcat-pic{background:#FFE9E4; color:#E0422A} .vcat:nth-child(6n+3) .vcat-pic{background:#FFF1CC; color:#B07800}
.vcat:nth-child(6n+4) .vcat-pic{background:#E6F0FF; color:#2F5FD0} .vcat:nth-child(6n+5) .vcat-pic{background:#FFE6F1; color:#C0336F} .vcat:nth-child(6n+6) .vcat-pic{background:#EEE8FF; color:#5B35C9}
body.cdark .vcat .vcat-pic{background:var(--surface-2)}
.vcat:hover .vcat-pic{transform:translateY(-4px) rotate(-3deg); box-shadow:0 0 0 2px var(--brand), var(--shadow)}
.vcat b{font-size:11.5px; font-weight:600; color:var(--ink2); text-align:center; line-height:1.2}

/* section heads */
.nsec,.sec-head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:20px 18px 10px}
.sec-head{padding:0; margin:22px 0 10px}
.nsec h3,.sec-head h3{font-size:19px !important; font-weight:800; letter-spacing:-.035em}
.viewall,.see{border:0; background:none; color:var(--brand); font-weight:700; font-size:13px; display:inline-flex; align-items:center; gap:2px}
.viewall svg{width:14px; height:14px}
.sec-lbl{font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:0 0 10px}
.countdown{display:inline-flex; align-items:center; gap:4px; background:var(--ink); color:var(--bg); border-radius:999px; padding:5px 10px; font-weight:700; font-size:12px; font-variant-numeric:tabular-nums}
.countdown svg{width:14px; height:14px}
.countdown .cbox{background:rgba(255,255,255,.16); border-radius:6px; padding:1px 5px}

/* =====================================================================
   CARDS, RAILS, ROWS
   ===================================================================== */
.hero,.dealrow,.hscroll,.promorow{display:flex; gap:12px; overflow-x:auto; padding:4px 16px 16px; scroll-snap-type:x mandatory; scrollbar-width:none}
:is(.hero,.dealrow,.hscroll,.promorow)::-webkit-scrollbar{display:none}
:is(.hero,.dealrow,.hscroll,.promorow) > *{scroll-snap-align:start; flex:none}
img.ph{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transform:scale(.96); transition:opacity .45s var(--ease), transform .6s var(--spring); z-index:0; border:0}
img.ph.on{opacity:1; transform:none}
.crow-wrap{position:relative}
.crow-arrow,.cnav{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:var(--surface); color:var(--ink); box-shadow:var(--shadow); transition:transform .3s var(--spring), opacity .2s}
.crow-arrow{position:absolute; top:calc(50% - 8px); transform:translateY(-50%); z-index:6}
.crow-arrow.left{left:6px} .crow-arrow.right{right:6px}
:is(.crow-arrow,.cnav) svg{width:18px; height:18px}
:is(.crow-arrow,.cnav).prev svg{transform:rotate(180deg)}
.crow-arrow:disabled{opacity:0; pointer-events:none} .cnav:disabled{opacity:.35}
@media (hover:none){ .crow-arrow{display:none} }
/* hero offer cards */
.hcard{position:relative; width:86%; height:166px; border-radius:22px; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:15px; color:#fff; text-align:left; box-shadow:var(--shadow-lg); isolation:isolate}
.hcard::after{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.6))}
.hcard > *:not(.ph){position:relative; z-index:2}
.hcard .htag{align-self:flex-start; margin-bottom:auto; background:var(--hot); border-radius:999px; padding:4px 10px; font-size:10.5px; font-weight:800; letter-spacing:.06em}
.hcard h3{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:24px; line-height:.95; color:#fff; max-width:80%}
.hcard .hsub{font-size:12px; opacity:.9; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
/* food-card style product card */
.pcard{position:relative; width:162px; background:var(--surface); border-radius:22px; padding:8px 8px 12px; box-shadow:var(--shadow); cursor:pointer; text-align:left; transition:transform .35s var(--spring), box-shadow .35s; contain:layout paint}
.pcard:hover{transform:translateY(-4px); box-shadow:0 22px 34px -20px rgba(20,40,36,.38)}
.pcard .pimg{position:relative; height:128px; border-radius:16px; overflow:hidden; background:linear-gradient(160deg,#F2FAF8,#E7F3F0); display:grid; place-items:center; color:var(--brand)}
body.cdark .pcard .pimg{background:var(--surface-2)}
.pcard .pimg > .gi svg{width:30px; height:30px; opacity:.6}
.pcard:hover .pimg img.ph.on{transform:scale(1.06)}
.pcard .poff,.pcard .bestseller{position:absolute; top:8px; left:8px; z-index:3; background:var(--hot); color:#fff; border-radius:999px; padding:3px 8px; font-size:10px; font-weight:800}
.pcard .bestseller{background:var(--ink); color:var(--bg)}
.fav,.fav2,.fav-float{position:absolute; z-index:3; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.95); color:var(--faint); box-shadow:var(--shadow); transition:transform .3s var(--spring)}
.fav2{top:8px; right:8px} .fav{top:10px; right:10px}
:is(.fav,.fav2,.fav-float) svg{width:15px; height:15px; fill:currentColor}
:is(.fav,.fav2,.fav-float).on{color:var(--hot)}
:is(.fav,.fav2,.fav-float):active{transform:scale(.8)}
.pcard .add{position:absolute; right:8px; bottom:8px; z-index:3; width:34px; height:34px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:20px; font-weight:600; box-shadow:var(--glow); transition:transform .3s var(--spring), background .2s}
.pcard .add:hover{background:var(--brand-d); transform:rotate(90deg)}
.pcard .add:active{transform:scale(.8) rotate(90deg)}
.pcard .pb{padding:9px 4px 0}
.pcard .pb h4{font-size:13.5px; font-weight:600; line-height:1.25; min-height:2.5em; letter-spacing:-.01em}
.pcard .prow{margin-top:4px}
.prate{display:inline-flex; align-items:center; gap:3px; font-size:11.5px; font-weight:700}
.prate svg{width:12px; height:12px; fill:var(--sun)}
.prate small{color:var(--faint); font-weight:500}
.price{font-weight:800; color:var(--ink); font-size:15px; margin-top:4px}
.price .old{font-weight:500; color:var(--faint); text-decoration:line-through; font-size:12px; margin-left:5px}
.punit{font-size:11px; color:var(--muted)}
.xbadge{display:inline-block; margin-top:6px; background:var(--sun-50); color:#8A6400; border-radius:999px; padding:2px 8px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em}
.oos{display:block; color:var(--hot); font-size:11px; font-weight:700; margin-top:4px}
.pgrid2{display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:4px 16px 16px}
.pgrid2 .pcard{width:auto}
/* business card */
.bcard{width:232px; background:var(--surface); border-radius:22px; padding:8px 8px 12px; box-shadow:var(--shadow); text-align:left; transition:transform .35s var(--spring), box-shadow .35s}
.bcard:hover{transform:translateY(-4px); box-shadow:0 22px 34px -20px rgba(20,40,36,.38)}
.bcard .banner{position:relative; height:120px; border-radius:16px; overflow:hidden; display:grid; place-items:center; background:linear-gradient(160deg,#F2FAF8,#E7F3F0) !important; color:var(--brand)}
body.cdark .bcard .banner{background:var(--surface-2) !important}
.bcard .banner .emoji svg{width:34px; height:34px; opacity:.6}
.bcard .banner .off{position:absolute; top:10px; left:10px; z-index:3}
.bcard .body{padding:10px 4px 0}
.bcard h4{font-size:14.5px; font-weight:700; letter-spacing:-.02em}
.meta{display:flex; align-items:center; gap:7px; margin-top:5px; font-size:12px; color:var(--muted); flex-wrap:wrap}
.dot{width:3px; height:3px; border-radius:50%; background:var(--faint)}
.stars{display:inline-flex; align-items:center; gap:3px; font-size:12.5px; font-weight:700; color:var(--ink)}
.stars svg{width:13px; height:13px; fill:var(--sun)}
/* list rows (VoiceBite menu rows) */
.brow,.airow,.ecard,.chatrow,.cart-item{display:flex; gap:12px; align-items:center; background:var(--surface); border:0; border-radius:22px; padding:12px; box-shadow:var(--shadow); text-align:left; width:100%; transition:transform .3s var(--spring), box-shadow .3s; content-visibility:auto}
.brow:hover,.airow:hover,.chatrow:hover{transform:translateY(-2px)}
.brow .thumb,.airow .ai-ic{position:relative; width:76px; height:76px; flex:none; border-radius:16px; overflow:hidden; display:grid; place-items:center; color:#fff}
.brow .thumb .gi svg{width:28px; height:28px}
.brow .info{flex:1; min-width:0}
.brow h4,.ecard h4{font-size:15px; font-weight:700; letter-spacing:-.02em}
.chev{width:18px; height:18px; color:var(--faint)}
.chev svg{width:18px; height:18px}
.airow .ai-ic{width:46px; height:46px; border-radius:14px}
.airow .ai-ic svg{width:22px; height:22px}
.airow .rt{font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--brand)}
/* news / events */
.ncard{width:252px; background:var(--surface); border-radius:22px; padding:8px 8px 12px; box-shadow:var(--shadow); text-align:left}
.ncard .nimg{height:112px; border-radius:16px; display:grid; place-items:center; color:#fff; overflow:hidden}
.ncard .nimg svg{width:34px; height:34px}
.ncard .nb{padding:10px 4px 0}
.ncard h4{font-size:14px; font-weight:700; line-height:1.3}
.ecard .date{width:56px; height:60px; flex:none; border-radius:16px; background:var(--brand-50); color:var(--brand); display:flex; flex-direction:column; align-items:center; justify-content:center}
.ecard .date b{font-family:var(--display); font-style:italic; font-size:26px; line-height:1}
.ecard .date span{font-size:10px; font-weight:800; letter-spacing:.08em}
.ecard .gi svg{width:12px; height:12px; vertical-align:-2px}
/* offers */
.ocard{position:relative; width:280px; min-height:130px; padding:16px; border-radius:22px; overflow:hidden; color:#fff; display:flex; flex-direction:column; justify-content:space-between; text-align:left; box-shadow:var(--shadow)}
.ocard h4{color:#fff; font-family:var(--display); font-style:italic; text-transform:uppercase; font-size:24px; line-height:.95}
.ocard .biz{font-size:12px; opacity:.9}
.ocard .tag{align-self:flex-start; background:rgba(255,255,255,.22); color:#fff}
.ocard .disc{position:absolute; right:-4px; bottom:-20px; font:italic 800 100px/1 var(--display); opacity:.16}
.ostack{position:relative; height:226px; margin:4px 0 4px; touch-action:pan-y}
.ostack-card{position:absolute; top:0; left:50%; width:min(86%,340px); height:200px; border-radius:24px; overflow:hidden; background:var(--surface-2); box-shadow:var(--shadow-lg); transform:translateX(-50%); transition:transform .45s var(--spring), opacity .35s; cursor:grab; will-change:transform,opacity}
.ostack-card .os-img{position:absolute; inset:0}
.ostack-card .os-shade{position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 25%,rgba(0,0,0,.72))}
.ostack-card .os-tag{position:absolute; top:12px; left:12px; z-index:2; background:var(--hot); color:#fff; border-radius:999px; padding:4px 10px; font-size:10.5px; font-weight:800; letter-spacing:.05em}
.ostack-card .os-body{position:absolute; left:15px; right:15px; bottom:13px; color:#fff; z-index:2}
.ostack-card h4{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:26px; line-height:.95; color:#fff}
.ostack-card p{font-size:12px; color:rgba(255,255,255,.85); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.os-foot{display:flex; align-items:center; justify-content:space-between; margin-top:9px}
.os-code{background:#fff; color:var(--ink); border-radius:999px; padding:4px 10px; font-size:11px; font-weight:800; display:inline-flex; align-items:center; gap:5px}
.os-code svg{width:12px; height:12px; color:var(--brand)}
.os-go{display:inline-flex; align-items:center; gap:3px; font-size:12px; font-weight:700}
.os-go svg{width:14px; height:14px}
.ostack-ctrls{display:flex; align-items:center; justify-content:center; gap:14px}
.offcard{width:262px; background:var(--surface); border-radius:22px; padding:8px; box-shadow:var(--shadow); text-align:left}
.offcard-img{position:relative; height:118px; border-radius:16px; overflow:hidden; background:var(--surface-2)}
.offcard-tag{position:absolute; top:10px; left:10px; z-index:2; background:var(--hot); color:#fff; border-radius:999px; padding:3px 9px; font-size:10.5px; font-weight:800}
.offcard-body{padding:10px 4px 2px}
.offcard-body h4{font-size:15px; font-weight:700}
.offcard-body p{font-size:12px; color:var(--muted); margin-top:3px; min-height:2.6em}
.offcard-foot{display:flex; align-items:center; justify-content:space-between; margin-top:8px}
.offcard-brand{display:flex; align-items:center; gap:9px; min-width:0}
.offcard-logo{width:32px; height:32px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:800}
.offcard-bname{font-size:12px; font-weight:700; max-width:120px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.offcard-code{font-size:11px; color:var(--muted); display:flex; gap:4px; align-items:center}
.offcard-code svg{width:11px; height:11px}
.offcard-arrow{width:32px; height:32px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; box-shadow:var(--glow)}
.offcard-arrow svg{width:16px; height:16px}
/* categories grid */
.ncatgrid,.catgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px 10px; padding:12px 16px}
.ncat,.cat{display:flex; flex-direction:column; align-items:center; gap:8px; animation:catIn .55s var(--spring) both}
.ncat .tile,.cat .ic{position:relative; width:100%; aspect-ratio:1; border-radius:22px; overflow:hidden; display:grid; place-items:center; background:var(--surface) !important; color:var(--cc,var(--brand)); box-shadow:var(--shadow); transition:transform .35s var(--spring), box-shadow .3s}
.ncat:nth-child(6n+1) .tile{background:#E2F5F1 !important} .ncat:nth-child(6n+2) .tile{background:#FFE9E4 !important} .ncat:nth-child(6n+3) .tile{background:#FFF1CC !important}
.ncat:nth-child(6n+4) .tile{background:#E6F0FF !important} .ncat:nth-child(6n+5) .tile{background:#FFE6F1 !important} .ncat:nth-child(6n+6) .tile{background:#EEE8FF !important}
body.cdark .ncat .tile{background:var(--surface-2) !important}
.ncat .tile img.ph{display:none}
.ncat .tile .gi svg,.cat .ic svg{width:32px; height:32px; color:var(--brand)}
.ncat:hover .tile{transform:translateY(-4px) rotate(-3deg); box-shadow:0 0 0 2px var(--brand), var(--shadow)}
.ncat span,.cat span{font-size:12.5px; font-weight:600; color:var(--ink2); text-align:center; line-height:1.2}
.cathero{position:relative; margin:12px 16px 4px; height:150px; border-radius:24px; overflow:hidden; display:flex; align-items:flex-end; padding:16px; color:#fff; background:var(--primary-grad); isolation:isolate; box-shadow:var(--shadow-lg)}
.cathero::after{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.6))}
.cathero h2{position:relative; z-index:2; color:#fff; font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:32px; line-height:.95}
.subchip,.chip{flex:none; display:inline-flex; align-items:center; gap:6px; border:1.5px solid var(--line); background:var(--surface); border-radius:999px; padding:8px 16px; font-weight:600; font-size:13px; color:var(--ink2); white-space:nowrap; transition:background .3s, color .3s, border-color .3s, transform .3s var(--spring)}
.subchip:active,.chip:active{transform:scale(.94)}
.subchip.on,.chip.on{background:var(--brand); border-color:var(--brand); color:#fff; box-shadow:var(--glow)}
.chip svg{width:15px; height:15px}
/* tabs (business detail) */
.tabs{display:flex; gap:4px; margin-top:16px; background:var(--surface-2); border-radius:999px; padding:4px; overflow-x:auto; scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{flex:none; border-radius:999px; padding:8px 15px; font-weight:700; font-size:13px; color:var(--muted); white-space:nowrap; transition:background .25s, color .25s}
.tabs button.on{background:var(--brand); color:#fff; box-shadow:var(--glow)}
/* detail covers */
.detail-cover,.pdp-cover{position:relative; height:240px; overflow:hidden; display:grid; place-items:center; color:#fff; border-radius:0 0 30px 30px; isolation:isolate}
.pdp-cover{height:auto; aspect-ratio:1/.85; max-height:360px; background:linear-gradient(160deg,#F2FAF8,#E7F3F0)}
.detail-cover::before{content:""; position:absolute; inset:0; z-index:2; background:linear-gradient(180deg,rgba(0,0,0,.28),transparent 35%,transparent 60%,rgba(0,0,0,.3)); pointer-events:none}
.detail-cover .logo{position:relative; z-index:1}
.detail-cover .logo svg{width:48px; height:48px}
.detail-cover .back,.pdp-cover .back{position:absolute; top:calc(14px + var(--top)); left:14px; z-index:3; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.95); color:#14161A; display:grid; place-items:center; box-shadow:var(--shadow)}
:is(.detail-cover,.pdp-cover) .back svg{width:20px; height:20px}
.fav-float{top:calc(14px + var(--top)); right:14px; width:42px; height:42px}
.fav-float svg{width:19px; height:19px}
.pdp-promo{position:absolute; left:14px; bottom:16px; z-index:3; background:var(--hot); color:#fff; border-radius:999px; padding:6px 12px; font-size:12px; font-weight:800; box-shadow:var(--hot-glow)}
.detail-cover + .px{position:relative; z-index:3}
.actionbar{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:14px}
.actionbar > *{display:flex; flex-direction:column; align-items:center; gap:5px; padding:11px 4px; border-radius:18px; background:var(--surface-2); font-size:11.5px; font-weight:700; color:var(--ink2); transition:transform .25s var(--spring), background .25s}
.actionbar > *:first-child{background:var(--brand); color:#fff; box-shadow:var(--glow)}
.actionbar > *:active{transform:scale(.94)}
.actionbar svg{width:19px; height:19px}
.kvgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:10px}
@media (max-width:760px){ .kvgrid{grid-template-columns:1fr 1fr} }
.kv{background:var(--surface-2); border-radius:16px; padding:10px 12px}
.kk{display:block; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:700}
.vv{display:block; margin-top:3px; font-size:13.5px; font-weight:600; word-break:break-word}

/* =====================================================================
   GENERIC CONTROLS
   ===================================================================== */
.card,.panel,.stat,.bill,.plist,.acct-list,.plan-card{background:var(--surface); border:0; border-radius:var(--r); box-shadow:var(--shadow)}
.btn{position:relative; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 20px; border-radius:999px; background:var(--brand); color:#fff; font-weight:700; font-size:14.5px; white-space:nowrap; box-shadow:var(--glow); transition:transform .2s var(--spring), filter .2s}
.btn:hover{filter:brightness(1.06)}
.btn:active{transform:scale(.96)}
.btn.block{width:100%; padding:15px 20px}
.btn.block:not(.ghost)::after,.btn.shine::after{content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.28) 50%,transparent 65%); transform:translateX(-100%); animation:sheen 3.2s var(--ease) 1s 3; pointer-events:none}
.btn.ghost{background:var(--surface); color:var(--ink); box-shadow:var(--shadow)}
.btn.accent,.btn.hot,.cd-danger{background:var(--hot) !important; color:#fff !important; box-shadow:var(--hot-glow)}
.btn.sm{padding:8px 14px; font-size:12.5px}
.btn.sm.ghost{box-shadow:none; background:var(--surface-2)}
.btn.danger,.btn.sm.danger{background:var(--bad-50) !important; color:var(--bad) !important; box-shadow:none}
.btn svg{width:17px; height:17px}
.btn:disabled{opacity:.5}
.badge{display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:999px; font-size:11.5px; font-weight:700; white-space:nowrap; background:var(--surface-2); color:var(--ink2)}
.badge.open{background:var(--ok-50); color:var(--ok)} .badge.closed{background:var(--bad-50); color:var(--bad)}
.badge.warn{background:var(--warn-50); color:var(--warn)} .badge.neutral{background:var(--surface-2); color:var(--muted)}
.badge.accent,.badge.tag{background:var(--hot); color:#fff} .badge.primary{background:var(--brand-50); color:var(--brand)}
.badge.open::before,.badge.warn::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:14px}
.field label{font-size:12.5px; font-weight:700; color:var(--ink2)}
.input{display:flex; align-items:center; gap:10px; background:var(--surface); border:1.5px solid var(--line); border-radius:16px; padding:12px 14px; transition:border-color .25s, box-shadow .25s}
.input:focus-within{border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-50)}
.input input,.input select,.input textarea{flex:1; width:100%; min-width:0; border:0; outline:0; background:none; color:var(--ink); font-size:14.5px}
.input textarea{min-height:76px; resize:vertical}
.input select{appearance:none; cursor:pointer}
.input svg,.input .gi svg{width:18px; height:18px; color:var(--muted)}
.input .pre{color:var(--muted); font-weight:700}
.checkrow,.paychk,.promo-toggle{display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:16px; background:var(--surface-2); margin-bottom:12px; font-weight:600; cursor:pointer}
.promo-toggle{padding:0; background:none; margin:0}
:is(.checkrow,.paychk,.promo-toggle) input{width:18px; height:18px; accent-color:var(--brand)}
.promo-box{background:var(--surface-2); border-radius:18px; padding:12px 14px; margin-top:4px}
.pay-set{display:flex; gap:10px; flex-wrap:wrap}
.pay-opts{display:flex; flex-direction:column; gap:9px}
.pay-opt{display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:14px; border-radius:18px; background:var(--surface); box-shadow:var(--shadow); font-weight:600; transition:box-shadow .25s}
.pay-opt .gi svg{width:20px; height:20px; color:var(--muted)}
.pay-opt span:nth-child(2){flex:1}
.pay-opt .tick{opacity:0} .pay-opt .tick svg{width:16px; height:16px; color:var(--brand)}
.pay-opt.on{box-shadow:0 0 0 2px var(--brand), var(--shadow); background:var(--brand-50)}
.pay-opt.on .gi svg{color:var(--brand)} .pay-opt.on .tick{opacity:1}
.seg{display:inline-flex; background:var(--surface-2); border-radius:999px; padding:3px}
.seg button{border-radius:999px; padding:7px 14px; font-weight:700; font-size:13px; color:var(--muted)}
.seg button.on{background:var(--brand); color:#fff; box-shadow:var(--glow)}
.qty,.step{display:inline-flex; align-items:center; gap:2px; background:var(--brand); color:#fff; border-radius:999px; padding:3px; box-shadow:var(--glow)}
:is(.qty,.step) button{width:28px; height:28px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:17px; font-weight:700; transition:background .2s}
:is(.qty,.step) button:hover{background:rgba(255,255,255,.18)}
:is(.qty,.step) span{min-width:22px; text-align:center; font-weight:800; font-size:13px}
.sk{background:linear-gradient(90deg,var(--surface-2) 25%,var(--line) 37%,var(--surface-2) 63%); background-size:400% 100%; animation:shimmer 1.3s linear infinite; border-radius:22px !important}
@keyframes shimmer{from{background-position:100% 0} to{background-position:0 0}}
.empty{display:flex; flex-direction:column; align-items:center; text-align:center; gap:9px; padding:44px 24px; color:var(--muted)}
.empty .eic,.cart-empty .ce-ic,.cd-ic{width:72px; height:72px; border-radius:50%; background:var(--brand-50); color:var(--brand); display:grid; place-items:center; animation:pop .5s var(--spring) both}
.empty .eic svg,.cart-empty .ce-ic svg{width:32px; height:32px}
.toast{position:fixed; left:50%; bottom:calc(110px + var(--bottom)); transform:translateX(-50%); z-index:500; background:#14161A; color:#fff; padding:12px 20px; border-radius:999px; font-size:13.5px; font-weight:600; text-align:center; box-shadow:var(--shadow-lg); animation:rise .3s var(--ease); max-width:90vw}
body[data-app="admin"] .toast{bottom:28px}
.avatar{background:var(--primary-grad)}
.demo-pill{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; justify-content:center}
.demo-pill button{border-radius:999px; background:var(--surface); box-shadow:var(--shadow); padding:7px 13px; font-size:12px; font-weight:700; color:var(--ink2)}
/* lists (VoiceBite "group" + "setting") */
.plist,.acct-list{display:flex; flex-direction:column; overflow:hidden; margin:0 16px 12px}
.plist{margin:0}
:is(.plist,.acct-list) > :is(a,button){display:flex; align-items:center; gap:13px; width:100%; padding:14px 16px; font-size:14px; font-weight:600; color:var(--ink); text-align:left; border-bottom:1px solid var(--line); transition:background .2s}
:is(.plist,.acct-list) > :is(a,button):last-child{border-bottom:0}
:is(.plist,.acct-list) > :is(a,button):hover{background:var(--surface-2)}
:is(.plist,.acct-list) .ic{width:36px; height:36px; flex:none; border-radius:12px; background:var(--brand-50); color:var(--brand); display:grid; place-items:center}
:is(.plist,.acct-list) .ic svg{width:18px; height:18px}
:is(.plist,.acct-list) :is(.rt,.chev){margin-left:auto; color:var(--faint); font-size:12.5px; display:flex; align-items:center; gap:4px}
:is(.plist,.acct-list) :is(.rt,.chev) svg{width:16px; height:16px}
.acct-foot{text-align:center; color:var(--faint); font-size:11.5px; padding:18px}
.socials{display:flex; gap:12px; justify-content:center; margin-bottom:10px}
.socials span{width:36px; height:36px; border-radius:50%; background:var(--surface); box-shadow:var(--shadow); display:grid; place-items:center; color:var(--brand)}
.socials svg{width:17px; height:17px}
/* account hero (VoiceBite rewards card) */
.acard{position:relative; overflow:hidden; margin:14px 16px; border-radius:26px; padding:20px; color:#fff;
  background:radial-gradient(260px 200px at 100% 0%, #2CCBBA, transparent 70%), linear-gradient(140deg,#0C8F82,#0A5C55); box-shadow:0 22px 40px -22px rgba(10,92,85,.75)}
.acard::after{content:""; position:absolute; right:-30px; bottom:-30px; width:150px; height:150px; border-radius:50%; background:rgba(255,255,255,.12)}
.acard h4{position:relative; color:#fff; font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:30px; line-height:.95}
.acard .asub{position:relative; color:#CFF1EC; font-size:13px; margin-top:6px; max-width:80%}
.acard .abtn{position:relative; display:inline-block; margin-top:14px; background:#fff; color:var(--brand); border-radius:999px; padding:9px 16px; font-weight:800; font-size:13px; cursor:pointer}

/* =====================================================================
   CART, CHECKOUT, ORDERS, CHAT
   ===================================================================== */
.cart-empty{display:flex; flex-direction:column; align-items:center; text-align:center; padding:40px 26px 10px}
.cart-empty .ce-ic{width:96px; height:96px; margin-bottom:16px}
.cart-empty h3{font-family:var(--display); font-style:italic; text-transform:uppercase; font-size:28px; font-weight:800}
.cart-empty p{color:var(--muted); font-size:13.5px; margin:6px 0 18px}
.promo{position:relative; overflow:hidden; border-radius:22px; padding:16px; color:#fff; text-align:left; box-shadow:var(--shadow)}
.promo h4{color:#fff; font-family:var(--display); font-style:italic; text-transform:uppercase; font-size:24px; line-height:.95}
.promo .psub{font-size:12px; opacity:.92; margin-top:4px}
.promo .pcode{display:inline-flex; align-items:center; gap:6px; margin-top:12px; background:#fff; color:var(--ink); font-weight:800; font-size:12px; padding:5px 11px; border-radius:999px}
.cart-item{margin:0 16px 10px; width:auto}
.cart-item .cimg{position:relative; width:72px; height:72px; flex:none; border-radius:16px; overflow:hidden; background:var(--surface-2)}
.cart-item .cinfo{flex:1; min-width:0}
.cart-item h4{font-size:14px; font-weight:700}
.bill{padding:16px}
.bill-row{display:flex; justify-content:space-between; align-items:center; padding:5px 0; font-size:13.5px; color:var(--ink2)}
.bill-row span:last-child{font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums}
.bill-row.total{border-top:1.5px dashed var(--line); margin-top:8px; padding-top:12px; font-size:16px}
.bill-row.total span{font-weight:800; color:var(--ink)}
.cartbar{position:sticky; bottom:96px; z-index:9; margin:14px 16px 0; display:flex; align-items:center; gap:12px; padding:10px 10px 10px 20px; border-radius:999px; color:#fff;
  background:radial-gradient(260px 200px at 100% 0%, #2CCBBA, transparent 70%), linear-gradient(140deg,#0C8F82,#0A5C55); box-shadow:0 22px 40px -18px rgba(10,92,85,.75)}
.cartbar .ct{flex:1}
.cartbar .lbl{font-size:11px; opacity:.8; color:#CFF1EC}
.cartbar .tot{font-size:20px; font-weight:800; font-variant-numeric:tabular-nums}
.cartbar .btn{background:#fff; color:var(--brand); box-shadow:none}
/* order timeline (VoiceBite steps) */
.otl{display:flex; align-items:flex-start; margin-top:12px}
.ostep{display:flex; flex-direction:column; align-items:center; gap:5px; width:36px; flex:none}
.odot{width:20px; height:20px; border-radius:50%; background:var(--surface-2); border:2px solid var(--line); display:grid; place-items:center; color:#fff; font-size:10px; font-weight:800}
.ostep.done .odot{background:var(--ok); border-color:var(--ok)}
.ostep.now .odot{background:var(--brand); border-color:var(--brand); box-shadow:0 0 0 6px var(--brand-50); animation:nowpulse 1.8s ease-in-out infinite}
@keyframes nowpulse{50%{box-shadow:0 0 0 10px rgba(12,143,130,.08)}}
.olab{font-size:8.5px; font-weight:700; color:var(--muted); text-align:center; line-height:1.1}
.ostep.done .olab{color:var(--ok)} .ostep.now .olab{color:var(--brand)}
.oline{flex:1; height:3px; border-radius:2px; background:var(--line); margin-top:9px; min-width:6px}
.oline.done{background:var(--ok)}
.otl-bad{display:inline-block; margin-top:11px; background:var(--bad-50); color:var(--bad); border-radius:999px; padding:6px 12px; font-size:12.5px; font-weight:700}
/* chat */
.chat-wrap{display:flex; flex-direction:column; height:100%; min-height:100%}
.chat-scroll{flex:1; overflow-y:auto; padding:14px 16px 8px; display:flex; flex-direction:column; gap:8px}
.cmsg{display:flex} .cmsg.me{justify-content:flex-end}
.cbub{max-width:78%; padding:10px 14px 7px; border-radius:20px; font-size:14px; line-height:1.4; box-shadow:var(--shadow); animation:rise .35s var(--ease) both; word-break:break-word}
.cmsg.them .cbub{background:var(--surface); border-bottom-left-radius:6px}
.cmsg.me .cbub{background:var(--brand); color:#fff; border-bottom-right-radius:6px; box-shadow:var(--glow)}
.ctime{display:block; font-size:9.5px; opacity:.6; margin-top:3px; text-align:right}
.chat-input{display:flex; gap:6px; align-items:center; margin:8px 14px calc(14px + var(--bottom)); padding:6px; border-radius:999px; background:var(--surface); box-shadow:var(--shadow)}
.chat-input input{flex:1; min-width:0; border:0; outline:0; background:none; padding:8px 10px; font-size:14px; color:var(--ink)}
.chat-send{width:42px; height:42px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; box-shadow:var(--glow)}
.chat-send svg{width:19px; height:19px}
.chat-empty{margin:auto; text-align:center; color:var(--muted); max-width:230px; display:flex; flex-direction:column; align-items:center; gap:10px; padding:40px 0}
.chat-empty svg{width:40px; height:40px; color:var(--faint)}
.plan-card.current{box-shadow:0 0 0 2px var(--brand), var(--shadow)}
/* partner product rows + photo upload */
.pmrow{flex-wrap:wrap} .pmrow .info{flex:1 1 60%}
.pmacts{display:flex; flex-wrap:wrap; gap:7px; width:100%; margin-top:10px}
.pmbtn{display:inline-flex; align-items:center; gap:5px; padding:7px 12px; border-radius:999px; background:var(--surface-2); color:var(--ink); font-size:12px; font-weight:700; transition:background .2s, color .2s}
.pmbtn:hover{background:var(--brand-50); color:var(--brand)}
.pmbtn.danger{color:var(--bad)} .pmbtn.danger:hover{background:var(--bad-50)}
.pmbtn svg{width:14px; height:14px}
.pthumb{position:relative; overflow:hidden}
.pu-drop{width:100%; display:flex; flex-direction:column; align-items:center; gap:8px; padding:22px; border:1.6px dashed var(--border-strong); border-radius:18px; background:var(--surface-2); color:var(--muted); font-weight:600; font-size:13px}
.pu-drop .gi svg{width:26px; height:26px; color:var(--brand)}
.pu-prevwrap{position:relative}
.pu-prev{width:100%; max-height:220px; object-fit:cover; border-radius:18px}
.pu-x{position:absolute; top:8px; right:8px; width:32px; height:32px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; display:grid; place-items:center}
.pu-x svg{width:16px; height:16px}
/* confirm dialog */
.cd-back{position:absolute; inset:0; z-index:400; background:rgba(10,30,28,.4); display:grid; place-items:center; padding:24px; opacity:0; transition:opacity .2s}
body[data-app="admin"] .cd-back{position:fixed}
.cd-back.on{opacity:1}
.cd-card{width:100%; max-width:320px; background:var(--surface); border-radius:28px; padding:24px 20px 20px; text-align:center; box-shadow:var(--shadow-lg); transform:translateY(12px) scale(.96); transition:transform .3s var(--spring)}
.cd-back.on .cd-card{transform:none}
.cd-ic{width:56px; height:56px; margin:0 auto 12px}
.cd-ic svg{width:26px; height:26px}
.cd-title{font-size:18px; margin:0 0 6px}
.cd-msg{font-size:13.5px; color:var(--ink2); margin:0 0 18px}
.cd-acts{display:flex; gap:10px} .cd-acts .btn{flex:1}

/* =====================================================================
   FLOATING PILL DOCK + RAISED CENTRE BUTTON
   ===================================================================== */
.bnav.vdock{pointer-events:auto; position:absolute; left:12px; right:12px; bottom:calc(12px + var(--bottom)); display:flex; align-items:center; height:70px; padding:0 6px; border-radius:28px;
  background:color-mix(in srgb,var(--surface) 92%,transparent); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border:1px solid color-mix(in srgb,var(--surface) 70%,transparent);
  box-shadow:0 18px 40px -16px rgba(10,40,36,.4), 0 2px 6px rgba(10,40,36,.06)}
.vtab{flex:1; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; height:56px; margin:0 2px; border-radius:20px; color:#9AA3A1; font-size:10.5px; font-weight:600; transition:color .3s, background .35s var(--ease)}
.vtab .vico{position:relative; display:grid; place-items:center}
.vtab svg{width:23px; height:23px; transition:transform .45s var(--spring)}
.vtab:hover svg{transform:translateY(-2px) scale(1.08)}
.vtab.on{color:var(--brand); background:var(--brand-50)}
.vtab.on::after{content:""; position:absolute; bottom:5px; width:5px; height:5px; border-radius:50%; background:var(--brand); box-shadow:0 0 10px rgba(12,143,130,.7)}
.vtab > span:last-child{transition:opacity .2s} .vtab.on > span:last-child{opacity:0}
.cartbadge{position:absolute; top:-6px; right:-10px; min-width:17px; height:17px; padding:0 4px; border-radius:9px; display:grid; place-items:center; background:var(--hot); color:#fff; font-size:9.5px; font-weight:800; box-shadow:0 0 0 2px var(--surface); animation:pop .4s var(--spring)}
.vtalk{position:relative; flex:0 0 72px; width:72px; height:72px; margin:-34px 4px 0; border-radius:50%; display:grid; color:#fff; transition:transform .3s var(--spring)}
.vtalk > span{grid-area:1/1; place-self:center}
.vtalk::before{content:""; position:absolute; inset:-6px; border-radius:50%; background:var(--surface); box-shadow:0 8px 20px -10px rgba(10,40,36,.4)}
.vtalk .t-glow{position:absolute; inset:-16px; border-radius:50%; background:radial-gradient(circle, rgba(12,143,130,.45), rgba(240,82,58,.15) 45%, transparent 70%); animation:breath 3.2s ease-in-out infinite; z-index:-1}
.vtalk .t-ring{width:78px; height:78px; border-radius:50%; background:conic-gradient(from 0deg, #F7C948, #0C8F82 30%, transparent 55%, #FF6B4A 85%); animation:spin 4s linear infinite;
  -webkit-mask:radial-gradient(circle, transparent 62%, #000 64%); mask:radial-gradient(circle, transparent 62%, #000 64%)}
.vtalk .t-core{position:relative; width:60px; height:60px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 35% 28%, #2CCBBA, #0C8F82 55%, #0A5C55); box-shadow:0 12px 24px -8px rgba(12,143,130,.75), inset 0 -4px 10px rgba(0,0,0,.18)}
.vtalk .t-core svg{width:26px; height:26px; animation:logoTap 3.2s ease-in-out infinite}
@keyframes logoTap{0%,72%,100%{transform:none} 80%{transform:scale(1.12) rotate(-6deg)} 88%{transform:scale(.96) rotate(3deg)}}
.vtalk .t-lab{position:absolute; bottom:-16px; left:0; right:0; text-align:center; font-size:10.5px; font-weight:700; color:var(--brand)}
.vtalk:active{transform:scale(.92)}

/* =====================================================================
   SHEETS + VOICE SCREEN
   ===================================================================== */
.sheet{position:absolute; inset:0; z-index:60; display:flex; align-items:flex-end; background:rgba(10,30,28,.4); animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0}}
.sheet .panel-s{width:100%; max-height:90%; display:flex; flex-direction:column; overflow:hidden; background:var(--surface); border-radius:30px 30px 0 0; box-shadow:0 -20px 50px -20px rgba(0,0,0,.4); animation:sheetUp .4s var(--ease)}
@keyframes sheetUp{from{transform:translateY(40px); opacity:.5}}
.grab{width:42px; height:5px; border-radius:3px; background:var(--border-strong); margin:10px auto 0}
.sh-head{display:flex; align-items:center; gap:10px; padding:14px 18px 6px}
.sh-head h3{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:26px !important; letter-spacing:0; line-height:1}
.sh-body{padding:12px 18px 22px; overflow-y:auto}
.ai-panel{position:relative; width:100%; height:100%; display:flex; flex-direction:column; overflow:hidden; isolation:isolate; background:var(--bg); animation:voiceIn .45s var(--ease) both}
.sheet.vvoice-wrap{align-items:stretch; background:rgba(10,30,28,.3)}
@keyframes voiceIn{from{opacity:0; transform:scale(.97) translateY(14px)}}
/* the voice screen's own living background */
.vbg{position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; contain:strict}
.vbg > i{position:absolute; border-radius:50%; will-change:transform}
.vbg .b1{width:420px; height:420px; left:-160px; top:-120px; background:radial-gradient(circle, rgba(12,143,130,.22), rgba(12,143,130,0) 62%); animation:vb1 14s ease-in-out infinite alternate}
.vbg .b2{width:380px; height:380px; right:-170px; top:30%; background:radial-gradient(circle, rgba(247,201,72,.26), rgba(247,201,72,0) 62%); animation:vb2 17s ease-in-out infinite alternate}
.vbg .b3{width:400px; height:400px; left:-80px; bottom:-200px; background:radial-gradient(circle, rgba(240,82,58,.14), rgba(240,82,58,0) 62%); animation:vb3 20s ease-in-out infinite alternate}
@keyframes vb1{to{transform:translate3d(90px,70px,0) scale(1.15)}}
@keyframes vb2{to{transform:translate3d(-110px,-60px,0) scale(.9)}}
@keyframes vb3{to{transform:translate3d(70px,-90px,0) scale(1.1)}}
.vbg .rip{position:absolute; left:50%; top:calc(150px + var(--top)); width:150px; height:150px; margin:-75px 0 0 -75px; border-radius:50%; border:1.5px solid rgba(12,143,130,.24); opacity:0; animation:vrip 4.5s cubic-bezier(.2,.6,.3,1) infinite}
.vbg .r2{animation-delay:1.5s} .vbg .r3{animation-delay:3s}
@keyframes vrip{0%{transform:scale(.9); opacity:.9} 100%{transform:scale(3.4); opacity:0}}
.vvoice-wrap.answered:not(.listening) .vbg .rip{top:calc(100px + var(--top)); width:84px; height:84px; margin:-42px 0 0 -42px}
.vbg .vwave{position:absolute; left:-50%; bottom:150px; width:200%; height:90px; opacity:.5;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='90' viewBox='0 0 400 90'%3E%3Cpath d='M0 45 Q50 10 100 45 T200 45 T300 45 T400 45' fill='none' stroke='%230C8F82' stroke-opacity='.18' stroke-width='2'/%3E%3Cpath d='M0 55 Q50 25 100 55 T200 55 T300 55 T400 55' fill='none' stroke='%23F7C948' stroke-opacity='.3' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0/400px 90px;
  animation:vwave 9s linear infinite}
@keyframes vwave{to{transform:translate3d(-400px,0,0)}}
.vvoice .ribbon{top:56%}
.ai-head{display:flex; justify-content:space-between; align-items:center; padding:calc(18px + var(--top)) 18px 4px}
.ai-badge{display:grid; place-items:center}
.vorb-zone{display:flex; flex-direction:column; align-items:center; gap:10px; padding:10px 0 6px; transition:padding .5s var(--ease)}
.vorb{position:relative; width:150px; height:150px; display:grid; place-items:center; cursor:pointer; transition:width .5s var(--ease), height .5s var(--ease)}
.vorb .o-core{position:relative; z-index:2; width:100%; height:100%; border-radius:50%; display:grid; place-items:center; color:#fff;
  background:conic-gradient(from 0deg, #0C8F82, #17B6A6, #F7C948, #FF6B4A, #0C8F82); box-shadow:0 24px 60px -16px rgba(12,143,130,.6), inset 0 -10px 30px rgba(0,0,0,.18); animation:spin 9s linear infinite}
.vorb .o-core svg{width:40px; height:40px; animation:spin 9s linear infinite reverse; filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.vorb .o-halo{position:absolute; inset:-18px; border-radius:50%; background:radial-gradient(circle, rgba(12,143,130,.22), transparent 70%); animation:breath 3s ease-in-out infinite}
.vorb .o-halo.h2{inset:-36px; animation-delay:-1.5s; background:radial-gradient(circle, rgba(247,201,72,.2), transparent 70%)}
.vstate{font-weight:700; font-size:15px}
.vbars{display:flex; gap:3px; height:24px; align-items:center; opacity:.25; transition:opacity .3s}
.vbars i{width:4px; height:20%; border-radius:2px; background:var(--brand)}
.vvoice-wrap.listening .vbars{opacity:1}
.vvoice-wrap.listening .vbars i{animation:wv .9s ease-in-out infinite; animation-delay:calc(var(--n) * -70ms)}
.vvoice-wrap.listening .vorb .o-core{animation-duration:2.4s}
.vvoice-wrap.listening .vorb .o-halo{animation-duration:1s}
.vvoice-wrap.thinking .vorb .o-core{animation-duration:1.2s}
.vvoice-wrap.answered:not(.listening) .vorb{width:84px; height:84px}
.vvoice-wrap.answered:not(.listening) .vorb .o-core svg{width:26px; height:26px}
.vvoice-wrap.answered:not(.listening) .vorb-zone{padding:0}
.vvoice-wrap.answered:not(.listening) .vbars{display:none}
.ai-msgs{flex:1; overflow-y:auto; padding:10px 16px 14px; display:flex; flex-direction:column; gap:10px; scrollbar-width:none}
.ai-turn{display:flex; flex-direction:column; gap:8px}
.ai-bubble{max-width:86%; padding:11px 14px; border-radius:20px; font-size:14px; line-height:1.5; animation:rise .35s var(--ease) both}
.ai-bubble.bot{align-self:flex-start; background:var(--surface); color:var(--ink); box-shadow:var(--shadow); border-bottom-left-radius:6px}
.ai-bubble.user{align-self:flex-end; background:var(--brand); color:#fff; border-bottom-right-radius:6px; box-shadow:var(--glow); font-weight:600}
.ai-chips{display:flex; flex-wrap:wrap; gap:8px}
.ai-chips .chip{border:0; box-shadow:var(--shadow)}
.ai-typing{display:inline-flex; gap:4px}
.ai-typing i{width:6px; height:6px; border-radius:50%; background:var(--brand); animation:pulse 1.2s infinite}
.ai-typing i:nth-child(2){animation-delay:.2s} .ai-typing i:nth-child(3){animation-delay:.4s}
.ai-inputbar{display:flex; align-items:center; gap:6px; margin:0 14px; padding:6px; border-radius:999px; background:var(--surface); box-shadow:var(--shadow)}
.ai-inputbar input{flex:1; min-width:0; border:0; outline:0; background:none; padding:8px 4px; color:var(--ink); font-size:14px}
.ai-langtg{display:flex; background:var(--surface-2); border-radius:999px; padding:2px}
.ai-langtg button{border-radius:999px; padding:6px 9px; font-size:12px; font-weight:800; color:var(--muted)}
.ai-langtg button.on{background:var(--brand); color:#fff; box-shadow:var(--glow)}
.ai-mic,.ai-sendbtn{width:40px; height:40px; flex:none; border-radius:50%; display:grid; place-items:center}
.ai-mic{background:var(--surface-2); color:var(--brand)}
.ai-mic.listening{background:var(--hot); color:#fff; box-shadow:var(--hot-glow)}
.ai-mic.disabled{opacity:.45}
.ai-sendbtn{background:var(--brand); color:#fff; box-shadow:var(--glow)}
:is(.ai-mic,.ai-sendbtn) svg{width:19px; height:19px}
.vend{align-self:center; margin:12px 0 calc(16px + var(--bottom)); background:#14161A; color:#fff; border-radius:999px; padding:11px 30px; font-weight:700; font-size:14px; transition:transform .2s var(--spring)}
body.cdark .vend{background:#F1F5F4; color:#14161A}
.vend:active{transform:scale(.94)}

/* =====================================================================
   SPLASH, ONBOARDING, AUTH
   ===================================================================== */
.splash{position:absolute; inset:0; z-index:30; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; color:#fff; overflow:hidden; isolation:isolate;
  background:radial-gradient(420px 420px at 50% 44%, #17B6A6, #0A5C55 75%)}
.splash-rings{position:absolute; top:42%; left:50%; width:0; height:0; z-index:-1}
.splash-rings span{position:absolute; transform:translate(-50%,-50%); border:2px solid rgba(255,255,255,.3); border-radius:50%; animation:splashring 2.2s ease-out infinite}
.splash-rings span:nth-child(2){animation-delay:.6s} .splash-rings span:nth-child(3){animation-delay:1.2s}
@keyframes splashring{0%{width:80px; height:80px; opacity:.8} 100%{width:320px; height:320px; opacity:0}}
.splash-logo{animation:pop .9s var(--spring) both}
.splash-logo svg{filter:drop-shadow(0 18px 30px rgba(0,0,0,.35))}
.splash-title{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:52px; line-height:.9; color:#fff; animation:rise .7s var(--ease) .3s both}
.splash-title .w2{color:var(--sun)}
.splash-tag{color:#CFF1EC; font-size:14px; font-weight:500; animation:rise .7s var(--ease) .5s both}
.splash-load{width:150px; height:5px; border-radius:3px; background:rgba(255,255,255,.22); overflow:hidden; margin-top:10px}
.splash-load span{display:block; height:100%; width:0; border-radius:3px; background:linear-gradient(90deg,#fff,var(--sun)); animation:spbar 1.8s var(--ease) forwards}
@keyframes spbar{to{width:100%}}
.intro-wrap{position:relative; min-height:100%; display:flex; flex-direction:column; justify-content:center; padding:calc(40px + var(--top)) 0 30px}
.intro-skip{position:absolute; top:calc(16px + var(--top)); right:16px; z-index:40; background:var(--surface); box-shadow:var(--shadow); border-radius:999px; padding:7px 14px; font-size:12.5px; font-weight:700; color:var(--ink2)}
.intro-stack{position:relative; height:440px}
.intro-card{position:absolute; top:8px; left:50%; width:min(84%,330px); background:var(--surface); border-radius:30px; overflow:hidden; box-shadow:var(--shadow-lg); transition:transform .45s var(--spring), opacity .35s}
.intro-img{position:relative; height:230px; display:grid; place-items:center; background:radial-gradient(240px 200px at 85% 20%, #2CCBBA, transparent 70%), linear-gradient(135deg,#0FA596,#0A5C55); overflow:hidden}
.intro-card:nth-child(4n+2) .intro-img{background:radial-gradient(220px 180px at 90% 90%, #FFA27F, transparent 70%), linear-gradient(135deg,#FF6B4A,#E0422A)}
.intro-card:nth-child(4n+3) .intro-img{background:radial-gradient(240px 200px at 10% 0%, #FFE9A6, transparent 70%), linear-gradient(135deg,#F7C948,#EFAE1E)}
.intro-ic{position:relative; z-index:2; width:72px; height:72px; border-radius:50%; background:rgba(255,255,255,.95); color:var(--brand); display:grid; place-items:center; box-shadow:var(--shadow-lg)}
.intro-ic svg{width:32px; height:32px}
.intro-body{padding:20px 22px 24px; text-align:center}
.intro-body h2{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:28px; line-height:.98; letter-spacing:0}
.intro-body p{font-size:13.5px; color:var(--ink2); margin-top:8px; line-height:1.55}
.intro-foot{display:flex; flex-direction:column; align-items:center; gap:14px; padding:12px 22px 0}
.intro-btns{display:flex; align-items:center; gap:12px; width:100%; max-width:340px; justify-content:center}
.intro-cta{flex:1; max-width:220px}
.auth-wrap{display:flex; flex-direction:column; min-height:100%; padding:calc(20px + var(--top)) 18px 30px}
.auth-wrap > .tb-btn{margin-bottom:12px}
.auth-hero{position:relative; overflow:hidden; isolation:isolate; display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin-bottom:20px; padding:22px; border-radius:26px; color:#fff;
  background:radial-gradient(240px 200px at 90% 10%, #2CCBBA, transparent 70%), linear-gradient(140deg,#0C8F82,#0A5C55); box-shadow:0 22px 40px -22px rgba(10,92,85,.7)}
.auth-hero::after{content:""; position:absolute; right:-20px; bottom:-20px; width:200px; height:200px; z-index:-1;
  background:repeating-radial-gradient(circle at 100% 100%, transparent 0 22px, rgba(247,201,72,.25) 22px 23.5px);
  -webkit-mask:radial-gradient(circle at 100% 100%, #000 30%, transparent 72%); mask:radial-gradient(circle at 100% 100%, #000 30%, transparent 72%)}
.auth-hero h2{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:34px !important; line-height:.95; color:#fff; margin-top:8px}
.auth-hero p,.auth-hero .muted{color:#CFF1EC !important}

/* =====================================================================
   LAUNCHER
   ===================================================================== */
.launcher{position:relative; min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px 20px;
  background:radial-gradient(700px 500px at 15% 10%, #D3F0EA, transparent 60%), radial-gradient(600px 500px at 90% 90%, #FFE1D8, transparent 60%), #EEF2F0}
.launch-hero{display:flex; flex-direction:column; align-items:center; gap:10px; margin-bottom:30px; text-align:center}
.launch-hero h1{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:56px; line-height:.9}
.launch-hero p{color:var(--muted)}
.launch-grid{display:grid; grid-template-columns:repeat(3,minmax(0,270px)); gap:16px}
@media (max-width:820px){ .launch-grid{grid-template-columns:1fr; width:100%; max-width:360px} }
.launch-card{display:flex; flex-direction:column; gap:8px; text-align:left; border-radius:26px; padding:22px; color:#fff; min-height:210px; box-shadow:var(--shadow-lg); transition:transform .35s var(--spring)}
.launch-card:hover{transform:translateY(-5px)}
.launch-card:nth-child(1){background:radial-gradient(240px 200px at 85% 20%, #2CCBBA, transparent 70%), linear-gradient(135deg,#0FA596,#0A5C55)}
.launch-card:nth-child(2){background:radial-gradient(220px 180px at 90% 90%, #FFA27F, transparent 70%), linear-gradient(135deg,#FF6B4A,#E0422A)}
.launch-card:nth-child(3){background:radial-gradient(240px 200px at 10% 0%, #FFE9A6, transparent 70%), linear-gradient(135deg,#F7C948,#EFAE1E); color:#2B2100}
.launch-card .lc-ic{width:50px; height:50px; border-radius:16px; background:rgba(255,255,255,.22); display:grid; place-items:center}
.launch-card .lc-ic svg{width:24px; height:24px}
.launch-card h3{color:inherit; font-family:var(--display); font-style:italic; text-transform:uppercase; font-size:28px; font-weight:800; line-height:.95}
.launch-card p{font-size:13px; opacity:.9; flex:1}
.lc-link{display:inline-flex; align-items:center; gap:4px; align-self:flex-start; background:#fff; color:var(--brand); border-radius:999px; padding:6px 12px; font-size:12px; font-weight:700}
.lc-link svg{width:14px; height:14px}

/* =====================================================================
   ADMIN CONSOLE — VoiceBite bento
   ===================================================================== */
body[data-app="admin"]{background:var(--canvas)}
.admin-shell{min-height:100vh}
.desk{position:fixed; inset:0; display:grid; grid-template-columns:258px minmax(0,1fr); grid-template-rows:minmax(0,1fr); gap:14px; padding:14px; background:var(--canvas)}
.desk .side{position:relative; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:2px; padding:18px 12px 14px; border-radius:26px; color:#fff; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent;
  background:radial-gradient(260px 220px at 0% 100%, rgba(23,182,166,.35), transparent 70%), #0A4F49}
.side .lg{display:flex; align-items:center; gap:9px; padding:0 8px}
.side .vb-word .w1{color:#fff} .side .vb-word .w2{color:var(--sun)}
.side .side-tag{font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#9FD7CE; padding:6px 10px 4px}
.side .grp{font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#8CC3BA; padding:14px 10px 4px}
.side a{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:12px; color:#D2ECE7; font-size:14px; font-weight:500; cursor:pointer; transition:background .25s, color .25s, transform .25s var(--ease)}
.side a svg{width:18px; height:18px}
.side a:hover{background:rgba(255,255,255,.08); color:#fff}
.side a:not(.on):hover{transform:translateX(3px)}
.side a.on{background:var(--hot); color:#fff; font-weight:700; box-shadow:var(--hot-glow)}
.side .who{display:grid; margin-top:10px; padding:12px 10px 0; border-top:1px solid rgba(255,255,255,.14); font-size:13px; color:#AFD6CF}
.side .who b{color:#fff; font-weight:600}
.side a.out{color:#FFB8A8}
.admain{min-height:0; display:flex; flex-direction:column; gap:14px}
.adtop{flex:none; display:flex; align-items:center; gap:12px; padding:12px 18px; border-radius:26px; background:var(--surface)}
.adtop h2{font-size:26px; font-weight:600; letter-spacing:-.035em; margin-right:auto}
.adtop .spacer{display:none}
.adtop .searchbar{max-width:240px; background:var(--canvas); box-shadow:none; padding:10px 16px}
.adtop .tb-btn,.adtop .lang-toggle{box-shadow:none; background:var(--canvas)}
.adtop .menubtn{display:none; border-radius:12px; background:var(--canvas); padding:8px 12px; font-size:16px}
.adbody{flex:1; min-height:0; overflow-y:auto; padding:0 0 30px; border-radius:26px}
.adbody > *{animation:rise .35s var(--ease) both}
body[data-app="admin"] :is(.panel,.stat,.card){border-radius:26px; box-shadow:none; transition:transform .3s var(--ease)}
body[data-app="admin"] .panel:hover{transform:translateY(-2px)}
.panel{overflow:hidden}
.panel .ph{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:18px 18px 10px}
.panel .ph h3{font-size:16px; font-weight:700; letter-spacing:-.02em}
.stat-grid,.kpis{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:14px}
@media (max-width:1180px){ .stat-grid,.kpis{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:640px){ .stat-grid,.kpis{grid-template-columns:1fr} }
.stat{position:relative; padding:18px; overflow:hidden}
.stat .lab{font-size:13px; color:var(--muted); font-weight:500}
.stat .num{font-size:30px; font-weight:600; letter-spacing:-.035em; margin-top:4px; font-variant-numeric:tabular-nums}
.stat .ic{float:right; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand)}
.stat .ic svg{width:18px; height:18px}
.stat-grid .stat:first-child{background:#0A4F49; color:#fff} .stat-grid .stat:first-child :is(.lab,.num){color:#fff} .stat-grid .stat:first-child .lab{color:#AFD6CF}
.stat-grid .stat:nth-child(3){background:var(--hot-50)}
.kpi{position:relative; overflow:hidden; display:flex; flex-direction:column; background:var(--surface); border-radius:26px; padding:18px 18px 0; transition:transform .3s var(--ease), box-shadow .3s var(--ease)}
.kpi:hover{transform:translateY(-3px); box-shadow:0 14px 30px rgba(10,79,73,.12)}
.kpi-top{display:flex; justify-content:space-between; align-items:center; gap:10px}
.kpi-top span{color:var(--muted); font-size:13.5px; font-weight:500}
.kpi .kic{width:36px; height:36px; border-radius:12px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand); font-style:normal}
.kpi .kic svg{width:18px; height:18px}
.kpi > b{display:block; font-size:32px; font-weight:600; letter-spacing:-.035em; line-height:1.15; margin-top:6px; font-variant-numeric:tabular-nums}
.kpi .spark{display:block; width:calc(100% + 36px); height:44px; margin:10px -18px 0}
.kpi .spark .sl{fill:none; stroke:var(--brand); stroke-width:2.2; stroke-linecap:round; vector-effect:non-scaling-stroke; stroke-dasharray:300; stroke-dashoffset:300; animation:draw 1.2s var(--ease) .2s forwards}
.kpi .spark .sa{fill:var(--brand); opacity:.08}
.kpis .kpi:first-child{background:radial-gradient(240px 180px at 100% 0%, rgba(23,182,166,.45), transparent 70%), #0A4F49; color:#fff}
.kpis .kpi:first-child .kpi-top span{color:#AFD6CF} .kpis .kpi:first-child .kic{background:rgba(255,255,255,.14); color:#fff}
.kpis .kpi:first-child .spark .sl{stroke:var(--sun)} .kpis .kpi:first-child .spark .sa{fill:var(--sun); opacity:.12}
.kpis .kpi:nth-child(3){background:var(--hot-50)}
.kpis .kpi:nth-child(3) .kic{background:rgba(255,255,255,.6); color:var(--hot)}
.kpis .kpi:nth-child(3) .spark .sl{stroke:var(--hot)} .kpis .kpi:nth-child(3) .spark .sa{fill:var(--hot)}
#charts{gap:14px !important; margin-top:0 !important}
#charts + .panel,.panel + .panel{margin-top:14px !important}
.legend{display:flex; flex-direction:column; gap:8px; flex:1}
.legend .li{display:flex; align-items:center; gap:8px; font-size:13px}
.legend .sw{width:10px; height:10px; border-radius:3px}
.bar-row{display:flex; align-items:center; gap:10px; margin-bottom:11px; font-size:13px}
.bar-row .bl{width:120px; text-transform:capitalize}
.bar-track{flex:1; height:12px; border-radius:6px; background:var(--canvas); overflow:hidden}
.bar-fill{height:100%; border-radius:6px; background:var(--brand); animation:growx .8s var(--ease) both; transform-origin:left}
.bar-row:first-child .bar-fill{background:var(--hot)}
.bar-row .bv{width:44px; text-align:right; font-weight:700; font-variant-numeric:tabular-nums}
table{width:100%; border-collapse:collapse; font-size:13.5px}
th{text-align:left; padding:10px 14px 6px; color:var(--muted); font-weight:500; font-size:12.5px; white-space:nowrap}
td{padding:11px 14px; border-top:1px solid var(--line); vertical-align:middle; color:var(--ink2)}
td b{color:var(--ink)}
tr:hover td{background:color-mix(in srgb,var(--brand-50) 70%,transparent)}
.tbn{display:inline-flex; align-items:center; gap:8px}
td.tbn{display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end}
.tbn .btn.sm{padding:6px 11px; font-size:12px}
body[data-app="admin"] .btn{box-shadow:none}
body[data-app="admin"] .btn:not(.ghost):not(.danger){background:var(--brand-d)}
body[data-app="admin"] .btn.ghost{background:var(--canvas)}
body[data-app="admin"] .input{border-color:transparent; background:var(--surface)}
body[data-app="admin"] .sheet{position:fixed; inset:0; z-index:60; display:flex; align-items:stretch; justify-content:flex-end; background:rgba(5,30,27,.5)}
body[data-app="admin"] .sheet .panel-s{width:min(540px,100%); max-height:none; height:100%; border-radius:26px 0 0 26px; background:var(--canvas); animation:slideIn .35s var(--ease)}
@keyframes slideIn{from{transform:translateX(40px); opacity:0}}
body[data-app="admin"] .sh-head h3{font-family:var(--font); font-style:normal; text-transform:none; font-size:22px !important; font-weight:600; letter-spacing:-.02em}
#adminform{display:flex; flex-direction:column}
/* admin sign in — bento */
.crm-login{min-height:100vh; display:grid; grid-template-columns:1.1fr 1fr; gap:14px; padding:14px; background:var(--canvas)}
.crm-brand{position:relative; overflow:hidden; isolation:isolate; display:flex; flex-direction:column; justify-content:space-between; padding:40px; border-radius:26px; color:#fff;
  background:radial-gradient(500px 380px at 0% 100%, rgba(23,182,166,.38), transparent 70%), #0A4F49}
.crm-brand::after{content:""; position:absolute; right:-10px; bottom:-10px; width:320px; height:320px; z-index:-1; pointer-events:none;
  background:repeating-radial-gradient(circle at 100% 100%, transparent 0 24px, rgba(247,201,72,.22) 24px 25.5px);
  -webkit-mask:radial-gradient(circle at 100% 100%, #000 30%, transparent 72%); mask:radial-gradient(circle at 100% 100%, #000 30%, transparent 72%)}
.crm-brand-in{max-width:480px}
.crm-logo{display:flex; align-items:center; gap:10px}
.crm-logo .vb-word .w1{color:#fff} .crm-logo .vb-word .w2{color:var(--sun)}
.crm-brand h1{color:#fff; font-size:clamp(40px,5vw,58px); font-weight:500; letter-spacing:-.04em; line-height:1.02; margin:56px 0 6px}
.crm-sub{font-size:17px; color:#CFEAE5}
.crm-brand p{color:#B9D9D3; margin:10px 0 22px; line-height:1.55}
.crm-feats{list-style:none; margin:0; padding:0; display:grid; gap:10px}
.crm-feats li{display:flex; align-items:center; gap:12px; background:rgba(255,255,255,.07); border-radius:16px; padding:11px 14px; font-size:14px}
.crm-feats li svg{width:18px; height:18px; color:var(--sun)}
.crm-brand-foot{font-size:12.5px; color:#9FC9C2; margin-top:24px}
.crm-form-side{display:grid; place-items:center; padding:30px; border-radius:26px; background:var(--surface)}
.crm-card{width:100%; max-width:380px}
.crm-card-head{margin-bottom:22px}
.crm-card-head h2{font-size:30px; font-weight:600; letter-spacing:-.035em}
.crm-card-head p{color:var(--muted); margin-top:4px}
.crm-card .input{background:var(--canvas); border-color:transparent}
.crm-card .btn{background:var(--hot); box-shadow:var(--hot-glow)}
.crm-err{margin-top:12px; background:var(--bad-50); color:var(--bad); border-radius:14px; padding:10px 12px; font-size:13px}
.crm-demo{margin-top:16px; background:var(--canvas); border-radius:14px; padding:11px 13px; font-size:12.5px; color:var(--muted)}
.crm-demo span{font-weight:700; color:var(--ink); margin-right:6px}
.crm-back{margin-top:16px; text-align:center}
.crm-back a{display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:13px; font-weight:600}
.crm-back a svg{width:16px; height:16px}
@media (max-width:900px){
  .desk{grid-template-columns:minmax(0,1fr); padding:8px; gap:8px}
  .desk .side{position:fixed; inset:8px auto 8px 8px; width:260px; z-index:40; transform:translateX(-110%); transition:transform .35s var(--ease)}
  .desk .side.show{transform:none; box-shadow:0 0 0 100vmax rgba(5,30,27,.5)}
  .adtop .menubtn{display:block}
  .adtop .searchbar{display:none}
  #charts{grid-template-columns:1fr !important}
  .crm-login{grid-template-columns:1fr} .crm-brand{min-height:240px}
}

/* partner */
.vhd-tag{display:none}
.vhd .mini-ctrl .tb-btn{width:38px; height:38px}
.vhd-brand .vav{width:38px; height:38px}
.vb-word .w2{margin-left:.06em}
.vhd-tag{white-space:nowrap}
.vstat{padding:16px !important}
.vstat .num{font-size:26px}
.grid2 > .vstat:first-child{background:radial-gradient(200px 160px at 100% 0%, #2CCBBA, transparent 70%), linear-gradient(140deg,#0C8F82,#0A5C55); color:#fff; box-shadow:0 22px 40px -22px rgba(10,92,85,.7)}
.grid2 > .vstat:first-child :is(.lab,.num){color:#fff} .grid2 > .vstat:first-child .lab{color:#CFF1EC}
.grid2 > .vstat:first-child .ic{background:rgba(255,255,255,.16); color:#fff}
.grid2 > .vstat:nth-child(3){background:var(--hot-50)} .grid2 > .vstat:nth-child(3) .ic{background:rgba(255,255,255,.7); color:var(--hot)}
.grid2 > .vstat:nth-child(4){background:var(--sun-50)} .grid2 > .vstat:nth-child(4) .ic{background:rgba(255,255,255,.7); color:#B07800}
.vqa .btn.ghost{justify-content:flex-start; border-radius:18px; padding:14px}
.vqa .btn.ghost svg{color:var(--brand)}
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{animation:none !important; transition:none !important} img.ph{opacity:1} }

/* =====================================================================
   AI DEMAND FORECAST HUB (partner) — the wow factor
   ===================================================================== */
.fc-hub{padding:14px 16px 4px}
.fc-hero{position:relative; overflow:hidden; isolation:isolate; border-radius:28px; padding:20px 18px 18px; color:#fff;
  background:radial-gradient(260px 220px at 100% 0%, rgba(44,203,186,.55), transparent 70%), radial-gradient(240px 200px at 0% 110%, rgba(240,82,58,.35), transparent 70%), linear-gradient(150deg,#0A5C55,#073F3A);
  box-shadow:0 26px 50px -24px rgba(7,63,58,.85); animation:fcIn .7s var(--spring) both}
@keyframes fcIn{from{opacity:0; transform:translateY(18px) scale(.97)}}
.fc-hero::after{content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px);
  -webkit-mask:radial-gradient(circle at 80% 20%, #000, transparent 70%); mask:radial-gradient(circle at 80% 20%, #000, transparent 70%)}
.fc-orbit{position:absolute; right:-40px; top:-40px; width:200px; height:200px; z-index:-1}
.fc-orbit i{position:absolute; inset:0; border-radius:50%; border:1.5px dashed rgba(255,255,255,.18); animation:spin 26s linear infinite}
.fc-orbit i:nth-child(2){inset:28px; border-style:solid; border-color:rgba(247,201,72,.25); animation-duration:16s; animation-direction:reverse}
.fc-orbit i:nth-child(3){inset:58px; border-color:rgba(255,255,255,.28); animation-duration:10s}
.fc-orbit i::after{content:""; position:absolute; top:-4px; left:50%; width:8px; height:8px; border-radius:50%; background:#F7C948; box-shadow:0 0 12px #F7C948}
.fc-orbit i:nth-child(2)::after{background:#FF8A6B; box-shadow:0 0 12px #FF8A6B}
.fc-eyebrow{display:inline-flex; align-items:center; gap:7px; font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; background:rgba(255,255,255,.14); border-radius:999px; padding:5px 11px}
.fc-live{width:7px; height:7px; border-radius:50%; background:#5CF2C2; box-shadow:0 0 0 0 rgba(92,242,194,.7); animation:fcLive 1.6s ease-out infinite}
@keyframes fcLive{70%{box-shadow:0 0 0 8px rgba(92,242,194,0)} 100%{box-shadow:0 0 0 0 rgba(92,242,194,0)}}
.fc-title{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:31px; line-height:.92; color:#fff; margin:12px 0 14px; letter-spacing:0}
.fc-sum{display:grid; grid-template-columns:1fr 1fr auto; gap:10px; align-items:center}
.fc-kpi b{display:block; font-size:24px; font-weight:800; letter-spacing:-.04em; font-variant-numeric:tabular-nums; line-height:1.1}
.fc-kpi span{font-size:11px; color:#BFE7E1}
.fc-ring{position:relative; width:66px; height:66px; display:grid; place-items:center; text-align:center}
.fc-ring svg{position:absolute; inset:0; transform:rotate(-90deg)}
.fc-ring circle{fill:none; stroke-width:4.5; stroke-linecap:round}
.fc-ring .t{stroke:rgba(255,255,255,.16)} .fc-ring .v{stroke:#F7C948; stroke-dasharray:100; stroke-dashoffset:100; animation:fcRing 1.3s var(--ease) .3s forwards}
@keyframes fcRing{to{stroke-dashoffset:calc(100 - var(--p))}}
.fc-ring b{font-size:14px; line-height:1; margin-top:8px} .fc-ring span{font-size:7.5px; text-transform:uppercase; letter-spacing:.06em; color:#BFE7E1; margin-top:-14px}
.fc-evs{grid-column:1/-1; display:flex; gap:6px; flex-wrap:wrap}
.fc-evs span{display:inline-flex; align-items:center; gap:5px; background:rgba(247,201,72,.18); color:#FFE7A0; border-radius:999px; padding:4px 10px; font-size:11px; font-weight:700}
.fc-evs svg{width:12px; height:12px}
.fc-empty{color:#CFF1EC; font-size:13px}
.fc-pickh{display:flex; justify-content:space-between; align-items:baseline; margin:18px 2px 8px}
.fc-pickh b{font-size:17px; font-weight:800; letter-spacing:-.03em} .fc-pickh span{font-size:12px}
.fc-picks{display:flex; gap:10px; overflow-x:auto; margin:0 -16px; padding:4px 16px 12px; scroll-snap-type:x mandatory; scrollbar-width:none}
.fc-picks::-webkit-scrollbar{display:none}
.fc-pick{position:relative; flex:none; width:138px; scroll-snap-align:start; display:flex; flex-direction:column; gap:3px; text-align:left; background:var(--surface); border-radius:20px; padding:8px 8px 10px; box-shadow:var(--shadow);
  animation:catIn .55s var(--spring) both; animation-delay:calc(.15s + var(--n) * 60ms); transition:transform .35s var(--spring), box-shadow .3s}
.fc-pick:hover{transform:translateY(-3px)}
.fc-pick.on{box-shadow:0 0 0 2.5px var(--brand), 0 18px 30px -16px rgba(12,143,130,.6); transform:translateY(-3px)}
.fc-pick.on::after{content:"✓"; position:absolute; top:12px; right:12px; width:22px; height:22px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:12px; font-weight:800; animation:pop .4s var(--spring)}
.fc-pimg{position:relative; height:78px; border-radius:14px; overflow:hidden; background:linear-gradient(160deg,#F2FAF8,#E7F3F0); margin-bottom:4px}
.fc-pn{font-size:12.5px; font-weight:700; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.fc-pq{font-size:11px; color:var(--muted)} .fc-pq b{color:var(--ink); font-size:13px}
.fc-pq em{font-style:normal; font-size:9px} .fc-pq .up{color:var(--ok)} .fc-pq .dn{color:var(--hot)}
.fc-spark{width:100%; height:24px}
.fc-spark .l{fill:none; stroke:var(--brand); stroke-width:1.8; vector-effect:non-scaling-stroke} .fc-spark .a{fill:var(--brand); opacity:.1}
.fc-pc{align-self:flex-start; font-size:10px; font-weight:800; border-radius:999px; padding:2px 8px}
.c-high{background:var(--ok-50); color:var(--ok)} .c-good{background:var(--brand-50); color:var(--brand)} .c-low{background:var(--warn-50); color:var(--warn)}
/* scanning state */
.fc-scan{display:flex; align-items:center; gap:16px; margin-top:6px; padding:18px; border-radius:24px; background:var(--surface); box-shadow:var(--shadow); animation:rise .35s var(--ease)}
.fc-radar{position:relative; width:70px; height:70px; flex:none; border-radius:50%; display:grid; place-items:center; color:#fff; background:conic-gradient(from 0deg, rgba(12,143,130,0), rgba(12,143,130,.85)); animation:spin 1.1s linear infinite}
.fc-radar span{width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:var(--brand-d); animation:spin 1.1s linear infinite reverse}
.fc-radar span svg{width:22px; height:22px}
.fc-radar i{position:absolute; inset:-8px; border-radius:50%; border:1.5px solid rgba(12,143,130,.3); animation:vrip 1.6s ease-out infinite}
.fc-radar i:nth-child(2){animation-delay:.8s}
.fc-scan ol{list-style:none; margin:0; padding:0; display:grid; gap:6px}
.fc-scan li{font-size:12.5px; font-weight:600; color:var(--muted); display:flex; gap:7px; align-items:center; opacity:0; animation:fcStep .35s var(--ease) var(--d) forwards}
.fc-scan li::before{content:""; width:14px; height:14px; border-radius:50%; border:2px solid var(--brand); border-right-color:transparent; animation:spin .7s linear infinite}
@keyframes fcStep{to{opacity:1; color:var(--ink)}}
/* report */
.fc-rep{display:grid; gap:12px; margin-top:6px}
.fc-rep > *{animation:rise .55s var(--ease) both}
.fc-rep > *:nth-child(2){animation-delay:.08s} .fc-rep > *:nth-child(3){animation-delay:.16s} .fc-rep > *:nth-child(4){animation-delay:.24s} .fc-rep > *:nth-child(5){animation-delay:.32s} .fc-rep > *:nth-child(6){animation-delay:.4s}
.fc-rep.quiet *,.fc-rep.quiet *::before,.fc-rep.quiet *::after{animation:none !important}
.fc-rep.quiet .fc-gauge .v{stroke-dashoffset:calc(100 - var(--p))} .fc-rep.quiet .fc-line{stroke-dashoffset:0} .fc-rep.quiet .fc-pt,.fc-rep.quiet .fc-hb,.fc-rep.quiet .fc-ins p{opacity:1; transform:none}
.fc-rh{display:flex; gap:12px; align-items:center}
.fc-rimg{position:relative; width:56px; height:56px; flex:none; border-radius:16px; overflow:hidden; background:var(--surface-2); box-shadow:var(--shadow)}
.fc-rh small{font-size:11px; color:var(--muted)}
.fc-rh h3{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:26px; line-height:.95; letter-spacing:0}
.fc-basis{display:inline-block; margin-top:4px; font-size:10.5px; font-weight:700; border-radius:999px; padding:2px 9px; background:var(--surface-2); color:var(--muted)}
.fc-basis.orders{background:var(--ok-50); color:var(--ok)}
.fc-main{display:grid; grid-template-columns:1fr 128px; gap:12px; align-items:stretch}
.fc-big{border-radius:24px; padding:16px; color:#fff; background:radial-gradient(200px 160px at 100% 0%, #2CCBBA, transparent 70%), linear-gradient(140deg,#0C8F82,#0A5C55); box-shadow:0 20px 36px -20px rgba(10,92,85,.75)}
.fc-big small{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:#CFF1EC; font-weight:700}
.fc-big b{display:block; font-family:var(--display); font-style:italic; font-weight:800; font-size:58px; line-height:.95; margin-top:4px; font-variant-numeric:tabular-nums}
.fc-big > span{font-size:12px; color:#CFF1EC}
.fc-band{position:relative; height:8px; border-radius:4px; background:rgba(255,255,255,.18); margin-top:12px}
.fc-band i{position:absolute; top:0; bottom:0; border-radius:4px; background:linear-gradient(90deg,#F7C948,#FF8A6B); animation:growx .9s var(--ease) .4s both; transform-origin:left}
.fc-band em{position:absolute; top:-4px; width:4px; height:16px; margin-left:-2px; border-radius:2px; background:#fff; box-shadow:0 0 8px #fff; animation:pop .5s var(--spring) 1s both}
.fc-bandl{display:flex; justify-content:space-between; font-size:10.5px; color:#CFF1EC; margin-top:5px}
.fc-gauge{position:relative; display:grid; place-items:center; border-radius:24px; background:var(--surface); box-shadow:var(--shadow); padding:10px}
.fc-gauge svg{width:104px; height:104px; transform:rotate(-90deg)}
.fc-gauge circle{fill:none; stroke-width:10; stroke-linecap:round}
.fc-gauge .t{stroke:var(--surface-2)}
.fc-gauge .v{stroke:url(#none); stroke:var(--brand); stroke-dasharray:100; stroke-dashoffset:100; animation:fcRing 1.4s var(--ease) .35s forwards}
.fc-gauge.c-high .v{stroke:var(--ok)} .fc-gauge.c-low .v{stroke:var(--warn)}
.fc-gauge > div{position:absolute; text-align:center}
.fc-gauge b{display:block; font-size:22px; font-weight:800; letter-spacing:-.04em; font-variant-numeric:tabular-nums}
.fc-gauge span{display:block; font-size:9.5px; font-weight:700; color:var(--muted); max-width:70px; line-height:1.15}
.fc-why{display:flex; gap:6px; flex-wrap:wrap}
.fc-why span{font-size:11px; font-weight:700; background:var(--surface); box-shadow:var(--shadow); border-radius:999px; padding:5px 10px; color:var(--ink2)}
.fc-card{background:var(--surface); border-radius:24px; padding:14px; box-shadow:var(--shadow)}
.fc-ch{display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:8px}
.fc-ch b{font-size:15px; font-weight:800; letter-spacing:-.02em} .fc-ch span{font-size:11.5px}
.fc-chart{display:block; width:100%; height:auto; overflow:visible}
.fc-chart text{font-family:var(--font); font-size:9px; fill:var(--muted); font-weight:600} .fc-chart text.f{fill:var(--brand); font-weight:800}
.fc-zone{fill:var(--brand-50)} .fc-zl{font-size:7.5px !important; letter-spacing:.1em; fill:var(--brand) !important; font-weight:800 !important} .fc-zl.h{fill:var(--muted) !important}
.fc-hb{fill:#CFE6E2; transform-box:fill-box; transform-origin:bottom; animation:fcGrow .6s var(--ease) var(--d) both}
body.cdark .fc-hb,:root[data-theme="dark"] .fc-hb{fill:#24403C}
@keyframes fcGrow{from{transform:scaleY(0)}}
.fc-line{fill:none; stroke:var(--brand); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; animation:draw 1s var(--ease) .45s forwards}
.fc-area{fill:var(--brand); opacity:0; animation:fcFade .6s ease 1s forwards} @keyframes fcFade{to{opacity:.12}}
.fc-pt{opacity:0; animation:pop .45s var(--spring) var(--d) forwards; transform-box:fill-box; transform-origin:center}
.fc-pt circle{fill:#fff; stroke:var(--brand); stroke-width:2.5} .fc-pt circle.ev{fill:var(--sun); stroke:#C48A00}
.fc-pt .evl{font-size:7.5px !important; font-weight:800 !important; fill:#B07800 !important}
.fc-mrow{display:grid; grid-template-columns:repeat(6,1fr); gap:4px; margin-top:8px}
.fc-mrow div{display:grid; justify-items:center; gap:1px; background:var(--surface-2); border-radius:12px; padding:6px 2px; animation:rise .4s var(--ease) var(--d) both}
.fc-mrow small{font-size:9.5px; color:var(--muted); font-weight:700} .fc-mrow b{font-size:14px; font-weight:800; font-variant-numeric:tabular-nums}
.fc-mrow i{font-style:normal; font-size:8.5px; font-weight:700; color:var(--brand)}
.fc-sin{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px}
.fc-sin label{font-size:12.5px; font-weight:700; color:var(--ink2)}
.fc-sin .input{width:110px; padding:9px 12px}
.fc-po{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.fc-po div{background:var(--surface-2); border-radius:16px; padding:10px; display:grid; gap:1px}
.fc-po div:first-child{background:var(--hot-50)}
.fc-po small{font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.fc-po b{font-size:19px; font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums; white-space:nowrap}
.fc-po div:first-child b{color:var(--hot)}
.fc-po span{font-size:10.5px; color:var(--muted)}
.fc-urg{display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:12px; font-weight:800; border-radius:999px; padding:5px 12px}
.fc-urg::before{content:""; width:7px; height:7px; border-radius:50%; background:currentColor; animation:pulse 1.4s infinite}
.u-critical,.u-urgent{background:var(--bad-50); color:var(--bad)} .u-plan{background:var(--warn-50); color:var(--warn)} .u-ok{background:var(--ok-50); color:var(--ok)}
.fc-ins{display:grid; gap:8px}
.fc-ins p{display:flex; gap:10px; align-items:flex-start; font-size:13px; line-height:1.45; background:var(--surface); box-shadow:var(--shadow); border-radius:18px; padding:11px 13px; opacity:0; transform:translateX(-10px); animation:fcSlide .45s var(--ease) calc(.5s + var(--d)) forwards}
@keyframes fcSlide{to{opacity:1; transform:none}}
.fc-ins i{width:8px; height:8px; flex:none; border-radius:50%; margin-top:6px; background:var(--brand)}
.fc-ins .t-up i{background:var(--ok)} .fc-ins .t-down i,.fc-ins .t-risk i{background:var(--hot)} .fc-ins .t-season i{background:var(--sun)} .fc-ins .t-action i{background:var(--brand); box-shadow:0 0 0 4px var(--brand-50)} .fc-ins .t-info i{background:var(--faint)}
.fc-ring{display:flex; flex-direction:column; justify-content:center; align-items:center}
.fc-ring b{position:relative; margin:0} .fc-ring span{position:relative; margin:1px 0 0; font-size:6.5px}

/* =====================================================================
   v24 — QUICK-COMMERCE CUSTOMER LAYER (Zepto / Instamart flow, VoiceBite
   motion, Local Link colours). Clean white canvas, dense scannable grid,
   one-tap ADD → stepper, persistent cart bar, split category browsing.
   ===================================================================== */
body[data-app="customer"] .phone{background:#fff}
body[data-app="customer"].cdark .phone{background:var(--bg)}
body[data-app="customer"] .phone > .atmo{display:none}
body[data-app="customer"] .phone .screen{padding-bottom:150px}
:is(button,[role="button"],[role="link"]):focus-visible{outline:3px solid var(--sun); outline-offset:2px}
/* header band */
.qc-head{position:sticky; top:0; z-index:9; color:#fff; padding:calc(12px + var(--top)) 14px 0; border-radius:0 0 22px 22px; overflow:hidden; isolation:isolate;
  background:linear-gradient(180deg, var(--tone) 0%, color-mix(in srgb,var(--tone) 82%,#000) 100%); transition:background .45s var(--ease); box-shadow:0 12px 26px -18px rgba(0,0,0,.45)}
.qc-head::before{content:""; position:absolute; right:-60px; top:-70px; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.22),transparent 65%); z-index:-1}
.qc-head::after{content:""; position:absolute; left:-30%; bottom:30px; width:160%; height:60px; z-index:-1; opacity:.35;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='60' viewBox='0 0 400 60'%3E%3Cpath d='M0 30 Q50 5 100 30 T200 30 T300 30 T400 30' fill='none' stroke='white' stroke-opacity='.35' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 0/400px 60px; animation:vwave 14s linear infinite}
.qc-top{display:flex; align-items:flex-start; justify-content:space-between; gap:10px}
.qc-eta{display:grid; text-align:left; color:#fff; min-width:0}
.qc-eta small{font-size:11px; font-weight:700; opacity:.85; letter-spacing:.02em}
.qc-eta b{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:30px; line-height:.95; letter-spacing:0}
.qc-eta span{display:flex; align-items:center; gap:4px; font-size:12.5px; font-weight:600; margin-top:4px; opacity:.95; min-width:0}
.qc-eta span em{font-style:normal; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:190px}
.qc-eta svg{width:13px; height:13px; fill:none; stroke:currentColor} .qc-eta span > svg:first-child{fill:currentColor; stroke:none}
.qc-acts{display:flex; align-items:center; gap:6px; flex:none}
.qc-acts .hicon,.qc-ico{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.18); color:#fff; box-shadow:none}
.qc-ico svg{width:18px; height:18px; fill:currentColor}
.qc-acts .clang{background:rgba(255,255,255,.18); box-shadow:none}
.qc-acts .clang button{color:#fff} .qc-acts .clang button.on{background:#fff; color:var(--tone); box-shadow:none}
.qc-search{display:flex; align-items:center; gap:8px; margin-top:12px; background:#fff; color:#55606A; border-radius:14px; padding:4px 4px 4px 14px; box-shadow:0 6px 16px -10px rgba(0,0,0,.4)}
.qc-search > span svg{width:18px; height:18px; display:block}
.qc-stxt{flex:1; min-width:0; text-align:left; padding:10px 2px; font-size:14px; color:#7A848C; white-space:nowrap; overflow:hidden}
.qc-sdiv{width:1px; height:22px; background:#E3E7E6}
.qc-smic{position:relative; width:40px; height:40px; border-radius:11px; display:grid; place-items:center; color:var(--tone,var(--brand)); background:color-mix(in srgb,var(--tone,#0C8F82) 12%,#fff)}
.qc-smic svg{width:20px; height:20px}
.qc-smic::after{content:""; position:absolute; inset:-3px; border-radius:13px; border:2px solid color-mix(in srgb,var(--tone,#0C8F82) 40%,transparent); animation:ringpulse 2.2s ease-out infinite}
.qc-tabs{display:flex; gap:2px; overflow-x:auto; margin:10px -14px 0; padding:0 10px; scrollbar-width:none}
.qc-tabs::-webkit-scrollbar{display:none}
.qc-tab{position:relative; flex:none; display:flex; flex-direction:column; align-items:center; gap:3px; padding:6px 10px 10px; min-width:62px; color:rgba(255,255,255,.82); font-size:11.5px; font-weight:700; transition:color .25s}
.qc-tab .gi svg{width:22px; height:22px; transition:transform .4s var(--spring)}
.qc-tab:hover .gi svg{transform:translateY(-2px) rotate(-6deg)}
.qc-tab.on{color:#fff}
.qc-tab.on::after{content:""; position:absolute; left:12px; right:12px; bottom:0; height:4px; border-radius:4px 4px 0 0; background:#fff; animation:growx .35s var(--spring)}
.vhd.tight,.qc-head{will-change:transform}
/* greeting + voice strip */
.qc-greet{display:grid; gap:2px; margin:16px 16px 0}
.qc-greet b{font-size:19px; font-weight:800; letter-spacing:-.03em}
.qc-greet span{font-size:12.5px; color:var(--muted)}
.qc-voice{position:relative; display:flex; align-items:center; gap:12px; margin:12px 16px 0; padding:12px 14px; border-radius:18px; cursor:pointer; overflow:hidden; color:#fff;
  background:radial-gradient(200px 120px at 90% 0%, #2CCBBA, transparent 70%), linear-gradient(120deg,#0C8F82,#0A5C55); box-shadow:0 14px 26px -16px rgba(10,92,85,.8); transition:transform .25s var(--spring)}
.qc-voice:active{transform:scale(.98)}
.qc-vorb{width:44px; height:44px; flex:none; border-radius:50%; display:grid; place-items:center; background:conic-gradient(from 0deg,#0C8F82,#17B6A6,#F7C948,#FF6B4A,#0C8F82); animation:spin 6s linear infinite; box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.qc-vorb svg{width:20px; height:20px; animation:spin 6s linear infinite reverse}
.qc-voice b{display:block; font-size:14.5px} .qc-voice small{display:block; font-size:11px; color:#CFF1EC}
.qc-voice .wave{margin-left:auto; display:flex; gap:3px; align-items:center; height:22px}
.qc-voice .wave i{width:3px; height:30%; border-radius:2px; background:#fff; opacity:.8; animation:wv 1.1s ease-in-out infinite; animation-delay:calc(var(--n) * -120ms)}
/* category grid */
.qc-catgrid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px 8px; padding:0 14px}
.qc-cat{display:flex; flex-direction:column; align-items:center; gap:6px; animation:catIn .5s var(--spring) both; animation-delay:calc(var(--n) * 40ms)}
.qc-catpic{width:100%; aspect-ratio:1; border-radius:16px; display:grid; place-items:center; transition:transform .3s var(--spring)}
.qc-catpic svg{width:30px; height:30px}
.qc-cat:nth-child(8n+1) .qc-catpic{background:#E2F5F1; color:#0C8F82} .qc-cat:nth-child(8n+2) .qc-catpic{background:#FFE9E4; color:#E0422A}
.qc-cat:nth-child(8n+3) .qc-catpic{background:#FFF1CC; color:#B07800} .qc-cat:nth-child(8n+4) .qc-catpic{background:#E6F0FF; color:#2F5FD0}
.qc-cat:nth-child(8n+5) .qc-catpic{background:#FFE6F1; color:#C0336F} .qc-cat:nth-child(8n+6) .qc-catpic{background:#EEE8FF; color:#5B35C9}
.qc-cat:nth-child(8n+7) .qc-catpic{background:#E4F6E9; color:#2E9D5B} .qc-cat:nth-child(8n+8) .qc-catpic{background:#FDEBD7; color:#C2410C}
body.cdark .qc-catpic{background:var(--surface-2) !important}
.qc-cat:hover .qc-catpic{transform:translateY(-3px) scale(1.04)}
.qc-cat:active .qc-catpic{transform:scale(.94)}
.qc-cat b{font-size:11.5px; font-weight:700; text-align:center; line-height:1.2; color:var(--ink2)}
/* section heads in the customer app: compact, bold */
body[data-app="customer"] .nsec{padding:22px 16px 10px}
body[data-app="customer"] .nsec h3{font-size:17px !important}
/* product card — Instamart */
.qc-card{width:150px; padding:0 0 10px; border-radius:16px; box-shadow:none; border:1px solid var(--line); background:var(--surface)}
.qc-card:hover{transform:none; box-shadow:var(--shadow)}
.qc-card .pimg{height:132px; border-radius:15px 15px 12px 12px; background:#F5F8F7; overflow:visible}
body.cdark .qc-card .pimg{background:var(--surface-2)}
.qc-card .pimg img.ph{border-radius:15px 15px 12px 12px}
.qc-rib{position:absolute; top:0; left:8px; z-index:3; background:#2F5FD0; color:#fff; font-size:9px; font-weight:800; line-height:1.05; text-align:center; padding:4px 5px 6px; clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%)}
.qc-rib.best{background:var(--hot)}
.qc-card .fav2{top:6px; right:6px; width:28px; height:28px; box-shadow:none; background:rgba(255,255,255,.9)}
.qc-add{position:absolute; right:8px; bottom:-14px; z-index:4; min-width:68px; height:34px; padding:0 14px; border-radius:10px; border:1.5px solid var(--brand); background:#fff; color:var(--brand); font-weight:800; font-size:13px; letter-spacing:.04em;
  box-shadow:0 6px 14px -8px rgba(12,143,130,.6); transition:transform .25s var(--spring), background .2s}
.qc-add:hover{background:var(--brand-50)}
.qc-add:active{transform:scale(.9)}
.qc-step{position:absolute; right:8px; bottom:-14px; z-index:4; display:inline-flex; align-items:center; height:34px; min-width:80px; border-radius:10px; background:var(--brand); color:#fff; box-shadow:0 8px 16px -8px rgba(12,143,130,.8); animation:pop .3s var(--spring)}
.qc-step button{width:28px; height:34px; display:grid; place-items:center; color:#fff; font-size:18px; font-weight:700}
.qc-step b{flex:1; text-align:center; font-size:13.5px; font-weight:800; font-variant-numeric:tabular-nums}
.qc-step.sm{position:static; height:32px; min-width:84px; animation:none}
.qc-oos{position:absolute; left:8px; right:8px; bottom:8px; z-index:3; background:rgba(20,22,26,.75); color:#fff; border-radius:8px; text-align:center; padding:4px; font-size:11px; font-weight:700}
.oos-card .pimg img.ph{filter:grayscale(.8); opacity:.6}
.qc-card .pb{padding:20px 10px 0}
.qc-time{display:inline-flex; align-items:center; gap:3px; background:var(--surface-2); color:var(--ink2); border-radius:6px; padding:2px 6px; font-size:9.5px; font-weight:800; letter-spacing:.04em}
.qc-time .gi svg{width:10px; height:10px}
.qc-card h4{font-size:13px !important; font-weight:600 !important; line-height:1.25; min-height:2.5em; margin-top:6px}
.qc-card .punit{font-size:11.5px; display:flex; align-items:center; gap:4px; margin-top:2px}
.qc-card .prate{font-size:11px}
.qc-card .price{font-size:14.5px; margin-top:6px}
.pgrid2.qc-grid{padding:0; gap:16px 10px}
.pgrid2 .qc-card{width:auto}
.dealrow .qc-card,.hero .qc-card{flex:0 0 150px}
.dealrow{padding-bottom:20px}
/* floating cart bar */
.qc-cartwrap{pointer-events:auto; position:absolute; left:14px; right:14px; bottom:calc(92px + var(--bottom)); z-index:21; animation:qcBarIn .45s var(--spring)}
@keyframes qcBarIn{from{transform:translateY(30px); opacity:0}}
.qc-cartbar{position:relative; overflow:hidden; width:100%; display:flex; align-items:center; gap:10px; padding:9px 10px 12px 9px; border-radius:16px; color:#fff; text-align:left;
  background:linear-gradient(120deg,#0C8F82,#0A5C55); box-shadow:0 16px 30px -14px rgba(10,92,85,.9)}
.qc-thumbs{display:flex; flex:none}
.qc-thumbs i{position:relative; width:34px; height:34px; border-radius:10px; overflow:hidden; background:#fff; border:2px solid #0C8F82; margin-left:-12px; box-shadow:0 2px 6px rgba(0,0,0,.2)}
.qc-thumbs i:first-child{margin-left:0}
.qc-thumbs img{width:100%; height:100%; object-fit:cover}
.qc-cbt{flex:1; min-width:0; display:grid}
.qc-cbt b{font-size:14px} .qc-cbt small{font-size:11px; color:#CFF1EC; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.qc-cgo{flex:none; display:inline-flex; align-items:center; gap:2px; font-size:13px; font-weight:800; background:rgba(255,255,255,.16); border-radius:10px; padding:8px 10px}
.qc-cgo svg{width:15px; height:15px}
.qc-prog{position:absolute; left:0; bottom:0; height:3px; width:var(--p); background:linear-gradient(90deg,#F7C948,#FF8A6B); transition:width .5s var(--ease)}
/* dock: lighter, flat (Instamart) — keeps the VoiceBite talk button */
.qc-dock{border-radius:22px !important}
/* split category browsing (Instamart) */
.qc-split{display:grid; grid-template-columns:84px minmax(0,1fr); align-items:start; border-top:1px solid var(--line)}
.qc-rail{position:sticky; top:calc(66px + var(--top)); display:flex !important; flex-direction:column; gap:2px; padding:8px 0 120px !important; overflow:visible !important; border-right:1px solid var(--line); background:var(--surface-2); min-height:70vh}
.qc-rail .subchip{position:relative; flex-direction:column; gap:5px; width:100%; padding:10px 4px !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; white-space:normal; text-align:center; font-size:10.5px !important; line-height:1.15; color:var(--ink2) !important}
.qc-rail .subchip i{width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:var(--surface); color:var(--brand); font-style:normal; transition:transform .3s var(--spring), background .25s}
.qc-rail .subchip i svg{width:22px; height:22px}
.qc-rail .subchip span{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.qc-rail .subchip.on{color:var(--brand) !important; font-weight:800 !important; background:var(--surface) !important}
.qc-rail .subchip.on i{background:var(--brand-50); transform:scale(1.06)}
.qc-rail .subchip.on::after{content:""; position:absolute; right:0; top:10px; bottom:10px; width:4px; border-radius:4px 0 0 4px; background:var(--brand); animation:growx .3s var(--spring)}
.qc-pane{min-width:0; padding:10px 12px 0}
.qc-pane .cathero{margin:0 0 6px; height:110px; border-radius:18px}
.qc-pane .cathero h2{font-size:24px}
.qc-ph{display:flex; justify-content:space-between; align-items:baseline; margin:14px 0 8px}
.qc-ph h3{font-size:15px; font-weight:800; letter-spacing:-.02em}
.qc-ph span{font-size:11.5px}
.qc-pane .promorow,.qc-pane .hero{margin:0 -12px; padding:2px 12px 10px}
.qc-pane .offcard{width:210px}
.qc-pane .brow{padding:10px; border-radius:16px; box-shadow:none; border:1px solid var(--line)}
.qc-pane .brow .thumb{width:60px; height:60px; border-radius:14px}
.qc-pane .brow h4{font-size:13.5px}
.qc-toprail{gap:10px}
.qc-store{display:flex; flex-direction:column; align-items:center; gap:4px; width:76px; text-align:center}
.qc-sl{width:60px; height:60px; border-radius:50%; display:grid; place-items:center; color:#fff; box-shadow:var(--shadow); transition:transform .3s var(--spring)}
.qc-store:hover .qc-sl{transform:translateY(-3px)}
.qc-sl svg{width:24px; height:24px}
.qc-store b{font-size:11px; line-height:1.15; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.qc-store small{display:inline-flex; align-items:center; gap:2px; font-size:10.5px; color:var(--muted); font-weight:700}
.qc-store small svg{width:10px; height:10px; fill:var(--sun)}
/* cart — Instamart */
.qc-cart{display:grid; gap:12px; padding-top:6px}
.qc-save{display:flex; align-items:center; gap:8px; background:#E7F7F0; color:#0A7A4C; border-radius:12px; padding:10px 12px; font-size:13px; font-weight:600; animation:pop .45s var(--spring)}
.qc-save .gi svg{width:18px; height:18px}
body.cdark .qc-save{background:var(--ok-50); color:var(--ok)}
.qc-ship,.qc-billc,.qc-policy{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:14px}
.qc-shiph{display:flex; gap:10px; align-items:center; padding-bottom:10px; border-bottom:1px solid var(--line); margin-bottom:4px}
.qc-clock{width:40px; height:40px; border-radius:12px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand)}
.qc-clock svg{width:20px; height:20px}
.qc-shiph b{display:block; font-size:15px} .qc-shiph small{color:var(--muted); font-size:12px}
.qc-line{display:grid; grid-template-columns:52px minmax(0,1fr) auto 64px; gap:10px; align-items:center; padding:10px 0; border-bottom:1px dashed var(--line)}
.qc-line .cimg{position:relative; width:52px; height:52px; border-radius:12px; overflow:hidden; background:#F5F8F7; border:1px solid var(--line)}
.qc-line h4{font-size:13px; font-weight:600; line-height:1.25} .qc-line small{font-size:11px; color:var(--muted)}
.qc-lp{text-align:right; display:grid} .qc-lp b{font-size:13.5px} .qc-lp s{font-size:11px; color:var(--faint)}
.qc-more{display:flex; align-items:center; gap:6px; margin-top:10px; color:var(--brand); font-weight:700; font-size:13px}
.qc-more svg{width:16px; height:16px}
.qc-sugg{margin:0 -16px; padding:2px 16px 22px}
.qc-billc h4,.qc-policy b{font-size:14.5px; font-weight:800; margin-bottom:6px; display:block}
.qc-billc .bill-row span:first-child{display:flex; align-items:center; gap:6px}
.qc-billc .bill-row .gi svg,.qc-billc .bill-row > span > svg{width:15px; height:15px; color:var(--muted)}
.qc-billc s{color:var(--faint); font-weight:500}
.qc-free{color:var(--brand)}
.qc-savetag{font-style:normal; font-size:10px; font-weight:800; background:#E6F0FF; color:#2F5FD0; border-radius:6px; padding:2px 6px}
.qc-freebar{margin-top:10px; font-size:12px; color:var(--ink2)}
.qc-freebar i{display:block; height:6px; border-radius:3px; margin-top:6px; background:linear-gradient(90deg,var(--brand) var(--p),var(--surface-2) var(--p))}
.qc-policy p{font-size:12px; color:var(--muted); line-height:1.5}
.qc-paybar{position:absolute; left:0; right:0; bottom:0; z-index:22; background:var(--surface); border-radius:22px 22px 0 0; padding:10px 14px calc(14px + var(--bottom)); box-shadow:0 -14px 30px -20px rgba(0,0,0,.35)}
.qc-addr{display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink2); padding:2px 2px 10px}
.qc-addr svg{width:16px; height:16px; fill:var(--brand)}
.qc-addr span{flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.qc-addr button{color:var(--brand); font-weight:800; font-size:12.5px}
.qc-pay{width:100%; display:flex; align-items:center; justify-content:space-between; padding:10px 16px; border-radius:14px; color:#fff; background:linear-gradient(120deg,#0C8F82,#0A5C55); box-shadow:var(--glow); transition:transform .2s var(--spring); position:relative; overflow:hidden}
.qc-pay::after{content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.25) 50%,transparent 65%); transform:translateX(-100%); animation:sheen 3s var(--ease) 1s 3}
.qc-pay:active{transform:scale(.98)}
.qc-pay > span:first-child{display:grid; text-align:left} .qc-pay b{font-size:17px} .qc-pay small{font-size:9.5px; letter-spacing:.1em; opacity:.8}
.qc-pay > span:last-child{display:inline-flex; align-items:center; gap:4px; font-weight:800; font-size:15px}
.qc-pay svg{width:17px; height:17px}
body[data-app="customer"] .cartbar{position:absolute; left:14px; right:14px; bottom:calc(14px + var(--bottom)); margin:0}
/* account tiles */
.qc-tiles{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:0 16px 14px}
.qc-tiles button{display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 4px; border-radius:16px; background:var(--surface); border:1px solid var(--line); font-size:12px; font-weight:700; transition:transform .25s var(--spring)}
.qc-tiles button:active{transform:scale(.94)}
.qc-tiles span{width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand)}
.qc-tiles svg{width:19px; height:19px} .qc-tiles span svg{fill:none} .qc-tiles button:nth-child(2) span svg{fill:var(--hot); color:var(--hot)}
/* flatter list cards on the clean canvas */
body[data-app="customer"] :is(.acct-list,.bill,.card){box-shadow:none; border:1px solid var(--line)}
body[data-app="customer"] .brow{box-shadow:none; border:1px solid var(--line)}
body[data-app="customer"] .chead,body[data-app="customer"] .row.px[style*="sticky"]{background:color-mix(in srgb,#fff 96%,transparent) !important; box-shadow:0 1px 0 var(--line)}
body[data-app="customer"].cdark .chead,body[data-app="customer"].cdark .row.px[style*="sticky"]{background:color-mix(in srgb,var(--bg) 96%,transparent) !important}
@media (prefers-reduced-motion:reduce){ .qc-head::after,.qc-vorb,.qc-voice .wave i{animation:none !important} }
.qc-top{max-height:90px; transition:max-height .35s var(--ease), opacity .25s}
.qc-head.tight .qc-top{max-height:0; opacity:0; overflow:hidden}
.qc-head.tight .qc-search{margin-top:2px}
.qc-cart + div + .qc-paybar{bottom:0}

/* =====================================================================
   v26 — FRESH SCREENS: store (Swiggy), product, search (Zepto),
   partner catalogue + order lanes
   ===================================================================== */
/* shared floating icon buttons */
.st-bar{position:absolute; top:calc(12px + var(--top)); left:12px; right:12px; z-index:4; display:flex; gap:8px}
.st-ib{width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.95); color:#14161A; box-shadow:0 6px 16px -8px rgba(0,0,0,.5); transition:transform .25s var(--spring)}
.st-ib:active{transform:scale(.88)}
.st-ib svg{width:19px; height:19px}
.st-ib.fav{position:static; color:#9AA3A1} .st-ib.fav.on{color:var(--hot)} .st-ib.fav svg{fill:currentColor}
.st-ib.flat{background:var(--surface-2); box-shadow:none; color:var(--ink)}
/* store page */
.st-hero{position:relative; height:210px; overflow:hidden; isolation:isolate; background:linear-gradient(135deg,var(--c1),var(--c2))}
.st-hero img.ph{transform:scale(1.08); animation:stZoom 12s ease-in-out infinite alternate}
@keyframes stZoom{to{transform:scale(1.18) translateY(-6px)}}
.st-shade{position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(0,0,0,.35),transparent 40%,rgba(0,0,0,.25))}
.st-card{position:relative; z-index:3; margin:-58px 14px 0; padding:44px 16px 16px; border-radius:26px; background:var(--surface); box-shadow:0 20px 40px -24px rgba(10,40,36,.5); text-align:center; animation:rise .55s var(--spring) both}
.st-logo{position:absolute; top:-34px; left:50%; width:68px; height:68px; margin-left:-34px; border-radius:22px; display:grid; place-items:center; color:#fff; border:4px solid var(--surface); box-shadow:var(--shadow); animation:pop .6s var(--spring) .15s both}
.st-logo svg{width:30px; height:30px}
.st-card h1{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:30px; line-height:.95; letter-spacing:0}
.st-sub{font-size:13px; color:var(--muted); margin-top:4px}
.st-meta{display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:14px; padding:10px 0; border-top:1px dashed var(--line); border-bottom:1px dashed var(--line)}
.st-meta > span{display:flex; flex-direction:column; align-items:center; gap:2px; font-weight:800; font-size:14px}
.st-meta small{font-size:10.5px; font-weight:600; color:var(--muted)}
.st-rate{color:var(--ok)} .st-rate svg{width:14px; height:14px; fill:var(--ok); display:inline; vertical-align:-2px; margin-right:2px}
.st-rate{flex-direction:column} .st-meta .st-rate{display:block}
.st-open{color:var(--bad)} .st-open.on{color:var(--ok)}
.st-cat svg{width:18px; height:18px; color:var(--brand)}
.st-addr{display:flex; gap:6px; justify-content:center; align-items:flex-start; font-size:12px; color:var(--muted); margin-top:10px}
.st-addr svg{width:14px; height:14px; fill:var(--faint); flex:none; margin-top:1px}
.st-acts{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:14px}
.st-acts > *{display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 2px; border-radius:16px; background:var(--surface-2); font-size:11.5px; font-weight:700; color:var(--ink2); transition:transform .25s var(--spring), background .2s}
.st-acts > *:active{transform:scale(.92)}
.st-acts svg{width:19px; height:19px; color:var(--brand)}
.st-acts .hot{background:var(--brand); color:#fff; box-shadow:var(--glow)} .st-acts .hot svg{color:#fff}
.st-coupons{display:flex; gap:10px; overflow-x:auto; padding:14px 14px 4px; scrollbar-width:none}
.st-coupons::-webkit-scrollbar{display:none}
.st-coupon{flex:none; display:flex; align-items:center; gap:10px; padding:10px 14px 10px 10px; border-radius:16px; border:1.5px dashed color-mix(in srgb,var(--hot) 40%,transparent); background:var(--hot-50); min-width:210px; animation:rise .5s var(--ease) both}
.st-cpi{width:36px; height:36px; border-radius:12px; display:grid; place-items:center; background:var(--hot); color:#fff}
.st-cpi svg{width:18px; height:18px}
.st-coupon b{display:block; font-size:14px; color:var(--hot)} .st-coupon small{font-size:11.5px; color:var(--ink2)}
.st-tabs{position:sticky; top:0; z-index:8; display:flex; gap:6px; overflow-x:auto; margin-top:12px; padding:10px 14px; background:color-mix(in srgb,var(--surface) 96%,transparent); box-shadow:0 1px 0 var(--line); scrollbar-width:none}
.st-tabs::-webkit-scrollbar{display:none}
.st-tabs button{flex:none; display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; font-size:13px; font-weight:700; color:var(--muted); background:var(--surface-2); transition:background .25s, color .25s}
.st-tabs button i{font-style:normal; font-size:10.5px; background:rgba(0,0,0,.07); border-radius:999px; padding:1px 7px}
.st-tabs button.on{background:var(--ink); color:var(--bg)} .st-tabs button.on i{background:rgba(255,255,255,.2)}
.st-body{padding:14px 14px 0; animation:rise .35s var(--ease)}
.st-menu{display:grid}
.st-item{display:grid; grid-template-columns:minmax(0,1fr) 120px; gap:14px; padding:16px 0 26px; border-bottom:1px dashed var(--line); cursor:pointer; animation:rise .45s var(--ease) both}
.st-it h4{font-size:15.5px; font-weight:700; letter-spacing:-.02em; margin-top:4px}
.st-veg{display:inline-block; width:14px; height:14px; border:1.5px solid var(--ok); border-radius:3px; position:relative}
.st-veg::after{content:""; position:absolute; inset:2.5px; border-radius:50%; background:var(--ok)}
.st-price{display:flex; align-items:baseline; gap:6px; margin-top:4px}
.st-price b{font-size:14.5px} .st-price s{font-size:12px; color:var(--faint)} .st-price em{font-style:normal; font-size:11px; font-weight:800; color:#2F5FD0}
.st-it small{font-size:11.5px; color:var(--muted)}
.st-it p{font-size:12.5px; color:var(--muted); margin-top:6px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.st-ip{position:relative; width:120px; height:116px; border-radius:18px; background:#F5F8F7; display:grid; place-items:center; color:var(--brand); overflow:visible}
body.cdark .st-ip{background:var(--surface-2)}
.st-ip img.ph{border-radius:18px}
.st-ip > .gi svg{width:30px; height:30px; opacity:.5}
.st-ip .qc-add,.st-ip .qc-step{left:50%; right:auto; transform:translateX(-50%); bottom:-16px}
.st-ip .qc-add:active{transform:translateX(-50%) scale(.9)}
.st-ip.svc{height:90px}
.st-desc{font-size:14px; line-height:1.6; color:var(--ink2)}
.st-info{display:grid; gap:0; margin-top:12px; border-radius:18px; border:1px solid var(--line); overflow:hidden}
.st-info div{display:flex; justify-content:space-between; padding:12px 14px; font-size:13px; border-bottom:1px solid var(--line)} .st-info div:last-child{border-bottom:0}
.st-info span{color:var(--muted)} .st-info button{color:var(--brand); font-weight:800}
.st-rsum{display:grid; grid-template-columns:110px 1fr; gap:14px; align-items:center; padding:14px; border-radius:20px; background:var(--surface-2)}
.st-rsum > div:first-child{display:grid; justify-items:center; gap:2px}
.st-rsum > div:first-child > b{font-size:36px; font-weight:800; letter-spacing:-.04em; line-height:1}
.st-rsum small{font-size:11px; color:var(--muted)}
.st-bars p{display:grid; grid-template-columns:24px 1fr 18px; gap:6px; align-items:center; font-size:11px; color:var(--muted); margin:3px 0}
.st-bars i{height:6px; border-radius:3px; background:linear-gradient(90deg,var(--sun) var(--w),var(--line) var(--w)); animation:growx .8s var(--ease) both; transform-origin:left}
.st-rev{padding:12px 14px; border-radius:18px; border:1px solid var(--line)}
.st-rev b{font-size:13.5px} .st-rev p{font-size:13px; color:var(--ink2); margin-top:6px; line-height:1.5}
/* product page */
.pd-hero{position:relative; height:330px; display:grid; place-items:center; color:var(--brand); background:radial-gradient(circle at 50% 60%, #fff, #EEF6F4 70%); overflow:hidden; border-radius:0 0 32px 32px}
body.cdark .pd-hero{background:var(--surface-2)}
.pd-hero > .gi svg{width:64px; height:64px; opacity:.35}
.pd-hero img.ph{animation:pdIn .8s var(--spring) both}
@keyframes pdIn{from{transform:scale(.85); opacity:0}}
.pd-tag{position:absolute; left:16px; bottom:16px; z-index:3; background:#2F5FD0; color:#fff; border-radius:999px; padding:6px 12px; font-size:12px; font-weight:800; box-shadow:0 8px 18px -8px rgba(47,95,208,.7); animation:pop .5s var(--spring) .3s both}
.pd-sheet{padding:16px 16px 0; animation:rise .5s var(--ease) .1s both}
.pd-sheet h1{font-size:22px; font-weight:800; letter-spacing:-.035em; line-height:1.2; margin-top:8px}
.pd-unit{font-size:13px; color:var(--muted); margin-top:4px; display:flex; align-items:center; gap:5px}
.pd-unit small{color:var(--faint)}
.pd-price{display:flex; align-items:baseline; gap:8px; margin-top:10px}
.pd-price b{font-size:28px; font-weight:800; letter-spacing:-.04em} .pd-price s{font-size:13px; color:var(--faint)}
.pd-price em{font-style:normal; font-size:12px; font-weight:800; color:#2F5FD0; background:#E6F0FF; border-radius:6px; padding:2px 7px}
.pd-tax{font-size:11px; color:var(--faint); margin-top:2px}
.pd-store{display:flex; align-items:center; gap:10px; width:100%; margin-top:14px; padding:10px 12px; border-radius:16px; border:1px solid var(--line); text-align:left}
.pd-store > span{width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand)}
.pd-store > span svg{width:19px; height:19px}
.pd-store div{flex:1} .pd-store small{display:block; font-size:10.5px; color:var(--muted)} .pd-store b{font-size:14px}
.pd-store > svg{width:18px; height:18px; color:var(--faint)}
.pd-perks{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px}
.pd-perks div{display:grid; justify-items:center; gap:2px; text-align:center; padding:10px 4px; border-radius:16px; background:var(--surface-2)}
.pd-perks .gi svg{width:20px; height:20px; color:var(--brand)} .pd-perks b{font-size:11.5px} .pd-perks small{font-size:10px; color:var(--muted)}
.pd-h{font-size:16px; font-weight:800; letter-spacing:-.02em; margin:18px 0 8px}
.pd-desc{font-size:13.5px; line-height:1.6; color:var(--ink2)}
.pd-bar{position:absolute; left:0; right:0; bottom:0; z-index:22; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px calc(14px + var(--bottom)); background:var(--surface); border-radius:24px 24px 0 0; box-shadow:0 -14px 30px -20px rgba(0,0,0,.35); animation:qcBarIn .5s var(--spring) both}
.pd-bar > div{display:grid} .pd-bar b{font-size:19px; font-weight:800} .pd-bar s{font-size:11.5px; color:var(--faint)} .pd-bar small{font-size:11px; color:var(--muted)}
.pd-ctl{position:relative; display:block; width:150px; height:46px}
.pd-ctl .qc-add,.pd-ctl .qc-step{position:static; width:100%; height:46px; font-size:15px; border-radius:14px}
.pd-ctl .qc-add{background:var(--brand); color:#fff; border-color:var(--brand)}
.pd-ctl .qc-add::before{content:"Add to cart"; } .pd-ctl .qc-add{font-size:0} .pd-ctl .qc-add::before{font-size:15px}
.pd-ctl .qc-step button{width:44px; height:46px}
.qc-cartwrap.onpd{bottom:calc(84px + var(--bottom))}
/* search */
.sr-top{position:sticky; top:0; z-index:8; display:flex; gap:10px; align-items:center; padding:calc(14px + var(--top)) 14px 12px; background:var(--surface); box-shadow:0 1px 0 var(--line)}
.sr-box{flex:1; display:flex; align-items:center; gap:8px; border:1.5px solid var(--line); border-radius:14px; padding:4px 4px 4px 12px; background:var(--surface); transition:border-color .25s, box-shadow .25s}
.sr-box:focus-within{border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-50)}
.sr-box > svg{width:18px; height:18px; color:var(--muted)}
.sr-box input{flex:1; min-width:0; border:0; outline:0; background:none; padding:9px 2px; font-size:14.5px; color:var(--ink)}
.sr-box.sm{padding:2px 4px 2px 12px}
.sr-h{display:flex; justify-content:space-between; align-items:center; margin:18px 0 10px}
.sr-h b{font-size:15px; font-weight:800} .sr-h button{color:var(--brand); font-weight:700; font-size:12.5px}
.sr-chips{display:flex; flex-wrap:wrap; gap:8px}
.sr-chip{display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:999px; border:1px solid var(--line); font-size:13px; font-weight:600}
.sr-chip svg{width:14px; height:14px; color:var(--muted)}
.sr-trend{display:grid; grid-template-columns:repeat(4,1fr); gap:10px 8px}
.sr-trend button{display:flex; flex-direction:column; align-items:center; gap:6px; font-size:12px; font-weight:700; animation:catIn .5s var(--spring) both; animation-delay:calc(var(--n) * 40ms)}
.sr-trend span{width:100%; aspect-ratio:1; border-radius:18px; display:grid; place-items:center; background:var(--surface-2); color:var(--brand); transition:transform .3s var(--spring)}
.sr-trend button:nth-child(4n+2) span{background:#FFE9E4; color:#E0422A} .sr-trend button:nth-child(4n+3) span{background:#FFF1CC; color:#B07800} .sr-trend button:nth-child(4n+4) span{background:#E6F0FF; color:#2F5FD0} .sr-trend button:nth-child(4n+1) span{background:#E2F5F1}
body.cdark .sr-trend span{background:var(--surface-2) !important}
.sr-trend button:hover span{transform:translateY(-3px)}
.sr-trend svg{width:26px; height:26px}
.sr-ask{margin:20px 0 0; width:100%; text-align:left}
.srchfilt{margin-top:12px}
/* partner: catalogue + order lanes */
.pt-head{display:flex; justify-content:space-between; align-items:flex-end; padding:calc(18px + var(--top)) 16px 10px}
.pt-head small{font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--brand)}
.pt-head h2{font-family:var(--display); font-style:italic; text-transform:uppercase; font-weight:800; font-size:34px; line-height:.95; letter-spacing:0}
.pt-live{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:var(--brand); background:var(--brand-50); border-radius:999px; padding:7px 12px}
.pt-live svg{width:14px; height:14px}
.pt-tools{padding:0 16px; display:grid; gap:10px}
.pt-filt{display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding:2px 0}
.pt-filt::-webkit-scrollbar{display:none}
.pt-filt.lanes{padding:4px 16px 8px}
.pt-filt button{flex:none; display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; font-size:13px; font-weight:700; color:var(--muted); background:var(--surface); box-shadow:var(--shadow); transition:background .25s, color .25s}
.pt-filt button i{font-style:normal; font-size:11px; min-width:20px; text-align:center; background:var(--surface-2); border-radius:999px; padding:1px 6px}
.pt-filt button.on{background:var(--brand); color:#fff; box-shadow:var(--glow)} .pt-filt button.on i{background:rgba(255,255,255,.22)}
.pt-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:14px 16px 0}
.pt-card{display:flex; flex-direction:column; gap:3px; padding:8px 8px 10px; border-radius:20px; background:var(--surface); box-shadow:var(--shadow); animation:catIn .5s var(--spring) both; animation-delay:calc(var(--n) * 45ms)}
.pt-card.oos{opacity:.75}
.pt-img{position:relative; height:110px; border-radius:15px; overflow:hidden; display:grid; place-items:center; background:#F5F8F7; color:var(--brand); margin-bottom:6px}
body:is(.cdark) .pt-img,:root[data-theme="dark"] .pt-img{background:var(--surface-2)}
.pt-card.oos .pt-img img.ph{filter:grayscale(.9)}
.pt-img > .gi svg{width:28px; height:28px; opacity:.5}
.pt-card h4{font-size:13.5px; font-weight:700; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.pt-card small{font-size:11px; color:var(--muted)}
.pt-price{display:flex; gap:6px; align-items:baseline} .pt-price b{font-size:15px} .pt-price s{font-size:11.5px; color:var(--faint)}
.pt-sw{display:flex; align-items:center; gap:8px; margin-top:6px; font-size:11.5px; font-weight:700; cursor:pointer}
.pt-sw input{position:absolute; opacity:0; width:1px; height:1px}
.pt-sw i{position:relative; width:36px; height:21px; border-radius:999px; background:var(--border-strong); transition:background .25s; flex:none}
.pt-sw i::after{content:""; position:absolute; top:2.5px; left:2.5px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); transition:transform .3s var(--spring)}
.pt-sw input:checked + i{background:var(--ok)} .pt-sw input:checked + i::after{transform:translateX(15px)}
.pt-sw input:focus-visible + i{outline:3px solid var(--sun); outline-offset:2px}
.pt-acts{display:flex; gap:6px; margin-top:8px} .pt-acts .pmbtn:first-child{flex:1; justify-content:center}
.pt-ticket{border-radius:22px; background:var(--surface); box-shadow:var(--shadow); padding:14px; border-left:5px solid var(--warn); animation:rise .45s var(--ease) both; animation-delay:calc(var(--n) * 60ms)}
.pt-ticket.s-pending{border-left-color:var(--hot)} .pt-ticket.s-completed{border-left-color:var(--ok)} .pt-ticket.s-rejected,.pt-ticket.s-cancelled{border-left-color:var(--faint)}
.pt-ticket.s-pending{box-shadow:0 0 0 2px color-mix(in srgb,var(--hot) 25%,transparent), var(--shadow); animation:rise .45s var(--ease) both, tkGlow 2.4s ease-in-out infinite}
@keyframes tkGlow{50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--hot) 12%,transparent), var(--shadow)}}
.pt-ticket header{display:flex; justify-content:space-between; align-items:flex-start; gap:10px}
.pt-ticket header b{font-family:var(--display); font-style:italic; font-size:24px; font-weight:800; line-height:1}
.pt-ticket header small{display:block; font-size:12px; color:var(--muted); margin-top:3px}
.pt-items{font-size:13.5px; margin-top:8px; line-height:1.45}
.pt-ticket footer{display:flex; justify-content:space-between; align-items:center; margin-top:12px}
.pt-ticket footer > b{font-size:17px}

/* =====================================================================
   v27 — UX pass: lite mode, contrast, tap targets, first-run card,
   live order pill, trust signals, actionable Ask, partner today,
   admin approvals / funnel / search
   ===================================================================== */
/* lite mode (cheap phones, data saver): keep it flat and fast */
html.lite .atmo > i,html.lite .atmo::before,html.lite .atmo::after,html.lite .floaters,html.lite .vbg > i,html.lite .vbg .vwave,html.lite .qc-head::after,html.lite .searchrow::after{animation:none !important; display:none}
html.lite *{backdrop-filter:none !important; -webkit-backdrop-filter:none !important}
html.lite .bnav.vdock{background:var(--surface)}
html.lite img.ph{transition:none; transform:none}
/* contrast + tap targets */
:root{--faint:#8A939A; --muted:#626B72}
:root[data-theme="dark"],body.cdark{--faint:#7A8986; --muted:#9AA8A5}
.clang button,.lang-toggle button{min-width:40px; min-height:34px}
.fav2,.qc-ico,.st-ib{min-width:40px; min-height:40px}
.fav2{width:36px; height:36px}
/* first-run card */
.qc-intro{display:flex; align-items:center; gap:12px; margin:12px 16px 0; padding:12px; border-radius:18px; background:var(--sun-50); border:1px solid color-mix(in srgb,var(--sun) 50%,transparent); animation:rise .5s var(--spring) both; transition:opacity .3s, transform .3s}
.qc-intro.bye{opacity:0; transform:scale(.96)}
.qc-ii{flex:none}
.qc-intro b{display:block; font-size:14px} .qc-intro small{display:block; font-size:12px; color:var(--ink2); line-height:1.4}
.qc-intro .btn{flex:none; box-shadow:none}
/* live order pill */
.qc-pill{display:flex; align-items:center; gap:10px; width:calc(100% - 32px); margin:12px 16px 0; padding:11px 14px; border-radius:16px; text-align:left; font-size:13px; color:var(--ink);
  background:var(--brand-50); border:1px solid color-mix(in srgb,var(--brand) 25%,transparent); animation:rise .5s var(--spring) both}
.qc-pill > span:nth-child(2){flex:1; min-width:0}
.qc-pill svg{width:16px; height:16px; color:var(--brand)}
.qc-pdot{width:10px; height:10px; flex:none; border-radius:50%; background:var(--brand); box-shadow:0 0 0 0 rgba(12,143,130,.6); animation:fcLive 1.6s ease-out infinite}
@keyframes fcLive{70%{box-shadow:0 0 0 8px rgba(12,143,130,0)} 100%{box-shadow:0 0 0 0 rgba(12,143,130,0)}}
/* trust signals */
.qc-new{font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#2F5FD0; background:#E6F0FF; border-radius:5px; padding:1px 6px}
.bc-hrs{font-size:11.5px; color:var(--muted)}
.bc-foot{justify-content:space-between}
.bc-foot > span:first-child{display:inline-flex; align-items:center; gap:3px}
.bc-foot svg{width:12px; height:12px; fill:var(--faint)}
.bc-call{width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--brand-50); color:var(--brand); transition:transform .25s var(--spring)}
.bc-call svg{width:16px; height:16px; fill:var(--brand)}
.bc-call:active{transform:scale(.88)}
/* Ask: honest mode, heard transcript, actions */
.ai-limit{display:block; margin-top:6px; font-size:12.5px; color:var(--warn); background:var(--warn-50); border-radius:10px; padding:6px 9px}
.ai-heard{margin:0 14px 8px; padding:8px 12px; border-radius:14px; background:var(--brand-50); font-size:12.5px; color:var(--ink2); animation:rise .3s var(--ease)}
.ai-heard button{margin-left:6px; color:var(--brand); font-weight:800; text-decoration:underline}
.ai-inputbar.heard{box-shadow:0 0 0 2px var(--brand), var(--shadow)}
.ai-acts{display:flex; flex-wrap:wrap; gap:6px; margin-top:8px}
.ai-act{display:inline-flex; align-items:center; gap:4px; padding:6px 10px; border-radius:999px; font-size:11.5px; font-weight:800; background:var(--surface-2); color:var(--ink); transition:transform .2s var(--spring)}
.ai-act svg{width:13px; height:13px} .ai-act:active{transform:scale(.92)}
.ai-act.hot{background:var(--brand); color:#fff} .ai-act.ghost{background:transparent; color:var(--brand)}
.airow{align-items:flex-start}
/* partner: needs action today */
.pt-today{margin:14px 16px 0}
.pt-today:empty{display:none}
.pt-th{display:flex; justify-content:space-between; align-items:center; margin-bottom:8px}
.pt-th b{font-size:15px; font-weight:800}
.pt-th button{display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:800; color:var(--brand); background:var(--brand-50); border-radius:999px; padding:6px 10px}
.pt-th button svg{width:14px; height:14px}
.pt-dos{display:grid; grid-template-columns:repeat(4,1fr); gap:8px}
.pt-do{display:grid; justify-items:center; gap:1px; padding:10px 4px; border-radius:18px; background:var(--surface); box-shadow:var(--shadow); text-align:center; animation:catIn .5s var(--spring) both; transition:transform .25s var(--spring)}
.pt-do:active{transform:scale(.94)}
.pt-do span{width:32px; height:32px; border-radius:11px; display:grid; place-items:center; background:var(--surface-2); color:var(--muted)}
.pt-do span svg{width:17px; height:17px}
.pt-do b{font-size:20px; font-weight:800; letter-spacing:-.04em; font-variant-numeric:tabular-nums}
.pt-do small{font-size:10px; font-weight:700; color:var(--muted); line-height:1.15}
.pt-do.hot span{background:var(--hot); color:#fff} .pt-do.hot b{color:var(--hot)} .pt-do.hot{box-shadow:0 0 0 2px color-mix(in srgb,var(--hot) 30%,transparent), var(--shadow); animation:catIn .5s var(--spring) both, tkGlow 2.4s ease-in-out infinite}
.pt-do.sun span{background:var(--sun); color:#2B2100} .pt-do.brand span{background:var(--brand); color:#fff} .pt-do.warn span{background:var(--warn); color:#fff}
.pt-do.zero{opacity:.7}
.pt-quick{display:grid; gap:8px; margin-top:10px}
.pt-q{display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:10px 12px; border-radius:16px; background:var(--hot-50)}
.pt-q small{display:block; font-size:11.5px; color:var(--ink2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
@keyframes tkGlow{50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--hot) 12%,transparent), var(--shadow)}}
/* admin: approvals, funnel, search */
.ad-apq{padding:4px 16px 14px}
.ad-ap{display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line)}
.ad-ap b{font-size:14px} .ad-ap small{display:block; font-size:12px; color:var(--muted)}
.ad-ap input,.ad-bulk input{width:17px; height:17px; accent-color:var(--brand)}
.ad-bulk{display:flex; align-items:center; gap:8px; padding-top:12px} .ad-bulk label{flex:1; display:flex; gap:7px; align-items:center; font-size:13px; font-weight:600}
.ad-fun{padding:4px 16px 16px}
.ad-fs{display:grid; grid-template-columns:118px 1fr 40px 46px; gap:8px; align-items:center; font-size:12.5px; margin:7px 0}
.ad-fb{height:12px; border-radius:6px; background:var(--canvas); overflow:hidden}
.ad-fb i{display:block; height:100%; border-radius:6px; background:linear-gradient(90deg,var(--brand),var(--brand-l)); animation:growx .8s var(--ease) both; transform-origin:left}
.ad-fs b{text-align:right; font-variant-numeric:tabular-nums} .ad-fs em{font-style:normal; font-size:11px; color:var(--hot); font-weight:700; text-align:right}
.ad-fsep{font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:12px 0 2px}
.ad-sdd{position:absolute; top:calc(100% + 8px); left:0; width:340px; max-height:420px; overflow-y:auto; z-index:50; background:var(--surface); border-radius:18px; box-shadow:var(--shadow-lg); padding:6px; animation:rise .2s var(--ease)}
.ad-sdd .ad-sh{font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:8px 10px 4px}
.ad-sdd button{display:block; width:100%; text-align:left; padding:8px 10px; border-radius:12px}
.ad-sdd button:hover,.ad-sdd button:focus-visible{background:var(--brand-50)}
.ad-sdd b{display:block; font-size:13.5px} .ad-sdd small{font-size:12px; color:var(--muted)}
@media (max-width:1100px){ .ad-row2{grid-template-columns:1fr !important} }

/* =====================================================================
   v29 — partner: compact, aligned bottom navigation (standard mobile
   sizing: 64px bar, 24px icons, 11px labels, ≥48px targets) + forecast entry
   ===================================================================== */
#navholder .bnav.pdock{pointer-events:auto; position:absolute; left:10px; right:10px; bottom:calc(8px + var(--bottom)); z-index:20; display:grid; grid-template-columns:repeat(5,1fr); align-items:center;
  height:64px; padding:0 4px; border-radius:20px; background:color-mix(in srgb,var(--surface) 94%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line); box-shadow:0 10px 28px -14px rgba(10,40,36,.35)}
.pdock .vtab{height:56px; margin:0 3px; gap:3px; border-radius:14px; font-size:11px; font-weight:600; color:#8A949A; flex:none; min-width:0}
.pdock .vtab svg{width:22px; height:22px}
.pdock .vtab.on{color:var(--brand); background:var(--brand-50)}
.pdock .vtab.on > span:last-child{opacity:1; font-weight:800}
.pdock .vtab.on::after{display:none}
.pdock .vtab > span:last-child{line-height:1}
.pdock .cartbadge{top:-5px; right:-9px}
.pdock .pd-addtab{color:var(--brand)}
.pdock .pd-add{width:30px; height:30px; border-radius:10px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,#17B6A6,#0C8F82); box-shadow:0 6px 14px -6px rgba(12,143,130,.8); transition:transform .25s var(--spring)}
.pdock .pd-add svg{width:18px; height:18px}
.pdock .pd-addtab:active .pd-add{transform:scale(.88)}
.pdock .pd-addtab.boing .pd-add{animation:boing .45s var(--spring)}
body[data-app="partner"] .phone .screen{padding-bottom:96px}
/* forecast entry card on the dashboard */
#fcEntry{margin-top:14px}
.fc-entry{position:relative; overflow:hidden; display:flex; align-items:center; gap:12px; width:100%; padding:14px; border-radius:20px; text-align:left; color:#fff;
  background:radial-gradient(200px 140px at 100% 0%, rgba(44,203,186,.55), transparent 70%), linear-gradient(140deg,#0A5C55,#073F3A); box-shadow:0 16px 30px -18px rgba(7,63,58,.8); transition:transform .25s var(--spring)}
.fc-entry:active{transform:scale(.98)}
.fc-entry::after{content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; border:1.5px dashed rgba(255,255,255,.18); animation:spin 26s linear infinite}
.fc-eic{width:42px; height:42px; flex:none; border-radius:14px; display:grid; place-items:center; background:rgba(255,255,255,.14); color:#FFD86B}
.fc-eic svg{width:22px; height:22px}
.fc-et{flex:1; min-width:0}
.fc-et small{display:block; font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#BFE7E1}
.fc-et b{display:block; font-size:14px; font-weight:700; margin-top:2px}
.fc-et em{font-style:normal; display:inline-block; margin-left:4px; font-size:11px; color:#FFD86B}
.fc-ego{width:32px; height:32px; flex:none; border-radius:50%; display:grid; place-items:center; background:#fff; color:#0A5C55}
.fc-ego svg{width:16px; height:16px}

/* =====================================================================
   v30 — mobile sizing pass (partner first, safe everywhere)
   type: 12px minimum, 14–15px body · targets: ≥44px · spacing: 8/16/24
   ===================================================================== */
body[data-app="partner"]{font-size:15px}
/* calmer headings */
body[data-app="partner"] .chead h2,body[data-app="partner"] .vgreet b{font-size:24px !important; line-height:1.05}
body[data-app="partner"] .pt-head h2{font-size:26px}
body[data-app="partner"] .row.px[style*="sticky"] h3{font-size:22px !important}
body[data-app="partner"] .vgreet span{font-size:14px}
/* minimum readable sizes */
body[data-app="partner"] :is(.badge,.fc-pc,.fc-basis,.fc-why span,.pt-do small,.pt-card small,.pt-q small,.fc-mrow small,.fc-mrow i,.fc-bandl,.fc-big small,.fc-kpi span,.fc-evs span,.pt-filt button i,.olab){font-size:12px !important}
body[data-app="partner"] .fc-chart text{font-size:10px}
body[data-app="partner"] .fc-ring span{font-size:8px}
body[data-app="partner"] .olab{line-height:1.15}
body[data-app="partner"] .muted{font-size:max(12px,1em)}
/* tap targets ≥44px */
body[data-app="partner"] :is(.pmbtn,.btn.sm,.pt-filt button,.pt-th button,.lang-toggle button,.tb-btn,.pt-live){min-height:44px}
body[data-app="partner"] .pmbtn{padding:0 14px; font-size:13px}
body[data-app="partner"] .lang-toggle button{min-width:44px}
body[data-app="partner"] .pt-sw{min-height:44px}
body[data-app="partner"] .pt-acts .pmbtn.danger{min-width:44px; justify-content:center}
body[data-app="partner"] .plist > :is(a,button){min-height:56px}
/* 8 / 16 / 24 spacing rhythm */
body[data-app="partner"] .pt-today,body[data-app="partner"] #fcEntry{margin-top:16px}
body[data-app="partner"] .pt-dos{gap:8px}
body[data-app="partner"] .pt-quick{gap:8px; margin-top:8px}
body[data-app="partner"] #body > *{margin-top:16px !important}
body[data-app="partner"] .sec-head{margin:24px 0 8px !important}
body[data-app="partner"] .grid2{gap:8px !important}
/* long names wrap instead of being cut */
.pt-items,.pt-q small,.qc-line h4,.pt-card h4,.cart-item h4{white-space:normal !important; -webkit-line-clamp:unset !important; overflow:visible !important; text-overflow:clip !important}
.pt-q small{display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical; overflow:hidden !important}
/* one action area + slim KPI strip */
.pt-sh{display:flex; justify-content:space-between; align-items:baseline}
.pt-sh b{font-size:15px; font-weight:800} .pt-sh small{font-size:12px; color:var(--muted)}
.pt-kpis{display:flex; gap:8px; overflow-x:auto; margin:8px -16px 0 !important; padding:0 16px 4px; scrollbar-width:none; scroll-snap-type:x mandatory}
.pt-kpis::-webkit-scrollbar{display:none}
.pt-kpi{flex:none; scroll-snap-align:start; display:flex; align-items:center; gap:10px; min-width:150px; padding:12px 14px; border-radius:16px; background:var(--surface); box-shadow:var(--shadow)}
.pt-kpi span{width:36px; height:36px; border-radius:12px; display:grid; place-items:center; background:var(--brand-50); color:var(--brand)}
.pt-kpi span svg{width:18px; height:18px}
.pt-kpi b{display:block; font-size:18px; font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums; line-height:1.1}
.pt-kpi small{font-size:12px; color:var(--muted)}
/* safer log out: separated, lower, quieter */
.pt-logout{margin-top:32px !important; color:var(--bad) !important; background:transparent !important; box-shadow:none !important; border:1px solid color-mix(in srgb,var(--bad) 30%,transparent) !important; min-height:48px}
/* swipe on order tickets */
.pt-ticket{position:relative; touch-action:pan-y; transition:transform .25s var(--ease), opacity .25s; user-select:none}
.pt-ticket .sw-hint{position:absolute; top:50%; transform:translateY(-50%); z-index:-1; display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:800; opacity:0; transition:opacity .2s}
.pt-ticket .sw-hint svg{width:16px; height:16px}
.pt-ticket .sw-hint.r{left:-96px; color:var(--ok)} .pt-ticket .sw-hint.l{right:-80px; color:var(--bad)}
.pt-ticket.sw-r{box-shadow:0 0 0 2px var(--ok), var(--shadow) !important} .pt-ticket.sw-r .sw-hint.r{opacity:1}
.pt-ticket.sw-l{box-shadow:0 0 0 2px var(--bad), var(--shadow) !important} .pt-ticket.sw-l .sw-hint.l{opacity:1}
.pt-ticket.gone-r{transform:translateX(110%) rotate(6deg) !important; opacity:0}
.pt-ticket.gone-l{transform:translateX(-110%) rotate(-6deg) !important; opacity:0}
#l:has(.pt-ticket)::before{content:"Tip: swipe right to accept or advance, left to reject"; display:block; font-size:12px; color:var(--muted); text-align:center; margin:-2px 0 4px}
/* pull to refresh */
.ptr{position:absolute; top:calc(8px + var(--top)); left:50%; z-index:30; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--surface); color:var(--brand); box-shadow:var(--shadow); opacity:0; transform:translate(-50%,0); pointer-events:none}
.ptr svg{width:18px; height:18px}
.ptr.ready{background:var(--brand); color:#fff}
.ptr.spin svg{animation:spin .7s linear infinite}
/* sheets close smoothly (back gesture) */
.sheet.closing{animation:fadeOut .18s ease forwards} .sheet.closing .panel-s{animation:sheetDown .18s ease forwards}
@keyframes fadeOut{to{opacity:0}} @keyframes sheetDown{to{transform:translateY(40px)}}

/* ---------- add product: 3 steps + live preview ---------- */
.ap-steps{display:flex; align-items:center; gap:6px; margin:0 0 16px}
.ap-steps span{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:var(--muted)}
.ap-steps i{width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12px; font-weight:800; background:var(--surface-2); color:var(--muted)}
.ap-steps span.on{color:var(--ink)} .ap-steps span.on i{background:var(--brand); color:#fff; box-shadow:var(--glow)}
.ap-steps span.done i{background:var(--ok); color:#fff}
.ap-steps b{flex:1; height:2px; border-radius:1px; background:var(--line)}
.ap-photo{display:grid; gap:10px}
.ap-cam{display:grid; justify-items:center; gap:4px; padding:28px 16px; border-radius:20px; border:2px dashed color-mix(in srgb,var(--brand) 45%,transparent); background:var(--brand-50); color:var(--brand); transition:transform .25s var(--spring)}
.ap-cam:active{transform:scale(.98)}
.ap-cam span{width:56px; height:56px; border-radius:18px; display:grid; place-items:center; background:var(--brand); color:#fff; box-shadow:var(--glow)}
.ap-cam span svg{width:26px; height:26px}
.ap-cam b{font-size:16px; color:var(--ink)} .ap-cam small{font-size:12px; color:var(--muted)}
.ap-gal{min-height:48px; border-radius:14px; border:1px solid var(--line); font-weight:700; font-size:14px}
.ap-shot{position:relative; border-radius:20px; overflow:hidden; animation:pop .4s var(--spring)}
.ap-shot img{display:block; width:100%; max-height:260px; object-fit:cover}
.ap-shot .pu-x{width:44px; height:44px}
.ap-url summary{font-size:13px; color:var(--muted); cursor:pointer; min-height:44px; display:flex; align-items:center}
.ap-units{display:flex; flex-wrap:wrap; gap:8px; margin:-4px 0 14px}
.ap-units button{min-height:36px; padding:0 12px; border-radius:999px; border:1px solid var(--line); font-size:12.5px; font-weight:700; color:var(--ink2)}
.ap-units button.on{background:var(--brand); border-color:var(--brand); color:#fff}
.ap-prev{margin-top:16px; display:grid; justify-items:center; gap:8px; padding:14px; border-radius:20px; background:var(--surface-2)}
.ap-prev > small{font-size:12px; font-weight:700; color:var(--muted); letter-spacing:.04em; text-transform:uppercase}
.ap-card{width:168px; pointer-events:none; animation:none}
.ap-card .pimg{display:grid; place-items:center; color:var(--brand)} .ap-card .pimg > .gi svg{width:30px; height:30px; opacity:.5}
.ap-card .qc-add{pointer-events:none}
.ap-stock{display:grid; gap:10px}
.ap-opt{display:flex; align-items:center; gap:12px; width:100%; min-height:64px; padding:12px 14px; border-radius:16px; border:1.5px solid var(--line); text-align:left; transition:border-color .2s, background .2s}
.ap-opt.on{border-color:var(--brand); background:var(--brand-50)}
.ap-opt > span{font-size:18px} .ap-opt .ok{color:var(--ok)} .ap-opt .no{color:var(--bad)}
.ap-opt b{display:block; font-size:15px} .ap-opt small{font-size:12.5px; color:var(--muted)}
.ap-nav{position:sticky; bottom:-22px; display:grid; grid-template-columns:1fr 2fr; gap:10px; margin:18px -18px -22px; padding:12px 18px calc(16px + var(--bottom)); background:var(--surface); box-shadow:0 -10px 20px -18px rgba(0,0,0,.4)}
.ap-nav .btn{min-height:48px} .ap-nav .btn.ghost:empty{visibility:hidden}

/* ---------- dark-mode colour check (partner + shared) ---------- */
:root[data-theme="dark"] body,body.cdark{--hot-50:#3A201A; --sun-50:#33290F; --brand-50:#0F2A26}
:root[data-theme="dark"] .grid2 > .vstat:nth-child(3) .ic,:root[data-theme="dark"] .grid2 > .vstat:nth-child(4) .ic,
:root[data-theme="dark"] .kpis .kpi:nth-child(3) .kic{background:rgba(255,255,255,.08) !important}
:root[data-theme="dark"] .grid2 > .vstat:nth-child(3) .ic,:root[data-theme="dark"] .kpis .kpi:nth-child(3) .kic{color:#FF9A80 !important}
:root[data-theme="dark"] .grid2 > .vstat:nth-child(4) .ic{color:#F7C948 !important}
:root[data-theme="dark"] .pt-q{background:#3A201A}
:root[data-theme="dark"] .pt-q small{color:#E6D3CE}
:root[data-theme="dark"] .pt-do.hot b{color:#FF8A6B}
:root[data-theme="dark"] .fc-po div:first-child b,:root[data-theme="dark"] .fc-po div:first-child{color:#FF9A80}
:root[data-theme="dark"] :is(.pt-img,.qc-card .pimg,.ap-card .pimg,.st-ip,.fc-pimg){background:#1E2625}
:root[data-theme="dark"] .qc-add{background:#14201E}
:root[data-theme="dark"] .qc-new{background:#1C2A44; color:#9DB8FF}
:root[data-theme="dark"] .qc-rib{background:#3F68D8}
:root[data-theme="dark"] .badge.warn{background:#3A2B0E; color:#F4C04E}
:root[data-theme="dark"] .badge.open{background:#0F2E22; color:#4FD69C}
:root[data-theme="dark"] .pt-filt button,:root[data-theme="dark"] .pt-kpi,:root[data-theme="dark"] .pt-do{background:var(--surface-2)}
:root[data-theme="dark"] .pt-do.zero{opacity:.55}
:root[data-theme="dark"] .fc-hb{fill:#24403C}
:root[data-theme="dark"] .pt-logout{border-color:rgba(255,120,100,.35) !important; color:#FF8A75 !important}
:root[data-theme="dark"] .ap-cam{background:#0F2A26}
:root[data-theme="dark"] .cd-card{background:var(--surface-2)}
.ap-card{position:relative} .ap-card .pimg{position:relative; overflow:visible}
