/* CSPC WhereITis — admin console.
   The public header, footer, page width, tables (.registry), filters (.toolbar), cards (.my-stats),
   labels and pagination are the site's own. This file only adds the left-hand navigation panel
   and a few small helpers. */

.adm-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.adm-content { min-width: 0; }
.adm-content > section { margin-bottom: var(--s-5); }
.staff-queue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); align-items: start; margin-top: var(--s-4); }
.staff-queue-card { min-width: 0; margin: 0; padding: var(--s-4); background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 28px -20px rgba(16, 66, 122, .55); backdrop-filter: blur(10px); }
.staff-queue-card--wide { grid-column: 1 / -1; }
.staff-queue-card h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .65rem; margin: 0 0 .65rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.staff-queue-card h2 .muted { padding: .16rem .55rem; border: 1px solid var(--border); border-radius: 999px; background: var(--brand-050); font-size: .72rem; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.staff-queue-card > p.muted { margin: 0 0 var(--s-3); }
.staff-queue-empty { margin: var(--s-3) 0 0; padding: .8rem .9rem; border: 1px dashed var(--border); border-radius: 10px; background: var(--brand-050); color: var(--muted); }
.staff-queue-card .table-wrap { min-width: 0; }
@media (max-width: 720px) {
  .staff-queue-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .staff-queue-card--wide { grid-column: auto; }
  .staff-queue-card { padding: var(--s-3); }
}

/* ---------- Navigation panel ---------- */
.adm-side {
  position: sticky; top: 5.75rem; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-3); background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  max-height: calc(100vh - 7rem); max-height: calc(100dvh - 7rem); overflow-y: auto;
}
.adm-side__who { display: flex; align-items: center; gap: .75rem; padding: .2rem .25rem var(--s-3); border-bottom: 1px solid var(--border); }
.adm-side__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.adm-side__id { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.adm-side__id strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-side__id span { font-size: .78rem; color: var(--muted); }

.adm-nav { display: flex; flex-direction: column; gap: var(--s-3); }
.adm-nav__group { display: flex; flex-direction: column; gap: 2px; }
.adm-nav__label { margin: 0 .75rem .35rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.adm-nav a {
  position: relative; display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border-radius: 8px;
  color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; transition: color .15s, background-color .15s;
}
.adm-nav a svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.adm-nav a span { min-width: 0; }
.adm-nav a:hover { color: var(--ink); background: var(--brand-050); }
.adm-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-050); }
.adm-nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.adm-badge { margin-left: auto; min-width: 1.35rem; padding: 0 .4rem; border-radius: 4px; background: var(--brand); color: var(--on-brand); font-style: normal; font-size: .72rem; font-weight: 700; line-height: 1.35rem; text-align: center; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Page content helpers ---------- */
.adm-page .page-head { margin-top: 0; }
.adm-page .page-head h1 { margin-bottom: .25rem; }
.adm-page .page-head p { margin: 0; }
.adm-content .my-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.adm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--s-4); margin-bottom: var(--s-4); }
.adm-cols .my-section__head { margin-top: 0; }
.adm-small { font-size: .84rem; }
.adm-wrap { max-width: 44ch; overflow-wrap: anywhere; }
.adm-col-actions { white-space: nowrap; text-align: right !important; }
.adm-col-actions .btn { margin-left: .25rem; }
.adm-inline { display: inline; margin: 0; }
.adm-rolefm { display: inline-flex; gap: .25rem; align-items: center; }
.adm-select { width: auto; min-height: 36px; padding-top: 0; padding-bottom: 0; }
.btn--ghost.adm-del { color: var(--accent-red); border-color: var(--accent-red); }
.btn--ghost.adm-del:hover { background: var(--accent-red); color: var(--on-brand); border-color: var(--accent-red); }
.adm-tag { display: inline-block; padding: .2rem .6rem; border-radius: 4px; font-size: .75rem; font-weight: 700; background: var(--brand-050); color: var(--muted); }
.adm-tag--strong { background: var(--brand); color: var(--on-brand); }
.adm-tag--muted { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); }

/* ---------- Small screens: the panel becomes a swipeable strip above the page ---------- */
@media (max-width: 960px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .adm-side { position: static; max-height: none; padding: .5rem; flex-direction: row; align-items: center; gap: .5rem; overflow: visible; }
  .adm-side__who { display: none; }
  .adm-nav { flex-direction: row; gap: .25rem; overflow-x: auto; scrollbar-width: thin; }
  .adm-nav__group { flex-direction: row; gap: .25rem; }
  .adm-nav__label { display: none; }
  .adm-nav a { flex: 0 0 auto; white-space: nowrap; padding: .5rem .7rem; }
  .adm-nav a[aria-current="page"]::before { display: none; }
  .adm-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); border-radius: 8px 8px 0 0; }
}
@media (max-width: 720px) {
  .adm-col-actions { text-align: left !important; white-space: normal; }
  .adm-col-actions .btn { margin: .25rem .25rem 0 0; }
}

/* ---------- Animated stat tiles (Overview) ---------- */
.adm-content .my-stats strong { font-variant-numeric: tabular-nums; }
.adm-content .my-stats a { position: relative; }
.adm-content .my-stats a:hover { transform: translateY(-2px); }
.adm-content .my-stats a { transition: border-color .15s, box-shadow .15s, transform .15s; }
/* A tile that needs an admin's attention gets a quietly pulsing dot. */
.adm-dot { position: absolute; top: .9rem; right: .9rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-red); }
.adm-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-red); animation: adm-ping 1.9s ease-out infinite; }
@keyframes adm-ping { to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .adm-dot::after { animation: none; display: none; }
  .adm-content .my-stats a:hover { transform: none; }
}

/* ---------- Time-aware greeting (Overview) ---------- */
.adm-greet h1 { display: flex; align-items: center; gap: .6rem; }
.adm-greet__icon { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: adm-greet-in .7s cubic-bezier(.2,.8,.2,1) both; }
.adm-greet .muted a { font-weight: 700; }
@keyframes adm-greet-in { from { opacity: 0; transform: rotate(-50deg) scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .adm-greet__icon { animation: none; } }

/* ---------- Charts (Overview): monthly bars, category donut, top locations ---------- */
:root { --adm-c5: #6d4fa3; --adm-c6: #6b7683; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --adm-c5: #b59be0; --adm-c6: #9ba5b2; } }
:root[data-theme="dark"] { --adm-c5: #b59be0; --adm-c6: #9ba5b2; }
.adm-c1 { --seg: var(--brand); } .adm-c2 { --seg: var(--accent-red); } .adm-c3 { --seg: var(--green); }
.adm-c4 { --seg: var(--amber); } .adm-c5 { --seg: var(--adm-c5); } .adm-c6 { --seg: var(--adm-c6); }

.adm-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: var(--s-3) var(--s-4) var(--s-3); min-width: 0; }
.adm-card h2 { margin: 0 0 var(--s-2); font-size: 1.15rem; }
.adm-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.adm-content > .adm-card { margin-bottom: var(--s-4); }
.adm-cols > .adm-card { margin: 0; }
.adm-legend { display: flex; gap: 1rem; margin: 0 0 var(--s-2); font-size: .85rem; color: var(--muted); }
.adm-legend b { color: var(--ink); font-variant-numeric: tabular-nums; margin-left: .2rem; }
.adm-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .4rem; flex: none; background: var(--seg, var(--muted)); }
.adm-key--lost { background: var(--accent-red); } .adm-key--found { background: var(--brand); }

.adm-chart { display: block; width: 100%; height: auto; }
.adm-grid { stroke: var(--border); stroke-width: 1; }
.adm-axis { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

.adm-donut { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.adm-donut svg { width: 170px; height: 170px; flex: none; }
.adm-donut__n { font: 700 1.7rem var(--font-serif); fill: var(--ink); font-variant-numeric: tabular-nums; }
.adm-donut__l { font-size: 11px; fill: var(--muted); }
.adm-donut__list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 150px; font-size: .9rem; }
.adm-donut__list li { display: flex; align-items: center; gap: .1rem; padding: .25rem 0; border-bottom: 1px solid var(--border); }
.adm-donut__list li:last-child { border-bottom: 0; }
.adm-donut__list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-donut__list b { margin-left: auto; padding-left: .75rem; font-variant-numeric: tabular-nums; }

.adm-hbars { list-style: none; margin: 0; padding: 0; }
.adm-hbars li { display: grid; grid-template-columns: minmax(6rem, 10rem) 1fr 2.2rem; gap: .75rem; align-items: center; padding: .35rem 0; font-size: .9rem; }
.adm-hbars__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-hbars__track { height: 12px; border-radius: 6px; background: var(--brand-050); overflow: hidden; }
.adm-hbars b { text-align: right; font-variant-numeric: tabular-nums; }

.adm-data { margin-top: var(--s-2); font-size: .88rem; }
.adm-data summary { cursor: pointer; color: var(--brand); font-weight: 600; width: fit-content; }
.adm-data .table-wrap { margin: var(--s-2) 0 0; max-height: 18rem; overflow: auto; }


/* ---------- Reunited this month: ring gauge (Overview) ---------- */
.adm-reunite { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.adm-reunite__ring { position: relative; flex: none; width: 124px; height: 124px; }
.adm-reunite__ring svg { display: block; width: 100%; height: 100%; }
.adm-reunite__track { fill: none; stroke: var(--brand-050); stroke-width: 14; }
.adm-reunite__pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font: 700 1.6rem var(--font-serif); font-variant-numeric: tabular-nums; }
.adm-reunite__text h2 { margin: 0 0 .35rem; }
.adm-reunite__text p { margin: 0 0 .35rem; }
@media (max-width: 520px) { .adm-reunite { flex-direction: column; align-items: flex-start; } }

/* ---------- Guest report review: card stack ---------- */
.guest-claim-list { display: grid; gap: var(--s-3); }
.guest-claim-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, 1.25fr); gap: var(--s-4); padding: var(--s-4); background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 28px -20px rgba(16, 66, 122, .55); }
.guest-claim-card > * { min-width: 0; }
.guest-claim-card h3 { margin: 0 0 .55rem; font-size: 1rem; }
.guest-claim-card h4 { margin: 0 0 .25rem; font-size: .82rem; }
.guest-claim-eyebrow { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.guest-claim-card__report > code { overflow-wrap: anywhere; }
.guest-claim-meta { display: grid; gap: .55rem; margin: var(--s-3) 0 0; }
.guest-claim-meta dt { color: var(--muted); font-size: .76rem; }
.guest-claim-meta dd { margin: 0; overflow-wrap: anywhere; }
.guest-claim-name { margin: 0 0 .75rem; font-weight: 700; }
.guest-claim-proof { padding-top: .65rem; border-top: 1px solid var(--border); }
.guest-claim-proof + .guest-claim-proof { margin-top: .65rem; }
.guest-claim-proof p { margin: 0; overflow-wrap: anywhere; }
.guest-claim-confirm-form { display: grid; gap: .75rem; min-width: 0; }
.guest-claim-confirm-form fieldset { display: grid; gap: .6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.guest-claim-confirm-form legend { margin-bottom: .15rem; font-weight: 700; }
.guest-claim-confirm-form label { display: flex; align-items: flex-start; gap: .55rem; margin: 0; line-height: 1.4; }
.guest-claim-confirm-form input[type="checkbox"] { flex: none; margin: .2rem 0 0; }
.guest-claim-confirm-form .btn { justify-self: start; max-width: 100%; white-space: normal; }
.guest-claim-reject { display: grid; gap: .45rem; min-width: 0; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.guest-claim-reject label { font-weight: 700; }
.guest-claim-reject textarea { width: 100%; min-height: 6rem; resize: vertical; }
.guest-claim-reject .btn { justify-self: start; }
@media (max-width: 1000px) {
  .guest-claim-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-claim-card__decision { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
  .guest-claim-reject { margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (max-width: 640px) {
  .guest-claim-card { grid-template-columns: minmax(0, 1fr); padding: var(--s-3); }
  .guest-claim-card__decision { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .guest-claim-reject { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); }
}
.mod-list { display: grid; gap: var(--s-3); }
.mod-card { position: relative; max-width: 740px; padding: var(--s-4); background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 28px -20px rgba(16, 66, 122, .55); }
.mod-card__head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-2); }
.mod-card__title { margin: 0 0 .25rem; font-size: 1.3rem; }
.mod-card__body { display: flex; gap: var(--s-4); align-items: flex-start; flex-wrap: wrap; margin: var(--s-3) 0; }
.mod-card__photo img { display: block; width: 160px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.mod-facts { flex: 1 1 260px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem 1.25rem; margin: 0; }
.mod-facts dt { font-size: .78rem; color: var(--muted); }
.mod-facts dd { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }
.mod-card__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.mod-card__actions .mod-form { margin-top: 0; }
.mod-form__note { flex: 1 1 14rem; min-width: 0; }
.mod-form__note .input { width: 100%; }

.mod-bar { max-width: 740px; margin-bottom: var(--s-3); }
.mod-keys { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 .4rem; font-size: .88rem; color: var(--muted); }
.mod-keys kbd { font: 600 .78rem ui-monospace, monospace; padding: 0 .4rem; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; background: var(--brand-050); color: var(--ink); }
.mod-left { margin-left: auto; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.mod-meter { height: 6px; border-radius: 3px; background: var(--brand-050); overflow: hidden; }
.mod-meter i { display: block; width: 0; height: 100%; background: var(--green); transition: width .4s; }

/* Stack mode (added by admin-review.js): every card sits in the same grid cell. */
.mod-stack.is-stack { display: grid; max-width: 740px; padding-bottom: 28px; }
.is-stack .mod-card { grid-area: 1 / 1; align-self: stretch; max-width: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.is-stack .mod-card[data-pos="0"] { z-index: 3; }
.is-stack .mod-card[data-pos="1"] { z-index: 2; transform: translateY(12px) scale(.97); }
.is-stack .mod-card[data-pos="2"] { z-index: 1; transform: translateY(24px) scale(.94); }
.is-stack .mod-card.is-out-approve { z-index: 4; transform: translateX(115%) rotate(6deg) !important; opacity: 0; }
.is-stack .mod-card.is-out-reject  { z-index: 4; transform: translateX(-115%) rotate(-6deg) !important; opacity: 0; }
.is-stack .mod-card[hidden] { display: none; }
.is-stack .mod-form--reject .mod-form__note { display: none; }
.is-stack .mod-card.is-rejecting .mod-form--reject .mod-form__note { display: block; }
.is-stack .mod-card.is-rejecting .mod-form--reject { flex: 1 1 22rem; }

.mod-stamp { position: absolute; top: var(--s-3); right: var(--s-3); padding: .1rem .7rem; border: 3px solid currentColor; border-radius: 6px; font: 700 1.2rem var(--font-serif); transform: rotate(-8deg) scale(1.5); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; }
.mod-card.is-out-approve .mod-stamp { color: var(--green); opacity: 1; transform: rotate(-8deg); }
.mod-card.is-out-approve .mod-stamp::after { content: "Approved"; }
.mod-card.is-out-reject .mod-stamp { color: var(--accent-red); opacity: 1; transform: rotate(-8deg); }
.mod-card.is-out-reject .mod-stamp::after { content: "Rejected"; }

.mod-done { max-width: 740px; }
.mod-done svg { width: 56px; height: 56px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mod-done svg circle { stroke-dasharray: 126; stroke-dashoffset: 126; animation: adm-draw .7s ease-out forwards; }
.mod-done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: adm-draw .4s .5s ease-out forwards; }
@keyframes adm-draw { to { stroke-dashoffset: 0; } }

/* Toasts (shared by admin pages) */
.adm-toasts { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: .5rem; width: min(92vw, 400px); }
.adm-toast { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: .92rem; animation: adm-toast-in .25s ease-out; }
.adm-toast button { margin-left: auto; padding: .15rem .5rem; border: 0; border-radius: 4px; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.adm-toast button:focus-visible { outline: 2px solid var(--accent); }
@keyframes adm-toast-in { from { transform: translateY(10px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .is-stack .mod-card, .mod-meter i, .mod-stamp { transition: none; }
  .mod-done svg circle, .mod-done svg path { animation: none; stroke-dashoffset: 0; }
  .adm-toast { animation: none; }
}

/* =====================================================================
   Premium chart motion (Overview)
   One idea: charts compose themselves once, in order, when they scroll
   into view (admin.js adds .is-in), then stay still and respond to the
   pointer. No looping effects.
   Order inside a card: grid draws -> bars rise (left to right) -> labels
   settle -> numbers count up on the same curve.
   Without JS (or with reduced motion) nothing is hidden: the base styles
   below ARE the finished chart.
   ===================================================================== */
:root {
  --adm-expo: cubic-bezier(.16, 1, .3, 1);       /* long, soft landing */
  --adm-spring: cubic-bezier(.22, 1.22, .36, 1); /* tiny overshoot, then settles */
  --adm-sweep: cubic-bezier(.65, 0, .35, 1);     /* ease-in-out for the donut sweep */
}

/* ---- finished-state styling (also the no-motion look) ---- */
.adm-bar { transform-box: fill-box; transform-origin: 50% 100%; cursor: default; transition: opacity .25s var(--adm-expo), filter .25s var(--adm-expo); }
.adm-bar--lost { fill: url(#adm-g-lost); } .adm-bar--found { fill: url(#adm-g-found); }
.adm-bar:focus-visible { outline: none; stroke: var(--ink); stroke-width: 1.5; }
.adm-chart:has(.adm-bar:hover) .adm-bar:not(:hover),
.adm-chart:has(.adm-bar:focus-visible) .adm-bar:not(:focus-visible) { opacity: .38; }
.adm-bar:hover { filter: brightness(1.12) saturate(1.1); }
.adm-grid { transform-box: fill-box; transform-origin: 0 50%; }

.adm-donut__track { fill: none; stroke: var(--brand-050); stroke-width: 24; }
.adm-seg { fill: none; stroke: var(--seg); stroke-width: 24; cursor: default; transition: stroke-width .3s var(--adm-expo), opacity .25s var(--adm-expo); }
.adm-seg:hover, .adm-seg:focus-visible, .adm-seg.is-active { stroke-width: 30; outline: none; }
.adm-seg.is-dim { opacity: .3; }
.adm-donut__sweep { fill: none; stroke: #fff; stroke-width: 44; }
.adm-donut__n { transition: opacity .2s; }
.adm-donut__n.is-swap, .adm-donut__l.is-swap { animation: adm-pop .35s var(--adm-expo); }
.adm-donut__list li { transition: opacity .25s var(--adm-expo), background-color .2s; border-radius: 6px; }
.adm-donut__list li.is-dim { opacity: .4; }
.adm-donut__list li.is-active { background: var(--brand-050); }

.adm-hbars li { transition: opacity .25s var(--adm-expo); }
.adm-hbars:has(li:hover) li:not(:hover) { opacity: .5; }
.adm-hbars__track { position: relative; }
.adm-hbars__track i { display: block; width: var(--w, 0%); height: 100%; border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 58%, transparent), var(--brand)); }
.adm-hbars__track i::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); }

.adm-reunite__fill { fill: none; stroke: url(#adm-ring-grad); stroke-width: 14; stroke-linecap: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--green) 38%, transparent)); }

.adm-replay { margin-left: .25rem; width: 28px; height: 28px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, transform .5s var(--adm-expo); }
.adm-replay svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.adm-replay:hover { color: var(--brand); border-color: var(--brand); transform: rotate(-200deg); }
.adm-legend { align-items: center; }

/* ---- tooltip: glides between marks, two-tone, tiny arrow ---- */
.adm-tip { position: fixed; z-index: 60; pointer-events: none; display: flex; align-items: center; gap: .5rem; padding: .4rem .7rem .4rem .6rem; border-radius: 8px;
  background: var(--ink); color: var(--bg); font-size: .8rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0; transform: translate(-50%, -100%) translateY(-4px) scale(.96); transform-origin: 50% 100%;
  transition: opacity .16s var(--adm-expo), transform .2s var(--adm-expo), left .16s var(--adm-expo), top .16s var(--adm-expo); }
.adm-tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 2px 0; }
.adm-tip.is-on { opacity: 1; transform: translate(-50%, -100%) translateY(-10px) scale(1); }
.adm-tip.no-glide { transition: opacity .16s var(--adm-expo), transform .2s var(--adm-expo); }
.adm-tip i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--tip-c, var(--bg)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg) 30%, transparent); }
.adm-tip span { opacity: .72; } .adm-tip b { font-weight: 700; font-variant-numeric: tabular-nums; }

@keyframes adm-pop { from { opacity: 0; transform: translateY(3px); } }

/* ---- the choreography (only when motion is welcome) ---- */
@media (prefers-reduced-motion: no-preference) {
  /* stat tiles: a quick, staggered rise on load */
  .adm-anim .adm-content .my-stats li { animation: adm-tile-in .7s var(--adm-expo) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
  @keyframes adm-tile-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

  /* hidden "before" state, until the card scrolls into view */
  .adm-anim .adm-reveal:not(.is-in) .adm-bar { transform: scaleY(0); }
  .adm-anim .adm-reveal:not(.is-in) .adm-grid { transform: scaleX(0); opacity: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-axis { opacity: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-donut__sweep { stroke-dashoffset: var(--full); }
  .adm-anim .adm-reveal:not(.is-in) .adm-donut__track { opacity: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-donut__list li { opacity: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-hbars li { opacity: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-hbars__track i { width: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-reunite__fill { stroke-dashoffset: var(--full); }
  .adm-anim .adm-reveal:not(.is-in) .adm-reunite__track { opacity: 0; }

  /* monthly bars */
  .adm-reveal.is-in .adm-grid { animation: adm-grid-in .9s var(--adm-expo) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .adm-reveal.is-in .adm-axis--y { animation: adm-fade-up .6s var(--adm-expo) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
  .adm-reveal.is-in .adm-axis--x { animation: adm-fade-up .6s var(--adm-expo) both; animation-delay: calc(.45s + var(--i, 0) * 38ms); }
  .adm-reveal.is-in .adm-bar { animation: adm-rise 1s var(--adm-spring) both; animation-delay: calc(.3s + var(--i, 0) * 34ms); }
  @keyframes adm-grid-in { from { transform: scaleX(0); opacity: 0; } }
  @keyframes adm-fade-up { from { opacity: 0; transform: translateY(5px); } }
  @keyframes adm-rise { from { transform: scaleY(0); } }

  /* donut: one continuous clockwise sweep reveals every segment together */
  .adm-reveal.is-in .adm-donut__track { animation: adm-fade .6s var(--adm-expo) both; }
  .adm-reveal.is-in .adm-donut__sweep { animation: adm-sweep 1.45s var(--adm-sweep) .15s both; }
  .adm-reveal.is-in .adm-donut__list li { animation: adm-slide-in .7s var(--adm-expo) both; animation-delay: calc(.35s + var(--i, 0) * 85ms); }
  @keyframes adm-sweep { from { stroke-dashoffset: var(--full); } }
  @keyframes adm-fade { from { opacity: 0; } }
  @keyframes adm-slide-in { from { opacity: 0; transform: translateX(12px); } }

  /* horizontal bars: width grows, then one soft glint passes over each */
  .adm-reveal.is-in .adm-hbars li { animation: adm-fade-up .6s var(--adm-expo) both; animation-delay: calc(var(--i, 0) * 80ms); }
  .adm-reveal.is-in .adm-hbars__track i { animation: adm-grow-w 1.2s var(--adm-expo) both; animation-delay: calc(.12s + var(--i, 0) * 80ms); }
  .adm-reveal.is-in .adm-hbars__track i::after { animation: adm-sheen 1.1s ease-in-out both; animation-delay: calc(1s + var(--i, 0) * 80ms); }
  @keyframes adm-grow-w { from { width: 0; } }
  @keyframes adm-sheen { to { transform: translateX(120%); } }

  /* ring gauge */
  .adm-reveal.is-in .adm-reunite__track { animation: adm-fade .6s var(--adm-expo) both; }
  .adm-reveal.is-in .adm-reunite__fill { animation: adm-ring 1.6s var(--adm-expo) .2s both; }
  @keyframes adm-ring { from { stroke-dashoffset: var(--full); } }
}

/* ---- additions: value labels, bar glow, ring end-dot ---- */
.adm-val { fill: var(--ink); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .85; pointer-events: none; transition: opacity .25s var(--adm-expo); }
.adm-chart:has(.adm-bar:hover) .adm-val { opacity: .3; }
@media (max-width: 600px) { .adm-val { display: none; } }
.adm-bar--lost  { filter: drop-shadow(0 6px 8px color-mix(in srgb, var(--accent-red) 38%, transparent)); }
.adm-bar--found { filter: drop-shadow(0 6px 8px color-mix(in srgb, var(--brand) 38%, transparent)); }
.adm-bar--lost:hover  { filter: brightness(1.12) saturate(1.1) drop-shadow(0 8px 12px color-mix(in srgb, var(--accent-red) 46%, transparent)); }
.adm-bar--found:hover { filter: brightness(1.12) saturate(1.1) drop-shadow(0 8px 12px color-mix(in srgb, var(--brand) 46%, transparent)); }
.adm-reunite__orb { transform-origin: 65px 65px; transform: rotate(var(--deg, 0deg)); }
.adm-reunite__dot { fill: #fff; stroke: var(--green); stroke-width: 3; }

@media (prefers-reduced-motion: no-preference) {
  .adm-anim .adm-reveal:not(.is-in) .adm-val { opacity: 0; }
  .adm-anim .adm-reveal:not(.is-in) .adm-reunite__orb { transform: rotate(0deg); }
  .adm-anim .adm-reveal:not(.is-in) .adm-reunite__dot { opacity: 0; }
  /* labels settle just after their bar lands */
  .adm-reveal.is-in .adm-val { animation: adm-fade-up .5s var(--adm-expo) both; animation-delay: calc(1s + var(--i, 0) * 34ms); }
  /* a dot rides the ring to its end point, pulses three times, then rests */
  .adm-reveal.is-in .adm-reunite__orb { animation: adm-orbit 1.6s var(--adm-expo) .2s both; }
  .adm-reveal.is-in .adm-reunite__dot { animation: adm-dot-in .3s ease-out .2s both, adm-pulse 1.6s ease-out 1.9s 3; }
  @keyframes adm-orbit { from { transform: rotate(0deg); } to { transform: rotate(var(--deg, 0deg)); } }
  @keyframes adm-dot-in { from { opacity: 0; } }
  @keyframes adm-pulse { 0%, 100% { stroke-width: 3; } 50% { stroke-width: 7; } }
}

/* =====================================================================
   Overview: bento layout (from the Admin overview style lab)
   Cards on a 12-column grid. Spotlight glow and 3D tilt are driven by
   admin.js (pointer position -> --mx/--my/--rx/--ry). The grid reflows by
   the width of the content area, not the window, so it also works beside
   the navigation panel.
   ===================================================================== */
:root { --bn-r: 16px; --bn-hero: #10427a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bn-hero: #1d4f8a; } }
:root[data-theme="dark"] { --bn-hero: #1d4f8a; }

.bn-wrap { container-type: inline-size; }
.bn { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-content: start; perspective: 1200px; margin-bottom: var(--s-4); }

.bn-card {
  position: relative; min-width: 0; overflow: hidden; margin: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--bn-r); padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(16, 40, 80, .07);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s, box-shadow .2s;
}
.bn-card > h2, .bn-card h2 { font-size: 1.05rem; }
/* spotlight */
.bn-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
}
@media (hover: hover) { .bn-card:hover::after { opacity: 1; } }

.bn-hero { grid-column: span 8; background: var(--bn-hero); border-color: var(--bn-hero); color: #fff; display: flex; align-items: center; }
.bn-hero::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .14), transparent 70%); }
.bn-hero.page-head { margin-bottom: 0; }
.bn-hero h1 { margin: .2rem 0; font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: #fff; }
.bn-hero .page-head__eyebrow { color: rgba(255, 255, 255, .8); }
.bn-hero .page-head__eyebrow::before { background: rgba(255, 255, 255, .6); }
.bn-hero .muted { color: rgba(255, 255, 255, .92); }
.bn-hero .muted a, .bn-hero .muted strong { color: #fff; }
.bn-hero .muted a { text-decoration: underline; text-underline-offset: 3px; }
.bn-hero .adm-greet__icon { stroke: #fff; }
.bn-hero a:focus-visible { outline-color: #fff; }

.bn-ring { grid-column: span 4; grid-row: span 2; background: color-mix(in srgb, var(--green) 12%, var(--card)); margin-bottom: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-2); }
.bn-ring .adm-reunite__track { stroke: var(--card); }
.bn-ring .adm-reunite__text p { margin: 0 0 .35rem; }
.bn-ring .adm-reunite__ring { width: 130px; height: 130px; }
.bn-go { min-height: 44px; padding: 0 18px; margin-top: .5rem; border: 0; border-radius: 10px; background: var(--green); color: var(--card); font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, filter .15s; }
.bn-go:hover { filter: brightness(1.08); transform: translateY(-1px); }
.bn-go:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }

.bn-stats { grid-column: span 8; padding: 14px; align-content: start; }
.bn .bn-stats .my-stats { margin: 0; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.bn .bn-stats .my-stats a { border-radius: calc(var(--bn-r) - 4px); padding: 10px 12px; box-shadow: none; }
.bn .bn-stats .my-stats strong { font-size: 1.6rem; }
.bn .bn-stats .my-stats span { font-size: .78rem; }
.bn .bn-stats .my-stats a.adm-stat--act { background: color-mix(in srgb, var(--amber) 14%, var(--card)); border-color: color-mix(in srgb, var(--amber) 50%, var(--border)); }

.bn-c7 { grid-column: span 7; } .bn-c5 { grid-column: span 5; } .bn-c12 { grid-column: span 12; }

/* tables sit directly on the card */
.bn .registry-wrap, .bn .table-wrap { border: 0; box-shadow: none; background: none; border-radius: 0; margin: 0; overflow-x: auto; }
.bn .table { min-width: 0; }
.bn .registry td, .bn .registry th, .bn .table td, .bn .table th { padding-left: .5rem; padding-right: .5rem; }
.bn .my-section__head { margin: 0 0 .6rem; }
.bn .my-section__head h2 { margin: 0; }
.bn .adm-card__head h2 { margin-bottom: .6rem; }
.bn-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; }

/* reflow by the content area's own width */
@container (max-width: 720px) {
  .bn-hero, .bn-ring, .bn-stats, .bn-c7, .bn-c5, .bn-c12 { grid-column: span 12; grid-row: auto; }
  .bn-ring { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@container (max-width: 420px) {
  .bn-ring { flex-direction: column; align-items: flex-start; }
  .bn .bn-stats .my-stats { grid-template-columns: repeat(2, 1fr); }
}

/* confetti pieces (Celebrate a reunion) */
.bn-pc { position: fixed; width: 9px; height: 14px; z-index: 9999; pointer-events: none; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  .bn-card { transition: none; transform: none !important; }
  .bn-go { transition: none; }
}

/* ---------- Users page: user table + "Active now" column on the right ---------- */
.adm-split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--s-4); align-items: start; }
.adm-split__main { min-width: 0; }

/* user table: roomier, one identity cell instead of two */
.adm-split .registry th, .adm-split .registry td { padding: .85rem 1rem; }
.adm-split .registry td { vertical-align: middle; }
.adm-num { text-align: right !important; font-variant-numeric: tabular-nums; width: 1%; }
.adm-nowrap { white-space: nowrap; }
.adm-user { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.adm-user__av { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.adm-user__txt { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 0; }
.adm-user__txt strong { line-height: 1.3; }
.adm-user__txt .adm-small { overflow-wrap: anywhere; line-height: 1.35; }
.adm-user__txt .adm-tag { margin-top: .25rem; }
.adm-split .adm-col-actions { width: 1%; }

/* Active now */
.bn-active { position: sticky; top: 5.75rem; order: 2; padding: var(--s-3) var(--s-3) .5rem; border-radius: 14px; }
.adm-active__head { display: flex; align-items: center; gap: .5rem; }
.bn-active h2 { display: flex; align-items: center; margin: 0; font-size: 1.1rem; }
.adm-active__count { margin-left: auto; min-width: 1.6rem; padding: .1rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--green) 14%, var(--card)); color: var(--green); font-size: .78rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.adm-active__note { margin: .3rem 0 .6rem; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.adm-active__empty { margin: 0 0 .75rem; padding: 1rem 0; font-size: .9rem; color: var(--muted); text-align: center; }
.adm-live { display: inline-block; width: 10px; height: 10px; margin-right: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 50%, transparent); animation: adm-live 2s ease-out infinite; }
@keyframes adm-live { to { box-shadow: 0 0 0 9px transparent; } }
.adm-activelist { list-style: none; margin: 0; padding: 0; max-height: 28rem; overflow: auto; scrollbar-width: thin; }
.adm-active__row { display: flex; align-items: center; gap: .7rem; margin: 0; padding: .7rem 0; border-top: 1px solid var(--border); }
.adm-active__row:first-child { border-top: 0; }
.adm-active__av { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); font-size: .78rem; font-weight: 700; }
.adm-active__av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--card); }
.adm-active__av.is-idle::after { background: var(--amber); }
.adm-active__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-active__who strong { font-size: .9rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-active__sub { font-size: .76rem; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.adm-active__row .adm-tag { flex: none; font-size: .68rem; padding: .12rem .5rem; }

/* narrower screens: the column drops under the table instead of squeezing it */
@media (max-width: 1280px) { .adm-split { grid-template-columns: minmax(0, 1fr); } .bn-active { position: static; order: 2; } .adm-activelist { max-height: 22rem; } }
@media (prefers-reduced-motion: reduce) { .adm-live { animation: none; } }

/* profile pictures: photo covers the initials when there is one */
.adm-user__av img, .adm-active__av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--card); }
.adm-active__av::after { z-index: 1; }
.adm-person { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.adm-person > span:last-child { min-width: 0; line-height: 1.3; }

.adm-split .adm-col-actions form + form { margin-left: .5rem; }
.adm-split .adm-col-actions { width: auto; }

/* Guest recovery & claims queue */
.staff-queue { display: grid; gap: 1rem; }
.staff-queue__intro {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.1rem, 2.5vw, 1.75rem); background: var(--card);
  border: 1px solid var(--border); border-radius: 16px;
}
.staff-queue__intro h1 { margin: .15rem 0 .45rem; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.staff-queue__intro > div:first-child { max-width: 74ch; }
.staff-queue__intro .muted { margin: 0; line-height: 1.6; }
.staff-queue__total {
  display: grid; flex: none; justify-items: center; gap: .15rem; min-width: 9rem;
  padding: 1rem; border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--border));
  border-radius: 14px; background: color-mix(in srgb, var(--brand) 7%, var(--card));
}
.staff-queue__total strong { color: var(--brand); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.staff-queue__total span { color: var(--muted); font-size: .78rem; text-align: center; }
.staff-queue__overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.staff-queue__metric {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .75rem;
  padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); color: inherit; text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.staff-queue__metric:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(16, 40, 80, .08); transform: translateY(-1px); }
.staff-queue__metric:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.staff-queue__metric-label { font-weight: 700; }
.staff-queue__metric strong { grid-column: 2; grid-row: 1 / span 2; color: var(--brand); font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.staff-queue__metric-detail { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.staff-queue__section {
  min-width: 0; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--border);
  border-radius: 16px; background: var(--card); scroll-margin-top: 1rem;
}
.staff-queue__section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.staff-queue__section-head .adm-eyebrow { margin: 0 0 .2rem; }
.staff-queue__section-head h2 { margin: 0; font-size: 1.12rem; }
.staff-queue__section-head > div > p:last-child { max-width: 76ch; margin: .35rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.staff-queue__count { flex: none; padding: .3rem .65rem; border: 1px solid var(--border); border-radius: 999px; background: var(--brand-050); color: var(--brand); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.staff-queue__empty {
  display: flex; align-items: center; gap: .8rem; padding: 1rem;
  border: 1px dashed var(--border); border-radius: 12px; background: color-mix(in srgb, var(--brand) 3%, var(--card));
}
.staff-queue__empty-mark { display: grid; flex: none; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, var(--card)); color: var(--green); }
.staff-queue__empty-mark svg { width: 1rem; height: 1rem; }
.staff-queue__empty strong { font-size: .9rem; }
.staff-queue__empty p { margin: .15rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.staff-queue__table-wrap { max-width: 100%; margin: 0; overflow-x: auto; }
.staff-queue__table { min-width: 900px; }
.staff-queue__receipt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; min-width: 18rem; }
.staff-queue__receipt-form .input { width: 100%; min-width: 0; }
.staff-queue__receipt-form input { grid-column: 1 / -1; }
.staff-queue__receipt-form button { width: 100%; min-width: 0; padding-inline: .5rem; white-space: nowrap; }

@media (max-width: 1000px) { .staff-queue__overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .staff-queue__intro { align-items: stretch; flex-direction: column; }
  .staff-queue__total { justify-items: start; }
  .staff-queue__overview { grid-template-columns: minmax(0, 1fr); }
  .staff-queue__section-head { flex-direction: column; }
}
