/* PackBench kiosk UI — big targets, high contrast, zero decoration. */
:root {
  --ground: #F2F4F7; --surface: #FFFFFF; --ink: #14283F; --sub: #62748A;
  --line: #DFE7EF; --accent: #09347B; --accent-ink: #fff;
  --brand-cyan: #B3E2F4; --accent-hover: #194787;
  --warn: #B4762B; --bad: #A3402F; --ok-soft: #E3F1F7; --bad-soft: #F6E5E1;
  --prio: #6D4AC4; --prio-soft: #EFEAFA;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "Seravek","Avenir Next","Segoe UI",system-ui,sans-serif; font-size: 16px; }
main { max-width: 1200px; margin: 0 auto; padding: 16px 20px 60px; }
a { color: var(--accent); }

.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--surface); border-bottom: 3px solid var(--brand-cyan); padding: 10px 20px; position: sticky; top: 0; z-index: 5; }
.topnav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 4px; }
.topnav .brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { display: block; width: 144px; height: auto; }
.brand-copy { display: flex; flex-direction: column; font-size: .75rem; line-height: 1.4; color: var(--accent); }
.brand-copy strong { font-size: .95rem; }
.login-brand-logo { display: block; width: 220px; max-width: 100%; height: auto; margin: 0 auto 8px; }
@media (max-width: 700px) { .topnav .brand { flex-basis: 100%; } }
.scan-status { margin-left: auto; font-size: .75rem; letter-spacing: .1em; color: var(--accent); }

.page-title { font-size: 1.5rem; margin: 8px 0; }
.tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 650; min-height: 48px; }
.tab.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tab .count { background: rgba(0,0,0,.12); border-radius: 999px; padding: 1px 9px; font-size: .8rem; }
.tab.active .count { background: rgba(255,255,255,.25); }
.search { margin-left: auto; }
.search input { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; min-width: 240px; font-size: 1rem; }

.orders { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.orders th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--sub); background: #EDF0EC; padding: 10px 12px; }
.orders td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.orders .empty { text-align: center; color: var(--sub); padding: 40px; }
.order-num a { font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.sub { color: var(--sub); font-size: .82rem; }
.product-vendor { margin-top: 4px; color: var(--accent); font-size: .78rem; font-weight: 700; }
#stock-warehouse { max-width: 360px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: .82rem; }
.thumb-cell { white-space: nowrap; width: 1%; }
.thumb { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-right: 2px; }
.express-row { box-shadow: inset 3px 0 0 var(--warn); }

.badge { display: inline-block; font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 6px; }
.badge.express { background: var(--ink); color: #fff; }
.badge.std { border: 1.5px solid var(--ink); }
.badge.xl { font-size: 1rem; padding: 8px 16px; }
.chip { display: inline-block; font-size: .72rem; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--sub); }
.chip.bad { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); }
.chip.ok { border-color: var(--accent); color: var(--accent); background: var(--ok-soft); }
.chip.note { border-color: var(--warn); color: var(--warn); }

.order-status { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.order-status.success { color: #166534; background: #DCFCE7; }
.order-status.danger { color: #991B1B; background: #FEE2E2; }
.order-status.waiting { color: #854D0E; background: #FEF08A; }
.order-status.pending { color: #9A3412; background: #FFEDD5; }
.order-status.information { color: #1E40AF; background: #DBEAFE; }
.order-status.neutral { color: var(--sub); background: #EDF0EC; }
.supplier-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.supplier-card { flex: 1 1 220px; padding: 16px; background: #F0F8FC; border: 1px solid var(--line); border-radius: 10px; }
.supplier-card h4 { color: var(--accent); margin: 0 0 10px; font-size: 1rem; }
.supplier-card p { margin: 6px 0 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--accent); border-radius: 10px; background: var(--surface); color: var(--accent); font-size: 1rem; font-weight: 650; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); background: var(--brand-cyan); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.tab:hover:not(.active) { border-color: var(--accent); background: var(--brand-cyan); }
.btn.big { font-size: 1.15rem; min-height: 56px; padding: 12px 26px; }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); }
.btn.tiny { min-height: 30px; padding: 2px 8px; font-size: .8rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
/* disabled buttons swallow hover, so their explanation rides a data-tip wrapper */
.disabled-tip { display: inline-block; cursor: not-allowed; }
.inline { display: inline; }

.sku-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.sku-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.sku-card.gift-pending { border-color: var(--warn); }
.sku-card.gift-pending .sku-card-count { color: var(--warn); }
.sku-card img { width: 84px; height: 84px; object-fit: contain; }
.sku-card-name { font-size: .82rem; font-weight: 650; line-height: 1.25; margin-top: 6px; }
.sku-card-count { font-size: 1.1rem; font-weight: 800; color: var(--accent); margin-top: 2px; }
.hint { color: var(--sub); font-size: .85rem; margin: 6px 0 16px; }

.pack-head { display: flex; justify-content: space-between; align-items: flex-start; margin: 10px 0 16px; }
.pack-order-num { font-size: 2.2rem; margin: 0; }
.micro { font-size: .7rem; letter-spacing: .14em; color: var(--sub); }
.pack-cols { display: grid; grid-template-columns: 1fr 320px; gap: 18px; }
@media (max-width: 900px) { .pack-cols { grid-template-columns: 1fr; } }
.pack-line { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.pack-line.done { border-color: var(--accent); background: var(--ok-soft); }
.pack-img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex: 0 0 auto; }
.pack-img.placeholder { background: repeating-conic-gradient(#eee 0% 25%, #f8f8f8 0% 50%) 50%/20px 20px; }
.pack-line-name { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.verify-btn { margin-left: auto; min-width: 92px; min-height: 56px; font-size: 1.2rem; font-weight: 800; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.pack-line.done .verify-btn { border-color: var(--accent); color: var(--accent); }
.qty { font-size: 1.5rem; font-weight: 800; min-width: 64px; text-align: center; }
.qty.multi { background: var(--ink); color: #fff; border-radius: 8px; padding: 4px 10px; }
.ship-bar { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.ship-ok { margin-top: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.card.wide { max-width: none; margin: 18px 0; }
.card h3 { margin: 0 0 6px; font-size: .95rem; }
.note-card { border-left: 4px solid var(--warn); }
.problem-form { display: flex; gap: 8px; margin-top: 10px; }
.problem-form select { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }

.rule-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rule-form input, .rule-form select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .95rem; }
.rule-form span { font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: var(--sub); }
.disabled-row { opacity: .5; }

.adjust-form { display: flex; gap: 6px; align-items: center; }
.adjust-form input, .adjust-form select { padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.stock-num { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stock-num.zero { color: var(--bad); }
.stock-num.committed { color: var(--bad); }
.stock-num.available { color: var(--accent); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 650; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

.label-form fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.label-form legend { font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--sub); text-transform: uppercase; padding: 0 6px; }
.label-form label { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--sub); }
.label-form input, .label-form select, .label-form textarea { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; }
.label-form textarea { width: 100%; font-family: ui-monospace, Menlo, monospace; }
.label-settings summary { cursor: pointer; }
.line-ov { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.line-ov:last-child { border-bottom: 0; }
.line-ov .sub { width: 100%; }
.tablewrap-x { overflow-x: auto; }
.item-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.item-form input { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; font-size: .85rem; }

.bulk-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 8px 12px; }
.tiny-select { padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; font-size: .8rem; }
.oos-row { box-shadow: inset 3px 0 0 var(--bad); }
/* priority tints the row (express/OOS own the inset bar, so they compose) */
.priority-row { background: var(--prio-soft); }
.chip.prio { background: var(--prio); color: #fff; border-color: var(--prio); font-weight: 800; }
.btn.tiny.prio { color: var(--sub); opacity: .55; }
.btn.tiny.prio.on { background: var(--prio); border-color: var(--prio); color: #fff; opacity: 1; }
.plan-divider.prio td { background: var(--prio-soft); color: var(--prio); }
/* Settings → Super priority: the organic block that leads the plan */
.plan-divider.organic td { background: var(--ok-soft); color: var(--accent); }
.chip.organic { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 800; }
.chip.oosflag { background: var(--bad); color: #fff; border-color: var(--bad); font-weight: 800; }
.typeicon { font-size: 1rem; font-weight: 800; color: var(--accent); cursor: help; margin-left: 4px; position: relative; }
.typeicon.dim { color: var(--muted); }
.typeicon.new { color: var(--warn); }
[data-tip] { position: relative; cursor: help; }
[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%); background: var(--ink); color: var(--ground);
  padding: 6px 10px; border-radius: 6px; font-size: .75rem; font-weight: 600;
  white-space: normal; width: max-content; max-width: 260px; text-align: left;
  line-height: 1.35; text-transform: none; letter-spacing: normal;
  z-index: 60; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.minus-chip { display: inline-block; border: 1.5px solid var(--bad); color: var(--bad); border-radius: 5px; padding: 0 7px; font-weight: 800; font-size: .85rem; line-height: 1.3; }
/* table header tooltips open DOWNWARD — .orders clips upward ones (overflow:hidden for rounded corners) */
thead [data-tip]:hover::after { bottom: auto; top: calc(100% + 6px); }
.tab-urgent.active, .tab-urgent { border-color: var(--warn); }
.statlink { text-decoration: none; color: var(--ink); display: block; }
.statlink:hover { border-color: var(--accent); }
.urgent-stat { border-left: 4px solid var(--warn); }
.oos-stat { border-left: 4px solid var(--bad); }

.period-picker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.custom-range { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.custom-range input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 14px 0 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.stat-num { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sub); }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.bar { height: 12px; background: var(--accent); border-radius: 3px; min-width: 2px; }
.total-row td { border-top: 2px solid var(--ink); font-size: 1.05rem; }
@media print {
  .topnav, .noprint { display: none !important; }
  body { background: #fff; }
  .card, .orders { border-color: #999; box-shadow: none; }
}

.login-body { display: grid; place-items: center; min-height: 100vh; margin: 0; background: var(--ground); font-family: "Seravek","Avenir Next","Segoe UI",system-ui,sans-serif; }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 34px; display: flex; flex-direction: column; gap: 14px; width: 320px; }
.login-card input { padding: 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1.1rem; }
.error { color: var(--bad); margin: 0; }

.ship-progress { display: none; width: 100%; height: 8px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; margin-top: 8px; }
.ship-progress div { height: 100%; width: 30%; background: var(--accent); animation: shipslide 1.1s linear infinite; }
@keyframes shipslide { from { margin-left: -30%; } to { margin-left: 100%; } }
.htmx-request .ship-progress, .ship-progress.htmx-request { display: block; }

/* Day plan (Fulfil Today) */
.plan-bar { margin: 12px 0 0; }
.plan-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-title { font-size: 1.05rem; font-weight: 800; margin-right: 8px; }
.plan-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-rebuild summary { cursor: pointer; margin-top: 8px; }
.plan-rebuild[open] summary { margin-bottom: 10px; }
.plan-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.plan-slider-row { display: flex; align-items: center; gap: 12px; flex: 1 1 460px; }
.plan-form input[type=range] { flex: 1; min-width: 180px; height: 40px; accent-color: var(--accent); cursor: pointer; }
.plan-cap { font-size: 1.7rem; font-weight: 800; min-width: 76px; text-align: right; font-variant-numeric: tabular-nums; color: var(--accent); }
.plan-divider td { background: var(--bad-soft); color: var(--bad); font-weight: 800; text-align: center; font-size: .85rem; padding: 8px; }
.overlay { position: fixed; inset: 0; background: rgba(23,32,28,.5); display: grid; place-items: center; z-index: 40; padding: 20px; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; max-width: 980px; width: 100%; max-height: 88vh; overflow: auto; padding: 18px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.modal-title { margin: 0 0 4px; font-size: 1.3rem; }
.plan-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 14px; }
.sku-card.short { border-color: var(--bad); background: var(--bad-soft); }
.short-note { color: var(--bad); font-weight: 800; font-size: .78rem; margin-top: 2px; }
.print-title { font-size: 1.4rem; margin: 6px 0 2px; }
.print-sub { color: var(--sub); margin: 0 0 14px; }
.print-list .tickbox-cell { width: 1%; }
.tickbox { display: inline-block; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; }
.print-thumb { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.print-name { font-size: 1.05rem; font-weight: 700; }
.print-qty { font-size: 1.35rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Day-plan bulk label progress */
.labels-progress { margin-top: 10px; }
.lp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.lp-track { height: 14px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #EDF0EC; }
.lp-fill { height: 100%; background: var(--accent); transition: width .6s ease; }
.lp-list { margin-top: 8px; }
.lp-list td { padding: 6px 10px; font-size: .85rem; }

/* Free-gift one-tap swap panel (order page) */
.gift-panel h3 { margin: 0 0 10px; }
.gift-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gift-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font: inherit; width: 100%; }
.gift-card:hover:not([disabled]) { border-color: var(--accent); background: var(--ok-soft); }
.gift-card[disabled] { opacity: .4; cursor: not-allowed; }
.gift-card img { width: 64px; height: 64px; object-fit: contain; }
.gift-name { font-size: .8rem; font-weight: 650; line-height: 1.25; text-align: center; }
.gift-stock { font-size: .95rem; font-weight: 800; color: var(--accent); }
.gift-stock.zero { color: var(--bad); }
.gift-eff-badge { display: inline-block; background: var(--ink); color: #fff; border-radius: 6px; padding: 2px 9px; font-weight: 800; font-size: .85rem; }
.gift-eff-note { color: var(--warn); font-weight: 650; margin: 6px 0 10px; }

.line-edit { position: relative; }
.line-edit summary { list-style: none; cursor: pointer; }
.line-edit-pop { position: absolute; right: 0; top: 110%; z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.15); display: flex; flex-direction: column; gap: 8px; min-width: 340px; }

/* Callouts (fulfilment note + address-change alerts) */
.callout { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.callout.warn { border-color: var(--warn); background: #FBF3E4; color: var(--ink); }
.callout.danger { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); font-weight: 650; }

/* Deliver-to edit form (order page) */
.contact-edit summary { list-style: none; cursor: pointer; display: inline-block; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.contact-form input { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; min-width: 0; }
.contact-form input.wide, .contact-form button { grid-column: 1 / -1; }

/* Inventory totals row (thead, oob-refreshed) */
.totals-row td { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--line); padding: 8px 10px; background: var(--ok-soft); }
.totals-row .stock-num { font-weight: 800; }

/* Wide data pages (Inventory): roomier container, and the table scrolls
   inside its own wrapper instead of bleeding past the right edge */
.wide-main { max-width: 1600px; }
.table-scroll { overflow-x: auto; padding-bottom: 4px; }
.table-scroll .orders { min-width: 1150px; }
.wide-main .orders th, .wide-main .orders td { padding: 10px 8px; }

/* Inventory: editable, reusable warehouse locations. */
.location-controls { display: flex; align-items: center; gap: 4px; }
.location-controls input { width: 190px; padding: 8px; font: inherit; border: 1px solid var(--line); border-radius: 8px; }
.location-controls input::placeholder { color: var(--sub); }
.location-controls input:focus-visible, .location-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.location-controls button:disabled { opacity: .55; cursor: wait; }
.location-status { display: block; max-width: 290px; font-size: .8rem; color: var(--sub); }
.location-list { position: fixed; z-index: 60; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 5px 16px #17201c26; padding: 4px; }
.location-list [role=option] { padding: 10px; cursor: pointer; overflow-wrap: anywhere; border-radius: 4px; }
.location-list [role=option]:hover, .location-list [aria-selected=true] { background: var(--accent); color: var(--accent-ink); }
.pick-location { font-weight: 700; overflow-wrap: anywhere; max-width: 45mm; }

.inventory-table td:nth-child(2), .inventory-table th:nth-child(2) { min-width: 200px; }
.inventory-table td:nth-child(3) { white-space: nowrap; }

/* Pagination bar — every list page (2026-09-21) */
.pager { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; font-size: .88rem; color: var(--sub); }
.pager-info b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pager-size { display: inline-flex; align-items: center; gap: 6px; }
.pager-size select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; background: var(--surface); color: var(--ink); }
.pager-nav { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.pager-nav .btn.tiny { min-width: 34px; }
.pager-nav .btn.off { opacity: .45; pointer-events: none; }
.pager-gap { padding: 0 4px; }
.bulk-bar + .pager, .pager + .bulk-bar { margin-top: 0; }

/* Easyship shipments register (2026-09-25) */
.es-refs { width: 100%; border-collapse: collapse; font-size: .85rem; }
.es-refs td { border-top: 1px solid var(--line); padding: 6px 4px; vertical-align: top; }
.es-refs tr.es-gone td, .es-refs tr.es-released td { opacity: .6; }
.es-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.card.es-blocked { border-color: var(--bad); }
.es-alarm { border: 2px solid var(--bad); }
form[data-submitting="1"] button[type="submit"], form[data-submitting="1"] button:not([type]) { opacity: .55; cursor: progress; }
