:root {
  --bg: #f4f5f7; --panel: #ffffff; --ink: #14171f; --ink-2: #4a5160; --ink-3: #8a90a0;
  --line: #e3e6ec; --line-2: #d3d7df;
  --brand: #0f5bd8; --brand-ink: #ffffff; --brand-soft: #e8f0fe;
  --green: #12805c; --green-soft: #e3f5ee; --amber: #a15c00; --amber-soft: #fff3df;
  --red: #c4302b; --red-soft: #fde9e8; --blue: #1d5fc4; --blue-soft: #e8f0fe;
  --radius: 10px; --shadow: 0 1px 2px rgba(20,23,31,.06), 0 1px 1px rgba(20,23,31,.04);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 15px; margin: 0; }
h3 { font-size: 14px; margin: 20px 0 8px; }
p { margin: 8px 0; }
.boot { display: grid; place-items: center; height: 100vh; color: var(--ink-3); }
.muted { color: var(--ink-3); } .small { font-size: 12px; } .strong { font-weight: 600; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; }
.red-text { color: var(--red); } .center { text-align: center; }
.row { display: flex; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; } .row.center { justify-content: center; }
.gap { gap: 10px; } .gap-sm { gap: 6px; }

/* ---------- inputs & buttons ---------- */
input, select, textarea { font: inherit; color: inherit; background: #fff; border: 1px solid var(--line-2);
  border-radius: 8px; padding: 8px 10px; min-height: 36px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
input[type=checkbox] { width: 16px; height: 16px; min-height: 0; accent-color: var(--brand); }
input:disabled, select:disabled { background: #f6f7f9; color: var(--ink-3); }
.short { width: 80px; }
.btn { font: inherit; font-weight: 600; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  border-radius: 8px; padding: 8px 14px; min-height: 36px; cursor: pointer; white-space: nowrap; display: inline-flex;
  align-items: center; justify-content: center; gap: 6px; }
.btn:hover { background: #f6f7f9; text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.primary:hover { background: #0b4cb8; }
.btn.danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: rgba(20,23,31,.05); }
.btn.sm { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.btn.block { width: 100%; } .btn.xl { min-height: 52px; font-size: 16px; margin-top: 12px; }
.icon-btn { border: 0; background: transparent; color: var(--ink-3); cursor: pointer; font-size: 14px; padding: 6px 8px; border-radius: 6px; }
.icon-btn:hover { background: rgba(20,23,31,.06); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; flex: 1 1 160px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field-hint { font-size: 11px; color: var(--ink-3); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 8px 0; }
.seg { display: inline-flex; background: #e9ebf0; border-radius: 9px; padding: 3px; }
.seg button { font: inherit; font-weight: 600; font-size: 13px; border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.chip { font: inherit; font-size: 13px; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sel { width: auto; min-width: 140px; }
fieldset.box { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 10px 0; }
fieldset.box legend { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 4px; }

/* ---------- badges / alerts ---------- */
.badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #eceef2; color: var(--ink-2); white-space: nowrap; }
.badge.green { background: var(--green-soft); color: var(--green); } .badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.red { background: var(--red-soft); color: var(--red); } .badge.blue { background: var(--blue-soft); color: var(--blue); }
.alert { border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-size: 13px; }
.alert.sm { padding: 7px 10px; font-size: 12.5px; }
.alert.err { background: var(--red-soft); color: var(--red); } .alert.warn { background: var(--amber-soft); color: var(--amber); }
.alert.info { background: var(--blue-soft); color: var(--blue); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 100; max-width: 90vw; font-weight: 500; }
.toast.err { background: var(--red); }

/* ---------- login ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { background: #fff; width: 100%; max-width: 380px; padding: 32px 28px; border-radius: 14px; box-shadow: 0 10px 40px rgba(20,23,31,.08); }
.login-card h1 { margin-top: 14px; }
.brand-mark { width: 44px; height: 44px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: .02em; }
.brand-mark.sm { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; }
.nav { background: #12151c; color: #c9cdd6; display: flex; flex-direction: column; padding: 14px 10px; position: sticky; top: 0; height: 100vh; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; padding: 4px 8px 18px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #c9cdd6; font-weight: 500; }
.nav-item:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.nav-item.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-icon { width: 20px; text-align: center; opacity: .85; }
.nav-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding: 12px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.nav-foot .who { display: flex; flex-direction: column; font-size: 12px; } .nav-foot .who b { color: #fff; font-size: 13px; }
.nav-foot .btn.ghost { color: #c9cdd6; justify-content: flex-start; padding-left: 0; }
.main { min-width: 0; }
.page { padding: 22px 26px 60px; max-width: 1400px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

/* ---------- cards / tables ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; gap: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 14px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 14px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); margin: 14px 0; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tile-label { font-size: 12px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tile-value { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 600; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl.hover tr.click { cursor: pointer; } .tbl.hover tr.click:hover td { background: #f8f9fb; }
.item-name { font-weight: 600; }
.empty { color: var(--ink-3); text-align: center; padding: 24px 12px; }
.empty.big { padding: 70px 12px; font-size: 15px; }
.attn { margin: 0; padding-left: 18px; } .attn li { margin: 6px 0; }
.filters .search-in { font-size: 15px; min-height: 42px; }

/* ---------- checkout ---------- */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.scan { position: relative; margin-bottom: 14px; }
.scan input { font-size: 17px; min-height: 52px; padding-left: 42px; border-radius: 10px; border: 2px solid var(--line-2); background: #fff; }
.scan input:focus { border-color: var(--brand); outline: none; }
.scan-icon { position: absolute; left: 14px; top: 13px; font-size: 20px; color: var(--ink-3); }
.cust-search { position: relative; }
.scan-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line-2);
  border-radius: 10px; box-shadow: 0 12px 30px rgba(20,23,31,.12); overflow: hidden; max-height: 360px; overflow-y: auto; }
.cust-search .scan-results { top: 62px; }
.scan-hit { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font: inherit; border: 0;
  background: #fff; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.scan-hit:hover { background: var(--brand-soft); }
.cart { padding: 4px 10px; }
.cart-tbl .money-in { width: 110px; text-align: right; }
.money-in { width: 120px; text-align: right; font-variant-numeric: tabular-nums; }
.money-in.need { border-color: var(--amber); background: var(--amber-soft); }
.qty-in { width: 70px; text-align: right; }
.warn-row td { background: #fffaf0; }
.note { color: var(--amber); }
.cust-picked { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cust-picked .row { margin-top: 6px; }
.totals .tot-row, .tot-row { display: flex; justify-content: space-between; padding: 4px 0; font-variant-numeric: tabular-nums; }
.tot-row.grand { font-size: 20px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.tot-row.remain { font-weight: 600; margin-top: 8px; } .tot-row.owe { color: var(--amber); font-weight: 700; }
.tot-row.strike span { text-decoration: line-through; color: var(--ink-3); }
.pay-btns { display: flex; gap: 8px; margin-bottom: 8px; } .pay-btns .btn { flex: 1; }
.pay-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.pay-method { width: 52px; font-weight: 600; text-transform: capitalize; }
.pay-row .money-in { flex: 0 0 120px; } .ref-in { flex: 1; }
.cash-change { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f6f7f9; border-radius: 8px; margin: 8px 0; font-size: 13px; }
.cash-change .money-in { width: 110px; }
.notes-in { margin-top: 10px; }
.blockers { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.reasons { margin: 6px 0 12px; padding-left: 18px; color: var(--amber); font-weight: 500; }
.done-big { font-size: 36px; font-weight: 700; text-align: center; margin: 10px 0 0; }

/* ---------- inventory / receive ---------- */
.bulkbar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--brand-soft); border-radius: 8px; margin: 12px 0; }
.note-cell { cursor: text; display: inline-block; min-width: 40px; }
.timeline { list-style: none; padding: 0; margin: 12px 0; border-left: 2px solid var(--line); }
.timeline li { padding: 4px 0 12px 14px; position: relative; text-transform: capitalize; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.picked { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--brand-soft); border-radius: 8px; margin: 8px 0; }
.preview { background: #f6f7f9; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.log { list-style: none; padding: 0; margin: 0; max-height: 60vh; overflow: auto; }
.log li { display: flex; gap: 12px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.log li.ok::before { content: '✓'; color: var(--green); font-weight: 700; }
.log li.bad { color: var(--red); } .log li.bad::before { content: '✕'; font-weight: 700; }
.upload { margin-top: 10px; } .upload input { width: auto; flex: 1 1 160px; }
.void-box { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 6px; }
.totals-mini { max-width: 420px; margin-left: auto; margin-top: 10px; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(15,18,25,.45); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal.wide { max-width: 980px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 16px; }
.modal-body { padding: 14px 18px 18px; overflow: auto; }

/* ---------- small screens ---------- */
@media (max-width: 1100px) { .co-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .nav { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 8px; gap: 4px; }
  .nav-brand, .nav-foot { display: none; }
  .nav-item { flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 10px; }
  .page { padding: 16px; } .grid2 { grid-template-columns: 1fr; } .tiles.three { grid-template-columns: 1fr; }
}

/* ---------- printing ---------- */
#print-area { display: none; }
@media print {
  body.printing > #app { display: none !important; }
  body.printing #print-area { display: block; }
  body { background: #fff; }
  .p-doc { color: #000; font: 12px/1.35 var(--font); }
  .p-doc.receipt { width: 72mm; margin: 0 auto; }
  .p-doc.invoice { width: 100%; font-size: 13px; }
  .p-company { font-size: 16px; font-weight: 700; text-align: center; }
  .p-doc.invoice .p-company { text-align: left; font-size: 22px; }
  .p-small { font-size: 11px; text-align: center; } .p-doc.invoice .p-small { text-align: left; }
  .p-title { font-weight: 700; text-align: center; margin: 8px 0 2px; font-size: 13px; }
  .p-doc.invoice .p-title { text-align: left; font-size: 18px; margin-top: 18px; }
  .p-cust { margin: 8px 0; padding: 6px 0; border-top: 1px dashed #000; border-bottom: 1px dashed #000; }
  .p-lines, .p-totals { width: 100%; border-collapse: collapse; }
  .p-lines th { text-align: left; border-bottom: 1px solid #000; font-size: 11px; padding: 3px 0; }
  .p-lines td { padding: 4px 0; vertical-align: top; border-bottom: 1px dotted #999; }
  .p-doc.invoice .p-lines td, .p-doc.invoice .p-lines th { padding: 6px 4px; }
  .p-totals { margin-top: 6px; } .p-totals td { padding: 2px 0; }
  .p-grand td { font-weight: 700; font-size: 14px; border-top: 1px solid #000; padding-top: 4px; }
  .p-doc .r { text-align: right; white-space: nowrap; padding-left: 8px; }
  .p-doc .l { text-align: left; }
  .p-code { font-family: var(--mono); font-size: 11px; }
  .p-doc.receipt .p-lines tr.p-item td { border-bottom: 0; padding-bottom: 0; font-weight: 600; }
  .p-doc.receipt .p-lines tr.p-qty td { padding-top: 1px; }
  .p-foot { text-align: center; margin-top: 12px; font-size: 11px; }
  body.print-receipt { margin: 0; }
}
@page { margin: 8mm; }

/* ---------- lock screen (store station) ---------- */
.lock { min-height: 100vh; background: radial-gradient(1200px 600px at 50% -10%, #1f2a44 0%, #12151c 60%); color: #e8eaf0; padding: 22px 28px 40px; display: flex; flex-direction: column; }
.lock-head { display: flex; justify-content: space-between; align-items: flex-start; }
.lock-muted { color: #8f96a8; }
.lock-clock { font-size: 28px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.lock-title { text-align: center; font-size: 30px; margin: 36px 0 26px; color: #fff; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; max-width: 1100px; width: 100%; margin: 0 auto; }
.emp-tile { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px; color: #fff; cursor: pointer; transition: background .15s, transform .1s; }
.emp-tile:hover { background: rgba(255,255,255,.12); } .emp-tile:active { transform: scale(.98); }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.emp-name { font-weight: 600; font-size: 16px; text-align: center; }
.emp-status { font-size: 12.5px; color: #aab0bf; text-transform: capitalize; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5c6375; display: inline-block; }
.dot.green { background: #2fd08a; } .dot.amber { background: #f5a524; }
.lock-signout { margin: auto auto 0; padding-top: 40px; background: none; border: 0; color: #6f778a; font: inherit; font-size: 12px; cursor: pointer; }
.lock-signout:hover { color: #c9cdd6; text-decoration: underline; }
.pinpad { background: #fff; color: var(--ink); width: 100%; max-width: 360px; border-radius: 18px; padding: 18px 20px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.pin-head { display: flex; justify-content: space-between; align-items: flex-start; }
.pin-dots { display: flex; justify-content: center; gap: 12px; margin: 22px 0 8px; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); }
.pin-dots i.on { background: var(--ink); border-color: var(--ink); }
.pin-err { text-align: center; color: var(--red); font-weight: 600; min-height: 20px; font-size: 13px; }
.pin-err.muted { color: var(--ink-3); font-weight: 400; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.key { font: inherit; font-size: 24px; font-weight: 600; height: 60px; border-radius: 12px; border: 1px solid var(--line); background: #f6f7f9; cursor: pointer; }
.key:hover { background: #eceef2; } .key:active { background: #e1e4ea; }
.pin-actions { display: flex; flex-direction: column; gap: 8px; } .pin-actions .row .btn { flex: 1; }
.pin-actions .btn.xl { margin-top: 0; }
.lockbtn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.12); justify-content: flex-start; }
.lockbtn:hover { background: rgba(255,255,255,.14); }

/* ---------- payments ---------- */
.method-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.method { font: inherit; font-weight: 600; padding: 10px 4px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
.method.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.big-money { font-size: 22px; font-weight: 700; text-align: right; min-height: 48px; }
.quick-amts { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.done-card { border-color: var(--green); background: var(--green-soft); }
.btn.paylater { margin: 2px 0 6px; border-color: var(--blue); color: var(--blue); }
.btn.ghost-border { margin: 2px 0 6px; border-style: dashed; color: var(--ink-2); }
.pay-btns { flex-wrap: wrap; } .pay-btns .btn { flex: 1 1 70px; }
.cap { text-transform: capitalize; }
.sel-sm { width: auto; min-height: 28px; padding: 2px 6px; font-size: 12px; }
@media (max-width: 760px) { .method-grid { grid-template-columns: repeat(3, 1fr); } .lock { padding: 16px; } }

/* ---------- forms: customer / product ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid h3 { margin: 14px 0 4px; }
.seg.wide { display: flex; width: 100%; } .seg.wide button { flex: 1; padding: 9px 10px; }
.shipto { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding: 10px; background: #f6f7f9; border-radius: 8px; }
.shipto .row input { flex: 1; } .shipto .row input.short { flex: 0 0 72px; }
.ship-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ship-box form { display: flex; flex-direction: column; gap: 6px; } .ship-box .row input { flex: 1; } .ship-box .row input.short { flex: 0 0 72px; }
.cat-tree { list-style: none; padding: 0; margin: 10px 0; } .cat-tree > li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.cat-tree ul { list-style: none; padding-left: 18px; margin: 4px 0 0; } .cat-tree ul li { padding: 2px 0; color: var(--ink-2); }
.cat-tree b, .cat-tree span { cursor: pointer; } .cat-tree b:hover, .cat-tree span:hover { color: var(--brand); }
.brand-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.inline-form { display: inline-flex; } .inline-form input { width: 200px; min-height: 30px; padding: 4px 8px; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
@media print { .p-ship { margin: 6px 0; padding-bottom: 6px; border-bottom: 1px dashed #000; } }
.fee-note { font-size: 12.5px; background: var(--amber-soft); color: var(--amber); border-radius: 8px; padding: 6px 10px; margin: 2px 0 6px; }
.method-grid { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 760px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- sign-in card + time clock ---------- */
.lock-card { background: #fff; color: var(--ink); width: 100%; max-width: 400px; margin: 60px auto 0; border-radius: 16px; padding: 26px 26px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; }
.lock-card h1 { margin-bottom: 6px; }
.lock-card select, .lock-card input { font-size: 17px; min-height: 48px; }
.lock-card .btn.xl { margin-top: 14px; }
.clockbtn { margin: 0 4px 14px; background: #2a3242; color: #fff; border-color: #3a4458; }
.clockbtn:hover { background: #343e52; }
.clock-status { font-weight: 600; padding: 8px 12px; border-radius: 8px; background: #eceef2; color: var(--ink-2); margin: 4px 0 6px; }
.clock-status.green { background: var(--green-soft); color: var(--green); }
.clock-status.amber { background: var(--amber-soft); color: var(--amber); }
.clock-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.clock-actions .btn.xl { margin-top: 0; }
@media (max-width: 760px) { .clockbtn { margin: 0; flex: 0 0 auto; } }

/* ---------- sharing + back room ---------- */
.share { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.btn.wa { background: #1f9d55; color: #fff; border-color: #1f9d55; } .btn.wa:hover { background: #188a49; }
.custody-card { border: 2px solid var(--brand); }
.custody-card form { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
