:root{--red:#da291c;--red-d:#a3170f;--tint:#fff4f3;--accent:#ffd124;--ring:rgba(218,41,28,.15);--ink:#1d1d1b;--mut:#6b6762;--line:#e7e2da;--bg:#f6f3ee;--card:#fff;--ok:#1e7a3c;--r:14px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);padding-bottom:96px}
.wrap{max-width:760px;margin:0 auto;padding:0 14px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
button,input,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.top{background:var(--red);color:#fff}
.top-in{display:flex;align-items:center;gap:12px;padding-top:12px;padding-bottom:12px}
.logo{width:56px;height:auto;background:#fff;border-radius:12px;padding:4px}
.logo.logo-combined{width:56px;height:56px;padding:0;border-radius:50%;object-fit:contain;box-shadow:0 0 0 2px #fff}
.top h1{margin:0;font-size:24px;letter-spacing:-.01em}
.sub{margin:2px 0 0;font-size:14px;opacity:.92}
.card{background:var(--card);border-radius:var(--r);padding:16px;margin:14px 0;box-shadow:0 1px 2px rgba(0,0,0,.05),0 0 0 1px var(--line)}
.card h2{margin:0 0 12px;font-size:19px;display:flex;align-items:center;gap:10px}
.card-head{display:flex;justify-content:space-between;align-items:center}
.card-head h2{margin-bottom:0}
.step{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-size:15px;flex:none}
.field{margin:0 0 12px}
.field label{display:block;font-weight:600;font-size:15px;margin-bottom:5px}
.req{color:var(--red)}
.opt{font-weight:400;color:var(--mut);font-size:13px}
input[type=text],input[type=tel],input[type=email],input[type=date],input[type=search],input:not([type]),textarea{width:100%;min-height:48px;padding:11px 12px;border:1.5px solid #d6d0c6;border-radius:10px;background:#fff;font-size:17px}
textarea{resize:vertical;min-height:64px}
input:focus,textarea:focus{border-color:var(--red);outline:none;box-shadow:0 0 0 3px var(--ring)}
.invalid{border-color:var(--red)!important;background:#fff6f5!important}
.hint{margin:5px 0 0;font-size:13px;color:var(--mut)}
.hint.ok{color:var(--ok);font-weight:600}
.err{color:var(--red);font-weight:600;margin:6px 0 12px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 22px;border:0;border-radius:12px;background:var(--red);color:#fff;font-weight:700;font-size:17px;cursor:pointer;width:100%}
.btn:hover{background:var(--red-d)}
.btn:disabled{opacity:.6;cursor:wait}
.btn.ghost{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px #cfc8bd}
.link{background:none;border:0;color:var(--red);font-weight:700;font-size:16px;padding:10px 4px;cursor:pointer}
.details-summary{margin-top:10px;font-size:15px;line-height:1.5;color:#3b3935}
.details-summary b{color:var(--ink)}
.companies{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.co{position:relative;min-height:76px;border:2px solid var(--line);background:#fff;border-radius:12px;padding:10px 6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center}
.co-name{font-weight:800;font-size:16px;line-height:1.15}
.co-meta{font-size:12px;color:var(--mut)}
.co[aria-selected=true]{border-color:var(--red);background:var(--tint);box-shadow:0 0 0 1px var(--red) inset}
.co .badge{position:absolute;top:-8px;right:-6px;background:var(--red);color:#fff;font-size:12px;font-weight:800;border-radius:999px;padding:2px 7px;min-width:22px}
.pick-hint{color:var(--mut);font-size:14px;margin:12px 2px 0}
.sfield input{padding-left:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b6762' stroke-width='2.2'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='m13 13 5 5'/%3E%3C/svg%3E") no-repeat 12px center}
.count{font-size:13px;color:var(--mut);margin:2px 2px 6px}
.cat{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--red);margin:16px 2px 4px}
.item{display:grid;grid-template-columns:64px 1fr;gap:10px 12px;align-items:center;padding:10px 2px;border-bottom:1px solid var(--line)}
.item.has{background:#fffaf0}
.item{--s:64px}
.thumb{width:var(--s);height:var(--s);border-radius:10px;background-color:#fff;background-repeat:no-repeat;background-size:calc(var(--s) * 10) auto;background-position:calc(var(--s) * var(--c) * -1) calc(var(--s) * var(--r) * -1);box-shadow:0 0 0 1px var(--line);display:block}
.ph{display:grid;place-items:center;width:64px;height:64px;border-radius:10px;background:#f4efe8;color:#b9b0a3;font-weight:800;font-size:13px}
.meta{min-width:0}
.code{font-weight:800;font-size:15px;color:var(--red);font-variant-numeric:tabular-nums}
.name{font-weight:600;font-size:16px;line-height:1.25}
.unit{font-size:13px;color:var(--mut);margin-top:2px}
.qty{grid-column:1/-1;display:flex;align-items:center;gap:6px}
.qty button{width:48px;height:48px;border-radius:12px;border:1.5px solid #d6d0c6;background:#fff;font-size:24px;font-weight:700;line-height:1;cursor:pointer;flex:none;display:grid;place-items:center;touch-action:manipulation}
.qty button.plus{background:var(--red);border-color:var(--red);color:#fff}
.qty button:disabled{opacity:.35}
.qty input{width:72px;min-height:48px;text-align:center;font-weight:800;font-size:19px;padding:6px;border-radius:12px}
.unitsw{margin-left:auto;display:flex;border:1.5px solid #d6d0c6;border-radius:12px;overflow:hidden;flex:none}
.unitsw button{width:auto;height:44px;border:0;border-radius:0;background:#fff;font-size:15px;font-weight:700;padding:0 12px;color:var(--mut)}
.unitsw button+button{border-left:1.5px solid #d6d0c6}
.unitsw button[aria-pressed=true]{background:var(--ink);color:#fff}
.empty{padding:22px 4px;color:var(--mut);text-align:center}
.bar{position:fixed;left:0;right:0;bottom:0;z-index:20;background:#fff;box-shadow:0 -4px 18px rgba(0,0,0,.12);padding:10px 0 calc(10px + env(safe-area-inset-bottom))}
.bar-in{display:flex;align-items:center;gap:12px}
.bar-txt{display:flex;flex-direction:column;line-height:1.2;min-width:96px}
.bar-txt b{font-size:18px}
.bar-txt span{font-size:13px;color:var(--mut)}
.bar .btn{flex:1}
dialog{border:0;padding:0;border-radius:18px;width:min(640px,calc(100% - 20px));max-height:calc(100% - 30px);box-shadow:0 20px 60px rgba(0,0,0,.3)}
dialog::backdrop{background:rgba(20,16,12,.55)}
.dlg{padding:18px 16px}
.dlg h2{margin:0 0 10px;font-size:21px}
.dlg h3{font-size:15px;margin:16px 0 6px;color:var(--red);text-transform:uppercase;letter-spacing:.04em}
.dlg .who{font-size:15px;line-height:1.5;background:var(--bg);border-radius:10px;padding:10px 12px}
.sum{width:100%;border-collapse:collapse;font-size:15px}
.sum td{padding:8px 4px;border-bottom:1px solid var(--line);vertical-align:top}
.sum td.c{font-weight:800;color:var(--red);white-space:nowrap;width:1%}
.sum td.q{text-align:right;font-weight:800;white-space:nowrap}
.sum .u{font-size:12px;color:var(--mut)}
.sum tfoot td{font-weight:800;border:0}
.route{font-size:13px;color:var(--mut);margin:4px 0 0}
.dlg-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-top:16px;position:sticky;bottom:0;background:#fff;padding-top:8px}
.done{text-align:center;padding:28px 18px}
.done h2{justify-content:center;font-size:24px}
.check{width:64px;height:64px;border-radius:50%;background:var(--ok);color:#fff;font-size:36px;display:grid;place-items:center;margin:0 auto 12px}
.done p{font-size:16px;line-height:1.5}
.foot{color:var(--mut);font-size:12px;text-align:center;padding:8px 14px 20px}
@media (min-width:640px){
  .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  #details-form{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
  #details-form .field:nth-child(5),#details-form .field:nth-child(6),#details-form .field:nth-child(8),#details-form .err,#details-form .btn{grid-column:1/-1}
  .item{grid-template-columns:72px 1fr auto}
  .item{--s:72px}
  .ph{width:72px;height:72px}
  .qty{grid-column:auto}
  .unitsw{margin-left:10px}
  .co-name{font-size:18px}
  .btn{width:auto}
  .bar .btn{flex:0 0 auto;margin-left:auto;min-width:220px}
}
/* staff order view */
.orderview{padding-bottom:30px}
.ov{max-width:720px;margin:0 auto;padding:16px 14px}
.ov-head{display:flex;gap:12px;align-items:center}
.ov-head img{width:60px;height:auto}
.ov-head h1{margin:0;font-size:24px}
.ov-head p{margin:2px 0 0;color:var(--mut)}
.seen{margin:14px 0;padding:12px 14px;border-radius:10px;background:#fff5d6;font-weight:700}
.seen.on{background:#e6f4ea;color:var(--ok)}
.ov-card{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 0 0 1px var(--line)}
.ov-card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0}
.ov-card dt{color:var(--mut);font-size:14px}
.ov-card dd{margin:0}
.ov-table{width:100%;border-collapse:collapse;background:#fff;margin-top:14px;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px var(--line)}
.ov-table th,.ov-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.ov-table .c{font-weight:800;color:var(--red)}
.ov-table .q{text-align:right;font-weight:800;white-space:nowrap}
.ov-table .u{font-size:12px;color:var(--mut)}
.ov-table tfoot td{font-weight:800}

.install{display:flex;align-items:center;gap:10px;background:#fff;border-radius:var(--r);padding:10px 12px;margin:14px 0 0;box-shadow:0 0 0 1px var(--line)}
.install img{border-radius:9px;flex:none}
.install p{margin:0;font-size:14px;line-height:1.35;flex:1}
.btn.small{min-height:40px;width:auto;padding:0 14px;font-size:15px;flex:none}
.install .x{background:none;border:0;font-size:26px;line-height:1;color:var(--mut);width:40px;height:40px;cursor:pointer;flex:none}

.pin{position:sticky;top:0;z-index:30;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.top-in{position:relative}
.myorder{margin-left:auto;display:flex;align-items:center;gap:6px;background:#fff;color:var(--red);border:0;border-radius:999px;padding:8px 12px;font-weight:800;font-size:15px;min-height:44px;cursor:pointer;flex:none}
.myorder b{background:var(--red);color:#fff;border-radius:999px;min-width:24px;padding:1px 7px;font-size:14px;text-align:center}
.myorder.has{box-shadow:0 0 0 3px var(--accent)}
.sbar{background:#fff;padding:10px 0 6px;border-bottom:1px solid var(--line)}
.sfield{position:relative}
.sfield input{font-size:18px;min-height:52px;padding-right:64px}
.kbd{position:absolute;right:6px;top:6px;height:40px;min-width:48px;border-radius:9px;border:1.5px solid #d6d0c6;background:#faf8f4;font-weight:800;font-size:14px;color:var(--ink);cursor:pointer}
.kbd[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.scope{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:var(--mut);padding:6px 2px 2px;min-height:30px}
.allco{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--ink);font-size:14px}
.allco input{width:20px;height:20px;accent-color:var(--red)}
.results{max-height:min(60vh,460px);overflow:auto;margin:6px 0 4px;border-radius:12px;box-shadow:0 0 0 1px var(--line),0 10px 24px rgba(0,0,0,.12);background:#fff;-webkit-overflow-scrolling:touch}
.res{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:8px 10px;cursor:pointer;min-height:60px}
.res:last-child{border-bottom:0}
.res:active,.res:focus-visible{background:var(--tint)}
.res .thumb,.res .ph{--s:48px;width:48px;height:48px}
.res .ph svg{width:30px;height:30px}
.res .rc{font-weight:800;color:var(--red);font-variant-numeric:tabular-nums}
.res .rc mark{background:#ffe08a;color:inherit;border-radius:3px}
.res .rn{font-size:15px;font-weight:600;line-height:1.2}
.res .rco{font-size:12px;color:var(--mut)}
.res .rq{font-weight:800;font-size:13px;color:var(--ok);white-space:nowrap}
.res-more{padding:10px;text-align:center;font-size:13px;color:var(--mut)}
.item.flash{animation:flash 1.6s ease}
@keyframes flash{0%,40%{background:#ffe9a8}100%{background:transparent}}
.item{scroll-margin-top:190px}
.ph{color:#a89f92}
.ph svg{width:38px;height:38px}
@media (max-width:420px){.myorder span{display:none}.top h1{font-size:21px}.logo{width:42px}.sub{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-in{padding-top:8px;padding-bottom:8px}.sbar{padding-top:8px}}

/* search bar lives in the chosen company's list, pinned under the header */
#list-area .sbar{position:sticky;top:var(--hh,76px);z-index:15;background:#fff;margin:0 -16px 8px;padding:10px 16px 6px;border-bottom:1px solid var(--line);border-top:1px solid var(--line)}
.slabel{display:block;font-weight:800;font-size:15px;margin:0 2px 6px;color:var(--ink)}
#list-area .results{max-height:min(55vh,440px)}

/* My usual items (returning customers) */
.usual{background:#fff8e8;border:1.5px solid #f0d9a6;border-radius:var(--r);padding:12px 10px 4px;margin:4px 0 14px}
.btn.repeat{min-height:64px;font-size:19px;gap:12px;background:var(--ok);margin-bottom:6px;text-align:left}
.btn.repeat:hover{background:#17602f}
.btn.repeat small{display:block;font-size:14px;font-weight:600;opacity:.9}
.btn.repeat .rp-ic{font-size:28px;line-height:1}
.btn.repeat.done{background:#fff;color:var(--ok);box-shadow:inset 0 0 0 2px var(--ok)}
.rp-msg{color:var(--ok);font-weight:700;margin:6px 2px 4px;font-size:15px}
.usual-h{font-size:17px;font-weight:800;color:var(--ink);margin:12px 2px 2px}
.usual .item:last-child{border-bottom:0}
.all-h{font-size:15px;font-weight:800;color:var(--mut);margin:6px 2px 0;text-transform:uppercase;letter-spacing:.04em}

/* narrow phones and large-text settings: nothing may run wider than the screen */
html,body{overflow-x:clip;max-width:100%}
.name,.unit,.code{overflow-wrap:anywhere}
.qty{flex-wrap:wrap;row-gap:8px}
.qty input{flex:0 1 72px;min-width:52px;width:72px}
.sfield input{width:100%;max-width:100%;box-sizing:border-box}
.scope{flex-wrap:wrap}
.btn.repeat{white-space:normal}
.top-in>div{min-width:0;flex:1 1 auto}
@media (max-width:340px){.top h1{font-size:19px}.logo{width:36px}.top-in{gap:8px}.myorder{padding:6px 10px}}
.companies{grid-template-columns:repeat(3,minmax(0,1fr))}
.co{min-width:0}.co-name{overflow-wrap:anywhere}
.card-head{flex-wrap:wrap;gap:4px}
@media (max-width:400px){.qty{gap:5px}.qty input{width:58px;flex-basis:58px}.unitsw button{padding:0 10px}}

/* My past orders */
.btn.past-open{margin-top:12px}
#done .btn.past-open{margin-top:10px}
.past-top{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.past-top .link{padding:4px 0}
.past-sub{color:var(--mut);font-size:15px;margin:0 0 10px;line-height:1.45}
.past-sub b{color:var(--ink)}
.po{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:12px;margin:0 0 8px;cursor:pointer;font:inherit;color:var(--ink);min-height:64px}
.po:hover,.po:focus-visible{border-color:var(--red)}
.po-l{display:flex;flex-direction:column;gap:2px;min-width:0}
.po-l b{font-size:17px}
.po-when{font-size:15px}
.po-co{font-size:13px;color:var(--mut)}
.po-r{display:flex;align-items:center;gap:6px;flex:none}
.po-ago{font-size:13px;font-weight:700;color:var(--red);background:var(--tint);border-radius:999px;padding:3px 9px;white-space:nowrap}
.po-go{font-size:26px;color:#b9b0a3;line-height:1}
.sum .u.gone{color:var(--red);font-weight:700}
.past-actions .btn.repeat{min-height:52px;margin:0;font-size:17px;justify-content:center}
.again-msg{background:#eef8f1;border-radius:10px;padding:10px 12px;margin:0 0 10px}

/* company logos (Oct 29) */
.co-logo{display:block;height:46px;width:auto;max-width:92%;object-fit:contain;margin:0 auto 2px}
.co-logo-mesorah{height:30px;margin-top:8px;margin-bottom:8px}
.logo.logo-mesorah{width:96px;height:auto;padding:8px 6px}
.logo.logo-deli,.logo.logo-poultry{width:56px}
.sum-co{display:flex;align-items:center;gap:8px}
.sum-logo{height:28px;width:auto;max-width:90px;object-fit:contain}
@media (max-width:420px){.co-logo{height:40px}.co-logo-mesorah{height:24px;margin-top:8px;margin-bottom:8px}.logo.logo-deli,.logo.logo-poultry{width:42px}.logo.logo-mesorah{width:78px;padding:6px 5px}.co-name{font-size:15px}}
@media (max-width:340px){.co-logo{height:34px}.co-logo-mesorah{height:20px}.logo.logo-deli,.logo.logo-poultry{width:36px}.logo.logo-mesorah{width:66px}}
/* Mesorah Farms colors (from mesorahfarms.com: navy #111C4E, dark navy #00082C, yellow #FFCD00, cream #FCF7D7) while ordering from Mesorah */
html.theme-mesorah{--red:#111c4e;--red-d:#00082c;--tint:#fcf7d7;--accent:#ffcd00;--ring:rgba(17,28,78,.18)}
html.theme-mesorah .top{border-bottom:4px solid #ffcd00}
/* KJ Deli colors (from the KJ Deli Provisions logo: navy #0D2544, gold #BF985B) while ordering from KJ Deli */
html.theme-deli{--red:#0d2544;--red-d:#06162b;--tint:#f8f1e4;--accent:#bf985b;--ring:rgba(13,37,68,.18)}
html.theme-deli .top{border-bottom:4px solid #bf985b}

.fb h2{font-size:18px}
.fb-lead{margin:-4px 0 12px;color:var(--mut);font-size:15px}
.fb-thanks{margin:4px 0;font-size:17px;font-weight:700;color:#1f7a3a}

/* Oct 30: never wider than the screen (Android large text / desktop-site mode) */
html,body{overflow-x:hidden;max-width:100%}
html,body{overflow-x:clip}
.card,#list,#list-area,.item,.meta,.qty{min-width:0;max-width:100%}
.item{grid-template-columns:64px minmax(0,1fr)}
.name{overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.qty{flex-wrap:wrap;row-gap:8px}
.unitsw{flex:0 1 auto;min-width:0;max-width:100%}
.unitsw button{min-width:0;white-space:nowrap}
.sfield{min-width:0;max-width:100%}
.sbar{min-width:0}
.sfield input{min-width:0;text-overflow:ellipsis}
@media (max-width:420px){.logo.logo-combined{width:42px;height:42px}}
@media (min-width:640px){
  .item{grid-template-columns:72px minmax(0,1fr) minmax(0,max-content)}
  .qty{justify-content:flex-end}
}

/* voice order */
.vo-lead{margin:-4px 0 12px;color:var(--mut);font-size:15px}
.btn.vo-rec{font-size:19px;min-height:56px}
.vo-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:18px}
.vo-dot{width:14px;height:14px;border-radius:50%;background:#e01b1b;animation:vopulse 1s infinite}
@keyframes vopulse{50%{opacity:.25}}
.vo-max{color:var(--mut);font-weight:400}
.btn.vo-stop{width:auto;margin-left:auto;background:#222;border-color:#222;padding:0 22px;min-height:50px}
.vo-tx{font-size:14px;color:var(--mut);margin:8px 0 0;white-space:pre-wrap}
.vo-tx:empty{display:none}
#vo-audio{width:100%;margin:2px 0 6px}
.vo-ok{margin:4px 0 10px;font-weight:600;color:#1f7a3a}
.vo-actions{display:flex;gap:8px;flex-wrap:wrap}
.vo-actions .btn{flex:1 1 140px;width:auto}
.voice.has{box-shadow:0 0 0 2px #1f7a3a}
#confirm-voice .voice{margin:12px 0 4px;box-shadow:0 0 0 1px var(--line)}
#confirm-voice .voice.has{box-shadow:0 0 0 2px #1f7a3a}
.vo-jump{margin-top:6px;font-size:15px}
.vo-only{font-weight:700;margin:12px 0 0}
#confirm-voice .vo-lead,#confirm-voice .vo-hint{display:none}

/* "Save as app" button at the top of the page + install steps (Chaim, Oct 30 12:05 AM) */
.saveapp-wrap{margin:12px 0 0}
.saveapp{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 14px;background:#fff;border:2px solid var(--red);border-radius:var(--r);color:var(--ink,#1d1d1b);font:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.saveapp .sa-ic{font-size:24px;line-height:1;flex:none}
.saveapp .sa-t{display:flex;flex-direction:column;font-weight:800;font-size:16px;color:var(--red)}
.saveapp .sa-t small{font-weight:500;font-size:12.5px;color:var(--mut);margin-top:1px}
.saveapp:active{transform:translateY(1px)}
#iosapp{width:min(420px,calc(100% - 24px));margin:auto auto 70px}
.ia{padding:18px 18px 16px}
.ia h2{margin:0 0 10px;font-size:20px}
.ia-steps{list-style:none;margin:0 0 14px;padding:0;counter-reset:s}
.ia-steps li{counter-increment:s;position:relative;display:block;padding:10px 0 10px 34px;border-top:1px solid var(--line);font-size:15px;line-height:1.45}
.ia-steps li:first-child{border-top:0}
.ia-steps li::before{content:counter(s);position:absolute;left:0;top:10px;width:24px;height:24px;border-radius:50%;background:var(--red);color:#fff;font-weight:800;font-size:13px;display:grid;place-items:center}
.ia-ic{vertical-align:-5px;margin:0 2px}
.ia .btn{width:100%}
.ia-arrow{position:fixed;left:50%;bottom:6px;transform:translateX(-50%);z-index:2147483647;display:flex;flex-direction:column;align-items:center;font-size:34px;line-height:1;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.5);pointer-events:none;animation:iab 1s ease-in-out infinite}
.ia-arrow span{font-size:13px;font-weight:700;background:#0a84ff;color:#fff;border-radius:999px;padding:4px 10px;margin-bottom:2px;text-shadow:none}
.ia-arrow[hidden]{display:none}
@keyframes iab{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,6px)}}

/* "My items" / "All items" switch + Recent / Popular (Oct 30 2026) */
.viewsw{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#ece7df;border-radius:12px;padding:4px;margin:4px 0 10px}
.viewsw button{min-height:44px;border:0;border-radius:9px;background:transparent;font:inherit;font-weight:800;font-size:15px;color:var(--mut);cursor:pointer;padding:6px 8px}
.viewsw button small{font-weight:700;font-size:12px;opacity:.75;margin-left:2px}
.viewsw button[aria-selected=true]{background:#fff;color:var(--red);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.btn.show-all{width:100%;margin:14px 0 4px}
.usual.popular .usual-h,.usual.recent .usual-h{margin-top:10px}
