/* ══════════════════════════════════════════════════════════════════════════
   shop.css — the Shop tab (js/shop.js), piloted to Justus 2026-10-22.
   Specs: claude-admin mocks/prefab-v1.html (purchasing/admin) and
   mocks/prefab-v2-raul.html (the shop seat). Plus the full-window picture
   shell (.fv-*) that showPhotoOverlay(src, opts) opens.
   ══════════════════════════════════════════════════════════════════════════ */
.sh-wrap{padding:20px 24px 40px;max-width:1440px;margin:0 auto;box-sizing:border-box;color:#171614}
.sh-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.sh-head h2{margin:0;font-size:22px;letter-spacing:-.01em}
.sh-sum{color:#57534e;font-size:14px}
.sh-grid{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:18px;align-items:start}
.sh-side{position:sticky;top:0}
/* ② the shop computer's way in, under the side card (nav-calm 2026-10-27) */
.sh-sclink{display:inline-block;margin:10px 0 0 2px;font:600 13px -apple-system,system-ui,'Segoe UI',sans-serif;color:#5f5c56;text-decoration:underline;text-underline-offset:3px}
.sh-sclink:hover{color:#171614}
.sh-sclink-n{display:none}
.sh-sec{background:#fff;border:1px solid #e3e1db;border-radius:10px;margin-bottom:14px;overflow:hidden}
.sh-sh{display:flex;align-items:baseline;gap:8px;padding:12px 16px;border-bottom:1px solid #efeee9;flex-wrap:wrap}
.sh-sh b{font-size:15px}
.sh-sh span{color:#78716c;font-size:13px}
.sh-sh em{font-style:normal;color:#78716c;font-size:12.5px;margin-left:auto}
.sh-sh .sh-btn{margin-left:auto}
.sh-none{padding:14px 16px;color:#78716c;font-size:13.5px}
.sh-thead,.sh-row{display:grid;grid-template-columns:82px minmax(0,1fr) 78px 90px 200px;gap:0 14px;align-items:center;padding:11px 16px}
.sh-thead{background:#f7f6f3;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#78716c;padding:8px 16px}
.sh-thead span:last-child{text-align:right}
.sh-row{border-top:1px solid #efeee9;cursor:pointer;font-size:14px}
.sh-row:hover{background:#fafaf8}
.sh-row.sel{background:#f1f5fb;box-shadow:inset 3px 0 0 #2472c2}
.sh-row-done{grid-template-columns:82px minmax(0,1fr) 260px}
.sh-need{font-weight:700;font-size:14px;line-height:1.2}
.sh-need small{display:block;font-weight:500;font-size:11.5px;color:#78716c}
.sh-need.late,.sh-need.late small{color:#c81e1e}
.sh-what{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-sub{font-size:12px;color:#78716c;margin-top:2px}
.sh-qty{font-variant-numeric:tabular-nums;color:#44403c}
.sh-code{font:600 12.5px ui-monospace,SFMono-Regular,monospace;color:#44403c}
.sh-who{color:#44403c;font-size:13px}
.sh-acts{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.sh-ask{grid-column:1/-1;margin-top:8px;background:#fff7e0;border:1px solid #f5d98b;border-radius:7px;padding:6px 10px;font-size:13px;color:#1c1917}
.sh-st{display:inline-block;font-size:12.5px;font-weight:650;padding:3px 8px;border-radius:5px;background:#f2f1ee;color:#44403c;white-space:nowrap}
.sh-st-wait{background:#fde9c8;color:#92400e}
.sh-st-on{background:#fff;color:#1d5fa8;border:1px solid #2472c2}
.sh-st-ride{background:var(--st-off-tint,#e2e5e8);color:var(--st-off-ink,#3a4249)}   /* P/U: off-palette purple until 11-05 (sweep #14) */
.sh-st-done{background:var(--st-done-tint,#b4dfc0);color:var(--st-done-ink,#0f5228)}   /* Done is the palette green (sweep #14) */
.sh-test{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#b91c1c;border:1px solid #fca5a5;border-radius:4px;padding:0 4px;margin-left:6px;vertical-align:1px}
.sh-dim{color:#78716c;font-size:12.5px}
.sh-btn{background:#fff;border:1px solid #d6d3cd;border-radius:7px;padding:6px 11px;font:600 13px inherit;font-family:inherit;color:#171614;cursor:pointer;white-space:nowrap}
.sh-btn-k{background:#171614;border-color:#171614;color:#fff}
/* the seat (Raul) rows */
.sh-srow{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border-top:1px solid #efeee9;cursor:pointer}
.sh-srow.sel{background:#f1f5fb;box-shadow:inset 3px 0 0 #2472c2}
.sh-job{font-size:14px}
.sh-swhat{font-size:15px;margin-top:1px}
.sh-sline{margin-top:5px;font-size:13px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.sh-wait{color:#92400e;font-size:13px}
.sh-big{display:inline-flex;align-items:center;justify-content:center;min-width:68px;padding:12px 16px;border-radius:8px;border:none;background:#e5161d;color:#fff;font:700 15px inherit;font-family:inherit;cursor:pointer}
.sh-big-w{background:#fff;color:#171614;border:1px solid #d6d3cd}
.sh-big-k{background:#171614;color:#fff}
/* the card */
.sh-card{background:#fff;border:1px solid #e3e1db;border-radius:10px;overflow:hidden}
.sh-card-empty{padding:28px 20px;color:#78716c;font-size:14px;text-align:center}
.sh-back{background:#fafaf8;border:none;border-bottom:1px solid #efeee9;width:100%;text-align:left;padding:11px 16px;color:#c81e1e;font:600 15px inherit;font-family:inherit;cursor:pointer}
.sh-ch{padding:14px 16px;border-bottom:1px solid #efeee9}
.sh-eyebrow{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#78716c}
.sh-title{font-size:19px;font-weight:700;margin:4px 0 4px;line-height:1.25}
.sh-meta{font-size:13.5px;color:#44403c;margin-top:2px}
.sh-cb{padding:12px 16px 16px}
.sh-h{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#78716c;margin:14px 0 8px}
.sh-cb>.sh-h:first-child{margin-top:2px}
.sh-line{border:1px solid #e3e1db;border-radius:8px;margin-bottom:10px;overflow:hidden}
.sh-lhd{background:#f7f6f3;padding:6px 10px;font-size:12.5px;font-weight:650;color:#44403c}
.sh-lbody{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;padding:10px;align-items:start}
.sh-shape{background:#fff;border:1px solid #e3e1db;border-radius:7px;padding:4px 4px 6px;cursor:zoom-in;display:flex;flex-direction:column;gap:2px;font:600 11.5px inherit;font-family:inherit;color:#171614;text-align:center}
.sh-shape svg,.sh-shape .pf-pic{width:100%;height:auto;aspect-ratio:4/3}
.pf-pic{display:block;object-fit:contain;background:#fff}
.sh-vals{display:grid;gap:3px;font-size:17px}
.sh-vals div{display:flex;align-items:baseline;gap:8px}
.sh-lab{display:inline-block;min-width:22px;background:#fde047;border-radius:3px;padding:0 4px;font-size:13px;font-weight:800;text-align:center}
.sh-lab-w{background:#f2f1ee;font-weight:650;font-size:12px}
.sh-tphoto{background:none;border:none;padding:0;font:inherit;font-size:15px;font-weight:650;color:#111;text-decoration:underline;cursor:pointer;text-align:left;overflow-wrap:anywhere}
.sh-vals b{font-weight:700}
.sh-q{font-size:19px;font-weight:800;margin-top:4px}
.sh-tag{padding:0 10px 9px;font-size:13px;color:#44403c}
.sh-key{font-size:12px;color:#78716c;margin:-2px 0 6px}
.sh-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.sh-file{position:relative;height:96px;border:1px solid #e3e1db;border-radius:8px;background:#f2f1ee;overflow:hidden;cursor:zoom-in;padding:0;font-family:inherit;display:flex;align-items:flex-end}
.sh-file img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sh-doc{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.sh-doc svg{width:34px;height:34px;fill:none;stroke:#78716c;stroke-width:1.5}
.sh-fn{position:relative;margin:6px;background:rgba(255,255,255,.9);border-radius:4px;padding:1px 6px;font-size:12px;color:#171614;max-width:calc(100% - 12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-kv{display:grid;grid-template-columns:92px 1fr;gap:10px;font-size:13.5px;margin-top:10px}
.sh-kv span{color:#78716c}
.sh-kv b{font-weight:550}
.sh-clock{margin-top:12px;background:#f5f4f1;border-radius:8px;padding:10px 12px;font-size:15px}
.sh-clock b{font-family:ui-monospace,SFMono-Regular,monospace}
.sh-rides{margin-top:12px;background:#ece7f7;color:#3d2a6b;border-radius:8px;padding:10px 12px;font-size:14px}
.sh-donepic{margin-top:10px;width:140px}
.sh-btns{display:flex;gap:10px;margin-top:14px}
.sh-btns .sh-big{flex:1;padding:14px 16px}
.sh-gate{margin-top:14px;background:#fde9c8;color:#7c2d12;border-radius:8px;padding:12px;font-size:14px;font-weight:600;text-align:center}
.sh-tl{display:grid;gap:9px}
.sh-ev{display:grid;grid-template-columns:16px 1fr;gap:9px;font-size:13.5px;color:#a8a29e}
.sh-ev i{width:12px;height:12px;border-radius:50%;border:1.5px dashed #c5c1b9;margin-top:3px}
.sh-ev.on{color:#171614}.sh-ev.on i{background:#171614;border:1.5px solid #171614}
.sh-ev small{display:block;color:#78716c;font-size:12px}
/* the seat: one column on a phone, the card replaces the list */
@media (max-width:899px){
  .sh-wrap{padding:14px 12px 30px}
  .sh-grid{grid-template-columns:1fr}
  .sh-side{position:static}
  .sh-wrap .sh-side{display:none}
  .sh-sclink-n{display:block;margin:-4px 0 14px}
  .sh-wrap.has-sel .sh-side{display:block}
  .sh-wrap.has-sel .sh-list{display:none}
  .sh-thead{display:none}
  .sh-row,.sh-row-done{grid-template-columns:62px minmax(0,1fr);gap:4px 12px}
  .sh-row .sh-qty,.sh-row .sh-code,.sh-row .sh-who{display:none}
  .sh-row .sh-acts{grid-column:2;justify-content:flex-start}
  .sh-what{white-space:normal}
  .sh-sh em{margin-left:0;flex-basis:100%}
  .sh-lbody{grid-template-columns:118px minmax(0,1fr)}
}
@media (min-width:900px) and (max-width:1199px){
  .sh-seatv .sh-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sh-grid{grid-template-columns:minmax(0,1fr) 380px}
  .sh-thead,.sh-row{grid-template-columns:70px minmax(0,1fr) 120px}
  .sh-row .sh-qty,.sh-row .sh-code,.sh-row .sh-who,.sh-thead span:nth-child(3),.sh-thead span:nth-child(4){display:none}
  .sh-row-done{grid-template-columns:70px minmax(0,1fr) 56px 160px}
}
/* ── THE FULL-WINDOW PICTURE SHELL (showPhotoOverlay with opts) ── */
.fv-wrap{position:fixed;inset:0;z-index:1300;background:#0c0c0b;display:flex;flex-direction:column;touch-action:none}
.fv-bar{display:flex;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#1d1c1a;color:#f5f5f4}
.fv-t{font-weight:650;font-size:15px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-hint{font-size:12px;color:#a8a29e;white-space:nowrap}
.fv-x{background:#fff;color:#171614;border:none;border-radius:8px;padding:9px 14px;font:700 15px -apple-system,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.fv-stage{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}
.fv-pic{max-width:100%;max-height:100%;transform-origin:center center;user-select:none;-webkit-user-select:none}
.fv-svg{width:min(96vw,1100px);background:#fff;border-radius:6px}
.fv-svg svg{display:block;width:100%;height:auto}
@media (max-width:599px){.fv-hint{display:none}}
/* ── SHOP TASKS (office section, mocks/shop-chores-v1.html) ── */
.sh-band{display:flex;align-items:center;gap:10px;margin:22px 0 10px;font-size:12px;color:#57534e}
.sh-band b{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#171614}
.sh-band:after{content:"";flex:1;height:2px;background:#171614}
.sh-tthead,.sh-trow{display:grid;grid-template-columns:82px minmax(0,1.4fr) minmax(0,1fr) 110px 100px 130px;gap:0 14px;align-items:center;padding:11px 16px}
.sh-trow{border-top:1px solid #efeee9;cursor:pointer;font-size:14px}
.sh-trow:hover{background:#fafaf8}
.sh-trow.sel{background:#f1f5fb;box-shadow:inset 3px 0 0 #2472c2}
.sh-sub2{padding:7px 16px;background:#f7f6f3;border-top:1px solid #efeee9;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#78716c}
.sh-kind{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border:1px solid #d6d3cd;border-radius:4px;padding:1px 5px;color:#44403c}
.sh-kind-p{background:#dbeafe;border-color:#bfdbfe;color:#1e40af}
.sh-st-ok{background:#dcfce7;color:#166534}
.sh-note{margin-top:12px;border:1px dashed #c5c1b9;border-radius:8px;padding:10px 12px;font-size:13.5px}
.sh-note2{margin-top:12px;font-size:13px;color:#57534e}
.sh-in{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #d6d3cd;border-radius:7px;font:inherit;font-size:14.5px;background:#fff}
.sh-in-d{max-width:200px}
.sh-row2{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}
.sh-seg{display:inline-flex;border:1px solid #d6d3cd;border-radius:7px;overflow:hidden}
.sh-seg button{border:none;border-left:1px solid #e3e1db;background:#fff;padding:8px 13px;font:600 13.5px inherit;font-family:inherit;color:#171614;cursor:pointer}
.sh-seg button:first-child{border-left:none}
.sh-seg button.on{background:#171614;color:#fff}
.sh-h i{font-style:normal;text-transform:none;letter-spacing:0;font-weight:500}
@media (max-width:899px){
  .sh-tthead{display:none}
  .sh-trow{grid-template-columns:62px minmax(0,1fr);gap:4px 12px}
  .sh-trow>:nth-child(n+3){grid-column:2}
  .sh-row2{grid-template-columns:1fr}
}

/* Full screen / Print — open the Jobs app's sheet for the request (2026-10-27). */
.sh-sheet{display:flex;gap:8px;margin-top:10px}
.sh-sheet .sh-btn{text-decoration:none;display:inline-block}
/* Full screen / Print of a prefab request, in the portal (js/shop.js shopSheetOpen):
   the sheet at its printed size inside .pfs-sizer, scaled; the stage scrolls to pan. */
.pfs-wrap{touch-action:auto}
.pfs-stage{flex:1;min-height:0;overflow:auto;background:#525659;display:flex;padding:16px;touch-action:pan-x pan-y}
.pfs-stage.pfs-pan{cursor:grab}
.pfs-sizer{position:relative;margin:auto;flex:none;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.pfs-frame{position:absolute;left:0;top:0;border:0;background:#fff;transform-origin:0 0;pointer-events:none}
.pfs-wait{margin:auto;color:#e7e5e4;font-size:15px}
.pfs-zoom{position:absolute;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));display:flex;gap:1px;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.pfs-zoom button{border:0;background:#2b2e31;color:#fff;font:700 15px -apple-system,system-ui,sans-serif;padding:9px 12px;min-width:44px;cursor:pointer}
.pfs-zoom button:hover{background:#3c4043}
.fv-x:disabled{opacity:.5;cursor:progress}

/* ══ THE WHOLE WINDOW (2026-10-27) ══ Justus: "you can't see the full order and you
   can't scroll. Can we use the whole screen please?" A sticky card taller than the
   window cannot be scrolled to its foot (a 5-line request stopped at Line 4). Desk
   widths: the page is as wide as the window, list left, card the rest; the card is as
   tall as the window below its top (js/shop.js shopFitCard) and its BODY scrolls, with
   the request's header on top and the buttons pinned at its foot. */
/* THE PANE MUST SCROLL ITSELF (purchasing.html: #detail is flex:1, overflow:hidden —
   every pane brings its own scroll, as .disp-wrap does). The Shop tab declared none, so
   anything past the window was simply clipped. */
.sh-wrap{height:100%;overflow-y:auto}
@media (min-width:900px){
  .sh-wrap{max-width:none}
  .sh-grid{grid-template-columns:minmax(0,1.15fr) minmax(420px,1fr)}
  .sh-card{display:flex;flex-direction:column;max-height:var(--sh-card-max,calc(100vh - 24px))}
  .sh-card>.sh-back,.sh-ch{flex:none}
  .sh-cb{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .sh-cb .sh-btns{position:sticky;bottom:-16px;z-index:1;background:#fff;margin:10px -16px -16px;padding:12px 16px 16px;border-top:1px solid #efeee9}
}

/* ══ JESSE'S EDIT MODE (js/shop-edit.js, 2026-10-27) ══ */
.se-bar{background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;border-radius:8px;padding:7px 10px;font-size:13px;margin-top:10px}
.se-bar b{color:#9a3412}
.se-req{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 12px}
.se-line{border:1px solid #e3e1db;border-radius:8px;margin-bottom:10px;background:#fff;overflow:hidden}
.se-lhd{display:flex;align-items:center;justify-content:space-between;background:#f7f6f3;padding:6px 10px;font-size:12.5px;font-weight:700}
.se-rm{background:#fff;border:1px solid #d6d3cd;border-radius:6px;font-size:12px;padding:2px 8px;color:#b91c1c;cursor:pointer}
.se-body{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:10px}
.se-shape{display:flex;flex-direction:column;gap:6px}
.se-shape svg,.se-shape img{width:100%;height:84px;object-fit:contain;background:#fff;border:1px solid #efeee9;border-radius:6px}
.se-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.se-f{display:flex;flex-direction:column;gap:3px;min-width:0}
.se-l{font-size:11px;font-weight:700;color:#44403c}
.se-l i{font-style:normal;font-weight:600;color:#b91c1c;margin-left:4px}
.se-tag{display:inline-block;background:#fde047;border-radius:3px;padding:0 5px;color:#111}
.se-in{width:100%;box-sizing:border-box;padding:7px 8px;border:1px solid #d6d3cd;border-radius:7px;font:inherit;font-size:14px;background:#fff}
.se-in.se-chg{border-color:#f59e0b;background:#fffbeb}
.se-add{width:100%;border:1.5px dashed #c5c1b9;background:#fff;border-radius:8px;padding:9px;font-weight:600;margin-bottom:10px;cursor:pointer}
.se-err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:8px;padding:8px 10px;font-size:13px;margin:6px 0}
.se-logs{margin-top:6px}
.se-log{font-size:12.5px;color:#44403c;line-height:1.5}
@media (max-width:899px){.se-req{grid-template-columns:1fr}.se-body{grid-template-columns:1fr}}

/* ══ THE SHOP COMPUTER (js/shop-computer.js, 2026-10-27, piloted to Justus) ══
   Spec: claude-admin mocks/shop-computer-v1.html frames 2/3/3b, minus the name
   roster. ③ glove-sized targets on the seat; ⑥ no red on Prefab. */
.sc-count{margin-left:8px;font-size:13px;font-weight:800;padding:2px 8px;border-radius:20px;background:#efeee9;color:#3f3c37;vertical-align:2px}
.sc-count:empty{display:none}
.sc-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #d6d3cd;border-radius:999px;font:600 14px -apple-system,system-ui,sans-serif;color:#3f3c37;background:#fff;white-space:nowrap}
.sc-pill i{width:9px;height:9px;border-radius:50%;background:#1f8a4c}
body.shop-seat .inv-btn{min-height:52px;padding:0 22px !important;font-size:17px !important}
body.shop-seat .inv-btn-nothere{font-size:15px !important;padding:0 18px !important}
body.shop-seat .price-inp{height:52px;font-size:18px;width:96px !important}
body.shop-seat .inv-item-name{font-size:18px}
body.shop-seat .ftab{padding:10px 14px;font-size:15px}
body.shop-seat .inv-ord-item{padding:16px}
body.shop-seat .sh-big{min-height:58px;font-size:18px;min-width:110px}
body.shop-seat .sh-srow{padding:18px 16px}
body.shop-seat .sh-swhat{font-size:17px}
body.shop-seat .sh-btn{min-height:44px;padding:8px 14px;font-size:15px}
/* ⑥ NO RED ON PREFAB (his rule): Done goes green, late goes amber. */
body.sc-prefab .sh-big:not(.sh-big-w):not(.sh-big-k){background:#1f6b45}
body.sc-prefab .sh-need.late,body.sc-prefab .sh-need.late small{color:#9a5b00}
body.sc-prefab .sh-back{color:#3f3c37}
body.sc-prefab .sh-test{color:#57534e;border-color:#c5c1b9}
body.sc-prefab[data-theme] #app > .main-tab-row .mtab.active{color:#171614;border-bottom-color:#171614}
/* The seat fills the window, as drawn: #detail is a column flex and .sh-wrap's
   auto side margins otherwise shrink it to its content and centre it. */
body.shop-seat .sh-wrap{width:100%;margin:0}
/* THE OFFICE SHOP FILLS THE WINDOW TOO (Justus 2026-10-27, on a ~2000px
   window: "Can you make it fill the screen"). It was the same shrink: a ~1600px
   column centred with empty margins. Now the 24px gutter of the tab row above
   it, as Deliveries runs edge to edge; the list (a data table) and the request
   card share the width 1.15 : 1 (the min-width:900px rule above). */
.sh-wrap{width:100%;margin:0}
body.shop-seat .mtab{transition:none}
/* The shop computer's Done section folds to its count (New / Open / Done, 10-27). */
.sh-fold{width:100%;background:none;border:0;font:inherit;color:inherit;text-align:left;cursor:pointer;min-height:52px}
.sh-sec .sh-fold[aria-expanded="false"]{border-bottom:0}
.sh-fold em{font-size:14px !important;font-weight:600;color:#44403c !important}

/* ══════════════════════════════════════════════════════════════════════════
   THE SHOP COMPUTER'S DELIVERIES, v5 (Justus 11-11 "Build it"; spec
   claude-admin/mocks/shop-deliveries-simple-v5.html, src/proposed.html).
   js/shop-deliveries.js draws it on the shop seat only; every rule here is
   under .sdv, which nothing else on the page carries. The bar above is the
   board's own (.dvb-bar). Colours: the app's ink #171614, a neutral band
   #efeeea, the board's done green (--st-done*, purchasing.html :root) and the
   Shop brown #8a5a12 (STOP_TYPES.shop, js/deliveries.js).
   ══════════════════════════════════════════════════════════════════════════ */
.sdv .sdv-wrap{padding:6px 24px 40px;color:#171614}
.sdv .sdv-day{padding-top:18px}
.sdv .sdv-dh{display:flex;align-items:baseline;gap:14px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #d6d3cd}
.sdv .sdv-dh h2{font:800 34px var(--sig-disp,var(--font));margin:0;letter-spacing:0}
.sdv .sdv-dh .today{font:800 15px var(--font);background:#e5161d;color:#fff;border-radius:4px;padding:3px 8px;align-self:center}
.sdv .sdv-dh .s{font:500 20px var(--font);color:#6b6862}
.sdv .sdv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.sdv .sdv-truck{background:#fff;border-radius:10px;overflow:hidden}
.sdv .sdv-truck .th{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:16px 22px}
.sdv .sdv-truck .drv{font:800 32px var(--sig-disp,var(--font))}
.sdv .sdv-truck .model{font:500 22px var(--font)}
.sdv .sdv-truck .sp{flex:1}
.sdv .sdv-truck .leave{font:700 24px var(--font)}
.sdv .sdv-truck .stops{display:flex;flex-direction:column;gap:12px;padding:12px 14px 14px;background:#f4f3ef}
.sdv .sdv-stop{border:1px solid #e3e1db;border-radius:8px;background:#fff;overflow:hidden}
.sdv .sdv-stop .sh{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#efeeea;padding:12px 18px;border-bottom:1px solid #e3e1db}
.sdv .sdv-stop .n{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:50%;background:#171614;color:#fff;font:800 24px var(--sig-disp,var(--font));padding-top:3px;box-sizing:border-box}
.sdv .sdv-stop .job{font:800 30px var(--sig-disp,var(--font))}
.sdv .sdv-stop .jn{font:600 20px var(--font)}
.sdv .sdv-stop .for,.sdv .sdv-grey .r{font:700 20px ui-monospace,'SF Mono',Menlo,monospace;color:#171614}
.sdv .sdv-stop .t{font:600 22px var(--font);font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto}
.sdv .sdv-stop .made{font:600 18px var(--font);background:#f7eedc;border:1px solid #d9b77a;color:#6b450b;border-radius:14px;padding:2px 10px}
.sdv .sdv-stop .made:before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;background:#8a5a12;margin-right:7px;vertical-align:1px}
.sdv .sdv-lines{margin:12px 18px 14px 74px;display:grid;grid-template-columns:max-content max-content minmax(0,1fr);gap:8px 12px;font-size:25px;align-items:baseline}
.sdv .sdv-lines .q{font-weight:800;font-variant-numeric:tabular-nums;text-align:right}
.sdv .sdv-lines .u{color:#6b6862;font-size:20px}
.sdv .sdv-lines .w{overflow-wrap:anywhere}
.sdv .sdv-grey{padding:11px 18px;background:#f4f3ef;color:#6b6862;font-size:19px;border:1px solid #e3e1db;border-radius:8px}
.sdv .sdv-grey .n{display:inline-block;min-width:28px;color:#171614}
.sdv .sdv-grey .r{font-size:17px}
.sdv .sdv-idle{font-size:19px;color:#6b6862;padding:6px 2px}
/* A delivered stop: green where it stands (the board's done colours). */
.sdv .sdv-stop.done{border-color:#8fcca3;background:#eef7f0}
.sdv .sdv-stop.done .sh{background:var(--st-done-tint,#b4dfc0);border-bottom-color:#8fcca3}
.sdv .sdv-stop.done .n{background:var(--st-done,#207f40)}
.sdv .sdv-stop.done .t,.sdv .sdv-stop.done .sdv-lines,.sdv .sdv-stop.done .sdv-lines .u{color:var(--st-done-ink,#0f5228)}
.sdv .sdv-stop.done .t{font-weight:800}
.sdv .sdv-grey.done{background:#eef7f0;border-color:#8fcca3;color:var(--st-done-ink,#0f5228)}
.sdv .sdv-grey.done .n{color:var(--st-done,#207f40)}
/* The bar's search lights a hit (js/dispatch-panel.js dvpApplySearch). */
.sdv .sdv-stop.srch-hit,.sdv .sdv-grey.srch-hit{box-shadow:0 0 0 3px #e0a800}
.sdv .sdv-stop.srch-go,.sdv .sdv-grey.srch-go{box-shadow:0 0 0 4px #e0a800}
.sdv .dvb-more{padding:18px 2px;color:#6b6862;font-size:15px}
@media (max-width:1400px){
  .sdv .sdv-wrap{padding:4px 20px 30px}
  .sdv .sdv-dh h2{font-size:28px}
  .sdv .sdv-truck .drv{font-size:27px}.sdv .sdv-truck .model{font-size:19px}.sdv .sdv-truck .leave{font-size:21px}
  .sdv .sdv-stop .job{font-size:25px}.sdv .sdv-stop .jn,.sdv .sdv-stop .for{font-size:18px}.sdv .sdv-stop .t{font-size:19px}
  .sdv .sdv-lines{margin:10px 14px 12px 14px;font-size:21px}.sdv .sdv-lines .u{font-size:17px}
  .sdv .sdv-stop .n{min-width:36px;height:36px;font-size:20px}
  .sdv .sdv-truck .stops{padding:10px 10px 12px;gap:10px}.sdv .sdv-stop .sh{padding:10px 14px}.sdv .sdv-truck .th{padding:14px 18px}
}
@media (max-width:900px){ .sdv .sdv-grid{grid-template-columns:minmax(0,1fr)} }
