/* BhiwandiShorts admin v2 - design tokens and components.
   Source of truth: docs/design/admin-v2 (Admin Dashboard v2 Brand). Loaded by _AppLayout / _AuthLayoutV2 only. */

:root {
  --ink: #14181a; --ink-80: rgba(20,24,26,.8); --muted: rgba(20,24,26,.6);
  --line-strong: rgba(20,24,26,.3); --line: rgba(20,24,26,.16); --line-soft: rgba(20,24,26,.1);
  --canvas: #fff; --surface: #f4f5f0; --surface-2: #eef0e9; --hover: #e9ebe3;
  --brand: #ffc93c; --gold: #8a6208; --success: #00695c; --danger: #c81e2c; --warn-bg: #fff6dc;
  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 16px; --r-pill: 9999px;
  --shadow-card: 4px 4px 0 rgba(20,24,26,.1); --shadow-btn: 3px 3px 0 var(--ink);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-ui: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad-page: 32px 32px 48px;
}
@media (max-width: 1099px) { :root { --pad-page: 24px 24px 40px; } }
@media (max-width: 767px)  { :root { --pad-page: 20px 16px 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 14px/1.43 var(--font-ui); letter-spacing: -.224px; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; } a:hover { color: var(--danger); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-pill); border: 3px solid var(--surface); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- type ---- */
.page-title { font: 700 30px/1.1 var(--font-display); letter-spacing: -.03em; text-transform: uppercase; margin: 0; }
.page-sub { font-size: 17px; color: var(--muted); letter-spacing: -.374px; margin-top: 4px; }
.card-title { font: 700 19px/1.2 var(--font-display); letter-spacing: -.02em; text-transform: uppercase; margin: 0; }
.eyebrow, .tbl th, .tbl-head { font: 600 10px/1.2 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.meta { font-size: 12px; color: var(--muted); letter-spacing: -.12px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: var(--r-2); background: var(--canvas); font-size: 14px; white-space: nowrap; transition: transform .08s; }
.btn:active { transform: scale(.96); }
.btn:disabled, .btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: var(--ink); font: 700 14px var(--font-display); padding: 0 22px; box-shadow: var(--shadow-btn); }
.btn-danger-outline { color: var(--danger); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); border-radius: var(--r-pill); font-weight: 600; }
.btn-link { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--gold); box-shadow: none; }
.btn-link:hover { color: var(--danger); }
.btn-sm { min-height: 32px; padding: 0 16px; }
.btn-md { min-height: 36px; }
.btn-icon { min-width: 36px; min-height: 36px; padding: 0; }
.btn-block { width: 100%; min-height: 44px; font-size: 17px; }
.btn-block.btn-primary { font-size: 17px; box-shadow: 4px 4px 0 var(--ink); }
.btn-block.btn-primary:active { transform: scale(.97); }

/* ---- form ---- */
.field { margin-top: 16px; } .field:first-child { margin-top: 0; }
.label { display: block; font-weight: 600; margin-bottom: 6px; }
.label .req { color: var(--danger); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 0 14px; background: var(--canvas); border: 1.5px solid var(--line-strong); border-radius: var(--r-2); font-size: 16px; outline: none; }
.textarea { padding: 10px 14px; min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); }
.input.is-invalid, .field.has-error .input, .field-validation-error ~ .input { border-color: var(--danger); }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.error, .field-validation-error, .validation-summary-errors { color: var(--danger); font-size: 12px; margin-top: 6px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; accent-color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; }

/* ---- pills, segmented, chips, status ---- */
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--canvas); color: var(--ink-80); white-space: nowrap; }
.pill.is-on, .pill[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--r-2); }
.seg > button { flex: 1; min-height: 32px; border-radius: var(--r-1); font-size: 13px; color: var(--ink-80); }
.seg > button.is-on, .seg > button[aria-pressed=true] { background: var(--canvas); color: var(--gold); font-weight: 600; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--canvas); }
.chip.is-on, .chip[aria-pressed=true] { background: var(--gold); border-color: var(--gold); color: #fff; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--muted); flex: none; }
.dot-ok { background: var(--success); } .dot-warn { background: var(--gold); } .dot-bad { background: var(--danger); } .dot-brand { background: var(--brand); }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--r-2); background: var(--canvas); white-space: nowrap; }
button.status-pill:hover { background: var(--surface); }

/* ---- cards ---- */
.card { background: var(--canvas); border: 1.5px solid var(--ink); border-radius: var(--r-3); box-shadow: var(--shadow-card); overflow: hidden; }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; }
.card-row { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--line-soft); }
.grid { display: grid; gap: 16px; }
.grid-kpi { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid-panels { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.kpi { padding: 20px; background: var(--canvas); border: 1.5px solid var(--ink); border-radius: var(--r-3); box-shadow: var(--shadow-card); }
.kpi-label { font: 600 11px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.kpi-value { font: 800 42px/1 var(--font-display); letter-spacing: -.045em; margin-top: 8px; }
.kpi-note { color: var(--muted); } .kpi-note.is-up { color: var(--success); } .kpi-note.is-warn { color: var(--gold); }

/* ---- table ---- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { padding: 12px 20px; text-align: left; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--surface); }
.tbl .t-title { font-size: 15px; font-weight: 600; }
@media (max-width: 767px) {
  .tbl-stack { min-width: 0 !important; }   /* beats the desktop min-width set inline on Users, Master data, Login history, Daily report */
  .tbl-stack thead { display: none; }
  .tbl-stack tr, .tbl-stack td { display: block; }
  .tbl-stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
  .tbl-stack td { padding: 3px 0; border: 0; overflow-wrap: anywhere; }   /* long e-mails and IPv6 addresses */
}

/* ---- states, notes, banners ---- */
.state { padding: 72px 32px; text-align: center; }
.state-icon { width: 56px; height: 56px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-3); display: flex; align-items: center; justify-content: center; }
.state .card-title { margin-top: 20px; }
.state p { font-size: 17px; color: var(--muted); letter-spacing: -.374px; margin: 8px auto 0; max-width: 32em; }
.state-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.skeleton-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.sk { display: block; height: 12px; border-radius: var(--r-pill); background: var(--line-soft); }
.sk-thumb { width: 56px; height: 42px; border-radius: var(--r-1); flex: none; }
/* One line of text inside the real text element: exactly one line tall, the bar three quarters of the font size. */
.sk-text { display: inline-block; vertical-align: top; height: .75em; margin: calc((1lh - .75em) / 2) 0; }
.kpi-value .sk-text { border-radius: var(--r-1); }
.sk-btn { flex: none; width: 104px; height: 32px; border-radius: var(--r-2); }
.sk-bar { width: 100%; border-radius: 6px 8px 0 0; }
.sk-host { flex: 1 1 auto; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-2); background: var(--surface-2); color: var(--ink-80); line-height: 1.43; }
.note .dot { margin-top: 6px; }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 24px; background: var(--warn-bg); border-bottom: 1px solid var(--brand); color: var(--ink-80); }
.banner .btn-link { margin-left: auto; white-space: nowrap; }

/* ---- charts (plain CSS) ---- */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; margin-top: 20px; }
.bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 8px; text-align: center; font-size: 12px; color: var(--muted); }
.bar > i { display: block; background: var(--brand); border-radius: 6px 8px 0 0; }
.hbar { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; margin-top: 10px; }
.hbar > i { display: block; height: 10px; background: var(--brand); border-radius: var(--r-pill); }

/* ---- in-app card preview (matches the released app) ---- */
.app-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #E0E0E0; box-shadow: 0 6px 18px rgba(0,0,0,.14); max-width: 360px; }
.app-card-media { position: relative; }
.app-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: repeating-linear-gradient(45deg,#ededed 0 10px,#f7f7f7 10px 20px); display: block; }
.app-card-shade { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.3)); pointer-events: none; }
.app-card-img-info { position: absolute; top: 0; right: 0; display: flex; align-items: center; }
.app-card-img-chip { max-width: 220px; padding: 4px 8px; border-radius: 16px; background: rgba(0,0,0,.6); border: .5px solid rgba(255,255,255,.24); color: #fff; font: 400 10px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-info { width: 44px; height: 44px; padding: 0; border: 0; background: none; display: flex; justify-content: flex-end; align-items: flex-start; cursor: pointer; }
.app-card-info span { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 0 16px 0 16px; background: rgba(0,0,0,.4); }
.app-card-info svg { width: 16px; height: 16px; fill: #fff; }
.app-card-courtesy { height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; background: #E1F7FB; border-bottom: 1px solid #E0E0E0; font: 700 12px Inter, sans-serif; color: #00796B; }
.app-card-courtesy span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-courtesy svg { flex: none; width: 14px; height: 14px; fill: currentColor; }
.app-card-body { background: #FAFAFA; padding: 14px 14px 0; }
.app-card-title { font: 500 19px/1.3 Poppins, sans-serif; letter-spacing: -.4px; color: #161D1C; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.app-card-text { margin-top: 10px; font: 400 15px/1.45 Poppins, sans-serif; color: #4A5554; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 12; overflow: hidden; }
.app-card-foot { display: flex; align-items: center; height: 40px; margin-top: 4px; }
.app-card-time { flex: 1; min-width: 0; font: 600 11px Inter, sans-serif; letter-spacing: .2px; color: #6B7574; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-acts { display: flex; margin-right: -10px; }
.app-card-acts svg { width: 20px; height: 20px; padding: 12px; box-sizing: content-box; fill: #00796B; }

/* ---- app shell ---- */
.app { display: flex; min-height: 100vh; }
.side { flex: none; width: 248px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); overflow: hidden; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 20px 20px 16px; color: var(--ink); }
.side-brand:hover { color: var(--ink); }
.side-brand img { width: 32px; height: 32px; object-fit: contain; }
.side-brand b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.side-search { padding: 0 16px 12px; }
.side-search .input { min-height: 34px; font-size: 14px; border-color: var(--ink); }
.side-nav { flex: 1; overflow-y: auto; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-group { padding: 16px 12px 6px; white-space: nowrap; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-1); color: var(--ink-80); }
.nav-link:hover { background: var(--hover); color: var(--ink-80); }
.nav-link.is-active { background: var(--canvas); color: var(--gold); font-weight: 600; }
.nav-link .ico { opacity: .9; }
.side-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); }
.side-links { padding: 0 16px 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.side-foot { display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.avatar { width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex: none; }
.side-foot .who { min-width: 0; flex: 1; }
.side-foot .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--canvas); }
.page { padding: var(--pad-page); }
.page-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.topbar, .tabbar { display: none; }
.guest { max-width: 640px; margin: 0 auto; padding: 48px 24px; }
.guest img { width: 72px; height: 72px; object-fit: contain; }

@media (max-width: 1099px) { .side { width: 196px; } .banner { padding: 10px 16px; } }
@media (max-width: 767px) {
  .app { display: block; }
  .side { display: none; }
  .main { min-height: 100vh; padding-bottom: 72px; }
  .topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(244,245,240,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  .topbar img { width: 28px; height: 28px; object-fit: contain; }
  .topbar h1 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.3px; }
  .topbar .btn { margin-left: auto; min-height: 36px; padding: 0 10px 0 4px; gap: 8px; font-size: 13px; font-weight: 600; }
  .topbar .avatar { width: 28px; height: 28px; font-size: 11px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; padding: 6px 4px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(244,245,240,.95); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  .tabbar a, .tabbar button { flex: 1; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 2px; border-radius: var(--r-1); font-size: 11px; color: var(--muted); letter-spacing: -.08px; }
  .tabbar .ico { width: 20px; height: 20px; }
  .tabbar .is-active { color: var(--gold); font-weight: 600; }
  .page-title { font-size: 26px; }
  .state { padding: 48px 16px; }
}
@media print { .side, .topbar, .tabbar, .banner { display: none !important; } }

/* ---- link cards (dashboard shortcuts) ---- */
.link-card { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.link-card:hover { color: var(--ink); background: var(--surface); }
.link-card .ico { width: 22px; height: 22px; }
.link-card-go { margin-left: auto; color: var(--muted); }
.link-card .card-title { font-size: 17px; }

/* ---- sign-in family ---- */
.auth { display: flex; min-height: 100vh; }
.auth-aside { flex: 1.1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; background: var(--surface); border-right: 1px solid var(--line); }
.auth-aside img { object-fit: contain; }
.auth-aside h1 { margin: 0; font: 800 clamp(34px, 4vw, 52px)/.92 var(--font-display); letter-spacing: -.04em; text-transform: uppercase; max-width: 9em; }
.auth-aside p { margin: 17px 0 0; font-size: 17px; line-height: 1.47; letter-spacing: -.374px; color: var(--muted); max-width: 24em; }
.auth-main { flex: 1; min-width: 0; display: flex; align-items: flex-start; justify-content: center; padding: 48px; overflow-y: auto; }
.auth-box { width: 100%; max-width: 360px; margin: auto; }
.auth-mark { display: none; width: 128px; height: 128px; object-fit: contain; margin: 0 auto 12px; }
.auth-title { margin: 0; font: 600 28px/1.2 var(--font-ui); letter-spacing: -.3px; }
.auth-sub { margin: 6px 0 0; color: var(--muted); }
.auth-form { margin-top: 32px; }
.auth-form .input { font-size: 17px; letter-spacing: -.374px; padding: 0 18px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.label-row .label { margin: 0; } .label-row a { font-weight: 600; }
.auth-remember { margin-top: 17px; color: var(--ink-80); }
.auth-submit { margin-top: 24px; }
.auth-note { margin-top: 17px; }
.auth-foot { margin-top: 24px; line-height: 1.4; }
.auth-back { margin-top: 20px; font-weight: 600; }
.meter { display: flex; gap: 6px; margin-top: 12px; }
.meter i { flex: 1; height: 5px; border-radius: var(--r-pill); background: var(--line-soft); }
.meter i.is-mid { background: var(--brand); } .meter i.is-ok { background: var(--success); }
.auth-box > .note { margin-bottom: 20px; }
.input-validation-error { border-color: var(--danger); }
@media (max-width: 767px) {
  .auth-aside { display: none; }
  .auth-main { padding: 20px; }
  .auth-mark { display: block; }
  .auth-form { margin-top: 20px; }
  .auth-foot { display: none; }
}

/* ---- list screens (master data, categories, roles, users) ---- */
.card-toolbar { padding: 12px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.input-sm { min-height: 34px; max-width: 320px; font-size: 14px; border-color: var(--ink); }
.note-warn { background: var(--warn-bg); border: 1px solid var(--brand); }
.chip-tag { min-height: 22px; margin-left: 8px; padding: 0 10px; font: 600 11px var(--font-ui); letter-spacing: 0; color: var(--gold); border-color: var(--gold); vertical-align: middle; }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions .btn-link + .btn-link { margin-left: 14px; }
.btn-link-danger, .btn-link-danger:hover { color: var(--danger); }

/* ---- list + edit panel (categories, roles) ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px; margin-top: 32px; align-items: start; }
.tbl-head { padding: 12px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.list-head, .reorder li { display: flex; gap: 16px; align-items: center; }
.reorder { list-style: none; margin: 0; padding: 0; }
.reorder li { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.reorder li:last-child { border-bottom: 0; }
.reorder li:hover, .reorder li.is-selected { background: var(--surface-2); }
.reorder li.is-dragging { opacity: .4; }
.col-grip { width: 16px; flex: none; }
.col-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.col-count { width: 72px; flex: none; color: var(--ink-80); }
.col-vis { width: 64px; flex: none; }
.grip { padding: 0; color: var(--line-strong); cursor: grab; line-height: 0; border-radius: var(--r-1); }
.grip:hover, .grip:focus-visible { color: var(--ink); }
.cat-thumb { width: 36px; height: 36px; border-radius: var(--r-1); object-fit: cover; flex: none; border: 1px solid var(--line); }
.cat-text { min-width: 0; display: flex; flex-direction: column; }
.cat-text .t-title { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.cat-text .meta { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move { display: none; gap: 4px; }
.img-pick { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-weight: 400; }
.img-preview { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-2); border: 1px solid var(--line); }
.bsui-field .hint { font-weight: 400; }
.bsui-field .hint.img-size-note { margin-top: 6px; color: var(--gold); }   /* beats the dialog's .hint margin and colour on phones */
.state-compact { padding: 24px 8px; }
.state-compact p { font-size: 14px; letter-spacing: -.224px; }
.card-title-sm { font-size: 16px; letter-spacing: -.01em; text-transform: none; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.panel-actions .btn-primary { flex: 1 1 auto; }
@media (max-width: 1099px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  #panel { display: none; }
  .grip { display: none; }
  .move { display: inline-flex; }
  .col-count, .col-vis { display: none; }
  .list-head { display: none; }
  .reorder li { padding: 12px 16px; gap: 10px; }
}

.role-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.role-card { display: block; width: 100%; text-align: left; padding: 14px 16px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-2); }
.role-card:hover { background: var(--surface); }
.role-card.is-selected { border: 1.5px solid var(--ink); padding: 13.5px 15.5px; }
.role-card b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.role-card .meta { display: block; margin-top: 3px; }
.panel-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; }

/* ---- people screens ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter-bar .input-sm { flex: 0 1 auto; width: auto; min-width: 140px; }
.filter-bar input.input-sm { flex: 1 1 200px; max-width: 300px; }
.user-cell { display: flex; gap: 12px; align-items: center; min-width: 0; }
.avatar-soft { width: 36px; height: 36px; background: var(--surface); color: var(--ink-80); }
.chip-sm { min-height: 24px; padding: 0 10px; border: 1.5px solid var(--ink); border-radius: var(--r-2); font-size: 12px; }
.legend { margin-top: 10px; line-height: 1.9; color: var(--ink-80); }
.legend .dot { margin-right: 8px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; color: var(--muted); flex-wrap: wrap; }
.pager-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-pager { min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--canvas); color: var(--ink); display: inline-flex; align-items: center; }
.btn-pager[aria-disabled=true] { opacity: .45; pointer-events: none; }
.mono-sm { font: 13px var(--font-mono); color: var(--muted); }

/* ---- news list ---- */
.tab-count { margin-left: 4px; font-weight: 400; opacity: .7; }
.tab-count:empty { display: none; }
.filter-spacer { flex: 1 1 0; }
.btn-on { border-color: var(--gold); color: var(--gold); }
.filter-pop { min-width: 220px; padding: 8px; }
.filter-pop .bsui-field { margin: 0 0 8px; }
.filter-pop .hint { margin: 0 0 8px; }
.filter-pop .btn-link { display: inline-flex; min-height: 0; width: auto; padding: 4px 2px; }
.story-cell { display: flex; align-items: center; gap: 14px; min-width: 0; }
.news-thumb { flex: none; display: block; width: 56px; height: 42px; border-radius: var(--r-1); border: 1px solid var(--line); object-fit: cover; background: repeating-linear-gradient(45deg, var(--line-soft) 0 6px, var(--surface-2) 6px 12px); }
.news-thumb-video { background: var(--ink); }
.news-tbl .col-story { width: 100%; max-width: 0; }
.news-tbl .cat-text .t-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-tbl .col-select { width: 36px; padding-right: 0; }
.news-tbl .col-status, .news-tbl .col-push { white-space: nowrap; }
.push-toggle { gap: 6px; cursor: pointer; }
.push-sent { color: var(--success); }
.push-queued { color: var(--gold); }
.btn-pager { cursor: pointer; }
.btn-pager:disabled { opacity: .45; pointer-events: none; }
.btn-pager.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.pager-size { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.select-sm { width: auto; min-height: 32px; padding: 0 8px; font-size: 14px; color: var(--ink); }

/* ---- news list: bulk bar, schedule dialog, preview ---- */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 16px; padding: 12px 16px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-2); }
.bulk-count { font-weight: 600; white-space: nowrap; }
.sched-story { margin: 0 0 4px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sched-slots .chip { cursor: pointer; }
.sched-stagger { margin-top: 16px; }
.sched-stagger .seg { margin-top: 6px; }
.sched-notify { margin-top: 16px; align-items: flex-start; }
.sched-notify input { margin-top: 3px; }
.sched-form .hint { margin-top: 12px; }
.preview-media { position: relative; }
.preview-stage .app-card-img { width: 100%; }
.preview-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 48px; background: rgba(0,0,0,.45); color: #fff; font-size: 24px; line-height: 1; }
.preview-prev { left: 0; border-radius: 0 var(--r-1) var(--r-1) 0; }
.preview-next { right: 0; border-radius: var(--r-1) 0 0 var(--r-1); }
.preview-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 8px; justify-content: center; }
.preview-dots span { width: 6px; height: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.4); box-shadow: 0 1px 2px rgba(0,0,0,.26); }
.preview-dots span.is-on { background: rgba(255,255,255,.9); }
/* insight and ad cards fill the app's feed page; 9:16 stands in for the phone, which varies by device */
.app-card-tall { display: flex; flex-direction: column; aspect-ratio: 9/16; width: min(100%, calc((100vh - 200px) * 9 / 16)); margin-inline: auto; }
.editor-live #liveCard .app-card-tall { width: min(100%, calc((100vh - 200px) * 9 / 16)); }
.app-card-tall .preview-media { flex: 1; min-height: 0; overflow: hidden; }
.app-card-tall .preview-stage { position: absolute; inset: 0; }
.app-card-tall .app-card-img { height: 100%; aspect-ratio: auto; }
.app-card-insight { border-radius: 20px; background: #FAFAFA; }
.app-card-insight .app-card-img-info { top: 5px; right: 5px; }
.app-card-insight .app-card-info span { border-radius: 0 20px 0 20px; }
.app-card-insight .app-card-foot { flex: none; height: 44px; margin: 0; padding: 0 4px 0 14px; }
.app-card-insight .app-card-acts { margin-right: 0; }
.app-card-insight .preview-dots { top: 16px; bottom: auto; }
.app-card-insight .preview-dots span { border-radius: 3px; }
.app-card-insight .preview-dots span.is-on { width: 16px; background: #fff; }
.app-card-link { position: absolute; top: 5px; left: 5px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 20px 0 20px 0; background: rgba(0,0,0,.4); }
.app-card-link svg { width: 16px; height: 16px; fill: #fff; }
.app-card-ad { position: relative; }
.app-card-ad .preview-media.has-link { cursor: pointer; }
.app-card-ad .preview-dots { bottom: 16px; }
.app-card-ad .preview-dots span { width: 8px; height: 8px; }
.app-card-fab { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #00695C; box-shadow: 0 4px 8px rgba(0,0,0,.3); }
.app-card-fab svg { width: 20px; height: 20px; fill: #fff; }

/* ---- news list: layout details, columns menu, phone layout ---- */
.news-card { margin-top: 16px; }
.dot-lg { width: 10px; height: 10px; }
.dialog-check { margin-top: 16px; }
.sk-lines { flex: 1; min-width: 0; }
.sk-line { width: 62%; }
.sk-line-sub { width: 38%; margin-top: 10px; opacity: .6; }
.sk-tag { width: 90px; }
#newsSkeleton .skeleton-row:nth-child(even) .sk-line { width: 74%; }
#newsSkeleton .skeleton-row:nth-child(3n) .sk-line { width: 52%; }
.news-tbl { min-width: 720px; }
.news-tbl th.col-actions { text-align: right; }
.news-tbl.hide-thumb .news-thumb { display: none; }
.news-tbl.hide-meta .cat-text .meta { display: none; }
.cols-pop { width: 240px; }
.cols-pop .eyebrow { padding: 6px 10px 8px; }
.cols-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-1); cursor: pointer; }
.cols-row:hover { background: var(--surface); }
.cols-row > span:first-of-type { flex: 1; min-width: 0; }
.cols-foot { display: flex; justify-content: space-between; margin-top: 6px; padding: 10px 10px 4px; border-top: 1px solid var(--line-soft); }
.cols-pop .hint { padding: 0 10px; }
@media (max-width: 767px) {
  .news-tbl { min-width: 0; }
  .news-tbl tr.news-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .news-tbl .col-select { order: 0; width: auto; }
  .news-tbl .col-story { order: 1; flex: 1 1 calc(100% - 48px); max-width: none; min-width: 0; }
  .news-tbl .col-status { order: 2; margin-left: 44px; }
  .news-tbl .col-actions { order: 3; margin-left: auto; }
  .news-tbl .col-push, .news-tbl .col-id { display: none; }
  .news-tbl .col-story .t-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .news-tbl .cat-text .meta { white-space: normal; }
  .bulk-bar .btn { flex: 1 1 auto; }
  .filter-bar input.input-sm { max-width: none; flex-basis: 100%; }
  .cols-pop { width: min(280px, calc(100vw - 32px)); }
}

/* ---- news editor ---- */
.editor-bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 24px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.editor-bar-left, .editor-bar-right { display: flex; align-items: center; gap: 14px; min-width: 0; flex-wrap: wrap; }
.editor-bar-right { gap: 8px; }
.editor-bar .card-title { white-space: nowrap; }
.back-link-inline { white-space: nowrap; }
.status-pill-sm { min-height: 28px; padding: 0 12px; font-size: 12px; border-radius: var(--r-2); color: var(--ink-80); }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.editor-main, .editor-rail { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.editor-note { margin-bottom: 20px; }
.editor-errors:empty, .validation-summary-valid { display: none; }
.editor-errors { margin-bottom: 20px; }
.input-lg { min-height: 48px; font-size: 17px; font-weight: 600; letter-spacing: -.374px; }
.textarea-lg { font-size: 17px; line-height: 1.47; letter-spacing: -.374px; padding: 14px 16px; }
.hint-row { display: flex; justify-content: space-between; gap: 12px; }
.hint-row .hint { margin-top: 8px; }
.is-over { color: var(--gold); }
.editor-summary-label { margin: 24px 0 8px; align-items: baseline; }
.editor-summary-label .label { margin: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.field-row .field { margin: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 14px; }
.media-tile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-2); border: 1px solid var(--line); overflow: hidden; cursor: grab; background: repeating-linear-gradient(45deg, var(--line-soft) 0 8px, var(--surface-2) 8px 16px); touch-action: none; user-select: none; }
.media-tile img, .media-tile video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.media-badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.media-badge-video { left: auto; right: 8px; background: rgba(20,24,26,.7); text-transform: uppercase; }
.media-remove { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: var(--r-pill); background: rgba(20,24,26,.75); color: #fff; font-size: 18px; line-height: 1; }
.media-remove:hover { background: var(--danger); }
.media-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 4 / 3; border: 1px dashed var(--line-strong); border-radius: var(--r-2); color: var(--gold); cursor: pointer; text-align: center; }
.media-add:hover, .media-add.is-drop { background: var(--surface); border-color: var(--ink); }
.media-tile.is-grabbed { position: fixed; z-index: 1000; margin: 0; opacity: .92; box-shadow: 0 10px 24px rgba(0,0,0,.25); pointer-events: none; cursor: grabbing; }
.media-placeholder { border: 1.5px dashed var(--line-strong); background: none; }
.editor-modes { margin-top: 14px; }
.editor-modes button { cursor: pointer; }
.seg-link { flex: 1; min-height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-1); font-size: 13px; color: var(--ink-80); }
.seg-link.is-on { background: var(--canvas); color: var(--gold); font-weight: 600; }
.editor-rail .field { margin-top: 14px; }
.editor-push { align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.editor-push input { margin-top: 2px; }
.editor-push b { display: block; font-weight: 600; }
.editor-push .hint { margin: 0; }
.taxonomy-label { margin: 14px 0 8px; }
.taxonomy-label:first-of-type { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 42px; padding: 8px; border: 1.5px solid var(--line-strong); border-radius: var(--r-2); }
.chip-tag-item { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 6px 0 10px; border-radius: var(--r-pill); background: var(--surface); font-size: 13px; }
.chip-tag-item button { width: 18px; height: 18px; border-radius: var(--r-pill); color: var(--muted); font-size: 15px; line-height: 1; }
.chip-tag-item button:hover { color: var(--danger); }
.chips .btn-link { font-size: 13px; padding: 0 6px; }
.tag-input { flex: 1; min-width: 90px; border: 0; outline: none; background: none; font-size: 13px; }
.cat-menu { max-height: 280px; overflow-y: auto; }
.editor-live .label-row { margin-bottom: 14px; }
.editor-live #liveCard .app-card { max-width: none; }
.editor-people { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--ink-80); }
@media (max-width: 1099px) { .editor-grid { grid-template-columns: minmax(0, 1fr); } .editor-live { display: none; } }
@media (max-width: 767px) {
  .editor-bar { top: 60px; padding: 10px 16px; }   /* tucks under the ~61px phone topbar (z-index 30), no gap */
  .editor-bar .card-title { display: none; }
  .editor-bar-right { margin-left: auto; }
  .media-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

/* ---- polls ---- */
.poll-split { margin-top: 24px; }
.poll-list { list-style: none; margin: 0; padding: 0; }
.poll-list li { border-bottom: 1px solid var(--line-soft); }
.poll-list li:last-child { border-bottom: 0; }
.poll-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 20px; text-align: left; }
.poll-row:hover, .poll-row.is-selected { background: var(--surface-2); }
.poll-row .t-title { display: block; line-height: 1.35; }
.poll-row .meta { margin-top: 4px; }
.poll-row .status { gap: 6px; }
.cat-thumb-empty { background: repeating-linear-gradient(45deg, var(--line-soft) 0 6px, var(--surface-2) 6px 12px); }
.poll-panel .eyebrow { margin-bottom: 8px; }
.result-q { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.374px; line-height: 1.35; }
.result-opts { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.result-line { display: flex; justify-content: space-between; gap: 12px; }
.result-bar { height: 8px; margin-top: 7px; border-radius: var(--r-pill); background: var(--line-soft); overflow: hidden; }
.result-bar i { display: block; height: 8px; border-radius: var(--r-pill); }
.result-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.share-box { margin-top: 14px; padding: 12px 14px; background: var(--surface); border-radius: var(--r-2); }
.share-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.share-row .mono-sm { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-ctl { margin-top: 18px; }
.result-ctl .seg { margin-top: 6px; }
.start-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.start-row .input-sm { flex: 1 1 180px; max-width: none; }
.poll-panel .panel-actions .btn { flex: 1; }
.poll-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.option-row { display: flex; gap: 8px; }
.option-row .input { flex: 1; }
.poll-media .img-preview { width: 96px; height: 64px; }
.poll-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.poll-card-opts { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 14px; }
.poll-card-opt { padding: 10px 12px; border: 1px solid #E0E0E0; border-radius: 10px; background: #fff; font: 400 14px Poppins, sans-serif; }
@media (max-width: 767px) { #pollPanel { display: none; } .poll-row { padding: 12px 16px; } }

/* ---- daily report ---- */
.cat-bars { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.cat-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bars-hours { height: 150px; gap: 4px; }
.bars-hours .bar { gap: 6px; font-size: 10px; }
.btn[aria-disabled=true] { opacity: .45; pointer-events: none; }
@media (max-width: 767px) { .col-extra { display: none !important; } }

/* ---- dashboard ---- */
.dash-row { align-items: center; gap: 14px; }
.dash-main { flex: 1; min-width: 0; }
.dash-main .t-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-time { flex: none; min-width: 84px; font: 600 12px var(--font-mono); color: var(--gold); }
.dash-count { flex: none; font-weight: 600; }
.dash-empty { padding: 4px 20px 20px; margin: 0; }
.card.card-pad .dash-empty { padding: 16px 0 0; }

/* ---- settings ---- */
.check-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check-row input[type=checkbox] { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 20px 0; }
.quiet-times { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 0 30px; }
.quiet-times .field { margin-top: 0; }
.quiet-times.is-off { opacity: .5; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 16px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- fixes from end-user testing ---- */
.page-actions input.input-sm { width: 160px; min-width: 0; }
@media (max-width: 767px) {
  .page-actions { flex-wrap: nowrap; max-width: 100%; }   /* capped, so a search box shrinks instead of the row overflowing */
  .page-actions:has(input[type=date]) { flex-wrap: wrap; }   /* Daily report: keep the date readable, Export wraps instead */
  .page-actions input[type=date] { min-width: 140px; }
  .page-actions input.input-sm { flex: 1 1 auto; width: auto; }
  .page-actions .btn { white-space: nowrap; }
  .perm-tbl th, .perm-tbl td { padding-left: 10px; padding-right: 10px; }
}

/* ---- loading skeletons ---- */
[aria-busy="true"] .sk { animation: sk-pulse 1.4s ease-in-out infinite; }
@keyframes sk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.result-timing { text-align: right; }

/* ---- late scheduled items ---- */
.is-late { color: var(--danger); font-weight: 600; }

/* ---- categories: app icon picker and translated names ---- */
/* 24px is the font's design grid (it is loaded as opsz 24): other sizes put strokes on half pixels, so the glyph looks
   soft and a pixel off. The fixed 1em box centres the same way for every glyph and font metric, and keeps the
   ligature word shown while the font loads inside the icon's square. */
.material-symbols-outlined { display: block; width: 1em; height: 1em; overflow: hidden; font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
.cat-icon { display: grid; place-items: center; color: var(--gold); background: var(--surface-2); overflow: hidden; }
.icon-pick, .names-pick { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.icon-pick legend, .names-pick legend { padding: 0; margin-bottom: 8px; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; }
.icon-grid label { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--line); border-radius: var(--r-1); cursor: pointer; color: var(--ink-80); }
.icon-grid input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.icon-grid label:hover { background: var(--surface-2); }
.icon-grid label:has(input:checked) { border-color: var(--gold); background: var(--surface-2); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.icon-grid label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.names-pick .bsui-field { margin-top: 8px; }
