/* ================================================================================================
   LEDGER — the customer portal's look, reset.

   Kyle, 2026-09-22, after four full-portal mockups: "I like ledger the best. Let's rebuild to that."

   What Ledger is: a left rail in the customer's own color, a light cool workspace, white cards
   with a hairline, dense calm tables, Archivo for headings and figures, IBM Plex Sans for
   everything else. It reads like an operations console — the buyer's own desk, not a brochure.

   Loaded LAST. portal.css and compose.css still carry the structure of every component; this file
   is the skin and the frame, and it wins every fight on purpose. life.css (the dark hero layer) is
   no longer loaded at all — the hero band is gone, the customer's color lives in the rail now.

   THE SECOND RULE THIS FILE SERVES. Kyle: "I want to make sure that all data fields show at all
   times, even if it's 0. I don't want it to look like anything is missing." Nothing here hides a
   field, a tile or a panel on empty — the markup always renders them, and the styles give a zero
   the same seat as a number.
   ================================================================================================ */

:root{
  --bg:#F3F5F8;
  --surface:#FFFFFF;
  --surface-2:#F3F5F8;
  --line:#DCE2EA;
  --line-soft:#EDF0F4;
  --line-strong:#C7CFD9;
  --ink:#1B2430;
  --ink-2:#5B6779;
  --ink-3:#78818A;
  --accent:#415469;
  --on-accent:#FFFFFF;
  --good:#1F6B45;
  --warn:#8A4A22;
  --ember:#C2703D;
  --shadow:none;

  --display:"Archivo","Helvetica Neue",Arial,sans-serif;
  --body:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;

  /* The customer's colors, set by applyBrand(). Slate until they arrive. */
  --brand-1:#2C3A4B;
  --brand-2:#C2703D;
  --brand-deep:#1C2633;
  --rail-w:232px;
}

html,body{ background:var(--bg); }
body{ font-family:var(--body); font-size:14px; line-height:1.45; color:var(--ink); }

/* ---------- THE FRAME: rail left, everything else right ---------------------------------------- */
.frame{ display:flex; min-height:100dvh; align-items:stretch; }
.sidenav{
  flex:none; width:var(--rail-w); position:sticky; top:0; height:100dvh; overflow-y:auto;
  background:var(--brand-deep); color:#DCE3EA;
  display:flex; flex-direction:column; gap:6px; padding:22px 16px 18px;
}
.sidenav .fb{ height:34px; margin:2px 8px 22px; }
.sidenav .fb img{ display:block; height:34px; width:auto; object-fit:contain; }
.snav{ display:flex; flex-direction:column; gap:2px; }
.snav .grp{
  font-family:var(--display); font-size:10px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:rgba(255,255,255,.45); padding:16px 12px 6px;
}
.snav button{
  display:flex; align-items:center; gap:10px; width:100%; text-align:left;
  padding:10px 12px; border-radius:6px; border:none; background:none; cursor:pointer;
  font:inherit; font-size:14px; font-weight:500; color:rgba(255,255,255,.78); min-height:40px;
}
.snav button:hover{ background:rgba(255,255,255,.07); color:#fff; }
.snav button:focus-visible{ outline:2px solid #fff; outline-offset:-2px; }
.snav button[aria-current="page"]{
  background:var(--brand-1); color:#fff; box-shadow:inset 3px 0 0 var(--brand-2);
}
/* Every item in a group sits on the same line as the first one. An indented second item under a
   flush first read as a mistake (Kyle, 2026-09-23). */
.snav button.sub{ padding-left:12px; }
.snav .pill{
  margin-left:auto; font-family:var(--display); font-size:11px; font-weight:700;
  padding:1px 7px; border-radius:999px; background:var(--ember); color:#fff;
}
.sidenav .you{
  margin-top:auto; border-top:1px solid rgba(255,255,255,.12); padding-top:14px; font-size:13px;
}
.sidenav .you b{ display:block; color:#fff; font-weight:600; }
.sidenav .you span{ display:block; color:rgba(255,255,255,.55); font-size:12px; margin-bottom:6px; }
.sidenav .you button{
  display:block; width:100%; text-align:left; background:none; border:none; cursor:pointer;
  font:inherit; font-size:13px; color:rgba(255,255,255,.78); padding:7px 0; min-height:36px;
}
.sidenav .you button:hover{ color:#fff; }
.sidenav .you button:focus-visible{ outline:2px solid #fff; outline-offset:2px; border-radius:4px; }

.mainwrap{ flex:1; min-width:0; display:flex; flex-direction:column; }

/* ---------- THE TOP BAR: who they are, and who to call ---------------------------------------- */
.topbar{
  position:sticky; top:0; z-index:30; min-height:64px;
  display:flex; align-items:center; gap:28px; padding:10px 32px;
  background:var(--surface); border-bottom:1px solid var(--line);
}
.topbar .who{ margin:0; text-align:left; display:flex; align-items:center; gap:10px; min-width:0; }
.topbar .who b{ font-family:var(--display); font-weight:700; font-size:17px; color:var(--ink); white-space:nowrap; }
.topbar .who span{ display:none; }
/* The customer's mark is the biggest thing in the bar. Kyle: "The retailer logo is really tiny and
   needs to be bigger and more visible." Capped on both axes, never cropped, never squashed. */
.acct-logo{ display:block; height:60px; max-width:300px; width:auto; object-fit:contain; }
.abar{ display:flex; gap:6px 26px; flex-wrap:wrap; align-items:flex-start; margin:0; padding:0; border:none; }
.abar-id{ display:flex; gap:26px; }
.abar-ppl{ display:flex; gap:22px; margin-left:auto; }
.abar-f, .abar-p{ display:flex; flex-direction:column; min-width:0; }
.abar-l{
  font-family:var(--body); font-size:12px; font-weight:500; letter-spacing:0; text-transform:none;
  color:var(--ink-2); line-height:1.4;
}
.abar b{ font-size:13px; font-weight:600; color:var(--ink); line-height:1.35; }
.abar a{ font-size:12px; color:var(--ink-2); text-decoration:none; line-height:1.5; }
.abar a:hover{ color:var(--ink); text-decoration:underline; }
.abar a:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:3px; }
.abar .none{ font-size:12px; color:var(--ink-3); }
.topbar .abar{ flex:1; }
.topbar .lockup{ display:none; }

.cartbtn{ color:var(--ink-2); padding:8px 14px 8px 8px; }
.reqbtn{ position:relative; background:none; border:none; cursor:pointer; color:var(--ink-2); font:inherit; font-size:13px; font-weight:600; padding:8px 22px 8px 8px; }
.reqbtn:hover{ color:var(--ink); }
.reqbtn .cartn{ top:1px; right:2px; }
.cartbtn:hover{ color:var(--ink); }
.cartbtn:focus-visible{ outline:2px solid var(--accent); }

/* My account / Sign out live in the rail on a desktop; this pair only appears on a phone. */
.acct-btns{ display:none; }

/* ---------- THE PAGE ---------------------------------------------------------------------------- */
main{ max-width:none; width:100%; margin:0; padding:28px 32px 48px; }
@media (prefers-reduced-motion:no-preference){
  main > *{ animation:none; }
}

.page-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:0 0 22px; }
.page-head .kicker{ margin-bottom:6px; }
.page-head .ph-r{ display:flex; gap:10px; align-items:center; flex:none; }
.kicker{
  font-family:var(--display); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-2); font-weight:600;
}
.kicker button, .kicker a{ font:inherit; color:inherit; background:none; border:none; padding:0; cursor:pointer; }
.kicker button:hover, .kicker a:hover{ color:var(--ink); }
h1.h1, .rec-h, .pdp-b h1{
  font-family:var(--display); font-weight:700; font-size:28px; letter-spacing:-.01em; margin:0;
  color:var(--brand-deep); line-height:1.15;
}
.rec-sub{ margin:4px 0 0; color:var(--ink-2); font-size:14px; }
.page-head + .rec-sub{ margin-top:-14px; margin-bottom:22px; }
.h2, .panel-h h3, .ocard-h h3, .sec-head h2, .sec-h h2{
  font-family:var(--display); font-weight:600; font-size:15px; letter-spacing:0; text-transform:none;
  margin:0; color:var(--ink);
}
.sec-head, .sec-h{ margin:26px 0 12px; }
.sec-head:first-child{ margin-top:0; }
.sec-head .count, .sec-h em{ font-size:13px; color:var(--ink-2); }
.sec-h::before{ display:none; }
.sec-h .more, .panel-a{ color:var(--ink-2); font-weight:600; font-size:12px; }
.sec-h .more:hover, .panel-a:hover{ color:var(--ember); }

/* ---------- CARDS, PANELS, TILES ---------------------------------------------------------------- */
.card, .panel, .ocard, .lcard, .item, .prod, .rcard, .citem, .imgc, .gfx, .proof, .row, .wip,
.checklist, .spec, .band, .nudge, .hist{
  box-shadow:none; border-color:var(--line);
}
.panel, .ocard, .lcard, .item, .prod, .wip, .checklist, .spec, .band{ border-radius:8px; }
.panel{ padding:18px 20px 20px; }
.panel-h{ margin:0 0 12px; align-items:center; }
.panel-m{ margin-left:8px; font-size:12px; color:var(--ink-2); }
.panel-a{ background:none; border:none; padding:2px 0; }

/* Six tiles on Home, five on Your business. They fit one row from 1200px; below that they wrap
   three-up, and never 5 + 1, which reads as a mistake rather than a row. */
.kpis{ display:grid; gap:18px; margin:0 0 22px; grid-template-columns:repeat(3, minmax(0, 1fr)); }
@media (min-width:1200px){ .kpis{ grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); } }
.kpi{
  background:var(--surface); border:1px solid var(--line); border-radius:8px;
  padding:16px 18px; display:flex; flex-direction:column; gap:6px; box-shadow:none;
}
.kpi-l{ font-family:var(--body); font-size:12px; font-weight:500; color:var(--ink-2); letter-spacing:0; text-transform:none; }
.kpi-v{
  font-family:var(--display); font-weight:700; font-size:clamp(22px, 1.9vw, 26px); line-height:1.1;
  letter-spacing:-.01em; color:var(--brand-deep); font-variant-numeric:tabular-nums;
}
.kpi-v .dt{ font-size:18px; }
.kpi-d{ font-size:12px; font-weight:500; gap:5px; margin:0; }
.kpi-d em{ font-size:12px; font-weight:500; color:inherit; }
.kpi-d.up{ color:var(--good); }
.kpi-d.down{ color:var(--warn); }
.kpi-d.flat, .kpi-d.none{ color:var(--ink-2); }
.kpi.link:hover{ border-color:var(--line-strong); transform:none; }
.kpi.link:focus-visible{ outline:2px solid var(--ember); }
.kpi.urgent .kpi-d{ color:var(--warn); }

.grid{ gap:18px; }
.grid2{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
@media (max-width:899px){ .grid2{ grid-template-columns:1fr; } }

/* ---------- TABLES ---------------------------------------------------------------------------- */
.tbl{ width:100%; border-collapse:collapse; font-size:13px; font-variant-numeric:tabular-nums; }
.tbl th{
  text-align:left; font-family:var(--display); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ink-2); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--line); white-space:nowrap;
}
.tbl th:first-child, .tbl td:first-child{ padding-left:0; }
.tbl td{ padding:11px 10px; border-bottom:1px solid var(--line-soft); vertical-align:top; }
.tbl tr:last-child td{ border-bottom:0; }
.tbl td.r, .tbl th.r{ text-align:right; padding-right:0; }
.tbl .mut, .mut{ color:var(--ink-2); }
.tbl .strong{ font-weight:600; }
.tbl tbody tr.link{ cursor:pointer; }
.tbl tbody tr.link:hover td{ background:var(--surface-2); }
.tbl tbody tr.link:focus-visible{ outline:2px solid var(--ember); outline-offset:-2px; }
.tbl a{ color:var(--ink); font-weight:600; text-decoration:none; }
.tbl a:hover{ text-decoration:underline; }
.tbl .zero td{ color:var(--ink-2); padding:14px 0; }
.tfoot{
  display:flex; justify-content:space-between; gap:14px; padding:12px 0 0; margin-top:4px;
  border-top:1px solid var(--line); font-size:12px; color:var(--ink-2);
}

/* Progress across an order's five stages, one segment per stage. */
.steps{ display:flex; gap:5px; align-items:center; min-width:120px; }
.steps i{ flex:1; height:6px; border-radius:3px; background:var(--line-soft); }
.steps i.on{ background:var(--brand-1); }

/* ---------- BUTTONS, CHIPS, TAGS ------------------------------------------------------------- */
.btn{ border-radius:6px; font-size:13px; font-weight:600; border-color:var(--line-strong); }
.btn.primary{ background:var(--ember); border-color:var(--ember); color:#fff; }
.btn.brand{ background:var(--brand-1); border-color:var(--brand-1); color:#fff; }
.btn.approve{ background:var(--good); border-color:var(--good); }
.btn.sm{ width:auto; padding:0 14px; min-height:36px; font-size:13px; }
.btn.xs{ width:auto; padding:0 12px; min-height:30px; font-size:12px; }
.btn.ghost{ background:var(--surface); }
.tag, .stage, .chip{
  display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:999px;
  font-size:11px; font-weight:600; letter-spacing:.01em; text-transform:none;
  background:#E8EEF5; color:#3A4A5E; border:none; margin:0;
}
.tag.done, .stage.done, .chip.ok{ background:#E3F0E8; color:var(--good); }
.stage.waiting, .chip.warn{ background:#F8E6D9; color:var(--warn); }
.tag.off{ background:transparent; border:1px dashed var(--line-strong); color:var(--ink-2); }
.chip.info{ background:#E4EAF6; color:#2F4370; }
.lictag{ border-radius:999px; }
.pill{ background:var(--ember); color:#fff; }

/* ---------- FORMS ----------------------------------------------------------------------------- */
.inp{ min-height:38px; padding:8px 10px; border-radius:6px; font-size:14px; background:var(--surface); }
.inp:focus{ outline:2px solid var(--brand-1); border-color:var(--brand-1); }
.field > span, .filt > span, .afld-l, .fld-l, .lfld-l{
  font-family:var(--body); font-size:12px; font-weight:500; letter-spacing:0; text-transform:none;
  color:var(--ink-2);
}
.filts{ gap:14px; }
.filt{ min-width:160px; }
.srch .inp{ max-width:520px; }

/* ---------- ORDERS: the list is a table ------------------------------------------------------ */
.otabs{ margin:0 0 18px; border-bottom:1px solid var(--line); }
.otab{ padding:10px 14px; font-size:13px; font-weight:500; color:var(--ink-2); border-bottom-width:2px; }
.otab.on{ color:var(--brand-deep); border-bottom-color:var(--ember); font-weight:600; }
.otab em{ color:var(--ink-3); }
.otab.on em{ color:var(--ember); }
.otab-b{ padding-top:0; }
.ordtbl{ padding:6px 20px 12px; }
.ordtbl .tbl th:first-child, .ordtbl .tbl td:first-child{ padding-left:0; }

/* ---------- THE ORDER RECORD ----------------------------------------------------------------- */
.rec-top{ margin:0 0 18px; }
.eyebrow{ font-family:var(--display); color:var(--ink-2); }
.rec-roll{ font-weight:600; }
.ocard{ margin-bottom:18px; border-radius:8px; }
.ocard-h{ padding:16px 20px 0; }
.ocard-b{ padding:12px 20px 18px; }
.ocard.strip .ocard-b{ padding:16px 20px; }
.opanels{ gap:18px; margin-bottom:18px; }
.opanels .ocard{ margin-bottom:0; }
.fld-v{ font-size:13.5px; }
.fld-v.none, .lval.none, .addr.none, .none-v{ color:var(--ink-3); }
.addr{ background:var(--surface-2); border-color:var(--line-soft); }
.vrow span{ color:var(--ink-2); }
.lcard{ border-radius:8px; padding:16px 20px 18px; }
.vpn.big{ font-family:var(--display); font-size:14px; }
.decor{ background:#E4EAF6; color:#2F4370; font-weight:600; font-size:11.5px; }
.szc{ background:var(--surface-2); border-color:var(--line-soft); }
.stat-b{ border-radius:3px; }
.sumrow.total{ border-top-color:var(--line); }
.ocard.sumcard{ max-width:420px; margin-left:auto; }

/* ---------- PROOFS ---------------------------------------------------------------------------- */
.proofs{ gap:18px; }
.proof{ border-radius:8px; }
.proof.waiting{ border:1px solid var(--line); box-shadow:inset 3px 0 0 var(--ember); }
.proof-art{ background:var(--surface-2); }
.proof-bd h3{ font-family:var(--display); font-weight:600; font-size:15px; }
.proof-due{ font-family:var(--body); letter-spacing:0; text-transform:none; font-size:12px; }
.proof-due.late{ color:var(--warn); }
.plate{ box-shadow:none; border:1px solid var(--line); border-radius:8px; }
.plate::after{ display:none; }
.plate-im{ background:var(--surface-2); }
.plate-kick{ color:var(--ember); }
.plate-cta{ border-radius:6px; }
.checklist{ border-left:3px solid var(--brand-1); }
.checklist h2{ font-family:var(--display); text-transform:none; letter-spacing:0; font-size:14px; }
.spec dt{ font-family:var(--body); text-transform:none; letter-spacing:0; font-size:12px; font-weight:500; }
.pdfwrap{ border-radius:8px; }
.detail-art{ border-radius:8px; }
.detail-art .none{ color:var(--ink-2); }

/* ---------- YOUR BUSINESS ----------------------------------------------------------------------- */
.mc .ylab, .mc .xlab{ font-family:var(--body); letter-spacing:0; text-transform:none; fill:var(--ink-2); }
.mc .now{ stroke:var(--brand-1); }
.mc .pt, .mc .mk-now{ fill:var(--brand-1); }
.mc .was{ stroke:#9AA5B5; }
.mc .mk-was{ fill:#9AA5B5; }
.sw.now{ border-top-color:var(--brand-1); }
.chart-key{ font-size:12px; color:var(--ink-2); }
.tip{ border-color:var(--line); border-radius:6px; }
.tip b{ font-family:var(--body); letter-spacing:0; text-transform:none; font-weight:600; color:var(--ink); }
.tip .gap{ font-family:var(--body); letter-spacing:0; text-transform:none; }
.yr b{ font-family:var(--display); }
.yr-bar i{ background:#4C6076; }
.yr.part .yr-bar i{ background:var(--brand-1); }
.bar:first-child .bar-t i{ background:var(--brand-1); }
.bar-t i{ background:#8FA6C0; }
.note{ font-style:normal; color:var(--ink-2); }

/* ---------- HOME: proofs waiting, ready to reorder ------------------------------------------- */
.plist{ display:flex; flex-direction:column; gap:12px; }
.plist .pl{
  display:flex; gap:12px; align-items:center; width:100%; text-align:left;
  background:none; border:none; padding:0; cursor:pointer; font:inherit; color:inherit;
}
.plist .pl:focus-visible{ outline:2px solid var(--ember); outline-offset:2px; border-radius:6px; }
.pl-im{
  flex:none; width:56px; height:56px; border-radius:6px; background:var(--surface-2);
  display:grid; place-items:center; overflow:hidden; font-family:var(--display); font-size:11px;
  font-weight:700; color:var(--ink-2);
}
.pl-im img{ width:100%; height:100%; object-fit:contain; }
.pl-b{ flex:1; min-width:0; }
.pl-b b{ display:block; font-weight:600; font-size:13.5px; }
.pl-b span{ display:block; font-size:12px; color:var(--ink-2); }
.pl-b span.late{ color:var(--warn); }
.pl .btn{ flex:none; }

.rail .art{ border-radius:6px; }
.art-tag.miss{ background:var(--ember); }
.art-cap b{ font-family:var(--display); }

/* ---------- SHOP ------------------------------------------------------------------------------- */
.rcard{ border-radius:8px; }
.rcard-b b{ font-family:var(--display); font-weight:600; }
.rcard.on{ border-color:var(--ember); }
.incart, .duetag{ border-radius:999px; }
.pdp-im{ border-radius:8px; }
/* Never blow a small image up to fill the frame -- that is what turned a 300px web image into a
   pixelated wall (Kyle, 2026-09-28). It sits at its own size, centred; a large one scales DOWN. */
.pdp-im img{ width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }
.pdp-price b{ font-family:var(--display); font-weight:700; }
.hist{ border-radius:8px; }
.hist span{ font-family:var(--body); letter-spacing:0; text-transform:none; font-size:11.5px; font-weight:500; }
.hist b{ font-family:var(--display); }
.nudge{ border-radius:8px; }
.citem{ border-radius:8px; }
.imgc{ border-radius:8px; }
.imgc.on{ border-color:var(--ember); }
.gfx{ border-radius:8px; }
.gfx-bd b{ font-family:var(--display); }

/* The customer's PO beside our order number on a shipment, same weight — it is the number they know. */
.row-main b .po{ margin-left:14px; font-weight:600; color:var(--ink-2); }
.row-main b .po-sep{ margin:0 4px; color:var(--ink-3); font-weight:400; }
/* Many packages on one dispatch: the master number on the row, the boxes one click below it. */
.boxes{ margin-top:8px; }
.boxes summary{ cursor:pointer; font-size:13px; font-weight:600; color:var(--ink-2); padding:4px 0; }
.boxes summary:hover{ color:var(--ember); }
.boxes .tbl{ margin-top:6px; }
.boxes .tbl td{ vertical-align:top; }
.boxes .track{ margin-top:0; min-height:0; line-height:1.5; }

/* Under the minimum: said in the warn color beside the figure, never a modal, never red. */
.short{ display:block; color:var(--warn); font-size:12.5px; font-weight:600; margin-top:3px; }
p.short{ margin:12px 0 0; font-size:13px; }
.citem-s .short{ text-align:right; }

/* ---------- ANALYSIS: the Foundry's pivot, in the customer's colors ------------------------------ */
.an-head{ display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; margin:0 0 14px; }
.an-ask{ color:#F26B21; }
.an-head-r{ margin-left:auto; display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; }
.an-w{ display:inline-flex; flex-direction:column; gap:3px; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3); }
.an-w .inp{ width:auto; min-height:34px; padding:6px 9px; font-size:13px; text-transform:none; letter-spacing:0; font-weight:400; }
.an-card{ background:var(--surface); border:1px solid var(--line); border-left:3px solid #F26B21; border-radius:8px; padding:14px 16px; margin-bottom:14px; }
.an-shelves{ display:flex; gap:12px; flex-wrap:wrap; align-items:stretch; }
.an-shelf{ flex:1; min-width:210px; border:1px dashed; border-radius:9px; padding:9px 11px; }
.an-shelf.row{ background:rgba(46,107,230,.07); border-color:rgba(46,107,230,.35); }
.an-shelf.col{ background:rgba(122,79,224,.07); border-color:rgba(122,79,224,.35); }
.an-shelf.row.over{ background:rgba(46,107,230,.18); }
.an-shelf.col.over{ background:rgba(122,79,224,.18); }
.an-shelf-l{ font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-3); margin-bottom:7px; }
.an-shelf-b{ display:flex; gap:7px; flex-wrap:wrap; align-items:center; min-height:30px; }
.an-shelf-b .mut{ font-size:12px; }
.an-pill{ display:inline-flex; align-items:center; gap:7px; color:#fff; border-radius:7px; padding:6px 8px 6px 11px; font-size:12.5px; font-weight:600; cursor:grab; user-select:none; }
.an-pill.row{ background:#2E6BE6; } .an-pill.col{ background:#7A4FE0; }
.an-pill .grip{ opacity:.6; font-size:11px; letter-spacing:-1px; }
.an-pill button{ border:none; background:rgba(255,255,255,.22); color:#fff; border-radius:50%; width:16px; height:16px; line-height:1; cursor:pointer; font-size:12px; padding:0; }
.an-tools{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:10px; }
.an-tools .inp{ width:auto; min-height:34px; padding:6px 9px; font-size:13px; }
.an-tools-r{ margin-left:auto; display:flex; gap:8px; }
.an-row{ display:flex; gap:6px; flex-wrap:wrap; margin-top:12px; border-top:1px solid var(--line); padding-top:11px; align-items:center; }
.an-l{ font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3); margin-right:4px; }
.chipbtn{ border:1px solid var(--line); background:var(--surface); color:var(--ink-2); border-radius:999px; height:28px; padding:0 12px; font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.chipbtn.on{ background:var(--brand-1); border-color:var(--brand-1); color:#fff; }
.an-only{ display:inline-flex; align-items:center; gap:6px; background:#12A594; color:#fff; border-radius:14px; padding:4px 6px 4px 11px; font-size:12px; font-weight:600; cursor:pointer; }
.an-only .dim{ opacity:.78; font-weight:500; }
.an-only button{ border:none; background:rgba(255,255,255,.25); color:#fff; border-radius:50%; width:16px; height:16px; line-height:1; cursor:pointer; font-size:12px; padding:0; }
.an-range{ font-size:12.5px; margin:-6px 0 14px; }
.an-kpis{ margin-bottom:16px; }
.an-grid .panel-h{ flex-wrap:wrap; }
.an-tw{ overflow:auto; max-height:620px; }
.tbl.an{ min-width:max-content; }
.tbl.an th{ position:sticky; top:0; background:var(--surface); z-index:2; }
.tbl.an .an-first{ position:sticky; left:0; z-index:1; background:var(--surface); box-shadow:1px 0 0 var(--line); white-space:nowrap; padding-left:10px; }
.tbl.an th.an-first{ z-index:3; }
.tbl.an tr.sub{ background:var(--surface-2); }
.tbl.an tr.sub .an-first{ background:var(--surface-2); }
.an-cell{ display:inline-flex; align-items:center; gap:7px; max-width:290px; }
.an-t{ width:14px; height:22px; border:none; background:none; cursor:pointer; color:var(--ink-3); font-size:11px; padding:0; flex:none; }
.an-l.top{ font-weight:600; font-size:13px; }
button.an-l{ background:none; border:none; padding:0; cursor:pointer; font:inherit; color:var(--ink); text-align:left; font-size:12.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-transform:none; letter-spacing:0; margin:0; }
button.an-l:hover{ color:var(--ember); text-decoration:underline; }
.tbl.an td.r{ font-size:12.5px; }
.tbl.an td.clk{ cursor:pointer; }
.tbl.an td.clk:hover{ outline:1px solid var(--line-strong); outline-offset:-1px; }
.tbl.an td.an-x{ font-size:12px; }
.an-barc{ width:100px; }
.an-bar{ background:var(--line); height:7px; border-radius:2px; overflow:hidden; }
.an-bar div{ height:100%; background:#2E6BE6; }
.an-tot td{ font-weight:700; border-top:2px solid var(--line-strong); }
.an-drill{ margin-top:18px; border-color:#2E6BE6; }
.an-fm{ max-width:620px; }
.an-fm-top{ display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; margin-bottom:10px; }
.an-fm-top .inp{ flex:1; min-width:160px; min-height:34px; }
.an-fm-top .an-w .inp{ flex:none; }
.an-fm-list{ max-height:340px; overflow:auto; border:1px solid var(--line); border-radius:8px; }
.an-fm-row{ display:flex; align-items:center; gap:9px; padding:7px 11px; border-bottom:1px solid var(--line-soft); cursor:pointer; font-size:13px; }
.an-fm-row.on{ background:rgba(18,165,148,.10); }
.an-fm-row .lab{ flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.an-fm-row .mut{ font-size:12px; font-variant-numeric:tabular-nums; }
.an-fm-none{ padding:20px; text-align:center; }
.an-fm-foot{ display:flex; align-items:center; gap:10px; margin-top:14px; }
.an-fm-btns{ margin-left:auto; display:flex; gap:10px; }
.sheet.help{ max-width:560px; }
.helplist{ margin:0 0 18px; padding-left:20px; font-size:14px; line-height:1.55; color:var(--ink-2); }
.helplist li{ margin-bottom:9px; }
.helplist b{ color:var(--ink); font-weight:600; }
.page-head .ph-r .btn + .btn{ margin-left:0; }
.anm{ display:flex; gap:8px; flex-wrap:wrap; margin-top:4px; }
.anm .chip{ cursor:pointer; border:1px solid var(--line); background:var(--surface); color:var(--ink-2); height:28px; padding:0 12px; font-size:12px; }
.anm .chip.on{ background:var(--brand-1); border-color:var(--brand-1); color:#fff; }
.anf{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:12px; }
.anf .chip{ height:26px; gap:6px; }
.anf .chip button{ background:none; border:none; cursor:pointer; font:inherit; font-size:14px; line-height:1; color:inherit; padding:0 0 0 2px; }
.tbl.an td:first-child{ padding-left:0; }
.an-in{ display:inline-flex; align-items:center; gap:6px; padding-left:calc(var(--d, 0) * 22px); }
.an-t{ width:20px; height:22px; border:none; background:none; cursor:pointer; color:var(--ink-2); font-size:12px; padding:0; display:inline-grid; place-items:center; }
.an-t:hover{ color:var(--ink); }
.an-l{ background:none; border:none; padding:0; cursor:pointer; font:inherit; color:var(--ink); text-align:left; font-weight:500; }
.an-l:hover{ color:var(--ember); text-decoration:underline; }
.an-r.d0 .an-l{ font-weight:600; }
.an-d{ font-size:11px; font-weight:500; margin-top:1px; }
.an-d.up{ color:var(--good); } .an-d.down{ color:var(--warn); } .an-d.flat{ color:var(--ink-3); }
.an-tot td{ font-weight:600; border-top:2px solid var(--line); padding-top:10px; }
.tbl.an th.r, .tbl.an td.r{ padding-left:14px; white-space:nowrap; }

/* The price schedule: one cell per column, the one the quantity has reached lit. */
.brks{ display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; }
.brk{ display:flex; flex-direction:column; gap:1px; padding:6px 10px; border:1px solid var(--line); border-radius:6px; font-size:12px; color:var(--ink-2); min-width:84px; }
.brk b{ font-size:14px; color:var(--ink); font-variant-numeric:tabular-nums; }
.brk.on{ border-color:var(--brand-1); background:var(--surface-2); }
.brk.on b{ color:var(--brand-deep); }

/* ---------- DESIGN SEARCH: order it, or ask for it on another team ------------------------------ */
.dord{ margin-top:6px; }
.dord .hist{ margin-top:12px; }
.dord-note{ margin:14px 0 0; font-size:13px; color:var(--ink-2); line-height:1.5; max-width:60ch; }
.dreq{ margin-top:26px; padding-top:20px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:12px; }
/* Type a team, pick from the few that match -- never a list of five hundred on the page. */
.dreq-find{ position:relative; max-width:420px; }
.dreq-menu{ position:absolute; left:0; right:0; top:100%; z-index:5; background:var(--surface); border:1px solid var(--line); border-radius:6px; box-shadow:0 10px 24px -12px rgba(16,20,24,.3); padding:4px; margin-top:4px; }
.dreq-menu button{ display:block; width:100%; text-align:left; background:none; border:none; cursor:pointer; font:inherit; font-size:13.5px; padding:8px 10px; border-radius:4px; color:var(--ink); }
.dreq-menu button:hover{ background:var(--surface-2); }
.dreq-menu .mut{ padding:8px 10px; font-size:13px; }
.dreq-tbl .inp{ min-height:34px; padding:6px 8px; font-size:13px; }
.dreq-tbl th .opt{ font-weight:500; text-transform:none; letter-spacing:0; color:var(--ink-3); margin-left:4px; }
.dreq .arow{ margin-top:2px; gap:14px; }
.dalso{ margin-top:10px; display:flex; flex-direction:column; gap:6px; }
.dalso > div{ display:flex; gap:6px; flex-wrap:wrap; }
.dalso-t{ cursor:pointer; border:none; font:inherit; }
.dalso-t:hover{ background:var(--brand-1); color:#fff; }
.wip.done .wip-tag.good{ color:var(--good); border-color:var(--good); }

/* ---------- MY ACCOUNT ------------------------------------------------------------------------ */
.acards{ max-width:none; grid-template-columns:minmax(0,1fr) 400px; align-items:start; }
.acards .ocard.company{ grid-column:2; grid-row:1 / span 3; }
@media (max-width:899px){ .acards{ grid-template-columns:1fr; } .acards .ocard.company{ grid-column:auto; grid-row:auto; } }

/* ---------- WIP, EMPTY, MISC ---------------------------------------------------------------- */
.wip{ border-left:3px solid var(--ember); }
.wip-tag{ border-radius:999px; }
.empty{ border-radius:8px; border-style:solid; border-color:var(--line); padding:32px 24px; color:var(--ink-2); }
.empty strong{ font-family:var(--display); }
.showing{ font-family:var(--body); letter-spacing:0; text-transform:none; font-size:12px; color:var(--ink-2); }
.showing .more{ background:none; border:none; cursor:pointer; font:inherit; font-weight:600; color:var(--ember); }
.backlink{ color:var(--ink-2); font-size:13px; margin-bottom:10px; }
.backlink:hover{ color:var(--ink); }
.loading{ color:var(--ink-2); }
.sheet{ border-radius:10px; }
.sheet h2{ font-family:var(--display); text-transform:none; letter-spacing:0; font-size:19px; font-weight:700; }
.lnk{ color:var(--ember); }
.tab-bar .btn.sm, .imgbar .btn{ margin-left:auto; }

/* ---------- SIGN IN: split, the customer's first sight of us ------------------------------------ */
.signin-split{ min-height:100dvh; display:flex; background:var(--bg); }
.signin-left{
  flex:0 0 52%; background:linear-gradient(160deg, #222426, #415469); color:#F2EBE0;
  display:flex; flex-direction:column; justify-content:space-between; padding:56px 64px;
  position:relative; overflow:hidden;
}
.signin-left::after{
  content:""; position:absolute; right:-160px; bottom:-160px; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(194,112,61,.35), rgba(194,112,61,0) 65%); pointer-events:none;
}
.signin-left .lockup-lg{ height:80px; margin:0; align-self:flex-start; }   /* Kyle 10-02: "too small" at 44px */
.signin-left .sl-b{ position:relative; }
.signin-left .kicker{ color:var(--ember); }
.signin-left h1{
  font-family:var(--display); font-weight:700; font-size:clamp(30px, 3.2vw, 44px); line-height:1.08;
  letter-spacing:-.01em; margin:12px 0 0; max-width:560px; color:#F2EBE0;
}
.signin-left p{ font-size:16px; color:#C9D0DA; max-width:520px; margin:18px 0 0; line-height:1.55; }
.signin-left .sl-f{ font-size:12px; color:#8B96A8; position:relative; }
.signin-right{ flex:1; display:flex; align-items:center; justify-content:center; padding:32px 20px; }
.signin-right .signin{ max-width:400px; }
.signin-right .card-bd{ padding:32px 36px; }
.signin-right h2{ font-family:var(--display); font-weight:700; font-size:24px; margin:0 0 4px; color:#222426; }
.signin-right .lead{ font-size:13px; color:var(--ink-2); margin:0 0 18px; }
.signin-right .inp{ min-height:42px; }
@media (max-width:899px){
  .signin-split{ flex-direction:column; }
  .signin-left{ flex:none; padding:28px 24px; gap:18px; }
  .signin-left .sl-f{ display:none; }
  .signin-left .lockup-lg{ height:44px; }   /* the phone keeps the size it had */
}

/* ---------- PHONE: the rail becomes a strip ---------------------------------------------------- */
@media (max-width:899px){
  .frame{ flex-direction:column; }
  .sidenav{
    width:100%; height:auto; position:sticky; top:0; z-index:31; flex-direction:row; align-items:center;
    gap:2px; padding:8px 12px; overflow-x:auto; overflow-y:hidden;
  }
  .sidenav .fb{ height:26px; margin:0 12px 0 0; flex:none; }
  .sidenav .fb img{ height:26px; }
  .snav{ flex-direction:row; align-items:center; gap:2px; }
  .snav .grp{ display:none; }
  .snav button{ white-space:nowrap; padding:8px 12px; min-height:36px; }
  .snav button.sub{ padding-left:12px; }
  .sidenav .you{ display:none; }
  .topbar{ position:static; flex-wrap:wrap; gap:10px 18px; padding:12px 16px; }
  .topbar .abar{ flex-basis:100%; order:3; gap:8px 18px; }
  .abar-ppl{ margin-left:0; flex-wrap:wrap; }
  .acct-btns{ display:flex; margin-left:auto; gap:12px; }
  .acct-btns .iconbtn{
    background:none; border:none; padding:6px 4px; min-width:0; min-height:36px;
    font-size:12.5px; font-weight:600; color:var(--ink-2);
  }
  main{ padding:18px 16px 40px; }
  .page-head{ flex-direction:column; align-items:flex-start; gap:12px; }
  .kpis{ grid-template-columns:1fr 1fr; gap:10px; }
  .ordtbl{ overflow-x:auto; }
  .ordtbl .tbl{ min-width:760px; }
}

/* The decoration badge beside the design number -- the Foundry's own pill. */
.decor{ display:inline-block; margin-left:8px; border-radius:999px; padding:3px 10px; font-family:var(--body, inherit); font-size:11px; font-weight:700; letter-spacing:.02em; white-space:nowrap; line-height:1.5; vertical-align:middle; }

/* ---------- TOP GRAPHICS: mockup D, chosen by Kyle 2026-09-29 --------------------------------
   A grid of the top twenty, best first; a click opens a quick view over the page. Already carried
   is a green label, never a faded card. */
.gx-f{ align-items:flex-end; }
.gx-chips{ display:flex; flex-wrap:wrap; gap:6px; padding-bottom:4px; }
.chipbtn em{ font-style:normal; margin-left:6px; opacity:.75; }
.gxs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; }
.gx{ background:var(--surface); border:1px solid var(--line); border-radius:8px; overflow:hidden; text-align:left;
  padding:0; cursor:pointer; display:flex; flex-direction:column; font:inherit; color:inherit;
  transition:border-color .15s, transform .15s; }
.gx:hover{ border-color:var(--accent); transform:translateY(-2px); }
.gx:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.gx-im{ position:relative; display:block; aspect-ratio:1/1; background:var(--surface-2); }
.gx-im img{ display:block; width:100%; height:100%; object-fit:contain; }
.gx-im .none{ display:grid; place-items:center; height:100%; font-family:var(--display); color:var(--ink-3); }
.gx-have{ position:absolute; top:10px; left:10px; font-size:10.5px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; background:#E3F0E8; color:var(--good); border-radius:999px; padding:3px 9px; }
.gx-have.static{ position:static; display:inline-block; }
.gx-qv{ position:absolute; right:10px; bottom:10px; background:rgba(27,36,48,.86); color:#fff; font-size:12px;
  font-weight:600; border-radius:6px; padding:6px 10px; opacity:0; transition:opacity .15s; }
.gx:hover .gx-qv, .gx:focus-visible .gx-qv{ opacity:1; }
.gx-b{ padding:12px 14px 14px; display:flex; flex-direction:column; gap:3px; }
.gx-b b{ font-family:var(--display); font-size:15px; font-weight:700; }
.gx-b .sub{ color:var(--ink-2); font-size:13px; }
.gx-t{ font-size:12px; color:var(--ink-3); }
.gxov{ position:fixed; inset:0; background:rgba(16,22,30,.55); display:grid; place-items:center; padding:16px; z-index:50; }
.gxqv{ position:relative; background:var(--surface); border-radius:10px; width:min(980px,100%);
  max-height:calc(100dvh - 32px); overflow:auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.gxqv-l{ padding:20px; border-right:1px solid var(--line); }
.gxqv-im{ display:block; width:100%; aspect-ratio:1/1; object-fit:contain; background:var(--surface-2);
  border:1px solid var(--line-soft); border-radius:6px; }
.gxqv-im.none{ display:grid; place-items:center; font-family:var(--display); color:var(--ink-3); }
.gx-th{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.gx-th button{ padding:0; border:2px solid transparent; border-radius:5px; background:none; cursor:pointer; }
.gx-th button[aria-pressed="true"]{ border-color:var(--accent); }
.gx-th img{ display:block; width:52px; height:52px; object-fit:cover; border-radius:3px; }
.gx-th span{ display:grid; place-items:center; width:52px; height:52px; font-size:9px; overflow:hidden; }
.gxqv-r{ padding:20px 22px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.gxqv-r h2{ font-family:var(--display); font-size:22px; margin:0; padding-right:36px; }
.gxqv-r .sub{ color:var(--ink-2); font-size:13px; }
.gx-x{ position:absolute; top:10px; right:10px; z-index:1; border:none; background:var(--surface-2); border-radius:999px;
  width:32px; height:32px; cursor:pointer; font-size:18px; line-height:1; }
.gx-vl{ border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.gx-v{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:10px 12px;
  border-bottom:1px solid var(--line-soft); }
.gx-v:last-child{ border-bottom:none; }
.gx-v.on{ background:#EEF3F8; }
.gx-vd{ display:flex; flex-direction:column; gap:3px; font-size:12.5px; min-width:0; }
.gx-vd b{ font-size:13px; }
.gx-vd .mono{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:11.5px; color:var(--ink-2); overflow-wrap:anywhere; }
.gx-vd .decor{ margin-left:0; align-self:flex-start; }
.gx-va{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.gx-p{ font-family:var(--display); font-variant-numeric:tabular-nums; margin:0; }
.gx-p.none{ font-family:var(--body); font-size:12.5px; font-weight:600; color:var(--ink-2); }
body.gx-lock{ overflow:hidden; }
@media (max-width:760px){
  .gxqv{ grid-template-columns:minmax(0,1fr); }
  .gxqv-l{ border-right:none; border-bottom:1px solid var(--line); }
}
@media (max-width:520px){ .gxs{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }
@media (prefers-reduced-motion:reduce){ .gx{ transition:none; } .gx:hover{ transform:none; } }

/* ---------- BUYER VIEW (Kyle, 2026-09-30) ---------------------------------------------------
   The switcher in the top bar, and the chosen buyer beside each page's heading. */
.abar-view select{ margin-top:1px; border:1px solid var(--line-strong); border-radius:6px; padding:4px 26px 4px 8px;
  background:var(--surface); font:inherit; font-size:13px; font-weight:600; color:var(--ink); max-width:220px; }
.abar-view.one select{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(65,84,105,.14); }
.scope{ display:inline-flex; align-items:center; gap:8px; align-self:flex-end; margin-right:auto; background:#E8EEF5; color:var(--accent);
  border-radius:999px; padding:4px 6px 4px 12px; font-size:12.5px; font-weight:600; white-space:nowrap; }
.scope button{ border:none; background:rgba(65,84,105,.14); color:inherit; border-radius:999px; width:22px; height:22px;
  cursor:pointer; line-height:1; font-size:15px; }
.scope button:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

/* ---------- SHIPMENTS: filter, sort, select, download (Kyle, 2026-09-30) ---------------------- */
.shp{ padding:0; }
.shp-f{ padding:16px 20px; border-bottom:1px solid var(--line); align-items:flex-end; }
.shp-clear{ align-self:flex-end; padding:8px 2px; }
.shp-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; padding:10px 20px; font-size:13px; color:var(--ink-2);
  border-bottom:1px solid var(--line-soft); }
.shp-bar b{ color:var(--ink); }
.shp-tw{ overflow-x:auto; padding:0 20px; }
.shp-t{ min-width:980px; }
.shp-t th.cb, .shp-t td.cb{ width:32px; padding-right:0; }
.shp-t input[type=checkbox], .shp-opt input{ width:16px; height:16px; accent-color:var(--accent); cursor:pointer; }
.thsort{ border:none; background:none; padding:0; font:inherit; letter-spacing:inherit; text-transform:inherit; color:inherit; cursor:pointer; }
.thsort:hover{ color:var(--ink); }
.thsort .ar{ margin-left:4px; color:var(--accent); }
.shp-t tr.on td{ background:#F2F6FA; }
.shp-t tr.shp-box td{ background:#FAFBFC; padding-top:6px; padding-bottom:6px; font-size:12.5px; }
.shp-t .track{ margin:0; min-height:0; }
.shp-t .mono, .shp-prev .mono{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12px; }
.shp-wait{ display:inline-block; border-radius:999px; padding:2px 9px; font-size:11.5px; font-weight:600; white-space:nowrap;
  background:#F6E9DF; color:var(--warn); }
.shp .showing{ padding:14px 20px; display:flex; gap:12px; align-items:center; }
.shp .empty{ margin:16px 20px; }
.shp-sel{ position:fixed; left:0; right:0; bottom:0; z-index:45; background:var(--ink); color:#fff;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); display:flex; flex-wrap:wrap; gap:10px 18px;
  align-items:center; justify-content:center; font-size:14px; }
.shp-sel .btn.ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.shp-sel .btn.primary{ background:#fff; color:var(--ink); border-color:#fff; }
.shp-mdl{ grid-template-columns:minmax(0,1fr); width:min(920px,100%); }
.shp-mdl-b{ padding:22px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.shp-mdl-b h2{ font-family:var(--display); font-size:20px; margin:0; padding-right:36px; }
.shp-mdl-b .sub{ color:var(--ink-2); font-size:13px; }
.shp-opt{ display:flex; gap:8px; align-items:center; font-size:13px; cursor:pointer; }
.shp-prev{ border:1px solid var(--line); border-radius:6px; overflow:auto; max-height:46vh; }
.shp-prev .tbl{ min-width:860px; font-size:12px; }
.shp-prev .tbl th, .shp-prev .tbl td{ padding:6px 10px; white-space:nowrap; }
.shp-mdl-a{ justify-content:flex-end; }
@media (max-width:760px){ .shp-f, .shp-bar{ padding-left:16px; padding-right:16px; } .shp-tw{ padding:0 16px; } }
.shp-sel-sp{ height:72px; }

/* The chosen ship-to location in full, under the picker (2026-09-30). */
.shipto-addr{ display:block; margin-top:6px; line-height:1.5; }

/* ---------- CHECKOUT: one location or split, and adding a location (2026-09-30) ---------------- */
.remode{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; }
.spl{ border:1px solid var(--line); border-radius:8px; padding:14px 16px; margin:14px 0; background:var(--surface); }
.spl-h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.spl-h b{ font-family:var(--display); font-size:15px; }
.spl-item{ display:flex; flex-wrap:wrap; gap:8px 18px; align-items:flex-end; padding:10px 0; border-top:1px solid var(--line-soft); }
.spl-it{ display:flex; flex-direction:column; min-width:200px; }
.spl-it .vpn{ font-size:11.5px; color:var(--ink-2); }
.spl-left{ margin:6px 0 14px; padding:12px 14px; border-radius:6px; background:var(--surface-2); font-size:13px; display:flex; flex-direction:column; gap:3px; }
.spl-left .ok{ color:var(--good); font-weight:600; }
.spl-left .bad{ color:var(--warn); font-weight:600; }
.stform{ border:1px dashed var(--line-strong); border-radius:8px; padding:14px 16px; margin:12px 0; display:flex; flex-direction:column; gap:10px; }
.three{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:14px; }
@media (max-width:640px){ .three{ grid-template-columns:1fr; } }
.stlist{ display:flex; flex-direction:column; }
.stl{ display:flex; flex-direction:column; gap:2px; padding:9px 0; border-bottom:1px solid var(--line-soft); font-size:13.5px; }
.stl:last-child{ border-bottom:none; }
.donetbl{ margin:10px 0 14px; }

/* ---------- OPPORTUNITIES: growth list, build out a graphic, assortment gaps (2026-10-01) ------- */
.opp-chips{ margin:0 0 16px; }
.opps{ display:flex; flex-direction:column; gap:14px; }
.opp{ background:var(--surface); border:1px solid var(--line); border-radius:8px; display:grid;
  grid-template-columns:132px minmax(0,1fr) 230px; overflow:hidden; }
.opp > img, .opp > .opp-none{ width:132px; height:100%; min-height:132px; object-fit:contain; background:var(--surface-2); display:block; }
.opp-b{ padding:14px 18px; display:flex; flex-direction:column; gap:7px; min-width:0; }
.opp-kind{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ember); }
.opp-t{ font-family:var(--display); font-size:17px; }
.opp-ev{ display:flex; flex-wrap:wrap; gap:6px 18px; font-size:12.5px; color:var(--ink-2); }
.opp-ev b{ color:var(--ink); font-variant-numeric:tabular-nums; }
.opp-a{ border-left:1px solid var(--line-soft); padding:14px 16px; display:flex; flex-direction:column; gap:8px; justify-content:center; background:#FAFBFC; font-size:12px; }
.bo{ display:grid; grid-template-columns:minmax(0,300px) minmax(0,1fr); gap:20px; align-items:start; }
.bo-hero img{ width:100%; border-radius:8px; border:1px solid var(--line); background:var(--surface-2); }
.bo-hero h2{ font-family:var(--display); font-size:22px; margin:12px 0 2px; }
.bo-stat{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px; }
.bo-stat div{ background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:10px 12px; }
.bo-stat span{ display:block; font-size:11.5px; color:var(--ink-2); }
.bo-stat b{ font-family:var(--display); font-size:17px; font-variant-numeric:tabular-nums; }
.bo-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12px; color:var(--ink-2); margin:0 0 12px; }
.bo-legend i{ display:inline-block; width:12px; height:12px; border-radius:3px; margin-right:6px; vertical-align:-2px; }
.lg-c{ background:var(--good); } .lg-h{ background:rgba(47,93,138,.85); }
.lg-a{ background:var(--surface); border:1.5px dashed var(--ember); }
.lg-n{ background:var(--surface-2); border:1px solid var(--line); }
.bo-cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:12px; }
.bo-card{ border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--surface); display:flex; flex-direction:column; }
.bo-card > img, .bo-card > .opp-none{ width:100%; aspect-ratio:1/1; object-fit:contain; background:var(--surface-2); display:block; }
.bo-cb{ padding:10px 12px 12px; display:flex; flex-direction:column; gap:4px; font-size:12.5px; }
.bo-cb .decor{ margin-left:0; align-self:flex-start; }
.bo-cb .mono{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:11px; color:var(--ink-2); overflow-wrap:anywhere; }
.bo-card.carried{ border-color:var(--good); box-shadow:inset 0 3px 0 var(--good); }
.bo-card.avail{ border:1.5px dashed var(--ember); }
.bo-card.na{ opacity:.6; } .bo-card.na img{ filter:grayscale(1); }
.heat{ border-collapse:separate; border-spacing:4px; font-size:12.5px; }
.heat th{ font-family:var(--display); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2); font-weight:600; padding:4px 6px; text-align:left; white-space:nowrap; }
.heat th.rowh{ text-transform:none; letter-spacing:0; font-family:var(--body); font-size:13px; color:var(--ink); }
.heat td{ height:52px; min-width:118px; border-radius:6px; padding:6px 8px; vertical-align:middle; cursor:pointer; border:1px solid transparent; }
.heat td b{ display:block; font-variant-numeric:tabular-nums; font-size:13px; }
.heat td span{ font-size:11px; }
.heat td.has{ background:rgba(47,93,138,var(--a,.5)); color:#fff; }
.heat td.has span{ color:rgba(255,255,255,.88); }
.heat td.avail{ background:var(--surface); border:1.5px dashed var(--ember); color:var(--warn); }
.heat td.none{ background:var(--surface-2); color:var(--ink-3); cursor:default; }
.heat td.sel{ outline:2px solid var(--ink); outline-offset:1px; }
.heat td:focus-visible{ outline:2px solid var(--accent); }
.minis{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.mini{ border:1px solid var(--line); border-radius:6px; overflow:hidden; font-size:12px; background:var(--surface); }
.mini > img, .mini > .opp-none{ width:100%; aspect-ratio:1/1; object-fit:contain; background:var(--surface-2); display:block; }
.mini > div{ padding:7px 9px; display:flex; flex-direction:column; gap:3px; }
.mini .mono{ font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:10.5px; color:var(--ink-2); overflow-wrap:anywhere; }
.opp-drawer{ margin-top:14px; }
@media (max-width:1000px){
  .opp{ grid-template-columns:96px minmax(0,1fr); } .opp > img, .opp > .opp-none{ width:96px; min-height:96px; }
  .opp-a{ grid-column:1 / -1; border-left:none; border-top:1px solid var(--line-soft); }
  .bo{ grid-template-columns:minmax(0,1fr); }
}

/* ---------- STAFF VIEW ("View their portal", 2026-10-01) -----------------------------------------
   The banner on every screen, and every write control visibly off. Clicks are also blocked in script. */
.staffbar{ position:sticky; top:env(safe-area-inset-top, 0px); z-index:40; background:#7A2E0E; color:#fff;
  padding:10px 20px; font-size:13.5px; line-height:1.4; }
.staffbar b{ font-weight:700; }
.support-mode #p_approve, .support-mode #p_changes, .support-mode #p_cancel, .support-mode #p_note_send,
.support-mode #dd_add, .support-mode #dd_queue, .support-mode #rq_send, .support-mode #ri_add, .support-mode #re_place,
.support-mode #a_save, .support-mode #a_email_save, .support-mode #a_pw_save, .support-mode #a_view_save,
.support-mode #a_st_add, .support-mode #st_save, .support-mode [data-review='checkout']{
  opacity:.45; pointer-events:none; cursor:not-allowed; }

/* ---------- EXCLUSIVE TO YOU (2026-10-08) -------------------------------------------------------
   Kyle: "it can have the exclusive banner to let them know it's exclusive to them". A band across the foot of the
   card's picture, and the same words above the title on the item page. */
.exband{
  position:absolute; left:0; right:0; bottom:0; padding:5px 10px;
  background:var(--ember); color:#fff; font-size:11px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; text-align:center;
}
.exband-pdp{
  display:inline-block; margin:0 0 10px; padding:4px 12px; border-radius:999px;
  background:var(--ember); color:#fff; font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
}
