/* Tokens. Leading colour sage #ACC3A6 with a single-hue ramp:
   50 #f3f6f2 · 100 #e5ece3 · 200 #cddbc9 · 300 #acc3a6 · 400 #8ca985 · 500 #6e8e67 · 600 #557350 · 700 #41593d · 800 #2d3e2b · 900 #1b261a
   Sage leads the interface (band, controls, funnel, staffing). Chart series stay blue / orange / aqua:
   green next to orange fails the colour-blindness check, so outcome colours are not green. */
:root {
  color-scheme: light;
  --page: #f3f6f2;
  --panel: #ffffff;
  --rule: #dce3d9;
  --grid: #e8ede6;
  --axis: #c2ccbe;
  --ink: #1b261a;
  --ink-2: #4a5747;
  --muted: #7a8677;
  --focus: #557350;
  --accent-strong: #2d3e2b;
  --accent-on: #f3f6f2;

  --band: #acc3a6;
  --band-ink: #1b261a;
  --band-ink-2: #34442f;
  --band-rule: rgba(27, 38, 26, 0.16);
  --tray: #ffffff;
  --up: #1f6b2a; --down: #a3302a;
  --b-ordered: #2a78d6;
  --b-unatt: #eb6834;
  --b-queue: #1baf7a;
  --b-other: #b3c1ae;

  --s-ordered: #2a78d6;
  --s-abandoned: #eb6834;
  --s-queue: #1baf7a;
  --s-passed: #d3dccf;
  --f1: #8ca985; --f2: #6e8e67; --f3: #557350; --f4: #2d3e2b;
  --staffed: #6e8e67;
  --unstaffed: #e8ede6;
  --line: #4a5747;

  --good: #0ca30c; --warning: #fab219; --critical: #d03b3b;
  --good-text: #1f6b2a; --warn-text: #8a5a00; --bad-text: #b42f2f;
  --good-bg: #e6f1e3; --warn-bg: #fbf0d4; --bad-bg: #fae6e4; --neutral-bg: #eef2ec;

  --font: "Avenir Next", "Avenir", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0f150f; --panel: #182118; --rule: #263326; --grid: #1f2a1f; --axis: #324232;
    --ink: #e9efe7; --ink-2: #b3c0af; --muted: #7f8c7c; --focus: #acc3a6;
    --accent-strong: #acc3a6; --accent-on: #1b261a;
    --band: #2d3e2b; --band-ink: #f3f6f2; --band-ink-2: #b3c0af; --band-rule: rgba(255, 255, 255, 0.14);
    --tray: #182118; --up: #8fd49a; --down: #ff9b9b;
    --b-ordered: #3987e5; --b-unatt: #d95926; --b-queue: #199e70; --b-other: #3a4a39;
    --s-ordered: #3987e5; --s-abandoned: #d95926; --s-queue: #199e70; --s-passed: #3a4a39;
    --f1: #41593d; --f2: #5f7f58; --f3: #84a37c; --f4: #acc3a6;
    --staffed: #84a37c; --unstaffed: #263326; --line: #b3c0af;
    --good-text: #6fcf7c; --warn-text: #f3be4a; --bad-text: #f08080;
    --good-bg: rgba(12, 163, 12, 0.16); --warn-bg: rgba(250, 178, 25, 0.14); --bad-bg: rgba(208, 59, 59, 0.2); --neutral-bg: #1f2a1f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0f150f; --panel: #182118; --rule: #263326; --grid: #1f2a1f; --axis: #324232;
  --ink: #e9efe7; --ink-2: #b3c0af; --muted: #7f8c7c; --focus: #acc3a6;
  --accent-strong: #acc3a6; --accent-on: #1b261a;
  --band: #2d3e2b; --band-ink: #f3f6f2; --band-ink-2: #b3c0af; --band-rule: rgba(255, 255, 255, 0.14);
  --tray: #182118; --up: #8fd49a; --down: #ff9b9b;
  --b-ordered: #3987e5; --b-unatt: #d95926; --b-queue: #199e70; --b-other: #3a4a39;
  --s-ordered: #3987e5; --s-abandoned: #d95926; --s-queue: #199e70; --s-passed: #3a4a39;
  --f1: #41593d; --f2: #5f7f58; --f3: #84a37c; --f4: #acc3a6;
  --staffed: #84a37c; --unstaffed: #263326; --line: #b3c0af;
  --good-text: #6fcf7c; --warn-text: #f3be4a; --bad-text: #f08080;
  --good-bg: rgba(12, 163, 12, 0.16); --warn-bg: rgba(250, 178, 25, 0.14); --bad-bg: rgba(208, 59, 59, 0.2); --neutral-bg: #1f2a1f;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page); color: var(--ink);
  font: 500 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px 56px; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.top { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 32px 0 14px; }
.title { flex: 1; min-width: 240px; }
.title h1 {
  font-weight: 600;
  font-size: 36px; line-height: 1.05; letter-spacing: -0.015em; margin: 0;
}
.title p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; color: var(--ink-2); font-size: 13.5px; text-decoration: none; font-weight: 600; }
.back:hover { color: var(--ink); }
.back svg { width: 15px; height: 15px; }
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; padding: 3px; }
.seg button {
  border: 0; background: none; padding: 6px 13px; border-radius: 7px; cursor: pointer;
  font-size: 13.5px; font-weight: 550; color: var(--ink-2);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--accent-strong); color: var(--accent-on); }
input[type="date"] {
  height: 36px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel);
  padding: 0 10px; font-size: 13.5px;
}
.navlink {
  display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--rule);
  background: var(--panel); color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.navlink:hover { color: var(--ink); }
.iconbtn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--rule); background: var(--panel);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-2);
}
.iconbtn:hover { color: var(--ink); }
.iconbtn svg { width: 16px; height: 16px; }
.iconbtn.lang { font-size: 12px; font-weight: 700; letter-spacing: .04em; }

.now { display: flex; align-items: center; gap: 10px; padding: 0 0 22px; font-size: 13.5px; }
#now-text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nchip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap;
}
.nchip b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.nchip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.nchip.good .dot { background: var(--good); }
.nchip.warn { background: var(--warn-bg); border-color: transparent; color: var(--warn-text); }
.nchip.warn .dot { background: var(--warning); }
.nchip.bad { background: var(--bad-bg); border-color: transparent; color: var(--bad-text); }
.nchip.bad .dot { background: var(--critical); }
.nchip.warn b, .nchip.bad b { color: inherit; }
.nlabel { color: var(--muted); font-size: 13px; }
.updated { margin-left: auto; color: var(--muted); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
main { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; transition: opacity .2s; }
main.loading { opacity: .55; }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 24px; min-width: 0; }
.s12 { grid-column: span 12; } .s7 { grid-column: span 7; } .s5 { grid-column: span 5; }
h2 { font-weight: 600; font-size: 20px; line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
.head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.head .grow { flex: 1; min-width: 0; }
.desc { margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px; max-width: 62ch; }
.section-title { grid-column: span 12; margin: 14px 0 -6px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.section-title p { margin: 0; color: var(--ink-2); font-size: 13.5px; }

/* ---------- hero band ---------- */
.hero { grid-column: span 12; background: var(--band); color: var(--band-ink); border-radius: 20px; padding: 28px 32px 26px; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fig + .fig { border-left: 1px solid var(--band-rule); padding-left: 24px; }
.band-note { margin: 18px 0 0; font-size: 15px; font-weight: 600; }
.leak { display: flex; gap: 3px; height: 36px; margin-top: 26px; padding: 4px; border-radius: 9px; background: var(--tray); }
.leak > div {
  border-radius: 4px; display: flex; align-items: center; padding: 0 9px; font-size: 12.5px; font-weight: 650;
  white-space: nowrap; overflow: hidden; min-width: 3px;
  transform-origin: left center; animation: grow .7s cubic-bezier(.2, .7, .2, 1) both;
}
.leak > div:nth-child(2) { animation-delay: .08s; } .leak > div:nth-child(3) { animation-delay: .16s; } .leak > div:nth-child(4) { animation-delay: .24s; }
.leak.static > div { animation: none; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .leak > div { animation: none; } }
.leak.empty { opacity: .6; }
.keys { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; color: var(--band-ink-2); }
.keys .sw { box-shadow: 0 0 0 1px var(--band-rule); }   /* keeps the light swatch visible on sage */
.keys span { display: inline-flex; align-items: center; gap: 7px; }
.keys b { color: var(--band-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.lk { width: 14px; height: 2px; border-radius: 2px; display: inline-block; flex: none; }
.fig .label { color: var(--band-ink-2); font-size: 14px; }
.fig .value { font-weight: 600; font-size: 52px; line-height: 1; margin-top: 8px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fig .meta { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; font-size: 13.5px; color: var(--band-ink-2); }
.fig .meta .up { color: var(--up); font-weight: 700; } .fig .meta .down { color: var(--down); font-weight: 700; }

/* ---------- standards ---------- */
.standards { grid-column: span 12; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.std { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.std .label { color: var(--ink-2); font-size: 13.5px; }
.std .value { font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.std .value small { font-size: 17px; color: var(--ink-2); font-weight: 500; margin-left: 4px; }
.std .note { color: var(--muted); font-size: 12.5px; margin-top: auto; padding-top: 4px; }
.status {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 12.5px; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--neutral-bg); color: var(--ink-2);
  white-space: nowrap;
}
.status svg { width: 13px; height: 13px; flex: none; }
.status.good { background: var(--good-bg); color: var(--good-text); }
.status.warn { background: var(--warn-bg); color: var(--warn-text); }
.status.bad { background: var(--bad-bg); color: var(--bad-text); }

/* ---------- funnel row ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: end; gap: 0 14px; }
.stage { outline-offset: 4px; border-radius: 4px; }
.stage .label { color: var(--ink-2); font-size: 13.5px; }
.stage .value { font-weight: 600; font-size: 40px; line-height: 1.05; margin-top: 2px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.stage .track { background: var(--grid); border-radius: 0 4px 4px 0; margin-top: 10px; }
.stage .bar { height: 8px; border-radius: 0 4px 4px 0; min-width: 3px; transition: width .5s ease; }
.step { display: flex; flex-direction: column; align-items: center; padding-bottom: 18px; color: var(--muted); font-size: 12.5px; min-width: 64px; }
.step b { font-size: 17px; color: var(--ink); font-weight: 600; }
.step svg { width: 46px; height: 10px; margin-top: 2px; color: var(--axis); }

/* ---------- charts ---------- */
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; font-family: var(--font); }
.hit { fill: transparent; outline: none; }
.hit:focus-visible { stroke: var(--focus); stroke-width: 2; }
.toggle {
  border: 1px solid var(--rule); background: var(--panel); border-radius: 8px; padding: 4px 10px;
  font-size: 12.5px; cursor: pointer; color: var(--ink-2);
}
.toggle:hover { color: var(--ink); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.mini .label { color: var(--ink-2); font-size: 12.5px; line-height: 1.3; }
.mini .value { font-weight: 600; font-size: 26px; line-height: 1.1; margin-top: 3px; letter-spacing: -0.015em; }
.mini .note { color: var(--muted); font-size: 12px; }

/* ---------- tables & lists ---------- */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-weight: 550; color: var(--muted); font-size: 12.5px; padding: 0 10px 8px; white-space: nowrap; }
td { padding: 10px; border-top: 1px solid var(--grid); white-space: nowrap; font-variant-numeric: tabular-nums; }
th:first-child, td:first-child { padding-left: 0; }
td.r, th.r { text-align: right; }
.scroll { overflow-x: auto; }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--grid); }
.events li:first-child { border-top: 0; padding-top: 2px; }
.events time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.events b { font-weight: 600; }
.events p { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quiet { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.quiet svg { width: 16px; height: 16px; color: var(--good); }

.banner { grid-column: span 12; padding: 12px 16px; border-radius: 12px; background: var(--bad-bg); color: var(--bad-text); font-size: 13.5px; }
footer { margin-top: 28px; color: var(--muted); font-size: 12.5px; display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: space-between; }

/* ---------- tooltip ---------- */
#tip {
  position: fixed; z-index: 10; pointer-events: none; min-width: 150px; max-width: 260px;
  background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 10px 30px -10px rgba(10, 20, 35, 0.35); padding: 10px 12px; font-size: 12.5px;
  opacity: 0; transition: opacity .12s;
}
#tip.on { opacity: 1; }
#tip .th { color: var(--ink-2); font-weight: 550; margin-bottom: 6px; }
#tip .tr { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
#tip .tr b { font-weight: 650; font-variant-numeric: tabular-nums; min-width: 28px; }
#tip .tr span { color: var(--ink-2); }
#tip .tf { border-top: 1px solid var(--grid); margin-top: 7px; padding-top: 6px; color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s7, .s5 { grid-column: span 12; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px 36px; }
  .top { padding-top: 22px; }
  .title h1 { font-size: 32px; }
  .hero { padding: 22px 20px; border-radius: 16px; }
  .fig .value { font-size: 38px; }
  .figs { gap: 16px; }
  .fig + .fig { padding-left: 16px; }
  .fig:nth-child(3) { padding-left: 0; }
  .keys .vs { margin-left: 0; width: 100%; }
  .standards { gap: 12px; }
  .std { padding: 14px 16px; }
  .std .value { font-size: 28px; }
  main { gap: 12px; }
  .panel { padding: 18px 16px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .step { display: none; }
  .stage .value { font-size: 32px; }
  .minis { grid-template-columns: 1fr 1fr; }
  .now { flex-wrap: wrap; }
  .updated { margin-left: 0; width: 100%; }
  .seg button { padding: 6px 10px; }
}

/* ---------- alert list + preview dialog (store dashboard) ---------- */
.events.clickable li { display: block; padding: 0; }
.events .ev {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%;
  padding: 11px 8px; margin: 0 -8px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 10px;
}
.events .ev:hover { background: var(--neutral-bg); }
.events .ev.static { cursor: default; }
.events .ev.static:hover { background: none; }
.events .ev.static p, .events:not(.clickable) p { white-space: normal; overflow: visible; }   /* system alerts: show the whole message */
.events .ev b { display: inline-flex; align-items: center; gap: 6px; }
.events .cam { width: 15px; height: 15px; flex: none; color: var(--focus); }
.events .ev .status { margin-top: 1px; }
.events li:first-child .ev { padding-top: 6px; }
.events-scroll { max-height: 460px; overflow-y: auto; margin-right: -8px; padding-right: 8px; }
.head .count { margin-top: 2px; }

dialog.sheet {
  width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--rule);
  border-radius: 16px; background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(10, 20, 10, .5);
}
dialog.sheet::backdrop { background: rgba(15, 21, 15, .5); }
.sheet-in { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.ad-head { display: flex; gap: 12px; align-items: flex-start; }
.ad-head .grow { flex: 1; min-width: 0; }
.ad-kicker { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ad-head h2 { font-size: 22px; }
.ad-head .desc { max-width: none; }
.ad-nav { display: flex; gap: 6px; }
.ad-nav .iconbtn[disabled] { opacity: .4; cursor: default; }
.ad-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ad-bar .cap { color: var(--muted); font-size: 12.5px; flex: 1; min-width: 200px; }
.ad-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0d120d;
  display: grid; place-items: center;
}
.ad-media img, .ad-media video { width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-media .msg { color: #d9e2d6; font-size: 14px; display: flex; gap: 10px; align-items: center; padding: 24px; text-align: center; max-width: 46ch; }
.spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: rot .9s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
.ad-judge { border-top: 1px solid var(--grid); padding-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; align-items: center; }
.ad-judge h3 { margin: 0; font-size: 15px; font-weight: 600; grid-column: 1 / -1; }
.ad-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.judge {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--rule); background: var(--panel); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.judge svg { width: 14px; height: 14px; }
.judge:hover { color: var(--ink); border-color: var(--axis); }
.judge.good[aria-pressed="true"] { background: var(--good-bg); border-color: transparent; color: var(--good-text); }
.judge.bad[aria-pressed="true"] { background: var(--bad-bg); border-color: transparent; color: var(--bad-text); }
.ad-note {
  width: 100%; min-height: 38px; height: 38px; resize: vertical; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--page); padding: 8px 11px; font: inherit; font-size: 13.5px; color: var(--ink);
}
.ad-stats { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12.5px; }
.ad-stats b { color: var(--ink-2); }
@media (max-width: 680px) {
  .sheet-in { padding: 16px 16px 18px; }
  .ad-judge { grid-template-columns: minmax(0, 1fr); }
  .ad-head h2 { font-size: 19px; }
  .events .ev { grid-template-columns: 52px minmax(0, 1fr); }
  .events .ev .status { grid-column: 2; justify-self: start; }
}

/* ---------- breadcrumb: chain › location (› page) ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 15px; height: 15px; }
.crumbs .sep { color: var(--muted); font-weight: 400; }
.crumbs .here { color: var(--ink); }
.crumbs select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--rule); background: var(--panel); color: var(--ink);
  font: inherit; font-size: 13.5px; font-weight: 600; border-radius: 8px; padding: 3px 26px 3px 9px; cursor: pointer; max-width: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%237a8677' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center; background-size: 13px;
}
.crumbs select:hover { border-color: var(--axis); }

/* ---------- sales section (store dashboard) ---------- */
.sales-note { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; }
.sales-empty { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sales-empty .grow { flex: 1; min-width: 260px; }
.btn-link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; text-decoration: none;
  background: var(--accent-strong); color: var(--accent-on); font-weight: 600; font-size: 13.5px; white-space: nowrap;
}
.btn-link:hover { filter: brightness(1.08); }
