/* Layout: one 360x800 phone beside a small panel for the reviewer. Single warm light theme on purpose: it is meant to be read in bright store light. */
:root{
  --bg:#FFFFFF; --surface:#FFFFFF; --sunk:#F6F6F6; --line:#E5E5E5; --edge:#E5E5E5;
  --ink:#1F1F1F; --ink2:#575757; --mint:#E9F1EE;
  --accent:#000000; --on-accent:#FFFFFF; --tint:#000000; --on-tint:#FFFFFF;
  --warn:#B03A40; --cam:#2B2621;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:400 16px/1.5 'Inter','Noto Sans','Noto Sans Devanagari',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:12px 40px}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;-webkit-tap-highlight-color:transparent;text-align:inherit}
input,textarea{font:inherit;color:inherit}
h1,h2,h3,p{margin:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* page chrome (outside the phone) */
.chrome{max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px}
.chrome b{font-size:20px}
.chrome small{color:var(--ink2);display:block;font-size:15px}
.seg{display:flex;gap:8px}
.seg button{min-height:48px;padding:0 18px;border-radius:14px;border:2px solid var(--edge);background:var(--surface);font-weight:600}
.seg button.on{background:var(--tint);border-color:var(--accent);color:var(--on-tint);font-weight:700}
.stage{max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;gap:32px;justify-content:center;align-items:flex-start}
.panel{width:min(100%,380px);display:flex;flex-direction:column;gap:20px}
.panel h3{font-size:17px;margin-bottom:8px}
.panel .seg{flex-wrap:wrap}
.panel .seg button{min-height:44px;padding:0 14px;font-size:15px}
.jump{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.jump button{min-height:44px;padding:6px 12px;border-radius:12px;border:1px solid var(--edge);background:var(--surface);font-size:15px;line-height:1.25}
.panel p{font-size:15px;color:var(--ink2)}

/* the phone */
.phone{position:relative;width:360px;max-width:100%;height:min(800px,calc(100dvh - 92px));min-height:640px;background:var(--bg);border:2px solid var(--ink);border-radius:28px;overflow:hidden;display:flex;flex-direction:column;font-size:.9375rem;line-height:1.4}
.phone.big{font-size:1.15rem}
@media (max-width:440px){
  .stage{margin-left:calc(-1*max(16px,env(safe-area-inset-left,0px)));margin-right:calc(-1*max(16px,env(safe-area-inset-right,0px)));gap:24px}
  .phone{width:100%;border:0;border-radius:0;height:calc(100dvh - 76px);min-height:560px}
  .panel{padding-inline:16px}
}
.sample{background:var(--ink);color:var(--bg);font-weight:600;text-align:center;padding:2px 12px;line-height:1.3}
.head{padding:4px 16px 8px;background:var(--bg)}
.storerow{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:46px}
.store b{display:block;font-weight:700;line-height:1.2}
.store span{display:block;color:var(--ink2);line-height:1.2}
.more{min-height:46px;padding:0 10px;border-radius:14px;display:flex;align-items:center;gap:6px;font-weight:600}
.titlerow{display:flex;gap:12px;align-items:center;margin-top:2px}
.lefty .titlerow{flex-direction:row-reverse;justify-content:flex-end}
.lefty .pair{flex-direction:row-reverse}
.back{min-height:46px;padding:0 14px 0 6px;display:flex;align-items:center;font-weight:600;border-radius:14px;background:var(--surface);border:2px solid var(--edge);flex:none}
h1{font-size:1.45em;line-height:1.2;font-weight:700}
h2{font-size:1.35em;line-height:1.25;font-weight:700}
.sub{color:var(--ink2);margin-top:2px}
.offbar{background:var(--ink);color:var(--bg);padding:10px 16px;display:flex;gap:10px;align-items:center;font-weight:600;line-height:1.3}
.scroll{flex:1;overflow-y:auto;padding:12px 16px 24px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}
.enter{animation:fade .12s ease-out}
.action{padding:12px 16px;background:var(--bg);border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line)}
.tab{min-height:52px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:600;border:2px solid transparent;text-align:center;line-height:1.2}
.tab.on{background:var(--tint);color:var(--on-tint);border-color:var(--accent);font-weight:700}
.ic{flex:none}

/* buttons */
.btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:8px 16px;border-radius:16px;font-weight:700;width:100%;text-align:center;line-height:1.25;transition:transform .08s,filter .08s}
.btn.main{background:var(--accent);color:var(--on-accent)}
.btn.sec{background:var(--surface);border:2px solid var(--edge);color:var(--ink);font-weight:600}
.btn.quiet{width:auto;font-weight:600;text-decoration:underline;text-underline-offset:4px;padding:8px 12px}
.btn.dis{background:var(--sunk);color:var(--ink2);cursor:default}
button:active:not(.dis){transform:scale(.97);filter:brightness(.93)}
.pair{display:flex;gap:12px}
.pair .btn{flex:1}
.chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:6px 16px;border-radius:14px;border:2px solid var(--edge);background:var(--surface);font-weight:500;line-height:1.2;text-align:center;transition:transform .08s,filter .08s}
.chip.on{background:var(--tint);border-color:var(--accent);color:var(--on-tint);font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:12px}
.sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.chip.size{flex-direction:column;gap:0;min-height:54px;padding:6px 4px}
.chip.size b{font-size:1.1em}
.zero{color:var(--warn);font-weight:600}
.chip.on .zero{color:var(--warn)}

/* search */
.searchbar{background:var(--surface);border:2px solid var(--edge);border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:12px}
.qrow{display:flex;gap:10px;align-items:center;min-height:46px;padding:0 12px;border-radius:14px;background:var(--bg);border:1px solid var(--line)}
.qrow:focus-within{outline:3px solid var(--accent);outline-offset:2px}
.qrow input{background:none;border:0;outline:0;flex:1;min-width:0;min-height:46px}
.qrow input::placeholder{color:var(--ink2);opacity:1}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.trio .btn{flex-direction:column;gap:2px;min-height:56px;padding:8px 4px}
.hint{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink2)}
.list{display:flex;flex-direction:column;gap:12px}
.row{display:flex;align-items:center;gap:12px;min-height:50px;padding:8px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line);width:100%;line-height:1.3}
.row .grow{flex:1;min-width:0}
.row.pick{border:2px solid var(--edge)}
.row.pick.on{background:var(--tint);border-color:var(--accent);color:var(--on-tint)}
.tag{display:inline-flex;align-items:center;padding:1px 10px;border-radius:999px;background:var(--sunk);font-weight:600;line-height:1.35}
.res{display:flex;gap:12px;align-items:stretch;padding:10px;border-radius:16px;background:var(--surface);border:1px solid var(--line);width:100%;line-height:1.3}
.res .rt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.res .why{color:var(--ink2)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}
.kv{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.kv.r{padding:14px 0;border-bottom:1px solid var(--line)}
.kv.r:last-child{border-bottom:0}
.rows{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:2px 16px}
.right{text-align:right}
.muted{color:var(--ink2)}
.warnline{color:var(--warn);font-weight:600}

/* product tile: flat colour stand-in for a photo */
.tile{position:relative;border-radius:16px;display:grid;place-items:center;flex:none;overflow:hidden}
.tile svg{display:block}
.tile.sm{width:66px;min-height:66px;align-self:stretch}
.tile.sm svg{width:44px;height:44px}
.tile.lg{width:100%;height:190px}
.tile.lg svg{width:96px;height:96px}
.tile.xs{width:46px;height:46px;border-radius:12px}
.tile.xs svg{width:34px;height:34px}
.cap{position:absolute;left:10px;bottom:8px;background:var(--surface);color:var(--ink);padding:0 10px;border-radius:999px;font-weight:600;line-height:1.5}

/* states */
.state{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:20px 4px}
.sico{width:52px;height:52px;border-radius:50%;background:var(--sunk);display:grid;place-items:center}
.ok .sico{background:var(--tint);color:var(--on-tint)}
.state .btn{margin-top:4px}
.sk{background:var(--sunk);border-radius:12px;animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.55}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes up{from{transform:translateY(14px);opacity:.7}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.sk,.enter,.sheet,.scrim{animation:none}.btn,.chip{transition:none}}

/* sheet */
.scrim{position:absolute;inset:0;background:rgba(30,26,22,.45);animation:fade .12s ease-out;z-index:5}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:92%;overflow-y:auto;background:var(--surface);border-radius:24px 24px 0 0;padding:12px 16px 20px;display:flex;flex-direction:column;gap:16px;animation:up .14s ease-out;z-index:6}
.shead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fgroup{display:flex;flex-direction:column;gap:10px}
.fgroup .lab{font-weight:700}

/* camera */
.vf{position:relative;min-height:320px;flex:1;border-radius:20px;background:var(--cam);color:var(--bg);display:grid;place-items:center;text-align:center;padding:28px;font-weight:500}
.vf i{position:absolute;width:40px;height:40px;border:4px solid var(--bg)}
.vf i:nth-of-type(1){left:20px;top:20px;border-right:0;border-bottom:0;border-radius:12px 0 0 0}
.vf i:nth-of-type(2){right:20px;top:20px;border-left:0;border-bottom:0;border-radius:0 12px 0 0}
.vf i:nth-of-type(3){left:20px;bottom:20px;border-right:0;border-top:0;border-radius:0 0 0 12px}
.vf i:nth-of-type(4){right:20px;bottom:20px;border-left:0;border-top:0;border-radius:0 0 12px 0}
.vf .ln{position:absolute;left:36px;right:36px;height:3px;background:var(--bg);top:50%;border-radius:2px}
.mic{display:flex;gap:8px;align-items:center;justify-content:center;padding:12px}
.mic span{width:14px;height:14px;border-radius:50%;background:var(--accent);animation:pulse .9s ease-in-out infinite}
.mic span:nth-child(2){animation-delay:.15s}.mic span:nth-child(3){animation-delay:.3s}
.heard{font-size:1.3em;font-weight:600;line-height:1.35}

/* approvals */
.ccard{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:12px}
.ctop{display:flex;justify-content:space-between;align-items:center;gap:8px}
.chk{display:flex;gap:8px;align-items:center}
.code{display:flex;gap:12px;justify-content:center}
.cb{width:52px;height:56px;border:2px solid var(--edge);border-radius:16px;display:grid;place-items:center;font-size:2em;font-weight:700;background:var(--surface)}
.cb.on{border-color:var(--accent);border-width:3px}
.keys{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.key{min-height:52px;border-radius:16px;background:var(--surface);border:2px solid var(--edge);font-size:1.5em;font-weight:600;text-align:center;display:grid;place-items:center;transition:transform .08s,filter .08s}
.key.w{font-size:1em;font-weight:600}
.stepper{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.stepper .num{font-size:1.8em;font-weight:700;min-width:52px;text-align:center}
.stepper .btn{min-height:52px}
textarea{width:100%;min-height:110px;padding:12px 14px;border-radius:14px;border:2px solid var(--edge);background:var(--surface);resize:vertical;line-height:1.4}
.topics{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.topics .btn{flex-direction:column;min-height:86px;gap:6px}

/* style guide */
.sg{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:40px}
.sg section{display:flex;flex-direction:column;gap:16px}
.sg h2.sgh{font-size:26px}
.sg .lede{max-width:62ch;color:var(--ink2);font-size:17px}
.sw{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.sw div{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface);font-size:15px;line-height:1.4}
.sw i{display:block;height:64px}
.sw p{padding:10px 12px}
.sw b{display:block;font-size:16px}
.tr{display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 20px}
.tr div{display:flex;gap:16px;align-items:baseline;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px}
.tr div:last-child{border:0;padding:0}
.tr small{width:170px;color:var(--ink2);font-size:15px}
.sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:24px;align-items:start}
.sgcell{display:flex;flex-direction:column;gap:8px}
.sgcell>small{color:var(--ink2);font-size:15px;font-weight:600}
.pv{width:360px;max-width:100%;background:var(--bg);border:1px dashed var(--edge);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:12px;font-size:1.125rem;line-height:1.4}
.note{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 20px;font-size:16px;line-height:1.6}
.note li{margin-bottom:6px}

/* real app: the phone fills the screen */
body{padding:0}
.stage{display:block;max-width:none;margin:0;gap:0}
.phone{width:100%;max-width:520px;height:100dvh;min-height:0;margin:0 auto;border:0;border-radius:0}
@media (min-width:600px){.phone{border-left:1px solid var(--line);border-right:1px solid var(--line)}}
.vf video.cam{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:20px;background:var(--cam)}
.vf i,.vf .ln{z-index:1}
.vfmsg{position:relative;z-index:1;background:rgba(30,26,22,.7);padding:4px 12px;border-radius:12px;margin-top:auto;align-self:end}

/* ---- restyle: clean white retail look. Black is the only strong colour. ---- */
.phone{background:#fff;line-height:1.55}
.sample{background:#F6F6F6;color:var(--ink);font-weight:400;border-bottom:1px solid var(--line)}
.head{margin:8px 12px 4px;padding:6px 12px 14px;background:var(--mint);border-radius:20px}
h1,h2{font-weight:500;color:#000}
h1{font-size:1.15em;line-height:1.3;text-align:center}
h2{font-size:1.15em}
b,strong{font-weight:500}
.store b{color:#000}
.more,.back{background:#fff;border:1px solid var(--line);border-radius:12px;font-weight:500}
.more{padding:0 14px}
.titlerow{margin-top:6px}
.titlerow>div{flex:1;min-width:0;text-align:center}
.sub{color:var(--ink2)}
.offbar{margin:4px 12px;border-radius:12px;background:#1F1F1F;color:#fff;font-weight:500}
.btn{border-radius:12px;font-weight:500}
.btn.main{background:#000;color:#fff}
.btn.sec{background:#fff;border:1px solid var(--line);font-weight:500}
.btn.dis{background:#F6F6F6;color:var(--ink2)}
.chip{background:#fff;border:1px solid var(--line);border-radius:12px;font-weight:500}
.chip.on{background:#000;border-color:#000;color:#fff}
.chip.on .zero{color:#fff}
.row.pick{border:1px solid var(--line)}
.row.pick.on{background:#000;border-color:#000;color:#fff}
.tag{background:#F6F6F6;color:var(--ink);font-weight:500}
.zero{color:#B03A40;font-weight:500}
.res .zero{background:#FDF7F7;padding:0 10px;border-radius:999px;align-self:flex-start}
.warnline{color:#B03A40;background:#FDF7F7;padding:8px 12px;border-radius:12px;font-weight:500}
.card,.ccard,.rows,.row,.searchbar{background:#fff;border:1px solid var(--line);border-radius:16px}
[style*="--accent"]{border:1px solid #000!important}
.qrow{background:#fff;border:1px solid var(--line);border-radius:12px}
.res{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 0}
.list:has(>.res){gap:0}
.tile{background:#F6F6F6!important;border-radius:12px}
.tile.lg{border-radius:16px}
.tile svg{fill:#C4C4C4}
.cap{background:#fff;border:1px solid var(--line);font-weight:500}
.tabs{margin:4px 16px calc(12px + env(safe-area-inset-bottom,0px));padding:8px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.tab{background:#F6F6F6;color:var(--ink2);border:0;border-radius:12px;font-weight:500}
.tab.on{background:#000;color:#fff;border:0;font-weight:500}
.action{background:#fff;border-top:0;padding:8px 16px 12px}
.sheet{background:#fff;border-radius:20px 20px 0 0}
.scrim{background:rgba(0,0,0,.35)}
textarea{background:#fff;border:1px solid var(--line);border-radius:12px}
.key{background:#fff;border:1px solid var(--line);border-radius:12px;font-weight:500}
.cb{background:#fff;border:1px solid var(--line);border-radius:12px;font-weight:700}
.cb.on{border:2px solid #000}
.stepper .num{font-weight:700}
.sk{background:#EFEFEF}
.sico{background:#F6F6F6}
.ok .sico{background:var(--mint);color:#000}
.vf{border-radius:16px}
.vf video.cam{border-radius:16px}
.mic span{background:#000}
.hint{color:var(--ink2)}

/* ---- smaller, app-sized type and a phone-width frame ---- */
.phone{max-width:430px;font-size:.9375rem;line-height:1.45}
.phone.big{font-size:1.125rem}
@media (min-width:600px){.phone{height:min(100dvh,900px);margin-top:max(0px,calc((100dvh - 900px)/2))}}
h1,h2{font-size:1.1em}
.store b{font-size:1em}
.tabs .tab{min-height:46px}

/* store picker + transfers */
.pickstore{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;column-gap:4px;text-align:left;background:none;border:0;padding:0;min-height:46px;color:inherit}
.pickstore .upd{grid-column:1/3}
.tr{display:flex;flex-direction:column;gap:4px;padding:12px 14px}
.trtop{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.treta{margin:0}
.row.pick .muted{color:inherit;opacity:.75}

/* size table, 2-button search row, guest history */
.trio{grid-template-columns:repeat(2,1fr)}
.stbl{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.srow{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:8px;align-items:center;width:100%;min-height:46px;padding:8px 14px;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);font:inherit;color:inherit;line-height:1.2}
.srow:last-child{border-bottom:0}
.srow span{text-align:center}
.srow.hd{min-height:36px;background:#F6F6F6;font-weight:500;color:var(--ink2);font-size:.85em}
.srow.hd span:first-child{text-align:left}
.srow .zero{color:#B03A40;font-weight:600}
.srow.on{background:#000;color:#fff}
.srow.on .zero{color:#fff}

/* real product photos */
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.tile.lg img{object-fit:contain}

/* =====================================================================
   DESIGN.md (16 Nov 2026): plain, calm, square. One small surprise.
   Everything above is the older look; this block wins.
   ===================================================================== */
:root{
  --ink:#1C1B1B;--midnight:#1A1F28;--charcoal:#2D333D;--slate:#424A54;--muted:#565E6B;--struck:#A6ACB1;--line:#DFE1E3;
  --white:#FFFFFF;--photo:#F1F1F0;--sand:#F5F2ED;--cream:#FFFFFF;--marigold:#FFCA44;--parrot:#2F7D4F;--heart:#BD0A73;--error:#A8402E;
  --font:"Euclid Flex","EuclidFlex","Jost",system-ui,sans-serif;
  --bg:#fff;--surface:#fff;--sunk:var(--photo);--edge:var(--line);--ink2:var(--muted);--mint:#fff;
  --accent:var(--charcoal);--on-accent:#fff;--tint:var(--charcoal);--on-tint:#fff;--warn:var(--error);
  --pad:24px;--tap:44px;--ease:.2s ease-in-out;
}
body,.phone,button,input,textarea{font-family:var(--font)}
.phone{font-size:14px;line-height:23px;font-weight:300;color:var(--ink);background:#fff}
.phone.big{font-size:17px;line-height:26px}
.phone *{font-weight:300;border-radius:0;box-shadow:none}
.phone b,.phone strong{font-weight:500}
.ic{stroke-width:1.5}
button:active:not(.dis){transform:none;filter:none}
.btn,.chip,.tab,.back,.row,.tile,.key,.cb{transition:background var(--ease),color var(--ease),border-color var(--ease)}

/* notice bar */
.sample{background:var(--marigold);color:var(--ink);font-size:12px;line-height:24px;height:24px;padding:0 12px;text-align:center;border:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* header */
.head{margin:0;padding:0;background:#fff;border-radius:0;border-bottom:1px solid var(--line)}
.hbar{height:60px;padding:0 16px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center}
.hic{width:44px;height:44px;display:grid;place-items:center;color:var(--ink)}
.hic:first-child{justify-items:start}.hic:last-child{justify-items:end}
.wordmark{text-align:center;font-weight:500;font-size:18px;letter-spacing:6px;text-indent:6px;color:var(--ink)}
.pickstore{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-height:44px;width:100%;margin:0;padding:0 16px;text-align:left}
.pickstore b{font-size:13px;line-height:18px;letter-spacing:1px;text-transform:uppercase;font-weight:500}
.pickstore .upd,.store .upd{flex-basis:100%;font-size:12px;line-height:18px;color:var(--muted);margin-top:-6px;padding-bottom:6px}
.store{padding:0 16px}
.titlerow{display:flex;gap:12px;align-items:center;margin:0;padding:0 24px 8px}
.titlerow>div{text-align:left;flex:1}
.titlerow:has(h1:empty):not(:has(.back)){display:none}
.back{min-height:44px;background:none;border:0;padding:0 8px 0 0;font-size:11px;font-weight:500;letter-spacing:1px;text-transform:uppercase;color:var(--ink)}
h1,.ptitle{font-size:32px;line-height:36px;font-weight:300;text-transform:uppercase;letter-spacing:.64px;color:var(--midnight);text-align:left;margin:0}
h1:empty{display:none}
h2{font-size:14px;line-height:23px;font-weight:300;text-transform:uppercase;color:var(--slate);margin-top:8px}
.sub{font-size:12px;line-height:18px;color:var(--muted)}
.scroll{padding:16px 24px 24px;gap:16px}
.offbar{margin:0;background:var(--marigold);color:var(--ink);font-size:12px;border-radius:0;padding:4px 16px}

/* type helpers */
.lbl,.flab{font-size:11px;line-height:13px;font-weight:500;text-transform:uppercase;letter-spacing:1.76px;color:var(--muted)}
.phone .lbl,.phone .flab{font-weight:500}
.small,.muted,.upd{font-size:12px;line-height:18px;color:var(--muted)}
.muted{font-size:inherit}
.price,.pr{font-size:16px;line-height:23px;font-weight:400;color:var(--midnight)}
.phone .price,.phone .pr{font-weight:400}
.tact,.btn.quiet{font-size:11px;line-height:14px;font-weight:500;text-transform:uppercase;letter-spacing:1px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;min-height:44px;width:auto;padding:0;display:inline-flex;align-items:center}
.phone .tact{font-weight:500}
.tact.blk{display:flex;margin:0 auto}
.tact.on{text-decoration-thickness:2px}
.bar{color:var(--line);margin:0 10px}
.struck{color:var(--struck);text-decoration:line-through}

/* buttons, chips, inputs */
.btn{min-height:44px;border-radius:0;font-size:14px;line-height:14px;font-weight:400;text-transform:uppercase;letter-spacing:2px;gap:8px}
.phone .btn{font-weight:400}
.btn.main{background:var(--charcoal);color:#fff}
.btn.sec{background:#fff;border:1px solid var(--charcoal);color:var(--charcoal)}
.btn.dis{background:var(--photo);color:var(--muted)}
.chip{min-height:44px;border-radius:0;border:1px solid var(--line);background:transparent;font-size:14px;font-weight:300}
.phone .chip.on{background:var(--charcoal);border-color:var(--charcoal);color:#fff;font-weight:300}
.chips{gap:8px}
.searchbar{border:0;background:none;padding:0;gap:16px}
.qrow{border:0;border-bottom:1px solid var(--ink);background:none;padding:0;min-height:44px;border-radius:0}
.qrow input{min-height:44px;font-size:14px;font-weight:300}
.qrow:focus-within{outline:0}
.flab{display:block;margin-bottom:-8px}
textarea{border:0;border-bottom:1px solid var(--ink);background:none;padding:8px 0;min-height:88px;font-weight:300}
.trio{grid-template-columns:repeat(2,1fr);gap:8px}
.trio .btn{flex-direction:row;min-height:44px}
.hint{font-size:12px}

/* rows and cards: lines, not boxes */
.row,.card,.ccard,.rows,.res{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 0;min-height:44px}
.rows{padding:0}
.row.pick{border:0;border-bottom:1px solid var(--line)}
.phone .row.pick.on{background:var(--charcoal);color:#fff;padding:16px 12px}
.list{gap:0}
.tag{background:none;border:1px solid var(--line);font-size:10px;line-height:14px;text-transform:uppercase;padding:2.5px 5px 2px;color:var(--ink)}
.zero{color:var(--struck);font-weight:300}
.phone .zero{font-weight:300}
.res .zero{background:none;padding:0;color:var(--struck)}
.warnline{background:none;padding:0;color:var(--error)}
.kv.r{padding:12px 0}
.card.tr{padding:16px 0}
.stbl{border-radius:0}

/* tiles and photos: portrait 4:5, no corners */
.tile{background:var(--photo)!important;border-radius:0}
.tile svg{fill:#C9CACB}
.tile.sm{width:64px;min-height:0;aspect-ratio:4/5;align-self:flex-start}
.tile.xs{width:40px;height:50px}
.tile.lg{width:100%;height:auto;aspect-ratio:4/5}
.tile img,.tile.lg img{object-fit:cover}
.cap{background:rgba(255,255,255,.8);border:0;font-size:10px;border-radius:0;left:0;bottom:auto;top:0;padding:2px 9px;letter-spacing:.6px;text-transform:uppercase}
.res{gap:16px}
.res .rt{gap:0}
.res .rt b{font-size:14px;line-height:23px;font-weight:300;text-transform:uppercase;color:var(--slate)}
.res .why{font-size:12px;color:var(--muted)}

/* bottom tabs */
.tabs{margin:0;padding:0 0 env(safe-area-inset-bottom,0);border:0;border-top:1px solid var(--line);border-radius:0;gap:0;background:#fff}
.tab{background:none;color:var(--muted);min-height:52px;font-size:11px;letter-spacing:1px;text-transform:uppercase;font-weight:500;border-top:2px solid transparent}
.phone .tab{font-weight:500}
.tab.on,.phone .tab.on{background:none;color:var(--ink);border-top-color:var(--charcoal)}
.action{padding:12px 24px 16px;border-top:1px solid var(--line);background:#fff;gap:12px}

/* sheets and misc */
.sheet{border-radius:0}
.scrim{background:rgba(28,27,27,.35)}
.state{padding:24px 0}
.sico{display:none}
.state h2{font-size:32px;line-height:36px;letter-spacing:.64px;color:var(--midnight);margin:0}
.state p{font-size:14px}
.sk{background:var(--photo);border-radius:0}
.vf,.vf video.cam{border-radius:0}
.key,.cb{border-radius:0;border:1px solid var(--line);font-weight:300}
.phone .cb{font-weight:400}.stepper .num,.phone .stepper .num{font-weight:400}

/* product screen */
.pdp{display:flex;flex-direction:column;gap:16px;margin:-16px -24px 0}
.photos{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.photos .tile{grid-column:1}
.tagrow,.nameblock,.colour,.fhead,.srow2,.foot,.panelsand,.tact.blk{margin-left:24px;margin-right:24px}
.tagrow{display:flex;justify-content:space-between;align-items:center}
.mtag{border:1px solid var(--line);font-size:10px;line-height:14px;text-transform:uppercase;padding:2.5px 5px 2px}
.nameblock{display:flex;flex-direction:column;gap:8px}
.matfit{font-size:13px;line-height:18px;color:var(--muted)}
.rule{height:1px;background:var(--ink)}
.mrp{display:flex;align-items:baseline;gap:12px}
.mrp .pr{margin-left:auto}
.colour{font-size:14px;color:#6B747B}
.colour span{color:#22242A}
.panelsand{position:relative;background:var(--sand);margin-left:0;margin-right:0;padding:20px 24px 24px;margin-top:8px}
.bird{position:absolute;right:40px;top:-19px;display:block}
.phead{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px}
.stn{font-size:13px;line-height:18px;font-weight:500;text-transform:uppercase;letter-spacing:1px;color:var(--ink)}
.scols{display:grid;gap:0;text-align:center}
.scol{display:flex;flex-direction:column;align-items:center;padding-bottom:4px;border-bottom:2px solid transparent}
.scol.sel{border-bottom-color:var(--charcoal)}
.sz{font-size:15px;line-height:23px;text-transform:uppercase;color:var(--muted)}
.sn{font-size:24px;line-height:28px;font-weight:400;color:var(--midnight)}
.phone .sn{font-weight:400}
.scol.out .sz{color:var(--struck);text-decoration:line-through}
.scol.out .sn{color:var(--struck);font-weight:300}
.phone .scol.out .sn{font-weight:300}
.fhead{display:flex;justify-content:space-between;align-items:center;min-height:56px;border-bottom:1px solid var(--line);margin-top:8px}
.rh{font-size:14px;text-transform:uppercase;color:var(--slate)}
.zsw{display:flex;align-items:center}
.srow2{padding:16px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.sname{position:relative;font-size:13px;line-height:18px;font-weight:500;text-transform:uppercase;letter-spacing:1px;color:var(--ink)}
.srow2.none .sname{color:var(--muted)}
.slines{font-size:12px;line-height:18px;display:flex;flex-wrap:wrap;align-items:center}
.slines i{width:12px}
.sname .bird{position:absolute;right:0;top:-6px}
.foot{padding-bottom:8px}
.thanks{display:flex;flex-direction:column;gap:12px;padding-top:24px}
.hrule{position:relative;height:1px;background:var(--ink);margin:8px 0}
.heart{position:absolute;right:0;top:-6px}

/* srow table from earlier build is no longer used on the product screen */
.tile.lg,.tile.sm,.tile.xs{border-radius:0}
.pdp{gap:8px}
.pdp>.tact{margin-left:24px}
.srow2{padding:12px 0}
.fhead{min-height:56px;margin-top:16px}
.fgroup .lab,label.lab{font-size:11px;line-height:13px;font-weight:500;text-transform:uppercase;letter-spacing:1.76px;color:var(--muted)}

/* never let blocks shrink into each other inside the scroll area */
.scroll>*{flex-shrink:0}
.pdp>*,.thanks>*,.state>*{flex-shrink:0}
.card,.fgroup,.chips,.rows,.kv{flex-shrink:0}

/* back sits on its own line above the title so the two sizes never fight */
.titlerow{flex-direction:column;align-items:flex-start;gap:0;padding:0 24px 12px}
.titlerow>div{width:100%}
.back{min-height:36px;padding:0}
.sub{margin-top:4px;font-size:13px}
h1,.ptitle{overflow-wrap:anywhere}
.scols.many{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:12px 4px}
.scols.many .sz{font-size:12px;line-height:16px;overflow-wrap:anywhere}
.srow2.alt{width:calc(100% - 48px);text-align:left;background:none}


/* ---- readability, fluid type, real Nicobar motifs ---- */
.phone{font-weight:400}
h1,.ptitle,.state h2{font-size:clamp(22px,7.4vw,32px);line-height:1.14;letter-spacing:.02em}
.sub{font-size:13px;line-height:19px}
.small,.muted,.upd{font-size:13px;line-height:19px}
.lbl,.flab,.lab,.fgroup .lab{font-size:12px;line-height:14px}
.tact,.btn.quiet{font-size:12px}
.sl,.sname,.sz{font-family:Inter,"Euclid Flex",system-ui,sans-serif;font-weight:500;letter-spacing:.01em}
.sc{font-weight:500}
.slines{font-size:14px;line-height:22px;gap:2px 0}
.slines i{width:14px}
.sname{font-size:13px;line-height:18px}
.sz{font-size:15px;line-height:22px}
.scols.many .sz{font-size:13px;line-height:17px}
.bird{position:absolute;right:40px;top:-35px;width:22px;height:auto;display:block}
.sname .bird{right:0;top:-12px;width:17px}
.heart{width:14px;height:14px;position:absolute;right:0;top:-7px}
.sech{display:flex;justify-content:space-between;align-items:center}
.rocket{width:22px;height:22px;display:block}
.phone{container-type:inline-size}
@container (max-width:370px){.btn{letter-spacing:1px;font-size:13px;gap:6px}.pair{gap:8px}.pair .btn{min-width:0;padding:8px 6px}}

/* ===== the two approved screens: product (Little surprise) and thank-you (Feedback sent) ===== */
.mic span{background:var(--charcoal)}
.srow.on{background:var(--charcoal)}
/* photos: two portrait 4:5 side by side, 4px gap, edge to edge; tags touch the edges */
.photos{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0}
.photos .ph{min-width:0}
.photos.single .ph2{display:none}
.photos .tile.lg{border-radius:0;width:100%}
.ptag{position:absolute;top:0;background:rgba(255,255,255,.8);color:var(--ink);font-size:10px;line-height:14px;letter-spacing:.6px;font-weight:400;padding:2px 9px}
.ptag.l{left:0}
.ptag.r{right:0;top:8px;padding:2px 10px 2px 12px;border-radius:12px 0 0 12px}
.photos.single .ptag.r{right:calc(50% + 2px)}
.phone .ptag{font-weight:400}
/* colour dot: 8px with a thin ring and a 2px gap */
.colour{display:flex;align-items:center;gap:10px}
.cdot{display:inline-block;width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--ink)}
.phone .cdot{border-radius:50%}
.colour span{color:#22242A}
/* store name in the panel opens the store picker */
button.stn{padding:0;min-height:44px;text-align:right}
/* Zone control and footer */
.zlink{font-size:13px;line-height:18px;color:var(--muted);min-height:44px;display:inline-flex;align-items:center;gap:4px;padding:0}
.zlink b{color:var(--ink);font-weight:500}
.foot{display:flex;justify-content:space-between;align-items:center;margin:16px 24px 0;gap:12px}
.pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border:1px solid var(--line);border-radius:20px;font-size:10px;line-height:14px;color:var(--ink);background:#fff}
.pill span{font-weight:400}
.phone .pill{border-radius:20px}
/* thank-you: peach page under a white header, content low, button at the foot */
.phone.peach{background:#F4EDE7}
.phone.peach .head{background:#fff}
.phone.peach .scroll{background:#F4EDE7;justify-content:flex-start;padding-top:120px}
.phone.peach .action{background:#F4EDE7;border-top:0;padding-bottom:20px}
.thanks{padding-top:0;gap:12px}
.hrule{display:flex;align-items:center;gap:14px;height:auto;background:none;margin:8px 0}
.hrule i{flex:1;height:1px;background:var(--ink)}
.hrule .heart{position:static;width:12px;height:12px;flex:none}
.phone.peach .thanks p{font-size:14px}
.tact.mid{margin:0 auto;display:inline-flex;justify-content:center}

/* ===== Feedback home: "open grid" design ===== */
.fh{margin:-16px -24px 0;display:flex;flex-direction:column}
.fh-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:24px 24px 24px}
.fh-title .lbl{margin-bottom:8px}
.fh-title .zlink{margin-top:20px}
.draft{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--sand);padding:16px 24px}
.draft .lbl{margin-bottom:4px}
.dtxt{font-size:14px;line-height:20px;color:var(--ink)}
.fh-q{display:flex;justify-content:space-between;align-items:baseline;margin:24px 24px 0;padding-bottom:12px;border-bottom:1px solid var(--ink);font-size:14px;text-transform:uppercase;color:var(--slate)}
.fh-q .small{text-transform:none}
.fgrid{display:grid;grid-template-columns:1fr 1fr;margin:0 24px}
.fcell{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;text-align:left;padding:20px 16px 24px 0;min-height:128px;border-bottom:1px solid var(--line)}
.fcell:nth-child(odd){border-right:1px solid var(--line)}
.fcell:nth-child(even){padding-left:16px;padding-right:0}
.fcell:nth-last-child(-n+2){border-bottom:0}
.fcell .ic{margin-bottom:22px;color:var(--ink)}
.fnum{position:absolute;top:22px;right:16px;font-size:11px;line-height:13px;font-weight:500;letter-spacing:1.76px;color:var(--muted)}
.fcell:nth-child(even) .fnum{right:0}
.ftitle{font-size:13px;line-height:18px;font-weight:500;text-transform:uppercase;letter-spacing:1.5px;color:var(--ink)}
.fdesc{margin-top:8px;font-size:12px;line-height:18px;color:var(--muted)}
.fcell:active,.fcell:hover{background:#FAFAF9}

/* all standard secondary buttons are navy like the main ones; only pop-up sheets and the bottom action bar keep an outlined secondary so a choice between two buttons stays clear */
.btn.sec{background:var(--charcoal);color:#fff;border-color:var(--charcoal)}
.sheet .btn.sec,.action .btn.sec{background:#fff;color:var(--charcoal);border:1px solid var(--charcoal)}
.btn.sec .ic{color:#fff}
.sheet .btn.sec .ic,.action .btn.sec .ic{color:var(--charcoal)}

/* ===== 2026-11-20: size buttons, store search, poll, guest top category ===== */
.slines{gap:8px;padding:2px 0}
.szb{display:inline-flex;align-items:stretch;border:1px solid var(--ink);min-height:32px;font-size:14px;line-height:20px}
.szb .sl{padding:5px 8px;font-weight:500;font-style:normal}
.szb .sc{padding:5px 8px;border-left:1px solid var(--ink);background:var(--ink);color:#fff;font-style:normal;font-weight:500;min-width:28px;text-align:center}
.szb.out{border-color:var(--line);color:var(--struck)}
.szb.out .sl{text-decoration:line-through}
.szb.out .sc{background:#fff;color:var(--struck);border-left-color:var(--line)}
.srow2 .sname{margin-bottom:6px}
.osearch{margin:4px 24px 8px;width:calc(100% - 48px)}
.zh{margin:20px 0 8px;font-size:12px;line-height:16px;font-weight:500;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted)}
.topcat{font-size:20px;line-height:26px}
.pollbox{padding:20px 24px 0}
.pollbox .lbl{margin-bottom:8px}
.pollcard{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;background:var(--sand);margin-bottom:8px;font:inherit;color:inherit}
.polltitle{font-size:20px;line-height:28px;font-weight:400;margin:0 0 16px}
.bar{margin:0 0 16px}
.bar .bt{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px}
.bar .bw{height:10px;background:var(--line)}
.bar .bw i{display:block;height:100%;background:var(--charcoal)}
.amply{margin:16px 24px 24px}
.tsearch{margin:0 0 12px}

.res .nbi{font-size:12px;letter-spacing:.02em;color:var(--ink2);font-variant-numeric:tabular-nums;word-break:break-word}

/* Re-renders while the sheet is open (live speech text) must not replay the open animation. */
.sheet.still,.scrim.still{animation:none}

/* Feedback: Speak button inside the writing pad, fixed at the bottom right */
.padwrap{position:relative}
.padwrap textarea{width:100%;padding-bottom:52px;box-sizing:border-box}
.padmic{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--charcoal,#2D333D);background:#fff;color:var(--charcoal,#2D333D);font:inherit;font-size:12px;letter-spacing:1px;text-transform:uppercase;cursor:pointer}
.padmic .ic{color:inherit}
