/* Plywood Pro / Hardware Pro - extra styles on top of the shared iPOS app.css.
 * Two editions, one stylesheet: html.ed-plywood = warm wood (deep walnut + amber / teak), html.ed-hardware = steel (charcoal / steel blue + safety orange). */
:root, html.ed-plywood { --brand: #8a5528; --brand-2: #5e3618; --brand-soft: #f6ecdf; --accent: #e39b35; --accent-2: #b8691c; --accent-l: #fbd9a6; --dark: #2e1a0e; --dark-2: #4a2b16; --acc-sh: rgba(184, 105, 28, .4); --line2: #ead9c3; --wood: #c99a62; }
html.ed-hardware { --brand: #3b5b7a; --brand-2: #243a52; --brand-soft: #e7eef5; --accent: #f97316; --accent-2: #d45a0a; --accent-l: #fed7aa; --dark: #1c242d; --dark-2: #2d3a47; --acc-sh: rgba(212, 90, 10, .4); --line2: #d4dde6; --wood: #9aa8b6; }
.sidenav { background: var(--dark); }
.shopbar { background: var(--dark); }
b.dr, .dr { color: #b45309; }
b.cr, .cr { color: #15803d; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.neg { color: var(--bad); }
.calc { background: var(--brand-soft); border-radius: 12px; padding: 10px 14px; }
.calc .kv { grid-template-columns: 1fr auto; gap: 4px 16px; }
.calc .kv div:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.calc .big { font-size: 20px; font-weight: 800; color: var(--brand-2); }
.lines td { padding: 4px; vertical-align: middle; }
.lines input, .lines select { min-height: 36px; padding: 4px 6px; }
.lines .w-s { width: 90px; } .lines .w-m { width: 130px; }
.a4 .gp-box { border: 2px solid #000; padding: 10px; margin-top: 14px; }
.a4 .tot2 { width: 50%; margin-left: auto; }
[dir=rtl] .a4 .tot2 { margin-left: 0; margin-right: auto; }

.small { font-size: 13px; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 8px; }
label.f.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--brand-soft); }
tr.tot td { border-top: 2px solid var(--line); }
.banner.info { background: var(--brand-soft); color: var(--brand); }
.nbadge { margin-left: auto; background: #f2b705; color: #16202e; border-radius: 99px; font-size: 11.5px; padding: 1px 7px; }
.bottomnav .nbadge { position: absolute; margin: 0 0 0 18px; }
.req-alert { border-left: 4px solid #f2b705; }
.req-card { border-left: 4px solid #f2b705; }
.bk-head .card { margin-bottom: 0; }
.bk-head { margin-bottom: 16px; }

/* ac-list used inline (guest finder), and as buttons */
#gFound.ac-list { position: static; box-shadow: none; margin-bottom: 10px; }
.ac-list:empty { display: none; }
button.ac-row { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; justify-content: flex-start; }
#gsr button.ac-row { border-bottom: 1px solid var(--line); border-radius: 0; }


.btn.wa { background: #1fa855; color: #fff; border-color: #1fa855; }
/* settings */
.room-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 9px; padding: 6px 10px; cursor: pointer; font: inherit; }
.chip.off { opacity: .5; text-decoration: line-through; }
.more-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.more-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin: 0; }
.more-item svg { width: 28px; height: 28px; color: var(--brand); }

/* ---------- print ---------- */
.a4-head { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 12px; }
.a4-head img { width: 60px; height: 60px; object-fit: contain; }
.a4-head h1 { font-size: 20px; margin: 0; }
.a4-head > div { flex: 1; }
.a4-head h2 { text-align: right; font-size: 16px; margin: 0; }
.a4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; line-height: 1.5; }
.a4 table.reg th { text-align: left; background: #f3f3f3; text-transform: none; font-size: 12.5px; color: #000; }
.a4 table.folio td, .a4 table.folio th { border: 1px solid #999; }
.a4.land { max-width: none; }
.a4 table.reg-list td, .a4 table.reg-list th { font-size: 10.5px; padding: 3px 4px; text-transform: none; color: #000; }
@media print {
  .a4.land { width: 277mm; }
  .a4 .tablewrap { overflow: visible; }
}

@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; row-gap: 8px; }
  .topbar h1 { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .user-chip { display: none !important; }
  #topActions { flex-basis: 100%; order: 5; }
  #topActions:empty { display: none; }
  .a4-grid { grid-template-columns: 1fr; }
  .bk-head { grid-template-columns: 1fr; }
}

/* Urdu (right to left) prints */
.a4.ur { font-size: 14px; line-height: 1.9; }
[dir=rtl] .right, [dir=rtl] th.right, [dir=rtl] td.right { text-align: left; }
[dir=rtl] th, [dir=rtl] td { text-align: right; }
[dir=rtl] .a4-head h2 { text-align: left; }
.rcpt.ur .lr span:last-child { direction: ltr; unicode-bidi: embed; }

.a5 { max-width: 132mm; font-size: 12.5px; }
.a5 .a4-head img { width: 44px; height: 44px; }
.a5 .a4-head h1 { font-size: 17px; }
.sig2 { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; align-items: flex-end; }
.sig2 div:last-child { border-top: 1px solid #000; padding-top: 4px; min-width: 150px; text-align: center; }
.cutline { margin: 22px 0; color: #555; white-space: nowrap; overflow: hidden; }
.job h3 { margin-top: 0; }
/* ---------- 26.10.6 additions ---------- */
.nbadge.rq { background: #ef4444; color: #fff; }
.branch-sel { width: auto; min-height: 34px; padding: 4px 8px; }
/* main + side panel (bill / summary); one column on phones, summary under the form */
.split { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > .calc { position: static !important; }
}

/* ---- shared building blocks: item rows, tags, stock chips, schemes of the base app ---- */
.catdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.toxband { display: inline-block; width: 22px; height: 8px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.bchip { display: inline-block; padding: 1px 8px; margin: 1px 2px 1px 0; border-radius: 99px; font-size: 12px; background: var(--brand-soft); color: var(--brand-2); border: 1px solid var(--line2); white-space: nowrap; }
.bchip.warn { background: var(--warn-soft); color: var(--warn); border-color: #f3d29b; }
.bchip.bad { background: var(--bad-soft); color: var(--bad); border-color: #f0b6b1; }
.bchip.ok { background: var(--ok-soft); color: var(--ok); border-color: #b9e0cd; }
.warnc { color: var(--warn); font-weight: 600; }
.doseh { color: var(--accent-2); font-weight: 600; }
.bar:has(> i) { display: block; width: 100%; height: 9px; background: var(--brand-soft); border-radius: 5px; overflow: hidden; margin: 6px 0 3px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.alertrow { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.alertrow:last-child { border-bottom: 0; }
.alertrow:hover { background: var(--brand-soft); }
.alertrow i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--muted); }
.alertrow.bad i { background: var(--bad); } .alertrow.warn i { background: #f59e0b; } .alertrow.ok i { background: var(--ok); }
.schemehint { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 8px 12px; margin-top: 8px; font-size: 13.5px; }
.card.scheme.off { opacity: .6; }
.hv-row { display: grid; grid-template-columns: 80px 1fr 170px; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.hv-m { font-weight: 700; }
.hv-bar { background: var(--brand-soft); border-radius: 6px; height: 14px; overflow: hidden; }
.hv-bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.hv-v { text-align: right; font-variant-numeric: tabular-nums; }
.lines .w-l { width: 290px; }
.stat.bad { border-left: 4px solid var(--bad); } .stat.warn { border-left: 4px solid #f59e0b; } .stat.ok { border-left: 4px solid var(--ok); }
@media print { .bchip { border: 0; background: none; padding: 0; } }

/* Smart tools hub */
.smartgrid { gap: 12px; }
.smartcard { display: flex; align-items: flex-start; gap: 14px; text-decoration: none; color: inherit; padding: 16px; }
.smartcard > svg { width: 30px; height: 30px; flex: none; color: var(--brand); margin-top: 2px; }
.smartcard > span { display: flex; flex-direction: column; gap: 2px; }
.smartcard b { font-size: 16px; }
.smartcard:hover { border-color: var(--brand); }

/* ---- returns form, labels, cards ---- */
.fk-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; padding: 8px; border: 1px solid var(--line, #dde3ea); border-radius: 10px; background: #fafcfd; }
.fk-line .fk-item { flex: 1 1 260px; min-width: 0; }
.fk-line .fk-b { flex: 0 1 170px; min-width: 0; }
.fk-line .fk-q, .fk-line .fk-r { flex: 0 0 84px; width: 84px; }
.pt-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; float: right; margin: 0 0 8px 10px; border: 1px solid var(--line, #dde3ea); }
textarea[name=slabs] { width: 100%; font-family: inherit; }
.rb-bar { position: relative; height: 14px; border-radius: 8px; background: #e6edf3; margin: 26px 8px 14px; }
.rb-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: linear-gradient(90deg, #2e9e5b, #1b7a43); }
.rb-bar i { position: absolute; top: -4px; width: 2px; height: 22px; background: #8aa0b3; z-index: 2; }
.rb-bar i.on { background: #0f5d30; }
.rb-bar i em { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 700; color: #4b6275; white-space: nowrap; }
.rb-bar i.on em { color: #0f5d30; }
.fc-top { display: flex; gap: 14px; margin: 10px 0; align-items: flex-start; }
.fc-photo { width: 34mm; height: 40mm; object-fit: cover; border: 1px solid #888; flex: none; }
.fc-empty { display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; }
.warnc { color: #b26a00; }

/* ---- v26.10.20.9: touch item tiles, camera scan and voice on the sale screens ---- */
.pk { margin: 0 0 10px; }
.pk[hidden] { display: none; }
.pk-cats { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; margin-bottom: 8px; }
.pk-cats button { flex: none; white-space: nowrap; }
.pk-grid { max-height: 250px; overflow-y: auto; padding: 2px; }
.pk .prod { position: relative; touch-action: manipulation; }
.pk-n { position: absolute; top: 6px; right: 6px; background: var(--brand); color: #fff; border-radius: 99px; font-size: 12px; font-weight: 700; font-style: normal; padding: 1px 8px; }
.pk .prodgrid.big .prod .pk-n { top: 8px; right: 8px; }
.pos-find { min-width: 0; }

/* ================= Plywood & Hardware Pro ================= */
.kchip { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: 1px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand-2); white-space: nowrap; }
.tag.ac { background: var(--accent-l); color: #7a3d06; }
.tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.bad { background: var(--bad-soft); color: var(--bad); } .tag.warn { background: var(--warn-soft); color: var(--warn); }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.rowx { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg.wrap { flex-wrap: wrap; }
.stat .val small { font-size: 13px; font-weight: 600; }
.hint { font-size: 12.5px; color: var(--muted); }
.qbox { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.qbox input { flex: 1; min-width: 0; }

/* responsive tables: a desktop table, on a phone every row becomes a card with "label  value" */
@media (max-width: 820px) {
  .tablewrap.rtw { overflow: visible; }
  table.rt, table.rt tbody, table.rt tr, table.rt td { display: block; width: 100%; }
  table.rt tr.rt-h { display: none; }
  table.rt tr { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; background: var(--card); }
  table.rt tr.tot { background: var(--brand-soft); }
  table.rt td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; padding: 3px 0; text-align: right; min-height: 0; }
  table.rt td::before { content: attr(data-l); color: var(--muted); font-size: 12.5px; text-align: left; flex: none; max-width: 48%; }
  table.rt td.rt-m { display: block; text-align: left; font-size: 15px; padding-bottom: 4px; }
  table.rt td.rt-m::before, table.rt td:empty { display: none; }
  table.rt td.rt-a { justify-content: flex-start; flex-wrap: wrap; gap: 6px; }
  table.rt td.rt-a::before { display: none; }
  table.rt td .btn { min-height: 38px; }
}

/* ---------- POS ---------- */
.pos-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 10px; }
.pos-top .f { margin: 0; }
.pos-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pos-bar .ac-wrap { flex: 1 1 260px; min-width: 0; }
.pos-bar .btn { white-space: nowrap; }
table.lines td { vertical-align: top; }
table.lines .l-it b { display: block; }
table.lines .l-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
table.lines .l-info { font-size: 12px; margin-top: 3px; }
table.lines select.uom { width: 120px; min-height: 36px; }
table.lines .pcs { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
table.lines .pcs input { width: 58px; min-height: 30px; padding: 2px 4px; }
.chg { display: grid; grid-template-columns: 150px 80px 90px 1fr; gap: 6px 8px; align-items: center; }
.chg .lbl { font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.chg input, .chg select { min-height: 34px; padding: 4px 8px; }
.chg .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.dlv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.dlv .f { margin: 0; }
.ref-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--accent-l); border-radius: 10px; padding: 8px 10px; margin-top: 8px; color: #5a2c04; }
.ref-box b { white-space: nowrap; }
.ref-box .ac-wrap input { width: 100%; min-height: 32px; padding: 2px 8px; }
#sComm { width: 100px; min-height: 32px; padding: 2px 6px; }
@media (max-width: 1100px) { .pos-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 820px) { .chg { grid-template-columns: 1fr 70px 80px 90px; } .dlv { grid-template-columns: 1fr; } }

/* ---------- sheet quick picker (dialog on PC, bottom sheet on phone) ---------- */
.sp { display: flex; flex-direction: column; gap: 10px; }
.sp-step { display: flex; flex-direction: column; gap: 6px; }
.sp-step > b { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chips button { min-width: 64px; min-height: 42px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); font-weight: 700; font-size: 15px; cursor: pointer; }
.sp-chips button small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.sp-chips button.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.sp-chips button.on small { color: rgba(255, 255, 255, .8); }
.sp-chips button:disabled { opacity: .45; }
.sp-chips button kbd { font-size: 10px; margin-right: 4px; opacity: .7; }
.sp-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; }
.sp-it { display: flex; gap: 8px; align-items: center; text-align: left; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; font: inherit; }
.sp-it.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sp-it.out { opacity: .55; }
.sp-it > span { display: flex; flex-direction: column; min-width: 0; }
.sp-it b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-it small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-it .rt { margin-left: auto; text-align: right; font-weight: 800; white-space: nowrap; }
.sw { width: 30px; height: 30px; border-radius: 6px; flex: none; border: 1px solid rgba(0, 0, 0, .15); background-size: cover; background-position: center; }
.sp-modes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sp-modes button { min-height: 56px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 800; cursor: pointer; font-size: 14px; }
.sp-modes button small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.sp-modes button.on { border-color: var(--accent-2); background: var(--accent-l); color: #5a2c04; }
.sp-qty { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.sp-qty .f { margin: 0; }
.sp-qty input { width: 90px; }
.sp-pcs { display: flex; flex-direction: column; gap: 6px; }
.sp-pc { display: flex; gap: 6px; align-items: center; }
.sp-pc input { width: 72px; }
.sp-sum { background: var(--brand-soft); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.sp-sum b { font-size: 17px; }
.sp-off { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-off button { border: 1.5px dashed var(--accent-2); background: #fff8ee; border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit; font-size: 13px; }
.sp-off button.on { background: var(--accent-l); border-style: solid; }
@media (max-width: 820px) { .sp-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sp-items { grid-template-columns: 1fr; max-height: none; } }

/* ---------- sheet stock matrix, offcuts, laminate catalogue ---------- */
.mx { border-collapse: collapse; }
.mx th, .mx td { text-align: center; padding: 6px 8px; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mx td.z { color: var(--muted); }
.mx td.lo { background: var(--warn-soft); color: var(--warn); font-weight: 700; }
.mx td.hi { background: var(--brand-soft); font-weight: 700; }
.ocards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ocard { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--card); display: flex; gap: 10px; }
.ocard .shape { flex: none; width: 64px; height: 40px; position: relative; }
.ocard .shape i { position: absolute; left: 0; bottom: 0; background: repeating-linear-gradient(45deg, var(--wood), var(--wood) 4px, #e8cfa5 4px, #e8cfa5 8px); border: 1px solid #8a5a2b; border-radius: 2px; }
.ocard .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ocard .t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.swc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); cursor: pointer; text-align: left; padding: 0; font: inherit; }
.swc .sw-big { height: 84px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.swc .t { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.swc .t small { color: var(--muted); font-size: 12px; }
.vgrid { display: grid; gap: 6px; }
.vrow { display: grid; gap: 6px; align-items: center; }
.vrow input, .vrow select { min-height: 34px; padding: 4px 6px; min-width: 0; }
.packrow { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr 1fr 1.2fr 34px; gap: 6px; align-items: center; margin-bottom: 6px; }
.packrow input { min-height: 34px; padding: 4px 6px; min-width: 0; }
.room { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 10px; background: var(--card); }
.room-h { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.room-h input { font-weight: 700; max-width: 320px; }
.timeline { display: flex; gap: 6px; flex-wrap: wrap; }
.timeline span { padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); font-size: 12.5px; }
.timeline span.on { background: var(--brand); color: #fff; }
.a4 .chal td, .a4 .chal th { padding: 6px; }
.wcard { border: 2px solid #000; padding: 12px; margin-bottom: 14px; }
@media (max-width: 820px) { .packrow { grid-template-columns: 1fr 1fr 1fr; } .ocards { grid-template-columns: 1fr; } .swgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btn > svg{width:16px;height:16px;flex:none;vertical-align:-3px}
body:has(.modal-bg) #demoPill, body:has(.scan-ov) #demoPill, body:has(.mp-sheet) #demoPill, body:has(.mp-sheet-bg) #demoPill { display: none !important; }
/* sheet picker: compact enough to keep the buttons on a 1366x768 / 1024x700 screen */
.sp { gap: 7px; }
.sp-step { gap: 4px; }
.sp-chips button { min-height: 36px; padding: 3px 10px; font-size: 14px; }
.sp-modes button { min-height: 46px; }
.sp-step.sp-qty { flex-direction: row; align-items: flex-end; }
.modal .sp + p.small { display: none; }
@media (min-width: 821px) { .modal:has(#spRoot) .sp-step > b { font-size: 11.5px; } }
.sp input[type=checkbox] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0 6px 0 0; vertical-align: -3px; flex: none; }
.sp label.small { display: inline-flex; align-items: center; gap: 4px; }
