/* ============================================================
   TVLG Practice Standards — light Atlas theme
   Design tokens + component classes mirror the Board Certification
   Tracker (bcbsdb) so the two apps read as one system.
   ============================================================ */
:root {
  --bg-base:#f4f6fb; --bg-surface:#f7f9fd; --bg-card:#ffffff; --bg-hover:#eef1f9;
  --border:#e5e8f1; --border-light:#d6dbe9;
  --text-primary:#1b2039; --text-muted:#5a6280; --text-dim:#969db6;
  --brand-orange:#ff7e00; --accent:#ef6d00; --accent-hover:#d96200; --accent-active:#c25800;
  --accent-soft:#fff3e8; --accent-ink:#c25e00;
  --green:#1f9d57; --green-bg:#e7f5ed; --green-solid:#22a55c;
  --amber:#a5750c; --amber-bg:#fbf1d6; --amber-solid:#e0a12b;
  --red:#d24141; --red-bg:#fcebeb; --red-solid:#de524d;
  --blue:#2f7dcc; --blue-bg:#e8f1fb; --blue-solid:#3f8ede;
  --sidebar-bg:#172441; --sidebar-border:rgba(255,255,255,.14);
  --sidebar-text:rgba(255,255,255,.98); --sidebar-dim:rgba(255,255,255,.68);
  --sidebar-active-bg:rgba(255,255,255,.10); --sidebar-active:#fff; --sidebar-hover:rgba(255,255,255,.06);
  --sidebar-ink:#fff; --sidebar-w:240px; --radius:8px; --radius-lg:12px;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06);
  --shadow-md:0 2px 4px rgba(16,24,40,.05),0 6px 16px rgba(16,24,40,.08);
}
* { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--bg-base); color:var(--text-primary);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:15px; line-height:1.6;
  -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-decoration:none; transition:color .15s; }
a:hover { color:var(--accent-active); }

/* ---- shell + sidebar ---- */
.app-shell { display:flex; min-height:100vh; }
.sidebar { width:var(--sidebar-w); min-width:var(--sidebar-w); background:var(--sidebar-bg);
  border-right:1px solid var(--sidebar-border); display:flex; flex-direction:column;
  position:sticky; top:0; height:100vh; overflow-y:auto; }
.sidebar-header { padding:22px 16px 18px; border-bottom:1px solid var(--sidebar-border); text-align:center; }
.sidebar-logo-img { width:88px; height:88px; border-radius:50%; display:block; margin:0 auto 12px;
  background:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.95), 0 3px 10px rgba(0,0,0,.18); }
.sidebar-logo { font-size:16px; font-weight:800; color:var(--sidebar-ink); letter-spacing:.2px; }
.sidebar-firm { font-size:10px; font-weight:600; color:var(--sidebar-dim); letter-spacing:.3px; margin-top:3px; }
.sidebar-subtitle { font-size:11px; color:var(--sidebar-dim); margin-top:10px; text-transform:uppercase;
  letter-spacing:.8px; font-weight:600; }
.sidebar-profile { margin-top:16px; padding-top:14px; border-top:1px solid var(--sidebar-border);
  display:flex; flex-direction:column; align-items:center; gap:6px; }
.sidebar-profile-name { font-size:18px; font-weight:800; color:#fff; letter-spacing:-.2px; line-height:1.2; }
.sidebar-profile-role { text-transform:capitalize; }
.sidebar-nav { list-style:none; padding:12px 10px; flex:1; }
.sidebar-nav a { display:flex; align-items:center; gap:11px; padding:9px 14px; margin:2px 0;
  color:var(--sidebar-text); font-size:14px; font-weight:500; border-radius:var(--radius);
  border-left:3px solid transparent; transition:background .13s,color .13s; }
.sidebar-nav a:hover { background:var(--sidebar-hover); color:var(--sidebar-ink); }
.sidebar-nav a.active { background:var(--sidebar-active-bg); color:var(--sidebar-active);
  border-left-color:var(--brand-orange); font-weight:700; }
.nav-icon { width:18px; height:18px; flex-shrink:0; stroke:currentColor; fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round; }
.sidebar-nav a.active .nav-icon { color:var(--brand-orange); }
.nav-section { padding:18px 14px 6px; font-size:10px; font-weight:700; text-transform:uppercase;
  letter-spacing:1px; color:var(--sidebar-dim); }
.sidebar-footer { padding:14px 16px; border-top:1px solid var(--sidebar-border); }
.sidebar-identity { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.sidebar-user { font-size:13px; font-weight:600; color:var(--sidebar-ink); }
.role-switch-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px;
  color:var(--sidebar-dim); margin-bottom:6px; }
.role-switch { margin-top:0; display:flex; gap:5px; }
.role-switch a { font-size:11px; padding:3px 9px; border-radius:999px; color:var(--sidebar-dim);
  border:1px solid var(--sidebar-border); }
.role-switch a.on { background:var(--brand-orange); color:#fff; border-color:var(--brand-orange); font-weight:700; }

/* ---- main ---- */
.main-content { flex:1; padding:28px 36px; overflow-x:hidden; max-width:1440px; }
.page-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:24px;
  gap:16px; flex-wrap:wrap; padding-bottom:18px; border-bottom:1px solid var(--border); }
.page-header h1 { font-size:24px; font-weight:700; letter-spacing:-.3px; line-height:1.2; }
.page-subtitle { font-size:13px; color:var(--text-muted); margin-top:4px; }
.breadcrumb { font-size:12px; color:var(--text-muted); margin-bottom:6px; }
.breadcrumb a { color:var(--text-muted); }
.breadcrumb a:hover { color:var(--text-primary); }

/* ---- flash ---- */
.flash { padding:10px 16px; border-radius:var(--radius); margin-bottom:16px; font-size:13px; }
.flash-success { background:var(--green-bg); color:var(--green); border:1px solid var(--green); }

/* ---- banner (unverified) ---- */
.banner { border-radius:var(--radius); padding:11px 15px; font-size:13px; margin-bottom:18px;
  display:flex; align-items:center; gap:9px; }
.banner-warn { background:var(--amber-bg); color:var(--amber); border:1px solid var(--amber-solid); }
.banner-ok { background:var(--green-bg); color:var(--green); border:1px solid var(--green-solid); }

/* ---- buttons ---- */
.btn { display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:var(--radius);
  font-size:13px; font-weight:500; border:1px solid transparent; cursor:pointer; transition:all .15s; white-space:nowrap; }
.btn-primary { background:var(--accent); color:#fff; border-color:var(--accent); }
.btn-primary:hover { background:var(--accent-hover); color:#fff; box-shadow:0 2px 8px rgba(255,126,0,.32); }
.btn-secondary { background:var(--bg-card); color:var(--text-primary); border-color:var(--border-light); box-shadow:var(--shadow); }
.btn-secondary:hover { background:var(--bg-hover); color:var(--accent-active); border-color:var(--accent); }
.btn-ghost { background:transparent; color:var(--text-muted); border-color:var(--border-light); }
.btn-ghost:hover { background:var(--bg-hover); color:var(--accent-active); border-color:var(--accent); }
.btn-sm { padding:4px 10px; font-size:12px; }
.btn-group { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.inline-form { display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; margin:0; }

/* ---- badges ---- */
.badge { display:inline-block; padding:2px 8px; border-radius:9999px; font-size:11px; font-weight:600; white-space:nowrap; }
.badge-green { background:var(--green-bg); color:var(--green); }
.badge-red { background:var(--red-bg); color:var(--red); }
.badge-amber { background:var(--amber-bg); color:var(--amber); }
.badge-blue { background:var(--blue-bg); color:var(--blue); }
.badge-gray { background:var(--bg-card); color:var(--text-muted); border:1px solid var(--border); }
/* urgency tiers */
.u-red { background:var(--red-bg); color:var(--red); }
.u-orange { background:#fdecdd; color:#b5560c; }
.u-yellow { background:var(--amber-bg); color:var(--amber); }
.u-blue { background:var(--blue-bg); color:var(--blue); }
.u-green { background:var(--green-bg); color:var(--green); }

/* ---- cards + grid ---- */
.grid { display:grid; gap:16px; }
.grid-metrics { grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); }
.grid-cards { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:18px 22px; box-shadow:var(--shadow); }
.card-title { font-size:12px; font-weight:700; margin-bottom:14px; color:var(--text-muted);
  text-transform:uppercase; letter-spacing:.6px; }
.metric .n { font-size:30px; font-weight:800; letter-spacing:-.5px; line-height:1; }
.metric .l { font-size:12px; color:var(--text-muted); margin-top:6px; }
.metric .sub { font-size:11px; color:var(--text-dim); margin-top:3px; }
.domain-card { display:block; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:16px 18px; box-shadow:var(--shadow); transition:all .14s; }
.domain-card:hover { border-color:var(--accent); box-shadow:var(--shadow-md); transform:translateY(-1px); }
.domain-card .id { font-weight:800; font-size:15px; color:var(--text-primary); }
.domain-card .name { font-size:13px; color:var(--text-muted); margin-top:2px; }
.domain-card .count { margin-top:10px; font-size:12px; font-weight:700; color:var(--accent-ink);
  background:var(--accent-soft); padding:2px 10px; border-radius:999px; display:inline-block; }

/* ---- sections ---- */
.pb-section { margin:22px 0; }
.pb-section h3 { font-size:12px; text-transform:uppercase; letter-spacing:.5px; color:var(--text-muted);
  font-weight:700; margin-bottom:10px; padding-left:11px; border-left:4px solid var(--brand-orange); }
.pb-section ul { list-style:none; display:flex; flex-direction:column; gap:6px; }
.pb-section li { font-size:14px; padding-left:14px; border-left:2px solid var(--border); line-height:1.5; }
.kv { display:flex; gap:8px; font-size:14px; margin:6px 0; }
.kv b { color:var(--text-muted); font-weight:600; }
.prose { font-size:14px; line-height:1.7; }
.prose h2 { font-size:16px; margin:18px 0 8px; }
.prose ul,.prose ol { margin:8px 0 12px 22px; }
.prose li { margin-bottom:5px; }
.verify-tag { background:var(--amber-bg); color:var(--amber); border-radius:4px; padding:0 4px;
  font-size:12px; font-weight:600; }

/* ---- tables ---- */
.table-container { overflow-x:auto; border-radius:var(--radius-lg); border:1px solid var(--border);
  background:var(--bg-card); box-shadow:var(--shadow); }
.data-table { width:100%; border-collapse:collapse; }
.data-table th { background:var(--bg-surface); color:var(--text-dim); padding:11px 14px; font-size:11px;
  font-weight:700; text-transform:uppercase; letter-spacing:.5px; text-align:left; border-bottom:1px solid var(--border); }
.data-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-size:14px; vertical-align:top; }
.data-table tr:last-child td { border-bottom:none; }
.data-table tbody tr:hover td { background:var(--bg-hover); }
.data-table .empty-state { text-align:center; color:var(--text-muted); padding:24px; }
.mono { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12.5px; }

/* ---- inputs ---- */
.input-xs { background:var(--bg-surface); border:1px solid var(--border-light); border-radius:var(--radius);
  color:var(--text-primary); padding:4px 7px; font-size:12px; width:80px; }
.select-xs { background:var(--bg-surface); border:1px solid var(--border-light); border-radius:var(--radius);
  color:var(--text-primary); padding:4px 7px; font-size:12px; }
.tabs { display:flex; gap:6px; margin-bottom:18px; border-bottom:1px solid var(--border); }
.tabs a { padding:8px 14px; font-size:13px; font-weight:600; color:var(--text-muted);
  border-bottom:2px solid transparent; }
.tabs a.on { color:var(--accent-active); border-bottom-color:var(--brand-orange); }
.mt-3 { margin-top:16px; } .mt-4 { margin-top:24px; } .mb-2 { margin-bottom:8px; }
.muted { color:var(--text-muted); font-size:13px; }
/* ---- library: search + results ---- */
.lib-search { margin-bottom:22px; }
.lib-search-input { width:100%; background:var(--bg-card); border:1px solid var(--border-light);
  border-radius:var(--radius-lg); color:var(--text-primary); padding:13px 16px; font-size:15px;
  box-shadow:var(--shadow); }
.lib-search-input:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.lib-results { margin-top:10px; border:1px solid var(--border); border-radius:var(--radius-lg);
  background:var(--bg-card); box-shadow:var(--shadow); overflow:hidden; }
.lib-hit { display:flex; align-items:center; gap:10px; padding:11px 16px; border-bottom:1px solid var(--border);
  color:var(--text-primary); font-size:14px; }
.lib-hit:last-child { border-bottom:none; }
.lib-hit:hover { background:var(--bg-hover); color:var(--accent-active); }
.lib-hit .mono { color:var(--text-dim); font-size:12px; min-width:64px; }
.lib-hit-area { margin-left:auto; font-size:11px; color:var(--text-dim); }

/* ---- home: case-type (branch) panels + issue-area chips ---- */
.branch-panel { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow); padding:18px 20px; margin-bottom:16px; }
.branch-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid var(--border); }
.branch-title { font-size:18px; font-weight:800; letter-spacing:-.2px; }
.branch-desc { font-size:13px; color:var(--text-muted); margin-top:3px; }
.branch-count { flex:none; font-size:11px; font-weight:700; color:var(--accent-ink);
  background:var(--accent-soft); padding:4px 11px; border-radius:999px; white-space:nowrap; }
/* categories laid out as columns (directory style) with vertical rules between */
.area-cats { columns:240px; column-gap:34px; column-rule:1px solid var(--border); }
.area-group { break-inside:avoid; margin:0 0 20px; }
.area-group-label { font-size:13.5px; font-weight:800; letter-spacing:-.1px;
  color:var(--text-primary); margin-bottom:9px; padding-bottom:7px; border-bottom:2px solid var(--brand-orange); }
.area-list { display:flex; flex-direction:column; gap:1px; }
.area-item { display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:6px 9px; border-radius:var(--radius); font-size:13px; color:var(--text-primary);
  transition:background .12s, color .12s; }
.area-item:hover { background:var(--bg-hover); color:var(--accent-active); }
.area-item .area-name { font-weight:500; line-height:1.35; }
.area-item .area-issues { flex:none; font-size:11px; color:var(--text-dim); font-weight:600; }
.area-item:hover .area-issues { color:var(--accent-ink); }
/* keep the old grid alias for any other users */
.area-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:8px; }
.area-chip { display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:var(--bg-surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:10px 13px; color:var(--text-primary); transition:all .12s; }
.area-chip:hover { border-color:var(--accent); background:var(--bg-card); box-shadow:var(--shadow);
  color:var(--accent-active); }
.area-name { font-size:13px; font-weight:600; line-height:1.3; }
.area-issues { flex:none; font-size:11px; font-weight:700; color:var(--text-dim);
  background:var(--bg-card); border:1px solid var(--border); border-radius:999px; padding:1px 8px; }
.area-chip:hover .area-issues { color:var(--accent-ink); }

/* ---- management authoring (edit cards) ---- */
.edit-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:14px 16px; box-shadow:var(--shadow); margin-bottom:12px; }
.edit-card.is-retired { opacity:.6; }
.edit-row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:8px; }
.edit-title { flex:1 1 280px; min-width:220px; background:var(--bg-surface); border:1px solid var(--border-light);
  border-radius:var(--radius); color:var(--text-primary); padding:8px 10px; font-size:14px; font-weight:600; }
.edit-title:focus, .edit-desc:focus { outline:none; border-color:var(--accent); }
.edit-desc { width:100%; background:var(--bg-surface); border:1px solid var(--border-light);
  border-radius:var(--radius); color:var(--text-primary); padding:8px 10px; font-size:13px;
  font-family:inherit; line-height:1.5; resize:vertical; }
.edit-check { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--text-muted);
  white-space:nowrap; }
.edit-actions { display:flex; gap:8px; align-items:center; justify-content:flex-end; margin-top:8px; }

/* ---- case-type entry (start-here) ---- */
.ct-branch { margin-bottom:16px; }
.ct-branch-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.6px;
  color:var(--text-muted); margin-bottom:8px; }
.ct-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:8px; }
.ct-chip { display:block; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:10px 13px; font-size:13px; box-shadow:var(--shadow); transition:all .13s; color:var(--text-primary); }
.ct-chip:hover { border-color:var(--accent); box-shadow:var(--shadow-md); color:var(--accent-active); }
.ct-chip .mono { color:var(--text-dim); margin-right:6px; font-size:12px; }

/* ---- issue list (on a case-type page) ---- */
.issue-list { display:flex; flex-direction:column; }
.issue-line { display:flex; align-items:center; gap:12px; padding:11px 14px; border:1px solid var(--border);
  border-bottom:none; background:var(--bg-card); color:var(--text-primary); transition:background .12s; }
.issue-line:first-child { border-radius:var(--radius) var(--radius) 0 0; }
.issue-list > .issue-line:last-child, .issue-line + div.issue-line-trigger { }
.issue-line:hover { background:var(--bg-hover); }
.issue-list .issue-line:last-of-type { border-bottom:1px solid var(--border); border-radius:0 0 var(--radius) var(--radius); }
.issue-line-id { color:var(--text-dim); font-size:12px; min-width:64px; }
.issue-line-title { flex:1; font-size:14px; }
.issue-line-meta { display:flex; gap:6px; align-items:center; }
.issue-line-trigger { font-size:12px; color:var(--text-muted); padding:2px 14px 8px 90px;
  background:var(--bg-card); border:1px solid var(--border); border-top:none; }

/* ---- education posture lens (assert vs defend) ---- */
.lens { background:var(--bg-surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:14px 18px; margin-bottom:22px; }
.lens-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.6px;
  color:var(--text-muted); margin-bottom:8px; }
.lens-toggle { display:inline-flex; background:var(--bg-card); border:1px solid var(--border-light);
  border-radius:999px; padding:3px; gap:2px; }
.lens-btn { border:none; background:transparent; cursor:pointer; font:inherit; font-size:13px;
  font-weight:600; color:var(--text-muted); padding:6px 16px; border-radius:999px; transition:all .13s; }
.lens-btn:hover { color:var(--text-primary); }
.lens-btn.active { background:var(--accent); color:#fff; }
.lens-hint { font-size:12.5px; color:var(--text-muted); margin-top:10px; }

.lane-link { display:inline-block; margin:2px 4px 2px 0; padding:2px 9px; border-radius:999px;
  font-size:12px; font-weight:600; background:var(--accent-soft); color:var(--accent-ink);
  border:1px solid transparent; }
.lane-link:hover { border-color:var(--accent); color:var(--accent-active); }

/* ---- dashboard: verification CTA ---- */
.notice-cta { display:flex; align-items:center; justify-content:space-between; gap:14px;
  background:var(--blue-bg); border:1px solid var(--blue-solid); color:var(--blue);
  border-radius:var(--radius); padding:12px 16px; margin-bottom:20px; font-size:13px; flex-wrap:wrap; }
.notice-cta b { color:var(--text-primary); }

/* ---- dashboard: triage tiles (start-here + queue filter) ---- */
.triage { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-bottom:24px; }
.triage-tile { text-align:left; background:var(--bg-card); border:1px solid var(--border);
  border-left:4px solid var(--border-light); border-radius:var(--radius-lg); padding:14px 16px;
  cursor:pointer; transition:all .14s; font:inherit; color:inherit; text-decoration:none; display:block; }
.triage-tile:hover { box-shadow:var(--shadow-md); transform:translateY(-1px); }
.triage-tile .tnum { font-size:28px; font-weight:800; line-height:1; letter-spacing:-.5px; }
.triage-tile .tlbl { font-size:13px; font-weight:700; margin-top:6px; }
.triage-tile .thint { font-size:11px; color:var(--text-dim); margin-top:2px; }
.triage-tile.active { box-shadow:0 0 0 2px var(--accent) inset, var(--shadow); }
.t-overdue { border-left-color:var(--red-solid); } .t-overdue .tnum { color:var(--red); }
.t-soon { border-left-color:var(--amber-solid); } .t-soon .tnum { color:var(--amber); }
.t-later { border-left-color:var(--blue-solid); } .t-later .tnum { color:var(--blue); }
.t-undated { border-left-color:var(--text-dim); } .t-undated .tnum { color:var(--text-muted); }
.t-blocked { border-left-color:var(--red-solid); } .t-blocked .tnum { color:var(--red); }
.t-blocked.is-empty { opacity:.6; } .t-blocked.is-empty .tnum { color:var(--text-muted); }

/* ---- dashboard: queue header + filter bar ---- */
.queue-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
  flex-wrap:wrap; margin-bottom:12px; }
.queue-title { font-size:16px; font-weight:700; }
.filter-bar { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.filter-bar .input-md { min-width:180px; }
.select-sm { background:var(--bg-surface); border:1px solid var(--border-light); border-radius:var(--radius);
  color:var(--text-primary); padding:6px 9px; font-size:13px; }
.input-md { background:var(--bg-surface); border:1px solid var(--border-light); border-radius:var(--radius);
  color:var(--text-primary); padding:6px 10px; font-size:13px; }

/* ---- dashboard: state chips ---- */
.chip { display:inline-block; padding:2px 8px; border-radius:6px; font-size:11px; font-weight:700; white-space:nowrap; }
.chip-overdue { background:var(--red-bg); color:var(--red); }
.chip-soon { background:var(--amber-bg); color:var(--amber); }
.chip-later { background:var(--blue-bg); color:var(--blue); }
.chip-undated { background:var(--bg-hover); color:var(--text-muted); }

/* ---- dashboard: legend ---- */
.legend { margin-top:22px; background:var(--bg-surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:12px 16px; }
.legend summary { cursor:pointer; font-size:13px; font-weight:600; color:var(--text-muted); }
.legend-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:8px 20px;
  margin-top:12px; font-size:13px; }
.empty-state { text-align:center; color:var(--text-muted); padding:22px; font-size:13px; }

/* ---- auth page (mirrors bcbs) ---- */
body.auth-body { min-height:100vh; display:flex; flex-direction:column; align-items:center;
  justify-content:center; background:var(--bg-base); }
.auth-card { width:460px; max-width:94vw; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:44px 48px; box-shadow:var(--shadow-md); }
.auth-logo-img { width:112px; height:112px; border-radius:50%; display:block; margin:0 auto 18px;
  box-shadow:0 2px 8px rgba(16,24,40,.16); }
.auth-title { font-size:24px; font-weight:800; text-align:center; margin-bottom:6px; letter-spacing:-.3px; }
.auth-sub { font-size:14px; text-align:center; color:var(--text-muted); margin-bottom:26px; }
.auth-card .form-group { margin-bottom:14px; }
.auth-card .form-group label { font-size:12px; font-weight:600; color:var(--text-muted);
  text-transform:uppercase; letter-spacing:.4px; display:block; margin-bottom:4px; }
.auth-card .form-group input { width:100%; background:var(--bg-surface); border:1px solid var(--border-light);
  border-radius:var(--radius); color:var(--text-primary); padding:10px 12px; font-size:14px; }
.auth-card .form-group input:focus { outline:none; border-color:var(--accent); }
.btn-full { width:100%; justify-content:center; padding:11px; font-size:14px; margin-top:8px; }
.auth-note { text-align:center; margin-top:18px; font-size:12px; color:var(--text-dim); line-height:1.5; }
.flash-error { background:var(--red-bg); color:var(--red); border:1px solid var(--red); padding:10px 14px;
  border-radius:var(--radius); font-size:13px; margin-bottom:16px; }
/* logout link in sidebar footer */
.btn-logout { display:inline-block; margin-top:10px; font-size:12px; color:var(--sidebar-dim); }
.btn-logout:hover { color:var(--brand-orange); }
