/* bo-new.css: the redesigned back office (/shop and /shop-admin), Phase 0 of
   back-office-redesign/BUILD_PLAN.md, approved by Ric 19 Nov 2026.

   A white work area framed by a vinyl-dark side menu (#161413), cards lifted on
   two soft shadows over a thin border, oxblood (#561C24) as the one action
   colour, brass (#E0AA3E) marking where you are on the dark menu, six status
   meanings that always carry words. Archivo for the interface, DM Mono only for
   catalogue numbers, order numbers and codes. Both fonts are self-hosted by
   theme-inv.css, so nothing here loads a font.

   PORTED FROM back-office-redesign/source/bo.css (the boards' stylesheet) by
   rule, not by hand, so the boards stay the spec:
     - every token is --bon-* (the site already has --ink, --rule, --accent);
     - every class is bon- (the site has .card, .nav, .side, .progress, .entry,
       and the old back office's shop.css is bo-; .y and .n clashed before);
     - every rule sits under .bon, the frame's root (and a dialog's and a
       toast's), so it outranks the site's element rules and shop.css's .bo
       rules (one class or fewer), and nothing here reaches outside the frame.
       What body, *, a, button and :focus-visible did on the boards, .bon does,
     except inside .bon-legacy: an old screen in the new frame keeps its look.
   tools/check_bo_css.js holds those three rules in CI.

   Board markup ports one for one: class="btn pri" is className="bon-btn bon-pri".
   The parts are components/BoKit.jsx (window.BBR_bo); a screen uses those
   rather than drawing its own. The part after "Build additions" is what the
   live screens need that a static board doesn't (sheets, fixed tab bar,
   disabled and locked buttons, dialog shell). shop.css shrinks phase by phase
   and goes in Phase 11. */
:root{--bon-bg:#FFFFFF; --bon-side:#161413; --bon-surface:#FFFFFF; --bon-surface-2:#F7F7F8; --bon-hover:#F3F3F5; --bon-sel:#F4F5F9;
  --bon-line:#E7E7EA; --bon-line-2:#D6D6DB;
  --bon-ink:#111114; --bon-ink-2:#3F3F46; --bon-ink-3:#63636B;
  --bon-primary:#561C24; --bon-primary-h:#6E2630; --bon-primary-bg:#F6E9EA;
  --bon-brass:#B8913A; --bon-brass-ink:#7A5A14; --bon-brass-bg:#F6EDD9; --bon-brass-on-dark:#E0AA3E;
  --bon-ok:#2F6B3A; --bon-ok-bg:#E4EFE1; --bon-warn:#8A5300; --bon-warn-bg:#FBEED3; --bon-bad:#A3271D; --bon-bad-bg:#FBE4E0;
  --bon-info:#2C4F7C; --bon-info-bg:#E2EBF6; --bon-neu:#52525B; --bon-neu-bg:#EFEFF1;
  --bon-shadow-1:0 1px 2px rgba(17,17,20,.05),0 2px 6px rgba(17,17,20,.04);
  --bon-shadow-card:0 1px 2px rgba(17,17,20,.04),0 4px 12px -2px rgba(17,17,20,.06);
  --bon-shadow-pop:0 16px 40px rgba(17,17,20,.20),0 2px 8px rgba(17,17,20,.10);
  --bon-sans:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
  --bon-mono:'DM Mono',ui-monospace,Menlo,monospace;
  --bon-skel:#3A3634;}
.bon,.bon *,.bon *::before,.bon *::after{box-sizing:border-box}
.bon{margin:0;background:var(--bon-bg);color:var(--bon-ink);font:400 14px/1.45 var(--bon-sans);-webkit-font-smoothing:antialiased}
.bon a:where(:not(.bon-legacy *)){color:inherit;text-decoration:none}
.bon button:where(:not(.bon-legacy *)),.bon input:where(:not(.bon-legacy *)),.bon select:where(:not(.bon-legacy *)),.bon textarea:where(:not(.bon-legacy *)){font:inherit;color:inherit}
.bon :focus-visible:where(:not(.bon-legacy *)){outline:2px solid var(--bon-primary);outline-offset:2px}
.bon .bon-side :focus-visible,.bon .bon-bulk :focus-visible,.bon .bon-savebar :focus-visible,.bon .bon-toast :focus-visible,.bon .bon-mbar :focus-visible,.bon .bon-mtabs :focus-visible{outline-color:#E0AA3E}
.bon .bon-tsearch:focus-within,.bon .bon-side-search:focus-within,.bon .bon-affix:focus-within{border-color:var(--bon-primary);box-shadow:0 0 0 3px rgba(86,28,36,.14)}
.bon .bon-side .bon-side-search:focus-within{border-color:#E0AA3E;box-shadow:0 0 0 3px rgba(224,170,62,.25)}
.bon .bon-num{font-variant-numeric:tabular-nums}
.bon .bon-mono{font-family:var(--bon-mono);font-size:12.5px;letter-spacing:-.01em}
.bon .bon-ic{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bon .bon-ic.bon-s{width:16px;height:16px}
.bon .bon-ic.bon-xs{width:14px;height:14px}
.bon .bon-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bon .bon-app,.bon.bon-app{display:flex;flex-wrap:wrap;min-height:100vh;background:var(--bon-bg)}
.bon .bon-side{flex:1 0 248px;max-width:248px;background:var(--bon-side);border-right:1px solid var(--bon-line);display:flex;flex-direction:column;padding:12px 10px 14px;gap:2px;min-height:100vh}
.bon .bon-main{flex:999 1 320px;min-width:0;display:flex;flex-direction:column}
.bon .bon-side-menu{display:none}
.bon .bon-main{container:bon-main / inline-size}
@container bon-main (max-width:640px){
  .bon .bon-page > section[style*="280px) minmax("],.bon .bon-page > section[style*="260px) minmax("],.bon .bon-page > section[style*="240px) minmax("],.bon .bon-page > form[style*="280px) minmax("],.bon .bon-sx{grid-template-columns:minmax(0,1fr) !important;gap:14px !important}
  .bon .bon-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important}
  .bon .bon-kpi .bon-v{overflow-wrap:normal;white-space:nowrap}
  .bon .bon-sx2{grid-template-columns:minmax(0,1fr) !important}
  .bon .bon-sx2 > *{border-right:0 !important}
  .bon .bon-page .bon-row{flex-wrap:wrap}
  .bon .bon-ph > div:last-child{flex-wrap:wrap}
  .bon .bon-tsearch{min-width:0;flex:1 1 100%}
}
.bon .bon-shop{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border:0;background:transparent;border-radius:8px;cursor:pointer;text-align:left;min-width:0}
.bon .bon-shop:hover{background:rgba(26,23,22,.05)}
.bon .bon-shop-av{width:30px;height:30px;border-radius:7px;background:var(--bon-primary);color:#fff;font:700 12px var(--bon-sans);display:grid;place-items:center;flex:none;letter-spacing:.02em}
.bon .bon-side-search{display:flex;align-items:center;gap:8px;height:34px;margin:8px 0 6px;padding:0 10px;border:1px solid var(--bon-line-2);border-radius:8px;background:var(--bon-surface);color:var(--bon-ink-3);font-size:13.5px;cursor:text;width:100%}
.bon .bon-nav{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:7px;color:var(--bon-ink-2);font-weight:500;font-size:14px;white-space:nowrap}
.bon .bon-nav:hover{background:rgba(26,23,22,.05);color:var(--bon-ink)}
.bon .bon-nav.bon-on{background:var(--bon-surface);color:var(--bon-ink);box-shadow:var(--bon-shadow-1);font-weight:600}
.bon .bon-nav .bon-ic{color:var(--bon-ink-3)}
.bon .bon-nav.bon-on .bon-ic{color:var(--bon-primary)}
.bon .bon-nav.bon-subn{height:30px;padding-left:38px;font-size:13.5px;font-weight:500}
.bon .bon-nav.bon-subn.bon-on{background:transparent;box-shadow:none;color:var(--bon-ink);font-weight:600}
.bon .bon-count{margin-left:auto;font-size:12px;font-weight:600;color:var(--bon-ink-3);font-variant-numeric:tabular-nums}
.bon .bon-count.bon-hot{background:var(--bon-primary);color:#fff;border-radius:6px;padding:0 6px;line-height:18px}
.bon .bon-count.bon-warn{background:var(--bon-warn-bg);color:var(--bon-warn);border-radius:6px;padding:0 6px;line-height:18px}
.bon .bon-nav-h{font-size:12px;font-weight:500;color:var(--bon-ink-3);padding:16px 10px 4px}
.bon .bon-wordmark{display:flex;align-items:center;gap:8px;padding:12px 10px 0;margin-top:8px;border-top:1px solid var(--bon-line);color:var(--bon-ink-3);font-size:12px}
.bon .bon-wordmark b{font:900 13px var(--bon-sans);font-stretch:62%;letter-spacing:.04em;text-transform:uppercase;color:var(--bon-ink)}
.bon .bon-kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;font:500 11px var(--bon-sans);border:1px solid var(--bon-line-2);border-bottom-width:2px;border-radius:5px;color:var(--bon-ink-3);background:var(--bon-surface)}
.bon .bon-kbd.bon-dark{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:rgba(255,255,255,.85)}
.bon .bon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:8px;border:1px solid var(--bon-line-2);background:var(--bon-surface);color:var(--bon-ink);font-weight:600;font-size:13.5px;cursor:pointer;white-space:nowrap;box-shadow:var(--bon-shadow-1)}
.bon .bon-btn:hover{background:var(--bon-hover)}
.bon .bon-btn.bon-pri{background:var(--bon-primary);border-color:var(--bon-primary);color:#fff}
.bon .bon-btn.bon-pri:hover{background:var(--bon-primary-h)}
.bon .bon-btn.bon-ghost{background:transparent;border-color:transparent;box-shadow:none;color:var(--bon-ink-2)}
.bon .bon-btn.bon-ghost:hover{background:rgba(26,23,22,.05)}
.bon .bon-btn.bon-sm{height:30px;padding:0 10px;font-size:13px;border-radius:7px}
.bon .bon-btn.bon-icon{width:36px;padding:0}
.bon .bon-btn.bon-sm.bon-icon{width:30px}
.bon .bon-btn.bon-danger{color:var(--bon-bad)}
.bon .bon-link{color:var(--bon-primary);font-weight:600;cursor:pointer;background:none;border:0;padding:0}
.bon .bon-page{padding:28px 36px 56px;display:flex;flex-direction:column;gap:20px;min-width:0}
.bon .bon-ph{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bon .bon-h1{font-size:24px;font-weight:600;letter-spacing:-.015em;margin:0;line-height:1.2}
.bon .bon-lead{color:var(--bon-ink-3);font-size:14px;margin:3px 0 0}
.bon .bon-h2{font-size:15px;font-weight:600;margin:0;letter-spacing:-.005em}
.bon .bon-h3{font-size:13.5px;font-weight:600;margin:0}
.bon .bon-meta{color:var(--bon-ink-3);font-size:13px}
.bon .bon-label{font-size:12.5px;font-weight:500;color:var(--bon-ink-3)}
.bon .bon-crumb{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--bon-ink-3);margin-bottom:6px}
.bon .bon-crumb a:hover{color:var(--bon-ink)}
.bon .bon-card{background:var(--bon-surface);border:1px solid var(--bon-line);border-radius:10px;box-shadow:var(--bon-shadow-1);min-width:0}
.bon .bon-card-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--bon-line)}
.bon .bon-card-b{padding:16px}
.bon .bon-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--bon-line)}
.bon .bon-row:last-child{border-bottom:0}
.bon .bon-grow{flex:1 1 auto;min-width:0}
.bon .bon-stack{display:flex;flex-direction:column}
.bon .bon-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:1100px){
  .bon .bon-cols{grid-template-columns:minmax(0,1fr)}
}
.bon .bon-divider{height:1px;background:var(--bon-line);margin:0}
.bon .bon-b{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:500;white-space:nowrap;line-height:1}
.bon .bon-b::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.bon .bon-b.bon-nodot::before{display:none}
.bon .bon-b-ok{color:var(--bon-ok);background:var(--bon-ok-bg)}
.bon .bon-b-warn{color:var(--bon-warn);background:var(--bon-warn-bg)}
.bon .bon-b-bad{color:var(--bon-bad);background:var(--bon-bad-bg)}
.bon .bon-b-info{color:var(--bon-info);background:var(--bon-info-bg)}
.bon .bon-b-neu{color:var(--bon-neu);background:var(--bon-neu-bg)}
.bon .bon-b-brand{color:var(--bon-primary);background:var(--bon-primary-bg)}
.bon .bon-grade{display:inline-flex;align-items:center;height:22px;padding:0 6px;border:1px solid var(--bon-line-2);border-radius:5px;font:500 12px var(--bon-mono);color:var(--bon-ink-2);background:var(--bon-surface)}
.bon .bon-views{display:flex;gap:2px;border-bottom:1px solid var(--bon-line);overflow-x:auto}
.bon .bon-view{height:40px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;font-weight:500;color:var(--bon-ink-3);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;cursor:pointer;background:none;border-top:0;border-left:0;border-right:0}
.bon .bon-view:hover{color:var(--bon-ink)}
.bon .bon-view.bon-on{color:var(--bon-ink);border-bottom-color:var(--bon-ink);font-weight:600}
.bon .bon-view .bon-n{font-size:12px;background:var(--bon-neu-bg);border-radius:5px;padding:1px 6px;color:var(--bon-ink-2);font-weight:600;font-variant-numeric:tabular-nums}
.bon .bon-view.bon-on .bon-n{background:var(--bon-ink);color:#fff}
.bon .bon-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 12px}
.bon .bon-tsearch{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid var(--bon-line-2);border-radius:8px;background:var(--bon-surface);color:var(--bon-ink-3);min-width:240px;font-size:13.5px}
.bon .bon-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px dashed var(--bon-line-2);border-radius:8px;font-size:13px;color:var(--bon-ink-2);background:transparent;cursor:pointer;white-space:nowrap}
.bon .bon-chip:hover{background:var(--bon-surface)}
.bon .bon-chip.bon-set{border-style:solid;background:var(--bon-surface);color:var(--bon-ink);box-shadow:var(--bon-shadow-1)}
.bon .bon-chip.bon-set b{font-weight:600;color:var(--bon-primary)}
.bon .bon-tbl-wrap{overflow-x:auto}
.bon .bon-tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
.bon .bon-tbl th{position:sticky;top:0;z-index:1;text-align:left;font-size:12.5px;font-weight:500;color:var(--bon-ink-3);background:var(--bon-surface-2);height:36px;padding:0 12px;border-bottom:1px solid var(--bon-line);border-top:1px solid var(--bon-line);white-space:nowrap}
.bon .bon-tbl td{height:54px;padding:0 12px;border-bottom:1px solid var(--bon-line);vertical-align:middle;white-space:nowrap}
.bon .bon-tbl tbody tr{cursor:pointer}
.bon .bon-tbl tbody tr:hover td{background:var(--bon-surface-2)}
.bon .bon-tbl tr.bon-sel td{background:var(--bon-sel)}
.bon .bon-tbl tr.bon-open td{background:var(--bon-primary-bg)}
.bon .bon-tbl .bon-r{text-align:right}
.bon .bon-tbl .bon-cbx{width:44px;padding-right:0}
.bon .bon-tbl tfoot td{height:44px;font-weight:600;background:var(--bon-surface-2);border-bottom:0}
.bon .bon-cb{width:16px;height:16px;accent-color:var(--bon-primary);margin:0;cursor:pointer}
.bon .bon-t1{font-weight:600;color:var(--bon-ink);overflow:hidden;text-overflow:ellipsis;max-width:280px}
.bon .bon-t2{font-size:12.5px;color:var(--bon-ink-3);overflow:hidden;text-overflow:ellipsis;max-width:280px}
.bon .bon-ch{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--bon-ink-2)}
.bon .bon-ch i{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font:700 10px var(--bon-sans);font-style:normal;color:#fff;flex:none}
.bon .bon-ch-till i{background:#1A1716}
.bon .bon-ch-shopify i{background:#4D6B3A}
.bon .bon-ch-discogs i{background:#333}
.bon .bon-ch-ebay i{background:#2C4F7C}
.bon .bon-ch-phone i{background:#7A5A14}
.bon .bon-ch-tli i{background:#561C24}
.bon .bon-dots{display:inline-flex;gap:4px}
.bon .bon-dot{width:22px;height:22px;border-radius:5px;display:grid;place-items:center;font:700 10px var(--bon-sans);border:1px solid var(--bon-line-2);color:var(--bon-ink-3);background:var(--bon-surface)}
.bon .bon-dot.bon-on{background:var(--bon-ok-bg);border-color:#C9DCC4;color:var(--bon-ok)}
.bon .bon-dot.bon-err{background:var(--bon-bad-bg);border-color:#EFC5BE;color:var(--bon-bad)}
.bon .bon-dot.bon-soon{border-style:dashed;color:var(--bon-ink-3)}
.bon .bon-cov{width:38px;height:38px;border-radius:3px;flex:none;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.10)}
.bon .bon-cov::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.22) 0 18%,transparent 19%)}
.bon .bon-cov.bon-lg{width:120px;height:120px;border-radius:4px}
.bon .bon-cov.bon-md{width:56px;height:56px}
.bon .bon-cov.bon-sm{width:30px;height:30px}
.bon .bon-c1{background:#561C24}
.bon .bon-c2{background:#1F4E5A}
.bon .bon-c3{background:#B7832F}
.bon .bon-c4{background:#3A4A5E}
.bon .bon-c5{background:#4B5E3A}
.bon .bon-c6{background:#5A2F4E}
.bon .bon-c7{background:#9A4A2A}
.bon .bon-c8{background:#2A2624}
.bon .bon-cstack{display:inline-flex}
.bon .bon-cstack .bon-cov{border:2px solid var(--bon-surface)}
.bon .bon-cstack .bon-cov+.bon-cov{margin-left:-14px}
.bon .bon-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.bon .bon-kpi{padding:16px 16px 14px;display:flex;flex-direction:column;gap:4px}
.bon .bon-kpi .bon-v{font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.15;font-variant-numeric:tabular-nums}
.bon .bon-up{color:var(--bon-ok);font-weight:600}
.bon .bon-down{color:var(--bon-bad);font-weight:600}
.bon .bon-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.bon .bon-inp{height:38px;border:1px solid var(--bon-line-2);border-radius:8px;padding:0 12px;background:var(--bon-surface);color:var(--bon-ink);width:100%;font-size:14px}
.bon .bon-inp:focus,.bon .bon-inp.bon-focus{outline:none;border-color:var(--bon-primary);box-shadow:0 0 0 3px rgba(86,28,36,.14)}
.bon textarea.bon-inp{height:auto;padding:10px 12px;line-height:1.5;resize:vertical}
.bon .bon-affix{display:flex;align-items:center;border:1px solid var(--bon-line-2);border-radius:8px;background:var(--bon-surface);height:38px;overflow:hidden}
.bon .bon-affix span{padding:0 10px;color:var(--bon-ink-3);font-size:14px}
.bon .bon-affix input{border:0;outline:0;height:100%;width:100%;padding:0 12px 0 0;background:transparent;font-size:14px}
.bon .bon-affix.bon-focus{border-color:var(--bon-primary);box-shadow:0 0 0 3px rgba(86,28,36,.14)}
.bon .bon-hint{font-size:12.5px;color:var(--bon-ink-3);margin:0}
.bon .bon-seg{display:inline-flex;border:1px solid var(--bon-line-2);border-radius:8px;overflow:hidden;background:var(--bon-surface);box-shadow:var(--bon-shadow-1)}
.bon .bon-seg button{height:34px;min-width:46px;padding:0 10px;border:0;border-right:1px solid var(--bon-line);background:transparent;font:500 13px var(--bon-mono);cursor:pointer;color:var(--bon-ink-2)}
.bon .bon-seg button:last-child{border-right:0}
.bon .bon-seg button:hover{background:var(--bon-hover)}
.bon .bon-seg button.bon-on{background:var(--bon-ink);color:#fff}
.bon .bon-sw{width:36px;height:22px;border-radius:999px;background:var(--bon-line-2);position:relative;flex:none;border:0;cursor:pointer;padding:0}
.bon .bon-sw::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.bon .bon-sw.bon-on{background:var(--bon-ok)}
.bon .bon-sw.bon-on::after{left:17px}
.bon .bon-bulk{position:sticky;bottom:20px;align-self:center;display:flex;align-items:center;gap:6px;background:var(--bon-ink);color:#fff;border-radius:12px;padding:6px 6px 6px 16px;box-shadow:var(--bon-shadow-pop);z-index:4;flex-wrap:wrap}
.bon .bon-bulk .bon-btn{background:transparent;border-color:rgba(255,255,255,.16);color:#fff;box-shadow:none}
.bon .bon-bulk .bon-btn:hover{background:rgba(255,255,255,.10)}
.bon .bon-bulk .bon-btn.bon-pri{background:#fff;color:var(--bon-ink);border-color:#fff}
.bon .bon-drawer{flex:0 0 440px;max-width:100%;background:var(--bon-surface);border-left:1px solid var(--bon-line);display:flex;flex-direction:column;box-shadow:-12px 0 32px rgba(26,23,22,.06)}
.bon .bon-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bon-ink);color:#fff;padding:0 28px;min-height:56px;flex-wrap:wrap;position:sticky;top:0;z-index:5}
.bon .bon-savebar .bon-btn{box-shadow:none}
.bon .bon-savebar .bon-btn.bon-ghost{color:#fff}
.bon .bon-savebar .bon-btn.bon-ghost:hover{background:rgba(255,255,255,.1)}
.bon .bon-savebar .bon-btn.bon-light{background:#fff;color:var(--bon-ink);border-color:#fff}
.bon .bon-tl{display:flex;gap:12px;position:relative;padding-bottom:16px}
.bon .bon-tl::before{content:"";position:absolute;left:5px;top:14px;bottom:0;width:1px;background:var(--bon-line-2)}
.bon .bon-tl:last-child::before{display:none}
.bon .bon-tl-dot{width:11px;height:11px;border-radius:50%;background:var(--bon-surface);border:2px solid var(--bon-line-2);margin-top:4px;flex:none;position:relative;z-index:1}
.bon .bon-tl-dot.bon-ok{border-color:var(--bon-ok);background:var(--bon-ok)}
.bon .bon-tl-dot.bon-pri{border-color:var(--bon-primary);background:var(--bon-primary)}
.bon .bon-bar-track{height:8px;border-radius:4px;background:var(--bon-neu-bg);overflow:hidden}
.bon .bon-bar-fill{height:100%;border-radius:4px;background:var(--bon-primary)}
.bon .bon-progress{height:6px;border-radius:3px;background:var(--bon-neu-bg);overflow:hidden}
.bon .bon-progress i{display:block;height:100%;background:var(--bon-ok);border-radius:3px}
.bon .bon-press{border:1px solid transparent;background:transparent}
.bon .bon-press:hover{background:var(--bon-hover)}
.bon .bon-press.bon-on{border-color:#E3C9CC;background:var(--bon-primary-bg)}
.bon .bon-cmd-i{display:flex;align-items:center;gap:12px;padding:0 12px;height:44px;border-radius:8px;cursor:pointer}
.bon .bon-cmd-i.bon-on{background:var(--bon-hover)}
.bon .bon-tip{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--bon-ink-3)}
.bon .bon-card{box-shadow:var(--bon-shadow-card);border-color:#E9E9EC}
.bon .bon-card-h{background:#FAFAFB;border-radius:10px 10px 0 0}
.bon .bon-tbl th{background:#F6F6F8;color:#55555D}
.bon .bon-kpi{background:linear-gradient(180deg,#FFFFFF 0%,#FBFBFC 100%)}
.bon .bon-views{background:#FAFAFB}
.bon .bon-tbl tr.bon-open td{background:#F9EEEF}
.bon .bon-side{background:#161413;border-right-color:#161413;color:#EDEBE8}
.bon .bon-side .bon-meta{color:#9D978F}
.bon .bon-side .bon-nav{color:#BDB7B0}
.bon .bon-side .bon-nav:hover{background:rgba(255,255,255,.06);color:#FFFFFF}
.bon .bon-side .bon-nav .bon-ic{color:#8F8982}
.bon .bon-side .bon-nav.bon-on{background:rgba(255,255,255,.10);color:#FFFFFF;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.bon .bon-side .bon-nav.bon-on .bon-ic{color:#E0AA3E}
.bon .bon-side .bon-nav.bon-subn.bon-on{background:transparent;box-shadow:none;color:#FFFFFF}
.bon .bon-side .bon-nav-h{color:#8F8982}
.bon .bon-side .bon-count{color:#9D978F}
.bon .bon-side .bon-count.bon-hot{background:#E0AA3E;color:#151312}
.bon .bon-side .bon-count.bon-warn{background:rgba(224,170,62,.16);color:#E8BC62}
.bon .bon-side .bon-side-search{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.10);color:#9D978F}
.bon .bon-side .bon-side-search input{color:#EDEBE8}
.bon .bon-side .bon-kbd{background:transparent;border-color:rgba(255,255,255,.18);color:#9D978F}
.bon .bon-side .bon-btn.bon-pri .bon-kbd{border-color:rgba(255,255,255,.32);color:rgba(255,255,255,.88)}
.bon .bon-side .bon-shop:hover{background:rgba(255,255,255,.06)}
.bon .bon-side .bon-shop-av{box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.bon .bon-side .bon-btn.bon-ghost{color:#BDB7B0}
.bon .bon-side .bon-btn.bon-ghost:hover{background:rgba(255,255,255,.08)}
.bon .bon-side .bon-btn.bon-pri{background:#6E2630;border-color:#83303B;box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 2px 8px rgba(0,0,0,.35)}
.bon .bon-side .bon-btn.bon-pri:hover{background:#7C2C37}
.bon .bon-side h1{color:#FFFFFF}
.bon .bon-wordmark{border-top-color:rgba(255,255,255,.08);color:#8F8982}
.bon .bon-wordmark b{color:#EDEBE8}
.bon .bon-wordmark svg path:first-child{fill:#EDEBE8}
.bon .bon-wordmark svg path:nth-child(2){stroke:#9D978F}
.bon .bon-mbar{background:var(--bon-side);color:#EDEBE8}
.bon .bon-mbar .bon-meta{color:#9D978F}
.bon .bon-mbar .bon-btn.bon-ghost{color:#BDB7B0}
.bon .bon-mbar .bon-btn.bon-ghost:hover{background:rgba(255,255,255,.08)}
.bon .bon-mbar .bon-shop-av{box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.bon .bon-mtabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;padding:8px 6px 26px;background:var(--bon-side);border-top:1px solid rgba(255,255,255,.06)}
.bon .bon-mtab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;font-size:11.5px;font-weight:500;color:#9D978F}
.bon .bon-mtab.bon-on{color:#E0AA3E;font-weight:600}
.bon .bon-dlg{background:var(--bon-surface);border:1px solid var(--bon-line);border-radius:12px;box-shadow:var(--bon-shadow-pop);width:100%;max-width:460px;display:flex;flex-direction:column;text-align:left}
.bon .bon-dlg-b{padding:20px 20px 16px;display:flex;flex-direction:column;gap:10px}
.bon .bon-dlg-b > .bon-h2{margin:0}
.bon .bon-dlg-b > p:not([class]){margin:0;font-size:14px;line-height:1.5;color:var(--bon-ink-2)}
.bon .bon-dlg-f{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:12px 16px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2);border-radius:0 0 12px 12px}
.bon .bon-toast{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 8px 8px 16px;border-radius:10px;background:var(--bon-ink);color:#fff;font-size:13.5px;box-shadow:var(--bon-shadow-pop);max-width:100%}
.bon .bon-toast .bon-btn{background:transparent;border-color:rgba(255,255,255,.2);color:#fff;box-shadow:none}
.bon .bon-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:28px 16px}
.bon .bon-empty > b{font-size:15px}
.bon .bon-empty > p{margin:0;max-width:400px;color:var(--bon-ink-3);font-size:13.5px}
.bon .bon-sk{height:12px;border-radius:6px;background:var(--bon-neu-bg)}
.bon .bon-st-group{display:flex;flex-direction:column;gap:14px;padding-top:20px;border-top:1px solid var(--bon-line)}
.bon .bon-st-group > header .bon-h2{font-size:18px}
.bon .bon-st-group > header .bon-meta{margin:2px 0 0}
.bon .bon-st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:28px 24px;align-items:start}
.bon .bon-st-panel{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
.bon .bon-st-panel.bon-wide{grid-column:1 / -1}
.bon .bon-st-cap{margin:0;font-size:12.5px;font-weight:600;line-height:1.4;color:var(--bon-ink-2);display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.bon .bon-st-cap .bon-k{font:500 12px var(--bon-mono);color:var(--bon-ink-3)}
.bon .bon-st-panel .bon-tbl td,.bon .bon-st-panel .bon-tbl th{white-space:normal}
.bon .bon-st-part{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:var(--bon-neu-bg);color:var(--bon-ink-2);font-size:12px;font-weight:600;margin-right:8px;vertical-align:2px}
@media (max-width:760px){
  .bon .bon-side{flex:0 0 100%;max-width:none;min-height:0;height:56px;flex-direction:row;align-items:center;gap:2px;padding:6px 6px 6px 8px;position:sticky;top:0;z-index:6;border-right:0;overflow:hidden}
  .bon .bon-side > nav,.bon .bon-side > .bon-nav:not(:first-child),.bon .bon-side > .bon-nav-h,.bon .bon-side > .bon-stack,.bon .bon-side .bon-wordmark,.bon .bon-side .bon-kbd,.bon .bon-side > label.bon-side-search{display:none}
  .bon .bon-side > div:first-child{flex:1 1 auto;min-width:0}
  .bon .bon-side .bon-shop{flex:1 1 auto;min-width:0;padding:4px 6px;min-height:44px}
  .bon .bon-side .bon-shop > .bon-ic{display:none}
  .bon .bon-side .bon-shop .bon-stack > *{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .bon .bon-side .bon-btn.bon-icon,.bon .bon-side > .bon-side-menu{width:44px;height:44px;flex:none}
  .bon .bon-side > a.bon-side-search{flex:none;width:44px;height:44px;margin:0;padding:0;justify-content:center;border:0;background:transparent;color:#BDB7B0;border-radius:8px}
  .bon .bon-side > a.bon-side-search .bon-ic{width:18px;height:18px}
  .bon .bon-side > a.bon-side-search > .bon-grow{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .bon .bon-side > .bon-btn.bon-pri{flex:none;width:44px;height:44px;margin:0 2px !important;padding:0;gap:0;font-size:0}
  .bon .bon-side > .bon-btn.bon-pri .bon-ic{width:18px;height:18px}
  .bon .bon-side > .bon-side-menu{display:inline-flex}
  .bon .bon-side > .bon-nav:first-child{flex:none;width:44px;height:44px;margin:0 !important;padding:0;justify-content:center;font-size:0}
  .bon .bon-side > .bon-nav:first-child .bon-ic{color:#EDEBE8}
  .bon .bon-side > div:nth-child(2):not(.bon-nav-h){flex:1 1 auto;min-width:0;padding:0 6px !important}
  .bon .bon-side > div:nth-child(2) h1{font-size:16px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bon .bon-side > div:nth-child(2) .bon-meta{margin:0 !important;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bon .bon-page{padding:20px 16px 40px !important}
  .bon .bon-ph > div:last-child{flex-wrap:wrap}
  .bon .bon-card-h{flex-wrap:wrap}
  .bon .bon-tsearch{min-width:0 !important;flex:1 1 100% !important}
  .bon .bon-seg{max-width:100%;overflow-x:auto}
  .bon .bon-seg button{flex:none;white-space:nowrap;overflow-wrap:normal}
  .bon .bon-drawer{flex:1 1 100% !important;width:100% !important;max-width:100% !important;min-height:0 !important}
  .bon .bon-main{overflow-wrap:break-word}
  .bon .bon-side ~ .bon-main .bon-savebar,.bon .bon-side ~ main.bon-main .bon-savebar{top:56px;padding:8px 16px}
  .bon .bon-btn,.bon .bon-btn.bon-sm,.bon .bon-chip,.bon .bon-view,.bon .bon-inp,.bon .bon-affix,.bon .bon-tsearch,.bon .bon-seg button{min-height:44px}
  .bon .bon-btn{white-space:normal;height:auto;text-align:center}
  .bon .bon-btn.bon-icon,.bon .bon-btn.bon-sm.bon-icon{min-width:44px}
  .bon .bon-cb{width:22px;height:22px}
  .bon .bon-sw{position:relative}
  .bon .bon-sw::before{content:"";position:absolute;inset:-11px -4px}
  .bon .bon-link{min-height:24px}
  .bon input[type=range]{min-height:44px}
  .bon .bon-cmd-i{height:auto;min-height:44px;flex-shrink:0;padding-top:6px;padding-bottom:6px}
  .bon button.bon-b{min-height:44px;padding:0 12px}
}
.bon .bon-admin .bon-side,.bon.bon-admin .bon-side{background:#2A1418;border-right-color:#2A1418}
.bon .bon-admin .bon-side .bon-nav.bon-on,.bon.bon-admin .bon-side .bon-nav.bon-on{background:rgba(255,255,255,.12)}
.bon .bon-admin .bon-side-search,.bon.bon-admin .bon-side-search{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.12)}
.bon .bon-admin-tag{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:5px;background:#E0AA3E;color:#151312;font:700 11px var(--bon-sans);letter-spacing:.04em;text-transform:uppercase}
.bon .bon-admin-me{width:30px;height:30px;border-radius:50%;background:#E0AA3E;color:#151312;font:700 12px var(--bon-sans);display:grid;place-items:center;flex:none}
.bon .bon-support-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 20px;background:#E0AA3E;color:#151312;font-size:13.5px}
.bon .bon-support-bar b{font-weight:700}
.bon .bon-support-bar .bon-btn{background:#151312;color:#fff;border-color:#151312;box-shadow:none}

/* ---------------------------------------------------------------------------
   Build additions (19 Nov 2026): what the live screens need beyond the boards.
   --------------------------------------------------------------------------- */
/* The frame fills the page under the site's own bar, which it hides (Phase 1). */
.bon.bon-app{min-height:100vh;min-height:100dvh;width:100%}
.bon .bon-unread-dot{position:absolute;top:5px;right:6px;width:7px;height:7px;border-radius:50%;background:#561C24}
.bon .bon-wordmark b{font-stretch:62%}
/* The Menu button is the phone's (bo.css's .btn rule outranked its display:none). */
.bon .bon-side .bon-side-menu{display:none}

/* Buttons that can't be used: switched off, still readable, with their reason
   beside them (RefusedLine, Why). Never hidden (Ric, 19 Nov 2026). */
.bon .bon-btn:disabled,.bon .bon-btn[aria-disabled="true"],.bon .bon-chip:disabled,.bon .bon-link:disabled,.bon .bon-view:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.bon .bon-btn:disabled:hover{background:var(--bon-surface)}
.bon .bon-btn.bon-pri:disabled:hover{background:var(--bon-primary)}
.bon .bon-btn.bon-danger{border-color:#EFC5BE}
.bon .bon-btn.bon-danger:hover{background:var(--bon-bad-bg)}
.bon .bon-locked{display:flex;gap:6px;align-items:flex-start;margin:0}
.bon .bon-locked .bon-ic{flex:none}

/* Notices: what happened, in a coloured band with an icon and words. */
.bon .bon-notice{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:8px;font-size:13.5px;line-height:1.45}
.bon .bon-notice .bon-ic{flex:none}
.bon .bon-notice-ok{background:var(--bon-ok-bg);color:var(--bon-ok)}
.bon .bon-notice-warn{background:var(--bon-warn-bg);color:var(--bon-warn)}
.bon .bon-notice-bad{background:var(--bon-bad-bg);color:var(--bon-bad)}
.bon .bon-notice-info{background:var(--bon-info-bg);color:var(--bon-info)}
.bon .bon-notice-neu{background:var(--bon-neu-bg);color:var(--bon-ink-2)}

/* Tables: a sortable head, a row opened from the keyboard, rows that don't open. */
.bon .bon-th-sort{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;height:100%}
.bon .bon-th-sort:hover{color:var(--bon-ink)}
.bon .bon-tbl th.bon-r .bon-th-sort{flex-direction:row-reverse}
.bon .bon-row-open{border:0;background:none;padding:0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}
.bon .bon-tbl tbody tr.bon-still{cursor:default}
.bon .bon-tbl tbody tr.bon-still:hover td{background:transparent}

/* The list and its drawer side by side; the drawer's three parts. */
.bon .bon-drawer-layout{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;min-width:0}
.bon .bon-drawer:focus{outline:none}
.bon .bon-drawer-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 16px;border-bottom:1px solid var(--bon-line)}
.bon .bon-drawer-b{display:flex;flex-direction:column;flex:1;overflow-y:auto;padding:4px 20px 20px;gap:20px}
.bon .bon-drawer-f{display:flex;gap:8px;padding:14px 20px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2)}

/* The confirm's shell: a native <dialog> with no frame of its own. */
.bon.bon-dlg-shell{padding:0;border:0;background:transparent;max-width:min(460px,calc(100vw - 32px));width:100%;overflow:visible}
.bon.bon-dlg-shell::backdrop{background:rgba(17,17,20,.45)}
.bon .bon-dlg-b > p{margin:0;font-size:14px;line-height:1.5;color:var(--bon-ink-2)}

/* A toast: bottom-left on a desktop, full width above the tab bar on a phone. */
.bon.bon-toast-host{position:fixed;left:20px;bottom:20px;z-index:60;background:transparent;max-width:calc(100vw - 40px)}

/* Phase 1 (19 Nov 2026). The Settings menu's title, the skip link. */
.bon .bon-side h2{color:#FFFFFF}
.bon .bon-shop-t > *{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bon .bon-side .bon-shop-test{color:#F0A49A;font-weight:600}
.bon .bon-skip{position:absolute;left:-9999px;top:8px;z-index:70;background:var(--bon-ink);color:#fff;padding:10px 14px;border-radius:8px;font-weight:600}
.bon .bon-skip:focus{left:16px}

/* The shop menu (CoreStates "Switcher"): the shops, then Your account, the
   admin and Sign out. On white, over the work, under the shop button. */
.bon.bon-pop{position:fixed;z-index:60;width:300px;max-width:calc(100vw - 24px);background:var(--bon-surface);color:var(--bon-ink);border:1px solid var(--bon-line);border-radius:10px;box-shadow:var(--bon-shadow-pop);padding:6px;display:flex;flex-direction:column;gap:2px}
.bon .bon-pop-shop{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 8px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}
.bon .bon-pop-shop:hover,.bon .bon-pop-shop.bon-on{background:var(--bon-hover)}
.bon .bon-pop-i{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:13.5px;cursor:pointer;color:var(--bon-ink)}
.bon .bon-pop-i:hover{background:var(--bon-hover)}
.bon .bon-pop-danger{color:var(--bon-bad)}
.bon.bon-pop .bon-divider{margin:4px 0}

/* The old screens inside the new frame, until their phase rebuilds them: they
   draw as they always did (shop.css's .bo), with what .bon sets on the frame
   put back to what the old back office had. */
.bon .bon-legacy{padding-top:32px;min-height:0;flex:1 1 auto;line-height:normal;-webkit-font-smoothing:auto;letter-spacing:normal}
.bon .bon-legacy:focus{outline:none}
/* "Your sign-in has expired" (CoreStates "Signed out"), over everything. */
.bon.bon-gone{position:sticky;top:0;z-index:65;padding:8px;background:transparent}
.bon .bon-work{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.bon .bon-work:focus{outline:none}
.bon .bon-frame-notices{display:flex;flex-direction:column;gap:10px;padding:20px 36px 0}

/* ⌘K (the Command board). */
.bon.bon-cmd-back{position:fixed;inset:0;z-index:80;background:rgba(17,17,20,.32);display:flex;align-items:flex-start;justify-content:center;padding:12vh 16px 16px}
.bon .bon-cmd{width:100%;max-width:680px;max-height:76vh;display:flex;flex-direction:column;background:var(--bon-surface);border-radius:14px;box-shadow:var(--bon-shadow-pop);overflow:hidden}
.bon .bon-cmd-h{display:flex;align-items:center;gap:12px;padding:0 18px;height:60px;border-bottom:1px solid var(--bon-line);color:var(--bon-ink-3)}
.bon .bon-cmd-in{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:18px;color:var(--bon-ink);height:100%}
.bon .bon-cmd-esc{cursor:pointer}
.bon .bon-cmd-f{display:flex;gap:6px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--bon-line)}
.bon .bon-cmd-chip{height:26px;padding:0 9px;border-radius:6px;border:0;background:var(--bon-neu-bg);color:var(--bon-ink-2);font-size:12.5px;font-weight:500;cursor:pointer}
.bon .bon-cmd-chip.bon-on{background:var(--bon-ink);color:#fff}
.bon .bon-cmd-b{overflow-y:auto;padding:6px 8px 10px;flex:1}
.bon .bon-cmd-g{font-size:12.5px;font-weight:500;color:var(--bon-ink-3);padding:12px 12px 6px}
.bon .bon-cmd-i{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 12px;border-radius:8px;cursor:pointer}
.bon .bon-cmd-i.bon-on{background:var(--bon-hover)}
.bon .bon-cmd-t{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bon .bon-cmd-cov{width:30px;height:30px;border-radius:3px;flex:none;object-fit:cover;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
.bon .bon-cmd-av{width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--bon-info-bg);color:var(--bon-info);font:600 11.5px var(--bon-sans)}
.bon .bon-cmd-ic{width:30px;height:30px;border-radius:8px;flex:none;display:grid;place-items:center;background:var(--bon-surface-2);border:1px solid var(--bon-line);color:var(--bon-ink-2)}
.bon .bon-cmd-status{padding:14px 12px;margin:0}
.bon .bon-cmd-foot{display:flex;flex-wrap:wrap;gap:6px 16px;padding:12px 18px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2)}

/* Home (Phase 2; the Main and HomeSetup boards). A job's mark: a tinted
   square by how urgent it is; a set-up step's number, ticked when done. */
.bon .bon-job-ic{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;flex:none}
.bon .bon-job-bad{background:var(--bon-bad-bg);color:var(--bon-bad)}
.bon .bon-job-warn{background:var(--bon-warn-bg);color:var(--bon-warn)}
.bon .bon-job-neu{background:var(--bon-neu-bg);color:var(--bon-ink-2)}
.bon .bon-job > .bon-btn{flex:none;margin-top:2px}
.bon .bon-step-n{width:24px;height:24px;border-radius:50%;flex:none;display:grid;place-items:center;font:600 12px var(--bon-sans);border:1px solid var(--bon-line-2);color:var(--bon-ink-2);margin-top:1px}
.bon .bon-step-n.bon-done{background:var(--bon-ok-bg);border-color:#C9DCC4;color:var(--bon-ok)}
.bon .bon-step-n.bon-next{background:var(--bon-primary);border-color:var(--bon-primary);color:#fff}
.bon .bon-step-next{background:#FCF7F7}
.bon .bon-step-done b{font-weight:500}
.bon .bon-step > .bon-btn{flex:none}
.bon .bon-period{display:inline-flex}
@container bon-main (max-width:640px){
  .bon .bon-job,.bon .bon-step{flex-wrap:wrap}
  .bon .bon-job > .bon-stack{flex:1 1 calc(100% - 48px)}
  .bon .bon-step > .bon-stack{flex:1 1 calc(100% - 36px)}
  .bon .bon-job > .bon-btn{margin-left:48px}
  .bon .bon-step > .bon-btn{margin-left:36px}
}

/* Lists (Phase 3): a filter chip's menu, the table's footer. */
.bon .bon-fchip{position:relative;display:inline-flex}
.bon .bon-fchip-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:30;min-width:220px;max-height:320px;overflow:auto;background:var(--bon-surface);border:1px solid var(--bon-line);border-radius:10px;box-shadow:var(--bon-shadow-pop);padding:6px;display:flex;flex-direction:column;gap:2px}
/* A table's hidden labels stay inside its scroll box (they widened the phone page by up to 384px). */
.bon .bon-tbl-wrap{position:relative}
.bon .bon-tbl .bon-btn{white-space:nowrap}
.bon .bon-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--bon-line)}

/* Screens moved from the old look (Phase 3 on): plain building blocks, so a
   screen's own markup ports without inventing a style each time. */
.bon .bon-p{margin:0;font-size:14px;line-height:1.5;color:var(--bon-ink-2)}
.bon .bon-gap{gap:12px}
.bon .bon-gap > p,.bon .bon-gap > address,.bon .bon-gap > h2,.bon .bon-gap > h3{margin:0}
.bon .bon-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bon .bon-kv{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px solid var(--bon-line);font-size:14px}
.bon .bon-kv:last-child{border-bottom:0}
.bon .bon-kv > :last-child{font-variant-numeric:tabular-nums;text-align:right;flex:none}
.bon .bon-addr{font-style:normal;white-space:pre-line;font-size:14px;line-height:1.5;color:var(--bon-ink-2)}
.bon .bon-tick{display:inline-flex;align-items:center;gap:8px;font-size:14px;min-height:32px;cursor:pointer}
.bon .bon-tick input{width:16px;height:16px;accent-color:var(--bon-primary);margin:0}
.bon .bon-well{background:var(--bon-surface-2);border:1px solid var(--bon-line);border-radius:10px;padding:14px 16px}
.bon .bon-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;text-align:left;cursor:pointer;border:1px solid #E9E9EC}
.bon .bon-tile:hover{background:var(--bon-hover)}
.bon .bon-tile.bon-bad{border-color:#EFC5BE;background:var(--bon-bad-bg)}
.bon .bon-tile.bon-warn{border-color:#F0DCAF;background:var(--bon-warn-bg)}
.bon .bon-tile.bon-flat{cursor:default}
.bon .bon-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px}
.bon .bon-steps{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.bon .bon-steps li{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 6px;border-radius:999px;background:var(--bon-neu-bg);color:var(--bon-ink-2);font-size:12.5px;font-weight:500}
.bon .bon-steps li.bon-done{background:var(--bon-ok-bg);color:var(--bon-ok)}
.bon .bon-steps .bon-step-n{width:18px;height:18px;font-size:11px;margin:0;border:0;background:#fff}

/* The phone's Menu sheet and its tab bar. */
.bon .bon-sheet{position:fixed;inset:0;z-index:50;background:var(--bon-side);color:#EDEBE8;overflow-y:auto;padding:8px 12px 32px;display:flex;flex-direction:column;gap:2px}
.bon .bon-sheet-h{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 4px 0 10px;font-size:16px}
.bon .bon-sheet .bon-nav{color:#BDB7B0;height:44px}
.bon .bon-sheet .bon-nav.bon-on{background:rgba(255,255,255,.10);color:#fff}
.bon .bon-sheet .bon-nav .bon-ic{color:#8F8982}
.bon .bon-sheet .bon-nav.bon-on .bon-ic{color:#E0AA3E}
.bon .bon-sheet .bon-nav-h,.bon .bon-sheet .bon-count{color:#9D978F}
.bon .bon-sheet .bon-btn.bon-ghost{color:#EDEBE8}
.bon .bon-sheet :focus-visible{outline-color:#E0AA3E}
.bon .bon-mtabs-fixed{display:none}
.bon .bon-mtab-scan{width:56px;height:56px;border-radius:16px;background:#6E2630;color:#FFFFFF;display:grid;place-items:center;box-shadow:0 0 0 1px #83303B,0 6px 16px rgba(0,0,0,.45);margin-top:-22px}
@media (max-width:760px){
  .bon .bon-side .bon-side-menu{display:inline-flex}
  .bon .bon-mtabs-fixed{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:40;padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .bon.bon-has-tabs .bon-main{padding-bottom:88px}
  .bon.bon-toast-host{left:12px;right:12px;bottom:96px;max-width:none}
  .bon.bon-toast-host .bon-toast{width:100%}
  .bon.bon-cmd-back{padding:0}
  .bon .bon-cmd{max-width:none;max-height:none;height:100%;border-radius:0}
  .bon .bon-legacy{padding-top:20px}
  .bon .bon-frame-notices{padding:16px 16px 0}
}
@media (min-width:761px){.bon .bon-sheet{display:none}}
/* Printing (a newsletter's QR sign, a page): the frame stays off the paper. */
@media print{.bon .bon-side,.bon .bon-mtabs-fixed,.bon .bon-skip,.bon .bon-sheet,.bon .bon-support-bar,.bon .bon-frame-notices{display:none !important}.bon.bon-app{display:block}}
@media (prefers-reduced-motion:reduce){.bon *{transition:none !important;animation:none !important}}

/* Phase 3: phone and email orders (ShopSales) -------------------------------
   The list, the order page, packing and Invoices and quotes (the OrdersPhone,
   OrdersPhoneSale and OrdersInvoices boards). .bon-so is the screens' root, so
   these few form and layout helpers reach nothing else. */
.bon .bon-so .bon-p{margin:0;font-size:14px;line-height:1.5;color:var(--bon-ink-2)}
.bon .bon-so .bon-vs{display:flex;flex-direction:column;gap:12px;min-width:0}
.bon .bon-so .bon-hrow{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;min-width:0}
.bon .bon-so .bon-fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px 16px;align-items:start}
.bon .bon-so .bon-field{font-size:12.5px;font-weight:500;color:var(--bon-ink-3)}
.bon .bon-so .bon-field > .bon-inp{font-weight:400}
.bon .bon-so select.bon-inp{appearance:auto}
.bon .bon-so .bon-tick{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--bon-ink);cursor:pointer;min-height:32px}
.bon .bon-so .bon-tick input{accent-color:var(--bon-primary);width:16px;height:16px;margin:0;flex:none}
.bon .bon-so .bon-kv{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;font-size:14px;color:var(--bon-ink-2)}
.bon .bon-so .bon-kv > span:last-child{font-variant-numeric:tabular-nums;color:var(--bon-ink);text-align:right}
.bon .bon-so .bon-kv + .bon-kv{border-top:1px solid var(--bon-line)}
.bon .bon-so .bon-well{background:var(--bon-surface-2);border:1px solid var(--bon-line);border-radius:8px;padding:12px 14px}
/* A card whose first heading is its header band (the boards' card head). */
.bon .bon-so .bon-pcard{display:flex;flex-direction:column;gap:12px;padding:0 16px 16px;min-width:0}
.bon .bon-so .bon-pcard > .bon-h2:first-child{margin:0 -16px;padding:14px 16px;border-bottom:1px solid var(--bon-line);background:#FAFAFB;border-radius:10px 10px 0 0}
.bon .bon-so .bon-link:disabled{opacity:.5;cursor:not-allowed}
.bon .bon-so .bon-danger-link{color:var(--bon-bad)}
/* The order's lines. */
.bon .bon-so .bon-so-lines{list-style:none;margin:0;padding:0 16px}
.bon .bon-so .bon-so-lines > li{border-bottom:1px solid var(--bon-line)}
.bon .bon-so .bon-so-lines > li:last-child{border-bottom:0}
/* A filter chip that opens a native list. */
.bon .bon-chipsel{position:relative}
.bon .bon-chipsel select{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;font-size:16px}
.bon .bon-chipsel:focus-within{outline:2px solid var(--bon-primary);outline-offset:2px}
/* Invoices and quotes' settings: the label column, then its card. */
.bon .bon-so .bon-so-set{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:24px;align-items:start}
.bon .bon-so .bon-so-legacy{padding:0;background:transparent}
@container bon-main (max-width:640px){
  .bon .bon-so .bon-so-set{grid-template-columns:minmax(0,1fr);gap:12px}
  .bon .bon-so .bon-so-lines{padding:0 12px}
}
/* A table scrolls in its own box: its hidden labels (.bon-sr, absolutely
   placed) stay inside it too, instead of widening the page on a phone; and a
   button in a cell keeps its words on one line. */
.bon .bon-so .bon-link{font-size:13.5px}
.bon .bon-so .bon-kv .bon-link{font-size:13px;font-weight:500}

/* --- Phase 4: Stock and the intake queue ------------------------------------ */
.bon .bon-price-btn{appearance:none;border:1px dashed transparent;background:none;padding:2px 6px;margin:-2px -6px;border-radius:5px;cursor:text;color:inherit;font:inherit}
.bon .bon-price-btn:hover{border-color:var(--bon-line-2);background:var(--bon-surface)}
.bon .bon-price-btn:focus-visible{outline:2px solid var(--bon-primary);outline-offset:1px}
.bon .bon-price-edit{width:104px;height:30px}
.bon .bon-price-edit input{text-align:right;font-variant-numeric:tabular-nums}
.bon .bon-range{display:flex;align-items:center;gap:6px;border:0;margin:0;padding:0;flex-wrap:wrap}
.bon .bon-range legend{padding:0;margin-bottom:4px;width:100%}
.bon .bon-range .bon-inp{width:148px}
.bon .bon-sortpick{display:inline-flex;align-items:center;gap:6px;color:var(--bon-ink-3)}
.bon .bon-sortpick .bon-inp{height:32px;width:auto;padding-right:28px}
.bon .bon-needs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.bon .bon-need{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border:1px solid var(--bon-line-2);border-radius:8px;background:var(--bon-surface);color:var(--bon-ink);font:500 13px var(--bon-sans);cursor:pointer;text-align:left}
.bon .bon-need:hover{border-color:var(--bon-ink-3)}
.bon .bon-need b{font-size:14px}
.bon .bon-need.bon-bad{border-color:#EFC5BE;background:var(--bon-bad-bg);color:var(--bon-bad)}
@media (max-width:759px){.bon .bon-need{flex:1 1 100%}}
/* The record page (the Record board), with the shared parts moved from the old look. */
.bon .bon-sticky{position:sticky;top:20px}
@media (max-width:1100px){.bon .bon-sticky{position:static}}
.bon .bon-rec .bon-pcard > .bon-h2:first-child{display:flex;align-items:center;gap:8px}
.bon .bon-ready{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-bottom:1px solid var(--bon-line)}
.bon .bon-ready:last-child{border-bottom:0;padding-bottom:0}
.bon .bon-ready p{margin:0}
.bon .bon-coming{opacity:.78}
.bon .bon-checks{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13.5px}
.bon .bon-checks li{display:flex;gap:8px;align-items:baseline}
.bon .bon-checks li > span[aria-hidden]{width:14px;flex:none;font-weight:700}
.bon .bon-checks li.bon-y > span[aria-hidden]{color:var(--bon-ok)}
.bon .bon-checks li.bon-n{color:var(--bon-bad);font-weight:500}
.bon .bon-where th[scope=row]{font-weight:600;white-space:nowrap}
.bon .bon-where-why{white-space:normal;max-width:280px;margin-top:3px}
.bon .bon-copies{list-style:none;margin:0;padding:0}
.bon .bon-copies li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--bon-line);font-size:14px}
.bon .bon-copies li:last-child{border-bottom:0}
.bon .bon-copies li.bon-here{font-weight:500}
.bon .bon-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.bon .bon-timeline li{display:flex;flex-direction:column-reverse;gap:2px;padding:0 0 12px 18px;position:relative;font-size:13.5px}
.bon .bon-timeline li::before{content:"";position:absolute;left:0;top:5px;width:9px;height:9px;border-radius:50%;border:2px solid var(--bon-line-2);background:var(--bon-surface)}
.bon .bon-timeline li::after{content:"";position:absolute;left:5px;top:16px;bottom:0;width:1px;background:var(--bon-line-2)}
.bon .bon-timeline li:last-child::after{display:none}
.bon .bon-timeline li:first-child::before{border-color:var(--bon-primary);background:var(--bon-primary)}
.bon .bon-stat-n{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
.bon .bon-error{color:var(--bon-bad);font-size:13.5px;margin:0}
.bon .bon-money{width:120px}
.bon .bon-opt-row{align-items:flex-end}
.bon .bon-sellon{border:0;margin:0;padding:0}
.bon .bon-sellon legend{padding:0;margin-bottom:6px}
/* Stock and the intake queue on a phone: each row a card (the Phone board),
   the record first, then its grade, price, age, rack and channels in a line. */
@media (max-width:760px){
  .bon .bon-stock-list .bon-tbl-wrap{overflow:visible}
  .bon .bon-stock-list .bon-tbl,.bon .bon-stock-list .bon-tbl tbody{display:block;width:100%}
  .bon .bon-stock-list .bon-tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .bon .bon-stock-list .bon-tbl tr{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;position:relative;padding:12px 14px 12px 50px;border-bottom:1px solid var(--bon-line)}
  .bon .bon-stock-list .bon-tbl td{display:block;padding:0;border:0;height:auto}
  .bon .bon-stock-list .bon-tbl td.bon-cbx{position:absolute;left:14px;top:22px}
  .bon .bon-stock-list .bon-tbl td:nth-child(2){flex:1 1 100%;min-width:0}
  .bon .bon-stock-list .bon-tbl td:nth-child(n+3){flex:none;font-size:13px;text-align:left}
  .bon .bon-stock-list .bon-tbl td .bon-stack{align-items:flex-start !important}
}
/* Phase 4: adding records (ShopStock scan) ----------------------------------
   The scan page (the Scan board; root .bon-scan), the phone intake
   (.bon-intake), and the record parts both share with the record page:
   finding a record, the pressings, the segmented grades, toggles, photo
   slots and the price box. Buttons set their own font: inside an old-look
   wrapper (.bon-legacy) the frame's reset doesn't reach them. */
.bon .bon-fr-methods{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.bon .bon-tile{font:inherit;color:inherit;background:var(--bon-surface)}
.bon .bon-tile b{font-size:14px;font-weight:600}
.bon .bon-tile.bon-on{border-color:var(--bon-primary);background:var(--bon-primary-bg)}
.bon .bon-fr-go{flex-wrap:nowrap}
.bon .bon-fr-go > .bon-field{flex:1 1 auto}
.bon .bon-fr-go > .bon-btn{flex:none}
.bon .bon-fr-file{height:auto;padding:8px 12px}
.bon .bon-fr-lab{display:inline-flex;align-items:center;gap:8px}
.bon .bon-ferr{color:var(--bon-bad);font-size:12.5px;font-weight:500;margin:0}
.bon .bon-warn-t{color:var(--bon-warn)}
/* The pressings: a row each, a radio dot when it's a choice. */
.bon .bon-pl{display:flex;flex-direction:column;gap:4px}
.bon .bon-pl-row{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px;border:1px solid transparent;border-radius:8px;background:transparent;text-align:left;cursor:pointer;font:inherit;font-family:var(--bon-sans);color:var(--bon-ink)}
.bon .bon-pl-row:hover{background:var(--bon-hover)}
.bon .bon-pl-row.bon-on{border-color:#E3C9CC;background:var(--bon-primary-bg)}
.bon .bon-pl-row:disabled{opacity:.55;cursor:not-allowed}
.bon .bon-pl-t{gap:3px;min-width:0}
.bon .bon-pl-t b{font-size:14.5px;font-weight:600;line-height:1.35}
.bon .bon-pl-dot{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--bon-line-2);background:var(--bon-surface);flex:none}
.bon .bon-pl-row.bon-on .bon-pl-dot{border-color:var(--bon-primary);background:var(--bon-primary);box-shadow:inset 0 0 0 4px var(--bon-surface)}
.bon .bon-pl-art{width:56px;height:56px;border-radius:3px;object-fit:cover;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
/* Segmented choices that wrap; words set in the sans. */
.bon .bon-seg.bon-pick{flex-wrap:wrap;max-width:100%}
.bon .bon-field > .bon-seg.bon-pick{align-self:flex-start}
.bon .bon-seg.bon-pick button{height:36px;border-bottom:1px solid var(--bon-line);margin-bottom:-1px}
.bon .bon-seg.bon-pick button:disabled{opacity:.5;cursor:not-allowed}
.bon .bon-seg.bon-seg-w button{font-family:var(--bon-sans);font-size:13.5px;padding:0 12px}
.bon .bon-tog{font-family:var(--bon-sans);border-style:solid;background:var(--bon-surface)}
.bon .bon-tog.bon-set{background:var(--bon-primary-bg);border-color:#E3C9CC;color:var(--bon-primary);box-shadow:none}
/* Photo slots. */
.bon .bon-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:10px}
.bon .bon-slot{display:flex;flex-direction:column;border:1px dashed var(--bon-line-2);border-radius:10px;background:var(--bon-surface);min-height:120px;overflow:hidden}
.bon .bon-slot.bon-req{border-color:#E3C9CC;background:#FCF7F7}
.bon .bon-slot.bon-done{border-style:solid;border-color:var(--bon-line)}
.bon .bon-slot-imgs{display:flex;flex-wrap:wrap;gap:4px;padding:6px 6px 0}
.bon .bon-slot-img{position:relative;flex:1 1 56px}
.bon .bon-slot-img img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}
.bon .bon-slot-x{position:absolute;top:4px;right:4px;width:26px;height:26px;border-radius:50%;border:0;background:rgba(17,17,20,.72);color:#fff;font:600 15px var(--bon-sans);line-height:1;cursor:pointer}
.bon .bon-slot-x:disabled{opacity:.4;cursor:not-allowed}
.bon .bon-slot-add{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;text-align:center;font-size:13px;color:var(--bon-ink-2);cursor:pointer}
.bon .bon-slot-add,.bon .bon-scan-ways .bon-chip{position:relative}
.bon .bon-slot-add:focus-within{outline:2px solid var(--bon-primary);outline-offset:-2px;border-radius:10px}
.bon .bon-slot-plus{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--bon-surface-2);border:1px solid var(--bon-line);font-size:16px;color:var(--bon-ink-2)}
/* The price box. */
.bon .bon-affix:focus-within{border-color:var(--bon-primary);box-shadow:0 0 0 3px rgba(86,28,36,.14)}
.bon .bon-affix input{font:inherit;font-size:14px;color:var(--bon-ink)}
.bon .bon-pb-big{font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--bon-ink)}
.bon .bon-pb-brief{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px 16px;align-items:start;max-width:600px}
.bon .bon-pb-make b{color:var(--bon-ink)}
.bon .bon-srcs > .bon-card-b > .bon-legacy{padding:0;min-height:0;background:transparent}

/* The scan page. */
.bon .bon-scan{gap:18px}
.bon .bon-scan-bar{display:flex;align-items:center;gap:10px 14px;flex-wrap:nowrap;margin:-28px -36px 4px;padding:12px 36px;border-bottom:1px solid var(--bon-line);background:var(--bon-surface);position:sticky;top:0;z-index:5}
.bon .bon-scan-t{font-size:17px;font-weight:600;margin:0;padding-left:14px;border-left:1px solid var(--bon-line);letter-spacing:-.005em}
.bon .bon-scan-bar b{color:var(--bon-ink);font-weight:600}
.bon .bon-scan-bar > *{flex:none}
.bon .bon-scan-bar > .bon-scan-tip{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bon .bon-scan-bar > .bon-grow{flex:1 1 0}
.bon .bon-scan-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;max-width:1280px;width:100%}
.bon .bon-scan-work{min-width:0}
.bon .bon-scan-box{display:flex;align-items:center;gap:12px;height:60px;padding:0 12px 0 16px;border:1px solid var(--bon-line-2);border-radius:10px;background:var(--bon-surface);box-shadow:var(--bon-shadow-1);color:var(--bon-ink-2)}
.bon .bon-scan-box:focus-within{border-color:var(--bon-primary);box-shadow:0 0 0 4px rgba(86,28,36,.12)}
.bon .bon-scan-in{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:500 19px var(--bon-mono);letter-spacing:.02em;color:var(--bon-ink)}
.bon .bon-scan-go{cursor:pointer;height:24px;min-width:28px}
.bon .bon-scan-go:disabled{cursor:default;opacity:.6}
.bon .bon-scan-ways{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bon .bon-scan-ways .bon-chip{font-family:var(--bon-sans);font-size:13px}
.bon .bon-scan-ways .bon-chip:focus-within{outline:2px solid var(--bon-primary);outline-offset:2px}
.bon .bon-scan-crate{margin-left:auto;color:var(--bon-ink-2);font-size:13px}
.bon .bon-scan-rec{display:flex;flex-direction:column;overflow:hidden}
.bon .bon-scan-rec:focus{outline:none}
.bon .bon-scan-rec:focus-visible{box-shadow:0 0 0 3px rgba(86,28,36,.18)}
.bon .bon-scan-rec-h{display:flex;align-items:flex-start;gap:18px;padding:18px 18px 16px;border-bottom:1px solid var(--bon-line)}
.bon .bon-scan-rec-t{font-size:21px;font-weight:600;letter-spacing:-.015em;margin:0;line-height:1.2}
.bon .bon-scan-art{object-fit:cover;flex:none;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
.bon .bon-scan-art.bon-lg{width:84px;height:84px}
.bon .bon-scan-art.bon-sm{width:30px;height:30px}
.bon .bon-scan-rec-h > .bon-cov.bon-lg{width:84px;height:84px}
.bon .bon-scan-rec-b{display:flex;flex-direction:column;gap:12px;padding:10px 10px 14px}
.bon .bon-scan-rec-b.bon-scan-sep{gap:20px;padding:20px 18px;border-top:1px solid var(--bon-line)}
.bon .bon-scan-unsure{padding:0 10px;font-size:13.5px}
.bon .bon-scan-rec-f{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:16px 18px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2)}
.bon .bon-scan-why{flex-basis:100%}
.bon .bon-scan-side{position:sticky;top:76px}
.bon .bon-scan-ses{list-style:none;margin:0;padding:0}
.bon .bon-scan-ses-t{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bon .bon-scan-ses-p{font-weight:600;font-size:14px;flex:none}
.bon .bon-scan-ses-f{padding:12px 16px;border-top:1px solid var(--bon-line);background:#FAFAFB}
.bon .bon-scan-keys{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 14px;margin:0;align-items:center}
.bon .bon-scan-keys dt{margin:0}
.bon .bon-scan-keys dt .bon-kbd{min-width:46px}
.bon .bon-scan-keys dd{margin:0;font-size:13.5px;color:var(--bon-ink-2)}
.bon .bon-scan-way{align-items:flex-start;gap:14px}
.bon .bon-scan-way:focus{outline:none}
.bon .bon-scan-way b{font-size:14px;font-weight:600;color:var(--bon-ink)}
.bon .bon-scan-way .bon-stack{gap:3px}
.bon .bon-scan-way.bon-scan-hi{background:var(--bon-primary-bg);transition:background .3s}
.bon .bon-scan-wayh{display:flex;align-items:flex-start;gap:14px}
.bon .bon-scan-qr{flex:none;width:88px;height:88px;display:block}
.bon .bon-scan-qr svg{display:block;width:100%;height:100%}
@container bon-main (max-width:1040px){
  .bon .bon-scan-cols{grid-template-columns:minmax(0,1fr)}
  .bon .bon-scan-side{position:static}
}
@container bon-main (max-width:1040px){
  .bon .bon-scan-tip{display:none}
}
@container bon-main (max-width:640px){
  .bon .bon-scan-bar{margin:-20px -16px 0;padding:10px 16px;flex-wrap:wrap}
  .bon .bon-scan-tip{display:none}
  .bon .bon-scan-rec-h{flex-wrap:wrap}
  .bon .bon-pb-brief{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .bon .bon-pb-brief > :first-child{grid-column:1 / -1}
  .bon .bon-scan-crate{margin-left:0}
}

/* The phone intake: one column, big targets. */
.bon .bon-intake{max-width:560px;width:100%;margin:0 auto;gap:16px}
.bon .bon-intake .bon-btn{min-height:48px;font-size:15px}
.bon .bon-intake .bon-btn.bon-sm{min-height:44px;font-size:14px}
.bon .bon-intake .bon-seg.bon-pick button,.bon .bon-intake .bon-tog,.bon .bon-intake .bon-inp,.bon .bon-intake .bon-affix,.bon .bon-intake .bon-tick,.bon .bon-intake .bon-pl-row{min-height:44px}
.bon .bon-intake .bon-seg.bon-pick button{min-width:52px}
.bon .bon-intake-ways{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.bon .bon-intake-ways .bon-tile{min-height:64px;justify-content:center;padding:12px 16px}
.bon .bon-intake-nav{display:flex;gap:10px;flex-wrap:wrap}
.bon .bon-intake-nav > .bon-btn{flex:1 1 140px}
.bon .bon-intake-link{align-self:flex-start;min-height:44px}
/* Scan mode is full screen on a desktop (the Scan board has no side menu):
   the scan bar's own "Stock" button leads back. */
@media (min-width:761px){
  .bon.bon-app:has(.bon-scan) > .bon-side{display:none}
}
.bon .bon-locked{color:var(--bon-ink-2)}

/* --- Phase 5: Distributor orders and Suppliers (ShopReleases Buying, ShopConsignment) --- */
.bon .bon-ktable{min-width:0}
.bon .bon-bsec{min-width:0}
.bon .bon-bsec > .bon-h2:first-child{font-size:16px}
.bon .bon-warn-t{color:var(--bon-warn)}
.bon .bon-notice-bad.bon-stack{flex-direction:column;align-items:stretch}
.bon .bon-tile .bon-stat-n{font-size:24px;line-height:1.1}
/* A date box's first part (the day) takes focus inside the box: ring it too. */
.bon .bon-inp:focus-within{outline:none;border-color:var(--bon-primary);box-shadow:0 0 0 3px rgba(86,28,36,.14)}
/* --- Phase 5: New releases and RSD (ShopReleases, the Releases board) --- */
.bon .bon-rl{min-width:0}
/* The page is its own container: with the upload drawer open it is narrower than the main area. */
.bon .bon-rl .bon-drawer-layout > .bon-page{container:bon-rl/inline-size}
.bon .bon-rl-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.bon .bon-rl-k4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--bon-line)}
.bon .bon-rl-k{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border-right:1px solid var(--bon-line)}
.bon .bon-rl-k:last-child{border-right:0}
.bon .bon-rl-v{font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.15}
.bon .bon-rl-fs{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;min-width:0}
.bon .bon-rl-fs legend{padding:0;margin-bottom:6px}
.bon .bon-so .bon-rl-opt{align-items:flex-start}
.bon .bon-so .bon-rl-opt input{margin-top:3px}
.bon .bon-rl-later{flex-wrap:wrap}
.bon .bon-so .bon-tick input.bon-rl-dt{width:220px;max-width:100%;height:34px;margin:0;accent-color:auto}
.bon .bon-so .bon-tick input.bon-rl-dt:focus,.bon .bon-so .bon-tick input.bon-rl-dt:focus-within{outline:none;border-color:var(--bon-primary);box-shadow:0 0 0 3px rgba(86,28,36,.14)}
.bon .bon-rl-between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bon .bon-rl-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.bon .bon-rl-band{background:var(--bon-surface-2)}
.bon .bon-rl-band:last-child{border-radius:0 0 10px 10px}
.bon .bon-rl-term{align-items:flex-start;padding:10px 16px;font-size:13.5px}
.bon .bon-rl-term > :first-child{width:40%;max-width:210px;flex:none;font-size:13.5px}
.bon .bon-rl-file{overflow-wrap:anywhere}
.bon .bon-toolbar > .bon-locked{flex-basis:100%}
.bon .bon-rl-r{align-items:flex-end}
.bon .bon-tbl tbody tr.bon-open.bon-still:hover td{background:#F9EEEF}
.bon .bon-tbl tr.bon-rl-ed td{height:auto;white-space:normal;padding:16px 16px 18px 16px}
.bon .bon-rl-edrow{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}
.bon .bon-rl-mid{align-items:center;gap:10px 20px}
.bon .bon-rl-sep{padding-top:14px;border-top:1px solid #EBD3D6;margin:0}
.bon .bon-rl-note{max-width:520px;flex:1 1 260px}
.bon .bon-rl-w130{width:130px}
.bon .bon-rl-w150{width:150px}
.bon .bon-rl-w180{width:180px}
.bon .bon-rl-day{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.1fr)}
.bon .bon-rl-step{display:flex;flex-direction:column;gap:10px;padding:16px;border-right:1px solid var(--bon-line);min-width:0}
.bon .bon-rl-step:last-child{border-right:0}
.bon .bon-rl-step > p{margin:0}
.bon .bon-rl-step-h{display:flex;align-items:center;gap:10px}
.bon .bon-rl-scanf{flex-wrap:nowrap}
.bon .bon-rl-scan{height:34px;flex:1 1 auto;min-width:0}
.bon .bon-rl-li{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--bon-line);font-size:13.5px}
.bon .bon-rl-li:last-child{border-bottom:0}
.bon .bon-rl-of{white-space:nowrap}
.bon .bon-rl-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bon .bon-rl-map .bon-inp{height:34px}
.bon .bon-rl-dh{font-size:18px}
@container bon-rl (max-width:900px){
  .bon .bon-rl-two,.bon .bon-rl-day{grid-template-columns:minmax(0,1fr)}
  .bon .bon-rl-step{border-right:0;border-bottom:1px solid var(--bon-line)}
  .bon .bon-rl-step:last-child{border-bottom:0}
}
@container bon-rl (max-width:600px){
  .bon .bon-rl-k4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bon .bon-rl-k:nth-child(2){border-right:0}
  .bon .bon-rl-k:nth-child(-n+2){border-bottom:1px solid var(--bon-line)}
  .bon .bon-rl-3{grid-template-columns:minmax(0,1fr)}
  .bon .bon-rl-term{flex-direction:column;gap:2px}
  .bon .bon-rl-term > :first-child{width:auto;max-width:none}
  .bon .bon-rl-map{grid-template-columns:minmax(0,1fr)}
/* --- Phase 5: Pricing and Racks (ShopTools) ---------------------------------
   The Pricing board (tabs, an aside beside each rule's card, "Set elsewhere")
   and the Racks board (five step cards, the floor, put away beside its scan
   box, the stock take two thirds and one third, the sticker and its preview).
   Inside the old-look wrapper (.bon-legacy) the frame's reset doesn't reach
   buttons and inputs, so the ones drawn here set their own font. */
.bon .bon-tl-tabs{border:1px solid var(--bon-line);border-radius:10px;overflow:hidden}
.bon .bon-tl-tabs .bon-views{border-bottom:0}
.bon .bon-tl-split{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:32px;align-items:start}
.bon .bon-tl-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.bon .bon-tl-put{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:20px;align-items:start}
.bon .bon-tl-foot{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--bon-line)}
.bon .bon-tl-footnote{flex:1 1 320px}
.bon .bon-tl-note{margin:0;padding:0 16px 12px}
.bon .bon-tl-ffoot{display:flex;align-items:center;gap:8px 12px;padding:12px 16px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2)}
.bon .bon-tl-acts{display:inline-flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.bon .bon-tl-fs{border:0;padding:0;margin:0;min-width:0;display:flex;flex-direction:column;gap:8px}
.bon .bon-tl-fs > legend{padding:0;margin-bottom:8px}
.bon .bon-tl-on{color:var(--bon-ink);background:var(--bon-hover)}
.bon .bon-tl-bad{border-color:var(--bon-bad)}
.bon .bon-tl-w90{width:90px}
.bon .bon-tl-w120{width:120px}
.bon .bon-tl-w130{width:130px}
.bon .bon-tl-w160{width:160px}
.bon .bon-tl-step,.bon .bon-tl-add,.bon .bon-tl-scan input,.bon .bon-tl-bulkin input{font:inherit;font-family:var(--bon-sans)}
/* Pricing: markdown steps, the preview rows, crates, set elsewhere. */
.bon .bon-tl-mdstep{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bon .bon-tl-mdstep > .bon-b{width:62px;justify-content:center}
.bon .bon-tl-mdstep .bon-affix input{font-family:var(--bon-sans)}
.bon .bon-tl-add{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:13px}
.bon .bon-tl-mkup{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:end}
.bon .bon-tl-pvrow{padding:10px 16px;gap:10px;font-size:13.5px}
.bon .bon-tl-to{font-weight:600;width:64px;text-align:right}
.bon .bon-tl-crate{flex-wrap:wrap;align-items:flex-start}
.bon .bon-tl-newcrate{align-items:flex-start;flex-wrap:wrap;border-radius:0 0 10px 10px}
.bon .bon-tl-newcrate > .bon-field{flex:1 1 200px}
.bon .bon-tl-newcrate > .bon-tl-w130{flex:0 0 130px}
.bon .bon-tl-addcrate{margin-top:24px}
.bon .bon-tl-else{gap:12px;padding-top:20px;border-top:1px solid var(--bon-line)}
.bon .bon-tl-elsegrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.bon .bon-tl-elsecard{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.bon .bon-tl-elsetext{flex:1 1 220px;min-width:0}
.bon .bon-tl-elseic{width:20px;height:20px;display:grid;place-items:center;color:var(--bon-ink-3)}
/* Racks: the five steps. */
.bon .bon-tl-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.bon .bon-tl-step{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--bon-line);border-radius:10px;background:var(--bon-surface);box-shadow:var(--bon-shadow-1);text-align:left;cursor:pointer;color:var(--bon-ink);min-width:0}
.bon .bon-tl-step:hover{background:var(--bon-hover)}
.bon .bon-tl-step b{font-size:14px;font-weight:600}
.bon .bon-tl-step.bon-on{border:2px solid var(--bon-ink);padding:13px}
.bon .bon-tl-n{width:28px;height:28px;border-radius:50%;flex:none;display:grid;place-items:center;font:600 12.5px var(--bon-sans);background:var(--bon-neu-bg);color:var(--bon-ink-2)}
.bon .bon-tl-step.bon-on .bon-tl-n{background:var(--bon-ink);color:#fff}
/* 1. The floor's sections. */
.bon .bon-tl-sec{flex-wrap:wrap;align-items:flex-start;gap:10px;border-left:0;border-right:0;border-top:0;margin:0;min-width:0}
.bon .bon-tl-secn{margin-top:26px;width:26px;justify-content:center;padding:0}
.bon .bon-tl-secname{flex:1 1 160px}
.bon .bon-tl-secracks{flex:1 1 180px}
.bon .bon-tl-secracks .bon-inp{font-size:13.5px}

.bon .bon-tl-secbtns{display:flex;gap:2px;margin-top:24px}
.bon .bon-tl-prints{flex-wrap:wrap;border-radius:0 0 10px 10px}
/* 2. Put away: the scan box and the chosen bar inside the card. */
.bon .bon-tl-scan{display:flex;align-items:center;gap:10px;height:48px;padding:0 6px 0 14px;border:1px solid var(--bon-primary);border-radius:10px;box-shadow:0 0 0 4px rgba(86,28,36,.12);background:var(--bon-surface)}
.bon .bon-tl-scan input{border:0;outline:0;width:100%;min-width:0;background:transparent;font:500 16px var(--bon-mono);color:var(--bon-ink)}
.bon .bon-tl-scan > .bon-btn{flex:none}
.bon .bon-tl-cue{height:auto;padding:8px 10px;margin:0;font-size:13.5px;white-space:normal;line-height:1.4}
.bon .bon-tl-bulkwrap{display:flex;justify-content:center;padding:14px 16px;border-top:1px solid var(--bon-line)}
.bon .bon-tl-bulkwrap .bon-bulk{position:static}
.bon .bon-tl-bulkin{display:flex;align-items:center;gap:6px;font-size:13px}
.bon .bon-tl-bulkin input{width:64px;height:30px;border-radius:7px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;padding:0 8px;font-family:var(--bon-mono)}
/* 3. Pick. */
.bon .bon-tl-progress{gap:6px;padding:14px 16px;border-bottom:1px solid var(--bon-line)}
.bon .bon-tl-got{opacity:.5;text-decoration:line-through}
.bon .bon-tl-done{background:var(--bon-ok-bg);color:var(--bon-ok);flex-wrap:wrap;font-size:13.5px}
.bon .bon-tl-done .bon-grow{color:var(--bon-ink)}
/* 4. Stock take. */
.bon .bon-tl-under{background:var(--bon-info-bg);flex-wrap:wrap;font-size:13.5px}
.bon .bon-tl-startf{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.bon .bon-tl-k4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--bon-line)}
.bon .bon-tl-k4 .bon-kpi+.bon-kpi{border-left:1px solid var(--bon-line)}
.bon .bon-tl-band{background:var(--bon-surface-2)}
.bon .bon-tl-res{flex-wrap:wrap}
.bon .bon-tl-restext{font-size:13.5px;flex-basis:220px}
.bon .bon-tl-duerow{padding:10px 16px}
.bon .bon-tl-duerack{width:44px;flex:none}
/* 5. Stickers. */
.bon .bon-tl-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 16px}
.bon .bon-tl-mm{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.bon .bon-tl-range{accent-color:var(--bon-primary);width:100%}
.bon .bon-tl-pvbox{background:var(--bon-surface-2);border-radius:8px;padding:24px 12px;display:grid;place-items:center;overflow:hidden}
.bon .bon-tl-pv{width:100%;max-width:420px;overflow:hidden;position:relative}
.bon .bon-tl-pv iframe{border:0;background:#fff;box-shadow:var(--bon-shadow-card)}
.bon .bon-tl-startat{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--bon-ink-2)}
.bon .bon-tl-startat .bon-inp{width:64px;height:34px}
@media (max-width:1100px){
  .bon .bon-tl-2,.bon .bon-tl-put{grid-template-columns:minmax(0,1fr)}
  .bon .bon-tl-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .bon .bon-tl-split{grid-template-columns:minmax(0,1fr);gap:16px}
}
@media (max-width:640px){
  .bon .bon-tl-steps{grid-template-columns:minmax(0,1fr);gap:6px}
  .bon .bon-tl-step{padding:10px 12px}
  .bon .bon-tl-step.bon-on{padding:9px 11px}
  .bon .bon-tl-k4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bon .bon-tl-k4 .bon-kpi:nth-child(3){border-left:0}
  .bon .bon-tl-k4 .bon-kpi:nth-child(n+3){border-top:1px solid var(--bon-line)}
  .bon .bon-tl-fields{grid-template-columns:minmax(0,1fr)}
  .bon .bon-tl-mkup{grid-template-columns:minmax(0,1fr)}
  .bon .bon-tl-secbtns{margin-top:0;margin-left:36px}
  .bon .bon-tl-secn{margin-top:0}

  .bon .bon-tl-addcrate{margin-top:0}
}
.bon .bon-tbl .bon-tl-acts{flex-wrap:nowrap}
/* On a phone, the records lists are a card a row (as Stock's list is). */
@media (max-width:640px){
  .bon .bon-tl-cards .bon-tbl-wrap{overflow:visible}
  .bon .bon-tl-cards .bon-tbl,.bon .bon-tl-cards .bon-tbl tbody{display:block;width:100%}
  .bon .bon-tl-cards .bon-tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .bon .bon-tl-cards .bon-tbl tr{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;position:relative;padding:12px 14px;border-bottom:1px solid var(--bon-line)}
  .bon .bon-tl-cards .bon-tbl td{display:block;padding:0;border:0;height:auto;text-align:left}
  .bon .bon-tl-cards .bon-tbl td .bon-stack{align-items:flex-start !important}
  .bon .bon-tl-sug .bon-tbl td:first-child{flex:1 1 100%;min-width:0}
  .bon .bon-tl-sug .bon-tbl td:nth-child(3)::before{content:"Now ";color:var(--bon-ink-3)}
  .bon .bon-tl-sug .bon-tbl td:nth-child(4)::before{content:"Guide ";color:var(--bon-ink-3)}
  .bon .bon-tl-sug .bon-tbl td:nth-child(5){flex:1 1 100%}
  .bon .bon-tl-sug .bon-tbl td:last-child{flex:1 1 100%}
  .bon .bon-tl-sug .bon-tl-acts{justify-content:flex-start}
  .bon .bon-tl-sel .bon-tbl tr{padding-left:50px}
  .bon .bon-tl-sel .bon-tbl td.bon-cbx{position:absolute;left:14px;top:16px}
  .bon .bon-tl-sel .bon-tbl td:nth-child(2){flex:1 1 100%;min-width:0}
  .bon .bon-tl-cards .bon-t1,.bon .bon-tl-cards .bon-t2{max-width:100%;white-space:normal}
}
/* --- Phase 5: Buy-ins (ShopStock BuyIns; the BuyIns, BuyIn and StockStates boards) ---
   The offer band, still-open rows, the stock book's dates, the offer rules'
   grid, and the counter: each record a row of six cells on a wide screen
   (record, grade, price, offer, the call, remove), stacked on a phone, with
   its grades opening under it; the phone's pay bar sits over the tab bar. */
.bon .bon-bi-rate{overflow:hidden}
.bon .bon-bi-rate-h{display:flex;align-items:center;gap:14px;padding:16px}
.bon .bon-bi-rate-t{margin:0;font-size:14px;line-height:1.45;color:var(--bon-ink)}
.bon .bon-bi-rate-t b{font-weight:600}
.bon .bon-bi-ic{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;flex:none;background:var(--bon-brass-bg);color:var(--bon-brass-ink)}
.bon .bon-bi-rate-b{display:flex;flex-direction:column;gap:10px;padding:14px 16px 16px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2)}
.bon .bon-bi-rate-b > p{margin:0}
.bon .bon-bi-rateform{align-items:flex-end;gap:10px 12px}
.bon .bon-bi-pct{width:140px}
.bon .bon-bi-open{list-style:none;margin:0;padding:0}
.bon .bon-bi-open > li{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--bon-line)}
.bon .bon-bi-open > li:last-child{border-bottom:0}
.bon .bon-bi-pad{padding:12px 16px 0}
.bon .bon-bi-dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.bon .bon-bi-rg{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:14px 16px;align-items:start}
.bon .bon-bi-rg + .bon-bi-rg{margin-top:16px;padding-top:16px;border-top:1px solid var(--bon-line)}
.bon .bon-bi-rulesf{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--bon-line);background:var(--bon-surface-2)}
.bon .bon-bi-rulesf > p{margin:0;flex:1 1 260px}
.bon .bon-affix.bon-bi-bad,.bon .bon-bi-seller .bon-inp[aria-invalid="true"]{border-color:var(--bon-bad)}
.bon .bon-bi-bin{display:grid;grid-template-columns:minmax(0,1fr) 110px 120px auto;gap:10px 12px;align-items:end}
.bon .bon-so .bon-kv.bon-bi-sum > span{color:var(--bon-ink);font-weight:600;font-size:15px}
.bon .bon-bi-finish{width:100%;height:42px;font-size:14px}
/* On the counter. */
.bon .bon-bi-lines{container:bon-bi / inline-size}
.bon .bon-bi-head,.bon .bon-bi-row{display:grid;grid-template-columns:minmax(0,2.3fr) 96px minmax(118px,1fr) minmax(132px,1.15fr) 256px 32px;grid-template-areas:"rec cond c1 c2 dec x";gap:8px 16px;align-items:start}
.bon .bon-bi-head{padding:9px 16px;background:#F6F6F8;border-bottom:1px solid var(--bon-line);font-size:12.5px;font-weight:500;color:#55555D}
.bon .bon-bi-line{border-bottom:1px solid var(--bon-line)}
.bon .bon-bi-line.bon-bi-on{background:#FCF4F4}
.bon .bon-bi-row{padding:12px 16px}
.bon .bon-bi-rec{grid-area:rec;display:flex;gap:12px;align-items:flex-start;min-width:0}
.bon .bon-bi-rec > .bon-cov{width:40px;height:40px}
.bon .bon-bi-art{width:40px;height:40px}
.bon .bon-bi-t{font-size:14px;font-weight:600;line-height:1.3}
.bon .bon-bi-cond{grid-area:cond;padding-top:5px}
.bon .bon-bi-c1{grid-area:c1;min-width:0}
.bon .bon-bi-c2{grid-area:c2;min-width:0;display:flex;flex-direction:column;gap:4px}
.bon .bon-bi-dec{grid-area:dec;min-width:0}
.bon .bon-bi-x{grid-area:x;padding-top:3px}
.bon .bon-bi-undo{align-self:flex-start;font-size:12.5px;text-align:left}
.bon .bon-bi-dec .bon-seg.bon-pick{flex-wrap:nowrap}
.bon .bon-so .bon-p.bon-bi-small{font-size:13px}
.bon .bon-bi-gbtn{height:28px;padding:0 8px;border:1px solid var(--bon-line-2);border-radius:6px;background:var(--bon-surface);font:500 12px var(--bon-mono);cursor:pointer;white-space:nowrap;color:var(--bon-ink)}
.bon .bon-bi-gbtn:hover{border-color:var(--bon-ink-3)}
.bon .bon-bi-gbtn[aria-expanded="true"]{border-color:var(--bon-primary);color:var(--bon-primary)}
.bon .bon-bi-gbtn:disabled{opacity:.5;cursor:not-allowed}
.bon .bon-bi-lab{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bon .bon-bi-grades{display:flex;flex-wrap:wrap;gap:12px 20px;padding:0 16px 16px 68px}
.bon .bon-bi-passed .bon-bi-rec > .bon-cov,.bon .bon-bi-passed .bon-bi-rec > img{opacity:.45}
.bon .bon-bi-passed .bon-bi-t{color:var(--bon-ink-2)}
.bon .bon-bi-foot{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 16px;background:var(--bon-surface-2)}
@container bon-bi (max-width:900px){
  .bon .bon-bi-head{display:none}
  .bon .bon-bi-dec .bon-seg.bon-pick{flex-wrap:wrap}
  .bon .bon-bi-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;grid-template-areas:"rec rec x" "cond cond cond" "c1 c2 c2" "dec dec dec";gap:12px}
  .bon .bon-bi-lab{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
  .bon .bon-bi-cond{display:flex;align-items:center;gap:10px;padding-top:0;font-size:12.5px;font-weight:500;color:var(--bon-ink-3)}
  .bon .bon-bi-gbtn{height:36px;padding:0 12px}
  .bon .bon-bi-grades{padding:0 16px 16px}
}
@container bon-main (max-width:640px){
  .bon .bon-bi-bin{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .bon .bon-bi-bin > :first-child,.bon .bon-bi-bin > .bon-btn{grid-column:1 / -1}
  .bon .bon-bi-open > li{flex-wrap:wrap}
  .bon .bon-bi-rate-h{flex-wrap:wrap}
}
/* The phone's pay bar: the records and the amount, over the tab bar. */
.bon .bon-bi-bar{position:fixed;left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:39;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 16px;border-radius:12px;background:var(--bon-ink);color:#FFFFFF;box-shadow:var(--bon-shadow-pop)}
.bon .bon-bi-bar .bon-btn{background:#FFFFFF;border-color:#FFFFFF;color:var(--bon-ink);box-shadow:none}
.bon .bon-bi-bar :focus-visible{outline-color:#E0AA3E}
.bon .bon-page.bon-bi-hasbar{padding-bottom:104px !important}
