/* Till screen. System fonts only: the till must look right with no internet. */
:root {
  --ink: #1B2740;
  --denim: #2F4B7C;
  --denim-soft: #DCE4F2;
  --bench: #E9ECF1;
  --paper: #FFFFFF;
  --brass: #B8892D;
  --brass-soft: #F6EBD0;
  --go: #1E7A52;
  --go-dark: #166040;
  --void: #B3362E;
  --muted: #5B667C;
  --line: #CBD2DE;
  --slab: Rockwell, "Rockwell Nova", "Roboto Slab", Georgia, serif;
  --surface: #FFFFFF;
  --hover: #3a5a93;
  --gold: var(--gold);
  --top: var(--ink);
  --who-a: #1f2d4d;
  --who-b: #0e1424;
  --radius: 6px;
  --radius-lg: 10px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 16px/1.35 var(--sans); background: var(--bench); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; border-radius: var(--radius); padding: 10px 16px; background: var(--denim); color: #fff; min-height: 44px; touch-action: manipulation; }
button:hover { background: var(--hover); }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.ghost:hover { background: var(--denim-soft); }
button.go { background: var(--go); } button.go:hover { background: var(--go-dark); }
button.void { background: var(--void); } button.void:hover { background: #962b24; }
button:disabled { opacity: .45; cursor: not-allowed; }
input, select, textarea { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); min-height: 44px; width: 100%; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
.slab { font-family: var(--slab); }
.muted { color: var(--muted); }
.r { text-align: right; } .num { font-variant-numeric: tabular-nums; }
.err { color: var(--void); font-weight: 600; min-height: 1.35em; margin-top: 8px; }

/* Sign-in and shift-open cards */
.center { min-height: 100%; display: grid; place-items: center; padding: 16px; }
.card { background: var(--paper); width: min(420px, 100%); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(27,39,64,.45); border-top: 6px solid var(--denim); }
.card h1 { font: 700 28px var(--slab); margin: 0 0 4px; }
.card .row { display: flex; gap: 10px; margin-top: 18px; }
.card .row > * { flex: 1; }

/* Layout */
.shell { height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.top { background: var(--top); color: #fff; display: flex; align-items: center; gap: 10px; padding: 8px 14px; flex-wrap: wrap; }
.top .brand { font: 700 20px var(--slab); margin-right: auto; letter-spacing: .2px; }
.top .meta { font-size: 14px; opacity: .85; }
.top button { background: rgba(255,255,255,.12); min-height: 38px; padding: 6px 12px; }
.top button:hover { background: rgba(255,255,255,.22); }
.main { display: grid; grid-template-columns: minmax(280px, 1.15fr) minmax(320px, 1.2fr) minmax(280px, .85fr); gap: 12px; padding: 12px; min-height: 0; }
.col { background: var(--paper); border-radius: var(--radius-lg); display: flex; flex-direction: column; min-height: 0; box-shadow: 0 1px 0 var(--line); }
.col > header { padding: 12px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; }
.scroll { overflow: auto; flex: 1; padding: 12px; }

/* Find column */
.tiles { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tile { text-align: left; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 0; display: flex; flex-direction: row; align-items: stretch; overflow: hidden; min-height: 0; }
button.tile { min-height: 0; padding: 0; }
button.tile:hover, .tile.pgroup:hover { background: var(--paper); border-color: var(--denim); box-shadow: 0 2px 10px -4px rgba(27,39,64,.35); }
.tile .ph { width: 80px; min-height: 76px; flex: none; background: var(--bench); display: grid; place-items: center; overflow: hidden; }
.tile .ph img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.tile .ph b { font: 700 30px var(--slab); color: var(--line); }
.tile .bd { padding: 8px 12px; min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tile .nm { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .ln { display: flex; align-items: baseline; gap: 12px; }
.tile .pr { font-family: var(--slab); font-weight: 700; }
.tile .st { font-size: 12px; color: var(--muted); white-space: nowrap; }
.tile .st.low { color: var(--void); font-weight: 600; }
.pgroup .sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; margin-top: 6px; }
.pgroup .sz { min-height: 48px; min-width: 0; width: 100%; box-sizing: border-box; padding: 3px 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.15; white-space: nowrap; background: var(--bench); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); }
.pgroup .sz .m { display: flex; align-items: baseline; gap: 6px; }
.pgroup .sz .n { font-size: 12px; font-weight: 700; color: var(--go); }
.pgroup .sz em { font-style: normal; font-size: 11px; color: var(--muted); }
.pgroup .sz:hover { background: var(--denim-soft); border-color: var(--denim); }
.pgroup .sz.low { background: var(--surface); border-style: dashed; color: var(--muted); }
.pgroup .sz.low .n { color: var(--void); }
.empty { color: var(--muted); padding: 24px 8px; text-align: center; }

/* Cart column */
.line { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.line .nm { font-weight: 600; overflow-wrap: anywhere; }
.line .amt { font: 700 17px var(--slab); text-align: right; }
.line .sub { color: var(--muted); font-size: 14px; }
.line .ctl { display: flex; gap: 6px; align-items: center; grid-column: 1 / -1; margin-top: 4px; }
.line .ctl button { min-height: 36px; padding: 4px 12px; background: var(--bench); color: var(--ink); border: 1px solid var(--line); }
.line .ctl .q { min-width: 28px; text-align: center; font-weight: 700; }
.line .ctl .gap { flex: 1; }
.line .disc { color: var(--go); font-weight: 600; }

/* Total column: the stitched panel is the one memorable thing here */
.pay { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.stitch { border: 2px dashed var(--brass); outline: 6px solid var(--brass-soft); outline-offset: -8px; background: var(--surface); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.stitch .lbl { color: var(--muted); font-size: 14px; }
.stitch .total { font: 700 clamp(40px, 5.2vw, 64px) var(--slab); line-height: 1.05; letter-spacing: -.5px; }
.stitch .vat { color: var(--muted); font-size: 14px; margin-top: 6px; }
.kv { display: flex; justify-content: space-between; padding: 3px 2px; color: var(--muted); }
.paybtn { min-height: 72px; font-size: 22px; font-weight: 700; }
.pay .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Modals */
#modal-root .back { position: fixed; inset: 0; background: rgba(27,39,64,.55); display: grid; place-items: center; padding: 12px; z-index: 10; }
.modal { background: var(--paper); border-radius: var(--radius-lg); width: min(520px, 100%); max-height: 94vh; overflow: auto; padding: 22px; border-top: 6px solid var(--denim); animation: pop .12s ease-out; }
.modal.wide { width: min(680px, 100%); }
.modal h2 { font: 700 24px var(--slab); margin: 0 0 8px; }
.modal .row { display: flex; gap: 10px; margin-top: 16px; }
.modal .row > * { flex: 1; }
@keyframes pop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.quick button { background: var(--bench); color: var(--ink); border: 1px solid var(--line); }
.due { font: 700 40px var(--slab); text-align: center; margin: 8px 0; }
.change { font: 700 48px var(--slab); text-align: center; color: var(--go); }
.paid-list div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.zr table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; }
.zr td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.over { color: var(--void); font-weight: 700; } .exact { color: var(--go); font-weight: 700; }

#toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); background: var(--top); color: #fff; padding: 12px 18px; border-radius: 8px; opacity: 0; pointer-events: none; transition: .18s; z-index: 30; max-width: 90vw; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--void); }

@media (max-width: 1000px) {
  .shell { height: auto; min-height: 100vh; }
  .main { grid-template-columns: 1fr 1fr; }
  .col.find { grid-column: 1 / -1; max-height: 50vh; }
}
@media (max-width: 640px) { .main { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } #toast { transition: none; } }
@media print { body * { visibility: hidden; } .zr, .zr * { visibility: visible; } .zr { position: absolute; inset: 0; } }

/* Sign-in: who's working? */
.who { min-height: 100vh; background: radial-gradient(ellipse at 50% 15%, var(--who-a) 0%, var(--who-b) 68%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 36px 20px; }
.who-head { text-align: center; }
.who-shop { font: 600 18px var(--slab); color: var(--gold); margin-bottom: 6px; }
.who h1 { font: 700 clamp(30px, 4.4vw, 48px) var(--slab); margin: 0; letter-spacing: .2px; }
.profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 28px; max-width: 1020px; }
.profile { background: none; border: 0; padding: 0; min-height: 0; width: clamp(104px, 14vw, 152px); display: flex; flex-direction: column; align-items: center; gap: 4px; color: #8E99B0; }
.profile:hover { background: none; }
.profile .pic { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; display: grid; place-items: center;
  font: 700 clamp(40px, 6vw, 66px) var(--slab); color: rgba(255,255,255,.92); margin-bottom: 8px; transform-origin: 50% 80%; }
.profile .who-nm { font-size: 19px; transition: color .15s; }
.profile .who-role { font-size: 13px; opacity: .7; }
.profile:hover .who-nm, .profile:focus-visible .who-nm { color: #fff; }
.profile:hover .pic, .profile:focus-visible .pic { box-shadow: 0 0 0 3px #fff, 0 14px 28px -10px rgba(0,0,0,.7); animation: bounce-pop .55s cubic-bezier(.28,.84,.42,1) both; }
.profile:focus-visible { outline: none; }
.profile:active .pic { transform: scale(.94); animation: none; transition: transform .08s; }
@keyframes bounce-pop {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.14, .94) translateY(-10px); }
  50% { transform: scale(.97, 1.05) translateY(0); }
  70% { transform: scale(1.07, .98) translateY(-4px); }
  100% { transform: scale(1.06) translateY(0); }
}
.who-link, .who-back { background: none; color: #8E99B0; text-decoration: underline; min-height: 0; padding: 6px 10px; }
.who-link:hover, .who-back:hover { background: none; color: #fff; }
.who-ver { color: #55607A; font-size: 13px; }
.who-pw { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(340px, 100%); }
.who-pw .pic.big { width: 148px; height: 148px; border-radius: 14px; object-fit: cover; display: grid; place-items: center; font: 700 70px var(--slab); color: rgba(255,255,255,.92); box-shadow: 0 0 0 3px #fff, 0 14px 28px -10px rgba(0,0,0,.7); animation: bounce-pop .55s cubic-bezier(.28,.84,.42,1) both; }
.who-name { font: 700 28px var(--slab); }
.who-pw input { background: var(--surface); color: var(--ink); text-align: center; font-size: 20px; min-height: 52px; border-radius: 8px; }
.who-err { color: #FF9C94; min-height: 1.4em; font-weight: 600; text-align: center; }
.who-actions { display: flex; align-items: center; gap: 8px; }
.who-go { background: var(--go); min-width: 140px; min-height: 50px; font-size: 18px; }
.who-go:hover { background: var(--go-dark); }
.who-pw.shake { animation: shake .35s; }
@keyframes shake { 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.pin-say { color: #C9D1E3; font-size: 16px; margin-top: -6px; }
.pin-dots { display: flex; gap: 18px; }
.pin-dots span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C9D1E3; transition: background .1s, transform .1s; }
.pin-dots span.on { background: #fff; border-color: #fff; transform: scale(1.1); }
.pin-pad { display: grid; grid-template-columns: repeat(3, 84px); gap: 12px; }
.pin-key { min-height: 72px; border-radius: 50%; width: 84px; height: 72px; background: rgba(255,255,255,.1); color: #fff; font: 600 28px var(--slab); padding: 0; }
.pin-key:hover { background: rgba(255,255,255,.2); }
.pin-key:active { background: rgba(255,255,255,.32); }
.pin-key.pin-fn { background: none; font: 600 15px var(--sans); color: #C9D1E3; }
.pin-key.pin-fn[aria-label="Delete"] { font-size: 26px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .profile:hover .pic, .profile:focus-visible .pic, .who-pw .pic.big { animation: none; transform: scale(1.04); } .who-pw.shake { animation: none; } }

/* Refund: find a sale without the receipt */
.or { font: 700 17px var(--slab); margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.findbar { display: grid; grid-template-columns: 150px 170px 1fr; gap: 8px; }
.salelist { margin-top: 10px; max-height: 38vh; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.saleitem { display: grid; grid-template-columns: 92px 1fr auto 86px; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--paper); color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); min-height: 52px; padding: 8px 12px; }
.saleitem:hover { background: var(--denim-soft); }
.saleitem:last-child { border-bottom: 0; }
.si-time { color: var(--muted); font-size: 14px; }
.si-items { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si-tag { font-size: 12px; color: var(--muted); }
.si-amt { font-family: var(--slab); font-weight: 700; text-align: right; }
.pad { padding: 14px; }

/* Help button and guide overlay */
.top .helpbtn { width: 38px; padding: 6px 0; font-weight: 700; font-size: 18px; border-radius: 50%; background: var(--brass); color: var(--ink); }
.top .helpbtn:hover { background: var(--gold); }
.help-fab { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; padding: 0; border-radius: 50%; font: 700 22px var(--slab); background: var(--brass); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); z-index: 5; }
.help-fab:hover { background: var(--gold); }
#helpwrap { position: fixed; inset: 0; z-index: 40; background: var(--bench); display: flex; flex-direction: column; }
#helpwrap iframe { flex: 1; border: 0; width: 100%; background: #fff; }
.help-bar { background: var(--top); color: #fff; display: flex; align-items: center; gap: 14px; padding: 8px 14px; }
.help-bar a { color: var(--gold); }
.help-bar button { background: rgba(255,255,255,.14); min-height: 38px; padding: 6px 14px; }

/* Training mode: orange hazard stripe on top, an orange frame around everything, an orange top bar */
#trainbar { position: sticky; top: 0; z-index: 25; padding: 7px 14px; text-align: center; font-size: 15px; color: #1B1B1B; font-weight: 500;
  background: repeating-linear-gradient(-45deg, #FFC21A 0 18px, #FFD966 18px 36px); border-bottom: 2px solid #1B1B1B; }
#trainbar strong { font: 800 16px var(--slab); letter-spacing: .6px; margin-right: 6px; }
body.training::after { content: ''; position: fixed; inset: 0; border: 6px solid #E8890C; pointer-events: none; z-index: 35; }
body.training .top { background: #7A3A05; }
body.training .shell { height: calc(100vh - 36px); }
.profile.train .pic { box-shadow: 0 0 0 3px #FFC21A; border-radius: 12px; }
.profile.train .pic.ini { font-size: clamp(36px, 5vw, 56px); }
.profile.train .who-nm { color: #FFC21A; }

/* v0.13 features */
#modal-root .back.mini, .back.mini { position: fixed; inset: 0; background: rgba(27,39,64,.55); display: grid; place-items: center; padding: 12px; z-index: 20; }
.creditnote { background: var(--brass-soft); border-left: 4px solid var(--brass); padding: 8px 12px; border-radius: 4px; margin: 8px 0; }
.vcode { font: 700 22px var(--slab); letter-spacing: 2px; background: var(--bench); padding: 8px 12px; border-radius: var(--radius); text-align: center; margin: 8px 0; user-select: all; }
.toolsec { margin: 16px 0 6px; font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toolgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .toolgrid { grid-template-columns: 1fr; } }
.tool { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; text-align: left;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: border-color .12s, box-shadow .12s, transform .06s; }
.tool:hover { border-color: var(--denim); box-shadow: 0 3px 10px rgba(0,0,0,.08); background: var(--paper); }
.tool:active { transform: translateY(1px); }
.tool:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.tool:disabled { opacity: .45; }
.toolgrid > .tool:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tool .ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--denim-soft); color: var(--denim); }
.tool .ti svg { width: 24px; height: 24px; }
.tool .tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool .tt b { font: 700 17px var(--sans); line-height: 1.2; }
.tool .tt span { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.3; }
.tool.warn .ti { background: var(--brass-soft); color: var(--brass); }
.heldlist, .custlist, .salelist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 10px 0; max-height: 50vh; overflow-y: auto; }
.held { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.held:last-child { border-bottom: 0; }
.held .hd { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.held .hd b { font-size: 17px; }
.held .hb { display: flex; gap: 6px; }
.held .hb button { min-height: 44px; padding: 6px 14px; }
.custlist button { text-align: left; background: var(--paper); color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); min-height: 48px; padding: 8px 12px; }
.custlist button:hover { background: var(--denim-soft); }
.handnote { background: var(--brass-soft); border-left: 5px solid var(--brass); padding: 12px 14px; border-radius: 4px; margin: 10px 0; white-space: pre-wrap; }
.saleitem.static { cursor: default; grid-template-columns: 52px 1fr auto 80px auto; min-height: 56px; }
.saleitem.static .ghost.mini { min-height: 36px; padding: 4px 10px; }
.saleitem.static:hover { background: var(--paper); }
.si-act { display: flex; gap: 6px; justify-content: flex-end; }
.ghost.mini, button.mini { min-height: 36px; padding: 4px 10px; font-size: 14px; }
.zslip { font-family: ui-monospace, Consolas, monospace; font-size: 14px; background: var(--surface); border: 1px dashed var(--line); padding: 10px 12px; margin: 10px 0; max-height: 55vh; overflow: auto; }
.zslip .zh { font-weight: 800; margin-top: 8px; border-bottom: 1px solid var(--ink); }
.zslip .zrow { display: flex; justify-content: space-between; gap: 12px; padding: 1px 0; }
.zslip .zrow.b { font-weight: 800; }
.zslip .zrow.flag { color: var(--void); }
.zslip hr { border: 0; border-top: 1px dashed var(--muted); margin: 6px 0; }
#idleveil { position: fixed; inset: 0; z-index: 50; }
.modal textarea { resize: vertical; font-family: inherit; }
.giftmail{display:grid;gap:6px;margin:6px 0}.giftmail input,.giftmail textarea{width:100%;font:inherit;padding:8px;box-sizing:border-box}.check{display:block;margin:10px 0;cursor:pointer}
.check{display:flex;align-items:center;gap:8px;text-align:left}.check input{width:20px;height:20px;margin:0;flex:none}.modal{max-height:92vh;overflow:auto}

/* Long variant names (colours, widths, whole phrases) shrink and wrap instead of spilling out of the button. */
.pgroup .sz { overflow: hidden; white-space: normal; text-align: center; }
.pgroup .sz .m { max-width: 100%; justify-content: center; flex-wrap: wrap; }
.pgroup .sz b { overflow-wrap: anywhere; }
.pgroup .sz.long b { font-size: 14px; }
.pgroup .sz.xl b { font-size: 12.5px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pgroup .sizes:has(.sz.xl) { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* link light */
.linklight { display: inline-flex; align-items: center; gap: 8px; }
.linklight i { width: 12px; height: 12px; border-radius: 50%; background: #8a8a8a; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.linklight.green i { background: #2fbf5b; }
.linklight.amber i { background: #f5a623; }
.linklight.red i { background: #e5484d; }
.linklight span { font-size: 13px; }
@media (max-width: 760px) { .linklight span { display: none; } }

/* Opening and closing counts */
.cnt-check { min-height: 1.4em; margin: 4px 0 2px; font-weight: 600; font-size: 15px; }
.cnt-check.ok { color: var(--go); }
.cnt-check.bad { color: var(--void); }
.cnt-check.info { color: var(--ink); }
.left-note { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; background: var(--brass-soft); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.left-note b { font: 700 22px var(--slab); }
.left-note small { grid-column: 1 / -1; color: var(--muted); }
.drawer-btn { width: 100%; margin: 6px 0 4px; }
.zslip.takings { max-height: none; }
.zslip .zrow.big { font-size: 18px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .split2 { grid-template-columns: 1fr; } }

/* Hot buttons: categories chosen in Admin > Categories */
.hotbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); max-height: 34vh; overflow-y: auto; flex: none; }
.hotbar .hot { flex: 1 1 calc(33.3% - 8px); min-width: 92px; min-height: 52px; padding: 6px 10px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.15;
  background: var(--denim-soft, #E3EAF6); color: var(--denim, #2F4B7C); border: 2px solid transparent; overflow-wrap: anywhere; }
.hotbar .hot:hover { filter: brightness(.96); }
.hotbar .hot.on { background: var(--denim, #2F4B7C); color: #fff; border-color: rgba(0,0,0,.15); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.hotbar .hot.c-red    { --hb: #C0392B; } .hotbar .hot.c-orange { --hb: #D35400; } .hotbar .hot.c-gold { --hb: #B8892D; }
.hotbar .hot.c-green  { --hb: #1E7A52; } .hotbar .hot.c-teal   { --hb: #138A8A; } .hotbar .hot.c-blue { --hb: #2D6CDF; }
.hotbar .hot.c-purple { --hb: #7D3C98; } .hotbar .hot.c-pink   { --hb: #C2185B; } .hotbar .hot.c-grey { --hb: #5B667C; }
.hotbar .hot[class*=" c-"] { background: color-mix(in srgb, var(--hb) 14%, var(--paper, #fff)); color: var(--hb); }
.hotbar .hot[class*=" c-"].on { background: var(--hb); color: #fff; }
.price-hint { font-size: 18px; }

/* Website sale prices on tiles */
.tile .pr.sale { color: var(--void); }
.tile .was { color: var(--muted); font-size: 13px; margin-left: 6px; }
.tile .deal { display: inline-block; margin-top: 3px; font-size: 13px; font-weight: 700; color: var(--go-dark); background: #DDF1E7; border-radius: 6px; padding: 1px 6px; }
