/* Design tokens lifted from bc-www/admin/becoming-admin.dc.html mockup. */
html, body { margin:0; padding:0; background:#0d1012; }
* { box-sizing: border-box; }
::selection { background:#1d5f59; color:#e9f2f1; }
a { color:#3fd0c0; text-decoration:none; }
a:hover { color:#6ee0d3; }
input:focus-visible, button:focus-visible, select:focus-visible, div:focus-visible { outline:2px solid #2ec4b6; outline-offset:2px; }
input::placeholder { color:#5d6b6d; }

body {
  min-height:100vh; background:#0d1012; color:#e4ebeb;
  font-family:'IBM Plex Sans',system-ui,sans-serif; font-size:13px; line-height:1.45;
}

.mono { font-family:'IBM Plex Mono',monospace; }
.hidden { display:none !important; }

/* ---- login ---- */
#login-screen { min-height:100vh; display:grid; place-items:center; padding:24px; }
.login-box { width:340px; display:flex; flex-direction:column; gap:20px; }
.login-brand { display:flex; flex-direction:column; gap:6px; }
.login-brand .kicker { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#2ec4b6; }
.login-brand .title { font-size:20px; font-weight:600; letter-spacing:-.01em; }
.login-brand .sub { color:#7d8c8e; }
.login-form { display:flex; flex-direction:column; gap:12px; background:#14181a; border:1px solid #222a2c; border-radius:10px; padding:18px; }
.login-form label { display:flex; flex-direction:column; gap:6px; }
.login-form label span { color:#8b9a9c; font-size:12px; }
.field { background:#0d1012; border:1px solid #2a3335; border-radius:6px; color:#e4ebeb; font-family:inherit; font-size:13px; padding:9px 10px; }
.btn-primary {
  margin-top:4px; background:#2ec4b6; border:none; border-radius:6px; color:#07211f;
  cursor:pointer; font-family:inherit; font-size:13px; font-weight:600; padding:10px;
}
.btn-primary:hover { background:#3fd0c0; }
.btn-primary:active { background:#25a79b; }
.btn-primary:disabled { opacity:.5; cursor:default; }
.login-hint { color:#5d6b6d; font-size:11px; font-family:'IBM Plex Mono',monospace; }
.login-error { color:#e08585; font-size:12px; }

/* ---- shell ---- */
#shell { display:grid; grid-template-columns:200px 1fr; min-height:100vh; }
aside {
  border-right:1px solid #1e2527; background:#101416; display:flex; flex-direction:column;
  gap:24px; padding:18px 14px; position:sticky; top:0; height:100vh;
}
.brand { display:flex; flex-direction:column; gap:2px; padding:0 6px; }
.brand .kicker { font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:#2ec4b6; }
.brand .name { font-size:14px; font-weight:600; }
nav { display:flex; flex-direction:column; gap:2px; }
.nav-item {
  align-items:center; border-radius:6px; cursor:pointer; display:flex; gap:8px;
  justify-content:space-between; padding:8px 10px; color:#b6c3c3;
}
.nav-item:hover { background:#182022; }
.nav-item.active { background:rgba(46,196,182,.12); color:#3fd0c0; }
.nav-item .label { font-weight:500; }
.nav-item .count { font-family:'IBM Plex Mono',monospace; font-size:11px; color:#6d7c7e; }
.sidebar-footer { margin-top:auto; display:flex; flex-direction:column; gap:8px; border-top:1px solid #1e2527; padding-top:14px; }
.sidebar-footer .who { color:#7d8c8e; font-size:12px; word-break:break-all; }
.btn-ghost {
  background:transparent; border:1px solid #2a3335; border-radius:6px; color:#a9b7b8;
  cursor:pointer; font-family:inherit; font-size:12px; padding:7px 10px; text-align:left;
}
.btn-ghost:hover { border-color:#2ec4b6; color:#3fd0c0; }

main { min-width:0; padding:22px 24px 40px; }

.page-head { align-items:baseline; display:flex; gap:12px; }
.page-head h1 { font-size:18px; font-weight:600; margin:0; letter-spacing:-.01em; }
.page-head .sub { color:#7d8c8e; font-family:'IBM Plex Mono',monospace; font-size:12px; }

.toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.toolbar input, .toolbar select { background:#14181a; border:1px solid #2a3335; border-radius:6px; color:#e4ebeb; font-family:inherit; font-size:12px; padding:7px 10px; }
.toolbar input.search { width:250px; }

.panel { background:#101416; border:1px solid #1e2527; border-radius:8px; }

table { border-collapse:collapse; font-size:12px; min-width:1100px; width:100%; }
thead th {
  background:#141a1c; border-bottom:1px solid #232b2d; color:#8b9a9c; cursor:pointer;
  font-weight:500; padding:8px 10px; position:sticky; top:0; white-space:nowrap; text-align:left;
}
thead th:hover { color:#3fd0c0; }
thead th.right { text-align:right; }
tbody tr { cursor:pointer; border-bottom:1px solid #191f21; }
tbody tr:hover { background:#161c1e; }
tbody tr.selected { background:rgba(46,196,182,.07); }
tbody td { padding:7px 10px; white-space:nowrap; }
.uid { color:#5d6b6d; font-family:'IBM Plex Mono',monospace; font-size:11px; margin-left:6px; }
td.mono { font-family:'IBM Plex Mono',monospace; color:#a9b7b8; }
td.right { text-align:right; font-variant-numeric:tabular-nums; }

.chip { border-radius:999px; font-size:11px; padding:2px 8px; }
.pager { align-items:center; display:flex; gap:10px; justify-content:space-between; }
.pager .label { color:#6d7c7e; font-family:'IBM Plex Mono',monospace; font-size:11px; }
.pager .btns { display:flex; gap:8px; }
button.btn { background:#14181a; border:1px solid #2a3335; border-radius:6px; color:#cdd8d8; cursor:pointer; font-family:inherit; font-size:12px; padding:6px 12px; }
button.btn:hover { border-color:#2ec4b6; color:#3fd0c0; }
button.btn:disabled { opacity:.4; cursor:default; }

/* ---- goals page ---- */
.category-row { display:flex; flex-direction:column; }
.category-head {
  align-items:center; border-radius:6px; cursor:pointer; display:grid;
  grid-template-columns:190px 1fr 52px; gap:12px; padding:7px 8px;
}
.category-head:hover { background:#161c1e; }
.category-bar { background:#161d1f; border-radius:999px; height:12px; overflow:hidden; }
.category-bar span { display:block; height:100%; border-radius:999px; }
.category-count { font-family:'IBM Plex Mono',monospace; font-variant-numeric:tabular-nums; text-align:right; font-size:12px; }
.category-examples {
  border-left:2px solid #23413f; display:flex; flex-direction:column; gap:6px;
  margin:4px 0 10px 8px; padding:8px 0 8px 14px;
}
.category-examples .heading { color:#6d7c7e; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.category-examples .item { color:#b6c3c3; font-size:12px; }

/* ---- signups page ---- */
.tile-grid { display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); max-width:900px; }
.tile { background:#101416; border:1px solid #1e2527; border-radius:8px; display:flex; flex-direction:column; gap:8px; padding:18px; }
.tile .label { color:#8b9a9c; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.tile .value { font-family:'IBM Plex Mono',monospace; font-size:34px; font-variant-numeric:tabular-nums; font-weight:500; line-height:1; }
.tile .caption { color:#6d7c7e; font-size:12px; }
.snapshot-meta { color:#6d7c7e; font-size:12px; }

/* ---- drawer ---- */
#drawer-backdrop { position:fixed; inset:0; background:rgba(6,9,10,.55); z-index:20; }
#drawer {
  position:fixed; top:0; right:0; bottom:0; width:420px; background:#101416; border-left:1px solid #232b2d;
  overflow:auto; padding:20px; z-index:21; display:flex; flex-direction:column; gap:20px;
}
.drawer-head { display:flex; justify-content:space-between; gap:12px; }
.drawer-head .name { font-size:15px; font-weight:600; }
.drawer-head .meta { color:#6d7c7e; font-family:'IBM Plex Mono',monospace; font-size:11px; }
.stat-grid { display:grid; gap:8px; grid-template-columns:repeat(3,1fr); }
.stat-box { background:#141a1c; border:1px solid #1e2527; border-radius:8px; padding:10px; display:flex; flex-direction:column; gap:4px; }
.stat-box .label { color:#8b9a9c; font-size:11px; }
.stat-box .value { font-family:'IBM Plex Mono',monospace; font-size:18px; font-variant-numeric:tabular-nums; }
.section-title { color:#8b9a9c; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.stage-bar { display:flex; height:14px; border-radius:999px; overflow:hidden; background:#161d1f; }
.pill-row { display:flex; flex-wrap:wrap; gap:6px; }
.pill { align-items:center; background:#141a1c; border:1px solid #232b2d; border-radius:999px; display:flex; gap:6px; font-size:11px; padding:3px 9px; }
.pill .dot { border-radius:999px; height:7px; width:7px; }
.pill .label { color:#b6c3c3; }
.admin-actions { border-top:1px solid #1e2527; display:flex; flex-direction:column; gap:10px; padding-top:16px; }
.admin-actions .row { align-items:center; display:flex; gap:10px; flex-wrap:wrap; }
button.btn-block { border-radius:6px; cursor:pointer; font-family:inherit; font-size:12px; padding:8px 12px; border:1px solid #2a3335; background:transparent; color:#cdd8d8; }
button.btn-block.blocked { border-color:#5c2f2f; background:rgba(198,84,84,.16); color:#e08585; }
.admin-note { color:#5d6b6d; font-size:11px; }

/* ---- feedback page ---- */
.feedback-list { display:flex; flex-direction:column; gap:12px; max-width:640px; }
.feedback-card { background:#101416; border:1px solid #1e2527; border-radius:10px; padding:14px; display:flex; flex-direction:column; gap:8px; }
.feedback-head { display:flex; align-items:center; justify-content:space-between; }
.feedback-badge { padding:3px 10px; border-radius:999px; color:#fff; font-size:11px; font-weight:700; }
.feedback-time { font-size:12px; color:#7d8c8e; }
.feedback-author { font-size:13px; font-weight:600; color:#e4ebeb; }
.feedback-message { font-size:14px; line-height:1.5; color:#dbe4e4; white-space:pre-wrap; }
.feedback-disclosure { display:flex; align-items:center; justify-content:space-between; background:#161c1e; border-radius:8px; padding:8px 12px; cursor:pointer; color:#a9b7b8; font-size:12px; font-weight:600; }
.feedback-answers { display:flex; flex-direction:column; gap:8px; }
.feedback-answer { border-left:3px solid #2a3335; padding-left:10px; }
.feedback-answer .prompt { font-size:11px; color:#7d8c8e; }
.feedback-answer .value { font-size:13px; color:#dbe4e4; }
.feedback-meta-row { display:flex; justify-content:space-between; gap:8px; border-top:1px solid #1e2527; padding-top:8px; font-size:11px; color:#5d6b6d; flex-wrap:wrap; }
.feedback-contact { font-size:12px; color:#3fd0c0; }
.feedback-attachments { display:flex; gap:8px; flex-wrap:wrap; }
.attachment-thumb { width:64px; height:64px; border-radius:6px; object-fit:cover; border:1px solid #232b2d; cursor:pointer; }
.btn-danger-outline {
  align-self:flex-start; display:flex; align-items:center; gap:6px; padding:6px 10px; border-radius:8px;
  border:1px solid #5c2f2f; background:transparent; color:#e08585; cursor:pointer; font-family:inherit; font-size:12px;
}
.btn-danger-outline:hover { background:rgba(198,84,84,.1); }

/* ---- modal ---- */
#modal-backdrop { position:fixed; inset:0; background:rgba(6,9,10,.6); z-index:30; display:flex; align-items:center; justify-content:center; padding:24px; }
.modal { width:100%; max-width:420px; background:#14181a; border:1px solid #232b2d; border-radius:14px; padding:20px; display:flex; flex-direction:column; gap:8px; }
.modal .title { font-size:16px; font-weight:700; color:#e4ebeb; }
.modal .desc { font-size:13px; line-height:1.5; color:#cdd8d8; }
.modal .warn-permanent { font-size:13px; font-weight:600; color:#e08585; margin-top:4px; }
.modal .warn-extra { font-size:12px; line-height:1.5; color:#8b9a9c; }
.modal .prompt { font-size:12px; color:#8b9a9c; margin-top:12px; }
.modal .prompt b { color:#e4ebeb; }
.modal input { margin-top:6px; }
.modal input.armed { border-color:#c53030; background:#1f1414; }
.modal-actions { display:flex; gap:10px; margin-top:14px; }
.modal-actions button { flex:1; padding:10px; border-radius:10px; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.modal-actions .cancel { background:#20282a; border:1px solid #2a3335; color:#cdd8d8; }
.modal-actions .confirm { background:#c53030; border:none; color:#fff; }
.modal-actions .confirm:disabled { opacity:.4; cursor:default; }

.toast { position:fixed; bottom:20px; right:20px; background:#14181a; border:1px solid #2a3335; border-radius:8px; padding:10px 16px; font-size:13px; color:#e4ebeb; z-index:40; }
.toast.error { border-color:#5c2f2f; color:#e08585; }

.empty-state { color:#6d7c7e; padding:20px; text-align:center; }
