/* MPrints owner dashboard, layout v7 (Oct 18): dark slate sidebar with every tab, a work board on Today,
   compact tables everywhere. Same palette and type as the shop: sand, deep slate, gold; Cinzel + EB Garamond.
   Loaded only on /admin/, after site.css, layout.css and store.css. */

body.is-dash {
  --d-side: #26313A; --d-side-2: #1E272E; --d-side-ink: #E4DAC3; --d-side-muted: #A3ACB2;
  --d-sheet: #FBF6E8; --d-tint: #F6EEDC; --d-panel: #EADFC4;
  --d-line: rgba(122,90,24,.22); --d-line-2: rgba(122,90,24,.12);
  --d-r: 0; --d-r-sm: 0;
  background: #F3EAD6; margin: 0;
}
body.is-dash main { display: block; margin: 0; padding: 0; }
body.is-dash .dash { padding: 0; margin: 0; }
body.is-dash .dash *:not(.dash-head h2):not(.bd-head h3) { text-transform: none; }
.dash { --gutter: clamp(1rem, 2.6vw, 2.25rem); font-size: 1rem; color: var(--ink); }
body.is-dash .dash .small { font-size: .9rem; }
body.is-dash .dash .muted { color: var(--muted); }
body.is-dash .dash .err { color: var(--err); }
body.is-dash .dash .mt { margin-top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.is-dash .dash .dash-msg { max-width: 40rem; margin: 4rem auto; padding: 0 1rem; text-align: center; }

/* ================= shell ================= */
body.is-dash .dash .dash-grid:not([hidden]) { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; }
body.is-dash .dash .dash-main { min-width: 0; padding: 1.6rem var(--gutter) 4rem; max-width: 96rem; }
body.is-dash .dash .dash-mbar, body.is-dash .dash .dash-scrim, body.is-dash .dash .dash-menu-x { display: none; }

/* sidebar */
body.is-dash .dash .dash-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: .9rem; padding: 1.1rem .75rem 1rem; background: var(--d-side); background-image: var(--lattice); color: var(--d-side-ink); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
body.is-dash .dash .dash-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 .4rem; }
body.is-dash .dash .dash-logo { display: inline-flex; align-items: center; gap: .1rem; text-decoration: none; color: #F3EAD6; font: 700 1.2rem var(--caps); letter-spacing: .12em; }
body.is-dash .dash .dash-logo .mark { width: 2.2rem; height: 2.2rem; }
body.is-dash .dash .dash-find { position: relative; display: flex; align-items: center; margin: 0; }
body.is-dash .dash .dash-find .dn-ic { position: absolute; left: .7rem; width: 1rem; height: 1rem; color: var(--d-side-muted); pointer-events: none; }
body.is-dash .dash .dash-find input[type="search"] { width: 100%; height: 2.4rem; padding: 0 .75rem 0 2.15rem; border-radius: var(--d-r-sm); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #F3EAD6; font: 400 .98rem var(--text); }
body.is-dash .dash .dash-find input::placeholder { color: var(--d-side-muted); }
body.is-dash .dash .dash-find input:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; background: rgba(255,255,255,.1); }
body.is-dash .dash .dash-find .btn { display: none; }
body.is-dash .dash .dash-nav { display: flex; flex-direction: column; gap: .15rem; flex: 1 1 auto; }
body.is-dash .dash .dash-sub { display: flex; flex-direction: column; gap: 1px; }
body.is-dash .dash .dash-sub + .dash-sub { margin-top: .55rem; }
body.is-dash .dash .dash-group { margin: 0 0 .2rem; padding: 0 .7rem; font: 700 .64rem var(--caps); letter-spacing: .16em; color: rgba(201,160,85,.85); }
body.is-dash .dash .dash-nav button { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .48rem .7rem; border: 0; border-radius: var(--d-r-sm); background: none; color: var(--d-side-ink); font: 500 1.02rem var(--text); text-align: left; cursor: pointer; position: relative; }
body.is-dash .dash .dash-nav button[hidden] { display: none; }
body.is-dash .dash .dash-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
body.is-dash .dash .dash-nav button[aria-selected="true"] { background: rgba(201,160,85,.16); color: #F7EED8; }
body.is-dash .dash .dash-nav button[aria-selected="true"]::before { content: ""; position: absolute; left: -.75rem; top: .35rem; bottom: .35rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
body.is-dash .dash .dn-ic { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
body.is-dash .dash .dn-label { flex: 1 1 auto; }
body.is-dash .dash .dash-nav .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.3rem; padding: 0 .4rem; border-radius: 999px; font: 700 .72rem var(--text); background: rgba(255,255,255,.1); color: var(--d-side-ink); }
body.is-dash .dash .dash-nav .count:not(.has), body.is-dash .dash .dash-nav .count[hidden] { display: none; }
body.is-dash .dash .dash-nav .count.has { background: var(--gold); color: #2A2013; }
body.is-dash .dash .dash-nav .count.quiet.has { background: rgba(255,255,255,.12); color: var(--d-side-ink); }
body.is-dash .dash .dash-nav .count.warn.has { background: #C9563F; color: #fff; }
body.is-dash .dash .dash-side-foot { display: grid; gap: 1px; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.1); }
body.is-dash .dash .dash-shoplink { margin: 0; width: 100%; letter-spacing: 0; display: flex; align-items: center; gap: .65rem; padding: .45rem .7rem; border: 0; border-radius: var(--d-r-sm); background: none; color: var(--d-side-muted); font: 400 .95rem var(--text); text-decoration: none; cursor: pointer; text-align: left; }
body.is-dash .dash .dash-shoplink:hover { color: #fff; background: rgba(255,255,255,.06); }
body.is-dash .dash .dash-side :focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ================= panel frame ================= */
body.is-dash .dash .dash-panel { margin: 0; }
body.is-dash .dash .dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin: 0 0 1.1rem; }
body.is-dash .dash .dash-head h2 { margin: 0; font: 700 1.55rem/1.15 var(--caps); letter-spacing: .04em; color: var(--strong); }
body.is-dash .dash .dash-date { margin: .2rem 0 0; color: var(--muted); font-size: 1rem; }
body.is-dash .dash .dash-intro { margin: -.6rem 0 1.1rem; max-width: 46rem; color: var(--muted); font-size: .98rem; }
body.is-dash .dash .dash-intro .linkish { font-size: inherit; }
body.is-dash .dash .dash-panel > p.muted { margin: 0 0 1rem; max-width: 46rem; font-size: .98rem; }
body.is-dash .dash .dash-box { background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); padding: 1rem 1.1rem; margin: 0 0 1rem; }
body.is-dash .dash .dash-box h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font: 700 .95rem var(--caps); letter-spacing: .05em; color: var(--strong); }
body.is-dash .dash .dash-box h3.mt { margin-top: 1.3rem; }
body.is-dash .dash .dash-box h4 { margin: 1rem 0 .45rem; font: 600 .95rem var(--text); color: var(--strong); letter-spacing: 0; text-transform: none; }
body.is-dash .dash .box-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .5rem; }
body.is-dash .dash .box-head h3 { margin: 0; }
body.is-dash .dash .dash-box .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.3rem; padding: 0 .35rem; border-radius: 999px; background: rgba(var(--gold-rgb),.18); color: var(--gold-text); font: 700 .72rem var(--text); }
body.is-dash .dash .linkish { background: none; border: 0; padding: 0; color: var(--gold-text); font: inherit; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb),.45); text-underline-offset: .2em; cursor: pointer; }
body.is-dash .dash .linkish:hover { color: var(--gold-deep); }

/* ================= controls ================= */
body.is-dash .dash .btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 0; margin: 0; padding: .55rem 1rem; border: 1px solid var(--gold); border-radius: var(--d-r-sm); background: var(--gold); color: #2A2013; font: 600 .95rem/1.1 var(--text); letter-spacing: .01em; text-transform: none; box-shadow: none; white-space: nowrap; cursor: pointer; text-decoration: none; }
body.is-dash .dash .btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
body.is-dash .dash .btn-ghost { background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.55); }
body.is-dash .dash .btn-ghost:hover { background: rgba(var(--gold-rgb),.1); color: var(--strong); border-color: var(--gold); }
body.is-dash .dash .btn-sm { padding: .38rem .7rem; font-size: .88rem; }
body.is-dash .dash .btn:disabled, body.is-dash .dash .btn.disabled { opacity: .5; pointer-events: none; }
body.is-dash .dash .btn.danger, body.is-dash .dash .btn-ghost.danger { color: var(--err); border-color: rgba(var(--err-rgb),.45); background: transparent; }
body.is-dash .dash .btn.danger:hover { background: rgba(var(--err-rgb),.08); }
body.is-dash .dash .field { margin: 0 0 .8rem; }
body.is-dash .dash .field label, body.is-dash .dash .chk { display: block; margin: 0 0 .3rem; font: 600 .9rem var(--text); letter-spacing: 0; text-transform: none; color: var(--muted); }
body.is-dash .dash .field.inline { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0; }
body.is-dash .dash .field.inline label { margin: 0; }
body.is-dash .dash .field.inline input { width: 5.5rem; }
body.is-dash .dash .chk { display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: var(--ink); cursor: pointer; }
body.is-dash .dash .chk input { accent-color: var(--gold); width: 1.05rem; height: 1.05rem; margin: 0; }
body.is-dash .dash input[type="search"], body.is-dash .dash input[type="text"], body.is-dash .dash input[type="number"], body.is-dash .dash input[type="email"], body.is-dash .dash input[type="date"], body.is-dash .dash select, body.is-dash .dash textarea {
  width: 100%; min-width: 0; box-sizing: border-box; padding: .45rem .65rem; border: 1px solid rgba(var(--gold-rgb),.35); border-radius: var(--d-r-sm); background: #FFFCF4; color: var(--ink); font: 400 1rem var(--text); }
body.is-dash .dash .dash-side input[type="search"] { background: rgba(255,255,255,.06); color: #F3EAD6; }
body.is-dash .dash input:focus-visible, body.is-dash .dash select:focus-visible, body.is-dash .dash textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
body.is-dash .dash .money-wrap { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem; max-width: 8rem; }
body.is-dash .dash .money-wrap span, body.is-dash .dash .pct-row span { color: var(--muted); }
body.is-dash .dash .pct-row { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: .35rem; }
body.is-dash .dash .pct-row input { width: 4.6rem; }

/* tabs: one underlined row */
body.is-dash .dash .dash-tabs { display: flex; flex-wrap: wrap; gap: 0 .2rem; margin: 0 0 .9rem; padding: 0; border-bottom: 1px solid var(--d-line); }
body.is-dash .dash .dash-tabs.small { border-bottom: 0; gap: .3rem; margin-top: -.3rem; }
body.is-dash .dash .dash-tab { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 -1px; padding: .5rem .7rem .55rem; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 600 .97rem var(--text); letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
body.is-dash .dash .dash-tab:hover { color: var(--strong); }
body.is-dash .dash .dash-tab[aria-selected="true"] { color: var(--strong); border-bottom-color: var(--gold); }
body.is-dash .dash .dash-tabs.small .dash-tab { margin: 0; padding: .25rem .65rem; border: 1px solid var(--d-line); border-radius: 999px; font-size: .88rem; }
body.is-dash .dash .dash-tabs.small .dash-tab[aria-selected="true"] { background: var(--strong); border-color: var(--strong); color: #F3EAD6; }
body.is-dash .dash .dash-tab .count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.25rem; padding: 0 .35rem; border-radius: 999px; background: rgba(var(--ink-rgb),.08); font: 700 .72rem var(--text); color: inherit; }
body.is-dash .dash .dash-tab[aria-selected="true"] .count { background: var(--gold); color: #2A2013; }
body.is-dash .dash .dash-tabs.small .dash-tab[aria-selected="true"] .count { background: rgba(255,255,255,.18); color: inherit; }
body.is-dash .dash .dash-tab.attn .count { background: rgba(var(--err-rgb),.14); color: var(--err); }
body.is-dash .dash .dash-tools { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: .5rem; margin: 0 0 .8rem; }

/* status badges: a colored dot + word */
body.is-dash .dash .badge { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem .12rem .45rem; border: 0; border-radius: 999px; background: rgba(var(--ink-rgb),.07); color: var(--ink); font: 600 .8rem var(--text); letter-spacing: 0; text-transform: none; white-space: nowrap; }
body.is-dash .dash .badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; opacity: .9; }
body.is-dash .dash .badge-paid { color: #7A5A18; background: rgba(var(--gold-rgb),.16); }
body.is-dash .dash .badge-in_production { color: #2F5F94; background: rgba(47,95,148,.1); }
body.is-dash .dash .badge-shipped { color: #3F6A28; background: rgba(63,106,40,.1); }
body.is-dash .dash .badge-delivered { color: #5E6B52; background: rgba(94,107,82,.1); }
body.is-dash .dash .badge-refunded, body.is-dash .dash .badge-canceled { color: #8A3B2B; background: rgba(var(--err-rgb),.08); }
body.is-dash .dash .badge-pending { color: var(--muted); }
body.is-dash .dash .delay-badge, body.is-dash .dash .coupon-badge, body.is-dash .dash .bundle-badge-sm, body.is-dash .dash .sale-pill, body.is-dash .dash .changed-pill, body.is-dash .dash .state-pill, body.is-dash .dash .order-ref, body.is-dash .dash .lk-badge, body.is-dash .dash .stock-state {
  display: inline-block; padding: .08rem .45rem; border: 1px solid; border-radius: 4px; font: 600 .78rem var(--text); letter-spacing: 0; text-transform: none; white-space: nowrap; vertical-align: middle; }
body.is-dash .dash .delay-badge { color: var(--err); border-color: rgba(var(--err-rgb),.4); background: rgba(var(--err-rgb),.05); }
body.is-dash .dash .coupon-badge { color: var(--ok); border-color: rgba(var(--ok-rgb),.35); background: rgba(var(--ok-rgb),.05); }
body.is-dash .dash .ship-by { font-size: .88rem; color: var(--muted); white-space: nowrap; }
body.is-dash .dash .ship-by.due { color: var(--gold-text); font-weight: 600; }
body.is-dash .dash .ship-by.late { color: var(--err); font-weight: 600; }
body.is-dash .dash .finish-tag { display: inline-block; padding: .05rem .4rem; margin-left: .15rem; border-radius: 3px; font: 600 .74rem var(--text); letter-spacing: 0; text-transform: none; vertical-align: middle; }
body.is-dash .dash .oc-warn { margin: 0; padding: .45rem .9rem; background: #B3261E; color: #fff; font-weight: 600; font-size: .95rem; }

/* ================= Today ================= */
body.is-dash .dash .ov-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
body.is-dash .dash .ov-q { padding: .35rem .75rem; border: 1px solid var(--d-line); border-radius: 999px; background: var(--d-sheet); color: var(--ink); font: 500 .92rem var(--text); cursor: pointer; }
body.is-dash .dash .ov-q:hover { border-color: var(--gold); color: var(--strong); }
body.is-dash .dash .ov-q::before { content: "+"; margin-right: .35rem; color: var(--gold-text); font-weight: 700; }
body.is-dash .dash .ov-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 1.25rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .ov-stat { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: .05rem; padding: .75rem 1rem; border: 0; border-left: 1px solid var(--d-line-2); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
body.is-dash .dash .ov-stat:first-child { border-left: 0; }
body.is-dash .dash .ov-stat:hover { background: rgba(var(--gold-rgb),.07); }
body.is-dash .dash .ov-stat span { font-size: .88rem; color: var(--muted); }
body.is-dash .dash .ov-stat strong { font: 500 1.75rem/1.1 var(--text); color: var(--strong); font-variant-numeric: tabular-nums; }
body.is-dash .dash .ov-stat.is-late.has { background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .ov-stat.is-late.has strong, body.is-dash .dash .ov-stat.is-late.has span { color: var(--err); }

/* work board */
body.is-dash .dash .ov-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: 0 0 1.25rem; }
body.is-dash .dash .bd-col { display: flex; flex-direction: column; min-width: 0; padding: .7rem; border-radius: 12px; background: rgba(234,223,196,.7); border: 1px solid var(--d-line-2); }
body.is-dash .dash .bd-head { display: flex; align-items: center; gap: .5rem; padding: .1rem .2rem .55rem; }
body.is-dash .dash .bd-head h3 { margin: 0; font: 700 .9rem var(--caps); letter-spacing: .06em; color: var(--strong); }
body.is-dash .dash .bd-n { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.35rem; padding: 0 .4rem; border-radius: 999px; background: var(--d-sheet); font: 700 .78rem var(--text); color: var(--ink); }
body.is-dash .dash .bd-paid .bd-n { background: var(--gold); color: #2A2013; }
body.is-dash .dash .bd-all { margin-left: auto; font-size: .88rem; }
body.is-dash .dash .bd-list { display: grid; gap: .5rem; align-content: start; }
body.is-dash .dash .bd-card { padding: .6rem .7rem .55rem; border: 1px solid var(--d-line); border-radius: 8px; background: var(--d-sheet); cursor: pointer; }
body.is-dash .dash .bd-card:hover { border-color: var(--gold); }
body.is-dash .dash .bd-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
body.is-dash .dash .bd-card.is-attn { box-shadow: inset 3px 0 0 var(--err); }
body.is-dash .dash .bd-top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
body.is-dash .dash .bd-no { font-weight: 700; color: var(--strong); font-size: 1rem; }
body.is-dash .dash .bd-who { margin: .1rem 0 .25rem; color: var(--ink); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .bd-items { list-style: none; margin: 0 0 .45rem; padding: 0; font-size: .9rem; color: var(--muted); }
body.is-dash .dash .bd-items li { margin: .05rem 0; }
body.is-dash .dash .bd-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
body.is-dash .dash .bd-flags { display: flex; flex-wrap: wrap; gap: .25rem; }
body.is-dash .dash .bd-total { font-weight: 600; color: var(--strong); }
body.is-dash .dash .bd-empty { margin: 0; padding: .9rem .4rem; color: var(--muted); font-size: .92rem; font-style: italic; text-align: center; }
body.is-dash .dash .bd-more { padding: .4rem; border: 1px dashed var(--d-line); border-radius: 8px; background: none; color: var(--gold-text); font: 600 .9rem var(--text); cursor: pointer; }
body.is-dash .dash .bd-more:hover { border-color: var(--gold); }

body.is-dash .dash .ov-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: .9rem; }
body.is-dash .dash .ov-grid .dash-box { margin: 0; }
body.is-dash .dash .ov-list { display: grid; }
body.is-dash .dash .ov-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .5rem 0; border-top: 1px solid var(--d-line-2); font-size: .97rem; }
body.is-dash .dash .ov-row:first-child { border-top: 0; padding-top: .1rem; }
body.is-dash .dash .ov-row .what { min-width: 0; }
body.is-dash .dash .ov-row .what strong { color: var(--strong); }
body.is-dash .dash .ov-row .what .sub { display: block; color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .ov-row.late .what strong { color: var(--err); }
body.is-dash .dash .ov-list .btn { padding: .3rem .65rem; font-size: .85rem; background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.45); }
body.is-dash .dash .ov-list .btn:hover { background: rgba(var(--gold-rgb),.1); }
body.is-dash .dash .ov-empty { margin: 0; padding: .3rem 0; color: var(--muted); }
body.is-dash .dash .ov-pill { display: inline-block; margin-right: .4rem; padding: .02rem .45rem; border-radius: 4px; font: 600 .76rem var(--text); letter-spacing: 0; text-transform: none; border: 1px solid; vertical-align: 1px; }
body.is-dash .dash .ov-pill.late, body.is-dash .dash .ov-pill.delay { color: var(--err); border-color: rgba(var(--err-rgb),.4); background: rgba(var(--err-rgb),.05); }
body.is-dash .dash .ov-pill.due { color: #2A2013; background: var(--gold); border-color: var(--gold); }
body.is-dash .dash .ov-pill.low { color: var(--gold-text); border-color: rgba(var(--gold-rgb),.5); }
body.is-dash .dash .ov-pill.msg { color: #2F5F94; border-color: rgba(47,95,148,.35); }
body.is-dash .dash .ov-pill.nonus { color: #fff; background: #B3261E; border-color: #B3261E; }

/* ================= orders ================= */
body.is-dash .dash .due-line { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 .8rem; }
body.is-dash .dash .due-line[hidden] { display: none; }
body.is-dash .dash .due-pill { padding: .15rem .6rem; border-radius: 999px; font: 600 .85rem var(--text); border: 1px solid; }
body.is-dash .dash .due-pill.late { color: var(--err); border-color: rgba(var(--err-rgb),.45); background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .due-pill.due { color: #2A2013; background: var(--gold); border-color: var(--gold); }
body.is-dash .dash .pq-status { margin: -.4rem 0 .7rem; }
body.is-dash .dash .pq-status:empty { display: none; }
body.is-dash .dash .order-list { display: block; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .order-list:empty { display: none; }
body.is-dash .dash .order-row { border: 0; border-top: 1px solid var(--d-line-2); background: none; box-shadow: inset 3px 0 0 transparent; }
body.is-dash .dash .order-row.status-refunded, body.is-dash .dash .order-row.status-canceled { opacity: .7; }
body.is-dash .dash .order-row:first-child { border-top: 0; }
body.is-dash .dash .order-row.is-attn { box-shadow: inset 3px 0 0 var(--err); }
body.is-dash .dash .order-row.open { background: rgba(var(--gold-rgb),.12); }
body.is-dash .dash .or-line { display: grid; grid-template-columns: 9.5rem minmax(7rem, 11rem) minmax(0, 1fr) 4.8rem 13rem; gap: .9rem; align-items: center; padding: .6rem .9rem; cursor: pointer; }
body.is-dash .dash .or-line:hover { background: rgba(var(--gold-rgb),.06); }
body.is-dash .dash .or-id { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
body.is-dash .dash .oc-no { color: var(--strong); font-size: 1rem; white-space: nowrap; }
body.is-dash .dash .oc-date { color: var(--muted); font-size: .85rem; }
body.is-dash .dash .or-flags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .15rem; }
body.is-dash .dash .or-cust { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .or-items { display: flex; flex-wrap: wrap; gap: .15rem .7rem; font-size: .93rem; }
body.is-dash .dash .or-chip { white-space: nowrap; }
body.is-dash .dash .or-chip.has-labels { white-space: normal; }
body.is-dash .dash .or-labels { display: block; color: var(--muted); font-size: .85rem; }
body.is-dash .dash .or-total { text-align: right; color: var(--strong); font-weight: 600; font-variant-numeric: tabular-nums; }
body.is-dash .dash .or-act { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
body.is-dash .dash .or-act .btn { padding: .32rem .65rem; font-size: .86rem; background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.5); }
body.is-dash .dash .or-act .btn:hover { background: rgba(var(--gold-rgb),.12); color: var(--strong); }
body.is-dash .dash .or-toggle { width: 1.6rem; height: 1.6rem; border: 0; background: none; color: var(--muted); cursor: pointer; position: relative; }
body.is-dash .dash .or-toggle::after { content: ""; position: absolute; inset: 0; margin: auto; width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
body.is-dash .dash .order-list.compact .or-act .btn { display: none; }
body.is-dash .dash .or-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
body.is-dash .dash .or-toolbar select { width: auto; }
body.is-dash .dash .oc-track-row { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
body.is-dash .dash .oc-track-row input { flex: 1 1 10rem; }
body.is-dash .dash .email-btns { display: flex; flex-wrap: wrap; gap: .35rem; }
body.is-dash .dash .or-files { padding: .75rem .9rem; border: 1px solid rgba(var(--ok-rgb),.35); border-radius: 8px; background: rgba(var(--ok-rgb),.05); }
body.is-dash .dash .or-files .pf-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 .45rem; }
body.is-dash .dash .or-files .pf-cups { margin: .25rem 0; font-weight: 600; }
body.is-dash .dash .or-print { padding: .75rem .9rem; border: 1px solid var(--d-line); border-radius: 8px; background: var(--d-tint); }

/* ================= order panel (drawer) ================= */
body.od-lock { overflow: hidden; }
.od-wrap[hidden] { display: none; }
.od-wrap { position: fixed; inset: 0; z-index: 200; }
.od-scrim { position: absolute; inset: 0; background: rgba(20,27,32,.45); animation: odFade .16s ease-out; }
.od { position: absolute; top: 0; right: 0; bottom: 0; width: min(38rem, 100vw); overflow-y: auto; overscroll-behavior: contain; background: #FBF6E8; color: var(--ink); box-shadow: -16px 0 40px rgba(20,27,32,.25); animation: odIn .2s ease-out; font-size: 1rem; }
@keyframes odIn { from { transform: translateX(2rem); } to { transform: none; } }
@keyframes odFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .od, .od-scrim { animation: none; } }
.od-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem .9rem; background: #26313A; color: #F3EAD6; }
.od-head h2 { margin: 0; font: 700 1.4rem/1.1 var(--caps); letter-spacing: .05em; color: #F7EED8; }
.od-sub { margin: .3rem 0 .5rem; color: #C9C2B0; font-size: .98rem; }
.od-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.od-head .ship-by { color: #E3C47C; }
.od-head .ship-by.late { color: #FFB4A5; }
.od-close { flex: none; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: none; color: #F3EAD6; font: 400 1.5rem/1 var(--text); cursor: pointer; }
.od-close:hover { background: rgba(255,255,255,.1); }
.od .oc-warn { margin: 0; }
.od-note { margin: .9rem 1.4rem 0; padding: .6rem .8rem; border-left: 3px solid var(--err); background: rgba(var(--err-rgb),.06); }
.od-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .9rem 1.4rem; border-bottom: 1px solid var(--d-line, rgba(122,90,24,.2)); }
.od .btn { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: .55rem 1rem; border-radius: 6px; font: 600 .95rem/1.1 var(--text); letter-spacing: .01em; text-transform: none; }
.od .btn-sm { padding: .35rem .7rem; font-size: .88rem; }
.od-menu { position: relative; margin-left: auto; }
.od-menu > summary { list-style: none; cursor: pointer; }
.od-menu > summary::-webkit-details-marker { display: none; }
.od-menu > summary::after { content: " \25BE"; }
.od-menu-list { position: absolute; z-index: 5; top: calc(100% + .3rem); right: 0; min-width: 16rem; display: grid; gap: .1rem; padding: .4rem; background: #FFFCF4; border: 1px solid rgba(122,90,24,.22); border-radius: 8px; box-shadow: 0 10px 24px rgba(20,27,32,.16); }
.od-menu-list select { width: 100%; margin: 0 0 .3rem; padding: .45rem .6rem; border-radius: 6px; border: 1px solid rgba(201,160,85,.4); font: 400 1rem var(--text); background: #FFFCF4; }
.od-mi { display: block; width: 100%; padding: .5rem .6rem; border: 0; border-radius: 5px; background: none; text-align: left; font: 400 1rem var(--text); color: var(--ink); text-decoration: none; cursor: pointer; }
.od-mi:hover { background: rgba(201,160,85,.12); color: var(--strong); }
.od-sec { padding: 1.05rem 1.4rem; border-bottom: 1px solid rgba(122,90,24,.14); }
.od-sec:last-child { border-bottom: 0; padding-bottom: 2.2rem; }
.od-sec h3 { margin: 0 0 .65rem; font: 700 .82rem var(--caps); letter-spacing: .08em; color: var(--gold-text); }
.od-sec h4 { margin: .9rem 0 .4rem; font: 600 .92rem var(--text); color: var(--strong); }
.od-sec.od-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.od-sec.od-two h3 { grid-column: 1 / -1; margin-bottom: -.4rem; }
.od-sec.od-two h4 { margin-top: 0; }
.od-items { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .4rem; }
.od-items li { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: 1.05rem; }
.od-qty { min-width: 1.8rem; font-weight: 700; color: var(--strong); }
.od-items .or-labels { flex-basis: 100%; margin-left: 2.25rem; font-size: .9rem; color: var(--muted); }
.od .or-files, .od .or-print { margin: 0; padding: .9rem 1rem; border-radius: 8px; }
.od .or-files { border: 1px solid rgba(63,106,40,.35); background: rgba(63,106,40,.05); }
.od .or-print { border: 1px solid rgba(122,90,24,.2); background: #F6EEDC; }
.od .or-files h4, .od .or-print h4 { margin-top: 0; }
.od .pf-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 .45rem; }
.od-more { margin-top: .7rem; }
.od-more > summary { cursor: pointer; color: var(--muted); font-style: italic; }
.od .oc-addr { margin: 0 0 .35rem; line-height: 1.5; }
.od .oc-track-row { display: flex; gap: .4rem; margin-bottom: .35rem; }
.od .oc-track-row input { flex: 1 1 auto; min-width: 0; padding: .45rem .6rem; border: 1px solid rgba(201,160,85,.4); border-radius: 6px; font: 400 1rem var(--text); background: #FFFCF4; }
.od-email { display: inline-block; margin-bottom: .15rem; word-break: break-all; }
.od .email-btns { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }
.od-chip { display: inline-block; padding: .28rem .7rem; border: 1px solid rgba(122,90,24,.22); border-radius: 999px; background: #FFFCF4; color: var(--ink); font: 500 .9rem var(--text); text-decoration: none; }
.od-chip:hover { border-color: var(--gold); color: var(--strong); }
.od-chip.is-next { border-color: var(--gold); background: rgba(201,160,85,.14); }
.od-chip.disabled { opacity: .45; pointer-events: none; }
.od-money { margin: 0; display: grid; gap: .25rem; max-width: 22rem; }
.od-money div { display: flex; justify-content: space-between; gap: 1rem; }
.od-money dt { color: var(--muted); }
.od-money dd { margin: 0; font-variant-numeric: tabular-nums; }
.od-money .od-total { margin-top: .25rem; padding-top: .4rem; border-top: 1px solid rgba(122,90,24,.2); font-weight: 600; color: var(--strong); }
.od .badge { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem .12rem .45rem; border-radius: 999px; font: 600 .8rem var(--text); background: rgba(255,255,255,.12); color: #F3EAD6; }
.od .badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #E3C47C; }
.od .delay-badge, .od .coupon-badge { display: inline-block; padding: .08rem .45rem; border-radius: 4px; font: 600 .78rem var(--text); border: 1px solid rgba(255,255,255,.3); color: #F3EAD6; }
.od .finish-tag { display: inline-block; padding: .05rem .4rem; border-radius: 3px; font: 600 .74rem var(--text); }
.od .linkish { background: none; border: 0; padding: 0; color: var(--gold-text); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ================= messages ================= */
body.is-dash .dash .msg-list { list-style: none; margin: 0; padding: 0; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .msg-list:empty { display: none; }
body.is-dash .dash .msg-item { display: block; padding: .8rem 1rem; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .msg-item:first-child { border-top: 0; }
body.is-dash .dash .msg-item.done { opacity: .6; }
body.is-dash .dash .msg-top { display: flex; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; margin-bottom: .3rem; }
body.is-dash .dash .msg-body { white-space: pre-wrap; margin: 0 0 .55rem; }
body.is-dash .dash .msg-actions { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
body.is-dash .dash .order-ref { margin-left: .4rem; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.45); }

/* ================= tables (stock, sales, prices, coupons, numbers, notify) ================= */
body.is-dash .dash .inv-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.is-dash .dash .stock-table, body.is-dash .dash .sale-table, body.is-dash .dash .price-table, body.is-dash .dash .coupon-table, body.is-dash .dash .admin-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
body.is-dash .dash .stock-table th, body.is-dash .dash .sale-table th, body.is-dash .dash .price-table th, body.is-dash .dash .coupon-table th, body.is-dash .dash .admin-table th { padding: .45rem .55rem; border-bottom: 1px solid var(--d-line); text-align: left; font: 600 .85rem var(--text); letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap; }
body.is-dash .dash .stock-table td, body.is-dash .dash .sale-table td, body.is-dash .dash .price-table td, body.is-dash .dash .coupon-table td, body.is-dash .dash .admin-table td { padding: .45rem .55rem; border-bottom: 1px solid var(--d-line-2); vertical-align: middle; }
body.is-dash .dash .sale-table tr:last-child td, body.is-dash .dash .price-table tr:last-child td, body.is-dash .dash .coupon-table tr:last-child td, body.is-dash .dash .admin-table tr:last-child td { border-bottom: 0; }
body.is-dash .dash .sale-table tbody tr:hover td, body.is-dash .dash .price-table tbody tr:hover td, body.is-dash .dash .coupon-table tbody tr:hover td { background: rgba(var(--gold-rgb),.05); }
body.is-dash .dash .sale-table td, body.is-dash .dash .price-table td { white-space: nowrap; }
body.is-dash .dash .sale-table td:first-child, body.is-dash .dash .price-table td:first-child { white-space: normal; min-width: 9rem; font-weight: 600; color: var(--strong); }
body.is-dash .dash .sale-table tr.on td { background: rgba(var(--gold-rgb),.08); }
body.is-dash .dash .sale-table input.money-in, body.is-dash .dash .price-table input.money-in { width: 5.6rem; min-width: 5.6rem; }
body.is-dash .dash .sale-table input.pct-in { width: 3.8rem; min-width: 3.8rem; }
body.is-dash .dash .sale-table input.date-in { width: 9.4rem; min-width: 9.4rem; }
body.is-dash .dash .sale-table .sale-in { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
body.is-dash .dash .sale-table .money-wrap, body.is-dash .dash .price-table .money-wrap { display: inline-grid; max-width: none; }
body.is-dash .dash td.cp-acts { text-align: right; white-space: nowrap; }
body.is-dash .dash td.cp-acts .btn { margin-left: .3rem; }
body.is-dash .dash .pay-cell s { color: var(--muted); margin-right: .3rem; }
body.is-dash .dash .pay-cell .now { color: var(--gold-deep); font-weight: 600; }
body.is-dash .dash .sale-pill { margin-left: .45rem; color: var(--gold-deep); border-color: rgba(var(--gold-rgb),.55); }
body.is-dash .dash .changed-pill { margin-left: .45rem; color: var(--muted); border-color: rgba(var(--ink-rgb),.25); }
body.is-dash .dash .state-pill { margin-left: .45rem; }
body.is-dash .dash .state-pill.on, body.is-dash .dash .stock-state.in, body.is-dash .dash .lk-badge.on { color: var(--ok); border-color: rgba(var(--ok-rgb),.4); }
body.is-dash .dash .state-pill.off, body.is-dash .dash .lk-badge.guest { color: var(--muted); border-color: rgba(var(--ink-rgb),.25); }
body.is-dash .dash .stock-state.out, body.is-dash .dash .lk-badge.off { color: var(--err); border-color: rgba(var(--err-rgb),.45); }
body.is-dash .dash .sale-flag { padding: .1rem .55rem; border-radius: 999px; background: var(--gold); color: #2A2013; font: 600 .8rem var(--text); }
body.is-dash .dash .sale-store.on { box-shadow: inset 3px 0 0 var(--gold); }
body.is-dash .dash .bulk-sale { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.is-dash .dash .bulk-sale input[type="date"] { width: 10.5rem; }
body.is-dash .dash .cp-code { font: 600 1rem var(--text); letter-spacing: .06em; }
body.is-dash .dash .cp-note { display: block; color: var(--muted); font-size: .88rem; }
body.is-dash .dash .cn-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0 .9rem; }
body.is-dash .dash .coupon-row { display: flex; gap: .4rem; }

/* stock grid */
body.is-dash .dash .stock-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0 0 .6rem; font-size: .88rem; color: var(--muted); }
body.is-dash .dash .stock-legend span { display: inline-flex; align-items: center; gap: .4rem; }
body.is-dash .dash .lg { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; border: 1px solid rgba(var(--ink-rgb),.2); }
body.is-dash .dash .lg-ok { background: rgba(var(--ok-rgb),.2); } body.is-dash .dash .lg-low { background: rgba(var(--gold-rgb),.35); } body.is-dash .dash .lg-out { background: rgba(var(--err-rgb),.15); }
body.is-dash .dash .lg-closed { background: repeating-linear-gradient(45deg, rgba(var(--err-rgb),.3) 0 3px, transparent 3px 6px); }
body.is-dash .dash .stock-table { min-width: 50rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); border-collapse: separate; border-spacing: 0; overflow: hidden; }
body.is-dash .dash .stock-table th, body.is-dash .dash .stock-table td { text-align: center; }
body.is-dash .dash .stock-table th:first-child, body.is-dash .dash .stock-table td:first-child { text-align: left; padding-left: .9rem; }
body.is-dash .dash .stock-table tr:last-child td { border-bottom: 0; }
body.is-dash .dash .stock-table .fin-head { display: grid; gap: .25rem; justify-items: center; }
body.is-dash .dash .stock-table .piece-name { display: grid; gap: .1rem; }
body.is-dash .dash .stock-table .piece-name strong { color: var(--strong); }
body.is-dash .dash .stock-table .tog { padding: 0; border: 0; background: none; color: var(--muted); font: 500 .8rem var(--text); letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-color: rgba(var(--gold-rgb),.35); text-underline-offset: .2em; opacity: .75; cursor: pointer; white-space: nowrap; }
body.is-dash .dash .stock-table tr:hover .tog, body.is-dash .dash .stock-table .tog:focus-visible, body.is-dash .dash .stock-table .tog.is-out { opacity: 1; }
body.is-dash .dash .stock-table .tog:hover { color: var(--gold-text); }
body.is-dash .dash .stock-table .tog.is-out { padding: .05rem .4rem; border: 1px solid rgba(var(--err-rgb),.45); border-radius: 4px; color: var(--err); text-decoration: none; }
body.is-dash .dash .stock-table .tog:disabled { opacity: .5; cursor: default; }
body.is-dash .dash .stock-table td.cell { padding: .4rem .3rem; }
body.is-dash .dash .stock-table td.cell.lvl-ok { background: rgba(var(--ok-rgb),.07); }
body.is-dash .dash .stock-table td.cell.lvl-low { background: rgba(var(--gold-rgb),.14); }
body.is-dash .dash .stock-table td.cell.lvl-out { background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .stock-table td.cell.is-closed { background: repeating-linear-gradient(45deg, rgba(var(--err-rgb),.15) 0 4px, rgba(var(--err-rgb),.03) 4px 8px); }
body.is-dash .dash .stock-table td.cell.is-closed-by { background: repeating-linear-gradient(45deg, rgba(var(--err-rgb),.09) 0 4px, transparent 4px 8px); }
body.is-dash .dash .inv-cell { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid rgba(var(--gold-rgb),.3); border-radius: 6px; background: #FFFCF4; }
body.is-dash .dash .inv-btn { width: 1.8rem; height: 2rem; border: 0; background: none; color: var(--gold-text); font: 700 1.05rem var(--text); cursor: pointer; }
body.is-dash .dash .inv-btn:hover { background: rgba(var(--gold-rgb),.12); }
body.is-dash .dash .inv-cell .inv-num { width: 2.8rem; height: 2rem; padding: 0; border: 0; border-left: 1px solid rgba(var(--gold-rgb),.2); border-right: 1px solid rgba(var(--gold-rgb),.2); border-radius: 0; background: #FFFCF4; color: var(--strong); text-align: center; font: 700 1rem var(--text); -moz-appearance: textfield; }
body.is-dash .dash .inv-num::-webkit-outer-spin-button, body.is-dash .dash .inv-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.is-dash .dash .inv-num.lvl-out { color: var(--err); }
body.is-dash .dash .inv-num.lvl-low { color: var(--gold-text); }
body.is-dash .dash .cell-tog { display: block; margin-top: .25rem; }
body.is-dash .dash .stock-table .inv-total { font-weight: 700; color: var(--strong); }
body.is-dash .dash .stock-table tr.supplies-row td { background: var(--d-tint); border-top: 1px solid var(--d-line); }
body.is-dash .dash .stock-table tr.supplies-row.is-low td { background: rgba(var(--err-rgb),.06); }
body.is-dash .dash .cups-cell { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
body.is-dash .dash .cups-need { margin: 0; text-align: left; font-size: .93rem; }
body.is-dash .dash .cups-need.short { color: var(--err); font-weight: 600; }
body.is-dash .dash .stock-foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .5rem 1.25rem; margin: .9rem 0 .2rem; }
body.is-dash .dash .low-row { display: flex; gap: .45rem; align-items: center; }
body.is-dash .dash .low-row input { width: 4.6rem; }
body.is-dash .dash .delay-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .delay-row:first-child { border-top: 0; }
body.is-dash .dash .delay-row p { margin: 0 0 .1rem; }
body.is-dash .dash .delay-acts { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
body.is-dash .dash .delay-ok { color: var(--ok); }
body.is-dash .dash .delay-warn { color: var(--err); }

/* ================= bundles ================= */
body.is-dash .dash .bundle-form { box-shadow: inset 3px 0 0 var(--gold); }
body.is-dash .dash .bf-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 1.1rem; }
body.is-dash .dash .bf-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .3rem .9rem; }
body.is-dash .dash .bf-piece { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid var(--d-line-2); }
body.is-dash .dash .bf-piece .nm small { display: block; color: var(--muted); font-size: .86rem; }
body.is-dash .dash .bf-piece.picked .nm { color: var(--strong); font-weight: 600; }
body.is-dash .dash .bf-price-row { margin-top: .9rem; }
body.is-dash .dash .bf-suggest { display: flex; gap: .7rem; align-items: center; margin-top: .35rem; flex-wrap: wrap; }
body.is-dash .dash .bf-calc { margin: 0; padding: .6rem .8rem; border-radius: 6px; background: rgba(var(--gold-rgb),.09); }
body.is-dash .dash .bf-calc .bad { color: var(--err); }
body.is-dash .dash .bf-opts { grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem; margin: .4rem 0 .9rem; }
body.is-dash .dash .bf-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
body.is-dash .dash .bundle-admin-list { display: block; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .bundle-admin-list:empty { display: none; }
body.is-dash .dash .ba-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .75rem .9rem; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .ba-card:first-child { border-top: 0; }
body.is-dash .dash .ba-card.is-off { opacity: .6; }
body.is-dash .dash .ba-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 6px; overflow: hidden; }
body.is-dash .dash .ba-pics.n1 { grid-template-columns: 1fr; }
body.is-dash .dash .ba-pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #F2EDE4; display: block; }
body.is-dash .dash .ba-info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .1rem; font: 700 .95rem var(--caps); letter-spacing: .04em; }
body.is-dash .dash .ba-info .ba-tag { margin: 0 0 .3rem; color: var(--muted); font-size: .93rem; }
body.is-dash .dash .ba-pieces { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 .3rem; }
body.is-dash .dash .ba-pieces span { padding: .02rem .45rem; border-radius: 4px; background: rgba(var(--gold-rgb),.1); font-size: .85rem; }
body.is-dash .dash .ba-price { margin: 0; }
body.is-dash .dash .ba-price s { color: var(--muted); }
body.is-dash .dash .ba-price strong { color: var(--strong); }
body.is-dash .dash .ba-price .save { margin-left: .4rem; color: var(--gold-text); font-size: .9rem; }
body.is-dash .dash .ba-acts { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
body.is-dash .dash .ba-acts .btn { padding: .32rem .65rem; font-size: .86rem; }

/* ================= search results / customers ================= */
body.is-dash .dash .lookup-bar { display: flex; gap: .4rem; margin: 0 0 .9rem; max-width: 40rem; }
body.is-dash .dash .lk-card { margin: 0 0 1rem; padding: 1rem 1.1rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); box-shadow: inset 0 3px 0 var(--gold); }
body.is-dash .dash .lk-card.guest { box-shadow: inset 0 3px 0 rgba(var(--ink-rgb),.25); }
body.is-dash .dash .lk-card.is-off { box-shadow: inset 0 3px 0 var(--err); }
body.is-dash .dash .lk-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
body.is-dash .dash .lk-head h3 { margin: 0; font: 700 1.05rem var(--caps); letter-spacing: .03em; }
body.is-dash .dash .lk-head p { margin: .1rem 0 0; }
body.is-dash .dash .lk-id { margin-left: .5rem; font: 600 .85rem var(--text); color: var(--gold-text); }
body.is-dash .dash .lk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .5rem 1rem; margin: .8rem 0; }
body.is-dash .dash .lk-facts dt { font-size: .85rem; color: var(--muted); }
body.is-dash .dash .lk-facts dd { margin: 0; color: var(--strong); font-weight: 600; }
body.is-dash .dash .lk-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
body.is-dash .dash .lk-msg { margin: .45rem 0 0; }
body.is-dash .dash .lk-orders { margin-top: .9rem; }
body.is-dash .dash .lk-orders h4, body.is-dash .dash .lk-msgs h4 { margin: .9rem 0 .45rem; font: 600 .95rem var(--text); color: var(--strong); text-transform: none; letter-spacing: 0; }
body.is-dash .dash .lk-orders .order-row { border: 1px solid var(--d-line-2); border-radius: 8px; margin-bottom: .4rem; background: #FFFCF4; }

/* ================= reviews, work days, print files ================= */
body.is-dash .dash #admin-reviews { background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash #admin-reviews:empty { display: none; }
body.is-dash .dash .rv-admin { padding: .8rem 1rem; border-top: 1px solid var(--d-line-2); }
body.is-dash .dash .rv-admin:first-child { border-top: 0; }
body.is-dash .dash .rv-admin.is-hidden { opacity: .55; }
body.is-dash .dash .rv-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.is-dash .dash .rv-admin p { margin: .3rem 0 0; }
body.is-dash .dash .rv-admin .rv-t { font-weight: 600; }
body.is-dash .dash .rv-acts { display: flex; gap: .4rem; margin-top: .55rem; }
body.is-dash .dash .rv-photos-admin .rv-photo { width: 4.5rem; height: 4.5rem; }
body.is-dash .dash .wd-days { display: flex; gap: .35rem; flex-wrap: wrap; margin: .3rem 0 1rem; }
body.is-dash .dash .wd-days label { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--d-line); border-radius: 999px; background: #FFFCF4; font: 500 .95rem var(--text); text-transform: none; letter-spacing: 0; cursor: pointer; }
body.is-dash .dash .wd-days label:has(input:checked) { background: rgba(var(--gold-rgb),.16); border-color: var(--gold); color: var(--strong); }
body.is-dash .dash .wd-days input { accent-color: var(--gold); width: 1rem; height: 1rem; margin: 0; }
body.is-dash .dash .wd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; align-items: start; }
body.is-dash .dash .wd-grid input, body.is-dash .dash .wd-grid select { max-width: 14rem; }
body.is-dash .dash .wd-grid .muted.small { margin: .25rem 0 0; }
body.is-dash .dash .wd-off-row { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; margin: .4rem 0; }
body.is-dash .dash .wd-off-row input { width: 11rem; }
body.is-dash .dash .off-list { display: flex; gap: .4rem; flex-wrap: wrap; margin: .4rem 0 .8rem; }
body.is-dash .dash .off-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .25rem .2rem .65rem; border: 1px solid var(--d-line); border-radius: 999px; font-size: .93rem; }
body.is-dash .dash .off-x { padding: 0 .3rem; border: 0; background: none; color: var(--gold-text); font-size: 1.15rem; line-height: 1; cursor: pointer; }
body.is-dash .dash .wd-preview { margin: .8rem 0; padding: .65rem .85rem; border-radius: 6px; background: rgba(var(--gold-rgb),.09); }
body.is-dash .dash #wd-form, body.is-dash .dash .eng-form { max-width: 48rem; }
body.is-dash .dash .eng-row { display: grid; grid-template-columns: 1fr 7rem; gap: .9rem; }
body.is-dash .dash .eng-list { list-style: none; margin: .7rem 0; padding: 0; display: grid; gap: .3rem; }
body.is-dash .dash .eng-list:empty { display: none; }
body.is-dash .dash .eng-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .4rem .65rem; border: 1px solid var(--d-line); border-radius: 6px; background: #FFFCF4; }
body.is-dash .dash .eng-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .45rem; }
body.is-dash .dash textarea#admin-emails { min-height: 4.5rem; }

/* ================= numbers ================= */
body.is-dash .dash .nm-note { margin: -.4rem 0 .8rem; }
body.is-dash .dash .nm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 1rem; background: var(--d-sheet); border: 1px solid var(--d-line); border-radius: var(--d-r); overflow: hidden; }
body.is-dash .dash .nm-kpi { display: flex; flex-direction: column; gap: .05rem; padding: .75rem 1rem; border-left: 1px solid var(--d-line-2); }
body.is-dash .dash .nm-kpi:first-child { border-left: 0; }
body.is-dash .dash .nm-kpi-label { font-size: .88rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-family: var(--text); font-weight: 400; }
body.is-dash .dash .nm-kpi strong { font: 500 1.65rem/1.15 var(--text); color: var(--strong); font-variant-numeric: tabular-nums; }
body.is-dash .dash .nm-kpi-sub { font-size: .85rem; color: var(--muted); min-height: 1.2em; }
body.is-dash .dash .nm-delta { font-weight: 600; }
body.is-dash .dash .nm-delta.up { color: var(--ok); }
body.is-dash .dash .nm-delta.down { color: var(--err); }
body.is-dash .dash .nm-chart { position: relative; }
body.is-dash .dash .nm-chart svg { display: block; overflow: visible; }
body.is-dash .dash .nm-grid-l { stroke: rgba(var(--ink-rgb),.08); stroke-width: 1; }
body.is-dash .dash .nm-base { stroke: rgba(var(--ink-rgb),.3); stroke-width: 1; }
body.is-dash .dash .nm-tick { fill: var(--muted); font: 400 12px var(--text); }
body.is-dash .dash .nm-hit { fill: transparent; outline: none; }
body.is-dash .dash .nm-hit.on { fill: rgba(var(--gold-rgb),.08); }
body.is-dash .dash .nm-tip { position: absolute; z-index: 2; pointer-events: none; padding: .4rem .65rem; border-radius: 6px; background: #26313A; color: #F3EAD6; font-size: .92rem; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
body.is-dash .dash .nm-tip strong { display: block; font-weight: 600; }
body.is-dash .dash .nm-tip span { color: #C9C2B0; }
body.is-dash .dash .nm-table-wrap { margin-top: .5rem; }
body.is-dash .dash .nm-table-wrap summary { cursor: pointer; color: var(--gold-text); font-size: .9rem; }
body.is-dash .dash .nm-table-wrap .inv-wrap { max-height: 18rem; overflow: auto; margin-top: .4rem; }
body.is-dash .dash .nm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
body.is-dash .dash .nm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.is-dash .dash .nm-bars { display: grid; gap: .4rem; }
body.is-dash .dash .nm-bar-row { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) auto; gap: .65rem; align-items: center; font-size: .95rem; }
body.is-dash .dash .nm-bar-name { display: inline-flex; align-items: center; gap: .45rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-dash .dash .nm-swatch { width: .85rem; height: .85rem; border-radius: 50%; flex: none; border: 1px solid rgba(var(--ink-rgb),.3); }
body.is-dash .dash .nm-swatch.finish-marble { background: #ECE8E0; } body.is-dash .dash .nm-swatch.finish-black { background: #141414; } body.is-dash .dash .nm-swatch.finish-white { background: #fff; } body.is-dash .dash .nm-swatch.finish-brown { background: #7B5331; }
body.is-dash .dash .nm-bar-track { display: block; height: 12px; }
body.is-dash .dash .nm-bar-fill { display: block; height: 100%; border-radius: 0 4px 4px 0; }
body.is-dash .dash .nm-bar-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
body.is-dash .dash .nm-li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--d-line-2); font-size: .95rem; }
body.is-dash .dash .nm-li:first-child { border-top: 0; }
body.is-dash .dash .nm-li strong { color: var(--strong); font-weight: 600; text-align: right; }

/* ================= tablet / phone ================= */
@media (max-width: 1200px) {
  body.is-dash .dash .ov-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.is-dash .dash .ov-stat:nth-child(4) { border-left: 0; }
  body.is-dash .dash .ov-stat:nth-child(n+4) { border-top: 1px solid var(--d-line-2); }
  body.is-dash .dash .or-line { grid-template-columns: 8.5rem minmax(6rem, 9rem) minmax(0, 1fr) 4.5rem auto; }
  body.is-dash .dash .nm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.is-dash .dash .nm-grid-3 { grid-template-columns: 1fr 1fr; }
  body.is-dash .dash .cn-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  body.is-dash .dash .dash-grid:not([hidden]) { display: block; }
  body.is-dash .dash .dash-main { padding-top: 0; }
  body.is-dash .dash .dash-mbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: .6rem; margin: 0 calc(-1 * var(--gutter)) 1rem; padding: .55rem var(--gutter); background: #26313A; color: #F3EAD6; }
  body.is-dash .dash .dash-menu-btn { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: none; color: #F3EAD6; cursor: pointer; }
  body.is-dash .dash .dash-menu-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  body.is-dash .dash .dash-mbar-title { flex: 1 1 auto; font: 700 1.05rem var(--caps); letter-spacing: .05em; }
  body.is-dash .dash .dash-mbar-logo .mark { width: 2rem; height: 2rem; display: block; }
  body.is-dash .dash .dash-side { position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: min(18rem, 86vw); height: auto; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 12px 0 30px rgba(0,0,0,.25); }
  body.dash-menu-open.is-dash .dash .dash-side { transform: none; }
  body.is-dash .dash .dash-menu-x { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #F3EAD6; font-size: 1.5rem; line-height: 1; cursor: pointer; }
  body.dash-menu-open.is-dash .dash .dash-scrim { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(20,27,32,.45); }
  body.dash-menu-open { overflow: hidden; }
  body.is-dash .dash .dash-head h2 { font-size: 1.3rem; }
  body.is-dash .dash .ov-board { grid-template-columns: 1fr; }
  body.is-dash .dash .ov-grid { grid-template-columns: 1fr; }
  body.is-dash .dash .dash-tools { grid-template-columns: 1fr; }
  body.is-dash .dash .stock-foot, body.is-dash .dash .bf-grid, body.is-dash .dash .wd-grid, body.is-dash .dash .eng-row, body.is-dash .dash .bf-opts { grid-template-columns: 1fr; }
  body.is-dash .dash .stock-table { min-width: 44rem; }
  body.is-dash .dash .stock-table th:first-child, body.is-dash .dash .stock-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--d-sheet); box-shadow: 1px 0 0 var(--d-line); max-width: 9rem; }
  body.is-dash .dash .ba-card { grid-template-columns: 5rem minmax(0, 1fr); }
  body.is-dash .dash .ba-acts { grid-column: 1 / -1; justify-content: flex-start; }
  body.is-dash .dash .delay-row { grid-template-columns: 1fr; }
  body.is-dash .dash .delay-acts { justify-content: flex-start; }
  .od { width: 100vw; }
  .od-head, .od-actions, .od-sec { padding-left: 1rem; padding-right: 1rem; }
  .od-sec.od-two { grid-template-columns: 1fr; }
  .od-note { margin-left: 1rem; margin-right: 1rem; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { body.is-dash .dash .dash-side { transition: none; } }
@media (max-width: 700px) {
  body.is-dash .dash .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-dash .dash .ov-stat { border-left: 0; border-top: 1px solid var(--d-line-2); padding: .6rem .8rem; }
  body.is-dash .dash .ov-stat:nth-child(even) { border-left: 1px solid var(--d-line-2); }
  body.is-dash .dash .ov-stat:nth-child(-n+2) { border-top: 0; }
  body.is-dash .dash .ov-stat strong { font-size: 1.45rem; }
  body.is-dash .dash .ov-quick { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; }
  body.is-dash .dash .ov-quick::-webkit-scrollbar { display: none; }
  body.is-dash .dash .ov-q { flex: 0 0 auto; }
  body.is-dash .dash .or-line, body.is-dash .dash .order-list.compact .or-line { grid-template-columns: minmax(0, 1fr) auto; row-gap: .25rem; column-gap: .7rem; padding: .7rem .85rem; }
  body.is-dash .dash .or-id { grid-column: 1; grid-row: 1; }
  body.is-dash .dash .or-act { grid-column: 2; grid-row: 1; align-self: start; }
  body.is-dash .dash .or-act .btn { display: none; }
  body.is-dash .dash .or-cust, body.is-dash .dash .or-items { grid-column: 1 / -1; }
  body.is-dash .dash .or-total { grid-column: 1 / -1; text-align: left; }
  body.is-dash .dash .dash-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body.is-dash .dash .dash-tabs::-webkit-scrollbar { display: none; }
  body.is-dash .dash .dash-tab { flex: 0 0 auto; }
  body.is-dash .dash .nm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.is-dash .dash .nm-kpi { border-left: 0; border-top: 1px solid var(--d-line-2); }
  body.is-dash .dash .nm-grid, body.is-dash .dash .nm-grid-3, body.is-dash .dash .cn-grid { grid-template-columns: 1fr; }
  body.is-dash .dash .nm-bar-row { grid-template-columns: 7rem minmax(0, 1fr) auto; }
  .od-actions .btn, .od-actions .od-menu, .od-actions .od-menu > summary { width: 100%; margin-left: 0; text-align: center; }
  .od-menu-list { left: 0; right: 0; min-width: 0; }
}

/* row buttons in tables and lists are outlined; the gold fill is kept for the one main action on a screen */
body.is-dash .dash .sale-table .btn:not(.btn-ghost), body.is-dash .dash .price-table .btn:not(.btn-ghost), body.is-dash .dash .coupon-table .btn:not(.btn-ghost),
body.is-dash .dash .ba-acts .btn:not(.btn-ghost), body.is-dash .dash .rv-acts .btn:not(.btn-ghost), body.is-dash .dash .delay-acts .btn:not(.btn-ghost) {
  padding: .32rem .7rem; font-size: .86rem; background: transparent; color: var(--gold-text); border-color: rgba(var(--gold-rgb),.55); }
body.is-dash .dash .sale-table .btn:not(.btn-ghost):hover, body.is-dash .dash .price-table .btn:not(.btn-ghost):hover, body.is-dash .dash .coupon-table .btn:not(.btn-ghost):hover,
body.is-dash .dash .ba-acts .btn:not(.btn-ghost):hover, body.is-dash .dash .rv-acts .btn:not(.btn-ghost):hover, body.is-dash .dash .delay-acts .btn:not(.btn-ghost):hover { background: var(--gold); color: #2A2013; border-color: var(--gold); }
body.is-dash .dash .sale-table .btn-ghost, body.is-dash .dash .price-table .btn-ghost, body.is-dash .dash .coupon-table .btn-ghost, body.is-dash .dash .ba-acts .btn-ghost, body.is-dash .dash .rv-acts .btn-ghost { padding: .32rem .7rem; font-size: .86rem; }
body.is-dash .dash .dash-nav button, body.is-dash .dash .dash-shoplink { letter-spacing: 0; }
body.is-dash .dash .od-head .badge { background: rgba(255,255,255,.12); color: #F3EAD6; }
body.is-dash .dash .od-head .badge::before { background: #E3C47C; }
body.is-dash .dash .od-head .delay-badge, body.is-dash .dash .od-head .coupon-badge { color: #F3EAD6; border-color: rgba(255,255,255,.35); background: none; }
@media (max-width: 960px) {
  body.is-dash .dash .dash-head h2 { display: none; }
  body.is-dash .dash .dash-head .dash-date { margin: 0; }
}
body.is-dash .dash .od-head .ship-by { color: #E3C47C; }
body.is-dash .dash .od-head .ship-by.late { color: #FFB4A5; }

/* square corners like the shop; only number bubbles and status dots stay round */
body.is-dash .dash .btn, body.is-dash .dash .ov-q, body.is-dash .dash .dash-tabs.small .dash-tab, body.is-dash .dash .badge, body.is-dash .dash .due-pill, body.is-dash .dash .sale-flag,
body.is-dash .dash .wd-days label, body.is-dash .dash .off-chip, body.is-dash .dash .bd-col, body.is-dash .dash .bd-card, body.is-dash .dash .bd-more, body.is-dash .dash .ba-pics,
body.is-dash .dash .inv-cell, body.is-dash .dash .eng-item, body.is-dash .dash .or-files, body.is-dash .dash .or-print, body.is-dash .dash .bf-calc, body.is-dash .dash .wd-preview,
body.is-dash .dash .dash-nav button, body.is-dash .dash .dash-shoplink, body.is-dash .dash .dash-find input[type="search"], body.is-dash .dash input, body.is-dash .dash select, body.is-dash .dash textarea,
body.is-dash .dash .dash-menu-btn, .od .btn, .od-chip, .od-menu-list, .od-mi, .od .or-files, .od .or-print, .od .oc-track-row input, .od-close, body.is-dash .dash .od-head .badge { border-radius: 0 !important; }

/* =====================================================================
   Dashboard v8 (Oct 23 redesign). Same colours and fonts.
   Desktop: a slim slate icon rail on the left, a light bar across the top with the
   page name and the find box, and open sections that start on a gold rule
   (like the shop) instead of boxed cards. Phone keeps the slide-in menu.
   ===================================================================== */
@media (min-width: 961px) {
  body.is-dash .dash .dash-grid:not([hidden]) { grid-template-columns: 6.25rem minmax(0, 1fr); }
  body.is-dash .dash .dash-side { z-index: 50; padding: .9rem .45rem .8rem; gap: .6rem; align-items: stretch; }
  body.is-dash .dash .dash-brand { justify-content: center; padding: 0 0 .5rem; border-bottom: 1px solid rgba(201,160,85,.35); }
  body.is-dash .dash .dash-logo span { display: none; }
  body.is-dash .dash .dash-logo .mark { width: 2.5rem; height: 2.5rem; }
  body.is-dash .dash .dash-group { display: none; }
  body.is-dash .dash .dash-sub + .dash-sub { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid rgba(201,160,85,.22); }
  body.is-dash .dash .dash-nav button { flex-direction: column; justify-content: center; gap: .28rem; padding: .55rem .2rem .5rem; text-align: center; font: 500 .74rem/1.15 var(--text); color: var(--d-side-muted); }
  body.is-dash .dash .dash-nav button .dn-ic { width: 1.35rem; height: 1.35rem; opacity: 1; }
  body.is-dash .dash .dash-nav button:hover { color: #F7EED8; }
  body.is-dash .dash .dash-nav button[aria-selected="true"] { background: rgba(201,160,85,.18); color: #F7EED8; }
  body.is-dash .dash .dash-nav button[aria-selected="true"] .dn-ic { color: #E3C47C; }
  body.is-dash .dash .dash-nav button[aria-selected="true"]::before { left: -.45rem; top: .4rem; bottom: .4rem; }
  body.is-dash .dash .dash-nav .dn-label { flex: none; }
  body.is-dash .dash .dash-nav .count { position: absolute; top: .25rem; right: .55rem; min-width: 1.15rem; height: 1.1rem; padding: 0 .3rem; font-size: .66rem; }
  body.is-dash .dash .dash-side-foot { padding-top: .5rem; border-top-color: rgba(201,160,85,.35); }
  body.is-dash .dash .dash-shoplink { flex-direction: column; gap: .25rem; padding: .45rem .2rem; font-size: .72rem; text-align: center; justify-content: center; }

  /* the light bar across the top: page name on the left, the find box on the right */
  body.is-dash .dash .dash-main { padding-top: 0; max-width: none; }
  body.is-dash .dash .dash-mbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; min-height: 4rem; margin: 0 calc(-1 * var(--gutter)) 1.75rem; padding: 0 var(--gutter); background: rgba(243,234,214,.96); border-bottom: 1px solid var(--d-line); }
  body.is-dash .dash .dash-menu-btn, body.is-dash .dash .dash-mbar-logo { display: none; }
  body.is-dash .dash .dash-mbar-title { flex: 1 1 auto; display: flex; align-items: center; gap: 1rem; padding-right: 23rem; font: 700 1.25rem var(--caps); letter-spacing: .06em; color: var(--strong); }
  body.is-dash .dash .dash-mbar-title::after { content: ""; flex: 1 1 auto; height: 2px; background: linear-gradient(90deg, #C9A055, rgba(201,160,85,.1)); }
  body.is-dash .dash .dash-find { position: fixed; z-index: 45; top: .75rem; right: var(--gutter); width: 20rem; }
  body.is-dash .dash .dash-find input[type="search"] { height: 2.5rem; border: 1px solid var(--d-line); background: var(--d-sheet); color: var(--ink); }
  body.is-dash .dash .dash-find input::placeholder { color: var(--muted); }
  body.is-dash .dash .dash-find .dn-ic { color: var(--gold-text); }
  body.is-dash .dash .dash-find input:focus-visible { background: #fff; }
  /* the page name is in the top bar now, so the panel heading only keeps its date and buttons */
  body.is-dash .dash .dash-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.is-dash .dash .dash-panel { max-width: 88rem; }
}

/* open sections on a gold rule, everywhere */
body.is-dash .dash .dash-box { background: transparent; border: 0; border-top: 3px solid var(--gold); padding: .9rem 0 0; margin-bottom: 1.75rem; }
body.is-dash .dash .ov-grid { gap: 2.5rem; }
/* Today: the numbers as one strip of large figures */
body.is-dash .dash .ov-stats { background: transparent; border: 0; border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); margin-bottom: 1.75rem; }
body.is-dash .dash .ov-stat { background: transparent; padding: .9rem 1rem; }
body.is-dash .dash .ov-stat strong { font-family: var(--caps); font-size: 2rem; letter-spacing: .02em; }
body.is-dash .dash .ov-stat:hover { background: rgba(201,160,85,.1); }
/* work board: columns become lanes with a gold head line */
body.is-dash .dash .bd-col { background: transparent; border: 0; border-top: 3px solid var(--gold); padding-left: 0; padding-right: 0; }
body.is-dash .dash .bd-card { background: var(--d-sheet); }
/* shortcuts: quiet text links with a gold rule on hover */
body.is-dash .dash .ov-q { background: transparent; border-color: transparent; border-bottom: 1px solid var(--d-line); }
body.is-dash .dash .ov-q:hover { border-bottom-color: var(--gold); background: rgba(201,160,85,.1); }
/* Oct 23 follow-up: no decorative lines */
@media (min-width: 961px) { body.is-dash .dash .dash-mbar-title::after { content: none; } }
body.is-dash .dash .dash-box, body.is-dash .dash .bd-col { border-top: 0; }

/* ================= Website editor ================= */
body.is-dash .dash .ed-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
body.is-dash .dash .ed-status { min-height: 1.4rem; margin: 0 0 .8rem; color: var(--gold-text); font-weight: 600; }
body.is-dash .dash .ed-status.err { color: var(--err); }
body.is-dash .dash #ed-tabs { margin-bottom: 1.25rem; }
body.is-dash .dash .ed-sec { display: grid; gap: 1.4rem; max-width: 52rem; }
body.is-dash .dash .ed-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .5rem 1.5rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-row > label, body.is-dash .dash .ed-row > .ed-lab { font-weight: 600; color: var(--strong); padding-top: .35rem; }
body.is-dash .dash .ed-row .ed-hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
body.is-dash .dash .ed-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
body.is-dash .dash .ed-opt { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid var(--d-line); background: var(--d-sheet); cursor: pointer; }
body.is-dash .dash .ed-opt:has(input:checked) { border-color: var(--gold); background: rgba(201,160,85,.16); }
body.is-dash .dash .ed-sw { width: 1.1rem; height: 1.1rem; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
body.is-dash .dash .ed-range { display: flex; align-items: center; gap: .8rem; }
body.is-dash .dash .ed-range input[type=range] { width: min(20rem, 100%); accent-color: #C9A055; }
body.is-dash .dash .ed-demo { display: inline-block; padding: .5rem 1rem; background: #C9A055; color: #2A2013; font-weight: 600; }
body.is-dash .dash .ed-list { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
body.is-dash .dash .ed-li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .55rem .75rem; background: var(--d-sheet); border: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-li.is-off { opacity: .55; }
body.is-dash .dash .ed-li .ed-move { display: flex; gap: .3rem; }
body.is-dash .dash .ed-li .ed-move button { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--d-line); background: #fff; cursor: pointer; }
body.is-dash .dash .ed-li .ed-move button:disabled { opacity: .35; cursor: default; }
body.is-dash .dash .ed-find { width: min(26rem, 100%); margin-bottom: .5rem; }
body.is-dash .dash .ed-group h3 { margin: .5rem 0 .75rem; }
body.is-dash .dash .ed-field { display: grid; gap: .3rem; padding: .7rem 0; border-bottom: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-field label { font-weight: 600; color: var(--strong); }
body.is-dash .dash .ed-field textarea, body.is-dash .dash .ed-field input[type=text] { width: 100%; font: 400 1rem/1.45 var(--text); }
body.is-dash .dash .ed-field.is-changed label::after { content: "changed"; margin-left: .5rem; padding: .05rem .4rem; background: rgba(201,160,85,.2); color: var(--gold-text); font-size: .75rem; font-weight: 700; }
body.is-dash .dash .ed-field .linkish { justify-self: start; font-size: .88rem; }
body.is-dash .dash .ed-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
body.is-dash .dash .ed-photo { display: grid; gap: .5rem; align-content: start; }
body.is-dash .dash .ed-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #e9e1cf; border: 1px solid var(--d-line-2); }
body.is-dash .dash .ed-photo strong { color: var(--strong); }
body.is-dash .dash .ed-photo .ed-photo-acts { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) { body.is-dash .dash .ed-row { grid-template-columns: 1fr; } }

/* Oct 23: no decorative gold lines anywhere (Jake). Red "needs attention" marks stay. */
body.is-dash .dash :is(.bundle-form, .sale-store.on, .lk-card) { box-shadow: none !important; }
body.is-dash .dash :is(.dash-box, .bd-col, .lk-card, .dash-stats div, .or-print, .order-card) { border-top-width: 0 !important; border-left-width: 0 !important; }
body.is-dash .dash .dash-box { border-top: 0 !important; }
body.is-dash .dash .or-print { border: 0 !important; }
body.is-dash .dash .ed-setup { max-width: 52rem; margin: 0 0 1rem; padding: 1rem 1.2rem; background: #FBE9E3; border: 1px solid #E2A493; color: #6E2414; }
body.is-dash .dash .ed-setup strong { display: block; font-size: 1.1rem; }
body.is-dash .dash .ed-setup p { margin: .35rem 0 0; }

/* ===== Filament, taxes, customers (Oct 24) ===== */
body.is-dash .dash .fil-table td { vertical-align: middle; }
body.is-dash .dash .fil-bar { width: 9rem; max-width: 100%; height: 8px; background: rgba(var(--ink-rgb),.1); margin-bottom: .25rem; }
body.is-dash .dash .fil-bar span { display: block; height: 100%; background: var(--gold); }
body.is-dash .dash .fil-row.is-low .fil-bar span { background: var(--err); }
body.is-dash .dash .fil-row.is-empty, body.is-dash .dash .fil-row.is-spare { opacity: .65; }
body.is-dash .dash .fil-low { color: var(--err); font-weight: 600; }
body.is-dash .dash .fil-acts { white-space: nowrap; }
body.is-dash .dash .fil-acts .linkish { margin-left: .6rem; }
body.is-dash .dash .fil-status { padding: .3rem .4rem; font: inherit; font-size: .9rem; }
body.is-dash .dash .fil-add-h { margin: 1.2rem 0 .5rem; }
body.is-dash .dash .fil-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .6rem .8rem; align-items: end; }
body.is-dash .dash .fil-add .field, body.is-dash .dash .fil-costs .field, body.is-dash .dash .fil-g { margin: 0; }
body.is-dash .dash .fil-add .btn { height: 2.6rem; }
body.is-dash .dash .fil-grams { display: grid; gap: .45rem; margin: .6rem 0 .9rem; }
body.is-dash .dash .fil-g { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: center; }
body.is-dash .dash .fil-g label { margin: 0; font-weight: 500; }
body.is-dash .dash .fil-g-in { display: flex; align-items: center; gap: .45rem; }
body.is-dash .dash .fil-g-in input { width: 5.5rem; }
body.is-dash .dash .fil-costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem .8rem; margin: .6rem 0 .9rem; }
body.is-dash .dash .nm-li-total { font-weight: 700; }
body.is-dash .dash .nm-li-total strong { font-size: 1.1rem; }
body.is-dash .dash .tax-ctl { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.is-dash .dash .tax-ctl select { padding: .35rem .5rem; font: inherit; }
body.is-dash .dash .tax-table td:not(:first-child), body.is-dash .dash .tax-table th:not(:first-child) { text-align: right; white-space: nowrap; }
body.is-dash .dash .tax-table tr.tax-total td { font-weight: 700; background: rgba(var(--ink-rgb),.05); }
body.is-dash .dash .cu-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
body.is-dash .dash .cu-bar input[type=search] { flex: 1 1 16rem; max-width: 26rem; }
body.is-dash .dash .cu-bar .dash-tabs { margin: 0; }
body.is-dash .dash .cu-name { background: none; border: 0; padding: 0; font: 600 1rem var(--text); color: var(--strong); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: rgba(var(--ink-rgb),.25); text-underline-offset: 3px; }
body.is-dash .dash .cu-name:hover, body.is-dash .dash .cu-name:focus-visible { color: var(--gold-dark); text-decoration-color: currentColor; }
body.is-dash .dash .cu-email { display: block; }
body.is-dash .dash .cu-tags { display: inline-flex; gap: .3rem; margin-top: .25rem; }
body.is-dash .dash .cu-table td:nth-child(2), body.is-dash .dash .cu-table td:nth-child(3), body.is-dash .dash .cu-table th:nth-child(2), body.is-dash .dash .cu-table th:nth-child(3) { text-align: right; }
body.is-dash .dash .lk-extra { margin: .4rem 0 .8rem; }
body.is-dash .dash .lk-reviews h4, body.is-dash .dash .lk-notes label { margin: .8rem 0 .35rem; display: block; font-weight: 600; }
body.is-dash .dash .lk-notes textarea { width: 100%; min-height: 4.5rem; }
body.is-dash .dash .lk-note-row { display: flex; gap: .6rem; align-items: center; margin-top: .4rem; }
body.is-dash .dash .repeat-badge { display: inline-block; padding: .08rem .45rem; font: 600 .78rem var(--text); border: 1px solid rgba(255,255,255,.35); color: #F3EAD6; }
body.is-dash .dash .od-cust { margin: .4rem 0 .2rem; }
body.is-dash .dash .od-money .od-profit dd { font-weight: 700; color: var(--ok); }
body.is-dash .dash .od-costs { margin-top: .4rem; }

body.is-dash .dash .badge-packed { color: var(--gold-text); background: rgba(var(--gold-rgb),.12); }
