/* TuckDrop holding look: yellow + navy/black. Plain word mark only; the logo is not final. */
:root { --yellow:#ffc20e; --yellow-soft:#fff4cc; --navy:#0d1b3e; --ink:#111522; --grey:#5b6275; --line:#dfe2ea; --bg:#f6f7fa;
  --ok:#1d7a46; --warn:#b26a00; --bad:#b3261e; --radius:12px; }
* { box-sizing:border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color:var(--ink); background:var(--bg); font-size:16px; line-height:1.4; }
a { color:var(--navy); }
.topbar { background:var(--navy); color:#fff; padding:10px 16px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.wordmark { font-weight:900; font-size:22px; letter-spacing:.5px; color:#fff; text-decoration:none; }
.wordmark span { color:var(--yellow); }
.topbar nav { display:flex; gap:6px; flex-wrap:wrap; }
.topbar nav a { color:#fff; text-decoration:none; padding:6px 10px; border-radius:8px; font-size:15px; }
.topbar nav a.on, .topbar nav a:hover { background:var(--yellow); color:var(--navy); }
.private-tag { margin-left:auto; font-size:12px; background:#ffffff22; padding:3px 8px; border-radius:6px; }
.banner { background:var(--yellow-soft); border-bottom:2px solid var(--yellow); padding:8px 16px; font-size:14px; }
.banner b { color:var(--navy); }
main { max-width:1100px; margin:0 auto; padding:16px; }
h1 { font-size:24px; margin:8px 0 12px; color:var(--navy); }
h2 { font-size:19px; margin:18px 0 8px; color:var(--navy); }
h2.section-head { margin:22px 0 10px; padding:6px 0 6px 10px; border-left:5px solid var(--yellow); font-size:18px; letter-spacing:.2px; }
tr.section-row th { background:var(--navy); color:#fff; font-size:15px; text-transform:none; letter-spacing:0; padding:8px 10px; font-weight:800; }
.muted { color:var(--grey); font-size:14px; }
.card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:14px; margin-bottom:12px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:0; border-radius:10px; padding:10px 16px; font-size:16px; font-weight:700; cursor:pointer; background:var(--navy); color:#fff; text-decoration:none; }
.btn.yellow { background:var(--yellow); color:var(--navy); }
.btn.ghost { background:#fff; color:var(--navy); border:2px solid var(--navy); }
.btn.small { padding:6px 10px; font-size:14px; }
.btn.danger { background:#fff; color:var(--bad); border:2px solid var(--bad); }
.btn:disabled { opacity:.45; cursor:not-allowed; }
.btn.big { width:100%; padding:16px; font-size:19px; }
table { width:100%; border-collapse:collapse; background:#fff; }
th, td { text-align:left; padding:9px 8px; border-bottom:1px solid var(--line); vertical-align:middle; font-size:15px; }
th { background:#eef0f5; color:var(--navy); font-size:13px; text-transform:uppercase; letter-spacing:.3px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
.pill { display:inline-block; padding:2px 9px; border-radius:99px; font-size:13px; font-weight:700; white-space:nowrap; }
.pill.at-site { background:#e3f3ea; color:var(--ok); } .pill.ready { background:#e6ecff; color:#2340a0; } .pill.needs-refill { background:#fdeedd; color:var(--warn); }
.pill.example { background:var(--yellow-soft); color:#7a5800; border:1px solid var(--yellow); font-weight:600; }
.pill.demo { background:#fde7e5; color:var(--bad); }
.meter { width:120px; height:12px; background:#e8eaf0; border-radius:99px; overflow:hidden; display:inline-block; vertical-align:middle; }
.meter i { display:block; height:100%; background:var(--ok); }
.meter.low i { background:var(--bad); } .meter.mid i { background:var(--warn); }
.tile { width:56px; height:56px; border-radius:10px; flex:0 0 56px; display:flex; align-items:center; justify-content:center; font-weight:900; color:#fff; font-size:18px; overflow:hidden; background:var(--navy); }
.tile img { width:100%; height:100%; object-fit:cover; }
.row { display:flex; gap:12px; align-items:center; }
.grow { flex:1; min-width:0; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:10px; }
.item { background:#fff; border:2px solid var(--line); border-radius:var(--radius); padding:10px; display:flex; gap:10px; align-items:center; }
.item.picked { border-color:var(--yellow); background:#fffbea; }
.item .name { font-weight:700; } .item .price { color:var(--navy); font-weight:800; }
.qty { display:flex; align-items:center; gap:6px; }
.qty button { width:38px; height:38px; border-radius:10px; border:2px solid var(--navy); background:#fff; font-size:22px; font-weight:800; color:var(--navy); cursor:pointer; line-height:1; }
.qty output, .qty input { min-width:28px; width:44px; text-align:center; font-weight:800; font-size:18px; border:0; background:transparent; }
.stickybar { position:sticky; bottom:0; background:#fff; border-top:3px solid var(--yellow); padding:12px 16px; box-shadow:0 -4px 14px #0001; }
.total { font-size:24px; font-weight:900; color:var(--navy); }
label { display:block; font-weight:600; font-size:14px; margin:8px 0 4px; }
input[type=text], input[type=number], input[type=url], input[type=password], input[type=date], select { width:100%; padding:10px; border:1px solid #c6cad6; border-radius:8px; font-size:16px; background:#fff; }
.form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:0 12px; }
.notice { border-left:5px solid var(--yellow); background:#fffbea; padding:10px 12px; border-radius:8px; margin:10px 0; }
.notice.red { border-color:var(--bad); background:#fdf0ef; }
.notice.green { border-color:var(--ok); background:#eef8f2; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; }
.kpi { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:12px; }
.kpi b { display:block; font-size:24px; color:var(--navy); } .kpi span { font-size:13px; color:var(--grey); }
.kpi.hl { background:var(--navy); color:#fff; } .kpi.hl b { color:var(--yellow); } .kpi.hl span { color:#cfd6ea; }
.steps { display:flex; gap:6px; margin:6px 0 14px; flex-wrap:wrap; }
.steps span { padding:4px 10px; border-radius:99px; background:#e8eaf0; font-size:13px; font-weight:700; color:var(--grey); }
.steps span.on { background:var(--yellow); color:var(--navy); }
.hidden { display:none !important; }
video.scan { width:100%; max-height:320px; background:#000; border-radius:var(--radius); object-fit:cover; }
.toast { position:fixed; left:50%; bottom:90px; transform:translateX(-50%); background:var(--navy); color:#fff; padding:10px 16px; border-radius:10px; font-weight:700; z-index:50; }
dialog { border:0; border-radius:var(--radius); padding:18px; max-width:min(520px,94vw); }
dialog::backdrop { background:#0008; }
.qrbox { text-align:center; } .qrbox img { width:220px; height:220px; }
.scanlabel { display:inline-block; background:var(--navy); color:var(--yellow); font-weight:900; padding:4px 10px; border-radius:6px; letter-spacing:1px; }
@media (max-width:640px) { th.hide-m, td.hide-m { display:none; } main { padding:12px; } h1 { font-size:21px; } }

.est-note { font-size:12px; color:var(--grey); max-width:280px; line-height:1.35; margin-top:4px; }
.drop-target { position:relative; }
.drop-target.drag { outline:3px dashed var(--yellow); outline-offset:2px; background:#fffbea; }
#fprev.drop-target { min-width:64px; min-height:64px; border:2px dashed var(--line); border-radius:12px; display:flex; align-items:center; justify-content:center; }
#fprev.drop-target.drag { border-color:var(--yellow); }
td.pic-cell { position:relative; }

.topbar .private-tag { margin-left:auto; }
.signout { background:transparent; color:#fff; border:1px solid #ffffff66; border-radius:8px; padding:5px 10px; font-size:14px; cursor:pointer; }
.signout:hover { background:var(--yellow); color:var(--navy); }
.menu { display:grid; gap:14px; margin:14px 0; }
.menu a.tile-btn { display:block; text-decoration:none; background:var(--navy); color:#fff; border-radius:16px; padding:22px 20px; border-bottom:6px solid var(--yellow); }
.menu a.tile-btn b { display:block; font-size:26px; color:var(--yellow); margin-bottom:4px; }
.menu a.tile-btn span { font-size:16px; color:#e5e9f6; }
.menu a.tile-btn:active, .menu a.tile-btn:hover { background:#16295c; }
.quicklinks { display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 16px; }
.demo-login { background:var(--yellow-soft); border:2px dashed var(--yellow); border-radius:var(--radius); padding:12px 14px; margin:12px 0; }
.demo-login code { background:#fff; padding:2px 6px; border-radius:6px; font-size:16px; font-weight:700; }
tr.low-row td { background:#fff4e5; }
tr.low-row td:first-child { box-shadow:inset 5px 0 0 var(--warn); }
.pill.low { background:#b26a00; color:#fff; }
.visit-first { border-left:6px solid var(--warn); background:#fff4e5; border-radius:var(--radius); padding:12px 14px; margin:10px 0; }
.visit-first ol { margin:6px 0 0; padding-left:22px; }
.over { color:var(--ok); font-weight:800; } .short { color:var(--bad); font-weight:800; }
.filters { display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; margin:8px 0 12px; }
.filters > div { min-width:150px; }
/* printable QR labels */
.labels { display:grid; grid-template-columns:repeat(2, 95mm); gap:4mm; justify-content:center; }
.label { width:95mm; height:62mm; border:1px dashed #b9bdc9; border-radius:3mm; overflow:hidden; background:#fff; color:var(--navy); display:flex; flex-direction:column; break-inside:avoid; page-break-inside:avoid; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
.label .lhead { background:var(--navy); color:#fff; display:flex; justify-content:space-between; align-items:center; padding:2.5mm 4mm; }
.label .wm { font-weight:900; font-size:7mm; letter-spacing:.3mm; } .label .wm span { color:var(--yellow); }
.label .lbox { font-weight:900; font-size:6.5mm; color:var(--yellow); }
.label .lbody { flex:1; display:flex; align-items:center; gap:4mm; padding:2.5mm 4mm; }
.label .lbody img { width:36mm; height:36mm; }
.label .scanbig { background:var(--yellow); color:var(--navy); font-weight:900; font-size:6mm; padding:2mm 3mm; border-radius:2mm; text-align:center; letter-spacing:.4mm; line-height:1.1; }
.label .lsmall { font-size:3.2mm; margin-top:2mm; color:#333; }
.label .lfoot { font-size:2.6mm; color:#7b8091; text-align:center; padding:0 3mm 1.8mm; }
.labels.single { grid-template-columns:95mm; }
@media print {
  @page { size: A4; margin: 12mm 8mm; }
  body { background:#fff; }
  .noprint, .topbar, .banner { display:none !important; }
  main { padding:0; max-width:none; }
  .label { border-color:#d9dbe3; }
}

.site-note { font-size:13px; color:var(--grey); margin:4px 0 0; max-width:28em; }
.site-note.example { }
.pill.takes { background:#e3f3ea; color:var(--ok); } .pill.hardly { background:#fdeedd; color:var(--warn); } .pill.steady { background:#e6ecff; color:#2340a0; }
.account-form input[type=password] { letter-spacing:.05em; }
