/* Packard Office — the layout (Nov 17–18 2026). Scott, Nov 17: "The salto moto office is really nice … the layouts of the customers and
   orders … catch it up to salto and make a light version." Nov 18, after using it: "it's not so much the glow. Just the feel. The buttons
   feel spaced better. The no topography is nice on the eyes. It just has more room and bigger icons and it's laid out better. The orders
   and dots and way steps and filters are managed is so much better. That's what I need." — and it goes to everyone, each keeping their
   colors. So this file is two layers:
   1. html.pkl — THE LAYOUT, on for every theme (Graphite, Dark, Light, Glow): no topo maps, more room, bigger rail icons, the same rounded
      pill for every tab bar and filter, the Customers / Orders cards that open in place, the order dots and steps, attention glows.
      Colors come from the --gx-* tokens below, set per theme. ?layout=classic on any Office link turns it off on that browser.
   2. html.pkx — GLOW, the light colors only (warm paper, ink rail with a white pill, the band under the brand). No slats, no diamonds. */
html.pkl {
  --gx-spring: cubic-bezier(.22,1,.36,1); --gx-green: #1F7A4D; --gx-amber: #B86E00; --red-tx: #E00009;
  --gx-card: var(--card); --gx-bd: rgba(20,21,26,.1); --gx-soft: rgba(20,21,26,.06); --gx-tag: rgba(20,21,26,.07); --gx-hover: rgba(20,21,26,.04);
  --gx-sh: 0 1px 2px rgba(20,21,26,.06), 0 14px 30px -20px rgba(20,21,26,.42);
  --gx-lift: 0 0 0 3px rgba(255,2,10,.07), 0 18px 34px -16px rgba(20,21,26,.38);
  --gx-on: #14151A; --gx-on-tx: #FFFFFF; --gx-ring: #FFFFFF; --gx-ic-bg: #FFFFFF; --gx-note: rgba(255,176,32,.13);
  --gx-blue-tag: rgba(33,80,196,.1); --gx-blue-tx: #1D47AE; --gx-amb-tag: rgba(255,176,32,.2); --gx-amb-tx: #8A5300;
}
html.pkl[data-theme=dark] {
  --red-tx: #FF5A63; --gx-card: var(--u-panel, var(--card)); --gx-bd: var(--u-line, rgba(255,255,255,.1)); --gx-soft: rgba(255,255,255,.07); --gx-tag: rgba(255,255,255,.09); --gx-hover: rgba(255,255,255,.05);
  --gx-sh: 0 1px 2px rgba(0,0,0,.32), 0 14px 30px -18px rgba(0,0,0,.78);
  --gx-lift: 0 0 0 3px rgba(255,41,67,.12), 0 18px 34px -16px rgba(0,0,0,.8);
  --gx-on: #F4F6F9; --gx-on-tx: #0F1216; --gx-ring: rgba(255,255,255,.14); --gx-ic-bg: #F4F6F9; --gx-note: rgba(245,178,60,.14);
  --gx-blue-tag: rgba(110,168,255,.16); --gx-blue-tx: #9CC2FF; --gx-amb-tag: rgba(245,178,60,.16); --gx-amb-tx: #F5C26B;
}
html.pkx {
  --paper: #F4F3EE; --paper-2: #ECEAE3; --card: #FFFFFF; --fog: #E2E0D8; --fog-2: #CFCDC4; --mute: #5F6169; --text: #14151A;
  --red: #FF020A; --red-2: #D60008; --red-soft: #FFE6E6;
  --gx-card: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.86)); --gx-bd: rgba(20,21,26,.09);
  --u-panel: #FFFFFF; --u-line: rgba(20,21,26,.09); --u-raise: #FFFFFF; --u-r: 16px; --u-sh: 0 1px 2px rgba(20,21,26,.06), 0 14px 30px -20px rgba(20,21,26,.42);
}
html.pkx body { background: var(--paper); color: var(--text); }
/* Nov 22 2026, the Office night (punch list 3, 4): in the light themes the brand red #FF020A carried white text at 3.99:1 and red words
   at 3.4–4.2:1, the amber 3.6:1. The red the Office paints with is #D4000A (Messages paints #D9000B): white on it 5.5:1, on the soft red
   4.7:1, on paper 5.0:1. Amber words #A05F00: 4.6:1 on the soft amber. The logo and the side keep their own reds. */
html.pkl:not([data-theme=dark]) { --red: #D4000A; --red-tx: #D4000A; --amber: #A05F00; --gx-amber: #A05F00; }
/* the dark themes keep their bright red for words (5:1 on the dark cards) and fill buttons and counts with Messages' red, which carries
   white at 5.3:1 (#FF2943 carried it at 3.7:1) */
html.pkl[data-theme=dark] { --red: #FF4A60; --red-ui: #D9000B; }   /* red words: 5.1:1 on the Graphite cards (#FF2943 was 4.5:1) */
html.pkl[data-theme=dark] body :is(.btn.red, .n.hot, .gx-seg button i.hot, .wh-fbtn .n, .gp-c-n.hot, .gp-seg .n.hot, .chip.tp.flash, .rail nav a .n.hot, .badge.red) { background-color: var(--red-ui); }
html.pkl[data-theme=dark] body .chip.gx-hot:not(.gx-hero .chip) { background-color: var(--red-ui); }   /* the opened card's top keeps its white Reply pill (red on red at 1.1:1 before this fix) */

/* ---------- every theme: no topo maps, more room ---------- */
html.pkl body::before, html.pkl #topo-cap { display: none !important; }
html.pkl .content { max-width: 1180px; margin: 0 auto; padding-top: 22px; }
/* bigger rail icons, roomier rows */
html.pkl .rail nav { gap: 3px; }
html.pkl .rail nav a { padding: 10px 12px; gap: 13px; font-size: 15px; border-radius: 12px; }
html.pkl .rail nav a packard-icon svg { width: 24px; height: 24px; }
html.pkl .rail-min .rail nav a { padding: 11px 0; }
@media (max-height: 760px) and (min-width: 901px) { html.pkl .rail nav a { padding: 7px 12px; } }
html.pkl .top .eyebrow { display: none; }
html.pkl .top h1 { font-size: 27px; letter-spacing: .02em; }
html.pkl .top #ticon svg { width: 32px; height: 32px; }
html.pkl[data-theme] body .top .who > .btn { height: 38px; width: 38px; padding: 0; }
@media (max-width: 900px) { html.pkl:not(.pk) body .top .ttl { flex: 0 0 auto; } html.pkl:not(.pk) body .top .search { flex: 1 1 0; min-width: 44px; } }   /* a phone without the native kit (everyone but Scott): the page title keeps its width and the search box gives (punch list 9) */   /* the top bar's controls share one height: search, New, refresh, sign out (Nov 22 2026) */
html.pkl .search { border-radius: 999px; }
html.pkl .btn { border-radius: 999px; font-weight: 700; }
html.pkl body .card { border-radius: 16px; }
html.pkl body .card.attn, html.pkl body .card.alert { border-color: transparent !important; }   /* Nov 18 2026: no red border or breathing glow around a card any more; the status dot at the end of this file marks it. */
html.pkl .chip { font-weight: 700; }
html.pkl .chip.gx-hot { background: var(--red); color: #fff; box-shadow: 0 0 14px rgba(255,2,10,.42); }
html.pkl h2.sec { font-family: var(--disp); text-transform: uppercase; letter-spacing: .03em; font-size: 20px; margin-top: 26px; }
html.pkl h2.sec .aside { font: 600 13px var(--sans); text-transform: none; letter-spacing: 0; color: var(--mute); }
html.pkl .work { gap: 14px; }
html.pkl .panels { gap: 14px; }

/* ---------- rail: ink, a white pill for the page you're on, a smooth glowing band under the brand (no stripes) ---------- */
html.pkx .rail { background: linear-gradient(180deg, #121317 0%, #1B1D22 100%); border-right: 0; box-shadow: 8px 0 30px -24px rgba(0,0,0,.6); }
html.pkx .rail .brand { height: auto; padding: 16px 14px 12px; }
html.pkx .rail .brand::after { content: none; }
html.pkx .gx-band { height: 4px; margin: 0 14px 10px; border-radius: 4px; flex: none;
  background: linear-gradient(90deg, #FF020A 0%, #FF5A1F 26%, #FFB020 48%, #FF5A1F 70%, #FF020A 86%, #FF7A7E 100%); background-size: 220% 100%;
  animation: gxdrift 9s ease-in-out infinite alternate; box-shadow: 0 0 14px rgba(255,60,20,.55); }
@keyframes gxdrift { from { background-position: 0% 0; } to { background-position: 100% 0; } }
html:not(.pkx) .gx-band { display: none; }
html.pkx .rail-min .gx-band { margin: 0 10px 10px; }
html.pkx .rail nav a { color: #C9CED6; border: 1px solid transparent; transition: background .18s, color .18s, box-shadow .2s; }
html.pkx .rail nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
html.pkx .rail nav a.on { background: #fff; color: #14151A; border-color: #fff; box-shadow: 0 8px 22px -10px rgba(0,0,0,.7), 0 0 18px rgba(255,255,255,.14); }
html.pkx .rail nav a.on::before { display: none; }
html.pkx .rail nav a .n.hot { background: var(--red); color: #fff; box-shadow: 0 0 10px rgba(255,2,10,.6); }
html.pkx .rail nav a.on .n { color: var(--mute); } html.pkx .rail nav a.on .n.hot { color: #fff; }
html.pkx .rail nav .nlabel { color: #737B87; }

/* ---------- top bar ---------- */
html.pkx .top { background: rgba(244,243,238,.86); border-bottom: 1px solid var(--gx-bd); }
html.pkx .top h1 { color: var(--text); }
html.pkx .search { background: var(--card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); }
html.pkx .who i { background: var(--text); color: #fff; }

/* ---------- shared pieces ---------- */
html.pkx .btn.red { background: var(--red); box-shadow: 0 8px 18px -8px rgba(255,2,10,.75); }
html.pkx .btn.red:hover { background: var(--red-2); box-shadow: 0 10px 22px -8px rgba(255,2,10,.9), 0 0 18px rgba(255,2,10,.28); }
html.pkx .btn.ghost { background: var(--card); border-color: var(--gx-bd); box-shadow: var(--gx-sh); }
html.pkx .btn.ghost:hover { box-shadow: var(--gx-sh), var(--gx-lift); background: var(--card); }
html.pkx body .card { background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.pkx .chip.red { background: var(--red-soft); color: var(--red-tx); }
html.pkx .chip.ink { background: var(--text); color: #fff; }
html.pkx .stag.dealer { background: var(--text); color: #fff; } html.pkx .stag.retail { background: rgba(20,21,26,.07); color: var(--mute); }

/* every tab bar, segmented control and filter is the same rounded pill, on every page (Scott, Nov 5: the same UI everywhere) */
html.pkl .tabs, html.pkl .seg, html.pkl .gx-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--gx-soft); border: 0; flex-wrap: wrap; width: auto; max-width: 100%; }   /* 38 + 4 + 4 = 46, the height of the find box and the filter button beside it (Nov 22 2026; the hidden 1 px border made it 48) */
html.pkl .tabs { margin: 0 0 14px; }
html.pkl .tabs a, html.pkl .seg button, html.pkl .gx-seg button { border: 0; background: none; border-radius: 999px; padding: 0 14px; height: 38px; min-height: 38px; font: 700 14px var(--sans); color: var(--text); display: inline-flex; gap: 6px; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: background .18s, box-shadow .2s, color .18s; flex: none; box-shadow: none; }
html.pkl .tabs a::after { display: none !important; }
html.pkl .tabs a:hover, html.pkl .seg button:hover, html.pkl .gx-seg button:hover { background: var(--gx-hover); }
html.pkl .tabs a.on, html.pkl .seg button.on, html.pkl .gx-seg button.on { background: var(--gx-on); color: var(--gx-on-tx); box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); }
html.pkx .tabs a.on, html.pkx .seg button.on, html.pkx .gx-seg button.on { box-shadow: 0 6px 16px -8px rgba(20,21,26,.8), 0 0 16px rgba(255,2,10,.22); }
html.pkl .seg.sm button, html.pkl .gx-seg.sm button { height: 34px; min-height: 34px; padding: 0 12px; font-size: 13px; }
html.pkl .gx-seg button i { font-style: normal; font-size: 12px; min-width: 18px; padding: 1px 7px; border-radius: 999px; background: var(--gx-tag); color: var(--mute); }
html.pkl .gx-seg button i:empty { display: none; }
html.pkl .gx-seg button.on i { background: rgba(127,127,127,.28); color: inherit; }
html.pkl .gx-seg button i.hot { background: var(--red); color: #fff; }
html.pkl .toolbar { gap: 10px; }
/* the Office's unified bars (office.css, Nov 5 2026) take the same pill */
html.pkl { --bar-h: 38px; }
html.pkl:not([data-theme=dark]) { --bar-bg: rgba(20,21,26,.06); --bar-edge: rgba(20,21,26,.09); --bar-ink: #14151A; --bar-on: #14151A; --bar-on-ink: #FFFFFF;
  --bar-on-sh: 0 6px 16px -8px rgba(20,21,26,.8), 0 0 16px rgba(255,2,10,.22); --bar-n: rgba(20,21,26,.09); --bar-n-on: rgba(255,255,255,.22); }
html.pkl body :is(.subnav, nav.tabs, .toolbar > .seg, .itools .imain, .wtools > .seg), html.pkl body .hubseg { border-radius: 999px !important; padding: 4px !important; gap: 4px; }
html.pkl body :is(.subnav, nav.tabs, .hubseg) > a:not(.btn) { border-radius: 999px !important; padding: 0 14px !important; font: 700 14px/1 var(--sans) !important; }
@media (min-width: 901px) {
  html.pkl body :is(.subnav, nav.tabs, .toolbar > .seg, .wtools > .seg) { display: inline-flex; width: auto; flex: 0 0 auto; }
  html.pkl body :is(.subnav, nav.tabs, .toolbar > .seg, .wtools > .seg) > :is(a, button) { flex: 0 0 auto; }
}
html.pkl .gx-head > nav.tabs { margin: 0 !important; }

.gx-page { max-width: 1120px; margin: 0 auto; }
.gx-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gx-sp { flex: 1; }
.gx-find { color: var(--text); display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; min-width: 190px; flex: 1 1 220px; max-width: 340px; border-radius: 999px; background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); }
.gx-find input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); box-shadow: none; height: 100%; padding: 0; min-width: 0; font: 500 15px var(--sans); }
html.pkl body .gx-find input, html.pkl body .gx-find input:focus { background: transparent !important; border: 0 !important; box-shadow: none !important; outline: 0; }
.gx-find:focus-within { box-shadow: var(--gx-sh), 0 0 0 3px rgba(255,2,10,.12); border-color: rgba(255,2,10,.35); }
.gx-sel { height: 46px; width: 160px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gx-bd); background: var(--gx-card); box-shadow: var(--gx-sh); font: 600 14px var(--sans); color: var(--text); }
.gx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.gx-stats .card { padding: 14px 18px; display: grid; gap: 2px; text-decoration: none; color: inherit; cursor: pointer; transition: transform .2s var(--gx-spring), box-shadow .22s; }
.gx-stats .card:hover { transform: translateY(-1px); box-shadow: var(--gx-sh), var(--gx-lift); }
.gx-stats small { font: 800 12px var(--sans); color: var(--red-tx); text-transform: uppercase; letter-spacing: .06em; }
.gx-stats b { font: 700 34px/1.05 var(--disp); color: var(--text); letter-spacing: .01em; }
.gx-stats .card > span { font-size: 13px; color: var(--mute); }
.gx-stats b .cnt { font: inherit; }
.gx-stats .card > span b.hot { font: 700 13px var(--sans); color: var(--red-tx); }
.gx-list { display: grid; gap: 8px; }
.gx-count { font-size: 13px; color: var(--mute); margin: 2px 4px 6px; }
.gx-count b { color: var(--text); }
html.pkl body .card.gx-row, html.pkl body .gx-stats .card { background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); }
.gx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; cursor: pointer; transition: transform .2s var(--gx-spring), box-shadow .22s, border-color .2s; }
html.pkl .gx-row:hover { transform: translateY(-1px); box-shadow: var(--gx-sh), var(--gx-lift); border-color: var(--fog-2); }
html.pkl .gx-row.attn { border-color: transparent !important; }
html.pkl .gx-row.warm { border-color: rgba(255,176,32,.75) !important; }
html.pkl .gx-row.open { box-shadow: 0 0 0 2px var(--gx-on), var(--gx-sh); transform: none; cursor: default; }
.gx-row.dead { opacity: .62; }
.gx-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 15px var(--sans); flex: none; letter-spacing: .02em; box-shadow: 0 0 0 2px var(--gx-ring), 0 6px 14px -6px rgba(10,12,20,.55); }
.gx-who { display: grid; gap: 2px; min-width: 0; }
.gx-who > b { font: 700 16.5px var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-who > b small { font: 600 13px var(--sans); color: var(--mute); margin-left: 6px; }
.gx-who .sub { font-size: 14px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.gx-meta em { font-style: normal; font-size: 13px; color: var(--mute); }
.gx-meta em.hot { color: var(--red-tx); font-weight: 700; }
.gx-meta em.tag { font-weight: 700; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; background: var(--gx-tag); color: var(--text); }
.gx-meta em.tag.dealer { background: var(--gx-on); color: var(--gx-on-tx); }
.gx-meta em.tag.ride { background: var(--gx-blue-tag); color: var(--gx-blue-tx); }
.gx-meta em.tag.fu { background: var(--gx-amb-tag); color: var(--gx-amb-tx); } .gx-meta em.tag.fu.late { background: var(--red-soft); color: var(--red-tx); }
.gx-meta em.tag.ok { background: rgba(31,122,77,.12); color: var(--gx-green); }
.gx-meta .mono { font: 600 12.5px var(--mono); color: var(--text); }
.gx-chans { display: inline-flex; gap: 4px; }
.gx-net { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; background: #2150C4; flex: none; }
.gx-net svg { width: 12px; height: 12px; }
.gx-net.mail { background: #0F6E7A; color: #fff; } .gx-net.web { background: #6B3FA0; }
.gx-net.off { background: var(--fog) !important; color: var(--mute); opacity: .6; }
.gx-act { display: flex; align-items: center; gap: 8px; }
.gx-tot { font: 700 17px var(--sans); white-space: nowrap; }
.gx-go { width: 22px; height: 22px; color: var(--mute); transition: transform .2s var(--gx-spring); flex: none; }
.gx-go.up { transform: rotate(180deg); color: var(--text); }
.gx-empty { display: grid; gap: 4px; place-items: center; text-align: center; padding: 34px 16px; border: 1px dashed var(--fog-2); border-radius: 16px; color: var(--mute); }
.gx-empty b { color: var(--text); font: 700 16px var(--sans); }
.gx-more { display: flex; justify-content: center; margin: 14px 0; }
.gx-strip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 12px; border-radius: 999px; text-decoration: none; color: var(--text); background: var(--gx-card); border: 1px solid rgba(255,176,32,.6); box-shadow: var(--gx-sh); font-size: 14px; }
.gx-strip.late { border-color: var(--red); box-shadow: var(--gx-sh), 0 0 18px rgba(255,2,10,.18); }
.gx-strip span { color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gx-strip .gx-sp { flex: 1; }

/* a row that opens in place: everything about them on the same screen, the full page one tap further */
.gx-pd { grid-column: 1 / -1; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--gx-bd); display: grid; gap: 14px; cursor: default; animation: gxopen .26s var(--gx-spring); }
@keyframes gxopen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.gx-sec h4 { margin: 0 0 7px; font: 800 11px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--mute); display: flex; gap: 8px; align-items: baseline; }
.gx-sec h4 span { margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.gx-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-contact a, .gx-contact span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--gx-soft); color: var(--text); font: 600 13.5px var(--sans); text-decoration: none; transition: background .15s, box-shadow .2s; }
.gx-contact a:hover { background: var(--gx-card); box-shadow: var(--gx-sh), var(--gx-lift); }
.gx-contact svg { width: 15px; height: 15px; }
.gx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gx-grid:empty { display: none; }
.gx-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--gx-bd); border-radius: 12px; text-decoration: none; color: inherit; background: var(--gx-card); margin-bottom: 6px; cursor: pointer; transition: border-color .15s, box-shadow .2s; }
.gx-item:hover { border-color: var(--fog-2); box-shadow: 0 8px 18px -12px rgba(20,21,26,.45); }
.gx-item div { display: grid; min-width: 0; flex: 1; gap: 1px; }
.gx-item b { font: 700 13.5px var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-item span { font-size: 12.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-item > i { font-style: normal; color: var(--mute); font-size: 18px; }
.gx-item .chip { flex: none; }
.gx-item.flat { cursor: default; } .gx-item.flat:hover { border-color: var(--gx-bd); box-shadow: none; }
.gx-note { padding: 10px 12px; border-radius: 12px; background: var(--gx-note); font-size: 13.5px; line-height: 1.45; }
.gx-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.gx-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13.5px; margin: 0; }
.gx-kv dt { color: var(--mute); font-weight: 600; } .gx-kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.gx-pipe { display: inline-flex; gap: 4px; vertical-align: middle; }
.gx-pipe i { width: 18px; height: 6px; border-radius: 4px; background: var(--fog); }
.gx-pipe i.done { background: var(--gx-green); box-shadow: 0 0 8px rgba(31,122,77,.4); }
.gx-pipe i.now { background: #FFB020; box-shadow: 0 0 8px rgba(255,176,32,.7); }
.gx-pipe i.bad { background: var(--red); box-shadow: 0 0 8px rgba(255,2,10,.5); }

/* ---------- Nov 18 2026: a card opens down into its page (the Salto order page: banner, then the page's cards) ----------
   Cards are told apart from the page by their fill, not by outlines. */
html.pkx { --paper: #EFEDE6; --gx-tile: rgba(20,21,26,.05); --gx-out: rgba(10,132,255,.1); }
html.pkl { --gx-tile: rgba(20,21,26,.05); --gx-out: rgba(10,132,255,.1); }
html.pkl[data-theme=dark] { --gx-tile: rgba(255,255,255,.06); --gx-out: rgba(10,132,255,.18); }
html.pkl body .card:not(.attn):not(.alert):not(.open), html.pkl body .card.gx-row:not(.attn) { border-color: transparent !important; }
html.pkl .gx-find, html.pkl .gx-sel { border-color: transparent !important; }
html.pkl .gx-item { border-color: transparent; background: var(--gx-soft); }
html.pkl .gx-item:hover { border-color: transparent; background: var(--gx-hover); box-shadow: none; filter: brightness(.98); }

/* rows: order # on top, who · where · when under it, what's in it, and money / status / dots on the right */
.gx-orow .gx-who > b { font-size: 17px; }
.gx-dl { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font: 700 11px var(--sans) !important; vertical-align: 2px; background: var(--gx-on); color: var(--gx-on-tx) !important; }
.gx-items { font-size: 14px; color: var(--text); opacity: .86; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-oact { flex-direction: column; align-items: flex-end !important; gap: 7px !important; }
.gx-oact .gx-tot { font-size: 18px; }
.gx-dots { display: inline-flex; gap: 5px; }
.gx-dots i { width: 24px; height: 7px; border-radius: 5px; background: var(--fog); }
.gx-dots i.done { background: var(--gx-green); box-shadow: 0 2px 8px -2px rgba(31,122,77,.7); }
.gx-dots i.now { background: #FFB020; box-shadow: 0 2px 8px -2px rgba(255,176,32,.9); }
.gx-dots i.bad { background: var(--red); box-shadow: 0 2px 8px -2px rgba(255,2,10,.8); }
.gx-dots i.off { opacity: .5; }
.gx-iend { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }

/* the open card: its own header steps aside for the banner, and its page sits right on the background */
html.pkl body .card.gx-row.open { display: block; padding: 0; background: transparent !important; box-shadow: none !important; border-color: transparent !important; animation: none; transform: none; cursor: default; }
.gx-row.open > .gx-av, .gx-row.open > .gx-who, .gx-row.open > .gx-act, .gx-row.open > .gx-go { display: none; }
.gx-rec { display: grid; gap: 14px; animation: gxopen .3s var(--gx-spring); }
.gx-row { scroll-margin-top: calc(var(--top, 60px) + 14px); }
.gx-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 22px; color: #fff; cursor: pointer;
  background: radial-gradient(55% 140% at 92% 0%, rgba(255,2,10,.32), transparent 62%), radial-gradient(40% 120% at 0% 100%, rgba(255,120,40,.12), transparent 60%), linear-gradient(120deg, #22252C, #15161B 55%, #0E0F12);
  box-shadow: 0 20px 44px -24px rgba(10,10,14,.95), 0 0 0 1px rgba(255,255,255,.04) inset; }
.gx-hero.hot { background: radial-gradient(60% 150% at 92% 0%, rgba(255,2,10,.55), transparent 62%), radial-gradient(40% 120% at 0% 100%, rgba(255,120,40,.14), transparent 60%), linear-gradient(120deg, #2A1D21, #17151A 55%, #0E0F12);
  box-shadow: 0 20px 44px -22px rgba(255,2,10,.55), 0 0 0 1px rgba(255,90,90,.12) inset; }
.gx-hero .gx-av { width: 74px; height: 74px; font-size: 24px; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 26px rgba(255,255,255,.18); }
.gx-hid { display: grid; gap: 3px; min-width: 0; }
.gx-hid h2 { margin: 0; font: 700 clamp(28px, 3.4vw, 42px)/1 var(--disp); letter-spacing: .01em; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 0 24px rgba(255,255,255,.12); }
.gx-hid span { font-size: 14px; color: #C3C8D0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-hid b { font: 700 15px var(--sans); color: #fff; margin-top: 4px; }
.gx-hmoney { display: grid; justify-items: end; gap: 6px; }
.gx-hmoney > b { font: 700 36px/1 var(--disp); color: #fff; }
.gx-hmoney > small { color: #C3C8D0; font-size: 13px; }
.gx-hero .chip { box-shadow: none; }
.gx-hero .chip.ok { background: #DDF3E6; color: #1F7A4D; } .gx-hero .chip.red { background: #FFE3E4; color: #C8000A; } .gx-hero .chip.amber { background: #FFF1D6; color: #8A5300; }
.gx-hero .gx-dots i { background: rgba(255,255,255,.18); }
.gx-hero .gx-dots i.done { background: #3DD68C; } .gx-hero .gx-dots i.now { background: #FFB020; } .gx-hero .gx-dots i.bad { background: #FF2943; }
.gx-fold { align-self: start; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .15s; }
.gx-fold:hover { background: rgba(255,255,255,.2); } .gx-fold svg { width: 20px; height: 20px; }
.gx-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.gx-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.gx-pc { background: var(--gx-card); border-radius: 18px; padding: 16px 20px 18px; box-shadow: var(--gx-sh); min-width: 0; }
.gx-pc > h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font: 700 18px var(--sans); color: var(--text); }
.gx-pc > h3 packard-icon { color: var(--red-tx); }
.gx-pc > h3 em { margin-left: auto; font: 600 13px var(--sans); font-style: normal; color: var(--mute); }
.gx-pc > h3 em a { color: var(--red-tx); text-decoration: none; font-weight: 700; }
.gx-none { margin: 0; color: var(--mute); font-size: 14px; }
.gx-full { justify-self: start; }
.gx-rec > .gx-flags { padding: 0 4px; }
.gx-pc .gx-steps li { padding: 9px 0; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.gx-pc .gx-steps li > i { width: 34px; height: 34px; font-size: 14px; }
.gx-pc .gx-steps li:not(:last-child)::before { left: 16px; top: 42px; }
.gx-pc .gx-steps b { font-size: 15.5px; margin-top: 6px; }
.gx-pc .gx-steps small { font-size: 13.5px; }
.gx-sub { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 13.5px; color: var(--mute); cursor: pointer; }
.gx-sub:hover { color: var(--text); }
/* what they bought: photo, name, variant · SKU, quantity, shelf count */
.gx-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; }
.gx-line + .gx-line { border-top: 1px solid var(--gx-tile); }
.gx-line img, .gx-noimg { width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(20,21,26,.06); display: grid; place-items: center; color: var(--fog-2); }
.gx-noimg svg { width: 28px; height: 28px; }
.gx-line > div { display: grid; gap: 2px; min-width: 0; }
.gx-line b { font: 700 14.5px var(--sans); } .gx-line span { font-size: 13px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-lq { justify-items: end; text-align: right; } .gx-lq b { font-size: 16px; } .gx-lq small { font-size: 12.5px; color: var(--mute); } .gx-lq small.hot { color: var(--red-tx); font-weight: 700; }
/* the customer + every way to reach them */
.gx-buyer { display: grid; gap: 2px; margin-bottom: 12px; } .gx-buyer > b { font: 700 19px var(--sans); } .gx-buyer > span { color: var(--mute); font-size: 14px; } .gx-buyer > small { color: var(--mute); font-size: 13px; margin-top: 2px; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gx-links { display: grid; gap: 8px; }
.gx-link { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--gx-soft); color: var(--text); text-decoration: none; transition: background .15s, transform .15s var(--gx-spring); min-width: 0; }
.gx-link:hover { background: var(--gx-hover); transform: translateX(2px); }
.gx-link > svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--gx-card); color: var(--text); flex: none; box-shadow: 0 2px 6px -2px rgba(0,0,0,.25); }
.gx-link.hot > svg { background: var(--red); color: #fff; }
.gx-link span { display: grid; min-width: 0; } .gx-link span b { font: 700 14px var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gx-link span small { font-size: 12.5px; color: var(--mute); }
.gx-rec .gx-note { margin-top: 10px; } .gx-note small { display: block; margin-top: 4px; font-size: 12px; color: var(--mute); }
/* Shopify: three tiles */
.gx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gx-tiles div { padding: 10px 12px; border-radius: 14px; background: var(--gx-tile); display: grid; gap: 1px; min-width: 0; }
.gx-tiles b { font: 700 22px/1.1 var(--disp); text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gx-tiles small { font-size: 12px; color: var(--mute); }
.gx-pnote { margin: 10px 0 0; font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; }
.gx-row-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* the conversation: their side grey, ours a light iMessage blue */
.gx-msg { padding: 10px 14px; border-radius: 16px; margin-bottom: 8px; cursor: pointer; }
.gx-msg.in { background: var(--gx-soft); margin-right: 14%; } .gx-msg.out { background: var(--gx-out); margin-left: 14%; }
.gx-msg small { font-size: 12px; color: var(--mute); } .gx-msg p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; }
.gx-item.late b { color: var(--red-tx); }
@media (max-width: 900px) {
  .gx-cols { grid-template-columns: minmax(0, 1fr); }
  .gx-cols.gx-person > .gx-col:last-child { order: -1; }
  .gx-hero { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 16px; border-radius: 20px; }
  .gx-hero .gx-av { width: 52px; height: 52px; font-size: 17px; }
  .gx-hmoney { grid-column: 1 / -1; grid-row: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; gap: 10px; }
  .gx-hmoney > b { font-size: 28px; }
  .gx-fold { grid-column: 3; grid-row: 1; }
  .gx-hid h2 { font-size: 26px; }
  .gx-pc { padding: 14px 16px; }
  .gx-tiles b { font-size: 18px; }
  .gx-oact .gx-dots i { width: 16px; height: 6px; }
}

/* where an order stands: one step per stage, done (green) · now (amber, pulsing) · stuck (red) — the Salto order steps */
.gx-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.gx-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 7px 0; position: relative; }
.gx-steps li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 36px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--fog); }
.gx-steps li > i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--sans); font-style: normal; background: var(--gx-soft); color: var(--mute); border: 2px solid var(--fog); }
.gx-steps li > i svg { width: 15px; height: 15px; }
.gx-steps li.done > i { background: var(--gx-green); border-color: var(--gx-green); color: #fff; box-shadow: 0 0 10px rgba(31,122,77,.35); }
.gx-steps li.done:not(:last-child)::before { background: var(--gx-green); }
.gx-steps li.now > i { background: #FFB020; border-color: #FFB020; color: #14151A; box-shadow: 0 0 14px rgba(255,176,32,.6); animation: gxpulse 2.2s ease-in-out infinite; }
.gx-steps li.bad > i { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 14px rgba(255,2,10,.45); }
@keyframes gxpulse { 50% { box-shadow: 0 0 0 6px rgba(255,176,32,.15), 0 0 18px rgba(255,176,32,.7); } }
.gx-steps b { display: block; font: 700 14px var(--sans); margin-top: 5px; }
.gx-steps small { display: block; font-size: 12.5px; color: var(--mute); margin-top: 1px; overflow-wrap: anywhere; }
.gx-steps small a { color: inherit; font-weight: 700; }

/* ---------- the older screens pick up the glass (customer page, ship board, overview, inventory, ECUs …) ---------- */
html.pkl .work .card, html.pkl .panels .panel { border-radius: 16px; }
html.pkl .work .card:hover, html.pkl .card[data-go]:hover { box-shadow: var(--gx-sh), var(--gx-lift); }
html.pkl .sidecard { border-radius: 16px; }
html.pkx .sidecard { background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); }
html.pkl .pli:hover, html.pkl .gl-row:hover { background: var(--gx-hover); }
html.pkx .phead .pav.big, html.pkx .pav { box-shadow: 0 0 0 2px #fff, 0 6px 14px -6px rgba(10,12,20,.5); }
html.pkl .ocard, html.pkl .orow { border-radius: 16px; }
html.pkx .drawer { background: #FAF9F5; border-left: 1px solid var(--gx-bd); box-shadow: -30px 0 80px -30px rgba(13,15,20,.5); }
html.pkx .drawer .dhead { background: rgba(250,249,245,.94); }
html.pkx .scrim.open { background: rgba(13,15,20,.36); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
html.pkx .newmenu { border-radius: 18px; border: 1px solid var(--gx-bd); box-shadow: 0 30px 70px -26px rgba(13,15,20,.55); }

/* the ship board (Orders → To ship) and every order card: the Glow row — round icon, glass, red glow when it's late, amber when it goes out today */
html.pkl body .ocard { border-radius: 16px; transition: transform .2s var(--gx-spring), box-shadow .22s, border-color .2s; }
html.pkl body .ocard:hover { transform: translateY(-1px); box-shadow: var(--gx-sh), var(--gx-lift); }
html.pkl body .ocard .oc-ic { border-radius: 50%; background: var(--gx-ic-bg); box-shadow: 0 0 0 2px var(--gx-ring), 0 6px 14px -6px rgba(10,12,20,.45); border: 1px solid var(--gx-bd); }
html.pkl[data-theme][data-theme][data-theme] body .card.ocard.ship-row.red, html.pkl[data-theme][data-theme][data-theme] body .ship-row.red { border-color: transparent !important; box-shadow: var(--gx-sh); }
html.pkl[data-theme][data-theme][data-theme] body .card.ocard.ship-row.yellow, html.pkl[data-theme][data-theme][data-theme] body .ship-row.yellow { border-color: transparent !important; box-shadow: var(--gx-sh); }
html.pkl[data-theme][data-theme][data-theme] body .card.ocard.ship-row:is(.green, .nc), html.pkl[data-theme][data-theme][data-theme] body .ship-row:is(.green, .nc) { box-shadow: var(--gx-sh); }
html.pkl body .ship-row::before, html.pkl body .ocard::before { display: none !important; }
html.pkl body .ocard, html.pkl body .ship-row { border-left-width: 1px !important; }
html.pkl h2.sec { font-family: var(--disp); text-transform: uppercase; letter-spacing: .03em; font-size: 20px; }
html.pkl h2.sec .aside { font: 600 13px var(--sans); text-transform: none; letter-spacing: 0; color: var(--mute); }
html.pkl body .content .work .card h3 { font: 800 12px var(--sans); text-transform: uppercase; letter-spacing: .06em; }
html.pkx body .content .work .card h3 { color: var(--red-tx); }
html.pkl .work .card > b { font-family: var(--disp); }
html.pkl .hello b { font-family: var(--disp); text-transform: uppercase; letter-spacing: .02em; }
html.pkl .shipset > summary { border-radius: 999px; }

/* ---------- Messages: Packard's list (Scott: "Packard messages are better in the list"), Salto's finish ---------- */
html.pkl .ifbar { background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); border-radius: 999px; padding: 6px 10px; }
html.pkl .ifdd { border-radius: 999px; background: var(--gx-soft); border-color: transparent; }
html.pkl .ifdd.on { background: var(--gx-on); color: var(--gx-on-tx); } html.pkl .ifdd.on select { color: var(--gx-on-tx); }
html.pkl .chip-btn { border-radius: 999px; }
html.pkl .chip-btn.on { background: var(--gx-on); color: var(--gx-on-tx); box-shadow: 0 0 14px rgba(255,2,10,.2); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard { background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); border-radius: 16px; transition: transform .2s var(--gx-spring), box-shadow .22s, border-color .2s; }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard::before { display: none !important; }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard:hover { transform: translateY(-1px); box-shadow: var(--gx-sh), var(--gx-lift); background: var(--gx-card); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.on { border-color: var(--gx-on); box-shadow: 0 0 0 2px var(--gx-on), var(--gx-sh); animation: none; transform: none; background: var(--gx-card); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.replied:not(.on) { box-shadow: var(--gx-sh); opacity: .9; }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard .ic-k.k-sales { background: var(--gx-blue-tag); color: var(--gx-blue-tx); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard .ic-k.k-support { background: var(--gx-amb-tag); color: var(--gx-amb-tx); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard .ic-own { background: var(--gx-on); color: var(--gx-on-tx); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard .ic-free { background: transparent; color: var(--red-tx); box-shadow: inset 0 0 0 1px rgba(255,2,10,.35); }
html.pkl .iconv.icard .ic-ord { background: var(--gx-soft); border-radius: 12px; }
html.pkl .iconv.icard .ic-name { font-weight: 700; }
html.pkl .iconv.icard .ic-when .udot { box-shadow: 0 0 0 0 rgba(255,2,10,.5); animation: gxdot 2.2s ease-in-out infinite; }
@keyframes gxdot { 0%,100% { box-shadow: 0 0 0 0 rgba(255,2,10,.45); } 60% { box-shadow: 0 0 0 6px rgba(255,2,10,0); } }
html.pkl .itools .isrch { border-radius: 999px; background: var(--gx-card); border-color: var(--gx-bd); box-shadow: var(--gx-sh); }


/* Messages: the Salto filter row — status pill, then chips that always show what's on (the old dropdown bar and Filter panel step aside) */
html.pkl .ifbar, html.pkl #ifbtn { display: none !important; }
html.pkl body .itools .imain [data-im=needs] .n:not(:empty) { background: var(--red) !important; color: #fff !important; }
html.pkl .fchip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--fog); background: var(--gx-card); color: var(--text); font: 600 13px var(--sans); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
html.pkl .fchip:hover { border-color: var(--fog-2); }
html.pkl .fchip i { font-style: normal; font-weight: 700; }
html.pkl .fchip i:empty { display: none; }
html.pkl .fchip.urg { color: var(--red-tx); border-color: rgba(255,2,10,.3); }
html.pkl .fchip.on { background: var(--gx-on); color: var(--gx-on-tx); border-color: var(--gx-on); }
html.pkl body .imain button i.in { font-style: normal !important; display: inline-flex !important; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; align-items: center; justify-content: center; margin-left: 6px; background: var(--red) !important; color: #fff !important; font: 700 11px var(--sans) !important; }
html.pkl body .imain button i.in:empty { display: none; }
html.pkl .itools .isrow { margin-top: 10px; }
html.pkl #isetbox { margin: 10px 0; padding: 12px 14px; border-radius: 16px; background: var(--gx-card); box-shadow: var(--gx-sh); }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .gx-stats { gap: 8px; } .gx-stats .card { padding: 10px 12px; } .gx-stats small { font-size: 10px; } .gx-stats b { font-size: 24px; } .gx-stats .card > span { font-size: 12px; }
  .gx-head { gap: 8px; } .gx-find { flex: 1 1 100%; max-width: none; min-width: 0; height: 44px; } .gx-sel { flex: 1; width: auto; }
  /* a phone's section header is 44 high, the same as Messages' list head: find box, filter button, tabs (36 + 4 + 4); a desk's is 46 */
  html.pkl .wh-fbtn { width: 44px; height: 44px; } html.pkl .gx-head .gx-seg button { height: 36px; min-height: 36px; }
  html.pkl .gx-seg, html.pkl .tabs, html.pkl .toolbar > .seg { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  html.pkl .gx-seg::-webkit-scrollbar, html.pkl .tabs::-webkit-scrollbar { display: none; }
  html.pkl .gx-seg button, html.pkl .tabs a { flex: 1 0 auto; padding: 0 12px; }
  .gx-row { gap: 10px; padding: 10px 12px; } .gx-row .gx-go { display: none; }
  .gx-row .gx-act { flex-direction: column; align-items: flex-end; gap: 4px; } .gx-row .gx-act .chip { font-size: 11px; height: 22px; padding: 0 8px; }
  .gx-av { width: 40px; height: 40px; font-size: 13px; }
  .gx-who > b { font-size: 15px; } .gx-who .sub { font-size: 13px; } .gx-meta em { font-size: 12px; }
  .gx-grid { grid-template-columns: minmax(0, 1fr); }
  .gx-acts .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html.pkx .gx-band, html.pkl body .iconv.icard, html.pkl .iconv .udot, html.pkl .gx-steps .now > i, html.pkl .gx-row.attn::after, html.pkl .card.attn::after, html.pkl .ship-row::after, html.pkl .iconv.icard::after { animation: none !important; } }


/* ---------- Nov 18 2026, Messages cleaned up (Scott: "customer updates, callbacks should be tabs under messages. just a toggle on top. the filters
   on salto messages are far more clean. the message boxes are not cleaned up … maybe some should be in the header once you open. icons for type
   of message that are smaller") ---------- */
/* the toggle on top: Inbox · Call-backs · Updates; those two leave the sidebar */
.hubseg .hl { display: none; }
html.pkl #nav a[data-v=callbacks], html.pkl #nav a[data-v=updates] { display: none !important; }
@media (min-width: 901px) {
  html.pkl body .hubseg { display: flex !important; width: var(--ilw, 340px); max-width: 100%; margin: 0 0 14px !important; }
  html.pkl body .hubseg:is(.hub-callbacks, .hub-updates) { width: var(--ilw, 344px); margin-top: 14px !important; }
  html.pkl body .hubseg .hs { display: none; } html.pkl body .hubseg .hl { display: inline; }
  html.pkl body .hubseg a[data-k=chat], html.pkl body .hubseg.hub-chat { display: none !important; }
  html.pkl body .hubseg > a { flex: 1 1 auto; justify-content: center; gap: 6px; }
}
/* the toolbar: status pill + new + the slider (sort, more filters, settings) on one line, then one line of chips, then a filled search */
html.pkl body .itools .row.itop { display: flex !important; align-items: center; gap: 2px; flex-wrap: nowrap !important; margin: 0; }
html.pkl body .itools .row.itop .imain { flex: 0 1 auto; width: auto !important; min-width: 0; margin: 0 !important; }
html.pkl[data-theme][data-theme] body .itools .row.itop .imain > button { padding: 0 10px !important; }
html.pkl[data-theme][data-theme] body .itools .row.itop .imain > button .n { margin-left: 5px !important; }
html.pkl body .itools .ich-ico { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 999px; color: var(--text); background: transparent; border: 0; position: relative; display: inline-grid; place-items: center; }
html.pkl body .itools .ich-ico:hover { background: var(--gx-hover); }
html.pkl body .itools .ich-ico > svg { width: 20px; height: 20px; }
html.pkl body .itools .ich-ico[aria-expanded=true] { background: var(--gx-on); color: var(--gx-on-tx); }
html.pkl body .itools .ich-ico .ifn { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; padding: 0; min-width: 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--paper); font-size: 0; }
html.pkl body .itools .isrch { border-radius: 14px; background: var(--gx-soft) !important; border-color: transparent !important; box-shadow: none !important; height: 44px; }
html.pkl body .itools .isrow { margin-top: 10px; }
html.pkl body .itools #ifilters:not([hidden]) { margin: 10px 0 2px; padding: 12px 14px; border-radius: 16px; background: var(--gx-card); box-shadow: var(--gx-sh); }

/* the conversation card: who + when, what they said, one quiet line — no outlines, no pill row */
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm { display: flex !important; flex-direction: row !important; gap: 12px; align-items: flex-start; padding: 13px 14px 12px; border: 0 !important; box-shadow: none; background: var(--gx-card); border-radius: 16px; animation: none !important; opacity: 1; min-height: 0; height: auto; }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm:hover { background: var(--gx-card); box-shadow: var(--gx-lift); transform: translateY(-1px); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm.on { background: var(--gx-card); box-shadow: 0 0 0 2px var(--gx-ring, var(--gx-on)), var(--gx-sh); transform: none; }
html.pkl .gxm-av { position: relative; flex: none; width: 40px; height: 40px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--av, #5B6270); color: #fff; font: 700 14px/1 var(--sans); letter-spacing: .02em; }
html.pkl .gxm-ch { position: absolute; right: -4px; bottom: -4px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1F8A4C; box-shadow: 0 0 0 2px var(--gx-card); }
html.pkl .gxm-ch.phone { background: #2150C4; } html.pkl .gxm-ch.mail { background: #0F6E7A; } html.pkl .gxm-ch.web { background: #6B3FA0; }
html.pkl .gxm-ch svg { width: 10px; height: 10px; stroke-width: 2.6; }
html.pkl .gxm-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html.pkl .gxm-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
html.pkl .iconv.gxm .ic-name { font: 700 15px/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html.pkl .iconv.gxm .urg { font-style: normal; color: var(--red-tx); font-size: 13px; flex: none; }
html.pkl .iconv.gxm .ic-when { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--sans); color: var(--mute); }
html.pkl .iconv.gxm.needs:is(.urgent, .stale) .ic-when { color: var(--red-tx); font-weight: 700; }
html.pkl .iconv.gxm .ic-prev { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font: 400 13.5px/1.38 var(--sans); color: var(--mute); }
html.pkl .iconv.gxm.unread .ic-prev, html.pkl .iconv.gxm.needs .ic-prev { color: var(--text); }
html.pkl .iconv.gxm .ic-prev b { font-weight: 600; }
html.pkl .gxm-meta { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 2px; font: 500 12px/1.3 var(--sans); color: var(--mute); white-space: nowrap; overflow: hidden; }
html.pkl .gxm-meta > i { font-style: normal; opacity: .45; }
html.pkl .gxm-meta .mono { font: 600 11.5px var(--mono); color: var(--text); }
html.pkl .gxm-k { font-weight: 700; } html.pkl .gxm-k.k-sales { color: var(--gx-blue-tx); } html.pkl .gxm-k.k-support { color: var(--gx-amb-tx); }
html.pkl .gxm-st { font-weight: 700; } html.pkl .gxm-st.red { color: var(--red-tx); } html.pkl .gxm-st.ok { color: #1F7A4D; } html.pkl .gxm-st.amb { color: var(--gx-amb-tx); }
html.pkl[data-theme=dark] .gxm-st.ok { color: #5FD08F; }

/* the opened thread's header: what the card dropped */

/* ---------- Nov 18 2026, 1:40 PM — Messages, Salto's way (Scott: "copy salto. i like how the messages are their own 3d cards, but all should
   be the same. the glow should indicate if they are read or important. the message box should be the same as salto. lighter background. the plus
   and star and button up to send. the top is cleaner on salto. the only thing i like from packard is the thread cards being separate and the notes
   and stuff on the side in a third column") ---------- */
html.pkl { --gx-panel: rgba(255,255,255,.5); --gx-bd2: rgba(20,21,26,.14); --gx-blue: #0A84FF; --gx-band: #ECE8DE; }
html.pkl[data-theme=dark] { --gx-panel: rgba(255,255,255,.03); --gx-bd2: rgba(255,255,255,.16); --gx-band: rgba(255,255,255,.05); }
/* the toggle sits on top of the page, outside the list card */
.gx-hubtop { display: none !important; }
/* every conversation card the same; the glow says unread (soft red) or important (red, breathing) */
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm { background: var(--gx-card); box-shadow: 0 1px 2px rgba(20,21,26,.06), 0 8px 18px -12px rgba(20,21,26,.35); }
html.pkl[data-theme=dark][data-theme][data-theme] body .iconv.icard.gxm.gxm { box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 22px -12px rgba(0,0,0,.7); }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm.on { box-shadow: 0 0 0 2px var(--gx-on), 0 10px 22px -14px rgba(20,21,26,.45); animation: none !important; }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm:hover:not(.on) { transform: translateY(-1px); }
html.pkl .iconv.gxm .ic-prev { color: var(--mute); } html.pkl .iconv.gxm.unread .ic-prev { color: var(--text); }
html.pkl .iconv.gxm .ic-name { font-weight: 600; } html.pkl .iconv.gxm.unread .ic-name { font-weight: 800; }

/* the thread header: initials, name, number · email, pill buttons */
html.pkl .gx-hav { width: 44px; height: 44px; font-size: 15px; margin: 0; }
/* the strip of what we know — Salto's beige band */
/* the body is the card itself — light */
/* Salto's composer: Text / Email, then + · form · ✦ · the pill · ↑ */
html.pkl .gx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.pkl .gx-cnote .gx-n-em { display: none; }
/* the list card's toolbar fits Open · Needs reply · Mine + two icons, and the chip row fits one line */
html.pkl body .itools .ich-ico { width: 34px !important; height: 34px; }
html.pkl[data-theme][data-theme] body .itools .row.itop .imain > button { padding: 0 9px !important; }


/* ---------- Nov 18 2026, 1:55 PM — one sidebar, one toggle (Scott: "rethink all of the tabs on the left. make it super easy to navigate …
   then we need to unify the ui. too many different things going on") ---------- */
html.pkl #nav > a[data-v], html.pkl #nav > .nlabel { display: none !important; }
html.pkl #nav > a.gxh { margin-bottom: 4px; }
html.pkl #nav > a.gxh > span { flex: 1 1 auto; }
.gxh-dot { display: none; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255,2,10,.18); margin-left: 6px; }
.gxh-dot.on { display: inline-block; }
#gx-hub { display: none; }
@media (min-width: 901px) {
  html.pkl.gx-hubbed #gx-hub { display: flex; align-items: center; position: sticky; top: 60px; z-index: 19; height: 56px; padding: 0 20px; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--gx-bd); }
  html.pkl.gx-hubbed .top { border-bottom-color: transparent; }
  html.pkl.gx-hubbed #content { --top: 116px; }
  html.pkl body #gx-hub .hubseg.gx-hubbar { display: flex !important; width: auto; max-width: 100%; margin: 0 !important; }
  html.pkl body #gx-hub .hubseg.gx-hubbar > a { flex: 0 0 auto; gap: 6px; }
  html.pkl body #content .hubseg { display: none !important; }
}

/* the ship board: a card opens where it sits (no side drawer) */
html.pkl .ship-row { scroll-margin-top: calc(var(--top, 60px) + 14px); }
html.pkl[data-theme][data-theme][data-theme] body .ship-row.gx-sopen.gx-sopen.gx-sopen.gx-sopen { display: block !important; border: 0 !important; padding: 0 !important; background: transparent !important; border-color: transparent !important; box-shadow: none !important; animation: none !important; cursor: default; transform: none !important; }
html.pkl[data-theme][data-theme][data-theme] body .ship-row.gx-sopen::before, html.pkl[data-theme][data-theme][data-theme] body .ship-row.gx-sopen::after { display: none !important; }
html.pkl body .ship-row.gx-sopen > :not(.gx-rec) { display: none !important; }
html.pkl .gx-pc .gx-fl { display: flex; flex-direction: column; gap: 4px; margin: 12px 0 8px; font: 600 12.5px var(--sans); color: var(--mute); }
html.pkl .gx-pc .gx-fl .sel { height: 40px; border-radius: 12px; width: 100%; padding: 0 10px; border: 1px solid var(--gx-bd2, var(--fog)); background: var(--gx-card); color: var(--text); font: 500 14px var(--sans); }
html.pkl .gx-pc > .cin { display: block; width: 100%; height: 40px; margin: 0 0 8px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--gx-bd2, var(--fog)); background: var(--gx-card); color: var(--text); font: 500 14px var(--sans); }
html.pkl .gx-pc .gx-iq { flex: none; font: 600 13px var(--sans); color: var(--mute); white-space: nowrap; }
html.pkl .gx-pc .gx-row-acts .sub { font-size: 12.5px; }

/* a customer opens with everything in place (no separate full page): the live notes / follow-ups / rides card, owner, tags, merge */
html.pkl .gx-pc:not(.gx-all) .gx-xtra { display: none !important; }
html.pkl .gx-pc .gx-showall { margin-top: 8px; }
html.pkl .gx-pc .gx-fl .cin { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--gx-bd2, var(--fog)); background: var(--gx-card); color: var(--text); font: 500 14px var(--sans); width: 100%; }
html.pkl .gx-flags button.chip { border: 0; cursor: pointer; text-decoration: underline; }
html.pkl .gx-crm:empty { display: none; }
html.pkl .gx-crm .sidecard { background: var(--gx-card); border: 0; border-radius: 20px; box-shadow: var(--gx-sh); padding: 16px 18px; margin: 0 0 14px; }
html.pkl body .gx-rec .gx-crm .sidecard h4 { font: 700 17px/1.2 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; }
html.pkl .gx-crm .sidecard h4 .aside { margin-left: auto; font: 500 12.5px var(--sans); color: var(--mute); }
html.pkl .gx-crm .sidecard h4 .aside a { display: none; }
html.pkl .gx-col { min-width: 0; grid-template-columns: minmax(0, 1fr); }
html.pkl .gx-col > * { min-width: 0; max-width: 100%; }
html.pkl .gx-crm .sidecard { overflow: hidden; width: auto; max-width: 100%; }
html.pkl .gx-crm :is(textarea, input, select) { max-width: 100%; }
html.pkl .gx-crm textarea { width: 100%; }
html.pkl .gx-crm .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }

/* ---------- Nov 18 2026, 2:35 PM — Inventory → Supercharger parts: a piece opens where it sits (Scott: "edit the item better … photo. weight.
   dimensions … edit all the part info easier. and then count and or weigh") ---------- */
html.pkl .gx-parts .pc-row { cursor: pointer; scroll-margin-top: calc(var(--top, 60px) + 14px); }
html.pkl body .gx-parts .pc-row.gx-popen { display: block !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: default; margin: 8px 0 14px; }
html.pkl body .gx-parts .pc-row.gx-popen > :not(.gx-rec) { display: none !important; }
html.pkl .gx-av.gx-av-img { padding: 0; overflow: hidden; background: #fff !important; }
html.pkl .gx-av.gx-av-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.pkl .gx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
html.pkl .gx-form .gx-fl { margin: 0; }
html.pkl .gx-form .gx-fl.w2 { grid-column: 1 / -1; }
html.pkl .gx-form textarea.cin { height: auto; min-height: 64px; padding: 10px 12px; resize: vertical; }
html.pkl .gx-form .seg { align-self: flex-start; }
html.pkl .gx-wu { display: flex; gap: 6px; } html.pkl .gx-wu .cin { flex: 1 1 auto; min-width: 0; } html.pkl .gx-pc .gx-fl .gx-u { flex: none; width: 74px; }
html.pkl .gx-pc .gx-form + .gx-row-acts, html.pkl .gx-pc .gx-weigh + .gx-row-acts { margin-top: 12px; }
html.pkl .gx-count { display: flex; gap: 10px; align-items: stretch; margin-bottom: 8px; }
html.pkl .gx-pc .cin.gx-big { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--gx-bd2, var(--fog)); background: var(--gx-card); color: var(--text); font: 800 28px/1 var(--disp); }
html.pkl .gx-count .btn { height: 56px; padding: 0 20px; border-radius: 14px; }
html.pkl .gx-weigh { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--gx-soft); font: 500 14px var(--sans); color: var(--mute); }
html.pkl .gx-weigh b { font: 800 22px/1.1 var(--disp); color: var(--text); margin-right: 8px; }
html.pkl .gx-photo { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; align-items: start; }
html.pkl .gx-photo img, html.pkl .gx-nophoto { width: 148px; height: 148px; border-radius: 16px; object-fit: cover; display: block; background: var(--gx-soft); }
html.pkl .gx-nophoto { display: grid; place-items: center; font: 600 13px var(--sans); color: var(--mute); }
html.pkl .gx-photo .sub { margin: 2px 0 10px; }
@media (max-width: 700px) { html.pkl .gx-form { grid-template-columns: minmax(0, 1fr); } html.pkl .gx-photo { grid-template-columns: minmax(0, 1fr); } }
/* Part photos and 3D (Nov 22 2026, Scott's "Part pages in 3D"): the opened part leads with the part on a white studio stage */
.gx-pc.gx-media { padding: 10px; }
.gx-stage { position: relative; aspect-ratio: 4 / 3; background: #fff; border-radius: 14px; overflow: hidden; color: #15171a; }
@media (max-width: 560px) { .gx-stage { aspect-ratio: 1 / 1; } }
.gx-stage > .gx-stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .4s; }
.gx-stage-none { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #5d626a; font: 600 15px var(--sans); }
.gx-stage.empty { background: var(--gx-soft); } .gx-stage.empty .gx-stage-none { color: var(--mute); }
.gx-media-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 6px 4px; }
.gx-media-bar .sub { flex: 1 1 220px; margin: 0; }
.gx-media-bar .gx-row-acts { margin: 0; flex-wrap: wrap; }
.gx-media-bar .btn svg { margin-right: 6px; flex: none; }
.gx-touch { display: none !important; }
@media (pointer: coarse) { .gx-touch { display: inline-flex !important; } }
.gx-av.gx-av-add { cursor: pointer; } .gx-av.gx-av-add svg { display: block; }
/* the part in 3D: the canvas fades in over the photo once the model is drawn */
.gx-stage .gx-gl { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.gx-stage .gx-gl canvas { display: block; cursor: grab; } .gx-stage .gx-gl canvas:active { cursor: grabbing; }
.gx-stage[data-v3=on] .gx-gl { opacity: 1; } .gx-stage[data-v3=on] > .gx-stage-img { opacity: 0; }
.gx-gl-msg { position: absolute; left: 14px; top: 12px; right: 14px; font: 500 14px var(--sans); color: #5d626a; pointer-events: none; }
.gx-gl-msg.off { top: auto; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.94); color: #15171a; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.gx-stage[data-v3=on] .gx-gl-msg { display: none; }
.gx-dims { position: absolute; left: 12px; top: 12px; font: 600 14px var(--sans); color: #15171a; background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.gx-3dctl { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4px 16px rgba(0,0,0,.12); max-width: calc(100% - 16px); }
.gx-3dctl button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; color: #15171a; font: 600 15px var(--sans); cursor: pointer; white-space: nowrap; }
.gx-3dctl button[aria-pressed=true] { background: #15171a; color: #fff; }
.gx-3dctl[hidden], .gx-dims[hidden], .gx-cutr[hidden] { display: none; }
@media (max-width: 420px) { .gx-3dctl button { padding: 0 10px; font-size: 14px; } }
.gx-cutr { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); width: min(320px, 80%); height: 32px; accent-color: #D4000A; }
.gx-3dhint { margin: 8px 6px 0; font: 500 13px var(--sans); color: var(--mute); }
.gx-3dfacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 4px 0; }
.gx-3dfacts > span { flex: 1 1 120px; display: grid; gap: 1px; padding: 8px 12px; border-radius: 12px; background: var(--gx-soft); }
.gx-3dfacts small { font: 600 12px var(--sans); color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.gx-3dfacts b { font: 700 16px var(--sans); color: var(--text); } .gx-3dfacts em { font: 500 13px var(--sans); font-style: normal; color: var(--mute); }
.gx-3dfacts[hidden] { display: none; }
.gx-flag { flex: 1 1 100%; margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--amber, #A05F00) 14%, var(--gx-card, #fff)); color: var(--text); font: 500 15px/1.4 var(--sans); }
.sb.gx-3dtag { font-weight: 700; letter-spacing: .04em; }
/* Look at a CAD file: the file opens above the list like an opened part; a desk can drop one anywhere on the page */
#pc-cad[hidden] { display: none; } #pc-cad .gx-cadlook { margin: 0 0 14px; display: grid; gap: 12px; }
.gx-parts.gx-dropping { outline: 2px dashed #D4000A; outline-offset: -6px; border-radius: 18px; }
html.pkl body .gx-parts .pc-row:not(.gx-popen) { border-color: transparent; border-style: solid; background: var(--gx-card); box-shadow: var(--gx-sh); border-radius: 14px; padding: 10px 14px; }
html.pkl body .gx-parts .pc-row.nc:not(.gx-popen) { background: transparent; box-shadow: inset 0 0 0 1px var(--gx-bd2, var(--fog)); }
html.pkl .gx-pc .gx-hint { margin: 10px 0 0; font-size: 12.5px; }

/* Nov 18 2026, 3:35 PM — fix: with a long inbox (60 conversations) the list squeezed every row until they sat on top of each other.
   A row keeps its own height; the list scrolls. */

/* ================= Nov 18 2026, 3:28 PM — full width, and the page rearranges itself =================
   Scott: "it needs to go full width and be dynamic and fill in boxes so there is never dead cramped space … there is a maximum width …
   not just crunch in to fit on a small screen. move around. make the most of the space."
   Before: every page sat in a 1180px column in the middle of the window, and a long Messages list squeezed its rows on top of each other. */

/* 1. No page-width cap. The page starts at the sidebar and runs to the window edge. */
html.pkl .content, html.pkl .gx-page { max-width: none; margin-left: 0; margin-right: 0; }
html.pkl .content { padding-left: clamp(16px, 1.6vw, 30px); padding-right: clamp(16px, 1.6vw, 30px); }
@media (min-width: 901px) { html.pkl.gx-hubbed #gx-hub { padding-left: clamp(16px, 1.6vw, 30px); padding-right: clamp(16px, 1.6vw, 30px); } }

/* 2. Messages. A row keeps its own height however long the list is (60 rows used to shrink into each other). The list and the side
      column grow with the window up to a comfortable width; the thread takes the rest. */          /* the band wraps instead of cutting a chip off */                        /* a wide thread keeps readable bubbles */

/* 3. An open record (order, customer, part, ship-board row): its cards flow into as many columns as fit — two on a laptop, three or
      four on a wide screen — and each column packs tight, so nothing leaves a hole under a short card. */
@media (min-width: 901px) {
  html.pkl .gx-rec .gx-cols { display: block; columns: 4 400px; column-gap: 14px; }
  html.pkl .gx-rec .gx-cols > .gx-col { display: contents; }
  html.pkl .gx-rec .gx-cols > .gx-col > * { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 14px; width: 100%; }
}

/* 4. The sidebar is sections again: a small label over each group of places. */
html.pkl #nav > .gxh.gxsec { display: block; font: 600 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #6E7684; padding: 16px 14px 6px; margin: 6px 0 0; border-top: 1px solid rgba(255,255,255,.06); cursor: default; user-select: none; }
html[data-theme=light].pkl #nav > .gxh.gxsec { border-top-color: rgba(0,0,0,.07); }
.rail-min #nav > .gxh.gxsec { height: 0; padding: 0; margin: 8px 10px; overflow: hidden; color: transparent; }

/* ---- Scan a bin label (Nov 18 2026): the camera sheet. Works in every theme and layout. ---- */
.gxscan { position: fixed; inset: 0; z-index: 400; background: #000; display: flex; flex-direction: column; }
.gxscan video { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; }
.gxscan-frame { position: absolute; left: 50%; top: 38%; width: min(64vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 22px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.38); pointer-events: none; }
.gxscan.nocam video, .gxscan.nocam .gxscan-frame { display: none; }
.gxscan.nocam { justify-content: flex-end; }
.gxscan-bar { position: relative; display: grid; gap: 10px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: #14161B; color: #F3F4F6; }
.gxscan-bar p { margin: 0; text-align: center; font: 600 15px var(--sans); }
.gxscan-type { display: flex; gap: 8px; }
.gxscan-type input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit; font: 500 16px var(--sans); }
.gxscan-bar .btn { min-height: 46px; justify-content: center; }
.gx-scanbtn { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) {   /* on a phone the Scan button is the first, full-width thing on the parts page */
  html.pkl .gx-parts .gx-head { flex-wrap: wrap; }
  html.pkl .gx-parts .gx-head .gx-scanbtn { order: -1; flex: 1 0 100%; min-height: 52px; justify-content: center; font-size: 16px; margin-bottom: 4px; }
}
@media (max-width: 900px) { html.pkl #title { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }   /* a long page name no longer runs under the header buttons */

/* ================= Nov 18 2026, 3:42 PM — Inventory opens to categories; tires and wheels get stock pages; lists fill the width ================= */
/* A list (orders, customers, stock, supercharger parts) lays its rows out in as many columns as fit. The row you open takes the full width. */
@media (min-width: 901px) {
  html.pkl .gx-list { grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); grid-auto-flow: row dense; }
  html.pkl .gx-list > .gx-row.open, html.pkl .gx-list > :not(.gx-row) { grid-column: 1 / -1; }
  html.pkl .gx-parts .pc-grp { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 6px; grid-auto-flow: row dense; }
  html.pkl .gx-parts .pc-grp > .pc-row.gx-popen, html.pkl .gx-parts .pc-grp > :not(.pc-row) { grid-column: 1 / -1; }
}
.gx-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.gx-cat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--gx-panel, var(--card)); box-shadow: var(--gx-sh, var(--sh-1)), inset 0 0 0 1px var(--gx-bd, rgba(128,128,128,.18)); transition: transform .18s ease, box-shadow .18s ease; }
.gx-cat:hover { transform: translateY(-2px); box-shadow: var(--gx-sh, var(--sh-1)), inset 0 0 0 1px var(--red); }
.gx-cat > packard-icon { grid-row: 1 / span 3; align-self: start; }
.gx-cat > b { font: 700 17px var(--sans); } .gx-cat.big { padding: 24px; } .gx-cat.big > b { font-size: 22px; }
.gx-cat-n { font: 600 13.5px var(--sans); } .gx-cat-s { font: 500 12.5px var(--sans); opacity: .7; } .gx-cat-s i { font-style: normal; color: var(--red); opacity: 1; }
.gx-cat > span { grid-column: 2; }
.gx-sech { margin: 26px 2px 10px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.gx-sn { text-align: right; display: grid; } .gx-sn b { font: 700 20px var(--sans); font-variant-numeric: tabular-nums; } .gx-sn small { font: 500 11.5px var(--sans); opacity: .65; }
.gx-srow.zero .gx-sn b { color: var(--red); }
.gx-row.gx-srow > .gx-rec { grid-column: 1 / -1; }
.gx-more { grid-column: 1 / -1; text-align: center; opacity: .7; margin: 10px 0; }
.gx-snums { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 10px; }
.gx-snums > div { padding: 12px; border-radius: 12px; background: rgba(128,128,128,.1); display: grid; } .gx-snums b { font: 700 24px var(--sans); font-variant-numeric: tabular-nums; } .gx-snums small { opacity: .7; font-size: 12px; }
.gx-sfix { display: grid; gap: 10px; } .gx-sfm { display: flex; flex-wrap: wrap; gap: 14px; font: 600 14px var(--sans); }
.gx-sfix input:not([type=radio]), .gx-sfix select { height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(128,128,128,.3); background: transparent; color: var(--text); font: 500 15px var(--sans); min-width: 0; }
.gx-catgrid.gx-cattop { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }   /* the three big ones share the full width */
@media (min-width: 901px) { html.pkl .gx-srow .gx-rec .gx-cols { columns: 2 380px; } }   /* a stock item has two cards: they split the width */

/* Nov 18 2026 — Scott, marking the open order's header: "add this drop down and status bars so show when closed".
   Ship-board rows: the four bars sit at the right end of the pill line, a round drop-down arrow at the far right.
   All orders rows already had the bars; they get the arrow. */
.ocard .oc-pills .gx-dots { margin-left: auto; flex: none; padding-left: 8px; }
.ocard .oc-chev { flex: none; align-self: center; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gx-soft, rgba(127,127,127,.12)); transition: background .15s; }
.ocard .oc-chev .gx-go { width: 18px; height: 18px; }
.ocard:hover .oc-chev { background: var(--gx-tag, rgba(127,127,127,.2)); } .ocard:hover .oc-chev .gx-go { color: var(--text); }
.ocard:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.gx-oact { display: flex; }
@media (max-width: 700px) {
  .ocard .oc-pills .gx-dots i { width: 16px; height: 6px; }
  .ocard .oc-chev { width: 26px; height: 26px; } .ocard .oc-chev .gx-go { width: 15px; height: 15px; }
}

/* Nov 18 2026, 5 PM — Scott: "make wheels tires and inventory all have the same cards … the same setup and themes as customers has.
   love the animation." The stock pages now use the Customers pieces (gx-seg, gx-find, gx-stats, card gx-row, the gx-hero record), so
   they inherit its themes, hover lift, count-up and fold-open. Only what is particular to a stock row is here. */
.gx-row.gx-srow { grid-template-columns: auto minmax(0, 1fr) auto; }
.gx-av.gx-av-ic { background: var(--gx-ic-bg); color: #14151A; }
.gx-srow .gx-act { gap: 12px; }
.gx-srow .gx-sn b { font: 700 26px/1 var(--disp); letter-spacing: .01em; }
.gx-hero .gx-av.gx-av-ic { background: #fff; }
.gx-stats .card.hot b { color: var(--red-tx); }
.gx-stats .card.on { box-shadow: var(--gx-sh), 0 0 0 2px var(--text) !important; }
.gx-stats .card.still { cursor: default; }
.gx-stock .gx-head .hello { display: grid; gap: 2px; }
.gx-segw { display: flex; min-width: 0; max-width: 100%; }   /* the tab bar keeps its own sideways scroll inside this wrapper */
html.pkl body .gx-cat { background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); }   /* category cards sit on the same card surface as the stat cards and rows */

/* ============ Phone pass — Nov 18 2026, 5:30 PM (Scott: "How is mobile? Anything we can do to optimize mobile layout for the app?")
   Measured at 390 x 844 on sample data. Every rule is inside a max-width query: nothing here changes a desktop window. ============ */
@media (max-width: 900px) {
  /* 1. An iPhone zooms the whole page when you tap a field whose text is under 16px, and it stays zoomed. Fields here were 12.5-15px. */
  html.pkl body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]), html.pkl body select, html.pkl body textarea { font-size: 16px !important; }
}
@media (max-width: 700px) {
  /* 2. Stat cards: one line under the number, so the list starts on the first screen */
  html.pkl .gx-stats { margin-bottom: 10px; }
  html.pkl .gx-stats .card { padding: 9px 11px; }
  html.pkl .gx-stats .card > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* 3. Orders, To ship: the four numbers in one strip. The TV links and the settings button are desk tools (settings stay at the bottom of the page). */
  html.pkl .ship-bar > .sub, html.pkl .ship-bar > a.btn, html.pkl .ship-bar > #ship-set, html.pkl .ship-bar > .spacer { display: none; }
  html.pkl[data-theme][data-theme][data-theme] body .work.ship-work { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  html.pkl body .content .ship-work .card { padding: 9px 8px 8px; min-height: 0; gap: 2px; }
  html.pkl .ship-work .card .sub, html.pkl .ship-work .card .cardki { display: none; }
  html.pkl body .content .ship-work .card h3 { font-size: 9.5px; letter-spacing: .04em; line-height: 1.15; min-height: 22px; }
  html.pkl .ship-work .card > b { font-size: 24px; }
  /* 4. Customers: the machine picker shares the find box's row */
  html.pkl .gx-head > .gx-sp { display: none; }   /* the spacer that pushes things right on a desk only steals width here */
  html.pkl .gx-head:has(> .gx-sel) > .gx-find { flex: 1 1 0; min-width: 0; }
  html.pkl .gx-head:has(> .gx-sel) > .gx-sel { flex: 0 0 36%; min-width: 0; }
  /* 5. Order rows on the ship board: the arrow tucks into the corner instead of taking a column */
  .ocard.ship-row { position: relative; }
  .ocard.ship-row .oc-chev { position: absolute; right: 10px; bottom: 10px; }
  .ocard.ship-row .oc-body > :last-child { padding-right: 34px; }
  /* 6. Stock rows and their banner show the whole size and SKU */
  .gx-srow .gx-who .sub { white-space: normal; }
  .gx-srow .gx-hero .gx-hid h2 { white-space: normal; font-size: 22px; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .gx-srow .gx-hero .gx-hid span { white-space: normal; }
  /* 7. Supercharger parts: the side buttons fill their rows evenly */
  .gx-parts .gx-head > .btn:not(.gx-scanbtn) { flex: 1 1 auto; justify-content: center; }
  /* 8. Things you tap with a thumb */
  html.pkl body .ocard .oc-pills .chip.own-btn { height: 32px; padding: 0 12px; font-size: 13px; }
  .fu-check { position: relative; } .fu-check::after { content: ''; position: absolute; inset: -11px; }
  html.pkl .shipset .panel .row { flex-wrap: wrap; }   /* Board settings: the add-a-TV row ran off the right edge */
  /* 9. A long page name fits beside the header buttons */
  html.pkl #title.long { font-size: 20px; letter-spacing: 0; line-height: 1; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ============ Supercharger parts in the Customers card pattern — Nov 18 2026, 5:45 PM (Scott: "same as the superchargers. but they cards
   needs to be laid out better to show the parsts better like the orders and others in teh surpecharger stuff").
   A piece is a card: round photo, name, one detail line, tags on their own line, the count box, the drop-down arrow. ============ */
html.pkl body .gx-parts .pc-row.gx-prow:not(.gx-popen) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--gx-bd); background: var(--gx-card); box-shadow: var(--gx-sh); }
html.pkl body .gx-parts .pc-row.gx-prow.nc:not(.gx-popen) { background: var(--gx-card); box-shadow: var(--gx-sh); }   /* not-counted pieces are full cards too; the tag line says so */
.gx-prow .gx-who > b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
.gx-prow .gx-who .sub { font-size: 13.5px; }
.gx-prow .gx-meta { gap: 6px; }
.gx-prow .gx-meta .sb { font-size: 11.5px; padding: 2px 9px; }
.gx-prow .gx-meta em.pc-ncx { color: var(--gx-amb-tx, #8A5300); font-weight: 700; }
.gx-prow .gx-meta em:empty { display: none; }
.gx-prow a.gx-av { text-decoration: none; }
.gx-prow .gx-act { gap: 8px; }
.pc-cnt { display: grid; justify-items: center; gap: 2px; cursor: text; }
.pc-cnt small { font: 500 11.5px var(--sans); color: var(--mute); }
html.pkl body .gx-prow .pc-in { width: 78px; height: 44px; border-radius: 12px; text-align: center; font: 700 22px/1 var(--disp); letter-spacing: .01em; border: 1px solid var(--gx-bd); background: var(--gx-soft); color: var(--text); -moz-appearance: textfield; }
html.pkl body .gx-prow .pc-in::-webkit-outer-spin-button, html.pkl body .gx-prow .pc-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html.pkl body .gx-prow .pc-in::placeholder { font: 600 14px var(--sans); color: var(--mute); letter-spacing: 0; }
html.pkl body .gx-prow .pc-in:focus { outline: 0; border-color: rgba(255,2,10,.45); box-shadow: 0 0 0 3px rgba(255,2,10,.12); background: var(--gx-card); }
html.pkl body .gx-prow .pc-in.saved { border-color: var(--gx-green); box-shadow: 0 0 0 3px rgba(31,122,77,.18); }
html.pkl body .gx-prow.nc .pc-in { border-style: dashed; }
.pc-open { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: transparent; cursor: pointer; padding: 0; align-self: start; margin-top: 5px; transition: background .15s; }
.pc-open:hover { background: var(--gx-soft); } .pc-open .gx-go { width: 20px; height: 20px; }
html.pkl .gx-parts .pc-list:not(.wt-list) { gap: 0; }
html.pkl .gx-parts .pc-grp { gap: 10px; }
html.pkl .gx-parts .pc-grp + .pc-grp { margin-top: 0; }
html.pkl .gx-parts .pc-h { align-self: auto; display: flex; align-items: baseline; gap: 10px; margin: 18px 2px 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 700 18px/1.1 var(--disp); letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
html.pkl .gx-parts .pc-grp:first-child .pc-h { margin-top: 6px; }
html.pkl .gx-parts .pc-h em { margin-left: auto; font: 500 12.5px var(--mono); color: var(--mute); letter-spacing: 0; }
.pc-tools { margin: 0 0 12px; } .pc-tools .spacer { flex: 1; }
@media (min-width: 901px) { html.pkl .gx-parts .pc-grp { grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); } }
@media (max-width: 700px) {
  .pc-tools .gx-scanbtn { flex: 1 1 100%; order: -1; justify-content: center; height: 48px; }
  .pc-tools > .btn:not(.gx-scanbtn) { flex: 1 1 auto; justify-content: center; }
  .pc-tools .spacer { display: none; }
  .gx-prow .gx-who .sub { white-space: normal; }
  html.pkl body .gx-prow .pc-in { width: 70px; }
  .pc-open { display: none; }   /* the whole card opens on a tap; the arrow gives its room to the name */
  .gx-prow .sb, .gx-prow .sb ~ .sb { margin-right: 0; } .gx-prow .pc-in { margin-left: 0; }   /* undo the old row's phone spacing */
}

/* ============ The status dot — Nov 18 2026, 5:55 PM. Scott: "Lets loose the red glow around boxes. It's too much. Just a smal dot type
   marker in the top corner that maybe glow or soemting like a status. Use the same status pill concept."
   A card that needs someone used to get a red border and a breathing glow. Now the box stays still and one small dot sits in its top
   corner, in the colours the status pills use: red = needs you now (late, short, waiting on a reply), amber = due today.
   The red dot has a soft pulse of its own; the amber one is steady. An open record drops the dot (its banner carries the status). ============ */
html.pkl[data-theme][data-theme][data-theme] body .gx-row.attn, html.pkl[data-theme][data-theme][data-theme] body .ship-row.red, html.pkl[data-theme][data-theme][data-theme] body .ship-row.yellow, html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.needs, html.pkl[data-theme][data-theme][data-theme] body .card.attn:not(:has(.cardki)), html.pkl[data-theme][data-theme][data-theme] body .card.alert:not(:has(.cardki)) { position: relative; }
html.pkl[data-theme][data-theme][data-theme] body .gx-row.attn::after, html.pkl[data-theme][data-theme][data-theme] body .ship-row.red::after, html.pkl[data-theme][data-theme][data-theme] body .ship-row.yellow::after, html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.needs::after, html.pkl[data-theme][data-theme][data-theme] body .card.attn:not(:has(.cardki))::after, html.pkl[data-theme][data-theme][data-theme] body .card.alert:not(:has(.cardki))::after {
  content: ''; display: block; position: absolute; top: 7px; right: 7px; left: auto; bottom: auto; width: 8px; height: 8px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--red); background-image: none; opacity: 1; transform: none; pointer-events: none; z-index: 1;
  box-shadow: 0 0 0 3px rgba(255,2,10,.18); animation: gxstat 2.4s ease-in-out infinite; }   /* the same dot the sidebar uses (.gxh-dot), with a slow breath */
@keyframes gxstat { 0%,100% { box-shadow: 0 0 0 3px rgba(255,2,10,.18); } 50% { box-shadow: 0 0 0 5px rgba(255,2,10,.07); } }
html.pkl[data-theme][data-theme][data-theme] body .ship-row.yellow::after { background: #FFB020; box-shadow: 0 0 0 3px rgba(255,176,32,.18); animation: none; }
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.needs:not(.urgent):not(.stale)::after { animation: none; }   /* needs a reply, not yet urgent: steady */
html.pkl[data-theme][data-theme][data-theme] body .gx-row.open::after, html.pkl[data-theme][data-theme][data-theme] body .pc-row.gx-popen::after, html.pkl[data-theme][data-theme][data-theme] body .ship-row.gx-sopen::after, html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.on::after { display: none !important; }
html.pkl .iconv.icard.needs .ic-when .udot { display: none; }   /* the corner dot already says it; one dot per card */
/* the stat tiles that need someone (Late, No owner, Messages…) lose their red edge too; the red number and the tile's own icon mark them */
html.pkl[data-theme][data-theme][data-theme] body .work .card.attn, html.pkl[data-theme][data-theme][data-theme] body .card.attn, html.pkl[data-theme][data-theme][data-theme] body .card.alert { box-shadow: var(--gx-sh); }

/* ================= Nov 19 2026, 9:47 AM — the sidebar floats, the banners brighten =================
   Scott: "can we make sure the packard office gets the mac os sidebar treatment also? … i want the groups of three to persist …
   just refining the side bar. black on dark. red on light." And the banner on an opened card: color on the left that fades "into
   the alert colors. make them more bright and fun. make it a happier place to work."
   1. The rail lifts off the window edge: a rounded panel with a gap all round, a sheen along its top and a soft shadow (the Pulse side).
   2. Red in the light themes (Glow, Light), black in the dark ones (Dark, Graphite). The page you are on is a light block in all four.
   3. An opened card's banner starts on that same color at the left and ends on the record's status color at the right:
      orange = nothing special, gold = waiting, green = good, bright red = late or on us. The color blooms in as the card opens. */
@media (min-width: 901px) {
  html.pkl .shell { grid-template-columns: calc(var(--rail) + 20px) minmax(0, 1fr); }
  html.pkl .shell.rail-min { grid-template-columns: calc(var(--rail-min) + 20px) minmax(0, 1fr); }
  html.pkl .rail { top: 10px; height: calc(100vh - 20px); height: calc(100dvh - 20px); margin: 10px; align-self: start; border: 0; border-radius: 22px;
    animation: gxside .7s var(--gx-spring) both; }
  html.pkl .rail::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(130% 56% at 18% -8%, rgba(255,255,255,var(--rail-sheen, .2)), transparent 60%); }
  html.pkl .rail > * { position: relative; z-index: 1; }
  html.pkl .rail .brand { height: auto; padding: 16px 14px 12px; }
  html.pkl .rail .brand::after { content: none; }
  html.pkl .rail nav { padding: 4px 10px 8px; gap: 2px; }
  html.pkl .rail nav a { padding: 8px 12px; border: 0; border-radius: 11px; transition: background-color .22s var(--gx-spring), color .22s var(--gx-spring), box-shadow .22s, transform .15s var(--gx-spring); }
  html.pkl #nav > a.gxh { margin-bottom: 0; }
  html.pkl #nav > .gxh.gxsec { padding: 13px 12px 5px; margin: 5px 0 0; }
  /* the foot is one row, the way a Mac toolbar is: the theme on the left, the fold arrow on the right */
  html.pkl .rail .foot { flex-direction: row; align-items: center; gap: 4px; padding: 8px 10px 10px; }
  html.pkl .rail .foot .collapse { padding: 8px 12px; border-radius: 11px; }
  html.pkl .rail .foot #theme-tg { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
  html.pkl .rail .foot #collapse { flex: none; width: 40px; padding: 8px 0; justify-content: center; }
  html.pkl .rail .foot #collapse span { display: none; }
  html.pkl .rail-min .rail .foot { flex-direction: column; gap: 2px; padding: 8px 8px 10px; }
  html.pkl .rail-min .rail .foot .collapse { width: 100%; padding: 9px 0; justify-content: center; }
  html.pkl .rail-min .rail .foot #theme-lbl { display: none; }
  /* folded: icons only, centered; the section labels become thin rules; a waiting dot rides the icon's corner */
  html.pkl .rail-min .rail nav { padding: 4px 8px 8px; }
  html.pkl .rail-min .rail nav a { padding: 7px 0; gap: 0; justify-content: center; }
  html.pkl .rail-min .rail nav a > span, html.pkl .rail-min .rail nav a > .n { display: none; }
  html.pkl .rail-min .rail nav a > .gxh-dot { position: absolute; top: 5px; right: 8px; margin: 0; }
  html.pkl .rail-min #nav > .gxh.gxsec { height: 0; padding: 0; margin: 7px 12px; overflow: hidden; }
  html.pkl .rail-min .rail .brand { padding: 14px 0 10px; justify-content: center; }
  html.pkl .rail-min .rail .brand > div { display: none; }
  html.pkl .rail-min .gx-band { margin: 0 12px 8px; }
  html.pkl .rail-min .rail .collapse .tg-dot { opacity: 1; width: 18px; overflow: visible; }
  html.pkl #railmark { left: 3px; }
}
/* shorter windows: the rows tighten so all five groups stay on screen without scrolling (the shop laptops) */
@media (min-width: 901px) and (max-height: 1010px) { html.pkl .rail nav a { padding: 7px 12px; } html.pkl #nav > .gxh.gxsec { padding: 11px 12px 4px; margin-top: 4px; } }
@media (min-width: 901px) and (max-height: 960px) { html.pkl .rail nav a { padding: 6px 12px; } html.pkl #nav > .gxh.gxsec { padding: 9px 12px 3px; margin-top: 3px; } html.pkl .rail .brand { padding: 12px 14px 8px; } }
@media (min-width: 901px) and (max-height: 899px) { html.pkl .rail-min .rail nav a { padding: 4px 0; } html.pkl .rail nav a { padding: 4px 12px; font-size: 14.5px; } html.pkl #nav > .gxh.gxsec { padding: 8px 12px 3px; margin-top: 2px; } html.pkl .rail .foot { padding-top: 6px; padding-bottom: 8px; } }
@media (min-width: 901px) and (max-height: 806px) { html.pkl .rail nav a { padding: 3px 12px; font-size: 14px; } html.pkl .rail nav a packard-icon svg { width: 20px; height: 20px; } html.pkl #nav > .gxh.gxsec { padding: 6px 12px 2px; margin-top: 2px; font-size: 10px; } html.pkl .rail .brand { padding: 10px 14px 6px; } html.pkl .rail .brand img { width: 30px; height: 30px; } }
@keyframes gxside { from { opacity: 0; transform: translate3d(-18px, 0, 0) scale(.985); } }
@media (prefers-reduced-motion: reduce) { html.pkl .rail { animation: none; } }

/* red on light */
html.pkl[data-theme=light] .rail { --rail-sheen: .24; color: #fff; --ki-accent: #FFFFFF; --ki-accent-muted: rgba(255,255,255,.62); --ki-cutout: #B3151C;
  background: radial-gradient(90% 42% at 104% 104%, rgba(255,150,60,.26), transparent 66%), linear-gradient(172deg, #D0161F 0%, #B3151C 48%, #9A1017 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 .5px rgba(255,255,255,.18), 0 26px 56px -26px rgba(122,10,16,.6), 0 3px 10px rgba(70,6,10,.16); }
html.pkl[data-theme=light] .rail .brand b { color: #fff; } html.pkl[data-theme=light] .rail .brand small { color: rgba(255,255,255,.78); }
html.pkl[data-theme=light] .rail .brand img { box-shadow: 0 0 0 2px rgba(255,255,255,.92), 0 8px 16px -8px rgba(40,0,4,.7); }
html.pkl[data-theme=light] .rail nav a { color: rgba(255,255,255,.9); }
html.pkl[data-theme=light] .rail nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
html.pkl[data-theme=light] .rail nav a .n { color: rgba(255,255,255,.78); }
html.pkl[data-theme=light] .rail nav a .n.hot { background: #fff; color: #B2000A; box-shadow: none; }
html.pkl[data-theme=light] .rail nav a .gxh-dot { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.26); }
html.pkl[data-theme=light] #nav > .gxh.gxsec { color: rgba(255,255,255,.7); border-top-color: rgba(255,255,255,.17); }
html.pkl[data-theme=light] .rail .foot { border-top-color: rgba(255,255,255,.17); }
html.pkl[data-theme=light] .rail .collapse { color: rgba(255,255,255,.82); } html.pkl[data-theme=light] .rail .collapse:hover { background: rgba(255,255,255,.14); color: #fff; }
html.pkl[data-theme=light] .rail nav { scrollbar-color: rgba(255,255,255,.34) transparent; }
html.pkl[data-theme=light] #railmark { background: #fff; }
html.pkl[data-theme=light] .gx-band { background: linear-gradient(90deg, rgba(255,255,255,.15) 0%, #FFE2A8 22%, #FFFFFF 46%, #FFC65A 70%, rgba(255,255,255,.2) 100%); background-size: 220% 100%; box-shadow: 0 0 12px rgba(255,214,140,.5); height: 3px; }

/* black on dark */
html.pkl[data-theme=dark] .rail { --rail-sheen: .1; color: #E8EBF0; --ki-cutout: #0C0D10;
  background: radial-gradient(90% 42% at 104% 104%, rgba(255,41,67,.16), transparent 66%), linear-gradient(172deg, #191B20 0%, #0C0D10 52%, #060709 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), inset 0 0 0 .5px rgba(255,255,255,.1), 0 26px 56px -24px rgba(0,0,0,.9), 0 3px 10px rgba(0,0,0,.4); }
html.pkl[data-theme=dark] .rail nav a { color: #C9CED6; }
html.pkl[data-theme=dark] .rail nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
html.pkl[data-theme=dark] #nav > .gxh.gxsec { color: #7D8593; border-top-color: rgba(255,255,255,.08); }

/* the page you are on: a light block, in every theme */
html.pkl[data-theme] .rail nav a.on { background: #fff; color: #14151A; --ki-accent: #E00009; --ki-accent-muted: #A9AEB8; --ki-cutout: #FFFFFF;
  box-shadow: 0 10px 22px -12px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.7); }
html.pkl[data-theme=light] .rail nav a.on { color: #B2000A; }
html.pkl[data-theme] .rail nav a.on .n { color: #6B7080; }
html.pkl[data-theme] .rail nav a.on .n.hot { background: var(--red-ui, var(--red)); color: #fff; box-shadow: none; }
html.pkl[data-theme] .rail nav a.on .gxh-dot { background: var(--red); box-shadow: 0 0 0 3px rgba(255,2,10,.18); }

/* ---------- the banner on an opened card ---------- */
@property --gx-hold { syntax: "<percentage>"; inherits: false; initial-value: 56%; }
html.pkl .gx-hero { --gx-hold: 56%; --h0: #0E0F12; --h1: #E8530E; --hglow: rgba(232,83,14,.5); --hsheen: .1;
  background: radial-gradient(70% 160% at 0% 0%, rgba(255,255,255,var(--hsheen)), transparent 55%), linear-gradient(100deg, var(--h0) 0%, var(--h0) var(--gx-hold), var(--h1) 90%);
  background: radial-gradient(70% 160% at 0% 0%, rgba(255,255,255,var(--hsheen)), transparent 55%), linear-gradient(100deg in oklch, var(--h0) 0%, var(--h0) var(--gx-hold), var(--h1) 90%);
  box-shadow: 0 20px 44px -24px var(--hglow), inset 0 1px 0 rgba(255,255,255,.16); animation: gxbloom 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes gxbloom { from { --gx-hold: 100%; } }
@media (prefers-reduced-motion: reduce) { html.pkl .gx-hero { animation: none; } }
html.pkl[data-theme=dark] .gx-hero { --gx-hold: 34%; }
html.pkl[data-theme=light] .gx-hero { --h0: #CF111B; --h1: #F95A1A; --hglow: rgba(214,60,10,.6); --hsheen: .2; }
html.pkl .gx-hero.hot { --h1: #FF2943; --hglow: rgba(255,41,67,.6); }
html.pkl[data-theme=light] .gx-hero.hot { --h0: #A80C15; --h1: #FF2A2A; --hglow: rgba(255,2,10,.6); }
html.pkl .gx-hero.st-warn { --h1: #F7B928; --hglow: rgba(240,170,20,.55); }
html.pkl .gx-hero.st-ok { --h1: #1FB868; --hglow: rgba(24,160,90,.55); }
/* from red, gold and green are reached through the warm colors in between, so nothing goes muddy on the way */
html.pkl[data-theme=light] .gx-hero.st-warn { --h1: #FFC02B;
  background: radial-gradient(70% 160% at 0% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(100deg, var(--h0) 0%, var(--h0) var(--gx-hold), #FF7A1F calc(var(--gx-hold) + (90% - var(--gx-hold)) * .5), var(--h1) 90%);
  background: radial-gradient(70% 160% at 0% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(100deg in oklch, var(--h0) 0%, var(--h0) var(--gx-hold), #FF7A1F calc(var(--gx-hold) + (90% - var(--gx-hold)) * .5), var(--h1) 90%); }
html.pkl[data-theme=light] .gx-hero.st-ok { --h1: #17A85A; --gx-hold: 50%;
  background: radial-gradient(70% 160% at 0% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(100deg, var(--h0) 0%, var(--h0) var(--gx-hold), #F08A1D calc(var(--gx-hold) + (94% - var(--gx-hold)) * .45), #E8C12A calc(var(--gx-hold) + (94% - var(--gx-hold)) * .64), #7FC04A calc(var(--gx-hold) + (94% - var(--gx-hold)) * .82), var(--h1) 94%);
  background: radial-gradient(70% 160% at 0% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(100deg in oklab, var(--h0) 0%, var(--h0) var(--gx-hold), #F08A1D calc(var(--gx-hold) + (94% - var(--gx-hold)) * .45), #E8C12A calc(var(--gx-hold) + (94% - var(--gx-hold)) * .64), #7FC04A calc(var(--gx-hold) + (94% - var(--gx-hold)) * .82), var(--h1) 94%); }
html.pkl .gx-hero .gx-hid h2, html.pkl .gx-hero .gx-hid b { text-shadow: 0 1px 2px rgba(20,0,2,.22); }
html.pkl .gx-hero .gx-hid span { color: rgba(255,255,255,.88); }
html.pkl .gx-hero .gx-hmoney > small { color: rgba(255,255,255,.92); }
html.pkl .gx-hero .gx-fold { background: rgba(255,255,255,.18); }
/* gold and green are light ends: what sits on them turns to ink */
html.pkl .gx-hero.st-warn .gx-hmoney > b, html.pkl .gx-hero.st-ok .gx-hmoney > b, html.pkl .gx-hero.st-warn .gx-hmoney > small, html.pkl .gx-hero.st-ok .gx-hmoney > small { color: #1B1300; text-shadow: none; }
html.pkl .gx-hero.st-warn .gx-fold, html.pkl .gx-hero.st-ok .gx-fold { background: rgba(20,14,0,.14); color: #1B1300; }
/* chips and the step bars keep their own colors on any end */
html.pkl[data-theme] body .gx-hero .chip:not(.ok):not(.red):not(.amber):not(.gx-hot) { background: rgba(255,255,255,.94); color: #14151A; }
html.pkl[data-theme] body .gx-hero .chip.gx-hot { background: #fff; color: #C8000A; box-shadow: none; }
html.pkl[data-theme] body .gx-hero .chip.ok { background: #DDF3E6; color: #1F7A4D; } html.pkl[data-theme] body .gx-hero .chip.red { background: #FFE3E4; color: #C8000A; } html.pkl[data-theme] body .gx-hero .chip.amber { background: #FFF1D6; color: #8A5300; }
html.pkl .gx-hero .gx-dots { padding: 5px 7px; border-radius: 999px; background: rgba(12,12,16,.55); }
html.pkl .gx-hero .gx-dots i:not(.done):not(.now):not(.bad) { background: rgba(255,255,255,.26); }

/* =====================================================================================================================
   Nov 19 2026, 10:41 AM — the top bar runs the full width and the sidebar floats over it
   (Scott: "can you make the top bar go all the way across [and] the side menu float over it?")
   The bar keeps living in the main column; a band of the same fill continues left to the window edge, under the sidebar.
   The sidebar sits one step above it. Every theme gets a bar you can tell from the page, so the float reads everywhere.
   ===================================================================================================================== */
@media (min-width: 901px) {
  html.pkl .rail { z-index: 21; }
  html.pkl .top::before { content: ""; position: absolute; top: 0; bottom: -1px; right: 100%; width: 100vw; box-sizing: border-box; background: inherit; border-bottom: inherit; pointer-events: none; }
  /* light and Glow: a white bar on the warm page */
  html.pkl[data-theme=light] .top { background: rgba(255,255,255,.9); border-bottom-color: rgba(20,21,26,.07); box-shadow: 0 1px 0 rgba(20,21,26,.04), 0 10px 26px -22px rgba(20,21,26,.5); }
  html.pkl[data-theme=light].gx-hubbed .top { border-bottom-color: rgba(20,21,26,.07); }
  html.pkl[data-theme=light] .top .search { background: #F4F3EE; border-color: rgba(20,21,26,.08); box-shadow: none; }
  /* Graphite and Dark: the bar is a step lighter than the black sidebar, a step darker than the page */
  html.pkl.graphite[data-theme=dark] .top { background: rgba(37,41,49,.94); border-bottom-color: #2B2F38; }
  html.pkl.graphite[data-theme=dark] .top .search { background: #1B1E24; border-color: #343943; }
  html.pkl[data-theme=dark]:not(.graphite) .top { background: rgba(21,23,28,.94); border-bottom-color: #23262D; }
  html.pkl[data-theme=dark].gx-hubbed .top { border-bottom-color: transparent; }
  html.pkl[data-theme=dark] .rail { box-shadow: inset 0 1px 0 rgba(255,255,255,.15), inset 0 0 0 1px rgba(255,255,255,.085), 0 26px 56px -24px rgba(0,0,0,.9), 0 6px 18px rgba(0,0,0,.5); }
}

/* =====================================================================================================================
   Nov 19 2026, 10:41 AM — the phone menu in glass
   (Scott: "can we copy the salto menu on mobile? the side opens larger buttons for the categories. it's slick. i think we can make
   it ios glass on packard.")
   Salto Office's phone menu in Packard colors. A glass pill holds the three places of the group you're in, with a glass lens on
   the one you're on. The glass circle beside it unfolds every group as a large button. Glass = backdrop blur and saturation, a lit
   rim, a top sheen; motion = spring curves. It sits inside .pnav (#pill), so the rules that hide the old pill hide it too. The old
   bar and fan stay in the page, hidden, because the iPhone app's own tab bar (html.ntabs) is drawn from them; in that app nothing
   here shows. Built by gpBuild / gpPaint / gpFan in public/office.js.
   ===================================================================================================================== */
html.gpn { --gp-spring: cubic-bezier(.2, 1.1, .3, 1); --gp-bounce: cubic-bezier(.2, 1.25, .35, 1); }
@supports (transition-timing-function: linear(0, 1)) { html.gpn {
  --gp-spring: linear(0, 0.0694, 0.2223, 0.3996, 0.5676, 0.7096, 0.8202, 0.9006, 0.9551, 0.9892, 1.0084, 1.0174, 1.0199, 1.0187, 1.0158, 1.0122, 1.0089, 1.006, 1.0037, 1.0021, 1.001, 1.0003, 0.9999, 0.9997, 0.9996, 0.9997, 0.9998, 0.9999, 1);
  --gp-bounce: linear(0, 0.0722, 0.2388, 0.4395, 0.634, 0.7989, 0.9241, 1.009, 1.0585, 1.0803, 1.0826, 1.073, 1.0576, 1.0407, 1.0252, 1.0126, 1.0034, 0.9974, 0.9942, 0.9931, 0.9933, 0.9943, 0.9957, 0.9971, 0.9983, 0.9993, 0.9999, 1.0002, 1); } }
html.gpn[data-theme=light] { --g-bg: rgba(250,249,246,.68); --g-bg-strong: rgba(255,255,255,.9); --g-ink: rgba(20,21,26,.84); --g-tint: #C4101A; --g-hot: #E5121C;
  --g-lens: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,238,234,.76)); --g-blur: blur(22px) saturate(190%) brightness(1.04);
  --g-chip: rgba(196,16,26,.1); --g-on: rgba(200,18,28,.88); --g-on-ink: #fff; --g-on-chip: rgba(255,255,255,.2);
  --g-shadow: 0 12px 34px -10px rgba(70,18,18,.3), 0 2px 8px rgba(40,12,12,.08);
  --g-rim: inset 0 0 0 .5px rgba(255,255,255,.6), inset 0 1px 1.5px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.3); }
html.gpn[data-theme=dark] { --g-bg: rgba(22,24,30,.72); --g-bg-strong: rgba(18,20,25,.9); --g-ink: rgba(236,241,248,.88); --g-tint: #FFFFFF; --g-hot: #FF2943;
  --g-lens: rgba(255,255,255,.17); --g-blur: blur(22px) saturate(170%) brightness(.95);
  --g-chip: rgba(255,255,255,.1); --g-on: rgba(250,251,253,.94); --g-on-ink: #14151A; --g-on-chip: #E5121C;
  --g-shadow: 0 16px 40px -10px rgba(0,0,0,.75), 0 2px 8px rgba(0,0,0,.35);
  --g-rim: inset 0 0 0 .5px rgba(255,255,255,.16), inset 0 1px 1px rgba(255,255,255,.22), inset 0 -1px 1px rgba(255,255,255,.06); }
.gp-row, .gp-fan { display: none; }
@media (max-width: 900px) {
  html.gpn:not(.ntabs) .pnav { left: 0; right: 0; margin-inline: auto; transform: none; width: min(470px, calc(100vw - 24px)); }
  html.gpn:not(.ntabs) .pnav > .bar, html.gpn:not(.ntabs) .pnav > .fan { display: none !important; }
  html.gpn:not(.ntabs) .gp-row { display: flex; gap: 10px; align-items: center; }
  html.gpn:not(.ntabs) .gp-row[hidden] { display: none; }
  html.gpn:not(.ntabs) .gp-fan { display: flex; }
  /* glass */
  .gp-seg, .gp-circle, .gp-fi, .gp-util > * { background: var(--g-bg); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: var(--g-rim), var(--g-shadow); isolation: isolate; }
  .gp-seg::after, .gp-circle::after, .gp-fi::after, .gp-util > *::after, .gp-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
    background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.18) 32%, rgba(255,255,255,0) 52%, rgba(255,255,255,.12) 74%, rgba(255,255,255,.7));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
  .gp-seg::before, .gp-circle::before, .gp-fi::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(120% 90% at 25% -10%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%), radial-gradient(80% 70% at 85% 120%, rgba(255,255,255,.2), rgba(255,255,255,0) 60%); }
  [data-theme=dark] .gp-seg::before, [data-theme=dark] .gp-circle::before, [data-theme=dark] .gp-fi::before { background: radial-gradient(120% 90% at 25% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%); }
  [data-theme=dark] .gp-seg::after, [data-theme=dark] .gp-circle::after, [data-theme=dark] .gp-fi::after, [data-theme=dark] .gp-util > *::after, [data-theme=dark] .gp-thumb::after {
    background: linear-gradient(140deg, rgba(255,255,255,.42), rgba(255,255,255,.06) 32%, rgba(255,255,255,0) 52%, rgba(255,255,255,.04) 74%, rgba(255,255,255,.26)); }
  /* the pill */
  .gp-seg { position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); height: 62px; padding: 5px; border-radius: 999px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
  .gp-seg a { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; border-radius: 999px; color: var(--g-ink); text-decoration: none;
    font: 600 11px -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; letter-spacing: -.01em; -webkit-tap-highlight-color: transparent; transition: color .3s, scale .4s var(--gp-bounce); }
  .gp-seg a:active { scale: .93; }
  .gp-seg a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 5px; }
  .gp-seg a packard-icon { color: inherit; transition: transform .45s var(--gp-bounce); }
  .gp-seg a.on { color: var(--g-tint); }
  .gp-seg a.on packard-icon { transform: scale(1.06); }
  .gp-seg .n { position: absolute; top: 4px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; font: 700 10px/17px var(--mono); font-style: normal; text-align: center; background: var(--g-chip); color: var(--g-ink); }
  .gp-seg .n.hot { background: var(--g-hot); color: #fff; }
  .gp-seg .n:empty, .gp-c-n:empty:not(.dot), .gp-fn:empty { display: none; }
  .gp-seg.swap a { animation: gpswap .5s var(--gp-spring) both; }
  .gp-seg.swap a:nth-of-type(2) { animation-delay: .04s; } .gp-seg.swap a:nth-of-type(3) { animation-delay: .08s; }
  /* the lens: glass on glass. It stretches as it travels. */
  .gp-thumb { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n, 3)); border-radius: 999px; background: var(--g-lens);
    box-shadow: inset 0 0 0 .5px rgba(255,255,255,.7), inset 0 1px 2px rgba(255,255,255,1), inset 0 -8px 14px -10px rgba(196,16,26,.22), 0 6px 16px -8px rgba(60,16,16,.35);
    -webkit-backdrop-filter: blur(6px) saturate(160%); backdrop-filter: blur(6px) saturate(160%); transform: translateX(calc(var(--i, 0) * 100%));
    transition: transform .62s var(--gp-spring), scale .5s var(--gp-bounce), opacity .2s; }
  [data-theme=dark] .gp-thumb { box-shadow: inset 0 0 0 .5px rgba(255,255,255,.22), inset 0 1px 1px rgba(255,255,255,.3), 0 6px 16px -8px rgba(0,0,0,.6); }
  .gp-thumb.off { opacity: 0; }
  .gp-thumb.morph { animation: gplens .6s var(--gp-spring); }
  /* the circle */
  .gp-circle { position: relative; flex: none; width: 62px; height: 62px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; color: var(--g-tint); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: scale .45s var(--gp-bounce), background .3s; }
  .gp-circle svg { position: absolute; z-index: 2; width: 24px; height: 24px; transition: transform .55s var(--gp-bounce), opacity .2s; }
  .gp-circle .gp-c-x { opacity: 0; transform: rotate(-90deg) scale(.4); }
  .gp-circle:active { scale: .9; }
  .pnav.open .gp-circle { background: var(--g-bg-strong); }
  .pnav.open .gp-circle .gp-c-ic { opacity: 0; transform: rotate(90deg) scale(.4); }
  .pnav.open .gp-circle .gp-c-x { opacity: 1; transform: none; }
  .gp-c-n { position: absolute; z-index: 4; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--g-hot); color: #fff; font: 700 11px/20px var(--mono); font-style: normal; text-align: center;
    box-shadow: 0 2px 6px rgba(229,18,28,.45); transition: opacity .2s, scale .35s var(--gp-bounce); }
  .gp-c-n.dot { min-width: 0; width: 12px; height: 12px; padding: 0; top: 4px; right: 4px; box-shadow: 0 0 0 2px var(--paper); }   /* a corner dot, not a total (Nov 22 2026) */
  .pnav.open .gp-c-n { opacity: 0; scale: .5; }
  /* the fan unfolds out of the circle: each glass button rises from it, nearest first, and settles on a spring */
  .gp-fan { position: absolute; right: 0; bottom: 74px; width: min(340px, calc(100vw - 24px)); flex-direction: column; gap: 8px; padding: 6px 4px; pointer-events: none; }
  .pnav.open .gp-fan { pointer-events: auto; }
  .gp-fan-list { display: flex; flex-direction: column; gap: 8px; }
  .gp-fi { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border-radius: 22px; color: var(--g-ink); text-decoration: none; --g-bg: rgba(252,252,250,.74); -webkit-tap-highlight-color: transparent;
    opacity: 0; transform: translate3d(18px, 34px, 0) scale(.55); filter: blur(6px); transform-origin: 92% 100%;
    transition: opacity .18s, transform .6s var(--gp-spring), filter .3s, scale .4s var(--gp-bounce); transition-delay: calc((var(--fan-n, 9) - var(--d, 0)) * 24ms); }
  [data-theme=dark] .gp-fi { --g-bg: rgba(22,24,30,.78); }
  .gp-fi > * { position: relative; z-index: 2; }
  .gp-fi:active { scale: .96; transition-delay: 0s; }
  .pnav.open .gp-fi, .pnav.open .gp-util > * { opacity: 1; transform: none; filter: none; }
  .pnav:not(.open) .gp-fi, .pnav:not(.open) .gp-util > * { transition-duration: .12s, .22s, .15s, .2s; transition-delay: 0s; }
  .gp-fic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--g-chip); color: var(--g-tint); box-shadow: inset 0 1px 1px rgba(255,255,255,.5); }
  [data-theme=dark] .gp-fic { box-shadow: inset 0 1px 1px rgba(255,255,255,.12); }
  .gp-fic packard-icon { color: inherit; }
  .gp-ft { min-width: 0; display: grid; gap: 1px; }
  .gp-ft b { font: 600 17px -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; letter-spacing: -.01em; }
  .gp-ft small { font: 400 12.5px -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; opacity: .66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gp-ft small .hot { color: var(--g-hot); font-weight: 600; }
  .gp-fn { margin-left: auto; flex: none; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--g-hot); color: #fff; font: 700 11px/22px var(--mono); font-style: normal; text-align: center; }
  .gp-fi.on { --g-bg: var(--g-on); color: var(--g-on-ink); }
  .gp-fi.on .gp-fic { background: var(--g-on-chip); color: #fff; --ki-accent: #fff; --ki-accent-muted: rgba(255,255,255,.7); box-shadow: inset 0 1px 1px rgba(255,255,255,.35); }
  .gp-fi.on small { opacity: .82; } html.gpn[data-theme=light] .gp-fi.on small .hot { color: #FFE08A; } html.gpn[data-theme=light] .gp-fi.on .gp-fn { background: #fff; color: #C4101A; }
  .gp-util { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 2px; }
  .gp-util > * { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 2px 9px; border: 0; border-radius: 20px; color: var(--g-ink); text-decoration: none; --g-bg: rgba(252,252,250,.74); cursor: pointer; -webkit-tap-highlight-color: transparent;
    font: 600 11.5px -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; opacity: 0; transform: translate3d(12px, 26px, 0) scale(.6); filter: blur(5px);
    transition: opacity .18s, transform .6s var(--gp-spring), filter .3s, scale .4s var(--gp-bounce); transition-delay: 20ms; }
  [data-theme=dark] .gp-util > * { --g-bg: rgba(22,24,30,.78); }
  .gp-util > *:active { scale: .93; }
  .gp-util svg { width: 19px; height: 19px; color: var(--g-tint); position: relative; z-index: 2; }
  .gp-util span { position: relative; z-index: 2; }
  /* the room dims and frosts a little behind the open fan */
  html.gpn:not(.ntabs) .pnav-scrim { background: rgba(40,14,14,.14); -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); transition: opacity .35s; }
  html.gpn[data-theme=dark]:not(.ntabs) .pnav-scrim { background: rgba(0,0,0,.42); }
  /* the tabs inside a place: the row the desktop shows under the top bar, here as a strip you slide sideways. The older in-page tab rows step aside. */
  html.gpn:not(.ntabs).gx-hubbed #gx-hub { display: block; padding: 8px 12px 2px; }
  html.gpn:not(.ntabs) body #gx-hub .hubseg.gx-hubbar { display: flex !important; width: 100%; margin: 0 !important; }
  html.gpn:not(.ntabs) body #gx-hub .hubseg.gx-hubbar > a { flex: 1 0 auto; gap: 5px; white-space: nowrap; padding: 0 10px !important; font-size: 13.5px !important; scroll-margin-inline: 24px; }
  html.gpn:not(.ntabs) body #content .hubseg { display: none !important; }
}
/* =====================================================================================================================
   Nov 19 2026, 7:19 PM — full iOS glass on the phone menu
   (Scott, with a recording of an iPhone app's tab bar: "Can we please make the menu more glass iOS 27. Like full iOS glass please?
   Keep native movements.")
   What the recording shows, done here: the pill and the circle are thin, clear glass (the page shows through, blurred and
   brightened), with a lit edge that is brightest at the top left and an inner glow along the bottom. At rest the place you're on sits
   in a soft filled capsule in the tint. Press and the pill swells a little; the capsule lifts out of it as a clear lens, larger than
   the pill, with a bright rim, a faint rainbow at its ends and a shadow under it, and what is under it shows magnified in the tint.
   Slide and it follows the finger, stretching with the speed; let go and it settles on a spring. Built by gpDrag (office.js).
   ===================================================================================================================== */
html.gpn[data-theme=light] { --g-bg: rgba(255,255,255,.46); --g-blur: blur(18px) saturate(210%) brightness(1.08);
  --g-sel: rgba(20,21,26,.075); --g-lift: rgba(255,255,255,.5);
  --g-rim: inset 0 0 0 .5px rgba(255,255,255,.7), inset 0 1px 1px rgba(255,255,255,.95), inset 0 -12px 18px -16px rgba(255,255,255,.9), inset 0 12px 18px -16px rgba(255,255,255,.7);
  --g-shadow: 0 14px 34px -14px rgba(40,20,20,.38), 0 2px 6px rgba(20,10,10,.08); }
html.gpn[data-theme=dark] { --g-bg: rgba(34,36,43,.4); --g-blur: blur(18px) saturate(190%) brightness(.94); --g-tint: #FF4D52;
  --g-sel: rgba(255,255,255,.12); --g-lift: rgba(255,255,255,.07);
  --g-rim: inset 0 0 0 .5px rgba(255,255,255,.2), inset 0 1px 1px rgba(255,255,255,.3), inset 0 -12px 18px -16px rgba(255,255,255,.22), inset 0 12px 18px -16px rgba(255,255,255,.14);
  --g-shadow: 0 16px 38px -12px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.3); }
@media (max-width: 900px) {
  html.gpn[data-theme=dark] .gp-seg a, html.gpn[data-theme=dark] .gp-circle { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
  /* the edge: a lit rim, bright at the top left and the bottom right, the way light runs round a glass pebble */
  .gp-seg::after, .gp-circle::after, .gp-fi::after, .gp-util > *::after { padding: 1.2px;
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,.35) 22%, rgba(255,255,255,.06) 45%, rgba(255,255,255,.06) 60%, rgba(255,255,255,.4) 82%, rgba(255,255,255,.9)); }
  [data-theme=dark] .gp-seg::after, [data-theme=dark] .gp-circle::after, [data-theme=dark] .gp-fi::after, [data-theme=dark] .gp-util > *::after {
    background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.16) 22%, rgba(255,255,255,.03) 45%, rgba(255,255,255,.03) 60%, rgba(255,255,255,.16) 82%, rgba(255,255,255,.44)); }
  .gp-fi:not(.on), .gp-util > * { --g-bg: rgba(255,255,255,.56); } [data-theme=dark] .gp-fi:not(.on), [data-theme=dark] .gp-util > * { --g-bg: rgba(34,36,43,.5); }
  /* the pill swells a little while it is held */
  .gp-seg { touch-action: none; transition: scale .5s var(--gp-bounce); }
  .gp-seg.press { scale: 1.035; }
  .gp-seg a:active { scale: 1; }
  .gp-seg.press a { color: var(--g-ink); --ki-accent: currentColor; --ki-accent-muted: currentColor;
    -webkit-mask-image: linear-gradient(90deg, #000 var(--h0, -9999px), transparent calc(var(--h0, -9999px) + 5px), transparent calc(var(--h1, -9999px) - 5px), #000 var(--h1, -9999px));
            mask-image: linear-gradient(90deg, #000 var(--h0, -9999px), transparent calc(var(--h0, -9999px) + 5px), transparent calc(var(--h1, -9999px) - 5px), #000 var(--h1, -9999px)); }
  /* at rest: a soft filled capsule under the place you're on */
  .gp-seg .gp-thumb { overflow: hidden; background: var(--g-sel); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    transform: translateX(var(--lx, calc(var(--i, 0) * 100%))) scale(var(--lsx, 1), var(--lsy, 1));
    transition: transform .62s var(--gp-spring), scale .55s var(--gp-bounce), background .25s, box-shadow .3s, opacity .2s; }
  .gp-seg .gp-thumb::after { opacity: 0; transition: opacity .25s; }
  /* held: the lens lifts out as clear glass, bigger than the pill, over the places */
  .gp-seg .gp-thumb.lift { z-index: 4; scale: 1.2 1.26; background: var(--g-lift); opacity: 1;
    box-shadow: inset 0 0 0 .75px rgba(255,255,255,.85), inset 0 1.5px 2px rgba(255,255,255,1), inset 0 -3px 8px -2px rgba(255,255,255,.55),
      inset 4px 0 5px -3px rgba(255,64,170,.5), inset -4px 0 5px -3px rgba(40,200,255,.5), inset 0 3px 5px -3px rgba(255,214,90,.35),
      0 12px 26px -10px rgba(0,0,0,.42), 0 2px 5px rgba(0,0,0,.1); }
  [data-theme=dark] .gp-seg .gp-thumb.lift { box-shadow: inset 0 0 0 .75px rgba(255,255,255,.42), inset 0 1.5px 2px rgba(255,255,255,.5), inset 0 -3px 8px -2px rgba(255,255,255,.18),
      inset 4px 0 5px -3px rgba(255,64,170,.45), inset -4px 0 5px -3px rgba(40,200,255,.45), inset 0 3px 5px -3px rgba(255,214,90,.25),
      0 12px 28px -8px rgba(0,0,0,.75), 0 2px 5px rgba(0,0,0,.35); }
  .gp-seg .gp-thumb.lift::after { opacity: 1; }
  .gp-seg.drag .gp-thumb { transition: scale .55s var(--gp-bounce), background .25s, box-shadow .3s, opacity .2s; }   /* it follows the finger, no lag */
  /* what the lens shows: the places, in the tint, magnified with the lens */
  .gp-lens-in { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% * var(--n, 3)); display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    transform: translateX(calc(-1 * var(--lx, calc(var(--i, 0) * 100% / var(--n, 3))))); opacity: 0; transition: opacity .18s; pointer-events: none; }
  .gp-seg.drag .gp-lens-in { transition: opacity .18s; }
  .gp-seg:not(.drag) .gp-lens-in { transition: opacity .18s, transform .62s var(--gp-spring); }
  .gp-thumb.lift .gp-lens-in { opacity: 1; }
  .gp-li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: var(--g-tint); --ki-accent: var(--g-tint); --ki-accent-muted: var(--g-tint);
    font: 600 11px -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif; letter-spacing: -.01em; }
  .gp-li > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 5px; }
  .gp-li packard-icon { color: inherit; }
  /* the circle is glass you can press: it swells and brightens under the finger */
  .gp-circle:active { scale: 1.12; }
}
@media (prefers-reduced-motion: reduce) { .gp-seg, .gp-seg .gp-thumb, .gp-lens-in { transition: opacity .15s !important; } .gp-seg.press { scale: 1; } }
@keyframes gpswap { from { opacity: 0; transform: translateY(8px) scale(.9); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes gplens { 0% { scale: 1 1; } 30% { scale: 1.16 .86; } 62% { scale: .97 1.04; } 100% { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .gp-seg.swap a, .gp-thumb.morph { animation: none !important; } .gp-thumb, .gp-fi, .gp-util > *, .gp-circle svg { transition: none !important; } }
@media (prefers-reduced-transparency: reduce) { .gp-seg, .gp-circle, .gp-fi, .gp-util > * { --g-bg: var(--g-bg-strong); -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* a browser with no backdrop blur gets the solid glass, so labels never sit on raw page text */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .gp-seg, .gp-circle, .gp-fi, .gp-util > * { --g-bg: var(--g-bg-strong); } }

/* =====================================================================================================================
   Nov 19 2026, 11:25 AM — the Warehouse pass
   Scott: "can we make product photos on everything show in full? maybe no frame against white and a white circle when in color. and
   the item name and sku need to always show in full on cards before they open. make sure all photos are centered in the circle. and
   add filters on the warehouse stuff. like a popup filter button that floats … up by the search button. make sure the warehouse tabs
   all follow a similar header … same boxes. same filters. categories in the same spot."
   ===================================================================================================================== */
/* ---- product photos show in full ----
   The whole picture fits inside its circle, centered, with room to spare so a square photo's corners are not cut. The circle is
   white with no ring and no shadow: on a white card it disappears (no frame), on a dark card or a colored banner it is a white
   circle. A spot with no photo is a soft circle with the icon. Square photo spots get the same: whole picture, centered, on white. */
html.pkl .gx-av.gx-av-img { padding: 0; overflow: hidden; background: #fff !important; box-shadow: none; display: grid; place-items: center; }
html.pkl .gx-av.gx-av-img img { width: 78%; height: 78%; object-fit: contain; object-position: 50% 50%; display: block; }
html.pkl .gx-hero .gx-av.gx-av-img, html.pkl .gx-hero .gx-av.gx-av-ic { box-shadow: none; }
html.pkl .gx-av.gx-av-ic { box-shadow: none; display: grid; place-items: center; }
html.pkl .gx-row.open > .gx-av { display: none; }   /* an opened card shows its photo in the banner, not above it */
html.pkl[data-theme=light] .gx-row > .gx-av.gx-av-ic { background: rgba(20,21,26,.06); }
html.pkl[data-theme=dark] { --wh-pop: rgba(22,24,30,.95); }
html.pkl .gx-av.gx-av-ic packard-icon { display: block; }
html.pkl .gx-line img, html.pkl .gx-noimg, html.pkl .pthumb, html.pkl .part-img, html.pkl .sd-img, html.pkl .dr-hit img, html.pkl .parts .pr img, html.pkl .gx-photo img {
  object-fit: contain; object-position: 50% 50%; background-color: #fff; box-shadow: none; }
html.pkl .pthumb.none, html.pkl .part-img.none, html.pkl .sd-img.none, html.pkl .gx-noimg { background-color: var(--gx-ic-bg, var(--paper-2)); display: grid; place-items: center; }
/* ---- names and SKUs in full on a closed card ---- */
html.pkl .gx-srow .gx-who > b, html.pkl .gx-prow .gx-who > b, html.pkl .wh .gx-row .gx-who > b {
  white-space: normal; overflow: visible; text-overflow: clip; display: block; -webkit-line-clamp: unset; overflow-wrap: anywhere; line-height: 1.22; }
html.pkl .gx-srow .gx-who .sub, html.pkl .gx-prow .gx-who .sub, html.pkl .wh .gx-row .gx-who .sub { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.32; }
html.pkl .wh .gx-row { align-items: center; }
/* the photo circle on a Warehouse card is big enough to read the product in */
html.pkl .gx-srow > .gx-av, html.pkl .gx-prow > .gx-av, html.pkl .wh .gx-row > .gx-av { width: 60px; height: 60px; }
@media (max-width: 900px) { html.pkl .gx-srow > .gx-av, html.pkl .gx-prow > .gx-av, html.pkl .wh .gx-row > .gx-av { width: 52px; height: 52px; } }
/* ---- one header for every Warehouse tab: tabs · find · filter button, three boxes, count line · tools ---- */
.wh-head { position: relative; }
/* the tabs take what room is left and slide sideways inside it, so the find box and the filter button never leave the right end of row one */
@media (min-width: 901px) { html.pkl .wh-head { flex-wrap: nowrap; } html.pkl .wh-head > .gx-segw { flex: 0 1 auto; min-width: 0; overflow: hidden; } html.pkl .wh-head > .gx-find { flex: 0 1 300px; min-width: 200px; } html.pkl .wh-head > .gx-sp { flex: 1 0 8px; } }
html.pkl .wh-head .gx-seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } html.pkl .wh-head .gx-seg::-webkit-scrollbar { display: none; } html.pkl .wh-head .gx-seg > button { flex: none; white-space: nowrap; }
.wh-fw { position: relative; flex: none; display: inline-flex; }
.wh-fbtn { position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gx-card); color: var(--text); box-shadow: var(--gx-sh); cursor: pointer;
  transition: transform .25s var(--gx-spring), background .15s, color .15s; }
.wh-fbtn:hover { transform: translateY(-1px); }
.wh-fbtn:active { transform: scale(.94); }
.wh-fbtn.on, .wh-fbtn[aria-expanded=true] { background: var(--gx-on); color: var(--gx-on-tx); }
.wh-fbtn .n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/18px var(--mono); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--paper); }
.wh-fbtn .n:empty { display: none; }
.wh-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 35; width: min(430px, calc(100vw - 24px)); max-height: min(70vh, 640px); overflow: auto; padding: 14px 16px 16px; border-radius: 22px;
  background: var(--wh-pop, rgba(255,255,255,.95)); color: var(--text); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 26px 60px -18px rgba(10,12,20,.5), 0 2px 10px rgba(10,12,20,.12), inset 0 0 0 1px var(--gx-bd); transform-origin: 92% 0; animation: whpop .3s var(--gx-spring); }
.wh-pop[hidden] { display: none; }
@keyframes whpop { from { opacity: 0; transform: translateY(-8px) scale(.95); } to { opacity: 1; transform: none; } }
.wh-pop header { display: flex; align-items: center; gap: 6px; }
.wh-pop header b { font: 700 17px var(--sans); }
.wh-clear, .wh-done { border: 0; height: 32px; padding: 0 12px; border-radius: 999px; background: transparent; color: var(--mute); font: 600 13px var(--sans); cursor: pointer; }
.wh-clear[hidden] { display: none; }
.wh-done { background: var(--gx-on); color: var(--gx-on-tx); }
.wh-pop h4 { margin: 14px 2px 7px; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.wh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wh-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border: 0; border-radius: 999px; background: var(--gx-soft); color: var(--text); font: 600 13.5px var(--sans); text-align: left; cursor: pointer; transition: transform .2s var(--gx-spring), background .15s, color .15s; }
.wh-chip:active { transform: scale(.95); }
.wh-chip em { font: 600 11.5px var(--mono); font-style: normal; opacity: .55; }
.wh-chip.on { background: var(--gx-on); color: var(--gx-on-tx); }
.wh-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; min-height: 36px; }
html.pkl .wh-bar .gx-count { margin: 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wh-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wh-tools:empty { display: none; }
.wh-on { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 7px 0 11px; border: 0; border-radius: 999px; background: var(--gx-on); color: var(--gx-on-tx); font: 600 12px var(--sans); cursor: pointer; }
.wh-on i { font-style: normal; font-size: 15px; line-height: 1; opacity: .7; }
html.pkl .wh .gx-sech { margin: 18px 2px 8px; }
html.pkl .wh .gx-sech:first-child { margin-top: 2px; }
@media (max-width: 900px) {
  .wh-head .gx-find { flex: 1 1 0; min-width: 0; max-width: none; }
  .wh-pop { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: auto; max-height: 62vh; transform-origin: 50% 100%; z-index: 40; }
  .wh-tools { width: 100%; } .wh-tools > .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .wh-pop { animation: none; } }
/* the older Warehouse pages on the shared header: their rows are the same card rows, their extra buttons sit on one line */
html.pkl .wh .gx-sn.red b { color: var(--red-tx, var(--red)); } html.pkl .wh .gx-sn.amber b { color: var(--amber); }
html.pkl .wh .gx-sn b { font: 700 26px/1 var(--disp); letter-spacing: .01em; }
.wh-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
html.pkl .wh .gx-row .gx-act { gap: 10px; }
html.pkl body .card.wh-prog { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 4px; background: var(--gx-card); border: 1px solid var(--gx-bd); box-shadow: var(--gx-sh); }
.wh-pbar { flex: 1 1 220px; height: 10px; border-radius: 999px; background: var(--gx-soft); overflow: hidden; } .wh-pbar i { display: block; height: 100%; border-radius: inherit; background: var(--green, #1FB868); }
.wh-prog .sub { margin: 0; }
html.pkl .wh #stocklog { margin: 0; }
html.pkl .wh .gx-who > b small { white-space: nowrap; }
/* ---- Admin in the Customers layout (Nov 19 2026) ---- */
html.pkl .gx-av.gx-av-face { padding: 0; overflow: hidden; background: #fff; display: grid; place-items: center; }
html.pkl .gx-av.gx-av-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.pkl .ad-page .gx-head > .btn { height: 46px; border-radius: 999px; padding: 0 18px; }
html.pkl .ad-row.off { opacity: .62; }
html.pkl .ad-row .gx-who > b, html.pkl .ad-row .gx-who .sub { white-space: normal; overflow-wrap: anywhere; }
.ad-reach { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-can { display: grid; gap: 2px; margin: 0 0 12px; } .ad-can b { font: 700 16px var(--sans); } .ad-can span { color: var(--mute); font-size: 14px; }
html.pkl .ad-feel { margin-top: 4px; } html.pkl .ad-feel .gx-pc .seg { margin: 10px 0; } html.pkl .ad-feel .gx-pc .sub { margin: 0 0 8px; }
@media (min-width: 901px) { html.pkl .ad-row .gx-rec .gx-cols { columns: 2 380px; } html.pkl .ad-feel { columns: 3 320px; } }
@media (max-width: 900px) { html.pkl .wh-brow .chip.own-btn { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; } }

/* =====================================================================================================================
   Nov 19 2026, 11:56 AM — the Ship pass
   Scott: "each category shares design and layout architecture. we'll have to do this for each section. warehouse first. then ship.
   ship is close. we need to refine it." Orders (To ship, All orders, Unpaid), Warranty and Returns draw the Warehouse header
   (whHead): tabs · find · filter button, three boxes, the count line with the page's buttons, then card rows. The rows on the board
   and the rows for claims and returns are the order row: circle, name, who, what, tags; on the right the state and its bars.
   ===================================================================================================================== */
html.pkl .wh .gx-sech small { font: 500 11.5px var(--sans); letter-spacing: .01em; text-transform: none; }
html.pkl .wh .gx-items { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.32; }
html.pkl .wh-ship .gx-row .gx-meta { align-items: center; }
html.pkl .wh-ship .gx-meta .chip.own-btn { min-height: 26px; cursor: pointer; }
html.pkl .wh-ship .gx-meta .chip.tp { font-size: 11.5px; }
.sh-note { display: block; margin-top: 5px; padding: 5px 10px; border-radius: 10px; background: var(--gx-soft); font-size: 13px; color: var(--text); width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.sh-when { font: 500 12px var(--sans); color: var(--mute); text-align: right; }
html.pkl .sh-row .gx-oact .gx-tot, html.pkl .sh-ecu .gx-oact .gx-tot { font-size: 16px; }
html.pkl .sh-ecu { cursor: pointer; }
html.pkl .wh-ship .shipset { margin-top: 26px; }
/* a claim or a return: the step bar sits where an order's four bars sit, its buttons under it, an arrow for where the row goes */
html.pkl .gx-crow.shut { opacity: .74; }
html.pkl .gx-crow .gx-go { transform: none; }
.gx-crow .cstep { font-weight: 700; }
.gx-cbtns { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
.gx-cbtns:empty { display: none; }
.gx-ref { font: 700 12px var(--mono); color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  html.pkl .wh-ship .gx-meta .chip.own-btn { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; }
  html.pkl .gx-cbtns .btn { min-height: 34px; }
}
/* on a phone the tabs take row one by themselves, on every page, so the find box and the filter button always share row two */
@media (max-width: 900px) {
  html.pkl .wh-head > .gx-segw { flex: 1 1 100%; }
  /* a claim or a return on a phone: the step bar and its buttons go under the words, so the words keep the full width */
}
/* the board's settings under the list: its boxes read in the dark themes and its rows wrap in a narrow panel */
html.pkl .wh-ship .shipset .panel .row { flex-wrap: wrap; }
html.pkl .wh-ship .shipset .panel .row > input { min-width: 0; }
html.pkl[data-theme=dark] .shipset input:not([type=checkbox]), html.pkl[data-theme=dark] .shipset select { background: var(--gx-soft) !important; color: var(--text) !important; border-color: var(--gx-bd) !important; }
html.pkl[data-theme=dark] .shipset input::placeholder { color: var(--mute); }

/* =====================================================================================================================
   Nov 19 2026, 12:35 PM — the Tuning pass
   Scott: "Now tuning. This is the piece Jace will use the most … bring them in line with the new looks but make sure these are
   super super clean and nice and good." Tunes and ECUs are pages from packard-account shown inside the Office; office.js lays
   the two lists out on the shared header (svcBoard) and these rules give every page that comes from there the new look.
   ===================================================================================================================== */
/* ---- any page from the service board, in the new look ---- */
html.pkl .svc { max-width: 1180px; }
html.pkl .wh-tune #wh-body > .svc { max-width: none; }
html.pkl .svc .card { border: 0 !important; border-radius: 20px; background: var(--gx-card); box-shadow: var(--gx-sh); }
html.pkl .svc .btn { height: 40px; padding: 0 16px; border-radius: 12px; border: 0; font: 700 13.5px var(--sans); transition: transform .2s var(--gx-spring), background .15s; }
html.pkl .svc .btn:not(.red) { background: var(--gx-soft); color: var(--text); border-color: transparent; }
html.pkl .svc .btn:not(.red):hover { background: var(--gx-tag); border-color: transparent; }
html.pkl .svc .btn.red { background: var(--red); color: #fff; }
html.pkl .svc .btn:active { transform: scale(.96); }
html.pkl .svc .btn.sm { height: 34px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
html.pkl .svc .btn.big { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 14px; }
html.pkl .svc input:not([type=checkbox]):not([type=radio]), html.pkl .svc textarea, html.pkl .svc select { border-radius: 12px; border: 1px solid var(--gx-bd); background: var(--gx-in, var(--gx-soft)); color: var(--text); padding: 10px 13px; }
html.pkl .svc input:focus, html.pkl .svc textarea:focus, html.pkl .svc select:focus { border-color: var(--text); outline: none; }
html.pkl .svc label { font: 600 11px var(--sans); letter-spacing: .1em; color: var(--mute); }
/* a list of facts (label, value) reads as two columns whichever way the page wrote it */
html.pkl .svc .kv { grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); gap: 6px 16px; align-items: baseline; }
html.pkl .svc .kv > div { display: contents; }
html.pkl .svc .kv > div > span, html.pkl .svc .kv > b { color: var(--mute); font-weight: 600; font-size: 13px; }
html.pkl .svc .kv > div > b, html.pkl .svc .kv > span { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
/* ---- the two lists: a card is the order row; it drops open where it sits and its work is inside (1:21 PM: "make these drop down") ---- */
.tu-how { margin: 0 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--mute); max-width: 76ch; }
.tu-keep { display: none !important; }   /* the board's own form and pills wait here while the card is closed */
.tu-slot:empty { display: none; }
.tu-about { margin: 22px 2px 0; font-size: 12.5px; line-height: 1.45; color: var(--mute); max-width: 100ch; opacity: .85; }
html.pkl .svc .tu-list { margin-bottom: 4px; }
html.pkl .svc .tu-row { margin: 0; }
html.pkl .svc .tu-row.open { border-radius: 0; }
html.pkl .svc .tu-row .gx-hero .gx-hid b { font-weight: 600; line-height: 1.35; }
html.pkl .svc .gx-hero h2 { text-transform: none; letter-spacing: .01em; padding: 0; border: 0; margin: 0; }   /* the board's own heading styles stay out of an opened card */
html.pkl .svc .gx-pc > h3 { text-transform: none; letter-spacing: 0; margin: 0 0 12px; }
html.pkl .tu-row .gx-hmoney > small, html.pkl .sc-brow .gx-hmoney > small, html.pkl .gx-crow .gx-hmoney > small { white-space: nowrap; }
@media (max-width: 900px) {   /* on a phone the machine line of an opened card wraps; it is what Jace reads first */
  html.pkl .tu-row .gx-hero .gx-hid span, html.pkl .sc-brow .gx-hero .gx-hid span, html.pkl .gx-crow .gx-hero .gx-hid span { white-space: normal; }
  html.pkl .tu-row .gx-hero .gx-hid h2, html.pkl .sc-brow .gx-hero .gx-hid h2, html.pkl .gx-crow .gx-hero .gx-hid h2 { white-space: normal; line-height: 1.05; }
  html.pkl .tu-row .gx-hmoney, html.pkl .sc-brow .gx-hmoney, html.pkl .gx-crow .gx-hmoney { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }   /* how long, the pill and the bars wrap instead of running off the card */
  html.pkl .tu-row .gx-hmoney > b, html.pkl .sc-brow .gx-hmoney > b, html.pkl .gx-crow .gx-hmoney > b { white-space: nowrap; }
}
@media (max-width: 900px) {   /* every section: on a phone the big number of an opened card sits under the name, at the dark start of the top, so on a gold or green top it is white there, not ink */
  html.pkl .gx-hero.st-warn .gx-hmoney > b, html.pkl .gx-hero.st-ok .gx-hmoney > b, html.pkl .gx-hero.st-warn .gx-hmoney > small, html.pkl .gx-hero.st-ok .gx-hmoney > small { color: #fff; text-shadow: 0 1px 2px rgba(20,0,2,.22); }
}
@media (max-width: 700px) {   /* a closed row on a phone: the words take the full width, and how long, the pill and the bars sit on one line under them */
  html.pkl .svc .tu-row:not(.open), html.pkl .sc-brow:not(.open), html.pkl .gx-crow:not(.open) { grid-template-columns: auto minmax(0, 1fr); }
  html.pkl .svc .tu-row:not(.open) > .gx-act, html.pkl .sc-brow:not(.open) > .gx-act, html.pkl .gx-crow:not(.open) > .gx-act { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  html.pkl .svc .tu-row:not(.open) .gx-oact, html.pkl .sc-brow:not(.open) .gx-oact, html.pkl .gx-crow:not(.open) .gx-oact { flex-direction: row !important; align-items: center !important; justify-content: flex-start; flex-wrap: wrap; gap: 8px 10px !important; flex: 1 1 auto; }
}
@media (min-width: 901px) { html.pkl .tu-row .gx-rec .gx-cols { columns: 2 380px; } }   /* two cards: what to do, and how to reach them */
html.pkl .svc .tu-row .gx-who > b { font: 700 17px var(--sans); text-transform: none; letter-spacing: 0; }
html.pkl .svc .tu-row .gx-items .hot, html.pkl .svc .tu-row .gx-meta em.hot { color: var(--red-tx, var(--red)); font-weight: 700; }
html.pkl .svc .tu-row .gx-meta em.tag.mono { font-family: var(--mono); letter-spacing: 0; }
html.pkl .svc .tu-row .gx-meta em.tu-k { text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }
html.pkl .svc .tu-row .gx-oact .gx-tot { font-size: 16px; }
/* the work: what to copy, what to type, what to press */
.tu-do { display: grid; gap: 12px; }
html.pkl .svc .tu-do form { margin: 0 !important; display: grid; gap: 10px; }
html.pkl .svc .tu-do form.row { display: flex; }
html.pkl .svc .tu-do > div, html.pkl .svc .tu-do form > div { margin: 0 !important; }
html.pkl .svc .tu-do .two { gap: 10px 12px; }
html.pkl .svc .tu-do label { margin: 0 0 5px; }
html.pkl .svc .tu-do input:not([type=hidden]) { margin: 0; }
html.pkl .svc .tu-do .row { gap: 8px; align-items: center; }
html.pkl .svc .tn-copy { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 8px 0 0; padding: 8px 14px 9px; border: 0; border-radius: 12px; background: var(--gx-soft); color: var(--text);
  font: 600 14.5px var(--mono); letter-spacing: .02em; cursor: copy; box-shadow: inset 0 0 0 1px var(--gx-bd); transition: transform .2s var(--gx-spring), box-shadow .15s; overflow-wrap: anywhere; text-align: left; max-width: 100%; }
html.pkl .svc .tn-copy:active { transform: scale(.97); }
html.pkl .svc .tn-copy small { font: 600 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); opacity: 1; }
html.pkl .svc .tn-copy.ok { box-shadow: inset 0 0 0 2px var(--gx-green, #1f8a3b); }
/* reach them, and the ticket itself: quiet pills */
html.pkl .svc .tu-row .tu-foot { margin: 0 !important; gap: 8px; justify-content: flex-start; flex-wrap: wrap; }
html.pkl .svc .tu-row .tu-foot form { margin: 0 !important; flex: 1 1 100%; }
html.pkl .svc .tu-row .tu-foot .btn { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; background: var(--gx-soft); color: var(--text); }
html.pkl .svc .tu-row .tu-foot .btn.red, html.pkl .svc .tu-row .tu-foot .btn.red:hover { background: var(--gx-soft); color: var(--red-tx, var(--red)); box-shadow: none; }   /* a quiet pill: red words, no glow under it in the dark themes */
html.pkl .svc .tu-row .tu-foot form .btn { background: var(--gx-on); color: var(--gx-on-tx); }
html.pkl .svc .tu-row .tu-foot a.btn:last-child { font-family: var(--mono); letter-spacing: 0; }
html.pkl .svc a.tu-donerow { display: grid; text-decoration: none; color: inherit; cursor: pointer; align-items: center; border-bottom: 0; padding: 12px 16px; }
html.pkl .svc .tu-rest { margin-top: 18px; }
html.pkl .wh-tune .wh-tools form { margin: 0; display: inline-flex; }
html.pkl .wh-tune .tu-code b { margin-left: 6px; }
@media (max-width: 900px) {
  html.pkl .svc .tu-do .two { grid-template-columns: 1fr; }
  html.pkl .svc .tu-do .btn { flex: 1 1 auto; justify-content: center; min-height: 44px; margin-left: 0 !important; }
  html.pkl .svc .tn-copy { width: 100%; margin: 0 0 6px; }
  html.pkl .svc .tu-row .tu-foot .btn { height: 38px; flex: 1 1 auto; justify-content: center; }
  html.pkl .svc .tu-row .tu-foot form { margin: 0 !important; flex: 1 1 100%; } html.pkl .svc .tu-row .tu-foot form .btn { width: 100%; }
}
/* a card with nothing to type (an ECU to flash): what to copy, then what to press */
html.pkl .svc .tu-do form.row { flex-wrap: wrap; }
/* what the last press said, on one quiet line above the list */
html.pkl .svc .flash { margin: 0 0 12px; padding: 10px 14px; border: 0; border-radius: 14px; background: rgba(31,122,77,.14); color: var(--gx-green, #1f8a3b); font-weight: 600; }
html.pkl .svc .flash.err { background: var(--red-soft); color: var(--red-tx, var(--red)); }
@media (max-width: 900px) {   /* the page's own buttons ride one line that slides, so the first card is not pushed down the screen */
  html.pkl .wh-tune .wh-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } html.pkl .wh-tune .wh-tools::-webkit-scrollbar { display: none; }
  html.pkl .wh-tune .wh-tools > *, html.pkl .wh-tune .wh-tools form > .btn { flex: 0 0 auto; white-space: nowrap; }
}
html.pkl .svc .cols > div > .card + .card, html.pkl .svc > .card + .card { margin-top: 12px; }
/* ---- Superchargers: a build is the order row; it drops open where it sits and its pack list is inside ---- */
.sc-ln .mk { display: inline-block; }   /* the "in house" tag is a small tag beside the name (another page's .mk had turned it into a full-width box) */
html.pkl .sc-brow .gx-rec { gap: 14px; }
html.pkl .gx-rec .sc-in .sc-sec, html.pkl .gx-rec .sc-in .sidecard, html.pkl .gx-rec .sc-in .sc-kitfix { border: 0; border-radius: 18px; background: var(--gx-card); box-shadow: var(--gx-sh); }
html.pkl .gx-rec .sc-in .sc-sec { padding: 6px 0 8px; overflow: hidden; }
html.pkl .gx-rec .sc-in .sc-line { border-top-color: var(--gx-bd); }
html.pkl .gx-rec .sc-in .sidecard { padding: 16px 18px; }
html.pkl body .gx-rec .sc-in .sidecard h4, html.pkl body .gx-rec .sc-in details.sidecard > summary { font: 700 17px/1.2 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 12px; }
html.pkl .gx-rec .sc-in details.sidecard:not([open]) > summary { margin: 0; cursor: pointer; }
html.pkl .gx-rec .sc-in .sidecard .row { flex-wrap: wrap; gap: 8px; }
html.pkl .gx-rec .sc-in .sidecard .row .spacer { display: none; }
html.pkl .gx-rec .sc-in .sc-side { position: static; gap: 14px; }
html.pkl .gx-rec .sc-in .sc-cols { gap: 14px; }
html.pkl .gx-rec .sc-in .sc-prog { padding: 0 4px; }
html.pkl .wh-sc .sc-recent { margin-top: 18px; }
html.pkl .wh-sc .sc-tabbody > .toolbar:first-child { margin-top: 0; }

/* The three boxes on a phone (Nov 19 2026, 1:05 PM). The small line under the number was cut with three dots ("the oldest ha…"). It may
   now take up to three lines, and the label, the number and the small line sit on the same three lines in every box, so a label that wraps
   in one box does not push its number lower than its neighbor's. */
@media (max-width: 700px) {
  html.pkl .gx-stats .card > span { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; line-height: 1.25; }
  html.pkl .gx-stats .card { align-content: start; }
  @supports (grid-template-rows: subgrid) {
    html.pkl .gx-stats .card { grid-row: span 3; grid-template-rows: subgrid; row-gap: 2px; }
  }
}

/* =====================================================================================================================
   Nov 19 2026, 2:47 PM — Warranty and Returns rows and done ECUs open in place
   Scott: "Warranty and Returns rows still jump to the conversation or claim page instead of opening in place, and Done ECUs
   still jump to the ticket … i want these next." A claim opens to its photos and decision (the claim page, drawn inside the
   card); a return and a done ECU open to the board's ticket (the board's page, drawn inside the card).
   ===================================================================================================================== */
html.pkl .gx-crow .gx-rec, html.pkl .tu-donerow .gx-rec { gap: 14px; }
html.pkl .gx-crow .gx-rec .gx-cols { columns: auto; }
@media (min-width: 901px) { html.pkl .gx-crow .gx-rec .gx-cols { columns: 2 380px; } }
/* ---- a board page inside a card: its own cards and forms, spaced the way a record is ---- */
html.pkl .svc-in { max-width: none; display: grid; gap: 12px; min-width: 0; }
html.pkl .svc-in > style { display: none; }
html.pkl .svc-in > * { margin-top: 0 !important; margin-bottom: 0 !important; min-width: 0; }
html.pkl .svc-in > .badge { justify-self: start; }
html.pkl .svc-in .cols { gap: 14px; align-items: start; }
html.pkl .svc-in .cols > .card + .card, html.pkl .svc-in .cols > div > .card + .card { margin-top: 0; }
html.pkl .svc-in .card { padding: 16px 20px 18px; border-radius: 18px; }
html.pkl .svc-in .card > h3 { font: 700 17px/1.25 var(--sans); text-transform: none; letter-spacing: 0; margin: 0 0 10px; color: var(--text); }
html.pkl .svc-in .row { flex-wrap: wrap; gap: 8px; }
html.pkl .svc-in form { margin: 0; }
html.pkl .svc-in .flash { margin: 0; }
/* a tick box with its words beside it, on every board page (the box had stretched to the full width above its label) */
html.pkl .svc label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font: 500 13.5px var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); cursor: pointer; }
html.pkl .svc label > input[type=checkbox] { width: 18px; height: 18px; flex: none; margin: 0; padding: 0; }
/* ---- a claim inside a card: the claim page's own sections, in the record's type ---- */
html.pkl .claim-in { display: grid; gap: 14px; margin: 0; max-width: none; }
/* Nov 19 2026, 7:19 PM (Scott: "please fix warranty not fitting on the page"): a claim with four tires made the opened card wider than
   the phone. The tire switch (Tire 1 … Tire 4, + Tire 5) would not wrap and pushed the whole card out. It now slides sideways inside
   its card, and nothing inside an opened card can push the card wider than the list. */
html.pkl .claim-in, html.pkl .claim-in > *, html.pkl .gx-rec, html.pkl .gx-rec > *, html.pkl .gx-claim { min-width: 0; }
html.pkl .claim-in > * { max-width: 100%; }
html.pkl .claim-in .grid2 > *, html.pkl .claim-in .kv > * { min-width: 0; }
@media (max-width: 640px) { html.pkl .claim-in .wphotos { grid-template-columns: repeat(auto-fill, minmax(min(140px, 42%), 1fr)); gap: 8px; } }   /* two photos across on a phone, not one */
html.pkl .claim-in .kv dd, html.pkl .claim-in .kv a { overflow-wrap: anywhere; }   /* a long email or order note breaks instead of pushing the card wider */
html.pkl body .wshop .wb-tires { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html.pkl body .wshop .wb-tires::-webkit-scrollbar { display: none; }
html.pkl body .wshop .wb-tires button { flex: 1 0 auto; white-space: nowrap; }
html.pkl .claim-in > * { margin-top: 0 !important; margin-bottom: 0 !important; }
html.pkl .claim-in .chead { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; position: static; background: none; border: 0; box-shadow: none; }
html.pkl .claim-in .chead:empty { display: none; }
html.pkl .claim-in .card.pad { border: 0; border-radius: 18px; background: var(--gx-card); box-shadow: var(--gx-sh); padding: 16px 20px 18px; }
html.pkl body .claim-in h2.sec { font: 700 17px/1.25 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; margin-top: 0; }
html.pkl .claim-in .grid2 { gap: 14px; align-items: start; }
/* ---- the photo buckets on a claim: a class name shared with the batch sheet had bent them (the DOT box and the Add photos
   tap area had shrunk to 18px). Fixed here for the claim page too, in both layouts. ---- */
.wshop .wb-row { display: block; padding: 12px 0 10px; cursor: default; }
.wshop .wb-row .wb-h { display: flex; flex-direction: row; align-items: center; gap: 10px; flex: none; }
.wshop .wb-row .wb-l { display: block; flex: 1; min-width: 0; }
.wshop .wb-row .wb-l .sub { font-size: 12.5px; }
.wshop .wb-row .wb-tray { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; flex: none; }
.wshop .wb-row .wb-tray:empty { display: none; }
.wshop .wb-row .wb-t { display: block; flex: none; }
.wshop .wb-row input.wb-dotin { width: 74px; height: 40px; margin: 0; }
.wshop .wb-row .wb-add input { width: auto; height: auto; margin: 0; }

/* =====================================================================================================================
   Nov 19 2026, 3:33 PM — Front desk on the shared header (Customers, Messages, Chat)
   Scott, to "Customers takes the full frame; on Messages and Chat the tabs, find box and filter button sit over the inbox
   column": "ok. go." Customers uses whHead as it is. Messages and Chat put the same pieces over their list column (.im-head):
   the tabs take row one, the find box and the filter button row two, three small boxes, the count line, then the list.
   ===================================================================================================================== */
html.pkl .itools .wh-bar { margin: 0; gap: 8px; }
html.pkl .itools .wh-bar .gx-count { font-size: 13px; }
html.pkl .itools .wh-tools .btn { height: 32px; }
/* the filter panel opens over the thread, so the list column lets it out */
/* Messages settings open under the header, inside the column */
/* ---- Chat: the list column ---- */

/* ---------- Nov 19 2026, 3:33 PM (second part) — Team: Time off on the shared header ----------
   Tabs Calendar, Coming up, Waiting, Coverage; the month moves on the count line; time off, coverage days and the crew are rows that
   drop open. No stripes anywhere (Scott's rule): short, short-if-approved and closed days, waiting pills and the meter are fills. */
html.pkl .to-mo { display: inline-flex; align-items: center; gap: 4px; }
html.pkl .to-mo b { font: 800 15px var(--sans); color: var(--text); padding: 0 6px; min-width: 132px; text-align: center; }
html.pkl .to-mb { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--gx-soft); color: var(--text); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
html.pkl .to-mb:hover { background: var(--gx-tag); }
html.pkl .to-mb svg { width: 16px; height: 16px; }
html.pkl .to-mo .to-now { margin-left: 6px; padding: 0 12px; }
html.pkl .wh-bar .gx-count .to-mo + span { margin-left: 8px; }
html.pkl .to-foot { margin: 14px 4px 0; font-size: 13px; line-height: 1.45; color: var(--mute); }
html.pkl .to-page .to-cal { margin: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--gx-card); box-shadow: var(--gx-sh); }
html.pkl .to-page .to-legend { margin: 12px 4px 0; }
html.pkl .gx-av.to-dnum { flex-direction: column; gap: 0; line-height: 1; background: #fff; color: #14151A; }
html.pkl .gx-av.to-dnum b { font: 800 18px var(--sans); }
html.pkl .gx-av.to-dnum small { font: 700 10px var(--sans); text-transform: uppercase; letter-spacing: .06em; opacity: .65; margin-top: 3px; }
html.pkl .to-dn { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--mute); }
html.pkl div.to-dn { flex-direction: row; align-items: center; gap: 8px; margin: 0; }
html.pkl .to-dn input { height: 40px; border-radius: 12px; border: 0; background: var(--gx-soft); color: var(--text); padding: 0 12px; font: 500 14px var(--sans); flex: 1; min-width: 0; width: 100%; }
html.pkl .to-in { display: flex; flex-wrap: wrap; gap: 6px; }
html.pkl .to-day.st-short, html.pkl[data-theme] .to-day.st-short { background: color-mix(in srgb, var(--red) 15%, var(--gx-card)); box-shadow: none; }
html.pkl .to-day.st-tight, html.pkl[data-theme] .to-day.st-tight { background: color-mix(in srgb, #FFB000 14%, var(--gx-card)); }
html.pkl .to-day.st-closed, html.pkl[data-theme] .to-day.st-closed { background: var(--gx-soft); }
html.pkl .to-meter i.pend { background: #FFB000; box-shadow: none; }
html.pkl .to-meter i.pend.half { background: linear-gradient(0deg, #FFB000 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px #FFB000; }
html.pkl .to-pill.pending { background: color-mix(in srgb, var(--c) 8%, var(--gx-card)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 55%, transparent), inset 3px 0 0 var(--c); }
html.pkl .to-sw.short { background: color-mix(in srgb, var(--red) 32%, transparent); box-shadow: none; }
html.pkl .to-sw.tight { background: rgba(255,176,0,.42); }
html.pkl .to-sw.closed { background: var(--gx-tag); }
html.pkl .to-strip.st-short { background: color-mix(in srgb, var(--red) 10%, var(--gx-card)); }
@media (max-width: 900px) {
  html.pkl .to-mo b { min-width: 0; font-size: 14px; }
  html.pkl .wh-bar .gx-count .to-mo + span { margin-left: 0; }
}
@media (max-width: 900px) { html.pkl .to-page .wh-head .gx-seg > button { padding: 0 7px; gap: 5px; font-size: 13.5px; } }

/* ---------- Nov 19 2026, 4:12 PM — phones: an opened card's top sticks under the top bar; the card scrolls under it ----------
   The content area clips sideways instead of hiding (hidden made it a scroll box, and a scroll box that never scrolls stops sticky).
   Stuck, the top is one line: the circle, the name, the first number and pill, the fold button. --gx-stick is the top bar's bottom. */
@media (max-width: 900px) {
  html.pkl body:not(.fit) .content { overflow-x: clip; overflow-y: visible; }
  html.pkl .gx-row.open > .gx-rec > .gx-hero { position: sticky; top: calc(var(--gx-stick, 60px) + 6px); z-index: 6; }
  html.pkl .gx-row { scroll-margin-top: calc(var(--gx-stick, 60px) + 10px); }
  html.pkl .gx-rec > .gx-hero.stuck { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 18px; box-shadow: 0 -8px 0 4px var(--gx-under, transparent), 0 10px 26px rgba(20,0,2,.28); }   /* the page color above it, so nothing shows between it and the top bar */
  html.pkl .gx-rec > .gx-hero.stuck .gx-av { width: 38px; height: 38px; font-size: 13px; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-av.to-dnum b { font-size: 14px; } html.pkl .gx-rec > .gx-hero.stuck .gx-av.to-dnum small { display: none; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hid { gap: 1px; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hid h2 { font-size: 20px; line-height: 1.1; white-space: nowrap; display: block; -webkit-line-clamp: unset; overflow: hidden; text-overflow: ellipsis; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hid span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hid b { display: none; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hmoney { grid-column: 3; grid-row: 1; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; justify-content: end; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hmoney > :not(b):not(.chip) { display: none; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hmoney > .chip ~ .chip { display: none; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-hmoney > b { font-size: 18px; white-space: nowrap; }
  html.pkl .gx-rec > .gx-hero.stuck .gx-fold { grid-column: 4; grid-row: 1; align-self: center; width: 34px; height: 34px; }
}
/* an opened card is not a focus target any more; the ring stays on closed rows for the keyboard */
html.pkl .gx-row.open:focus-visible, html.pkl .gx-row.open:focus { outline: none; }

/* ---------- Nov 19 2026, 4:12 PM — Campaigns on the shared header; a campaign opens inside its card ---------- */
html.pkl .mk-page .mk-foot { margin: 16px 4px 0; display: grid; gap: 10px; }
html.pkl .mk-page .mk-foot p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--mute); overflow-wrap: anywhere; }
html.pkl .mk-page .mk-foot .mk-bad { color: var(--red-tx); font-weight: 600; }
html.pkl .mk-page .mk-fbtns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html.pkl .mk-crow .gx-meta .mk-pwhy { white-space: normal; overflow-wrap: anywhere; flex-basis: 100%; }
html.pkl .wh-bar .gx-count > .chip:first-child { flex: none; }
html.pkl .mk-cardin { margin-top: 14px; }
html.pkl .mk-cardin > .mk { padding: 0; margin: 0; }
html.pkl .mk-cardin .mk-note { margin-top: 0; }
@media (max-width: 900px) { html.pkl .mk-cardin .mk-pv iframe { max-width: 100%; } }
/* a sync error on the old Campaigns page wraps inside its box instead of running out of it */
.mk-k small { overflow-wrap: anywhere; }

/* ---------- Nov 19 2026, 4:41 PM — every closed card: the circle top-left, the status bottom-right, the words around them ----------
   Scott: "the icon and pause and lines take up a whole column of space each. they can be in the top left and bottom right corners and
   everything else stack around them." gxCorner (office.js) puts the circle and the number inside the words and moves the tags and the
   status (pill, bars, arrow) to the card's last line. The card is two rows: the words, with the circle floating in their top-left
   corner and the number in their top-right, wrapping around both and then running the full width; and the last line, tags on the
   left and the status pinned to the bottom-right corner, even when the card is stretched to match its neighbor. When the tags and
   the status don't fit on one line, the status drops under the tags, still on the right. */
html.pkl body .card.gx-row.gxc:not(.open) { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "who" "foot"; row-gap: 10px; align-items: stretch; padding: 14px 16px 13px; }
html.pkl .gx-row.gxc:not(.open) > .gx-who { grid-area: who; display: flow-root; min-width: 0; }
html.pkl .gx-row.gxc:not(.open) > .gxc-foot { grid-area: foot; align-self: end; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 14px; min-width: 0; }
html.pkl .gx-row.gxc .gxc-foot > .gx-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-height: 26px; margin: 0; }
html.pkl .gx-row.gxc .gxc-foot > .gxc-stat { margin-left: auto; flex: none; display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center; gap: 6px 10px; min-height: 26px; }
html.pkl .gx-row.gxc .gxc-foot > .gxc-stat:empty { display: none; }
html.pkl .gx-row.gxc .gxc-stat .gx-go { width: 20px; height: 20px; margin-left: 2px; }
html.pkl .gx-row.gxc > .gx-act, html.pkl .gx-row.gxc.open > .gxc-foot { display: none; }
html.pkl .gx-row.gxc .gx-who > .gx-av { float: left; width: 44px; height: 44px; margin: 1px 12px 6px 0; font-size: 14px; }
html.pkl .gx-row.gxc .gx-who > .gx-av.gx-av-img, html.pkl .wh .gx-row.gxc .gx-who > .gx-av, html.pkl .gx-srow.gxc .gx-who > .gx-av, html.pkl .gx-prow.gxc .gx-who > .gx-av { width: 52px; height: 52px; }
html.pkl .gx-row.gxc .gx-who > .gx-av.gx-av-ic packard-icon { transform: scale(.9); }
html.pkl[data-theme=light] .gx-row.gxc .gx-who > .gx-av.gx-av-ic { background: rgba(20,21,26,.06); }
html.pkl .gx-row.gxc .gx-who > .gxc-num { float: right; display: grid; justify-items: end; gap: 1px; margin: 0 14px 4px 14px; text-align: right; line-height: 1.15; }
html.pkl .gx-row.gxc .gxc-num .gx-tot { font: 800 17px/1.15 var(--sans); white-space: nowrap; }
html.pkl .gx-row.gxc .gxc-num .gx-sn { display: grid; justify-items: end; }
html.pkl .gx-row.gxc .gxc-num .gx-sn b { font-size: 20px; line-height: 1.05; }
html.pkl .gx-row.gxc .gxc-num small { font-size: 12px; color: var(--mute); white-space: nowrap; }
html.pkl .gx-row.gxc:not(.open) .gx-who > b { display: block; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; -webkit-line-clamp: unset; line-height: 1.22; }
html.pkl .gx-row.gxc:not(.open) .gx-who > .sub { display: block; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; margin-top: 2px; line-height: 1.3; }
html.pkl .gx-row.gxc:not(.open) .gx-who > .gx-items { display: block; margin-top: 6px; overflow-wrap: anywhere; line-height: 1.38; }
@media (max-width: 900px) {
  html.pkl body .card.gx-row.gxc:not(.open) { padding: 12px 13px 11px; row-gap: 8px; }
  html.pkl .gx-row.gxc .gx-who > .gx-av { width: 40px; height: 40px; margin-right: 10px; font-size: 13px; }
  html.pkl .gx-row.gxc .gx-who > .gx-av.gx-av-img, html.pkl .wh .gx-row.gxc .gx-who > .gx-av, html.pkl .gx-srow.gxc .gx-who > .gx-av, html.pkl .gx-prow.gxc .gx-who > .gx-av { width: 46px; height: 46px; }
  html.pkl .gx-row.gxc .gx-who > .gxc-num { margin-right: 12px; } html.pkl .gx-row.gxc .gxc-num .gx-tot { font-size: 15.5px; }
}
/* Messages cards the same way: the circle beside the name in the top-left corner, then what they said and the small line run the full
   width of the card under it (before, the circle held a column of its own the whole way down) */
html.pkl[data-theme][data-theme][data-theme] body .iconv.icard.gxm.gxm { display: flow-root !important; }
html.pkl .iconv.gxm > .gxm-av { float: left; margin: 0 11px 0 0; }
html.pkl .iconv.gxm > .gxm-main { display: block; }
html.pkl .iconv.gxm .gxm-top { min-height: 40px; }
html.pkl .iconv.gxm .ic-prev { clear: left; margin-top: 6px; }
html.pkl .iconv.gxm .gxm-meta { clear: left; margin-top: 6px; }

/* =====================================================================================================================
   Nov 19 2026, 9:23 PM — one card (Scott: "The dots should always show. Especially in scrolling small mode. Keep them on the right.
   Same place always. All cards. All pages. Small pills. No long strings on one line. We need them all the same. One perfect one.")
   One status block (.gxs: the small pill over the dots) sits in the same place on every card: bottom right on a closed card, right
   of the opened top, and right of the stuck top while you scroll. Cards with no steps (stock, customers, people) have the pill alone in
   the same spot. Every pill in a card is the same small pill. Long lines wrap or break into one line each; nothing is cut on one line.
   Built by gxCorner / gxStatBlock / gxHeroStat / gxBreakLines / gxLines (office.js).
   ===================================================================================================================== */
html.pkl body .gxs { display: inline-grid; justify-items: end; align-content: center; gap: 5px; flex: none; }
/* the small pill: one size everywhere in a card */
html.pkl body .gx-row .gxs .chip, html.pkl body .gx-hero .gxs .chip, html.pkl body .gx-row.gxc .gx-meta .chip {
  height: 20px; padding: 0 8px; gap: 4px; border-radius: 999px; font: 650 11px/20px var(--sans); letter-spacing: 0; text-transform: none; box-shadow: none; white-space: nowrap; }
html.pkl body .gx-row.gxc .gx-meta em.tag { padding: 0 8px; height: 20px; line-height: 20px; font-size: 11px; display: inline-flex; align-items: center; }
html.pkl body .gx-row.gxc .gx-meta em:not(.tag) { font-size: 12px; }
/* the dots: one size everywhere, always shown */
html.pkl body .gxs .gx-dots { display: inline-flex; gap: 4px; }
html.pkl body .gxs .gx-dots i { width: 14px; height: 6px; border-radius: 3px; box-shadow: none; }
html.pkl body .gx-hero .gxs .gx-dots { padding: 4px 6px; border-radius: 999px; }
/* closed card: tags on the left, the block bottom right, then the fold arrow */
html.pkl body .gx-row.gxc .gxc-foot > .gxc-stat { align-items: center; gap: 8px; }
/* the opened top: the number on the left of its row, the block on the right (phones); the right-hand column on a desk */
@media (max-width: 900px) {
  html.pkl body .gx-hero > .gx-hmoney { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 10px; }
  html.pkl body .gx-hero > .gx-hmoney > .gxs { margin-left: auto; }
}
@media (min-width: 901px) { html.pkl body .gx-hero > .gx-hmoney > .gxs { margin-top: 2px; } }
/* no long strings on one line: names and lines in the opened top wrap (two lines at most for the name) */
html.pkl body .gx-hero .gx-hid h2 { white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.05; }
html.pkl body .gx-hero .gx-hid > span { white-space: normal; overflow-wrap: anywhere; }
/* a list of things, one per line */
html.pkl body .gx-items.gx-lines { display: grid; gap: 1px; }
html.pkl body .gx-items.gx-lines > i { display: block; font-style: normal; overflow-wrap: anywhere; }
html.pkl body .gx-items.gx-lines > i.more { color: var(--mute); font-size: .92em; }
/* the stuck top while you scroll: circle, the name (two lines at most), the block, the fold button. Nothing else, so the dots fit. */
@media (max-width: 900px) {
  html.pkl body .gx-rec > .gx-hero.stuck { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
  html.pkl body .gx-rec > .gx-hero.stuck .gx-hid > span, html.pkl body .gx-rec > .gx-hero.stuck .gx-hid > b { display: none; }
  html.pkl body .gx-rec > .gx-hero.stuck .gx-hid h2 { font-size: 17px; line-height: 1.12; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: clip; }
  html.pkl body .gx-rec > .gx-hero.stuck .gx-hmoney { grid-column: 3; grid-row: 1; display: flex; margin: 0; }
  html.pkl body .gx-rec > .gx-hero.stuck .gx-hmoney > :not(.gxs) { display: none !important; }
  html.pkl body .gx-rec > .gx-hero.stuck .gx-hmoney > .gxs { display: inline-grid !important; margin: 0; }
  html.pkl body .gx-rec > .gx-hero.stuck .gx-hmoney > .gxs > .chip { display: inline-flex !important; }
}

/* =====================================================================================================================
   Nov 19 2026, 9:59 PM — no initials (Scott: "Stop putting initials. If anything put retail or dealer on orders. Use it to show
   something."). The circle carries a word or a mark that means something: Retail / Dealer / Both (orders, builds, customers), the lane
   (tunes, ECUs), a check (done tunes), the first day off (time off), the team or role (people), and on messages how they reached us.
   ===================================================================================================================== */
html.pkl body .gx-av.gx-av-word { display: grid; place-items: center; box-shadow: none; background: rgba(20,21,26,.07); color: var(--text); padding: 0; }
html.pkl body .gx-av.gx-av-word b { font: 800 9.5px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
html.pkl[data-theme=dark] body .gx-av.gx-av-word { background: rgba(255,255,255,.1); }
html.pkl body .gx-av.gx-av-word.w-dealer { background: #14151A; color: #fff; }
html.pkl[data-theme=dark] body .gx-av.gx-av-word.w-dealer { background: #F4F5F7; color: #14151A; }
html.pkl body .gx-av.gx-av-word.w-both { background: linear-gradient(135deg, #14151A 0 50%, rgba(20,21,26,.12) 50% 100%); color: #fff; }
html.pkl body .gx-av.gx-av-word.w-both b { text-shadow: 0 0 3px #14151A, 0 0 6px #14151A; }
html.pkl body .gx-av.gx-av-word.w-ride { background: var(--gx-blue-tag, rgba(33,80,196,.12)); color: var(--gx-blue-tx, #2150C4); }
html.pkl body .gx-av.gx-av-word.w-fu { background: var(--gx-amb-tag, rgba(184,110,0,.14)); color: var(--gx-amb-tx, #8A5300); }
html.pkl body .gx-av.gx-av-word.w-off { opacity: .55; }
html.pkl body .gx-av.w-done { background: rgba(31,122,77,.12); color: var(--gx-green, #1F7A4D); --ki-accent: var(--gx-green, #1F7A4D); }
/* on the opened top the circle is white, the word in ink; the dealer stays dark */
html.pkl body .gx-hero .gx-av.gx-av-word { background: #fff; color: #14151A; }
html.pkl body .gx-hero .gx-av.gx-av-word b { font-size: 11px; }
html.pkl body .gx-hero .gx-av.gx-av-word.w-dealer { background: #14151A; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
@media (min-width: 901px) { html.pkl body .gx-hero .gx-av.gx-av-word b { font-size: 13px; } }
html.pkl body .gx-rec > .gx-hero.stuck .gx-av.gx-av-word b { font-size: 9px; }
/* Messages: the circle is how they reached us (text, call or voicemail, email, the website) */
html.pkl body .gxm-av.gxm-by { color: #fff; background: #1F8A4C; }
html.pkl body .gxm-av.gxm-by svg { width: 18px; height: 18px; stroke-width: 2.2; fill: none; stroke: currentColor; }

/* =====================================================================================================================
   Nov 20 2026, 8:33 AM — the iPhone app's edges (Scott, with six pictures: "I still have a lot of ux issues. Lots not cropping
   correctly.") Reproduced in the harness with the app's safe area (status bar 62, plus its bar 48 while the bar shows).
   ===================================================================================================================== */
/* the closed drawer sat just off the right edge and its shadow showed as a grey band down every screen */
html body .drawer:not(.open) { box-shadow: none !important; }
/* Messages in the app: the row of places (Inbox, Call-backs, Updates, Answers) sat under the status bar, behind the app's bar, with an
   empty band below the bar. It now sits just under the bar, and the page starts under it. */
@media (max-width: 900px) {
  html.nbar.nbar-fit #gx-hub { margin-top: env(safe-area-inset-top, 0px); }
}
/* an open conversation in the app: its header cleared nothing and sat under the clock; now it starts under the status bar */
/* the band under it (department, mailbox, the customer, the order) wraps instead of running off the right edge */
/* the version, quietly, at the foot of the menu's fan, so a phone can be checked at a glance */
.gp-ver { display: block; text-align: center; font: 500 11px var(--mono, monospace); color: var(--g-ink, #888); opacity: .55; padding: 6px 0 2px; }
/* the filter rows (All / Jace's turn / On the customer …) fade at the edge like every other sideways bar, instead of cutting a word in half */
html body :is(.gx-seg, .hubseg, .subnav, nav.tabs, .seg).ovf-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }   /* every bar that runs past its edge fades there (Nov 22 2026: the hub bars and old tab rows too) */
html body :is(.gx-seg, .hubseg, .subnav, nav.tabs, .seg).ovf-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
html body :is(.gx-seg, .hubseg, .subnav, nav.tabs, .seg).ovf-l.ovf-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
/* Tunes' buttons (Email every waiting dealer, Show test orders, the HP Tuners code) wrap onto a second line instead of running off the edge */
@media (max-width: 900px) {
  html.pkl .wh-tune .wh-tools { flex-wrap: wrap; overflow-x: visible; }
  html.pkl .wh-tune .wh-tools > *, html.pkl .wh-tune .wh-tools form > .btn { flex: 0 1 auto; max-width: 100%; }
}
.gp-ver:empty { display: none; }

/* =====================================================================================================================
   Nov 20 2026, 9:50 AM — order status from the opened order (Scott: "Can we make it so we can change the order status on order from the
   app? … mark it shipped and closed and close it out on Shopify also"). Top of the Shopify card: where it stands in Shopify, what's left,
   and the one thing to press (Mark shipped, Close it out or Reopen).
   ===================================================================================================================== */
.gx-ost { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--gx-bd, var(--fog)); }
.gx-ost .gx-ost-state { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-ost .gx-ost-left { font-size: 13px; color: var(--mute); }
.gx-ost .gx-row-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.gx-ost .gx-row-acts .sub { font-size: 12.5px; color: var(--mute); flex: 1 1 180px; }
.gx-ost-form { display: flex; flex-direction: column; gap: 10px; }
.gx-ost-form[hidden] { display: none; }
.gx-ost-form .cin, .gx-ost-form .sel { width: 100%; }
.gx-ost-chk { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 36px; cursor: pointer; }
.gx-ost-chk input { width: 20px; height: 20px; flex: none; accent-color: var(--red, #E0262B); margin: 0; }
.gx-ost-why { font-size: 13px; color: var(--mute); margin: 0; line-height: 1.4; overflow-wrap: anywhere; }

/* Nov 20 2026: a tune or kit order's own time on the ship board and order lists (src/board.js track). Orange = stalled on parts. */
.tx-orange { color: #FF8A1F; } .tx-mute { color: var(--mute); }
html body .chip.orange, html.pkl body .gx-chips .chip.orange { background: rgba(255, 138, 31, .18); color: #FF8A1F; }
html[data-theme=light] .tx-orange, html[data-theme=light] .chip.orange { color: #B35300; }   /* 5.1:1 on white ("Stalled on parts" was 4.4:1; Nov 22 2026) */
.gx-dots i.hold { background: #FF8A1F; }
.gx-meta em.gx-tk { font-style: normal; font-weight: 600; }
html.pkl .gx-row.sh-tk-hold { box-shadow: var(--gx-sh), inset 3px 0 0 #FF8A1F; }
/* where a tune or kit stands, on its own line under the customer, so a long reason never squeezes the order number on a phone */
html.pkl .gx-row .gx-who > .sub.sh-tks { font-weight: 600; color: var(--text); opacity: .8; }

/* Superchargers → To order in the Warehouse layout (Nov 20 2026, Scott: "the parts to order isn't themed with the drop down and has a
   side bar"). The cards are the Supercharger parts cards; these are the few pieces that page did not have: the pick box beside the count
   box, the order bar that floats over the foot of the list once a part is picked, and the card for this week's McMaster order. */
html.pkl .sc-ord .pc-list + .pc-list { margin-top: 6px; }
html.pkl .sc-ord .pc-h .sc-pall { margin-left: 4px; min-height: 30px; padding: 0 12px; font: 600 12.5px var(--sans); letter-spacing: 0; text-transform: none; }
.sc-pick { position: relative; display: grid; justify-items: center; gap: 2px; cursor: pointer; }
.sc-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sc-pick i { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--mute) 55%, transparent); background: var(--gx-soft); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.sc-pick i::after { content: ''; width: 17px; height: 9px; border-left: 3px solid color-mix(in srgb, var(--mute) 28%, transparent); border-bottom: 3px solid color-mix(in srgb, var(--mute) 28%, transparent); transform: translateY(-2px) rotate(-45deg); }
.sc-pick:hover i { border-color: var(--mute); }
.sc-pick input:checked + i { background: var(--text); border-color: var(--text); }
.sc-pick input:checked + i::after { border-color: var(--gx-card); }
.sc-pick input:focus-visible + i { box-shadow: 0 0 0 3px rgba(255,2,10,.18); border-color: rgba(255,2,10,.45); }
.sc-pick small { font: 500 11.5px var(--sans); color: var(--mute); }
html.pkl .sc-ord .gx-prow .gx-tot:empty { display: none; }
html.pkl .sc-ord .gx-prow .gx-items { display: grid; gap: 1px; margin-top: 3px; font-size: 13.5px; color: var(--text); }
html.pkl .sc-ord .gx-prow .gx-items i { font-style: normal; }
/* glass is for what floats: the order bar rides over the list */
.sc-obar { position: fixed; bottom: 18px; z-index: 30; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border-radius: 22px;
  background: var(--g-bg, color-mix(in srgb, var(--gx-card) 80%, transparent)); -webkit-backdrop-filter: var(--g-blur, blur(20px) saturate(1.6)); backdrop-filter: var(--g-blur, blur(20px) saturate(1.6));
  box-shadow: var(--g-rim, inset 0 0 0 .5px rgba(255,255,255,.3)), var(--g-shadow, 0 12px 34px -10px rgba(0,0,0,.4)); }
.sc-obar[hidden] { display: none; }
html.pkl .sc-ord.has-bar { padding-bottom: 110px; }
.sc-obar > b { font: 700 15px var(--sans); color: var(--text); white-space: nowrap; margin: 0 4px 0 2px; }
.sc-obar .cin, .sc-mact .cin { flex: 1 1 170px; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--gx-bd2, var(--gx-bd)); background: var(--gx-card); color: var(--text); font: 500 14.5px var(--sans); }
.sc-obar .cin:focus, .sc-mact .cin:focus { outline: 0; border-color: rgba(255,2,10,.45); box-shadow: 0 0 0 3px rgba(255,2,10,.12); }
.sc-of { display: flex; align-items: center; gap: 8px; flex: 1 1 210px; min-width: 0; font: 600 12.5px var(--sans); color: var(--mute); white-space: nowrap; }
.sc-of .cin { flex: 1 1 auto; }
.sc-obar .btn, .sc-mact .btn { min-height: 44px; flex: 0 0 auto; }
/* this week's McMaster order */
html.pkl .sc-msum { margin: 2px 0 4px; }
.sc-mfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 2px 0 12px; }
.sc-mfacts > div { display: grid; gap: 3px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--gx-soft); }
.sc-mfacts small { font: 600 12px var(--sans); color: var(--mute); }
.sc-mfacts b { font: 700 24px/1.1 var(--disp); letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.sc-mact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0; }
html.pkl .sc-msum > .sub { margin: 0; font-size: 13.5px; line-height: 1.45; }
/* who orders, who receives */
html.pkl .sc-whoc { margin-bottom: 14px; }
.sc-whochk { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; font: 500 14px var(--sans); color: var(--text); }
.sc-whochk label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sc-whochk input { width: 18px; height: 18px; accent-color: var(--text); }
html.pkl .sc-whoc .gx-row-acts { align-items: center; }
html.pkl .sc-wholog { margin-top: 12px; } html.pkl .sc-wholog summary { cursor: pointer; }
/* an order on the way, opened */
.sc-wl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-wl li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.sc-wl li b { font: 700 20px/1 var(--disp); text-align: right; color: var(--text); }
.sc-wl li span { font: 500 14.5px/1.35 var(--sans); color: var(--text); overflow-wrap: anywhere; }
.sc-wl li em { font-style: normal; color: var(--mute); font-size: 13px; }
html.pkl .sc-ord .sc-hist { margin-top: 14px; }
html.pkl .sc-ord .sc-recent .sc-mini { display: block; padding: 8px 4px; font-size: 13.5px; color: var(--text); border-top: 1px solid var(--gx-bd); }
html.pkl .sc-ord .sc-recent .sc-mini em { font-style: normal; color: var(--mute); margin-left: 6px; }
@media (max-width: 900px) {
  .sc-obar { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  html.pkl .sc-ord.has-bar { padding-bottom: 90px; }
  .sc-mact .btn { flex: 1 1 calc(50% - 5px); justify-content: center; }
  /* on a phone the bar is one line (how many are picked, and the button) until the button is tapped; then the vendor, the day and the PO open above it */
  .sc-obar { gap: 8px; padding: 10px 10px 10px 16px; }
  .sc-obar > b { flex: 1 1 auto; }
  .sc-obar:not(.open) .cin, .sc-obar:not(.open) .sc-of { display: none; }
  .sc-obar.open { padding: 12px; } .sc-obar.open > b { flex-basis: 100%; }
  .sc-obar.open .btn.red { flex: 1 1 100%; justify-content: center; }
  .sc-obar.open .cin { flex: 1 1 100%; }
  /* three money boxes side by side cut the cents onto a second line on a phone; there they read as three lines, label left and money right */
  .sc-mfacts { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sc-mfacts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; }
  .sc-mfacts small { font-size: 13.5px; }
  .sc-mfacts b { font-size: 20px; white-space: nowrap; }
}

/* ---------- Warehouse (Nov 22 2026, the Office night, Pass 2) ---------- */
.nb { white-space: nowrap; }   /* a SKU stays on one line */
.pp-acts { flex-wrap: wrap; } .pp-acts > .sub { flex: 1 1 220px; min-width: 0; }   /* the item page's note gets its own line on a phone instead of a word a line */

/* ---------- Ship (Nov 22 2026, the Office night, Pass 3) ---------- */
.gx-ost-left.gx-lines { display: grid; gap: 1px; } .gx-ost-left.gx-lines > i { display: block; font-style: normal; }   /* what's left to ship, a line each (punch list 36) */
@media (min-width: 901px) { html.pkl:not(:has(body.fit)) { scrollbar-gutter: stable; } }   /* on a desk a short page and a long one line up: the page keeps room for its scroll bar (Messages and Chat scroll inside their panes); punch list 39 */
html.pkl[data-theme] body .field .row > :is(input, select) + .btn { height: 40px; }   /* a button beside a form field is the field's height (the warranty note's Add) */
@media (max-width: 900px) { #shipset button.chip { height: 36px; padding: 0 14px; font-size: 14px; } }   /* the crew chips in Board settings take a thumb (24 high before; punch list 43) */
/* the pick list (Pass 3): a table in the drawer, and the same table alone on paper */
.pick-h { margin: 0 0 10px; } .pick { padding: 6px 0; overflow-x: auto; }
.pick-t { width: 100%; border-collapse: collapse; font-size: 14px; } .pick-t th { text-align: left; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding: 8px 12px; border-bottom: 1px solid var(--gx-bd, var(--fog)); }
.pick-t td { padding: 9px 12px; border-bottom: 1px solid var(--gx-bd, var(--fog)); vertical-align: top; } .pick-t tr:last-child td { border-bottom: 0; }
.pick-t td b { display: block; font-weight: 600; } .pick-t td small { color: var(--mute); }
.pick-q { font: 800 20px/1 var(--disp); width: 54px; } .pick-sku { font: 500 12.5px var(--mono); color: var(--mute); } .pick-o { color: var(--mute); font-size: 13px; }
#pick-sheet { display: none; }
@media print {
  body.pick-printing > *:not(#pick-sheet) { display: none !important; }
  body.pick-printing #pick-sheet { display: block; color: #000; background: #fff; padding: 0; }
  body.pick-printing #pick-sheet h1 { font: 700 22px var(--sans); margin: 0 0 4px; } body.pick-printing #pick-sheet .pick-t td, body.pick-printing #pick-sheet .pick-t th { border-color: #bbb; color: #000; }
}

/* ---------- Front desk (Nov 22 2026, the Office night, Pass 4) ---------- */
.row > .spacer { flex: 1 1 auto; }   /* a spacer in a row pushes what follows to the right edge, as it does in the top bar (Policies' Edit and Delete sat beside the title) */
.ans .row { flex-wrap: wrap; } .ans .row > b { min-width: 0; overflow-wrap: anywhere; }   /* on a phone Edit and Delete wrap instead of running off */
.upd-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .upd-h .aside { margin-right: auto; }   /* a group's name, how many, and Send all on the right */
.upd-g.folded > .upd:nth-of-type(n+6) { display: none; } .upd-g:not(.folded) > .upd-more { display: none; } .upd-more { width: 100%; margin: 4px 0 18px; }
.upd-mode { display: grid; grid-template-columns: minmax(0, 260px) auto 1fr; gap: 12px; align-items: center; } .upd-who { margin: 0 0 8px; }
@media (max-width: 900px) { .upd-mode { grid-template-columns: 1fr; gap: 6px; padding: 6px 0; } }
.upd-link > label { flex: 1 1 auto; display: grid; gap: 4px; min-width: 0; } .upd-link #upd-rurl { width: 100%; height: 34px; }
.cb .row .cin.cb-note { height: 34px; } html.pkl[data-theme] body .row > .sel.sm { height: 34px; }   /* a note box or a small select beside small buttons is their height */

/* ---------- Tuning (Nov 22 2026, the Office night, Pass 4) ---------- */
@media (max-width: 900px) {
  .kl { flex-wrap: wrap; } .kl-lv { flex: 1 1 100%; max-width: none; gap: 6px; justify-content: flex-start; padding-left: 64px; } .kl-lv .lv { min-height: 32px; padding: 6px 10px; font-size: 12px; border-radius: 8px; }   /* the level buttons get their own line under the name (Pass 4 let them squeeze the name to a word a line; caught by the fresh-eyes audit) */   /* the packing level buttons take a thumb (18 high before; punch list 46) */
  .sc-line .pc-in.sm { height: 36px; }
}
html.pkl[data-theme=dark] body .sc-line.packed .sc-check { background: #1F7A4D; border-color: #1F7A4D; }   /* white tick at 5.3:1 (on the bright green it was 1.9:1) */
html.pkl .sc-h { margin: 18px 2px 8px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }   /* the Superchargers section titles in the same small capitals as every other section's (punch list 45) */
.kl .pc-in.sm { height: 34px; } html.pkl[data-theme][data-theme] body .sc-line .sc-check { width: 34px; height: 34px; }   /* the packing row's count box and tick are its buttons' height */
#al-sec, #al-name, #al-qty { height: 38px; }   /* the add-a-line form's boxes are its Add button's height */
@media (max-width: 900px) { .kl .pc-in.sm { height: 34px; } html.pkl .sc-page summary, html.pkl #wh-body summary, html.pkl .upd-recent > summary { min-height: 44px; display: flex; align-items: center; } }

/* ---------- Overview and Team (Nov 22 2026, the Office night, Pass 5) ---------- */
@media (max-width: 900px) { .panel .more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; } }   /* "Open customers →" takes a thumb */
html.pkl[data-theme=dark] .mk-ck.ok i { background: #1F7A4D; border-color: #1F7A4D; }   /* a campaign's ready tick reads in the dark themes (white on the bright green was 1.9:1) */
html.pkl[data-theme=dark] { --del-tx: #FF8A92; }   /* "Delete this claim" on the Graphite card, 5.6:1 */
.pli .l span.stag.dealer { color: #fff; }   /* the Dealer tag in a list line keeps its white words (the line's grey beat them, 3.3:1) */
html.pkl[data-theme=dark] .to-gap:not(.maybe) { color: var(--red-tx); }   /* "Nobody on ECUs" on the dark calendar (the light red was 1.9–2.3:1) */

/* ---- Shelves (Dec 4 2026): the center racks, spot by spot (public/shelves.js). Pattern colours match the band styles on the labels. ---- */
.sh-sw { display: inline-block; width: 18px; height: 12px; border-radius: 3px; flex: none; vertical-align: -1px; background: var(--c); }
.sh-sw.big { width: 28px; height: 20px; border-radius: 5px; }
.sh-sw-stripes { background: repeating-linear-gradient(0deg, var(--c) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1.5px var(--c); }
.sh-sw-outline { background: transparent; box-shadow: inset 0 0 0 3px var(--c); }
.sh-sw-dots { background: radial-gradient(circle, rgba(255,255,255,.95) 1.2px, transparent 1.6px) 0 0 / 5px 5px, var(--c); }
.sh-sw-double { background: linear-gradient(var(--c) 0 2px, transparent 2px calc(100% - 2px), var(--c) calc(100% - 2px)); box-shadow: inset 0 3px 0 transparent; }
.sh-sw-double.big { background: linear-gradient(var(--c) 0 3px, transparent 3px 5px, var(--c) 5px 7px, transparent 7px calc(100% - 7px), var(--c) calc(100% - 7px) calc(100% - 5px), transparent calc(100% - 5px) calc(100% - 3px), var(--c) calc(100% - 3px)); }
.sh-pat { display: inline-flex; align-items: center; gap: 6px; font: 700 13px var(--sans); color: var(--c); white-space: nowrap; }
.sh-fin { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font: 700 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--mute); }
.sh-fin.mid { background: var(--text); color: var(--card, #fff); box-shadow: none; }
html.pkl[data-theme=dark] .sh-fin.mid { background: #F4F6F9; color: #0F1216; }
.sh-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 2px 2px 14px; font: 600 12px var(--sans); color: var(--mute); }
.sh-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sh-legend .sh-lg-mid i { width: 18px; height: 12px; border-radius: 3px; background: #0A0B0D; box-shadow: inset 0 0 0 1px rgba(127,127,127,.6); }
.sh-legend .sh-lg-n em { font: 700 10px var(--sans); font-style: normal; background: var(--gx-amb-tag); color: var(--gx-amb-tx); border-radius: 999px; padding: 1px 6px; }
.sh-findsay { margin: 0 2px 10px; color: var(--mute); } .sh-findsay b { color: var(--text); }
.sh-racks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sh-rack { padding: 12px; display: grid; gap: 10px; align-content: start; }
.sh-rack header { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sh-rack header span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sh-rack header em { font-style: normal; font-size: 12px; color: var(--mute); }
.sh-rl { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 9px; background: var(--red-ui, var(--red)); color: #fff; font: 700 20px 'Barlow Condensed', var(--sans); }
.sh-lvls { display: grid; gap: 6px; }
.sh-lv { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.sh-lv > i { font-style: normal; font: 600 10px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); display: grid; place-items: center; border-right: 2px solid var(--gx-bd); }
.sh-cells { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 5px; }
.sh-stack { display: grid; gap: 3px; }
.sh-cell { position: relative; min-height: 46px; padding: 5px 6px; border-radius: 9px; border: 1px solid var(--gx-bd); background: var(--gx-soft); color: var(--text); font: 700 12px var(--sans); text-align: left; display: grid; align-content: center; line-height: 1.15; cursor: pointer; overflow: hidden; transition: transform .15s var(--gx-spring), opacity .2s, box-shadow .2s; }
.sh-stack .sh-cell { min-height: 36px; }
.sh-cell small { display: block; font: 600 10px var(--sans); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-cell.empty { background: transparent; border-style: dashed; border-color: var(--fog-2, rgba(127,127,127,.35)); }
.sh-cell.full { border-left: 5px solid var(--c); }
.sh-cell.full.mid { background: #0A0B0D; color: #fff; border-top-color: rgba(255,255,255,.18); border-right-color: rgba(255,255,255,.18); border-bottom-color: rgba(255,255,255,.18); }
.sh-cell.full.mid small { color: #C9CED6; }
.sh-cell em { position: absolute; top: 3px; right: 4px; font: 700 10px var(--sans); font-style: normal; background: var(--gx-amb-tag); color: var(--gx-amb-tx); border-radius: 999px; padding: 0 5px; }
.sh-cell:hover { transform: translateY(-1px); box-shadow: var(--gx-sh); }
.sh-cell.hit { box-shadow: 0 0 0 2px var(--c), 0 0 18px -2px var(--c); transform: scale(1.03); z-index: 1; }
.sh-cell.dim { opacity: .28; }
.sh-prow { grid-template-columns: auto minmax(0, 1fr) auto; }
.sh-pdot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gx-soft); }
.sh-pnum { display: grid; justify-items: end; gap: 2px; text-align: right; }
.sh-pnum b { font: 700 22px var(--sans); }
.sh-pnum small { font-size: 12px; color: var(--mute); }
.sh-lab { display: grid; gap: 12px; max-width: 980px; }
.sh-lcard { padding: 16px 18px; display: grid; gap: 10px; }
.sh-lcard h3 { margin: 0; font: 700 17px var(--sans); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.sh-lcard h3 .sub { font: 500 13px var(--sans); }
.sh-lcard p { margin: 0; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-warn { padding: 10px 12px; border-radius: 10px; background: var(--gx-amb-tag); color: var(--gx-amb-tx); font-weight: 600; }
.sh-ltable { display: grid; gap: 4px; max-height: 60vh; overflow: auto; padding-right: 4px; }
.sh-lrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--gx-bd); }
.sh-lrow .sh-pdot { width: 30px; height: 30px; border-radius: 8px; }
.sh-lname { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-width: 0; }
.sh-lname small { flex-basis: 100%; color: var(--mute); font-size: 12px; }
.sh-step { display: inline-flex; align-items: center; border: 1px solid var(--gx-bd); border-radius: 10px; overflow: hidden; }
.sh-step button { width: 34px; height: 36px; border: 0; background: var(--gx-soft); color: var(--text); font: 700 18px var(--sans); cursor: pointer; }
.sh-step input { width: 48px; height: 36px; border: 0; background: transparent; color: var(--text); text-align: center; font: 700 16px var(--sans); -moz-appearance: textfield; }
.sh-step input::-webkit-inner-spin-button, .sh-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sh-lfoot { align-items: center; }
.sh-perbox { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 600; }
.sh-perbox input, .sh-quick input, .sh-rname, .sh-prow2 select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--gx-bd); background: var(--gx-soft); color: var(--text); font: 600 16px var(--sans); }
.sh-perbox input { width: 110px; font-size: 20px; }
.sh-quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--gx-soft); }
.sh-quick label { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; } .sh-quick input { width: 70px; }
.sh-rlist { display: grid; gap: 8px; }
.sh-rrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gx-bd); }
.sh-rrow label { display: inline-flex; gap: 6px; align-items: center; font: 600 13px var(--sans); color: var(--mute); }
.sh-rname { flex: 1 1 220px; min-width: 160px; }
.sh-ab { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font: 600 13px var(--sans); color: var(--mute); }
.sh-prow2 { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gx-bd); }
.sh-prow2 > span { flex: 1 1 220px; display: grid; } .sh-prow2 small { color: var(--mute); }
.sh-prow2 select { max-width: 100%; }
.sh-dhead { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.sh-dhead > div { display: grid; gap: 4px; }
.sh-dname { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 18px; }
.sh-code { font: 700 28px 'Barlow Condensed', var(--sans); letter-spacing: .02em; color: var(--red-tx); }
.sh-code.huge { font-size: 72px; line-height: 1; }
.sh-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.sh-facts > div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--gx-soft); }
.sh-facts small { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sh-facts b { font: 700 24px var(--sans); }
.sh-suggest { display: grid; gap: 2px; padding: 12px; border-radius: 12px; margin-bottom: 12px; background: var(--gx-blue-tag); }
.sh-hist { display: grid; gap: 6px; } .sh-hist div { display: grid; } .sh-hist small { color: var(--mute); }
.sh-next { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 18px 0; }
.sh-bcard.open { box-shadow: inset 4px 0 0 var(--gx-amb-tx), var(--gx-sh); }
.sh-clist { display: grid; gap: 8px; margin-top: 10px; }
.sh-crow { display: grid; grid-template-columns: auto minmax(0, 1fr) 96px; gap: 10px; align-items: center; padding: 10px 12px; border-left: 5px solid var(--c); }
.sh-crow.gone { opacity: .55; }
.sh-crow input { height: 42px; border-radius: 10px; border: 1px solid var(--gx-bd); background: var(--gx-soft); color: var(--text); font: 700 18px var(--sans); text-align: center; width: 100%; }
.sh-here { min-width: 84px; height: 42px; border-radius: 10px; border: 0; font: 700 14px var(--sans); cursor: pointer; background: var(--gx-green, #1F7A4D); color: #fff; }
.sh-crow.gone .sh-here { background: var(--gx-soft); color: var(--text); }
.sh-cname { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-width: 0; } .sh-cname small { flex-basis: 100%; color: var(--mute); }
/* the scanner that stays open */
.shscan { position: fixed; inset: 0; z-index: 400; background: #000; display: flex; flex-direction: column; color: #F3F4F6; }
.shscan video { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; }
.shscan-frame { position: absolute; left: 50%; top: 36%; width: min(62vw, 280px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 22px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.36); pointer-events: none; }
.shscan-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; background: linear-gradient(rgba(0,0,0,.7), transparent); font: 700 17px var(--sans); }
.shscan.nocam video, .shscan.nocam .shscan-frame { display: none; }
.shscan.nocam { justify-content: flex-end; }
.shscan-bar { position: relative; display: grid; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: #14161B; }
.shscan-say { display: grid; gap: 3px; text-align: center; padding: 6px 4px; border-radius: 12px; }
.shscan-say b { font: 700 20px var(--sans); } .shscan-say span { font: 500 14px var(--sans); color: #B7BDC7; }
.shscan-say.ok b { color: #5BE39A; } .shscan-say.bad b { color: #FF6B78; } .shscan-say.warn b { color: #F5C26B; }
.shscan-say.big b { font: 700 54px 'Barlow Condensed', var(--sans); color: #FF6B78; line-height: 1; }
.shscan-list { margin: 0; padding: 0 0 0 20px; max-height: 96px; overflow: auto; font: 500 13px var(--sans); color: #B7BDC7; }
.shscan-type { display: flex; gap: 8px; }
.shscan-type input::placeholder { text-transform: none; }
.shscan-type input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit; font: 600 16px var(--sans); text-transform: uppercase; }
.shscan .btn { min-height: 42px; }
@media (max-width: 700px) { .sh-racks { grid-template-columns: 1fr; } .sh-lrow { grid-template-columns: auto minmax(0, 1fr) auto; } .sh-lrow [data-one] { grid-column: 2 / -1; justify-self: start; } .sh-code.huge { font-size: 60px; } }
