/* רשימות קניות — app styles v3 ("produce board"). Tokens: tokens.css. Category color = --h (hue). */
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent}
html,body{margin:0; height:100%}
body{background:var(--bg); color:var(--ink); font-family:var(--font-ui); font-size:16.5px; line-height:1.45;
  -webkit-font-smoothing:antialiased; overscroll-behavior-y:none}
button,input,select,textarea{font:inherit; color:inherit}
/* iOS Safari pads <button> by ~1em each side: emoji/icons in small square buttons got pushed off-centre (RTL overflow). Reset once. */
button{cursor:pointer; padding:0; -webkit-appearance:none; appearance:none}
/* app feel: no text selection / callouts on chrome, no double-tap zoom */
html{-webkit-text-size-adjust:100%; touch-action:pan-x pan-y}   /* scrolling only: no pinch / double-tap zoom */
.mi-aa{width:22px; text-align:center; font-weight:800; font-size:14px; letter-spacing:-1px}
.zoom-pick{display:grid; grid-template-columns:repeat(4,1fr); gap:8px}
.zoom-pick button{border:0; border-radius:18px; background:var(--surface-2); padding:14px 4px 10px; display:flex; flex-direction:column; align-items:center; gap:4px; font-weight:700}
.zoom-pick button.on{background:var(--ink); color:var(--on-cta)}
.zoom-pick small{font-weight:600; font-size:12.5px; opacity:.75}
body{-webkit-user-select:none; user-select:none; -webkit-touch-callout:none}
input,textarea,.cmt{-webkit-user-select:text; user-select:text}
:focus-visible{outline:3px solid var(--brand); outline-offset:2px; border-radius:12px}
.sr{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
[hidden]{display:none!important}
svg.i{width:22px; height:22px; flex:none; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

#app{max-width:640px; margin:0 auto; min-height:100dvh; position:relative}
.view{min-height:100dvh; padding-bottom:calc(110px + var(--sb))}

/* ---------- controls ---------- */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:var(--r-pill);
  padding:15px 26px; font-weight:700; font-size:17px; background:var(--cta); color:var(--on-cta); min-height:56px;
  transition:transform var(--dur-press) var(--ease-out), background-color var(--dur-press)}
.btn:active{transform:scale(.97)}
.btn[disabled]{background:var(--surface-3); color:var(--faint); cursor:default}
.btn.block{width:100%}
.btn.accent{background:var(--brand); color:var(--ink)}
.btn.ghost{background:var(--surface-2); color:var(--ink)}
.btn.quiet{background:none; color:var(--brand-strong); padding:10px 12px; min-height:44px}
.btn.danger{background:var(--danger-tint); color:var(--danger)}
.icon-btn{width:44px; height:44px; border:0; background:none; border-radius:14px; display:grid; place-items:center;
  color:var(--ink); flex:none; transition:background-color var(--dur-press), transform var(--dur-press) var(--ease-out)}
.icon-btn:active{background:var(--surface-2); transform:scale(.92)}
.icon-btn.soft{background:var(--surface-2)}
.icon-btn.ok{background:var(--ink); color:var(--on-cta); border-radius:50%}
.icon-btn.ok svg{stroke-width:2.6}
.field{width:100%; border:0; background:var(--surface); border-radius:16px; padding:15px 18px; font-size:17px;
  box-shadow:inset 0 0 0 1.5px var(--line); transition:box-shadow var(--dur-press)}
.field:focus{outline:0; box-shadow:inset 0 0 0 2px var(--ink)}
.field[dir=ltr]{text-align:left}
.chip{display:inline-flex; align-items:center; gap:6px; border:0; background:var(--surface); border-radius:var(--r-pill);
  padding:9px 15px; font-size:15px; font-weight:600; white-space:nowrap; box-shadow:inset 0 0 0 1.5px var(--line);
  transition:transform var(--dur-press) var(--ease-out), background-color var(--dur-press), box-shadow var(--dur-press)}
.chip:active{transform:scale(.95)}
.chip.on{background:var(--ink); color:var(--on-cta); box-shadow:none}
.muted{color:var(--muted)}
.err{color:var(--danger); font-size:14.5px; min-height:22px; margin-top:6px; font-weight:500}

.avatar{width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:14px; font-weight:700;
  color:#fff; flex:none; box-shadow:0 0 0 2px var(--surface)}
.avatar.lg{width:48px; height:48px; font-size:20px}
.avatar{overflow:hidden}
.avatar img{width:100%; height:100%; object-fit:cover; display:block}
.avatar.xl{width:72px; height:72px; font-size:28px}
.av-edit{position:relative; border:0; background:none; border-radius:50%; flex:none}
.av-cam{position:absolute; bottom:-2px; inset-inline-end:-2px; width:28px; height:28px; border-radius:50%; display:grid; place-items:center;
  background:var(--brand); color:var(--ink); box-shadow:0 0 0 3px var(--surface)}
.av-cam svg{width:16px; height:16px}
.stack{display:flex; flex-direction:row-reverse; justify-content:flex-end}
.stack .avatar{margin-inline-start:-8px; width:28px; height:28px; font-size:12px}
.stack .avatar:last-child{margin-inline-start:0}

/* ---------- login ---------- */
#v-login{display:flex; flex-direction:column; padding:calc(20px + var(--st)) 24px calc(24px + var(--sb))}
.hero{position:relative; height:250px; display:grid; place-items:center}
.hero .basket{width:132px; height:132px; border-radius:42px; background:var(--brand); display:grid; place-items:center;
  font-size:66px; position:relative; z-index:2; box-shadow:0 24px 40px -18px oklch(0.6 0.17 50 / .75); transform:rotate(-6deg)}
.hero .orb{position:absolute; z-index:1; width:56px; height:56px; border-radius:20px; display:grid; place-items:center; font-size:32px;
  background:oklch(0.95 0.05 var(--h)); box-shadow:inset 0 0 0 1px oklch(0.88 0.06 var(--h) / .7)}
.brand{font-weight:800; font-size:40px; text-align:center; margin:6px 0 0; letter-spacing:-.03em; line-height:1.05}
.tagline{text-align:center; color:var(--muted); margin:10px auto 26px; max-width:32ch; font-size:17px; text-wrap:balance}
.invite-card{display:flex; align-items:center; gap:12px; background:oklch(0.955 0.045 65); border-radius:22px; padding:14px 16px; margin-bottom:16px}
.invite-card .em{font-size:30px}
.invite-card b{font-weight:800}
.login-step{display:flex; flex-direction:column; gap:12px}
.code-wrap{position:relative; direction:ltr; margin:6px 0 2px}
.code-wrap input{position:absolute; inset:0; opacity:0; font-size:16px; letter-spacing:40px; caret-color:transparent}
.cells{display:grid; grid-template-columns:repeat(6,1fr); gap:8px; pointer-events:none}
.cell{height:62px; border-radius:18px; background:var(--surface); display:grid; place-items:center;
  font-size:28px; font-weight:800; font-variant-numeric:tabular-nums; box-shadow:inset 0 0 0 1.5px var(--line); transition:box-shadow var(--dur-press)}
.cell.cur{box-shadow:inset 0 0 0 2.5px var(--ink)}
.cell.bad{box-shadow:inset 0 0 0 2.5px var(--danger)}
.legal{font-size:13px; color:var(--muted); text-align:center; margin-top:auto; padding-top:22px}

/* ---------- onboarding ---------- */
#v-onboard{display:flex; flex-direction:column; padding:calc(12px + var(--st)) 22px calc(22px + var(--sb))}
.ob-top{display:flex; align-items:center; justify-content:space-between; height:46px}
.dots{display:flex; gap:6px}
.dots i{width:8px; height:8px; border-radius:99px; background:var(--surface-3); transition:width var(--dur-pop) var(--ease-out), background-color var(--dur-pop)}
.dots i.on{width:26px; background:var(--ink)}
.ob-stage{flex:1; display:flex; flex-direction:column; justify-content:center; gap:14px; padding:8px 0}
.ob-art{height:220px; display:grid; place-items:center; position:relative}
.ob-art > div:not(.art-card):not(.receipt):not(.bars-art):not(.stack){filter:drop-shadow(0 16px 20px oklch(0.3 0.05 265 / .18))}
.ob-h{font-weight:800; font-size:32px; line-height:1.12; margin:0; letter-spacing:-.025em; text-wrap:balance}
.ob-p{color:var(--muted); margin:0; font-size:17px; max-width:36ch; text-wrap:pretty}
.ob-actions{display:flex; flex-direction:column; gap:10px; margin-top:4px}
.presets{display:flex; flex-wrap:wrap; gap:8px}
.art-card{background:var(--surface); border-radius:24px; padding:14px 16px; box-shadow:0 18px 40px -20px oklch(0.3 0.05 265 / .4)}
.art-row{display:flex; align-items:center; gap:10px; font-size:16px; font-weight:600; padding:6px 0}
.art-row .c{width:24px; height:24px; border-radius:50%; box-shadow:inset 0 0 0 2px var(--surface-3)}
.receipt{width:150px; background:var(--surface); border-radius:8px 8px 0 0; padding:14px 12px 22px; position:relative; overflow:hidden;
  box-shadow:0 18px 40px -18px oklch(0.3 0.05 265 / .45);
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 8px 100%, transparent 98%, #000) bottom/16px 8px repeat-x;
          mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 8px 100%, transparent 98%, #000) bottom/16px 8px repeat-x}
.receipt i{display:block; height:7px; border-radius:4px; background:var(--surface-3); margin:8px 0}
.receipt .scanline{position:absolute; inset-inline:0; top:0; height:3px; background:var(--brand); box-shadow:0 0 18px 5px oklch(0.78 0.16 60 / .55)}
.bars-art{display:flex; align-items:flex-end; gap:12px; height:150px}
.app-icon{width:112px; height:112px; border-radius:26px; box-shadow:0 20px 36px -14px oklch(0.55 0.15 50 / .6)}
.ob-steps{margin:0; padding:0 22px 0 0; display:grid; gap:10px; font-size:17px; color:var(--ink)}
.ob-steps li::marker{font-weight:800; color:var(--brand-strong)}
.ob-steps svg{width:18px; height:18px; vertical-align:-3px; color:var(--brand-strong)}
.bars-art span{width:32px; border-radius:12px 12px 6px 6px; background:var(--viz-1); transform-origin:bottom}
.bars-art span:nth-child(2){background:var(--brand)} .bars-art span:nth-child(3){background:var(--viz-2)} .bars-art span:nth-child(4){background:var(--viz-5)}

/* ---------- home ---------- */
.home-head{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:calc(20px + var(--st)) 20px 0}
.home-head .hi{margin:0; color:var(--muted); font-size:16px; font-weight:500}
.home-head h1{margin:2px 0 0; font-size:36px; font-weight:800; letter-spacing:-.035em; line-height:1.02}
.home-sub{padding:6px 20px 0; color:var(--muted); font-size:14px}
.me-btn{border:0; background:none; padding:0; border-radius:50%}
.sect-title{font-size:14px; font-weight:700; color:var(--muted); margin:26px 20px 10px; letter-spacing:.01em}
.lists{display:grid; gap:12px; padding:0 16px}
.lcard{display:flex; align-items:center; gap:14px; width:100%; text-align:start; border:0; border-radius:28px; padding:16px;
  background:oklch(0.955 0.045 var(--h)); box-shadow:inset 0 0 0 1px oklch(0.88 0.06 var(--h) / .55);
  transition:transform var(--dur-press) var(--ease-out)}
.lcard:active{transform:scale(.98)}
.lc-emoji{width:60px; height:60px; border-radius:20px; background:oklch(1 0 0 / .75); display:grid; place-items:center; font-size:32px; flex:none}
.lc-body{flex:1; min-width:0; display:flex; flex-direction:column; gap:4px}
.lc-name{font-size:19px; font-weight:800; letter-spacing:-.015em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lc-meta{font-size:14px; font-weight:500; color:oklch(0.42 0.06 var(--h))}
.lc-ring{position:relative; width:54px; height:54px; flex:none; display:grid; place-items:center}
.lc-ring svg{position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg)}
.lc-ring circle{fill:none; stroke-width:5}
.lc-ring .bg{stroke:oklch(0.88 0.06 var(--h) / .8)} .lc-ring .fg{stroke:var(--ink); stroke-linecap:round}
.lc-ring b{font-size:16px; font-weight:800; line-height:1}
.lcard.new{background:none; box-shadow:inset 0 0 0 2px var(--line); justify-content:center; gap:8px; font-weight:700; color:var(--muted); min-height:60px}
.empty{text-align:center; color:var(--muted); padding:44px 28px}
.empty .em{font-size:56px; display:block; margin-bottom:10px}
.empty b{display:block; color:var(--ink); font-size:20px; font-weight:800; margin-bottom:4px}

/* ---------- floating nav ---------- */
.nav{position:fixed; bottom:calc(12px + var(--sb)); inset-inline:0; z-index:30; display:flex; justify-content:center; pointer-events:none; padding:0 16px}
.nav .in{pointer-events:auto; width:100%; max-width:400px; display:grid; grid-template-columns:1fr 104px 1fr; align-items:center; height:66px;
  background:var(--ink); border-radius:26px; box-shadow:0 18px 36px -14px oklch(0.2 0.03 265 / .6)}
.nav button{border:0; background:none; display:flex; flex-direction:column; align-items:center; gap:3px; font-size:12.5px;
  font-weight:600; color:oklch(1 0 0 / .55); padding:6px 0; transition:color var(--dur-press)}
.nav button.on{color:var(--brand)}
/* centre action, labelled: a raised orange tile + "סריקת קבלה" under it */
.nav .midwrap{gap:4px; color:oklch(1 0 0 / .85)}
.nav .mid{width:58px; height:58px; margin:-30px auto 0; border-radius:20px; background:var(--brand); color:var(--ink); display:grid; place-items:center;
  box-shadow:0 0 0 6px var(--bg), 0 12px 24px -8px oklch(0.6 0.17 50 / .7); transform:rotate(-6deg); transition:transform var(--dur-press) var(--ease-out)}
.nav .mid svg{width:28px; height:28px; stroke-width:2.6; transform:rotate(6deg)}
.nav .midwrap:active .mid{transform:rotate(-6deg) scale(.92)}

/* ---------- list view ---------- */
#v-list{padding-bottom:calc(140px + var(--sb))}
.lhead{position:sticky; top:0; z-index:20; padding:calc(6px + var(--st)) 8px 10px;
  background:var(--bg); box-shadow:0 1px 0 var(--line)}
.lbar{display:flex; align-items:center; gap:8px; padding:0 4px}
/* round app-style header buttons */
.cbtn{width:42px; height:42px; border:0; border-radius:50%; flex:none; display:grid; place-items:center; color:var(--ink);
  background:var(--surface); box-shadow:0 1px 0 oklch(0.3 0.03 265 / .06), inset 0 0 0 1px var(--line);
  transition:transform var(--dur-press) var(--ease-out)}
.cbtn:active{transform:scale(.9)}
.cbtn svg{width:21px; height:21px}
.cbtn .stack .avatar{width:26px; height:26px; font-size:11px}
.cbtn:has(.stack){width:auto; padding:0 8px 0 12px; border-radius:99px}
.ltitle{all:unset; cursor:pointer; flex:1; min-width:0; display:flex; align-items:center; gap:10px; padding:2px 4px}
.ltitle .em{font-size:30px; line-height:1}
.ltitle .tt{display:flex; flex-direction:column; min-width:0}
.ltitle .t{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:22px; font-weight:800; letter-spacing:-.025em; line-height:1.15}
.ltitle .st{display:flex; align-items:center; gap:4px; font-size:13.5px; font-weight:600; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.ltitle .st svg{width:15px; height:15px}
.ltitle .st.unset{color:var(--brand-strong)}
.shops{display:flex; gap:8px; overflow-x:auto; padding:10px 10px 0; scrollbar-width:none}
.shops::-webkit-scrollbar{display:none}
.shops .chip{flex:none; padding:7px 13px}
.shops .chip svg{width:16px; height:16px}
.shops .chip small{font-size:12px; font-weight:700; opacity:.6; margin-inline-start:2px}
.est-chip{margin-inline-start:auto; margin-inline-end:8px; display:inline-flex; align-items:center; gap:6px; border:0; border-radius:99px;
  padding:7px 12px; background:var(--amber-tint); color:var(--amber-ink); font-weight:700; font-size:14.5px; font-variant-numeric:tabular-nums}
.est-chip svg{width:18px; height:18px}
.ltitle:focus-visible{outline:3px solid var(--brand); border-radius:12px}
.lstat{display:flex; align-items:center; justify-content:space-between; padding:10px 10px 10px}
.lstat > *{white-space:nowrap; flex:none}
.lstat .left{font-size:15px; color:var(--muted); font-weight:500}
.lstat .left b{color:var(--ink); font-size:22px; font-weight:800; margin-inline-end:4px}
.cart-chip{display:inline-flex; align-items:center; gap:7px; border:0; background:var(--ink); color:var(--on-cta);
  border-radius:var(--r-pill); padding:7px 14px 7px 12px; font-weight:700; font-size:15px}
.cart-chip svg{width:19px; height:19px}
.cart-chip b{font-variant-numeric:tabular-nums}
.lhead .track{height:6px; background:var(--surface-3); border-radius:99px; overflow:hidden; margin:0 10px}
.lhead .fill{height:100%; width:0; background:var(--brand); border-radius:99px}
.board{padding:2px 14px}
.group{margin-top:20px}
.ghead{display:flex; align-items:center; gap:10px; margin:0 2px 10px; font-size:16px; font-weight:700}
.ghead .gi{width:32px; height:32px; border-radius:11px; display:grid; place-items:center; font-size:18px; background:oklch(0.93 0.06 var(--h))}
.ghead .n{margin-inline-start:auto; font-size:13px; color:var(--muted); font-weight:700; background:var(--surface-2);
  border-radius:99px; padding:2px 10px; font-variant-numeric:tabular-nums}
.tiles{display:grid; grid-template-columns:repeat(auto-fill, minmax(72px,1fr)); gap:8px}
.tile{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  height:126px; /* every tile the same size; labels have a fixed-height slot instead of growing the tile */ padding:10px 6px; border:0; border-radius:24px; text-align:center;
  background:oklch(0.955 0.045 var(--h)); color:var(--ink);
  box-shadow:inset 0 0 0 1px oklch(0.88 0.06 var(--h) / .6), 0 2px 0 oklch(0.86 0.07 var(--h) / .55);
  -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; touch-action:manipulation;
  transition:transform var(--dur-press) var(--ease-out)}
.tile > .t-emoji{flex:none}
.tile:active{transform:scale(.93)}
.t-emoji{font-size:clamp(26px, 7.6vw, 32px); line-height:1}
.ci.atl{margin:auto}
.in.atl{display:inline-block; vertical-align:-.38em}
/* guide demos */
.cdemo .cd-e.atl,.cdemo .cd-e{font-size:34px; position:relative; z-index:1}
.cdemo .cd-f{position:absolute; bottom:-4px; inset-inline-start:-6px; font-size:24px; z-index:3; font-weight:400}
.cdemo .cd-b{position:absolute; top:-8px; inset-inline-end:-8px; width:24px; height:24px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; z-index:2}
.cdemo .cd-b svg{width:14px; height:14px}
.cdemo .cd-b.pen{background:var(--brand); color:var(--ink)}
.cdemo i{z-index:2}
/* avatar crop */
.crop-vp{position:relative; width:260px; height:260px; margin:4px auto 14px; border-radius:50%; overflow:hidden; background:var(--surface-2);
  touch-action:none; cursor:grab; box-shadow:0 0 0 4px var(--surface), 0 0 0 6px var(--line)}
.crop-img{position:absolute; left:50%; top:50%; transform-origin:center; max-width:none; pointer-events:none}
.crop-z{display:flex; align-items:center; gap:10px; color:var(--muted)}
.crop-z input{flex:1; accent-color:var(--ink)}
.atl{display:block; width:1.32em; height:1.32em; background-size:1000% 1000%; background-repeat:no-repeat}
.tile.done .atl{filter:grayscale(.75)}
img.pic{width:1.32em; height:1.32em; object-fit:contain; display:block; -webkit-user-drag:none}   /* ChatGPT product pictures, same box as the emoji */
.tile.done img.pic{filter:grayscale(.75)}
.art svg{width:1.3em; height:1.3em; display:block; overflow:visible}   /* drawn product pictures, sized like the emoji they replace */
.c-emoji.art{display:inline-block; vertical-align:middle}
.t-emoji[style*="--tint"]{filter:var(--tint)}   /* colour words only; no per-tile drop-shadow (it made scrolling janky) */
.c-emoji[style*="--tint"]{filter:var(--tint)}
/* "buy this one at another supermarket" badge (split lists) */
.t-shop{display:inline-flex; align-items:center; gap:3px; max-width:100%; font-size:11.5px; font-weight:700; color:var(--ink); background:#fff;
  border-radius:99px; padding:0 8px 0 7px; box-shadow:inset 0 0 0 1.2px oklch(0.8 0.06 var(--h)); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.t-shop svg{width:12px; height:12px; flex:none}
.t-cond,.t-shop,.t-price,.t-by{height:18px; line-height:18px; flex:none; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.t-cond{font-size:11.5px; font-weight:700; color:var(--on-cta); background:var(--brand-strong); border-radius:99px; padding:0 8px; font-variant-numeric:tabular-nums}
.t-name{font-size:13px; font-weight:600; line-height:1.2; max-width:100%;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere}
.t-price,.t-by{font-size:11.5px; font-weight:600; color:oklch(0.42 0.09 var(--h)); font-variant-numeric:tabular-nums}
.t-qty{position:absolute; top:-6px; inset-inline-start:-4px; z-index:1; max-width:70%; box-shadow:0 0 0 2px var(--bg); background:var(--ink); color:var(--on-cta); font-size:12px;
  font-weight:700; border-radius:99px; padding:2px 8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.t-dot{position:absolute; bottom:-7px; inset-inline-start:-4px; z-index:1; min-width:22px; height:22px; padding:0 6px; border-radius:99px;
  background:var(--surface); font-size:11.5px; font-weight:700; display:grid; place-items:center; box-shadow:0 2px 6px oklch(0.3 0.03 265 / .18)}
.tile.ghost{pointer-events:none; box-shadow:0 18px 30px -12px oklch(0.3 0.05 265 / .45)}
.cart{margin:30px 14px 0}
.cart-head{all:unset; cursor:pointer; display:flex; align-items:center; gap:10px; width:100%; padding:4px 2px 12px;
  font-size:16px; font-weight:700}
.cart-head .ci{width:32px; height:32px; border-radius:11px; background:var(--ink); color:var(--on-cta); display:grid; place-items:center}
.cart-head .ci svg{width:18px; height:18px}
.cart-head .chev{margin-inline-start:auto; color:var(--muted); transition:transform var(--dur-pop) var(--ease-out)}
.cart.open .cart-head .chev{transform:rotate(-90deg)}
.tiles.small{grid-template-columns:repeat(auto-fill, minmax(78px,1fr)); gap:8px}
.tile.done{height:auto; min-height:0; padding:12px 6px 10px; border-radius:20px; background:var(--surface); gap:4px;
  box-shadow:inset 0 0 0 1px var(--line)}
.tile.done .t-emoji{font-size:26px; filter:grayscale(.75); opacity:.65}
.tile.done .t-name{font-size:12.5px; color:var(--muted); text-decoration:line-through; text-decoration-color:var(--faint)}
.tile.done .t-by,.tile.done .t-price{color:var(--muted); font-size:11px}
.tile.done .t-qty,.tile.done .t-dot{display:none}
.cart .actions{display:flex; gap:8px; margin-top:14px; flex-wrap:wrap}

/* dock */
.dock{position:fixed; bottom:0; inset-inline:0; z-index:30; padding:10px 12px calc(14px + var(--sb));
  background:linear-gradient(to top, var(--bg) 58%, oklch(0.975 0.006 255 / 0))}
.dock .in{max-width:616px; margin:0 auto}
.suggest{display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; max-height:min(46dvh, 300px); overflow-y:auto; overscroll-behavior:contain;
  margin-bottom:10px; padding:10px; border-radius:24px; background:var(--surface); box-shadow:0 12px 30px -12px oklch(0.3 0.04 265 / .35); scrollbar-width:none}
.suggest:empty{display:none}
.suggest::-webkit-scrollbar{display:none}
.suggest .ptile{min-height:84px; padding:8px 4px}
.suggest .ptile .t-name{font-size:12.5px}
.suggest .again{position:absolute; top:4px; inset-inline-end:6px; font-size:13px; font-weight:800; color:var(--muted)}
.suggest .chip{flex:none; box-shadow:inset 0 0 0 1.5px var(--line), 0 6px 14px -8px oklch(0.3 0.04 265 / .3)}
.dock-row{display:flex; gap:10px; align-items:center}
.addpill{flex:1; min-width:0; display:flex; align-items:center; background:var(--surface); border-radius:var(--r-pill); padding:4px;
  box-shadow:inset 0 0 0 1.5px var(--line), 0 14px 30px -14px oklch(0.25 0.04 265 / .4); transition:box-shadow var(--dur-press)}
.addpill:focus-within{box-shadow:inset 0 0 0 2px var(--ink), 0 14px 30px -14px oklch(0.25 0.04 265 / .4)}
.addpill input{flex:1; border:0; background:none; padding:12px 16px; font-size:17px; min-width:0}
.addpill input:focus{outline:0}
.addpill .cam{color:var(--muted)}
.fab{width:60px; height:60px; border-radius:22px; border:0; background:var(--brand); color:var(--ink); display:grid; place-items:center; flex:none;
  font-weight:800; font-size:18px; box-shadow:0 14px 26px -10px oklch(0.6 0.17 50 / .75);
  transition:transform var(--dur-press) var(--ease-out), border-radius var(--dur-pop) var(--ease-out)}
.fab:active{transform:scale(.92)}
.fab svg{width:26px; height:26px; stroke-width:2.4}
.fab.send{border-radius:50%}

/* ---------- quick-add picker ---------- */
.pick .srch{position:sticky; top:0; z-index:2; margin-bottom:4px}
.psect{content-visibility:auto; contain-intrinsic-size:auto 420px}   /* off-screen catalog sections cost nothing */
.psect h3 .atl{margin:0}
.psect h3{font-size:15px; font-weight:700; margin:18px 2px 10px; display:flex; align-items:center; gap:8px}
.ptiles{display:grid; grid-template-columns:repeat(auto-fill, minmax(84px,1fr)); gap:8px}
.ptile{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:88px;
  padding:10px 6px; border:0; border-radius:20px; background:oklch(0.955 0.045 var(--h)); color:var(--ink); text-align:center;
  box-shadow:inset 0 0 0 1px oklch(0.88 0.06 var(--h) / .6); transition:transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press)}
.ptile:active{transform:scale(.92)}
.ptile .t-emoji{font-size:30px}
.ptile .t-name{font-size:13px}
.ptile.on{box-shadow:inset 0 0 0 3px var(--ink)}
.ptile.on::after{content:"✓"; position:absolute; top:6px; inset-inline-end:6px; width:22px; height:22px; border-radius:50%;
  background:var(--ink); color:var(--on-cta); font-size:13px; font-weight:800; display:grid; place-items:center}
.ptile.add{background:var(--surface); box-shadow:inset 0 0 0 2px var(--line)}

/* ---------- sheets ---------- */
.scrim{position:fixed; inset:0; z-index:60; background:oklch(0.18 0.03 265 / .42)}
.sheet{position:fixed; inset-inline:0; bottom:0; z-index:61; margin:0 auto; max-width:640px; background:var(--surface);
  border-radius:var(--r-sheet) var(--r-sheet) 0 0; max-height:92dvh; display:flex; flex-direction:column;
  box-shadow:0 -16px 44px -18px oklch(0.18 0.03 265 / .4)}
.sheet .grab{width:44px; height:5px; border-radius:99px; background:var(--surface-3); margin:10px auto 2px; flex:none}
.sheet .sh-head{display:flex; align-items:center; gap:8px; padding:6px 14px 4px 20px}
.sheet .sh-head h2{flex:1; margin:0; font-weight:800; font-size:23px; letter-spacing:-.02em}
.sheet .sh-body{overflow-y:auto; padding:6px 20px calc(20px + var(--sb)); overscroll-behavior:contain}
.sheet .sh-foot{padding:10px 20px calc(14px + var(--sb)); border-top:1px solid var(--line)}
.sect{margin:18px 0 8px; font-weight:700; font-size:14px; color:var(--muted)}
.hscroll{display:flex; gap:8px; overflow-x:auto; padding:2px 0 6px; scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.stepper{display:flex; align-items:center; gap:10px}
.stepper .field{text-align:center; font-weight:800; font-size:20px}
.stepper .icon-btn{background:var(--surface-2); width:56px; height:56px; border-radius:18px}
.wslide{display:flex; align-items:center; gap:10px; margin-top:12px}
.wslide span{font-size:12.5px; font-weight:700; color:var(--muted)}
.wslide input{flex:1; accent-color:var(--ink); min-width:0; min-height:32px}
.wslide output{min-width:7.5em; text-align:center; font-weight:700; font-variant-numeric:tabular-nums; color:var(--muted); font-size:14px}
.wslide output.on{color:var(--ink)}
/* grouped rows, iOS Settings style */
.menu{display:flex; flex-direction:column; background:var(--surface-2); border-radius:20px; overflow:hidden}
.menu button{all:unset; cursor:pointer; display:flex; align-items:center; gap:14px; padding:13px 16px; font-size:17px; font-weight:500; min-height:28px}
.menu button:active{background:var(--surface-3)}
.menu button:focus-visible{outline:3px solid var(--brand); outline-offset:-3px}
.menu button + button{box-shadow:inset 0 1px 0 var(--line)}
.menu .danger{color:var(--danger)}
.menu .mi{width:32px; height:32px; border-radius:10px; display:grid; place-items:center; flex:none; color:#fff; background:oklch(0.6 0.13 var(--h, 262))}
.menu .mi svg{width:19px; height:19px}
.menu .danger .mi{background:var(--danger)}
.sgroup{background:var(--surface-2); border-radius:20px; margin-top:14px}
.sgroup.form{padding:14px}
.settings .nm{display:flex; gap:10px; align-items:center}
.settings .nm .lc-emoji{border:0; background:var(--surface); width:58px; height:58px; border-radius:18px; font-size:30px}
.settings .sgroup.form .sect{display:flex; align-items:center; gap:6px; margin-top:14px}
.settings .sgroup.form .sect svg{width:17px; height:17px}
.settings .chip{box-shadow:none}
.srow{display:flex; align-items:center; gap:10px; padding:12px 16px}
.srow + .srow{box-shadow:inset 0 1px 0 var(--line)}
.srow span:first-child{flex:1; font-weight:600}
.srow b{font-variant-numeric:tabular-nums}
.kpis{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.kpis div{background:var(--surface-2); border-radius:20px; padding:14px 10px; text-align:center; display:flex; flex-direction:column; gap:2px}
.kpis b{font-size:22px; font-weight:800; font-variant-numeric:tabular-nums; letter-spacing:-.02em}
.kpis span{font-size:13px; color:var(--muted); font-weight:600}
.stats .note{font-size:14px; margin:10px 2px 0}
.bars{display:grid; gap:8px}
.bar{display:grid; grid-template-columns:minmax(0,9.5em) 1fr auto; align-items:center; gap:10px; font-size:14px; font-weight:600}
.bar .lb{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.bar .tr{height:12px; background:var(--surface-2); border-radius:99px; overflow:hidden}
.bar i{display:block; height:100%; border-radius:99px; background:oklch(0.68 0.13 var(--h))}
.bar .v{font-variant-numeric:tabular-nums; color:var(--muted); min-width:2.5em; text-align:end}
/* item sheet: price condition */
.cond{display:flex; align-items:center; gap:10px; background:var(--surface-2); border-radius:18px; padding:8px 8px 8px 14px; font-weight:600; font-size:15.5px}
.cond > svg{color:var(--amber-ink)}
.cond > span:first-of-type{flex:1}
.cin{display:flex; align-items:center; gap:4px; background:var(--surface); border-radius:14px; padding:0 12px; box-shadow:inset 0 0 0 1.5px var(--line); font-weight:700}
.cin input{width:3.4em; border:0; background:none; padding:11px 0; font-size:18px; font-weight:800; text-align:center}
.cin input:focus{outline:0}
.price-box{margin-top:8px}
/* first-tap guide */
.coach{display:grid; gap:12px}
.crow{display:flex; gap:14px; align-items:center; background:var(--surface-2); border-radius:20px; padding:14px}
.crow b{display:block; font-size:17px}
.crow b.hl{display:inline; color:var(--brand-strong)}
.crow > div{font-size:15px; color:var(--muted); line-height:1.4}
.crow > div > b:first-child{color:var(--ink); margin-bottom:2px}
.cdemo{position:relative; width:64px; height:64px; flex:none; border-radius:20px; background:oklch(0.955 0.045 235); display:grid; place-items:center; font-size:32px}
.cdemo i{position:absolute; inset-inline-start:30px; top:30px; width:26px; height:26px; border-radius:50%; background:oklch(0.74 0.17 55 / .55); box-shadow:0 0 0 2px var(--brand)}
.coach .btn{margin-top:4px}
/* home: install as an app */
.pdf-doc{width:200px; height:260px; background:#fff; color:var(--ink); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; font-size:64px}
.pdf-doc span{font-size:13px; max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.mem{display:flex; align-items:center; gap:12px; padding:10px 0}
.mem + .mem{border-top:1px solid var(--line)}
.mem .nm{flex:1; font-weight:600}
.mem small{color:var(--muted); font-weight:500}
.share-big{display:grid; gap:10px; margin-top:14px}
.cmt{background:var(--surface-2); border-radius:18px; padding:10px 14px; margin:8px 0}
.cmt .h{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted)}
.cmt .h b{color:var(--ink); font-size:14px}
.cmt .h button{margin-inline-start:auto}
.cform{display:flex; gap:8px; margin-top:8px}
.price-box{background:var(--amber-tint); color:var(--amber-ink); border-radius:18px; padding:12px 16px; font-weight:600}
.catrow{display:flex; align-items:center; gap:10px; padding:8px 0}
.catrow + .catrow{border-top:1px solid var(--line)}
.catrow .ic{width:48px; height:48px; border-radius:16px; border:0; font-size:24px; display:grid; place-items:center; flex:none;
  background:oklch(0.93 0.06 var(--h, 260))}
.catrow input{flex:1; border:0; background:none; font-size:17px; font-weight:600; padding:8px 6px; min-width:0; border-radius:10px}
.catrow input:focus{outline:0; background:var(--surface-2)}
.emoji-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(48px,1fr)); gap:6px}
.emoji-grid button{height:48px; border:0; background:var(--surface-2); border-radius:14px; font-size:25px; transition:transform var(--dur-press) var(--ease-out)}
.emoji-grid button:active{transform:scale(.88)}
.emoji-grid button.on{background:var(--ink)}

/* scan */
.scan-stage{position:fixed; inset:0; z-index:70; background:var(--ink); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; color:#fff; padding:24px}
.scan-photo{position:relative; max-width:min(78vw, 360px); max-height:58dvh; border-radius:20px; overflow:hidden; box-shadow:0 24px 60px -12px #000}
.scan-photo img{display:block; max-width:100%; max-height:58dvh; object-fit:contain}
.scan-photo .beam{position:absolute; inset-inline:0; top:0; height:90px; background:linear-gradient(to bottom, oklch(0.8 0.15 60 / 0), oklch(0.8 0.15 60 / .4)); border-bottom:3px solid var(--brand)}
.scan-msg{font-size:18px; font-weight:600; min-height:28px; text-align:center}
.scan-stage .btn.ghost{background:oklch(1 0 0 / .12); color:#fff}
.rline{display:flex; gap:12px; padding:12px 0; align-items:flex-start}
.rline + .rline{border-top:1px solid var(--line)}
.rline input[type=checkbox]{width:22px; height:22px; accent-color:var(--ink); margin-top:3px; flex:none}
.rline .b{flex:1; min-width:0}
.rline .t{display:flex; justify-content:space-between; gap:10px; font-weight:600}
.rline .t span:last-child{font-variant-numeric:tabular-nums; color:var(--amber-ink); white-space:nowrap}
.rline .s{font-size:13px; color:var(--muted); display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:4px}
.match{color:var(--ink); font-weight:700}
.newtag{background:var(--brand-tint); color:var(--brand-strong); border-radius:99px; padding:0 8px; font-weight:700; font-size:12px}
.rline .rcat{border:0; background:var(--surface-2); color:var(--ink); border-radius:99px; padding:4px 11px; font:inherit; font-size:13px; font-weight:600; white-space:nowrap; cursor:pointer; margin-inline-start:auto}
.rline.off{opacity:.45}
.rhead{display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center}
.rsum{display:flex; justify-content:space-between; margin-top:10px; font-weight:800}

/* toast */
.toast{position:fixed; inset-inline:0; bottom:calc(100px + var(--sb)); z-index:90; display:flex; justify-content:center; pointer-events:none; padding:0 16px}
.toast > div{pointer-events:auto; background:var(--ink); color:var(--on-cta); border-radius:20px; padding:13px 18px; font-size:15.5px; font-weight:500;
  display:flex; align-items:center; gap:14px; max-width:520px; box-shadow:0 14px 32px -12px oklch(0.18 0.03 265 / .6)}
/* receipt call-to-action in the cart */
.scan-cta{display:flex; align-items:center; gap:12px; background:var(--amber-tint); border-radius:22px; padding:14px; margin-bottom:16px; font-size:14px; color:var(--amber-ink); line-height:1.35}
.scan-cta > svg{width:30px; height:30px; flex:none}
.scan-cta b{display:block; font-size:16px; color:var(--ink); margin-bottom:2px}
.scan-cta .btn{min-height:44px; padding:8px 16px; font-size:15px; flex:none}
.demo-bar .btn{min-height:40px; padding:6px 14px; font-size:14.5px; flex:none}
.toast button{border:0; background:none; color:var(--brand); font-weight:800; padding:4px 2px}
/* a sheet covers the bottom: toasts drop in from the top instead */
body:has(.sheet) .toast{bottom:auto; top:calc(12px + var(--st))}
.confetti{position:fixed; inset:0; z-index:95; pointer-events:none; overflow:hidden}
.confetti i{position:absolute; top:-20px; width:9px; height:14px; border-radius:3px}

/* insights */
#v-insights .ins-host{padding:calc(18px + var(--st)) 14px 20px}
.demo-bar{position:sticky; top:calc(8px + var(--st)); z-index:5; display:flex; align-items:center; gap:10px; margin-bottom:12px;
  background:var(--amber-tint); color:var(--amber-ink); border-radius:18px; padding:10px 10px 10px 14px; font-size:14.5px;
  box-shadow:0 10px 24px -14px oklch(0.3 0.05 265 / .4)}
.demo-bar span{flex:1}
.demo-bar b{font-weight:800}
.demo-bar .chip{box-shadow:none}

@media (min-width:700px){ body{background:var(--surface-2)} #app{background:var(--bg); box-shadow:0 0 0 1px var(--line)} }
@media (prefers-reduced-motion: reduce){ *{transition-duration:.001ms!important; animation-duration:.001ms!important} }

/* ---------- שרי ---------- */
.brandbar{display:flex; align-items:center; gap:8px; padding:calc(14px + var(--st)) 20px 0; font-weight:800; font-size:16px; letter-spacing:-.01em}
.brandbar .logo{width:30px; height:30px; border-radius:9px}
.brandbar + .home-head{padding-top:10px}
.hero .basket .logo{width:132px; height:132px; border-radius:42px}
.hero .basket{background:none; box-shadow:0 24px 40px -18px oklch(0.6 0.17 50 / .75); overflow:hidden}
.chef-card{display:flex; align-items:center; gap:12px; width:calc(100% - 32px); margin:18px 16px 0; border:0; text-align:start; border-radius:24px; padding:14px 16px;
  background:linear-gradient(120deg, oklch(0.96 0.05 60), oklch(0.95 0.05 25)); box-shadow:inset 0 0 0 1px oklch(0.88 0.06 45 / .6)}
.chef-card .cc-e{font-size:34px}
.chef-card .cc-t{flex:1; display:flex; flex-direction:column; font-size:13.5px; color:var(--muted)}
.chef-card .cc-t b{font-size:17px; color:var(--ink)}
.chef-card > svg{color:var(--muted)}
.chef-mini{display:block; width:100%; border:0; margin:10px 0 4px; padding:11px 14px; border-radius:16px; text-align:start; font-weight:600; font-size:14.5px;
  background:oklch(0.96 0.05 60); color:var(--ink)}
.cmp-chip{display:inline-flex; align-items:center; gap:5px; border:0; border-radius:99px; padding:7px 11px; margin-inline-end:6px; font-weight:700; font-size:13.5px;
  background:oklch(0.95 0.04 150); color:oklch(0.38 0.08 150)}
.cmp-chip svg{width:16px; height:16px}
.share-list{margin:6px 0 0; padding-inline-start:20px; font-size:14.5px; display:grid; gap:4px}
/* optimizer */
.opt-load{display:flex; flex-direction:column; align-items:center; gap:12px; padding:50px 0; color:var(--muted); font-weight:600}
.opt-load .ol-cart svg{width:40px; height:40px; color:var(--ink)}
.seg{display:grid; grid-auto-flow:column; grid-auto-columns:1fr; background:var(--surface-2); border-radius:16px; padding:4px; gap:4px}
.seg button{border:0; background:none; border-radius:12px; padding:10px 6px; font-weight:700; font-size:15px; color:var(--muted)}
.seg button.on{background:var(--surface); color:var(--ink); box-shadow:0 2px 8px -3px oklch(0.3 0.03 265 / .3)}
.opt-total{display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; margin:18px 0 10px}
.opt-total .ot-l{color:var(--muted); font-weight:600; font-size:14px}
.opt-total b{font-size:40px; font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums}
.ot-save{background:oklch(0.94 0.06 150); color:oklch(0.36 0.09 150); border-radius:99px; padding:4px 12px; font-weight:800; font-size:14px}
.ot-note{font-size:13px}
.opt-store{background:var(--surface-2); border-radius:20px; padding:12px; margin-top:10px}
.os-h{display:flex; align-items:center; gap:6px; margin-bottom:8px}
.os-h svg{width:18px; height:18px}
.os-h .muted{margin-inline-start:auto; font-size:13px}
.os-items{display:flex; flex-wrap:wrap; gap:6px}
.os-it{display:inline-flex; align-items:center; gap:5px; background:var(--surface); border-radius:99px; padding:3px 10px 3px 4px; font-size:13.5px; font-weight:600}
.os-it b{color:var(--amber-ink); font-size:12.5px; font-variant-numeric:tabular-nums}
.os-p{font-size:18px}
/* "סופר אחד": one row per supermarket with the whole list's total; the open one shows its prices per product */
.os-lead{margin:14px 2px 4px; font-size:14px}
.os-acc{padding:0}
.os-row{display:flex; align-items:center; gap:10px; width:100%; min-height:60px; border:0; background:none; padding:10px 14px; font:inherit; color:inherit; text-align:start; cursor:pointer}
.os-m{flex:none; width:22px; font-size:19px; text-align:center}
.os-n{flex:1; min-width:0; display:flex; flex-direction:column}
.os-n b{font-size:16.5px; font-weight:800}
.os-n small{font-size:12.5px; color:var(--muted)}
.os-tot{font-size:18px; font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap}
.os-row svg{width:18px; height:18px; flex:none; opacity:.6; transform:rotate(-90deg); transition:transform var(--dur-pop) var(--ease-out)}
.os-acc.open .os-row svg{transform:rotate(90deg)}
.os-det{padding:0 12px 12px}
.os-it.none{opacity:.65}
.os-it.none b{color:var(--muted)}
.os-p.atl{width:24px; height:24px; display:inline-block}
/* recipe */
.chef-f{display:flex; gap:8px}
.chef-f .btn{min-height:52px; padding:0 18px}
.chef-ideas{margin-top:12px}
.chef-load{display:flex; flex-direction:column; align-items:center; gap:4px; padding:40px 0 20px; position:relative}
.chef-load .pot{font-size:60px}
.chef-load .steam{position:absolute; top:22px; display:flex; gap:10px}
.chef-load .steam i{width:8px; height:18px; border-radius:8px; background:oklch(0.85 0.01 260)}
.dish{display:flex; align-items:center; gap:12px; margin:16px 0 10px}
.dish-e{font-size:48px}
.dish b{display:block; font-size:21px; font-weight:800}
.dish .muted{font-size:14px}
.ings{display:grid; background:var(--surface-2); border-radius:18px; padding:2px 14px}
.ing{display:flex; align-items:center; gap:12px; border:0; text-align:start; background:none; border-radius:0; padding:11px 0; opacity:.5; font-size:16px;
  transition:opacity var(--dur-press), background-color var(--dur-press)}
.ing.on{opacity:1}
.ing + .ing{border-top:1px solid var(--line)}
.ing-p{font-size:26px}
.ing-p.atl{width:40px; height:40px}
.ing-n{flex:1; display:flex; flex-direction:column; font-weight:700}
.ing-n small{font-weight:500; color:var(--muted); font-size:12.5px}
.ing-pr{font-size:14px; color:var(--amber-ink); font-variant-numeric:tabular-nums}
.ing-ck{width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:800; box-shadow:inset 0 0 0 2px var(--line); color:transparent}
.ing.on .ing-ck{background:var(--ink); color:#fff; box-shadow:none}
.chef-sum{display:flex; justify-content:space-between; align-items:center; margin:14px 2px 12px; font-weight:700}
.chef-sum b{font-size:24px; font-variant-numeric:tabular-nums}
/* onboarding art */
.chef-art{position:relative; width:220px; height:180px}
.ca-dish{position:absolute; left:50%; top:20px; transform:translateX(-50%); font-size:74px}
.ca-ing{position:absolute; left:50%; top:40px; margin-left:-22px; font-size:34px}
.ca-p.atl{width:44px; height:44px}
.share-art{display:grid; gap:10px; width:240px}
.share-art.small{width:100%; max-width:300px; margin:4px auto 0}
.sa-store{position:relative; display:flex; align-items:center; gap:8px; background:var(--surface); border-radius:16px; padding:10px 12px; font-size:14px; overflow:hidden; box-shadow:0 8px 20px -14px oklch(0.3 0.04 265 / .5)}
.sa-store svg{width:18px; height:18px; position:relative; z-index:1}
.sa-store b{position:relative; z-index:1}
.sa-store i{position:absolute; inset-block:0; inset-inline-start:0; background:oklch(0.94 0.06 calc(150 - var(--i) * 60)); z-index:0}

/* official prices: branch line, sales, shopping preferences */
.linkbtn{border:0; background:none; padding:0; color:var(--ink); font:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; cursor:pointer}
.os-br{display:flex; align-items:center; gap:4px; font-size:13px; margin:-2px 0 8px}
.os-br svg{width:14px; height:14px; flex:none}
.os-sale{font-style:normal; font-size:11px; font-weight:800; color:var(--on-cta); background:oklch(0.58 0.19 25); border-radius:99px; padding:1px 6px; vertical-align:1px}
.sales{display:grid; gap:8px}
.sale-row{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; padding:10px 12px; border-radius:16px; background:var(--surface-2)}
.sale-row small{display:block; color:var(--muted); font-size:12.5px; line-height:1.3; margin-top:2px}
.sale-pr{text-align:end; font-variant-numeric:tabular-nums}
.sale-pr b{display:block; color:oklch(0.5 0.19 25)}
.sale-pr s{color:var(--muted); font-size:12.5px}
.pf-home{display:grid; grid-template-columns:1fr auto; gap:8px}
.pf-home .btn{white-space:nowrap}
.pf-note{font-size:13.5px; margin:8px 2px 0}
.pf-range{width:100%; accent-color:var(--ink)}
.prefs .sect b{float:inline-end; font-variant-numeric:tabular-nums}

/* sale sticker + price-met chip on tiles; alerts */
.t-deal{position:absolute; bottom:-7px; inset-inline-end:-4px; z-index:1; padding:2px 8px; border-radius:99px; display:grid; place-items:center;
  background:oklch(0.58 0.19 25); color:#fff; font-size:11.5px; font-weight:800; line-height:1.3; box-shadow:0 0 0 2px var(--bg)}
.tile.done .t-deal{display:none}
.t-cond.met{background:oklch(0.55 0.14 150); color:#fff}
.price-box.deal{background:oklch(0.96 0.04 150); color:oklch(0.36 0.1 150); margin-bottom:8px}
.alert-card{margin:14px 16px 0; padding:14px; border-radius:24px; background:oklch(0.96 0.045 150); box-shadow:inset 0 0 0 1px oklch(0.88 0.06 150)}
.ac-h{display:flex; align-items:center; gap:8px; font-size:16px; margin-bottom:8px}
.ac-row{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; width:100%; border:0; background:var(--surface); border-radius:16px; padding:8px 12px; margin-top:6px; text-align:start; color:var(--ink)}
.ac-row small{display:block; color:var(--muted); font-size:12.5px}
.ac-p{color:oklch(0.45 0.14 150); font-variant-numeric:tabular-nums}
.ac-on{display:inline-flex; align-items:center; gap:6px; margin-top:10px}
.ac-on svg{width:16px; height:16px}
.aa-art{font-size:54px; text-align:center; margin:4px 0 10px}

/* exact products in search */
.sug-h{grid-column:1/-1; font-size:13px; font-weight:700; color:var(--muted); margin:6px 4px 0}
.sug-prod{grid-column:1/-1; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; border:0; background:var(--surface-2);
  border-radius:16px; padding:8px 12px; text-align:start; color:var(--ink); font:inherit}
.sug-prod .sp-n{font-size:14.5px; font-weight:600; line-height:1.25}
.sug-prod .sp-p{text-align:end; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap}
.sug-prod .sp-p small{display:block; font-size:11.5px; font-weight:500; color:var(--muted)}

/* supermarket picker + "where to buy" comparison */
.sp-l{font-size:13.5px; font-weight:700; color:var(--muted); margin:10px 2px 6px}
.sp-l small{font-weight:500}
.presets .chip small{font-size:11px; opacity:.6; margin-inline-start:5px; font-weight:600}
.presets .chip svg{width:14px; height:14px; margin-inline-end:3px}
.cmp-h{font-size:14px; font-weight:700; margin:2px 2px 8px}
.cmp-h small{font-weight:700; color:oklch(0.45 0.14 150); margin-inline-start:6px}
.cmp-sub{font-size:12.5px; font-weight:700; color:var(--muted); margin:10px 2px 6px}
.cmp-row{display:grid; grid-template-columns:1fr auto 22px; align-items:center; gap:8px; width:100%; border:0; margin-top:6px;
  padding:9px 12px; border-radius:14px; background:var(--surface-2); color:var(--ink); text-align:start; font:inherit}
.cmp-row small{display:block; font-size:11.5px; color:var(--muted); font-weight:500}
.cmp-row .cr-p{font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; text-align:center}
.cmp-row .cr-best{display:block; width:max-content; margin:0 auto 3px; font-size:11px; font-weight:800; color:#fff; background:oklch(0.55 0.14 150); border-radius:99px; padding:1px 8px; white-space:nowrap}
.cmp-row .cr-ck svg{width:18px; height:18px}
.cmp-row.on{background:var(--ink); color:var(--on-cta)}
.cmp-row.on small{color:oklch(0.85 0.01 265)}
.cmp-row:disabled{opacity:.55}
.cmp-row.on:disabled{opacity:1}

/* list header: one button — basket estimate + where it's cheapest */
.est-chip{gap:5px; background:oklch(0.95 0.04 150); color:oklch(0.36 0.09 150); font-size:14px; padding:7px 10px 7px 12px}
.est-chip b{font-variant-numeric:tabular-nums}
.est-chip svg{width:16px; height:16px}
.est-chip svg:last-child{width:14px; height:14px; opacity:.7}
/* onboarding art: chain prices, sale + alert */
.price-art{width:260px; padding:16px; border-radius:24px; background:var(--surface); box-shadow:0 18px 40px -20px oklch(0.3 0.04 265 / .35)}
.pa-prod{display:flex; align-items:center; gap:10px; font-size:17px; margin-bottom:10px}
.pa-p.atl,.pa-p{width:40px; height:40px; font-size:30px}
.pa-row{display:grid; grid-template-columns:64px 1fr auto; align-items:center; gap:8px; padding:6px 8px; border-radius:12px; font-size:14px}
.pa-row i{height:8px; border-radius:99px; background:var(--line); width:var(--w)}
.pa-row b{font-variant-numeric:tabular-nums}
.pa-row.best{background:oklch(0.95 0.045 150)}
.pa-row.best i{background:oklch(0.6 0.14 150)}
.pa-row.best b{color:oklch(0.42 0.13 150)}
.alert-art{position:relative; width:150px}
.aa-tile{width:140px; pointer-events:none}
.aa-bell{position:absolute; top:-18px; inset-inline-start:-26px; font-size:44px; transform-origin:50% 10%}
.cmp-row b em{font-style:normal; font-size:11px; font-weight:700; color:var(--muted); margin-inline-start:4px}
.cmp-row.on b em{color:oklch(0.85 0.01 265)}
.cmp-row small svg{width:12px; height:12px; vertical-align:-1px; margin-inline-end:2px}
.cmp-note{font-size:12px; margin:8px 2px 0; line-height:1.4}
.t-from{font-size:11.5px; font-weight:700; color:oklch(0.42 0.09 var(--h, 150)); font-variant-numeric:tabular-nums; line-height:1}
.cmp-hint{display:flex; align-items:center; gap:6px; width:100%; margin-top:8px; border:0; border-radius:12px; padding:9px 12px; text-align:start;
  background:oklch(0.95 0.045 150); color:oklch(0.36 0.1 150); font:inherit; font-size:13.5px; font-weight:700}
.cmp-hint svg{width:16px; height:16px; flex:none}
/* "the whole list is cheaper at X" */
.altbar{display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:8px; margin:10px 14px 0; padding:10px 8px 10px 12px;
  border-radius:18px; background:oklch(0.95 0.045 150); box-shadow:inset 0 0 0 1px oklch(0.86 0.07 150)}
.altbar .ab-i{font-size:22px}
.altbar .ab-t{border:0; background:none; padding:0; text-align:start; color:oklch(0.32 0.09 150); font:inherit}
.altbar .ab-t b{display:block; font-size:14.5px}
.altbar .ab-t small{display:block; font-size:12px; color:oklch(0.42 0.06 150); margin-top:2px}
.altbar .btn.small{padding:8px 14px; font-size:14px; min-height:0}
.altbar .icon-btn{width:34px; height:34px}
/* finish shopping */
.checkout-btn{margin-bottom:12px}
.co-total{display:flex; align-items:baseline; justify-content:space-between; padding:12px 14px; border-radius:18px; background:var(--ink); color:var(--on-cta); margin-bottom:12px}
.co-total b{font-size:26px; font-variant-numeric:tabular-nums}
.co-shop{margin-bottom:12px}
.co-sh{display:flex; align-items:center; gap:6px; border:0; background:none; padding:4px 2px 8px; font:inherit; color:var(--ink)}
.co-sh svg{width:16px; height:16px}
.co-sh small{color:var(--muted); text-decoration:underline; margin-inline-start:4px}
.co-line{display:grid; grid-template-columns:26px auto 1fr 52px auto 74px; align-items:center; gap:8px; padding:7px 8px; border-radius:14px; background:var(--surface-2); margin-top:6px}
.co-line.off{opacity:.45}
.co-line.off .co-n{text-decoration:line-through}
.co-ck{width:26px; height:26px; border-radius:8px; border:2px solid var(--ink); background:var(--ink); color:var(--on-cta); display:grid; place-items:center; padding:0}
.co-line.off .co-ck{background:none}
.co-ck svg{width:16px; height:16px}
.co-n{font-size:14.5px; font-weight:600; line-height:1.25; min-width:0}
.co-n em{font-style:normal; font-size:11px; color:var(--muted); font-weight:700}
.co-q,.co-p{width:100%; border:1px solid var(--line); border-radius:10px; padding:7px 6px; font:inherit; font-size:14.5px; text-align:center; background:var(--surface); font-variant-numeric:tabular-nums}
.co-x{color:var(--muted); font-size:13px}
.co-add{display:grid; grid-template-columns:1fr auto; gap:8px}
.co-note{font-size:12.5px; margin:10px 2px 0}
.co-foot{display:grid; gap:8px}
/* empty list: quick starts */
.starts{display:grid; gap:8px; margin:6px 14px 0}
.start-card{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; border:0; border-radius:18px; padding:12px 14px; text-align:start;
  background:var(--surface); box-shadow:inset 0 0 0 1px var(--line); color:var(--ink); font:inherit}
.start-card .sc-e{font-size:26px}
.start-card b{display:block; font-size:15.5px}
.start-card small{display:block; color:var(--muted); font-size:13px; margin-top:2px}
.start-card svg{width:16px; height:16px; color:var(--muted)}
.starts-or{text-align:center; font-size:13px; margin:6px 0 0}
.sp-more{display:inline-flex; align-items:center; gap:4px; margin:10px 2px 0; font-size:14px}
.sp-more svg{width:14px; height:14px}
/* receipt: digital or printed-in-parts */
.rp{display:grid; gap:10px}
.rp-opt{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; border:0; border-radius:18px; padding:14px; text-align:start;
  background:var(--surface-2); color:var(--ink); font:inherit}
.rp-opt .rp-e{font-size:30px}
.rp-opt b{display:block; font-size:16px}
.rp-opt small{display:block; color:var(--muted); font-size:13px; margin-top:3px; line-height:1.35}
.rp-opt svg{width:16px; height:16px; color:var(--muted)}
.pt-tip{display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; padding:12px; border-radius:18px; background:var(--surface-2)}
.pt-tip p{margin:0; font-size:14px; line-height:1.45}
.pt-art{position:relative; width:46px; height:92px; border-radius:6px; background:#fff; box-shadow:inset 0 0 0 1px var(--line)}
.pt-art i{position:absolute; inset-inline:3px; height:34px; border:2px dashed oklch(0.6 0.14 50); border-radius:5px}
.pt-art i:nth-child(1){top:3px} .pt-art i:nth-child(2){top:29px} .pt-art i:nth-child(3){top:55px}
.pt-strip{display:flex; gap:10px; overflow-x:auto; padding:14px 2px 4px; scrollbar-width:none}
.pt-strip:empty{display:none}
.pt-part{position:relative; flex:none; width:96px; height:150px; border-radius:14px; overflow:hidden; box-shadow:0 6px 16px -8px oklch(0.3 0.04 265 / .4)}
.pt-part img{width:100%; height:100%; object-fit:cover}
.pt-part b{position:absolute; bottom:6px; inset-inline-start:6px; width:24px; height:24px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px}
.pt-part .icon-btn{position:absolute; top:4px; inset-inline-end:4px; width:28px; height:28px; border-radius:50%; background:oklch(1 0 0 / .85)}
.pt-part .icon-btn svg{width:14px; height:14px}
.scan-photo.multi{display:flex; gap:6px; overflow:hidden}
.scan-photo.multi img{flex:1; min-width:0; object-fit:cover}
/* multi-part receipt guide */
.pg{position:relative; width:150px; height:260px; margin:4px auto 6px}
.pg-rc{position:absolute; inset:0 15px; padding:10px 9px; background:#fff; border-radius:4px 4px 0 0; box-shadow:0 10px 24px -14px oklch(0.3 0.04 265 / .45);
  display:flex; flex-direction:column; gap:7px;
  -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/12px 8px repeat-x;
          mask:linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/12px 8px repeat-x}
.pg-rc b{height:9px; width:70%; margin:0 auto 4px; border-radius:3px; background:oklch(0.35 0.02 265)}
.pg-rc i{height:5px; border-radius:3px; background:oklch(0.86 0.01 265)}
.pg-rc i:nth-child(3n){width:70%} .pg-rc i:nth-child(4n){width:85%}
.pg-rc u{height:8px; width:55%; margin-top:auto; border-radius:3px; background:oklch(0.35 0.02 265)}
.pg-ov{position:absolute; inset-inline:15px; top:0; height:36px; background:oklch(0.75 0.17 55 / .35); border-block:2px dashed oklch(0.65 0.17 50)}
.pg-ph{position:absolute; inset-inline:0; top:0; height:104px; border:4px solid var(--ink); border-radius:18px; box-shadow:0 0 0 999px oklch(0.97 0.006 255 / .55)}
.pg-flash{position:absolute; inset:0; border-radius:12px; background:#fff; opacity:0}
.pg-n{position:absolute; top:-12px; inset-inline-end:-12px; width:28px; height:28px; border-radius:50%; background:oklch(0.65 0.17 50); color:#fff;
  font-weight:800; display:grid; place-items:center; box-shadow:0 0 0 3px var(--bg)}
.pg-steps{margin:14px 0 0; padding-inline-start:22px; display:grid; gap:6px; font-size:14px; line-height:1.4}
.pg-ovk{display:inline-block; padding:0 6px; border-radius:6px; background:oklch(0.75 0.17 55 / .35); font-size:12.5px}
.pt-next{display:grid; grid-template-columns:110px 1fr; gap:12px; align-items:center; padding:10px; border-radius:18px; background:oklch(0.96 0.04 60)}
.pt-next .pn-img{height:70px; border-radius:10px; background-size:cover; background-position:center bottom; box-shadow:inset 0 0 0 2px oklch(0.65 0.17 50)}
.pt-next p{margin:0; font-size:13.5px; line-height:1.4}
/* guide panel: own backdrop, clipped so the phone's dimming stays inside */
.pg{width:230px; height:268px; padding:0; overflow:hidden; border-radius:22px; background:oklch(0.9 0.025 255)}
.pg-rc{inset:14px 58px -4px 58px}
.pg-ov{inset-inline:58px}
.pg-ph{inset-inline:40px; top:4px; box-shadow:0 0 0 999px oklch(0.25 0.03 265 / .28)}
.pg-n{top:-2px; inset-inline-end:-2px}
.co-kg{font-size:12.5px; margin:-6px 4px 12px}
.co-kg:empty{display:none}
/* list header at large text sizes (CSS zoom shrinks the usable width): wrap the title, compact the stats row */
.lhead{container-type:inline-size}
@container (max-width: 340px) {
  .ltitle .t{white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:19px}
  .ltitle .em{font-size:24px}
  .lbar{gap:4px}
  .lbar .cbtn{width:38px; height:38px}
  .lstat{gap:6px; padding-inline:4px}
  .lstat .lw{display:none}
  .est-chip{padding:6px 8px; font-size:13px; margin-inline-end:4px}
  .est-chip svg:first-child{display:none}
  .cart-chip{padding-inline:10px}
}
/* checkout rows: controls grouped; on narrow widths (large text) they move under the name */
.co{container-type:inline-size}
.co-line{grid-template-columns:26px auto 1fr auto}
.co-ctl{display:flex; align-items:center; gap:6px}
.co-ctl .co-q{width:52px} .co-ctl .co-p{width:76px}
@container (max-width: 360px) {
  .co-ctl{grid-column:2 / -1; grid-row:2; justify-content:flex-end}
  .co-line{row-gap:6px}
}
html,body{overflow-x:clip}   /* nothing (e.g. a tile flying to the cart) may scroll the page sideways */
.cart-sum{font-size:13px; font-weight:700; opacity:.85; font-variant-numeric:tabular-nums; padding-inline-start:6px; margin-inline-start:2px; border-inline-start:1px solid oklch(1 0 0 / .3)}
.cart-sum[hidden]{display:none}
/* no signal: changes are queued */
.netbar{margin:8px 14px 0; padding:8px 12px; border-radius:14px; background:oklch(0.95 0.03 250); color:oklch(0.35 0.06 255); font-size:13.5px; font-weight:600; text-align:center}
.netbar[hidden]{display:none}
.cr-old{font-style:normal; color:oklch(0.55 0.15 50); font-weight:700}
/* who is at the supermarket */
.shopbar{display:flex; align-items:center; gap:8px; flex-wrap:wrap; width:calc(100% - 28px); margin:10px 14px 0; padding:10px 12px; border:0; border-radius:16px; text-align:start; font:inherit; color:var(--ink)}
.shopbar b{font-size:14.5px}
.shopbar small{flex-basis:100%; font-size:12.5px; color:var(--muted); margin-inline-start:28px}
.shopbar.go{background:var(--surface); box-shadow:inset 0 0 0 1.5px oklch(0.75 0.13 60)}
.shopbar.me{background:oklch(0.95 0.05 70)}
.shopbar.me .linkbtn{margin-inline-start:auto}
.shopbar.other{background:oklch(0.95 0.05 150)}
/* barcode scanner */
.addpill .scan-btn{color:var(--muted); width:44px; height:44px}
.addpill .scan-btn svg{width:24px; height:24px}
.bc-cam{position:relative; aspect-ratio:4/3; border-radius:22px; overflow:hidden; background:#111}
.bc-cam video{width:100%; height:100%; object-fit:cover}
.bc-frame{position:absolute; inset:28% 12%; border:3px solid #fff; border-radius:16px; box-shadow:0 0 0 999px rgba(0,0,0,.35)}
.bc-frame i{position:absolute; inset-inline:6%; top:50%; height:2px; background:oklch(0.7 0.2 25); box-shadow:0 0 12px oklch(0.7 0.2 25); animation:bc-scan 1.6s ease-in-out infinite}
@keyframes bc-scan{0%,100%{top:15%}50%{top:85%}}
.bc.done .bc-cam,.bc.done .bc-tip{display:none}
.bc-tip{text-align:center; font-size:14px; margin:10px 0 0}
.bc-prod{display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:center; margin-bottom:10px}
.bc-prod .bc-p,.bc-prod .bc-p.atl{width:64px; height:64px; font-size:48px}
.bc-prod b{display:block; font-size:16px; line-height:1.3}
.bc-prod small{display:block; color:var(--muted); font-size:13px; margin-top:3px}
.bc-load{text-align:center; padding:24px 0}
.cr-low{font-style:normal; color:oklch(0.45 0.14 150); font-weight:700}
.cr-club{font-style:normal; color:oklch(0.45 0.12 280); font-weight:700}
.shopbar.go{padding:8px 12px; flex-wrap:nowrap}
.shopbar.go .sb-s{color:var(--muted); font-size:13px}
.shopbar.go svg{width:14px; height:14px; margin-inline-start:auto; color:var(--muted)}
.pf-clubs .chip.on{background:oklch(0.45 0.12 280); color:#fff}
/* feedback round 2026-11-13 */
.est-chip .ec-l{margin-inline-end:4px; font-size:11px; font-weight:600; opacity:.8; line-height:1.1; max-width:4.6em; white-space:normal; text-align:start}
/* tiles line up: picture and name start at the same height in every tile, the label (price / store / condition) sits
   at the bottom; a tile grows to fit instead of clipping (a fixed height clipped "שווארמה טבעונית" + a store badge) */
.tile{height:auto; min-height:104px; justify-content:flex-start; padding:12px 4px 8px; border-radius:20px}
.tile > .t-name{flex:none}
.tile > :is(.t-shop,.t-cond,.t-price,.t-by){margin-top:auto}
.ptile{justify-content:flex-start}
.ptile > .t-name{flex:none}
.ptile > .t-from{margin-top:auto}
.sug-prod[hidden],.sug-more[hidden]{display:none}
.sug-more{grid-column:1/-1; justify-self:start; margin:2px 4px 4px; font-weight:700}
.ptile.add .t-emoji{font-size:30px; color:var(--brand-strong); font-weight:800}
/* the tile just added: a short ring so the eye finds it */
@keyframes justAdded{0%{box-shadow:0 0 0 0 oklch(0.7 0.16 150 / .0)}25%{box-shadow:0 0 0 5px oklch(0.7 0.16 150 / .55)}100%{box-shadow:0 0 0 0 oklch(0.7 0.16 150 / 0)}}
.tile.just-added{animation:justAdded 1.4s ease-out}
@media (prefers-reduced-motion: reduce){.tile.just-added{animation:none; outline:3px solid oklch(0.7 0.16 150)}}
.cr-item{display:block; font-weight:500; opacity:.85; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%}
.bc-alt{display:grid; gap:8px; margin:4px 0 8px}
.bc-alt .btn svg{width:18px; height:18px}
.bc-type{display:flex; gap:8px}
.bc-type .field{flex:1; min-width:0; direction:ltr; text-align:center; letter-spacing:.06em}
.bc.done .bc-alt{display:none}
.sp-loc{display:flex; align-items:center; gap:8px; width:100%; border:0; background:var(--surface-2); border-radius:14px; padding:10px 12px; margin-bottom:12px; font:inherit; color:var(--ink); text-align:start}
.sp-loc svg{width:18px; height:18px; flex:none; color:var(--brand-strong)}
.sp-loc span{flex:1; font-size:14px; color:var(--muted)}
.sp-loc b{font-size:14px; color:var(--brand-strong); white-space:nowrap}
/* bought items: photos stay recognisable (a pale bottle greyed AND faded disappeared on the white tile) */
.tile.done img.t-emoji.pic,.tile.done .t-emoji.pic.atl{filter:saturate(.45); opacity:.9}
/* "נקה": clear the search text in one tap */
.clr{flex:none; border:0; background:var(--surface-2); color:var(--muted); font:inherit; font-size:13px; font-weight:700; border-radius:99px; padding:5px 10px; cursor:pointer}
.addpill .clr{margin-inline-start:4px}
.srch{position:relative}
.srch .clr{position:absolute; z-index:1; inset-inline-end:10px; top:50%; transform:translateY(-50%)}
.srch .search{padding-inline-end:64px}
.srch .search::-webkit-search-cancel-button{display:none}
.clr.go{background:var(--brand); color:var(--ink); font-size:14px; padding:7px 14px; inset-inline-end:8px}
.srch:has(.go) .search{padding-inline-end:88px}
/* "נקה" under the field: sits in the gap below it, so nothing moves when it appears */
.rx-search{position:relative}
.clr.under{position:absolute; inset-inline-end:4px; top:100%; background:none; padding:8px 10px; font-weight:600}
/* the list's add field: a ✓ inside the pill adds what was typed, "נקה" sits under the pill's end */
.addpill .go{width:40px; height:40px; padding:0; display:grid; place-items:center}
.addpill .go svg{width:22px; height:22px; stroke-width:2.6}
.dock .clr.under{position:static; display:block; margin-inline:auto 70px; padding-bottom:0}
/* item sheet: remove = a small button beside ✓ */
.sh-del{display:inline-flex; align-items:center; gap:5px; border:0; background:transparent; color:var(--danger, #c2362f); font:inherit; font-size:13.5px; font-weight:700;
  padding:6px 10px; border-radius:99px; margin-inline-start:auto; margin-inline-end:6px; cursor:pointer}
.sh-del svg{width:17px; height:17px}
.sh-del:active{background:oklch(0.95 0.03 25)}
/* profile: "המשפחה שלי" — people I share with, then each list with its people */
.fam{margin:4px 0 18px}
.fam-h{display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin:0 2px 10px}
.fam-h b{font-size:17px; font-weight:800}
.fam-h small{font-size:13px; color:var(--muted)}
.fam-ppl{display:flex; gap:10px; overflow-x:auto; padding:4px 2px 10px; margin:0 -2px; scrollbar-width:none}
.fam-ppl::-webkit-scrollbar{display:none}
.fam-p{flex:none; width:84px; display:flex; flex-direction:column; align-items:center; gap:3px; border:0; background:var(--surface-2); border-radius:20px;
  padding:12px 6px 10px; font:inherit; color:var(--ink); cursor:pointer; transition:transform var(--dur-press) var(--ease-out), box-shadow .2s}
.fam-p:active{transform:scale(.95)}
.fam-p .avatar{width:52px; height:52px; font-size:21px; box-shadow:0 0 0 3px var(--surface), 0 6px 14px -6px oklch(0.3 0.05 265 / .35)}
.fam-p[aria-pressed="true"]{box-shadow:inset 0 0 0 2.5px var(--ink); background:var(--surface)}
.fp-n{font-size:13.5px; font-weight:700; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:4px}
.fp-c{font-size:11.5px; color:var(--muted); font-weight:600}
.fam-empty{display:flex; gap:12px; align-items:center; background:var(--surface-2); border-radius:18px; padding:12px 14px; margin-bottom:10px}
.fam-empty span{font-size:30px}
.fam-empty p{margin:0; font-size:14px; color:var(--muted); line-height:1.45}
.fam-lists{display:grid; gap:8px}
.fam-l{display:flex; align-items:center; gap:12px; width:100%; border:0; border-radius:18px; padding:10px 12px; font:inherit; color:var(--ink); text-align:start; cursor:pointer;
  background:oklch(0.97 0.025 var(--h)); box-shadow:inset 0 0 0 1px oklch(0.9 0.04 var(--h) / .7); transition:opacity .2s, transform var(--dur-press) var(--ease-out)}
.fam-l:active{transform:scale(.98)}
.fam-l.dim{opacity:.35}
.fl-i{flex:none; width:42px; height:42px; display:grid; place-items:center; font-size:24px; border-radius:14px; background:oklch(0.92 0.06 var(--h))}
.fl-t{flex:1; min-width:0; display:flex; flex-direction:column}
.fl-t b{font-size:15.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.fl-t small{font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.fam-stack{flex:none; display:flex; flex-direction:row-reverse}
.fam-stack .avatar{width:30px; height:30px; font-size:12px; margin-inline-start:-9px; box-shadow:0 0 0 2.5px oklch(0.97 0.025 var(--h))}
.fam-stack .avatar:last-child{margin-inline-start:0}
.fam-more{background:var(--ink)!important; color:var(--on-cta); font-size:11px!important}
.fl-inv{flex:none; display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:700; color:var(--brand-strong)}
.fl-inv svg{width:16px; height:16px}
/* store name: a small label under the tile (split lists, "הכול"); every tile in that view has the row, so rows stay even */
.tw{display:grid; grid-template-rows:1fr auto; gap:4px; min-width:0}
.t-under{display:flex; align-items:center; justify-content:center; gap:3px; height:15px; min-width:0; font-size:11px; font-weight:700; color:var(--muted)}
.t-under svg{width:11px; height:11px; flex:none; opacity:.8}
.t-under > span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
/* search results that are already on the list / in the cart */
.ptile.has{opacity:.92}
.ptile.has.list{box-shadow:inset 0 0 0 2px oklch(0.6 0.13 150)}
.t-has{font-size:11px; font-weight:800; color:oklch(0.42 0.12 150); margin-top:auto; line-height:1.1}
.ptile.has.cart .t-has{color:var(--muted)}
/* ---------- recipes hub ---------- */
.rh-tabs{margin-bottom:14px}
.rh-tabs small{font-size:12px; opacity:.6; margin-inline-start:4px}
.rh-ask{margin-bottom:12px}
.rh-cats{display:flex; gap:8px; overflow-x:auto; padding:2px 2px 10px; margin:0 -2px; scrollbar-width:none}
.rh-cats::-webkit-scrollbar{display:none}
.rh-cat{flex:none; display:inline-flex; align-items:center; gap:6px; border:0; border-radius:99px; padding:8px 14px; font:inherit; font-size:14.5px; font-weight:700;
  background:var(--surface-2); color:var(--ink); cursor:pointer}
.rh-cat span{font-size:17px}
.rh-cat.on{background:var(--ink); color:var(--on-cta)}
.rh-dishes{display:grid; grid-template-columns:repeat(2, 1fr); gap:10px}
.rh-dish{display:flex; align-items:center; gap:10px; min-height:64px; border:0; border-radius:18px; padding:10px 12px; font:inherit; font-size:15px; font-weight:700;
  color:var(--ink); text-align:start; background:var(--surface-2); cursor:pointer; transition:transform var(--dur-press) var(--ease-out)}
.rh-dish:active{transform:scale(.96)}
.rh-dish .rd-e{font-size:30px; flex:none}
.rh-note{font-size:13px; margin:14px 2px 4px}
.rh-add{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px}
.rh-new{display:flex; flex-direction:column; align-items:flex-start; gap:2px; border:0; border-radius:20px; padding:14px; font:inherit; color:var(--ink); text-align:start; cursor:pointer;
  background:var(--brand-tint, oklch(0.96 0.04 70)); box-shadow:inset 0 0 0 1.5px oklch(0.88 0.07 70)}
.rh-new span{font-size:26px; line-height:1.1}
.rh-new b{font-size:15.5px; margin-top:4px}
.rh-new small{font-size:12.5px; color:var(--muted)}
.rx-list{display:grid; gap:8px}
.rx-card{display:flex; align-items:center; gap:12px; border:0; border-radius:18px; padding:10px 12px; background:var(--surface-2); font:inherit; color:var(--ink); text-align:start; cursor:pointer}
.rc-e{font-size:30px; width:46px; height:46px; display:grid; place-items:center; background:var(--surface); border-radius:14px; flex:none}
.rc-t{flex:1; min-width:0; display:flex; flex-direction:column}
.rc-t b{font-size:15.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rc-t small{font-size:12.5px; color:var(--muted)}
.rc-by .avatar{width:28px; height:28px; font-size:12px}
.rx-card > svg{width:18px; height:18px; color:var(--muted); transform:scaleX(-1)}
/* recipe view extras */
.rx-acts{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.rx-acts .btn{flex:1 1 auto; min-height:44px; font-size:14.5px}
.rx-acts .danger-t{flex:0 0 auto; color:var(--danger)}
.rx-src{display:flex; align-items:center; gap:8px; margin:12px 0 4px; padding:12px 14px; border-radius:16px; background:var(--surface-2); color:var(--ink); font-weight:700; text-decoration:none}
.rx-src svg{width:18px; height:18px; transform:scaleX(-1); order:2; margin-inline-start:auto}
.rx-by{display:flex; align-items:center; gap:8px; margin:6px 0; font-size:14px; color:var(--muted)}
.rx-by .avatar{width:26px; height:26px; font-size:11px}
.rx-sites{display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:14px}
.rx-sites span{font-size:13.5px; font-weight:700; color:var(--muted); margin-inline-end:2px}
.rx-sites .chip{text-decoration:none; padding:6px 12px; font-size:13.5px}
.rx-ed-top{display:flex; gap:8px}
.rx-emoji{width:58px; flex:none; text-align:center; font-size:24px; padding-inline:4px}
.rx-ed textarea{width:100%; resize:vertical; font:inherit; line-height:1.5}
.rx-share{display:flex; gap:10px; align-items:flex-start; margin-top:14px; font-size:15px}
.rx-share input{width:20px; height:20px; accent-color:var(--ink); margin-top:2px}
/* ---------- bottom nav: 5 places ---------- */
.nav .in{grid-template-columns:1fr 1fr 92px 1fr 1fr; max-width:420px}
.nav button svg{width:23px; height:23px}
.nav-av .avatar{width:26px; height:26px; font-size:11px; box-shadow:0 0 0 2px oklch(1 0 0 / .25)}
.nav button[data-me]{color:oklch(1 0 0 / .55)}

/* ---------- home: "tonight" ---------- */
.tonight{margin:18px 16px 0; border-radius:26px; background:var(--brand-tint); box-shadow:inset 0 0 0 1.5px oklch(0.88 0.08 60); padding:6px 6px 10px}
.tn-head{display:flex; align-items:center; gap:12px; width:100%; border:0; background:none; padding:10px 10px 8px; font:inherit; color:var(--ink); text-align:start; cursor:pointer}
.tn-pot{width:44px; height:44px; border-radius:15px; background:var(--brand); color:var(--ink); display:grid; place-items:center; flex:none; transform:rotate(-4deg)}
.tn-pot svg{width:26px; height:26px; stroke-width:2.2}
.tn-t{flex:1; display:flex; flex-direction:column}
.tn-t b{font-size:18px; font-weight:800}
.tn-t small{font-size:13.5px; color:var(--brand-strong); font-weight:600}
.tn-head > svg{width:18px; height:18px; color:var(--brand-strong); transform:scaleX(-1)}
.tn-picks{display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; padding:0 4px}
.tn-pick{display:flex; flex-direction:column; align-items:center; gap:4px; border:0; border-radius:18px; padding:10px 4px 9px; font:inherit; font-size:12.5px; font-weight:700;
  color:var(--ink); text-align:center; line-height:1.2; background:var(--surface); box-shadow:0 2px 0 oklch(0.85 0.06 60 / .6); cursor:pointer; transition:transform var(--dur-press) var(--ease-out)}
.tn-pick:active{transform:scale(.95)}
.tn-pick .tn-e{font-size:26px}

/* ---------- recipes view ---------- */
#v-rx{padding-bottom:120px}
.rx-head{padding:8px 20px 0}
.rx-head h1{margin:0; font-size:30px; font-weight:800; letter-spacing:-.02em; line-height:1.15}
.rx-head p{margin:4px 0 0; font-size:15.5px; color:var(--brand-strong); font-weight:600}
.rx-search{margin:14px 16px 4px}
.rx-search .search{background:var(--surface); box-shadow:0 6px 18px -12px oklch(0.3 0.04 265 / .35)}
.rx-picks{display:grid; grid-auto-flow:column; grid-auto-columns:42%; gap:10px; overflow-x:auto; padding:12px 16px 6px; scroll-snap-type:x mandatory; scroll-padding-inline:16px; scrollbar-width:none}
.rx-pick{scroll-snap-align:start; display:flex; flex-direction:column; align-items:flex-start; gap:6px; min-height:168px; border:0; border-radius:24px; padding:14px 14px 12px;
  font:inherit; color:var(--ink); text-align:start; cursor:pointer; background:oklch(0.94 0.055 var(--h)); box-shadow:inset 0 0 0 1px oklch(0.86 0.07 var(--h) / .7);
  transition:transform var(--dur-press) var(--ease-out)}
.rx-pick:active{transform:scale(.96)}
.rx-pick .rp-e{font-size:56px; margin-bottom:auto}
.rx-pick b{font-size:16px; font-weight:800; line-height:1.2}
.rx-pick small{font-size:12.5px; font-weight:700; color:oklch(0.42 0.09 var(--h))}
.rx-sec{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:26px 20px 10px}
.rx-sec h2{margin:0; font-size:19px; font-weight:800; letter-spacing:-.01em}
.rx-sec.in{margin:20px 2px 8px}
.rx-sort{display:flex; background:var(--surface-2); border-radius:99px; padding:3px}
.rx-sort button{border:0; background:none; border-radius:99px; padding:6px 12px; font:inherit; font-size:13px; font-weight:700; color:var(--muted); cursor:pointer}
.rx-sort button.on{background:var(--surface); color:var(--ink); box-shadow:0 2px 6px -3px oklch(0.3 0.03 265 / .35)}
.rx-comm{display:grid; grid-auto-flow:column; grid-auto-columns:64%; gap:10px; overflow-x:auto; padding:2px 16px 6px; scroll-snap-type:x mandatory; scroll-padding-inline:16px; scrollbar-width:none}
.rx-cc{scroll-snap-align:start; display:flex; flex-direction:column; gap:6px; border:0; border-radius:24px; padding:12px 14px 12px; background:var(--surface); font:inherit; color:var(--ink);
  text-align:start; cursor:pointer; box-shadow:inset 0 0 0 1.5px oklch(0.9 0.04 var(--h)), 0 8px 20px -14px oklch(0.3 0.04 265 / .4); min-height:178px}
.rx-cc.sk{background:var(--surface-2); box-shadow:none}
.cc-by{display:flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--muted)}
.cc-by .avatar{width:26px; height:26px; font-size:11px}
.cc-by > span:last-child{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rx-cc .cc-e{font-size:44px; line-height:1.1; margin-top:2px}
.rx-cc b{font-size:16.5px; font-weight:800; line-height:1.25}
.cc-f{display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto}
.cc-f small{font-size:12.5px; color:var(--muted)}
.rx-star{display:inline-flex; align-items:baseline; gap:3px; font-weight:800; font-size:14px; color:oklch(0.55 0.15 70); font-variant-numeric:tabular-nums}
.rx-star small{font-size:11.5px; color:var(--muted); font-weight:600}
.rx-new{font-size:12px; font-weight:800; color:oklch(0.45 0.12 150); background:oklch(0.95 0.05 150); border-radius:99px; padding:2px 9px}
.rx-empty{display:flex; gap:12px; align-items:center; margin:0 16px; background:var(--surface-2); border-radius:20px; padding:14px 16px}
.rx-empty > span{font-size:32px}
.rx-empty p{margin:0; font-size:14px; color:var(--muted); line-height:1.5}
.rx-empty b{display:block; color:var(--ink); font-size:15px}
.rx-cats{display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; padding:0 16px}
.rx-cat{display:flex; flex-direction:column; align-items:center; gap:4px; border:0; border-radius:18px; padding:12px 4px 10px; font:inherit; font-size:13.5px; font-weight:700; color:var(--ink);
  background:oklch(0.955 0.04 var(--h)); cursor:pointer; transition:transform var(--dur-press) var(--ease-out)}
.rx-cat span{font-size:28px; line-height:1}
.rx-cat:active{transform:scale(.95)}
#v-rx .rh-add{margin:0 16px 10px}
#v-rx .rx-list{margin:0 16px}
.rc-meta{display:flex; align-items:center; gap:8px; margin-top:3px}
.rx-pubb{font-size:11.5px; font-weight:800; color:oklch(0.42 0.1 230); background:oklch(0.95 0.035 230); border-radius:99px; padding:1px 8px}
.rh-dish{background:oklch(0.955 0.04 var(--h, 250))}

/* ---------- dish view ---------- */
.rx-author{display:flex; align-items:center; gap:8px; margin:4px 0 0; font-size:14px; color:var(--muted)}
.rx-author .avatar{width:30px; height:30px; font-size:12px}
.rx-author b{color:var(--ink)}
.rx-author .rx-star{margin-inline-start:auto}
.dish .rx-star{margin-inline-start:6px}
.rx-serv{display:flex; align-items:center; gap:6px; margin:2px 0 12px}
.rx-serv > span{font-size:14px; font-weight:700; color:var(--muted); margin-inline-end:4px}
.rx-serv button{min-width:40px; height:36px; border:0; border-radius:12px; background:var(--surface-2); font:inherit; font-weight:800; font-size:15px; color:var(--ink); cursor:pointer}
.rx-serv button.on{background:var(--ink); color:var(--on-cta)}
.rx-to{display:flex; align-items:center; gap:8px; width:100%; border:0; background:var(--surface-2); border-radius:16px; padding:11px 14px; margin:0 0 10px; font:inherit; font-size:14.5px; color:var(--muted); text-align:start; cursor:pointer}
.rx-to b{color:var(--ink)}
.rx-to svg{width:18px; height:18px; flex:none}
.rx-to svg:last-child{margin-inline-start:auto; transform:rotate(-90deg); opacity:.6}
.rx-to span{flex:1}
.rx-done{display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:36px 10px 10px}
.rd-ok{width:72px; height:72px; border-radius:50%; display:grid; place-items:center; font-size:36px; font-weight:800; color:#fff; background:oklch(0.62 0.15 150); margin-bottom:8px}
.rx-done b{font-size:21px; font-weight:800}
.rx-done > span:not(.rd-ok){color:var(--muted)}
.rx-done-b{display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; margin-top:18px}
.rx-done-b .btn svg{width:18px; height:18px}
.rx-pub{display:flex; align-items:center; gap:12px; margin:14px 0 4px; padding:12px 14px; border-radius:18px; background:oklch(0.96 0.03 230); box-shadow:inset 0 0 0 1.5px oklch(0.88 0.05 230)}
.rx-pub > span{font-size:28px}
.rx-pub div{flex:1; display:flex; flex-direction:column}
.rx-pub b{font-size:15px}
.rx-pub small{font-size:12.5px; color:var(--muted); line-height:1.4}
.rx-pub .btn.small{min-height:40px; padding:0 16px}
.rx-pub.hl{animation:justAdded 1.6s ease-out 2}
.rx-pub.on{background:oklch(0.96 0.04 150); box-shadow:inset 0 0 0 1.5px oklch(0.86 0.07 150)}
.rx-rate{margin:14px 0 4px; padding:12px; border-radius:18px; background:var(--surface-2)}
.rx-rate > b{display:block; font-size:15px; margin-bottom:10px}
.rx-rate > b small{font-weight:500; color:var(--muted); font-size:12.5px; margin-inline-start:4px}
.rr-scale{display:grid; grid-template-columns:repeat(11, 1fr); gap:3px; direction:ltr}
.rr-scale button{height:40px; border:0; border-radius:10px; font:inherit; font-weight:800; font-size:14px; cursor:pointer; padding:0;
  color:oklch(0.35 0.08 calc(var(--s) * 12 + 20)); background:oklch(0.93 0.06 calc(var(--s) * 12 + 20))}
.rr-scale button.on{background:oklch(0.6 0.15 calc(var(--s) * 12 + 20)); color:#fff; transform:scale(1.08)}
.rr-thx{display:block; margin-top:8px; color:var(--muted); font-size:12.5px}
.rx-report{display:block; margin:16px auto 4px; font-size:12.5px; color:var(--muted); font-weight:600}
@media (prefers-reduced-motion: reduce){.rx-pub.hl{animation:none}}
.rx-comm.none{display:block; padding:2px 0 6px}
/* ideas for right now: pills (not a swipe row) */
.rx-pills{display:flex; flex-wrap:wrap; gap:8px; padding:12px 16px 2px}
.rx-pill{display:inline-flex; align-items:center; gap:7px; border:0; border-radius:99px; padding:5px 14px 5px 6px; font:inherit; font-size:14.5px; font-weight:700; color:var(--ink);
  background:oklch(0.945 0.05 var(--h)); box-shadow:inset 0 0 0 1px oklch(0.86 0.07 var(--h) / .6); cursor:pointer; transition:transform var(--dur-press) var(--ease-out)}
.rx-pill:active{transform:scale(.95)}
.rx-pill .rpl-e{font-size:24px; width:32px; height:32px; display:grid; place-items:center; background:var(--surface); border-radius:50%}
.rx-pill .rpl-e.pic,.rx-pill .rpl-e.atl{width:26px; height:26px; font-size:20px; background:none}
.rx-first{margin:10px 16px 0; width:calc(100% - 32px)}
.rx-cc-add{align-items:center; justify-content:center; text-align:center; background:var(--brand-tint); box-shadow:inset 0 0 0 1.5px oklch(0.86 0.08 60)}
.rx-cc-add > span{font-size:34px; font-weight:800; color:var(--brand-strong); line-height:1}
.rx-cc-add small{font-size:12.5px; color:var(--muted); font-weight:600}
/* ideas: an even 2-column grid (wrapping pills made ragged rows) */
.rx-pills{display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:0 16px}
.rx-pill{display:flex; align-items:center; gap:10px; min-height:56px; border-radius:18px; padding:8px 12px 8px 8px; text-align:start; line-height:1.25}
.rx-pill > span:last-child{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.rx-pill .rpl-e{width:38px; height:38px; font-size:22px; flex:none}
#v-rx .rx-head + .rx-search + .rx-sec{margin-top:20px}
/* method: numbered steps, open */
/* photos + video */
.rx-gal{margin:0 0 10px}
.rg-main{display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:20px; background:var(--surface-2)}
.rg-th{display:flex; gap:6px; margin-top:6px}
.rg-th button{width:56px; height:56px; padding:0; border:0; border-radius:12px; overflow:hidden; cursor:pointer; opacity:.6; background:var(--surface-2)}
.rg-th button.on{opacity:1; box-shadow:0 0 0 2.5px var(--ink)}
.rg-th img{width:100%; height:100%; object-fit:cover; display:block}
.rx-vid{position:relative; margin:14px 0 0; aspect-ratio:16/9; border-radius:18px; overflow:hidden; background:#000}
.rx-vid iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.rx-vlink > span:first-child{font-size:20px}
.rx-phs{display:grid; grid-template-columns:repeat(3, 1fr); gap:8px}
.rx-phs .rp{position:relative; aspect-ratio:1; border-radius:14px; overflow:hidden; background:var(--surface-2)}
.rx-phs .rp img{width:100%; height:100%; object-fit:cover; display:block}
.rx-phs .rp button{position:absolute; top:4px; inset-inline-end:4px; width:26px; height:26px; border:0; border-radius:50%; background:oklch(0 0 0 / .55); color:#fff; display:grid; place-items:center; padding:0; cursor:pointer}
.rx-phs .rp button svg{width:14px; height:14px}
.rx-phs .rp.add{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border:0; font:inherit; font-size:12.5px; font-weight:700; color:var(--muted);
  box-shadow:inset 0 0 0 2px var(--line); cursor:pointer}
.rx-phs .rp.add svg{width:24px; height:24px}
.cc-ph{width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:14px; margin-top:4px}
.rc-ph{object-fit:cover; padding:0}
/* chef stars */
.u-stars{flex:none; display:inline-flex; align-items:center; gap:2px; font-size:11.5px; font-weight:800; color:oklch(0.5 0.13 70); background:oklch(0.95 0.06 85); border-radius:99px; padding:1px 7px; font-variant-numeric:tabular-nums}
.cc-by .u-stars{margin-inline-start:auto}
.stars-card{margin:0 0 16px; padding:14px 16px 12px; border-radius:22px; background:linear-gradient(160deg, oklch(0.96 0.06 85), oklch(0.95 0.05 60)); box-shadow:inset 0 0 0 1.5px oklch(0.88 0.08 75)}
.sc-top{display:flex; align-items:center; gap:12px}
.sc-badge{width:52px; height:52px; border-radius:16px; display:grid; place-items:center; font-size:30px; background:var(--surface); box-shadow:0 6px 14px -8px oklch(0.4 0.1 60 / .5); flex:none}
.sc-t{flex:1; display:flex; flex-direction:column; line-height:1.2}
.sc-t small{font-size:12.5px; font-weight:700; color:oklch(0.45 0.1 60)}
.sc-t b{font-size:26px; font-weight:800; font-variant-numeric:tabular-nums}
.sc-lvl{font-size:13.5px; font-weight:700}
.sc-up{align-self:flex-start; font-size:12px; font-weight:800; color:oklch(0.42 0.13 150); background:oklch(0.94 0.07 150); border-radius:99px; padding:3px 9px; white-space:nowrap}
.sc-bar{height:8px; border-radius:99px; background:oklch(1 0 0 / .7); margin:12px 0 8px; overflow:hidden}
.sc-bar i{display:block; height:100%; border-radius:99px; background:oklch(0.72 0.16 65)}
.sc-note{margin:0; font-size:13px; color:oklch(0.4 0.06 60)}
.stars-card.lvl .sc-badge{animation:justAdded 1.4s ease-out 2}
@media (prefers-reduced-motion: reduce){.stars-card.lvl .sc-badge{animation:none}}
/* consent + legal links */
.ob-consent{display:flex; gap:10px; align-items:flex-start; margin:12px 2px 4px; font-size:14.5px; line-height:1.45; text-align:start; cursor:pointer}
.ob-consent input{width:22px; height:22px; flex:none; accent-color:var(--ink); margin-top:1px}
.ob-consent small{color:var(--muted)}
.legal a{color:inherit; font-weight:700; text-decoration:underline; text-underline-offset:2px}
/* invite-only */
.gate-note{margin:4px 22px 0; text-align:center; font-size:14px; color:var(--muted); line-height:1.5}
.invite-card.gold{background:oklch(0.96 0.06 85); box-shadow:inset 0 0 0 1.5px oklch(0.86 0.09 80)}
.wait-card{text-align:center; display:flex; flex-direction:column; align-items:center; gap:4px}
.wait-card h2{margin:6px 0 2px; font-size:22px}
.wait-card p{margin:4px 0; line-height:1.55}
.wl-badge{font-size:44px; width:78px; height:78px; display:grid; place-items:center; border-radius:24px; background:oklch(0.95 0.07 85); transform:rotate(-6deg)}
.inv-card{margin:0 0 16px; padding:14px 16px; border-radius:22px; background:var(--surface-2)}
.inv-h{display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:10px}
.inv-h b{font-size:17px; font-weight:800}
.inv-h small{font-size:13px; color:var(--muted)}
.inv-tix{display:grid; grid-template-columns:repeat(5, 1fr); gap:8px; margin-bottom:12px}
.tix{display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; border:0; background:none; padding:0; font:inherit; cursor:pointer}
.tix > span:first-child,.tix .avatar{width:48px; height:48px; border-radius:16px; display:grid; place-items:center; font-size:24px}
.tix.free > span{background:oklch(0.95 0.07 85); box-shadow:inset 0 0 0 1.5px oklch(0.85 0.1 80); border-radius:16px; border:1.5px dashed oklch(0.75 0.12 75)}
.tix.pend > span{background:var(--surface); box-shadow:inset 0 0 0 1.5px var(--line)}
.tix.used .avatar{border-radius:50%; font-size:18px}
.tix small{font-size:11.5px; font-weight:700; color:var(--muted); max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tix.more{align-self:center; font-weight:800; color:var(--muted)}
.inv-note{margin:10px 2px 0; font-size:12.5px; color:var(--muted); line-height:1.45}
.inv-card .linkbtn{margin-top:8px; font-size:13.5px}
.wl-list{display:grid; gap:6px}
.wl-row{display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:10px; padding:10px 12px; border-radius:14px; background:var(--surface-2); font-size:14px}
.wl-row small{color:var(--muted)}
.wl-ok{color:oklch(0.45 0.13 150); font-size:13px}
.wl-sent{color:var(--muted); font-size:13px}
/* list cards: "⋯" (duplicate / delete / leave) */
.lwrap{position:relative}
.lwrap .lcard{padding-inline-end:52px}
.lc-more{position:absolute; inset-inline-end:8px; top:50%; transform:translateY(-50%); width:36px; height:44px; border:0; border-radius:14px; background:transparent;
  color:var(--muted); display:grid; place-items:center; cursor:pointer}
.lc-more:active{background:oklch(0 0 0 / .06)}
.lc-more svg{width:22px; height:22px}
.from-lists .chip small{font-size:11.5px; opacity:.6; margin-inline-start:4px}
.from-note{margin:6px 2px 0; font-size:13px}
/* install gate: the app runs from the home-screen icon */
#v-gate{display:flex; flex-direction:column; padding:calc(20px + var(--st)) 22px calc(22px + var(--sb)); min-height:100dvh}
#v-gate .gate-note{margin:4px 0 0; text-align:start; background:var(--surface); padding:12px 14px; border-radius:16px; color:var(--ink)}
.gate-small{margin:0; font-size:14px; color:var(--muted)}
#v-gate .linkbtn{align-self:flex-start; font-size:14.5px}
.qr{width:200px; height:200px; padding:14px; background:#fff; border-radius:22px; display:grid; place-items:center; box-shadow:0 14px 30px -14px oklch(0.3 0.05 265 / .35)}
.qr svg{width:100%; height:100%}
/* founder dashboard */
.adm-kpis{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.adm-kpis > div{background:var(--surface-2); border-radius:18px; padding:12px 14px; display:flex; flex-direction:column; gap:2px}
.adm-kpis small{font-size:13px; color:var(--muted); font-weight:600}
.adm-kpis b{font-size:30px; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums}
.adm-kpis span{font-size:12.5px; color:var(--muted)}
.adm-card{background:var(--surface-2); border-radius:20px; padding:14px 16px; margin-top:12px}
.adm-card h3{font-size:16px; margin:0 0 10px; font-weight:800}
.adm-hint{margin:-6px 0 8px; font-size:12.5px; color:var(--muted)}
.adm-pick{margin-bottom:12px}
.adm-bars{display:flex; align-items:flex-end; gap:2px; height:120px; border-bottom:1.5px solid var(--line)}
.adm-bars span{flex:1; height:var(--h); min-height:2px; background:var(--brand-strong); border-radius:3px 3px 0 0}
.adm-bars em{display:none}
.adm-axis{display:flex; justify-content:space-between; font-size:12px; color:var(--muted); margin-top:4px}
.adm-row{display:grid; grid-template-columns:minmax(0,1fr) 64px auto; column-gap:10px; align-items:center; font-size:14.5px; padding:5px 0}
.adm-row > span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.adm-row > i{height:8px; border-radius:4px; background:var(--line); position:relative; overflow:hidden}
.adm-stale{margin:4px 0 0; font-size:13px; line-height:1.5}
.adm-row > i::after{content:""; position:absolute; inset-block:0; inset-inline-start:0; width:var(--w); background:var(--brand-strong); border-radius:4px}
.adm-row > b{font-variant-numeric:tabular-nums; min-width:3ch; text-align:end}
.adm-row > small{grid-column:1 / -1; margin-top:-3px; font-size:12px; color:var(--muted)}
.adm-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px 10px}
.adm-grid > div{display:flex; flex-direction:column}
.adm-grid b{font-size:22px; font-weight:800; font-variant-numeric:tabular-nums}
.adm-grid small{font-size:12.5px; color:var(--muted)}
/* שרי — the character (inline SVG) and her speech bubbles */
.sh{display:inline-block; width:var(--s); height:var(--s); flex:none}
.sh{position:relative}
.sh .sherry{width:100%; height:100%; display:block; object-fit:contain; position:relative; z-index:1}
.sh .sh-shadow{position:absolute; left:18%; right:18%; bottom:-3%; height:9%; border-radius:50%; background:oklch(0.35 0.08 40); opacity:.22; filter:blur(3px)}
.sh-say{display:flex; align-items:center; gap:12px}
.sh-say .bubble{position:relative; margin:0; background:var(--surface); color:var(--ink); border-radius:18px; padding:10px 14px; font-size:15.5px; line-height:1.45;
  box-shadow:0 10px 24px -14px oklch(0.3 0.04 265 / .4); text-wrap:pretty}
.sh-say .bubble::before{content:""; position:absolute; inset-inline-start:-6px; top:50%; width:14px; height:14px; background:inherit; transform:translateY(-50%) rotate(45deg); border-radius:3px}
.sh-say.big{flex-direction:column; text-align:center; gap:14px}
.sh-say.big .bubble{font-size:16.5px; max-width:32ch}
.sh-say.big .bubble::before{inset-inline-start:auto; left:50%; top:-6px; transform:translateX(-50%) rotate(45deg)}
.sh-say + .ob-art{height:176px}
#ficon{display:inline-block}
.hero .basket.sh-free{width:auto; height:auto; background:none !important; box-shadow:none; overflow:visible; border-radius:0}
.rx-art-h{font-weight:800; font-size:16px; padding:2px 4px 8px; border-bottom:1.5px solid var(--line); margin-bottom:4px}
.rx-art .art-row small{color:var(--muted); font-weight:700; font-variant-numeric:tabular-nums}

/* a "שרי moment": she pops up with a line */
.sh-pop{position:fixed; inset-inline:0; top:calc(30px + var(--st)); z-index:96; display:flex; justify-content:center; pointer-events:none; padding:0 16px}
.sh-pop > div{pointer-events:auto; position:relative; display:flex; align-items:center; min-height:54px; max-width:360px; background:var(--surface); color:var(--ink); border-radius:24px;
  padding:10px 16px; padding-inline-start:86px; font-size:15.5px; font-weight:700; line-height:1.35; box-shadow:0 18px 40px -14px oklch(0.3 0.05 265 / .45), 0 0 0 1px var(--line)}
/* she sits on the card's corner like a sticker, clearly overlapping it */
.sh-pop .sh{position:absolute; inset-inline-start:-4px; top:50%; translate:0 -50%; rotate:-6deg}
.empty .sh, .wl-badge .sh{display:block; margin:0 auto 6px}
.invite-card .sh{flex:none}
.chef-load .sh{display:block; margin:0 auto}
.scan-stage .sh{margin-bottom:-8px}
.wl-badge:has(.sh){width:auto; height:auto; background:none; transform:none}

/* recipe page: easy to read while cooking */
.rx-cat{align-self:center; background:var(--surface-2); color:var(--muted); font-size:13.5px; font-weight:700; border-radius:99px; padding:7px 11px}
.rx-jump{display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 4px}
.rx-jump button{border:0; background:var(--brand-tint); color:var(--ink); font:inherit; font-size:13.5px; font-weight:700; border-radius:99px; padding:7px 11px; cursor:pointer}
.rp-sec{margin-top:26px; scroll-margin-top:8px}
.rx-sh{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 12px; margin-bottom:10px}
.rx-sh h3{margin:0; font-size:20px; font-weight:800}
.rx-sh small{color:var(--muted); font-size:13px; font-weight:600}
.rp-sec .rx-serv{margin:0}
.rp-sec .rx-serv button{min-width:36px; height:34px; font-size:14.5px}
.rx-shop{margin-top:12px; padding:14px; border-radius:18px; background:var(--brand-tint)}
.rx-shop .chef-sum{margin:0 2px 10px}
.rx-shop .rx-to{background:var(--surface)}
.rx-ol{list-style:none; counter-reset:st; margin:0; padding:0; display:grid; gap:16px}
.rx-ol li{counter-increment:st; display:grid; grid-template-columns:34px 1fr; gap:12px; align-items:start; font-size:17px; line-height:1.65; color:var(--ink)}
.rx-ol li::before{content:counter(st); width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:var(--on-cta); font-size:15px; font-weight:800; margin-top:1px}
.rx-ext{font-size:14.5px; font-weight:700; color:var(--ink); text-underline-offset:3px}
.rp-sec .rx-vid{margin:0}

/* item sheet: units / kilos, the product picker, sale terms */
.qunit{margin:0 0 8px}
.opt-list{display:grid; gap:6px}
.opt{display:grid; grid-template-columns:1fr auto auto; grid-template-rows:auto auto; column-gap:8px; align-items:center; text-align:start; border:0; border-radius:14px;
  background:var(--surface-2); padding:9px 12px; font:inherit; font-size:14.5px; color:var(--ink); cursor:pointer}
.opt > span{grid-row:1 / 3; font-weight:600}
.opt > b{font-variant-numeric:tabular-nums}
.opt > small{grid-column:2; font-size:12px; color:var(--muted)}
.opt > svg{grid-column:3; grid-row:1 / 3; width:18px; height:18px}
.opt.on{background:var(--ink); color:var(--on-cta)}
.opt.on > small{color:oklch(1 0 0 / .7)}
.sect small.muted{font-weight:500; font-size:12.5px; margin-inline-start:6px}
.pb-sale{margin-top:6px}
.pb-sale small{display:block; font-size:12.5px; color:var(--muted); margin-top:2px}
.cr-size, .cr-kosher, .cr-sale{display:block}
.cr-kosher{color:oklch(0.42 0.1 250); font-weight:700}
.cr-sale{color:oklch(0.5 0.17 25); font-weight:600}
.cmp-all{display:flex; align-items:center; gap:8px; width:100%; margin:10px 0 0; border:0; border-radius:14px; background:var(--brand-tint); padding:11px 14px;
  font:inherit; font-size:14.5px; font-weight:700; color:var(--ink); cursor:pointer; text-align:start}
.cmp-all span{flex:1}
.cmp-all svg{width:18px; height:18px}
.cmp-all svg:last-child{opacity:.6}
.chip.x{background:oklch(0.95 0.035 22); color:oklch(0.45 0.15 25); box-shadow:inset 0 0 0 1.5px oklch(0.85 0.08 22)}
.opt-toggle{display:flex; align-items:center; gap:8px; width:100%; margin:10px 0 0; border:0; border-radius:14px; background:var(--surface-2); padding:11px 14px;
  font:inherit; font-size:14.5px; color:var(--ink); cursor:pointer; text-align:start}
.opt-toggle span{flex:1}
.opt-toggle small{color:var(--muted); font-size:12.5px}
.opt-toggle svg{width:18px; height:18px; flex:none}
.opt-toggle svg:last-child{transform:rotate(-90deg); opacity:.6; transition:transform var(--dur-pop) var(--ease-out)}
.opt-toggle.open svg:last-child{transform:rotate(90deg)}
.opt-toggle + .opt-list{margin-top:6px}
.pb-d{display:block; font-size:12.5px; color:var(--muted); font-weight:500}
.pf-clubs .chip.on.x{background:oklch(0.95 0.035 22); color:oklch(0.45 0.15 25); box-shadow:inset 0 0 0 1.5px oklch(0.85 0.08 22)}

/* home: "מה מבשלים היום?" says what it does (recipes -> ingredients on the list, with a price) */
.tonight{margin:18px 16px 0; padding:14px 14px 10px; border-radius:26px; background:linear-gradient(160deg, oklch(0.97 0.05 75), oklch(0.93 0.08 55)); box-shadow:inset 0 0 0 1.5px oklch(0.86 0.09 60)}
.tn-top{display:flex; align-items:flex-start; gap:10px}
.tn-top .tn-t{flex:1}
.tn-top h2{margin:0; font-size:19px; font-weight:800; letter-spacing:-.02em}
.tn-top p{margin:4px 0 0; font-size:14px; line-height:1.4; color:var(--ink)}
.tn-top .sh{margin:-6px -4px 0 0}
.tn-steps{list-style:none; margin:14px 0 0; padding:0; display:grid; grid-template-columns:repeat(3, 1fr); gap:6px}
.tn-steps li{display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; background:oklch(1 0 0 / .7); border-radius:16px; padding:9px 6px; font-size:12.5px; font-weight:700; line-height:1.3}
.tn-steps li span{font-size:20px; font-weight:800; color:var(--brand-strong)}
.tn-ask{display:flex; gap:8px; margin:10px 0 0}
.tn-ask .field{flex:1; min-width:0; background:var(--surface)}
.tn-ask .btn{flex:none; padding:0 18px}
.tn-sub{margin:10px 2px 6px; font-size:13.5px; font-weight:700; color:var(--brand-strong)}
.tn-all{display:flex; align-items:center; justify-content:center; gap:4px; width:100%; margin:6px 0 0; border:0; background:none; font:inherit; font-size:14.5px; font-weight:700; color:var(--ink); cursor:pointer}
.tn-all svg{width:16px; height:16px}
/* recipes tab: the same promise under the title */
.rx-head{display:flex; align-items:flex-start; gap:8px}
.rx-head > div{flex:1}
.rx-how{margin:6px 0 0 !important; font-size:15px !important; line-height:1.45; color:var(--ink) !important; font-weight:500 !important}
.rx-steps-strip{margin:12px 20px 0}
.rx-steps-strip li{background:var(--brand-tint)}
.rx-moment{margin:14px 20px 0; font-size:15px; color:var(--brand-strong); font-weight:700}

/* list header: coupons */
.cp-btn{position:relative; font-size:19px}
.cp-btn b{position:absolute; top:-3px; inset-inline-end:-3px; min-width:18px; height:18px; padding:0 4px; border-radius:99px; background:oklch(0.58 0.19 25); color:#fff; font-size:11px; font-weight:800; display:grid; place-items:center; box-shadow:0 0 0 2px var(--bg)}
.cp-strip{display:flex; align-items:center; gap:8px; width:calc(100% - 32px); margin:8px 16px 0; border:0; border-radius:16px; background:oklch(0.95 0.05 25); padding:11px 14px; font:inherit; font-size:15px; color:var(--ink); cursor:pointer; text-align:start}
.cp-strip b{flex:1}
.cp-strip svg{width:18px; height:18px; opacity:.6}
/* the basket podium */
.podium{margin:10px 16px 4px; padding:12px; border-radius:22px; background:var(--surface); box-shadow:0 0 0 1px var(--line), 0 10px 24px -18px oklch(0.3 0.05 265 / .4)}
.pd-h{display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin:0 2px 10px}
.pd-h b{display:block; font-size:16.5px; font-weight:800}
.pd-h small{font-size:12.5px; color:var(--muted)}
.pd-h .linkbtn{font-size:13.5px; flex:none}
.pd-row{display:grid; grid-template-columns:repeat(3, 1fr); gap:6px}
.pd-c{position:relative; display:flex; flex-direction:column; align-items:center; gap:1px; border:0; border-radius:16px; background:var(--surface-2); padding:10px 4px 9px; font:inherit; color:var(--ink); cursor:pointer; text-align:center}
.pd-c.win{background:oklch(0.95 0.07 150); box-shadow:inset 0 0 0 1.5px oklch(0.8 0.1 150)}
.pd-c.cur{box-shadow:inset 0 0 0 2px var(--ink)}
.pd-m{font-size:22px; line-height:1}
.pd-c b{font-size:13.5px; font-weight:800; margin-top:3px}
.pd-t{font-size:17px; font-weight:800; font-variant-numeric:tabular-nums}
.pd-c small{font-size:11.5px; color:var(--muted)}
.pd-c em{font-style:normal; font-size:10.5px; font-weight:800; background:var(--ink); color:var(--on-cta); border-radius:99px; padding:1px 7px; margin-top:4px}
.pd-note{margin:8px 4px 0; font-size:12.5px; color:var(--muted)}
.pd-m i{font-style:normal; font-size:12px; font-weight:800; color:var(--muted); line-height:22px}
/* home: the tools, explained */
.tools{display:grid; gap:8px; margin:0 16px}
.tool{display:flex; align-items:center; gap:12px; border:0; border-radius:20px; background:var(--surface); box-shadow:0 0 0 1px var(--line); padding:12px 14px; font:inherit; color:var(--ink); text-align:start; cursor:pointer}
.tl-i{width:44px; height:44px; flex:none; border-radius:14px; display:grid; place-items:center; background:var(--brand-tint); color:var(--brand-strong); font-size:22px}
.tl-i svg{width:24px; height:24px}
.tl-i.wa{background:oklch(0.94 0.06 150); color:oklch(0.45 0.13 150)}
.tl-i.cp{background:oklch(0.95 0.05 25)}
.tl-t{flex:1; display:flex; flex-direction:column; gap:2px}
.tl-t b{font-size:15.5px; font-weight:800}
.tl-t b em{font-style:normal; font-size:11.5px; font-weight:800; background:oklch(0.58 0.19 25); color:#fff; border-radius:99px; padding:1px 7px; margin-inline-start:4px; vertical-align:2px}
.tl-t small{font-size:13px; color:var(--muted); line-height:1.4}
.tool > svg{width:18px; height:18px; opacity:.5; flex:none}
/* scan to compare */
.bc-intro{margin:0 0 10px; font-size:15px; line-height:1.45}
/* WhatsApp */
.wa-intro{margin:0 0 8px}
.wa-chat{background:oklch(0.93 0.02 85); border-radius:18px; padding:14px 12px; max-height:46dvh; overflow-y:auto}
.wa-bubble{background:#dcf8c6; color:#111; border-radius:12px 4px 12px 12px; padding:10px 12px; font-size:14.5px; line-height:1.55; box-shadow:0 1px 1px rgba(0,0,0,.12); max-width:92%; margin-inline-start:auto}
.wa-acts{display:grid; gap:8px; margin-top:14px}
.wa-send{background:#25d366; color:#fff; text-decoration:none; display:flex; align-items:center; justify-content:center; gap:8px}
.wa-send.off{opacity:.4; pointer-events:none}
.wa-entry{display:flex; align-items:center; gap:12px; width:100%; margin-top:10px; border:0; border-radius:18px; background:oklch(0.95 0.05 150); padding:12px 14px; font:inherit; color:var(--ink); text-align:start; cursor:pointer}
.wa-entry span:nth-child(2){flex:1; display:flex; flex-direction:column}
.wa-entry small{font-size:13px; color:var(--muted)}
.wa-entry > svg{width:18px; height:18px; opacity:.5}
.wa-dot{width:38px; height:38px; border-radius:12px; background:#25d366; color:#fff; display:grid; place-items:center; flex:none}
.wa-dot svg{width:20px; height:20px}
/* coupons */
.cp-intro{margin:0 0 10px}
.cp-add{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:14px}
.cp-add button{display:flex; flex-direction:column; align-items:center; gap:3px; border:0; border-radius:18px; background:var(--brand-tint); padding:14px 8px; font:inherit; color:var(--ink); text-align:center; cursor:pointer}
.cp-add span{font-size:26px}
.cp-add b{font-size:15px}
.cp-add small{font-size:12px; color:var(--muted); line-height:1.35}
.cp-card{display:flex; align-items:center; gap:12px; width:100%; margin-bottom:8px; border:0; border-radius:18px; background:var(--surface-2); padding:12px 14px; font:inherit; color:var(--ink); text-align:start; cursor:pointer}
.cp-card.dead{opacity:.55}
.cp-ic{font-size:24px}
.cp-tx{flex:1; display:flex; flex-direction:column}
.cp-tx small{font-size:12.5px; color:var(--muted)}
.cp-card > svg{width:18px; height:18px; opacity:.5}
.cp-empty .sh{display:block; margin:0 auto 6px}
.cpf-ph{display:block; width:100%; max-height:220px; object-fit:contain; border-radius:16px; background:var(--surface-2)}
.cpf-code{display:flex; flex-direction:column; gap:2px; margin-top:10px; background:var(--surface-2); border-radius:14px; padding:10px 12px; word-break:break-all}
.cpf-code small{font-size:12px; color:var(--muted)}
.cps-card{background:#fff; color:#111; border-radius:22px; padding:16px; box-shadow:0 0 0 1px var(--line)}
.cps-h b{display:block; font-size:19px; font-weight:800}
.cps-h small{font-size:13.5px; color:#555}
.cps-code{display:grid; place-items:center; margin:14px auto 6px; max-width:300px}
.cps-code svg{width:100%; height:auto; max-height:300px}
.cps-txt{text-align:center; font:700 24px/1.2 ui-monospace, Menlo, monospace; letter-spacing:.06em; margin:4px 0 8px; word-break:break-all}
.cps-ph{display:block; width:100%; border-radius:14px; margin-top:10px}
.cps-tip{text-align:center; margin:10px 0}
.cps-acts{display:flex; gap:8px}
.cps-acts .btn{flex:1}
.menu .mi-e{font-size:22px; width:24px; text-align:center}
.wa-inlist{width:auto; margin:8px 16px 4px; padding:10px 12px}
/* onboarding tour: a real screenshot per screen */
.ob-shot{position:relative; margin:0 auto; width:min(100%, 330px); max-height:clamp(170px, 34dvh, 310px); border-radius:24px; overflow:hidden; background:var(--surface); flex:none;
  box-shadow:0 0 0 1px var(--line), 0 26px 40px -26px oklch(0.3 0.06 265 / .5)}
.ob-shot img{display:block; width:100%; height:auto}
.ob-shot.tall::after{content:""; position:absolute; inset:auto 0 0; height:34px; background:linear-gradient(transparent, var(--surface)); pointer-events:none}
.ob-skip{font-size:14px; min-height:40px}
.pv-skip{margin-top:8px}
/* the list's tool row */
.ltools{display:flex; gap:4px; margin:8px 12px 2px; padding:0}
.lt{flex:0 0 auto; min-width:64px; border:0; background:none; padding:4px 2px; display:flex; flex-direction:column; align-items:center; gap:5px; font:inherit; color:var(--ink); cursor:pointer}
.lt:active .lt-i{transform:scale(.9)}
.lt-i{position:relative; width:44px; height:44px; border-radius:15px; display:grid; place-items:center; font-size:21px; transition:transform .12s}
.lt-i svg{width:21px; height:21px}
.lt-i.wa{background:#25d366; color:#fff}
.lt-i.cp{background:oklch(0.95 0.05 60)}
.lt-i b{position:absolute; top:-5px; inset-inline-end:-5px; min-width:19px; height:19px; padding:0 5px; border-radius:99px; background:var(--danger, #e5484d); color:#fff; font-size:11px; display:grid; place-items:center; box-shadow:0 0 0 2px var(--bg)}
.lt-l{font-size:12px; font-weight:600; color:var(--muted)}
/* no chain price nearby: say so, and take the person's own price */
.t-noprice{font-size:11px; font-weight:600; color:var(--muted); border:1px dashed var(--line); border-radius:99px; padding:0 7px}
.price-box.own{display:grid; gap:6px}
.price-box.own small{color:var(--muted); font-size:13.5px}
.own-in{justify-self:start; margin-top:4px}
.own-in input{width:5em}
/* phone turned sideways: the app is portrait only (the manifest locks it on Android; iPhone ignores that) */
.rotate-note{display:none}
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse){
  .rotate-note{display:grid; position:fixed; inset:0; z-index:10000; place-items:center; background:var(--bg); color:var(--ink); text-align:center; padding:24px}
  .rotate-note b{font-size:22px} .rotate-note p{margin:6px 0 0; color:var(--muted)}
  .rotate-note .rn-e{font-size:52px; transform:rotate(-90deg); margin-bottom:8px}
}
/* the dock: one wide "add" button (opens the catalog) and the barcode scanner */
.dock-add{flex:1; width:auto; height:58px; border-radius:var(--r-pill); display:flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-size:17.5px; font-weight:800; box-shadow:0 14px 28px -14px oklch(0.45 0.15 60 / .55)}
.dock-add svg{width:24px; height:24px}
.dock-scan{width:58px; height:58px; flex:none; border:0; border-radius:50%; background:var(--surface); color:var(--ink); display:grid; place-items:center; box-shadow:inset 0 0 0 1.5px var(--line), 0 10px 22px -14px oklch(0.25 0.04 265 / .4); cursor:pointer}
.dock-scan svg{width:24px; height:24px}
.dock-scan:active{transform:scale(.92)}
.ptile.just-added{animation:justAdded 1.4s ease-out}
@media (prefers-reduced-motion: reduce){.ptile.just-added{animation:none; outline:3px solid oklch(0.7 0.16 150)}}
.psect.exact .sug-prod{width:100%; margin-top:6px}
.sug-prod.on{opacity:.55}
/* an invite waiting from the browser, accepted on the home screen */
#joinReq{display:grid; gap:10px; margin:0 16px 4px}
#joinReq:empty{display:none}
.join-req{align-items:flex-start}
.jr-acts{display:flex; gap:8px; margin-top:10px}
.have-app{margin-top:10px}
/* share: people already on the app with them, added in one tap */
.ppl{display:flex; gap:10px; overflow-x:auto; padding:4px 2px 8px; scrollbar-width:none}
.pp{flex:none; width:76px; border:0; background:none; display:flex; flex-direction:column; align-items:center; gap:6px; font:inherit; font-size:13px; font-weight:600; color:var(--ink); position:relative; cursor:pointer}
.pp .avatar{width:52px; height:52px; font-size:19px}
.pp span{max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.pp-plus{position:absolute; top:34px; inset-inline-start:calc(50% + 10px); width:24px; height:24px; border-radius:50%; background:var(--brand); color:var(--ink); display:grid; place-items:center; box-shadow:0 0 0 2px var(--surface)}
.pp-plus svg{width:14px; height:14px; stroke-width:3}
.pp.done .pp-plus{background:oklch(0.62 0.15 150); color:#fff}
/* drag to the cart: the cart that appears while a product is dragged */
.cart-drop{position:fixed; inset-inline:0; bottom:calc(20px + var(--sb)); z-index:89; display:flex; flex-direction:column; align-items:center; gap:8px; pointer-events:none; opacity:0; transform:translateY(40px) scale(.9); transition:opacity .18s, transform .24s cubic-bezier(.23,1,.32,1)}
.cart-drop.on{opacity:1; transform:none}
.cart-drop .cd-ring{width:100px; height:100px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; box-shadow:0 0 0 8px oklch(1 0 0 / .7), 0 20px 40px -16px oklch(0.2 0.03 265 / .6); transition:transform .15s cubic-bezier(.23,1,.32,1), background .15s}
.cart-drop .cd-ring svg{width:42px; height:42px}
.cart-drop b{font-size:14px; font-weight:700; background:var(--surface); color:var(--ink); padding:5px 14px; border-radius:99px; box-shadow:0 6px 16px -8px oklch(0.2 0.03 265 / .4)}
.cart-drop.hot .cd-ring{transform:scale(1.18); background:oklch(0.6 0.15 150)}
body.dragging #addbar{opacity:0; pointer-events:none; transition:opacity .15s}
.tile.lifted{opacity:.28}
.drag-ghost{box-shadow:0 24px 44px -18px oklch(0.2 0.04 265 / .55); will-change:transform}
.cart-move{margin-top:10px}
.cdemo.drag .cd-b{top:auto; bottom:-8px}
/* scanning into a list: where it is cheapest, one small line (the store is chosen in the item sheet) */
.bc-cheap{display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin-top:12px; font-size:14px}
.bc-cheap b{width:100%; font-size:13px; color:var(--muted); font-weight:700}
.bc-cheap span{background:var(--surface-2); border-radius:99px; padding:5px 11px; font-weight:600}
.bc-cheap span i{font-style:normal; font-weight:800; font-variant-numeric:tabular-nums}
.bc-cheap span.win{background:oklch(0.93 0.07 150); color:oklch(0.32 0.09 150)}
/* recipe: suggested additions that round the dish into a meal (unchecked until tapped) */
.ings-x{margin-top:16px}
.ings-x h4{margin:0; font-size:15px}
.ings-x p{margin:2px 0 8px; font-size:13px}
.cmp-row .cr-norm{display:block; font-size:11px; font-weight:600; margin-top:2px}
/* insights: my receipts; a receipt next to what the cart expected */
.ins-rc{display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; width:100%; border:0; background:var(--surface-2); border-radius:16px; padding:11px 14px; margin-top:8px; font:inherit; color:var(--ink); text-align:start; cursor:pointer}
.ins-rc-d{font-size:13px; font-weight:700; color:var(--muted); min-width:3.6em}
.ins-rc-s b{display:block; font-size:15px}
.ins-rc-s small{font-size:12.5px; color:var(--muted)}
.ins-rc-s i{font-style:normal; font-weight:700}
.ins-rc-s i.up{color:var(--danger)} .ins-rc-s i.dn{color:oklch(0.5 0.13 150)}
.ins-rc-t{font-variant-numeric:tabular-nums}
.rcv-h{display:grid; grid-template-columns:1fr auto; align-items:center; margin-bottom:10px}
.rcv-h b{font-size:19px} .rcv-h small{grid-row:2; color:var(--muted)} .rcv-t{grid-row:1 / 3; grid-column:2; font-size:22px; font-weight:800; font-variant-numeric:tabular-nums}
.rcv-vs{display:grid; gap:4px} .rcv-vs small{color:var(--muted)} .rcv-vs.up b{color:var(--danger)}
.rcv-lines{margin-top:10px}
.rcv-ph{display:flex; gap:8px; align-items:center; overflow-x:auto; margin-bottom:10px} .rcv-ph small{color:var(--muted); font-size:13px}
.rcv-ph button{flex:none; width:60px; height:88px; padding:0; border:0; border-radius:12px; overflow:hidden; background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); cursor:zoom-in}
.rcv-ph img{width:100%; height:100%; object-fit:cover}
.rcv-pdf{margin-bottom:10px}
.rcv-full{border:0; padding:0; background:none; max-width:100vw; max-height:100dvh; overflow:auto; cursor:zoom-out}
.rcv-full::backdrop{background:oklch(0.15 0.02 265 / .88)}
.rcv-full img{display:block; width:min(100vw, 720px)}
.rcv-l{display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; padding:9px 0; border-top:1px solid var(--line)}
.rcv-n{font-weight:600} .rcv-n small{display:block; font-size:12.5px; color:var(--muted); font-weight:500}
.rcv-l b{font-variant-numeric:tabular-nums} .rcv-l b.up{color:var(--danger)} .rcv-l b.dn{color:oklch(0.5 0.13 150)}
.price-box.learned small{display:block; color:var(--muted); font-size:12.5px; margin-top:2px}
/* a product much cheaper at another chain nearby: a small corner hint (the store card does the real comparison) */
.t-save{position:absolute; bottom:-7px; inset-inline-end:-4px; z-index:1; padding:2px 8px; border-radius:99px; background:oklch(0.55 0.14 150); color:#fff; font-size:11.5px; font-weight:800; line-height:1.3; box-shadow:0 0 0 2px var(--bg); font-variant-numeric:tabular-nums}
.tile.done .t-save{display:none}
.cmp-open{margin-top:12px}
/* settings: which chains the distance takes in, live while sliding */
.pf-reach{margin-top:8px}
.pf-rh{margin:0 0 6px; font-size:13.5px; color:var(--muted)} .pf-rh b{color:var(--ink)}
.pf-rl{display:flex; flex-wrap:wrap; gap:6px}
.pf-rc{border-radius:99px; padding:4px 10px; font-size:13px; font-weight:600; background:var(--surface-2); color:var(--muted); box-shadow:inset 0 0 0 1px var(--line); border:1px dashed transparent}
.pf-rc small{font-weight:500}
.pf-rc:not(.on){background:none; border-color:var(--line); box-shadow:none}
.pf-rc.on{background:oklch(0.94 0.06 150); color:oklch(0.32 0.09 150); box-shadow:none}
.pf-rc.new{animation:justAdded 1.2s ease-out}

/* 2026-11-23: the ✓ in a tile's top corner moves it into the cart with one tap (dragging still works); bigger tap area than it looks */
.t-chk{position:absolute; top:5px; inset-inline-end:5px; z-index:1; width:22px; height:22px; border-radius:50%; display:grid; place-items:center;
  background:oklch(1 0 0 / .85); box-shadow:inset 0 0 0 1.5px oklch(0.75 0.06 var(--h)); color:oklch(0.55 0.08 var(--h))}
.t-chk::after{content:""; position:absolute; inset:-9px}
.t-chk svg{width:13px; height:13px; stroke-width:3}
.t-chk:active{transform:scale(.85)}
.tile.done .t-chk{background:oklch(0.6 0.15 150); box-shadow:none; color:#fff}
/* a club-only sale at the user's own store (they marked the club in settings) */
.t-deal.club{background:oklch(0.45 0.12 280)}
/* the estimate's label wraps to two short lines (an inline <small> ignored max-width, so the chip pushed the cart chip off screen) */
.est-chip .ec-l{display:inline-block; max-width:6.5em}
.est-chip{min-width:0}
.cart-chip{flex:none}

/* feedback: the sheet, the home card, the faces after shopping, the reply, the badge, the founder's list */
.fb-hi{display:flex; gap:12px; align-items:center; margin:0 0 14px}
.fb-hi p{margin:0; font-size:15px; line-height:1.45}
.fb-kinds{margin:0 0 12px}
.fb-t{resize:vertical; min-height:120px; font:inherit; line-height:1.45}
.fb-files{display:flex; gap:8px; margin:10px 0 0}
.fb-f{position:relative; width:64px; height:64px; border-radius:14px; overflow:hidden; background:var(--surface); display:grid; place-items:center; font-size:26px}
.fb-f img{width:100%; height:100%; object-fit:cover}
.fb-f button{position:absolute; top:3px; inset-inline-end:3px; width:22px; height:22px; border:0; border-radius:99px; background:rgb(0 0 0 / .55); color:#fff; display:grid; place-items:center; padding:0}
.fb-f button svg{width:12px; height:12px}
.fb-add{display:flex; gap:8px; justify-content:center; margin:10px 0 0; cursor:pointer}
.fb-add svg{width:18px; height:18px}
.fb-ctx{font-size:12.5px; margin:12px 2px}
.fb-card{position:relative; display:flex; gap:12px; align-items:center; margin:16px 16px 0; padding:14px 16px; border-radius:22px;
  background:linear-gradient(160deg, oklch(0.97 0.04 20), oklch(0.94 0.06 30)); box-shadow:inset 0 0 0 1.5px oklch(0.88 0.07 25)}
.fb-c-t{display:grid; gap:3px; flex:1; padding-inline-end:22px}
.fb-c-t b{font-weight:800; font-size:15.5px}
.fb-c-t span{font-size:13.5px; color:var(--muted)}
.fb-c-t .btn{justify-self:start; margin-top:6px}
.fb-x{position:absolute; top:8px; inset-inline-end:8px; border:0; background:none; color:var(--muted); width:30px; height:30px; display:grid; place-items:center; padding:0}
.fb-x svg{width:16px; height:16px}
.fb-trip{display:grid; justify-items:center; gap:6px; text-align:center}
.fb-trip p{margin:0; font-weight:800; font-size:19px}
.fb-moods{display:flex; gap:10px; margin:8px 0 4px}
.fb-moods button{border:0; background:var(--surface); border-radius:20px; padding:12px 16px; display:grid; gap:2px; justify-items:center; min-width:84px}
.fb-moods span{font-size:36px; line-height:1}
.fb-moods small{font-size:13px; color:var(--muted)}
.fb-reply{display:grid; justify-items:center; gap:10px}
.fb-r{background:var(--surface); border-radius:18px; padding:12px 14px; width:100%; box-sizing:border-box}
.fb-r p{margin:4px 0 0; font-size:16px; line-height:1.45}
.fb-badge{display:flex; gap:10px; align-items:center; margin:0 0 12px; padding:10px 14px; border-radius:18px; background:oklch(0.96 0.05 25)}
.fb-badge span{display:grid}
.fb-badge small{color:var(--muted); font-size:12.5px}
.adm-fb{margin:12px 0}
.fba{background:var(--surface); border-radius:18px; padding:12px 14px; margin:0 0 10px}
.fba.done{opacity:.6}
.fba-h{display:grid; gap:2px}
.fba-t{white-space:pre-wrap; margin:8px 0; line-height:1.45}
.fba-f{font-size:14px; margin:0 0 8px}
.fba-st{margin:6px 0}
.fba-r{margin:6px 0; color:var(--muted); font-size:14px}
.fba-rep{display:flex; gap:8px; align-items:center}
.fba-rep .field{padding:10px 14px; font-size:15px}
