/* Admin console (screens 12–16): additions on top of the shared lab.css (copied in by build.mjs). */
.page.wide { max-width: 1360px; }
.navlink { color: var(--ink-2); font-weight: 800; text-decoration: none; padding: 8px 10px; border-radius: 12px; display: inline-flex; gap: 6px; align-items: center; }
.navlink:hover, .navlink[aria-current=page] { background: var(--brand-light); color: var(--brand-dark); }
.tag.role { background: var(--ink); color: #fff; }
.admin-hero { background: var(--ink); }
.admin-band { align-items: stretch; }
.admin-band h1 { font-size: 2rem; font-weight: 800; }
.band-label { margin: 0; font-weight: 700; opacity: .9; }
.admin-band .big { font-size: 4.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.band-stats { flex: 1; max-width: 640px; margin: 0; color: var(--ink); }
.admin-band .stat { color: var(--ink); }
.meter { height: 8px; background: var(--surface); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--brand); width: 0; }
.switch-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.segmented { display: inline-flex; background: var(--surface); border: 2px solid var(--border); border-radius: 16px; padding: 4px; gap: 4px; }
.segmented button { border: 0; background: none; font: 800 1rem inherit; font-family: inherit; padding: 10px 18px; border-radius: 12px; cursor: pointer; color: var(--ink-2); }
.segmented button[aria-checked=true] { background: var(--brand); color: #fff; }
.segmented button:disabled { cursor: not-allowed; }
.filters { margin-bottom: 12px; }
.filters input[type=search], select, input[type=number], .grow input { font: 600 1rem inherit; font-family: inherit; border: 2px solid var(--border); border-radius: 14px; padding: 11px 12px; background: #fff; color: var(--ink); }
.filters input[type=search] { flex: 1; min-width: 220px; }
select { width: 100%; }
.filters select { width: auto; }
.grow { flex: 1; min-width: 160px; }
.grow input { width: 100%; }
#grant select, #grant input[type=text] { width: 100%; }
tr.flagged td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.tag.live { background: #DCFCE7; color: #166534; }
.tag.draft { background: var(--surface); color: var(--ink-2); border: 1px solid var(--border); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; }
.facts dt { color: var(--ink-2); font-weight: 700; }
.facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.warnlist, .plain { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.warnlist li { border: 2px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.warnlist .cat { font-weight: 800; }
.btn.danger { --d: var(--red-dark); --rim: #FCA5A5; background: var(--red); color: #fff; }
.grid2 { margin-bottom: 24px; }
.card + .card, section.card { margin-bottom: 20px; }
.demo-stage { padding: 0; overflow: hidden; height: 560px; }
.demo-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.paused-card { margin-bottom: 20px; }
.paused-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
textarea.mono { font-family: var(--mono); font-size: .95rem; }
.errors { margin: 10px 0 0; padding: 12px 14px 12px 32px; background: var(--red-tint); color: var(--red-dark); border-radius: 14px; font-weight: 700; }
.ok-note { margin: 10px 0 0; padding: 12px 14px; background: #DCFCE7; color: #166534; border-radius: 14px; font-weight: 700; }
h2.sub { margin-top: 24px; }
code { font-family: var(--mono); background: var(--surface); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 860px) {
  .admin-band .big { font-size: 3.2rem; }
  #nav { gap: 4px; }
}
