[hidden]{display:none!important}
:root{--sh-bg:#EEF4F2;--sh-ink:#10343B;--sh-mute:#4F6A6D;--sh-line:#D5E2DF;--sh-ok:#1E6B34;--sh-bad:#C8391F;--sh-brand:#10343B;--sh-lure:#D7E318;--sh-bait:#0F5C57;--sh-amber:#F2B233}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--sh-ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.sh-ok{color:var(--sh-ok)}.sh-bad{color:var(--sh-bad)}.sh-mute{color:var(--sh-mute)}
.sh-env{display:inline-block;padding:1px 8px;border-radius:6px;font-size:13px;font-weight:700}
.sh-env.test{background:var(--sh-amber);color:var(--sh-ink)}.sh-env.live{background:var(--sh-ok);color:#fff}

/* sign-in + setup pages */
.sh-auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}
.sh-auth-side{background:var(--sh-brand);color:#e6f1f2;padding:48px;display:flex;flex-direction:column;justify-content:space-between}
.sh-auth-side h1{margin:0;font-size:34px;color:#fff;letter-spacing:-.01em}.sh-auth-side p{margin:6px 0 0;opacity:.85}
.sh-auth-side ul{list-style:none;padding:0;margin:0;font-size:15px;opacity:.9}
.sh-auth-side li{padding:6px 0;border-top:1px solid rgba(255,255,255,.15)}
.sh-auth-main{display:grid;place-items:center;padding:24px}
.sh-auth-box{width:100%;max-width:360px}
.sh-auth-box h2{margin:14px 0 4px;font-size:24px}.sh-auth-box .sh-sub{color:var(--sh-mute);margin:0 0 18px}
.sh-auth-box label{display:block;font-size:14px;font-weight:600;margin:14px 0 6px}
.sh-auth-box input{width:100%;padding:12px;border:1px solid var(--sh-line);border-radius:8px;font:inherit}
.sh-auth-box input:focus{outline:2px solid var(--sh-brand);border-color:transparent}
.sh-btn{margin-top:22px;width:100%;padding:12px;border:0;border-radius:8px;background:var(--sh-brand);color:#fff;font:600 16px system-ui;cursor:pointer}
.sh-btn[disabled]{opacity:.6;cursor:wait}
.sh-msg{margin-top:14px;padding:10px 12px;border-radius:8px;font-size:14px}
.sh-msg.err{background:#fdecea;color:var(--sh-bad)}.sh-msg.good{background:#e7f4ec;color:var(--sh-ok)}
.sh-help{margin-top:16px;font-size:14px;color:var(--sh-mute)}
@media(max-width:760px){.sh-auth{grid-template-columns:1fr}.sh-auth-side{padding:24px}.sh-auth-side ul{display:none}}

/* ---------- signed-in app shell (app.js) ---------- */
.sh-top{display:flex;align-items:center;gap:12px;padding:10px 20px;background:var(--sh-brand);color:#fff;position:sticky;top:0;z-index:5}
.sh-brand{color:#fff;text-decoration:none;font-weight:700;font-size:18px}
.sh-sp{flex:1}.sh-who{font-size:14px;opacity:.9}
.sh-toplink{color:#fff;font-size:14px;opacity:.9}
.sh-top button{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:6px;padding:5px 10px;font:inherit;font-size:14px;cursor:pointer}
.sh-top .sh-menu{display:none;border:0;font-size:20px;padding:0 4px}
.sh-layout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 54px);background:var(--sh-bg)}
.sh-nav{background:#fff;border-right:1px solid var(--sh-line);padding:12px 0}
.sh-nav-g{font-size:12px;color:var(--sh-mute);padding:12px 20px 4px;font-weight:600}
.sh-nav-a{display:block;padding:8px 20px;color:var(--sh-ink);text-decoration:none}
.sh-nav-a:hover{background:#f2f6f7}
.sh-nav-a.on{background:#e3eef0;border-left:3px solid var(--sh-brand);padding-left:17px;font-weight:600}
.sh-main{padding:20px 24px;min-width:0}
.sh-main h1{margin:2px 0 14px;font-size:24px}
.sh-crumb{font-size:13px;color:var(--sh-mute)}
.sh-small{font-size:13px}
.sh-box{background:#fff;border:1px solid var(--sh-line);border-radius:12px;overflow:hidden;max-width:1100px}
.sh-scroll{overflow-x:auto}
.sh-table{width:100%;border-collapse:collapse;font-size:15px}
.sh-table th,.sh-table td{text-align:left;padding:10px 14px;border-top:1px solid var(--sh-line);white-space:nowrap}
.sh-table th{border-top:0;color:var(--sh-mute);font-size:13px;font-weight:600;background:#f6f9fa}
.sh-num{text-align:right!important}
.sh-act a{color:var(--sh-brand);margin-right:14px;font-size:14px}
.sh-off td{color:var(--sh-mute)}
.sh-pill{font-size:12px;padding:1px 7px;border-radius:10px;background:#eef3f4;color:var(--sh-mute);margin-left:6px}
.sh-warn{color:#8a5a00}
.sh-grid td,.sh-grid th{text-align:center}.sh-grid td:first-child,.sh-grid th:first-child{text-align:left}
.sh-grid th{white-space:normal;padding:10px 8px}.sh-grid td:first-child{white-space:normal;min-width:200px}
.sh-grid input{width:18px;height:18px;accent-color:var(--sh-brand)}
.sh-grp td{background:#f6f9fa;font-weight:600;font-size:13px;color:var(--sh-mute);text-align:left!important}
.sh-tabs{display:flex;gap:4px;border-bottom:1px solid var(--sh-line);margin-bottom:16px}
.sh-tabs a{padding:8px 14px;color:var(--sh-mute);text-decoration:none}
.sh-tabs a.on{color:var(--sh-ink);font-weight:600;border-bottom:2px solid var(--sh-brand)}
.sh-bar{display:flex;gap:10px;margin-bottom:12px;max-width:1100px}
.sh-bar input{flex:1;max-width:320px;padding:9px 12px;border:1px solid var(--sh-line);border-radius:8px;font:inherit}
.sh-btn-sm{width:auto;margin-top:0;padding:9px 14px;font-size:14px}
.sh-main>section>.sh-btn-sm{margin-top:4px}
.sh-btn-ghost{background:#fff;border:1px solid var(--sh-line);border-radius:8px;padding:8px 14px;font:inherit;font-size:14px;cursor:pointer}
.sh-msg.info{background:#eef5fb;color:#1d4f73}
.sh-form label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}
.sh-form input:not([type=checkbox]),.sh-form select{width:100%;padding:10px 12px;border:1px solid var(--sh-line);border-radius:8px;font:inherit;background:#fff}
.sh-form input:disabled,.sh-form select:disabled{background:#f2f5f6;color:var(--sh-mute)}
.sh-main>section>.sh-form{max-width:420px;padding:20px}
.sh-check{display:flex!important;gap:8px;align-items:center;font-weight:500!important}
.sh-dlg{border:0;border-radius:14px;padding:22px;width:min(420px,92vw)}
.sh-dlg::backdrop{background:rgba(22,50,58,.45)}
.sh-dlg h2{margin:0 0 6px;font-size:20px}
.sh-dlg-btns{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.sh-temp{display:flex;gap:10px;align-items:center;background:#f6f9fa;border:1px solid var(--sh-line);border-radius:8px;padding:10px 12px}
.sh-temp code{flex:1;font-size:20px;letter-spacing:.04em}
.sh-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;max-width:900px}
.sh-tile{background:#fff;border:1px solid var(--sh-line);border-radius:12px;padding:16px;color:var(--sh-ink);text-decoration:none}
.sh-tile b{display:block;font-size:17px}.sh-tile span{color:var(--sh-mute);font-size:14px}
.sh-tile:hover{border-color:var(--sh-brand)}
:focus-visible{outline:2px solid var(--sh-brand);outline-offset:2px}

/* phones: menu button + table rows become cards */
@media(max-width:760px){
  .sh-top{padding:10px 12px;gap:8px}.sh-top .sh-menu{display:block}.sh-toplink,.sh-role{display:none}
  .sh-who{display:block;max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:14px}
  .sh-brand{white-space:nowrap}#sh-out{white-space:nowrap;padding:6px 10px;font-size:13px}.sh-top .sh-sp{flex:1;min-width:0}.sh-top .sh-who{flex-shrink:0}
  .sh-layout{grid-template-columns:1fr}
  .sh-nav{display:none;position:fixed;top:50px;left:0;bottom:0;width:240px;z-index:4;box-shadow:4px 0 16px rgba(0,0,0,.15)}
  .sh-nav.open{display:block}
  .sh-main{padding:14px}
  .sh-cards thead{display:none}
  .sh-cards,.sh-cards tbody,.sh-cards tr,.sh-cards td{display:block;width:100%}
  .sh-cards tr{border-top:1px solid var(--sh-line);padding:8px 0}
  .sh-cards td{border:0;padding:3px 14px;white-space:normal;text-align:left!important}
  .sh-cards td[data-l]::before{content:attr(data-l);display:inline-block;width:110px;color:var(--sh-mute);font-size:13px}
  .sh-cards td.sh-act{padding-top:6px}
  .sh-bar{flex-wrap:wrap}.sh-bar input{max-width:none}
}
/* photos */
.sh-check[hidden]{display:none!important}
.sh-ph{width:44px;height:44px;border-radius:8px;object-fit:cover;border:1px solid var(--sh-line);display:block;background:#f2f5f6}
.sh-ph-btn{padding:0;border:0;background:none;cursor:zoom-in;border-radius:8px}
.sh-ph-add{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px dashed var(--sh-line);border-radius:8px;color:var(--sh-brand);font-size:22px;background:#fff;cursor:pointer}
.sh-ph-busy{cursor:wait;font-size:16px}
.sh-up{font-size:12px;color:var(--sh-mute)}
.sh-dlg-wide{width:min(640px,94vw)}
.sh-ph-big{display:block;width:100%;max-height:65vh;object-fit:contain;background:#f2f5f6;border-radius:10px}
.sh-sumline{margin:0 0 10px;font-weight:600}
.sh-h2{font-size:17px;margin:18px 0 8px}.sh-gap{margin-bottom:6px}

/* ---------- look C (Store Admin colors + MostEdge layout) ---------- */
body{background:var(--sh-bg);font-size:15px;line-height:1.45}
.sh-top{background:var(--sh-ink);gap:14px}
.sh-brand{font-weight:800}
.sh-find{flex:1;max-width:440px;margin-left:10px}.sh-find input{width:100%;background:#1c4a52;border:0;border-radius:6px;padding:8px 12px;color:#fff;font:inherit;font-size:14px}
.sh-find input::placeholder{color:#a9c4c0}
.sh-who{color:#cfe0dc}.sh-toplink{color:#cfe0dc}
.sh-layout{grid-template-columns:232px 1fr;background:var(--sh-bg)}
.sh-nav{font-size:14.5px;padding:10px 0 30px}
.sh-nav-g{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--sh-mute);padding:14px 18px 4px;font-weight:700}
.sh-nav-a{display:flex;align-items:center;gap:10px;padding:7px 18px;color:var(--sh-ink);text-decoration:none;font-weight:600}
.sh-nav-a svg{width:19px;height:19px;fill:none;stroke:var(--sh-bait);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sh-nav-a.sub{padding-left:47px;font-weight:500;color:var(--sh-mute)}
.sh-nav-a.on{background:var(--sh-lure);border-left:0;padding-left:18px;border-radius:0 999px 999px 0;margin-right:12px;color:var(--sh-ink);font-weight:700}
.sh-nav-a.sub.on{padding-left:47px}
.sh-nav-a.soon{color:#9fb3b1;cursor:default}.sh-nav-a.soon svg{stroke:#b7c7c5}
.sh-nav-a em{font-style:normal;font-size:10.5px;font-weight:700;margin-left:auto;background:#EEF4F2;color:#8aa3a0;border-radius:999px;padding:0 6px}
.sh-main h1{font-size:24px}
.sh-box{border-radius:8px}
.sh-table th{background:#F6F9F8;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.sh-btn{background:var(--sh-lure);color:var(--sh-ink);border-radius:6px;font-weight:700}
.sh-btn-ink{background:var(--sh-ink);color:#fff;border:0;border-radius:6px;padding:9px 14px;font:inherit;font-weight:700;font-size:14px;cursor:pointer}
.sh-btn-ghost{border:1.5px solid var(--sh-ink);border-radius:6px;font-weight:700}
.sh-btn-danger{background:#fff;border:1.5px solid var(--sh-bad);color:var(--sh-bad);border-radius:6px;padding:7px 12px;font:inherit;font-weight:700;font-size:13px;cursor:pointer}
.sh-tabs a.on{border-bottom-color:var(--sh-lure);border-bottom-width:3px}
.sh-bnav{display:none}
@media(max-width:760px){
  .sh-find{display:none}
  .sh-layout{grid-template-columns:1fr}
  .sh-main{padding-bottom:84px}
  .sh-bnav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:6;background:#fff;border-top:1px solid var(--sh-line);justify-content:space-around;padding:6px 0 calc(8px + env(safe-area-inset-bottom,0px));font-size:11.5px;font-weight:700}
  .sh-bnav>*{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--sh-mute);text-decoration:none;background:none;border:0;font:inherit;font-size:11.5px;font-weight:700}
  .sh-bnav .on{color:var(--sh-ink)}.sh-bnav .soon{opacity:.45}.sh-bnav i{font-style:normal;font-size:19px}
  .sh-nav{bottom:60px;overflow:auto}
}
/* home (2026-09-29): grouped tiles + today's sales */
.sh-tg{margin:18px 0 8px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--sh-mute)}
.sh-today{display:flex;flex-direction:column;gap:2px;max-width:420px;background:#fff;border:1px solid var(--sh-line);border-radius:12px;padding:14px 16px;margin:8px 0 4px;color:var(--sh-ink);text-decoration:none}
.sh-today b{font-size:28px}.sh-today span{color:var(--sh-mute);font-size:14px}.sh-today:hover{border-color:var(--sh-brand)}
/* photo viewer pop-up (2026-09-29, like Store Admin) */
body.sh-zv-open{overflow:hidden}
.sh-zv{position:fixed;inset:0;z-index:1000;background:#0b1416;display:flex;flex-direction:column;
  width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;color:#fff}
.sh-zv:not([open]){display:none}.sh-zv::backdrop{background:transparent}
.sh-zv-top{display:flex;align-items:center;gap:8px;padding:10px 12px}
.sh-zv-tabs{display:flex;gap:6px;flex-wrap:wrap;flex:1}
.sh-zv-tabs button{background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer}
.sh-zv-tabs button[aria-pressed=true]{background:#DCE35B;color:#12294F;font-weight:700}
.sh-zv-x{background:rgba(255,255,255,.15);color:#fff;border:0;border-radius:999px;width:40px;height:40px;font-size:18px;cursor:pointer}
.sh-zv-stage{flex:1;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:grab}
.sh-zv-stage img{max-width:96%;max-height:100%;object-fit:contain;transition:transform .08s;user-select:none;background:#fff}
.sh-zv-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:64px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font-size:34px;cursor:pointer}
.sh-zv-nav.l{left:10px}.sh-zv-nav.r{right:10px}
.sh-zv-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;color:#fff}
.sh-zv-tools button{background:rgba(255,255,255,.15);color:#fff;border:0;border-radius:8px;min-width:40px;height:36px;font:inherit;cursor:pointer}
.sh-zv-tools a{color:#fff;font-size:14px;margin-left:6px}
.sh-zv-hint{margin-left:auto;font-size:12.5px;opacity:.7}
.sh-zv-wm{position:absolute;inset:-20%;pointer-events:none;color:rgba(255,255,255,.15);font-weight:800;font-size:20px;line-height:2.6;transform:rotate(-28deg);overflow:hidden;text-shadow:0 0 2px rgba(0,0,0,.35);word-break:break-all}
.sh-zv-panel{background:#fff;color:#12294F;border-radius:14px;margin:0 10px 10px;padding:10px 14px;font-size:15px;max-height:42vh;overflow:auto}
.sh-zv-panel:empty,.sh-zv-nopanel .sh-zv-panel{display:none}
.sh-zv-tools #sh-zv-pbtn{margin-left:auto;padding:0 12px}
.zvp-row{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline}
.zvp-row b{font-size:16.5px}.zvp-note{color:#5b6b75;font-size:13.5px;margin:4px 0 0}
.zvp-f{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 10px}
@media (max-width:640px){.sh-zv-tools a{display:none}.zvp-f{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 8px}.zvp-f label:nth-child(1),.zvp-f label:nth-child(4),.zvp-f label:nth-child(5){grid-column:span 2}.sh-zv-panel{padding:8px 10px;margin:0 6px 6px}.zvp-f input,.zvp-f select{padding:6px}.sh-zv-tools{padding:6px 10px}}
.zvp-f label{display:flex;flex-direction:column;font-size:12.5px;color:#5b6b75;gap:2px}
.zvp-f input,.zvp-f select{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:7px 8px;border:1px solid #c9d3d8;border-radius:8px;min-width:0;color:#12294F;background:#fff}
.zvp-ck{display:flex;align-items:center;gap:8px;margin:8px 0 4px;font-weight:700}.zvp-ck input{width:22px;height:22px}
.zvp-btns{display:flex;gap:8px;margin-top:6px}.zvp-btns button{flex:1;min-height:44px;border-radius:10px;border:0;font:inherit;font-weight:800;cursor:pointer}
.zvp-btns .ok{background:#1f7a3d;color:#fff}.zvp-btns .dg{background:#fde8e4;color:#b3261e}
@media (max-width:700px){.sh-zv-hint{display:none}}
.st-big img,.st-cmp img,img.st-mini,.rv-pics img,.pp-ph img,figure img{cursor:zoom-in}

/* pop-ups: the page behind stays still; on phones every pop-up fills the screen (title at the top, buttons always at the bottom) */
html.sh-modal,html.sh-modal body{overflow:hidden}
dialog{overscroll-behavior:contain}
@media (max-width:640px){
  dialog[open]:not(.sh-zv){width:100vw!important;max-width:100vw!important;height:100vh;height:100dvh;max-height:100dvh!important;margin:0!important;border-radius:0!important}
}
@media (max-width:640px){input,select,textarea{font-size:16px!important}}   /* iPhone zooms the page when a box with smaller text is tapped */

/* 2026-09-29 Online orders like Store Admin: count badges, tab strip, 2nd-check reminder */
.sh-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;padding:0 5px;margin-left:6px;border-radius:99px;background:#C8391F;color:#fff;font:800 11px/18px system-ui,sans-serif;font-style:normal;text-align:center;vertical-align:1px}
.sh-bnav i{position:relative}.sh-bnav .sh-badge{position:absolute;top:-6px;left:14px;margin:0;min-width:16px;height:16px;line-height:16px;font-size:10px}
.sh-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:2px solid var(--sh-line,#dde4e3);margin:-4px 0 14px;scrollbar-width:none}
.sh-tabs::-webkit-scrollbar{display:none}
.sh-tabs a{flex:none;display:inline-flex;align-items:center;gap:4px;padding:9px 12px;font-weight:700;font-size:15px;color:var(--sh-mute,#5b6b75);text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-2px;white-space:nowrap}
.sh-tabs a.on{color:var(--sh-ink,#12294F);border-bottom-color:var(--sh-ink,#12294F)}
.sh-v2pop{position:fixed;right:16px;bottom:16px;z-index:900;max-width:340px;background:#fff;border:2px solid #1f7a3d;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.2);padding:14px 16px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.sh-v2pop[hidden]{display:none}.sh-v2pop b{color:#1f5f3a;font-size:15px}.sh-v2pop span{color:var(--sh-mute,#5b6b75)}
.sh-v2pop div{display:flex;gap:8px;margin-top:4px}
.sh-v2go{background:#1f7a3d;color:#fff;border-radius:9px;padding:9px 14px;font-weight:800;text-decoration:none}
.sh-v2later{background:#fff;border:1px solid var(--sh-line,#c9d3d8);border-radius:9px;padding:9px 14px;font:inherit;font-weight:700;cursor:pointer}
@media (max-width:640px){.sh-v2pop{left:12px;right:12px;bottom:78px;max-width:none}}

/* after the switch-over: no practice labels */
.sh-cut .bu-practice,.sh-cut .pp-practice,.sh-cut .st-practice{display:none!important}

/* ---------- Build 1 (2026-09-30): top bar with sections + second row, like Store Admin (replaces the left menu and the phone bottom bar) ---------- */
.sh-crumb{display:none}
.sh-hd{display:flex;align-items:center;gap:8px;padding:0 20px;height:58px;background:var(--sh-ink);color:#fff;position:relative;z-index:2}
.sh-hd svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sh-logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;font-size:18px;margin-right:14px;white-space:nowrap}
.sh-logo b{background:var(--sh-lure);color:var(--sh-ink);border-radius:8px;width:32px;height:32px;display:grid;place-items:center;font-size:13px;letter-spacing:.5px}
.sh-tt{display:flex;gap:2px;height:100%;overflow-x:auto;scrollbar-width:none}.sh-tt::-webkit-scrollbar{display:none}
.sh-tt a{display:flex;align-items:center;gap:8px;padding:0 16px;color:#cfe0de;text-decoration:none;font-weight:600;white-space:nowrap;border-top:3px solid transparent;border-bottom:3px solid transparent}
.sh-tt a:hover{color:#fff;background:#1B4750}.sh-tt a.on{color:#fff;background:#1B4750;border-bottom-color:var(--sh-lure)}
.sh-tt .sh-badge{margin-left:0}
.sh-gear{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;color:#cfe0de}.sh-gear:hover,.sh-gear.on{background:#1B4750;color:#fff}
.sh-me{position:relative}
.sh-me>button{display:flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;border-radius:999px;background:#1B4750;border:0;color:#fff;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.sh-me>button i{width:28px;height:28px;border-radius:50%;background:var(--sh-lure);color:var(--sh-ink);display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800}
.sh-me>button span{max-width:160px;overflow:hidden;text-overflow:ellipsis}
.sh-drop{position:absolute;right:0;top:44px;background:#fff;color:var(--sh-ink);border:1px solid var(--sh-line);border-radius:10px;box-shadow:0 10px 30px rgba(16,52,59,.18);min-width:230px;padding:6px;z-index:30}
.sh-drop div{padding:8px 12px;font-size:13px;color:var(--sh-mute);border-bottom:1px solid #EEF3F2;margin-bottom:4px}
.sh-drop a,.sh-drop button{display:block;width:100%;text-align:left;padding:8px 12px;border-radius:6px;text-decoration:none;color:var(--sh-ink);background:none;border:0;font:inherit;cursor:pointer}
.sh-drop a:hover,.sh-drop button:hover{background:#EEF3F2}
.sh-sub{display:flex;gap:2px;background:#fff;border-bottom:1px solid var(--sh-line);padding:0 14px;overflow-x:auto;scrollbar-width:none;position:relative;z-index:1}
.sh-sub::-webkit-scrollbar{display:none}
.sh-sub a{display:flex;align-items:center;gap:6px;padding:12px 12px 9px;color:#3c5a5e;text-decoration:none;font-weight:600;white-space:nowrap;border-bottom:3px solid transparent}
.sh-sub a:hover{color:var(--sh-ink)}.sh-sub a.on{color:var(--sh-ink);border-bottom-color:var(--sh-ink)}
.sh-sub .sh-badge{margin-left:0}
.sh-body{background:var(--sh-bg);min-height:calc(100vh - 58px)}
.sh-body .sh-main{max-width:1480px;margin:0 auto;padding:20px 26px 40px}
@media(max-width:760px){
  .sh-hd{height:auto;flex-wrap:wrap;padding:8px 12px 0;gap:6px}
  .sh-logo{margin-right:0;font-size:16px}.sh-me>button span{display:none}.sh-me>button{padding:4px}
  .sh-tt{order:5;width:100%;height:46px}.sh-tt a{padding:0 12px}
  .sh-sub{padding:0 6px}
  .sh-body .sh-main{padding:14px 12px 40px}
  .sh-v2pop{bottom:12px}
}

/* Build 7 (2026-09-30): header + sub menu = one sticky bar on every page */
.sh-topbar{position:sticky;top:0;z-index:20}
/* Build 7: Settings › Users & roles › Roles & rights (compact) + Extra rights for a person */
.rr-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px;max-width:1100px}
.rr-tools input[type=search]{border:1px solid var(--sh-line);border-radius:8px;padding:6px 10px;font:inherit;font-size:14px;width:220px;background:#fff}
.rr-chip{border:1px solid var(--sh-line);background:#fff;border-radius:999px;padding:3px 11px;font:inherit;font-size:13px;cursor:pointer;margin-right:4px}.rr-chip.on{background:var(--sh-ink);color:#fff;border-color:var(--sh-ink)}
.rr-link{background:none;border:0;color:var(--sh-ink);text-decoration:underline;font:inherit;font-size:13px;cursor:pointer}
.rr-wrap{background:#fff;border:1px solid var(--sh-line);border-radius:10px;max-width:1100px}
.rr-t{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
.rr-t th{position:sticky;top:var(--sh-bar-h,105px);z-index:3;background:#F6F9F8;color:var(--sh-mute);font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:7px 6px;border-bottom:1px solid var(--sh-line);text-align:center;line-height:1.25;white-space:nowrap}
.rr-t th:first-child{text-align:left;padding-left:12px;border-top-left-radius:10px}.rr-t th:last-child{border-top-right-radius:10px}
.rr-t td{padding:4px 6px;border-bottom:1px solid #EEF3F2;text-align:center;line-height:1.3}.rr-t td:first-child{text-align:left;padding-left:12px;min-width:260px}
.rr-t tr:hover td{background:#FAFCFB}
.rr-t input{width:15px;height:15px;accent-color:var(--sh-ink);margin:0;cursor:pointer;vertical-align:middle}
.rr-own{color:#9AB0AE;font-size:12px}
.rr-g td{background:#EEF4F2!important;font-weight:700;font-size:12.5px;color:var(--sh-ink);cursor:pointer;padding:6px 12px;text-align:left!important}
.rr-g span{font-weight:600;color:var(--sh-mute);background:#fff;border-radius:999px;padding:0 7px;margin-left:4px}
.rr-ch{background:#FFF4C2!important}
.rr-save{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:12px;background:var(--sh-ink);color:#fff;border-radius:10px;padding:9px 14px;margin-top:12px;max-width:1100px}
.rr-save .rr-link{color:#fff}.rr-btn{background:#D7E318;color:var(--sh-ink);border:0;border-radius:8px;padding:6px 18px;font:inherit;font-weight:800;cursor:pointer}.rr-btn[disabled]{opacity:.6}
.rx{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;max-width:1100px;align-items:start}
.rx-list{background:#fff;border:1px solid var(--sh-line);border-radius:10px;overflow:hidden;position:sticky;top:calc(var(--sh-bar-h,105px) + 10px)}
.rx-h{font-size:11.5px;font-weight:700;text-transform:uppercase;color:var(--sh-mute);padding:8px 12px;background:#F6F9F8;border-bottom:1px solid var(--sh-line)}
.rx-p{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #EEF3F2;background:#fff;padding:7px 12px;font:inherit;font-size:14px;cursor:pointer;color:inherit}
.rx-p span{display:block;font-size:12px;color:var(--sh-mute)}.rx-p em{font-style:normal;font-size:11.5px;font-weight:800;color:#1B4F8A;background:#EAF4FF;border-radius:999px;padding:0 7px}
.rx-p.on{background:#EEF4F2;box-shadow:inset 3px 0 0 var(--sh-ink)}
.rx-main{background:#fff;border:1px solid var(--sh-line);border-radius:10px;padding:12px 16px}
.rx-top h2{margin:0;font-size:19px}.rx-plus{color:#1B4F8A}
.rx-sum{margin:10px 0;padding:8px 10px;background:#EAF4FF;border-radius:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13.5px}.rx-sum.sh-mute{background:#F6F9F8}
.rx-tag{background:#fff;border:1px solid #BCD5EE;border-radius:999px;padding:1px 4px 1px 10px;font-size:13px}.rx-tag button{border:0;background:none;cursor:pointer;color:#8193A0;font-size:12px}
.rx-role{margin:8px 0;font-size:13.5px}.rx-role summary{cursor:pointer;color:var(--sh-mute);padding:4px 0}
.rx-r{display:flex;gap:8px;align-items:center;padding:4px 6px;border-bottom:1px solid #F1F5F4;font-size:13.5px;cursor:pointer}.rx-r.lk{color:var(--sh-mute);cursor:default}
.rx-r input{width:15px;height:15px;accent-color:var(--sh-ink);margin:0;flex:none}.rx-r em{font-style:normal;font-size:11px;font-weight:800;color:#1B4F8A;background:#EAF4FF;border-radius:999px;padding:0 6px;margin-left:auto}
.rx-g{font-size:12px;font-weight:800;color:var(--sh-ink);background:#EEF4F2;padding:4px 6px;margin-top:8px}
.rx-addh{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:12px 0 4px}.rx-addh input{border:1px solid var(--sh-line);border-radius:8px;padding:5px 10px;font:inherit;font-size:13.5px}
@media(max-width:760px){.rr-wrap{overflow-x:auto}.rr-t th{position:static;white-space:normal}.rr-t td:first-child{min-width:170px}
  .rx{grid-template-columns:1fr}.rx-list{position:static}.rx-h{display:none}#rx-people{display:flex;overflow-x:auto}.rx-p{width:auto;flex:none;border-bottom:0;border-right:1px solid #EEF3F2}.rr-tools input[type=search]{width:100%}}
/* Build 7: Edit user › Rights: Same as role / Custom */
.cu-seg{display:flex;border:1px solid var(--sh-line);border-radius:8px;overflow:hidden;width:max-content}
.cu-seg button{border:0;background:#fff;padding:7px 14px;font:inherit;font-size:14px;cursor:pointer}.cu-seg button.on{background:var(--sh-ink);color:#fff;font-weight:700}
.cu-sum{margin:8px 0 6px;font-size:13.5px}.cu-add{color:#1B4F8A;font-weight:800}.cu-rem{color:#C8391F;font-weight:800}
.cu-box{border:1px solid var(--sh-line);border-radius:10px;max-height:46vh;overflow:auto;background:#fff}
.cu-tools{display:flex;gap:8px;align-items:center;padding:6px 8px;border-bottom:1px solid var(--sh-line);position:sticky;top:0;background:#fff;z-index:1;flex-wrap:wrap}
.cu-tools input{flex:1;min-width:140px;padding:6px 10px!important;font-size:13.5px!important}
.cu-f{border:1px solid var(--sh-line);background:#fff;border-radius:999px;padding:2px 10px;font:inherit;font-size:12.5px;cursor:pointer}.cu-f.on{background:var(--sh-ink);color:#fff}
.cu-g{font-size:12px;font-weight:800;background:#EEF4F2;padding:4px 10px}
.cu-r{display:flex!important;gap:8px;align-items:center;padding:4px 10px!important;margin:0!important;border-bottom:1px solid #F1F5F4;font-size:13.5px!important;font-weight:400!important;cursor:pointer}
.cu-r input{width:15px;height:15px;accent-color:var(--sh-ink);margin:0;flex:none}
.cu-r em{font-style:normal;font-size:11px;font-weight:800;border-radius:999px;padding:0 7px;margin-left:auto;white-space:nowrap}
.cu-r.add{background:#F2F8FF}.cu-r.add em{background:#EAF4FF;color:#1B4F8A}
.cu-r.rem{background:#FFF5F3}.cu-r.rem span{text-decoration:line-through;color:#8a6a64}.cu-r.rem em{background:#FBE3DD;color:#C8391F}
.cu-r.role em{color:#4F6A6D;background:#F1F5F4}
.cu-tag{font-size:11.5px;font-weight:800;border-radius:999px;padding:1px 8px;margin-left:6px;background:#EAF4FF;color:#1B4F8A;white-space:nowrap}

/* 📷 live UPC scanner (scan.js, 2026-09-30) – full screen over everything */
html.scn-open,html.scn-open body{overflow:hidden}
.scn{position:fixed;inset:0;z-index:1000;background:#0b1f23;color:#fff;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
.scn-top{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;font-size:17px}
.scn-x{background:rgba(255,255,255,.14);border:0;color:#fff;width:40px;height:40px;border-radius:50%;font-size:18px;cursor:pointer}
.scn-cam{position:relative;flex:1;min-height:0;overflow:hidden;background:#000}
.scn-cam video{width:100%;height:100%;object-fit:cover;display:block}
.scn.nocam .scn-cam{flex:0 0 120px;display:grid;place-items:center}.scn.nocam .scn-cam video,.scn.nocam .scn-band{display:none}
.scn.nocam .scn-cam::after{content:"📷";font-size:44px;opacity:.5}
.scn-band{position:absolute;left:8%;right:8%;top:25%;bottom:25%;border:3px solid var(--sh-lure);border-radius:14px;box-shadow:0 0 0 999px rgba(0,0,0,.35)}
.scn-band i{position:absolute;left:6px;right:6px;top:50%;height:2px;background:#ff4b3a;box-shadow:0 0 8px #ff4b3a;animation:scnln 1.6s ease-in-out infinite alternate}
@keyframes scnln{from{transform:translateY(-40px)}to{transform:translateY(40px)}}
.scn-msg{margin:0;padding:10px 16px;font-size:15px;text-align:center;min-height:44px}.scn-msg.bad{color:#ffd2c9}
.scn-bot{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 14px;align-items:center}
.scn-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:10px;border:0;background:var(--sh-lure);color:var(--sh-ink);font-weight:700;font-size:15px;cursor:pointer}
.scn-type{display:flex;gap:6px;flex:1;min-width:220px}.scn-type input{flex:1;min-width:0;min-height:44px;border-radius:10px;border:0;padding:0 12px;font-size:16px}
@media (prefers-reduced-motion:reduce){.scn-band i{animation:none}}
/* 📷 photo step (scan -> front -> back): shutter */
.scn-shotbar{justify-content:space-between;flex-wrap:nowrap;padding-top:6px}.scn-shotbar>*{flex:1}.scn-shotbar .scn-shutter{flex:none}
.scn-btn.gh{background:rgba(255,255,255,.14);color:#fff}
.scn-shutter{width:74px;height:74px;border-radius:50%;border:5px solid #fff;background:var(--sh-lure);cursor:pointer;box-shadow:0 0 0 3px rgba(0,0,0,.3)}
.scn-shutter:active{transform:scale(.94)}
.scn-sp{display:block}
.scn-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}.scn-flash.on{animation:scnfl .25s}
@keyframes scnfl{from{opacity:.8}to{opacity:0}}
.scn.shot .scn-cam video{object-fit:contain}
.scn-top b{flex:1}.scn-q{margin-right:10px;font-size:13px;font-weight:700;padding:3px 10px;border-radius:99px;background:#1E6B34;color:#fff}.scn-q.up{background:var(--sh-lure);color:var(--sh-ink)}.scn-q.bad{background:#C8391F}
.scn-rv{position:absolute;inset:0;background:#000;display:flex;align-items:center;justify-content:center}.scn-rv img{max-width:100%;max-height:100%;object-fit:contain}
.scn-rvbar{justify-content:space-between;flex-wrap:nowrap}.scn-rvbar .scn-btn{flex:1;min-height:56px;font-size:17px;position:relative;overflow:hidden}
.scn-cd{position:absolute;left:0;right:0;bottom:0;height:5px;background:rgba(0,0,0,.15)}.scn-cd i{display:block;height:100%;background:var(--sh-ink);animation:scncd 2.5s linear forwards}
@keyframes scncd{from{width:0}to{width:100%}}
