/* v28.49 — the standalone portals (/receive, /supplier). One small, plain stylesheet:
   a phone at a tailgate or a counter is the design target. */
:root { --cobalt:#003096; --ink:#0b1220; --line:#d9dee8; --bg:#f4f6fb; --muted:#5b6472;
  --ok:#1c6b3a; --okbg:#e9f5ee; --bad:#a3271c; --badbg:#fdecea; --warn:#7a5a00; --warnbg:#fff6dc; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink);
  font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
a { color:var(--cobalt); }
.top { background:var(--ink); color:#fff; }
.top .in { max-width:880px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; gap:12px; }
.top img { height:26px; }
.top .prod { font-weight:700; font-size:15px; letter-spacing:.3px; opacity:.9; }
.top .sp { flex:1; }
.top button.link { color:#fff; }
.wrap { max-width:880px; margin:0 auto; padding:18px 16px 40px; }
.narrow { max-width:520px; }
h1 { font-size:28px; line-height:1.15; margin:14px 0 8px; }
h2 { font-size:20px; margin:20px 0 8px; }
h3 { font-size:16px; margin:14px 0 6px; }
.sub { color:var(--muted); margin:0 0 16px; }
.muted { color:var(--muted); }
.small { font-size:13px; }
.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px; margin:12px 0; }
label { display:block; font-size:13px; font-weight:600; margin:12px 0 5px; }
input, select, textarea { width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:9px; font-size:16px; background:#fff; font-family:inherit; }
input[type=checkbox] { width:22px; height:22px; padding:0; flex:none; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--cobalt); outline-offset:0; border-color:var(--cobalt); }
.btn { display:inline-block; min-height:48px; padding:12px 18px; border:0; border-radius:10px; background:var(--cobalt); color:#fff;
  font-size:16px; font-weight:700; cursor:pointer; text-decoration:none; text-align:center; }
.btn.full { width:100%; }
.btn.ghost { background:#fff; color:var(--cobalt); border:1px solid var(--cobalt); }
.btn.ok { background:var(--ok); } .btn.bad { background:var(--bad); }
.btn:disabled { opacity:.55; cursor:default; }
button.link { background:none; border:0; color:var(--cobalt); font-size:15px; font-weight:600; cursor:pointer; min-height:44px; padding:0 6px; }
.row { display:flex; gap:12px; flex-wrap:wrap; } .row > * { flex:1; min-width:140px; }
.ack { display:flex; gap:10px; align-items:flex-start; margin:14px 0 4px; font-size:14px; font-weight:400; }
.msg { margin-top:12px; padding:11px 13px; border-radius:9px; font-size:14px; display:none; }
.msg.err { background:var(--badbg); color:var(--bad); border:1px solid #f5c6c0; display:block; }
.msg.ok { background:var(--okbg); color:var(--ok); border:1px solid #bfe3cd; display:block; }
.tabs { display:flex; gap:6px; overflow-x:auto; border-bottom:1px solid var(--line); margin:6px 0 10px; }
.tabs button { background:none; border:0; border-bottom:3px solid transparent; padding:12px 12px; font-size:15px; font-weight:600; color:var(--muted); cursor:pointer; white-space:nowrap; min-height:48px; }
.tabs button.on { color:var(--cobalt); border-bottom-color:var(--cobalt); }
.verdict { border-radius:12px; padding:14px; margin:12px 0; border:1px solid; }
.verdict.ok { background:var(--okbg); border-color:#bfe3cd; } .verdict.bad { background:var(--badbg); border-color:#f5c6c0; } .verdict.warn { background:var(--warnbg); border-color:#ecd48e; }
.verdict b.big { display:block; font-size:18px; margin-bottom:4px; }
.pill { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.3px; padding:3px 8px; border-radius:999px; background:#eef1f6; color:var(--ink); white-space:nowrap; }
.pill.ok { background:var(--okbg); color:var(--ok); } .pill.bad { background:var(--badbg); color:var(--bad); } .pill.warn { background:var(--warnbg); color:var(--warn); }
.list .item { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; padding:12px 0; border-top:1px solid var(--line); }
.list .item:first-child { border-top:0; }
.tblwrap { overflow-x:auto; } table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; } th { font-size:12px; color:var(--muted); }
.price { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px; }
.price > div { background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px; }
.price b { font-size:20px; display:block; }
.hero { background:linear-gradient(135deg,#0b1220,#13254d); color:#fff; border-radius:16px; padding:22px 18px; margin:8px 0 14px; }
.hero h1 { margin-top:0; } .hero p { color:#c9d3e6; margin:0; }
.band { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-top:22px; font-size:14px; }
.band b { color:var(--cobalt); }
.code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:20px; font-weight:800; letter-spacing:2px; }
.modal { position:fixed; inset:0; background:rgba(10,20,40,.45); display:flex; align-items:flex-end; justify-content:center; z-index:50; }
.modal .sheet { background:#fff; width:100%; max-width:520px; border-radius:14px 14px 0 0; padding:18px 16px 22px; max-height:90vh; overflow:auto; }
.lineed { border:1px solid var(--line); border-radius:10px; padding:10px; margin:8px 0; }
footer { color:var(--muted); font-size:12.5px; text-align:center; margin:26px 0 10px; }
@media (min-width:700px) { .modal { align-items:center; } .modal .sheet { border-radius:14px; } }
.top .prod { white-space:nowrap; }
@media (max-width:420px) { #who { display:none; } }
