body { font-family: system-ui, sans-serif; margin: 0; background: #F2F5F8; color: #2E3A47; }
.topbar { display: flex; justify-content: space-between; align-items: center; background: #1F3A5F; color: #fff; padding: 10px 18px; }
.topbar nav a { color: #C9D6E8; margin-left: 14px; text-decoration: none; }
main { max-width: 1100px; margin: 22px auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid #D5DCE4; border-radius: 8px; padding: 16px; margin-bottom: 18px; }
.card.narrow { max-width: 380px; margin: 60px auto; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { border: 1px solid #D5DCE4; padding: 6px 8px; text-align: left; font-size: 14px; }
th { background: #E8EDF3; }
tr.derog td { background: #FAEFED; }
label { display: block; margin-bottom: 10px; font-size: 14px; }
input, select, textarea { display: block; width: 100%; padding: 7px; margin-top: 4px; box-sizing: border-box; }
button { background: #1F3A5F; color: #fff; border: 0; border-radius: 6px; padding: 9px 16px; cursor: pointer; }
.error { color: #B91C1C; }
.meta { color: #64748B; font-size: 14px; }
.scores strong { font-size: 20px; }
a { color: #1F3A5F; }
.saved { color: #1F3A5F; font-weight: 600; }
.button-link { display: inline-block; background: #1F3A5F; color: #fff; border-radius: 6px; padding: 8px 14px; text-decoration: none; }
.pending-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.pending-box { flex: 1 1 280px; border: 1px solid #D5DCE4; border-radius: 8px; padding: 10px 14px; background: #F8FAFC; }
.pending-box h3 { margin: 4px 0; }
.pending-box .count { background: #D97706; color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 13px; }
.pending-box ul { margin: 6px 0; padding-left: 18px; }
.tag-table select { margin-bottom: 6px; }
.neg-fields select { font-size: 13px; }
.inline-form { display: inline; }
.round-form { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin-top: 12px; }
.round-form label { margin-bottom: 0; }
.round-form input, .round-form select { width: auto; }
.checks label { display: inline-block; margin-right: 8px; }
.checks input { display: inline; width: auto; }

/* Phase 4 — client portal */
.topbar nav a.active { color: #fff; font-weight: 700; text-decoration: underline; }
.portal-brand { color: #1F3A5F; font-weight: 800; font-size: 22px; margin: 0 0 2px; letter-spacing: .2px; }
.portal-login h1 { margin-top: 0; }
.portal-login-note { margin-top: 14px; }
.portal-footer { max-width: 1100px; margin: 0 auto 26px; padding: 0 16px; color: #64748B; font-size: 13px; }
.portal-grid { display: flex; gap: 18px; flex-wrap: wrap; }
.portal-grid .card { flex: 1 1 340px; }
.score-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.score-box { flex: 1 1 220px; border: 1px solid #D5DCE4; border-radius: 8px; padding: 12px 14px; background: #F8FAFC; }
.score-bureau { margin: 0; color: #64748B; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.score-value { font-size: 30px; font-weight: 800; color: #1F3A5F; }
.score-from { font-size: 20px; color: #64748B; }
.score-arrow { color: #64748B; margin: 0 4px; }
.score-change { margin: 6px 0 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.score-track { background: #DAE3EC; border-radius: 999px; height: 8px; margin: 5px 0; overflow: hidden; }
.score-bar { background: #1F3A5F; height: 100%; border-radius: 999px; }
.score-bar-before { background: #C5D2DE; }
.chip { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; background: #E8EDF3; color: #334155; white-space: nowrap; }
.chip-up { background: #1F3A5F; color: #fff; }
.chip-down { background: #FAEFED; color: #BA584D; }
.chip-deleted { background: #1F3A5F; color: #fff; }
.chip-repaired { background: #E8EDF3; color: #1F3A5F; border: 1px solid #1F3A5F; }
.chip-updated { background: #E8EDF3; color: #334155; }
.chip-verified { background: #EDF1F6; color: #64748B; }
.chip-in_dispute { background: #FBF1DA; color: #9A6206; }
.chip-positive { background: #EDF1F6; color: #1F3A5F; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.step { display: flex; align-items: baseline; gap: 7px; font-size: 14px; }
.step-dot { font-weight: 800; }
.step-done { color: #1F3A5F; }
.step-done .step-dot { color: #1F3A5F; }
.step-current { color: #2E3A47; font-weight: 700; }
.step-current .step-dot { color: #D97706; }
.step-todo { color: #94A3B8; }
.step-detail { display: block; width: 100%; color: #64748B; font-size: 12px; font-weight: 400; margin-left: 22px; }
.removal-total { font-size: 18px; }
.removal-total strong { font-size: 26px; color: #1F3A5F; }
.rounds-timeline { margin: 6px 0; padding-left: 18px; }
.rounds-timeline li { margin-bottom: 6px; }
.referral-card { background: #FBF1DA; border-color: #EAD9AE; }
.referral-block h3 { margin-top: 0; color: #1F3A5F; }
/* Referral CTA — the ONE deliberately vibrant element in the product
   (Junior, Nov 10, 2026 ~8:57 PM): a vivid orange → hot coral-red
   gradient with a warm glow, so the "Refer Family & Friends" button
   begs to be clicked against the soft warm panel tint. Everything
   else in the product stays in the navy/slate system. */
.btn-referral { display: inline-block; background: linear-gradient(135deg, #F97316 0%, #E11D48 100%); color: #fff; border-radius: 8px; padding: 13px 26px; text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: .2px; box-shadow: 0 6px 18px rgba(225, 29, 72, .38), 0 2px 6px rgba(249, 115, 22, .35); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-referral:hover, .btn-referral:focus { background: linear-gradient(135deg, #EA580C 0%, #BE123C 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(225, 29, 72, .48), 0 4px 10px rgba(249, 115, 22, .40); }
.btn-referral:active { background: linear-gradient(135deg, #EA580C 0%, #BE123C 100%); color: #fff; transform: translateY(0); box-shadow: 0 4px 12px rgba(225, 29, 72, .42), 0 2px 6px rgba(249, 115, 22, .35); }
.copy-link { background: #fff; border: 1px solid #D5DCE4; border-radius: 6px; padding: 4px 8px; display: inline-block; margin-top: 4px; word-break: break-all; }
.modal-overlay { position: fixed; inset: 0; background: rgba(31, 58, 95, .55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal-card { position: relative; z-index: 70; background: #fff; border-radius: 12px; max-width: 520px; width: 100%; padding: 26px; text-align: center; box-shadow: 0 18px 50px rgba(31, 58, 95, .35); max-height: 92vh; overflow: auto; }
.modal-emoji { font-size: 40px; margin: 0; }
.modal-card h2 { margin: 4px 0; color: #1F3A5F; }
.modal-big { font-size: 20px; }
.modal-referral { margin-top: 18px; text-align: left; background: #FBF1DA; border: 1px solid #EAD9AE; border-radius: 8px; padding: 14px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-item { border-bottom: 1px solid #E8EDF3; padding: 12px 0; }
.doc-item:last-child { border-bottom: 0; }
.doc-head { display: flex; gap: 10px; align-items: baseline; }
.doc-status { color: #1F3A5F; font-weight: 700; font-size: 13px; }
.doc-upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.doc-upload input[type="file"] { width: auto; }
/* Phase 4.1 celebration effect (portal dashboard): fireworks canvas sits
   above the dimmed page (overlay z-index 50) and below the modal card
   (z-index 70). Motion is JS-gated on prefers-reduced-motion. */
.celebrate-canvas { position: fixed; inset: 0; z-index: 60; pointer-events: none; transition: opacity .45s ease; }
.celebrate-canvas.celebrate-fade { opacity: 0; }
@keyframes celebrate-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.modal-card.celebrate-pulse { animation: celebrate-pulse .9s ease-in-out infinite; }
/* Phase 5 coaching engine: insight facts + draft cards (queue + client page). */
.facts { margin: 6px 0 10px; padding-left: 18px; font-size: 14px; line-height: 1.55; }
.draft { border: 1px solid #D5DCE4; border-radius: 8px; padding: 12px 14px; margin: 10px 0; background: #F8FAFC; }
.draft-text { font-size: 15px; line-height: 1.55; margin: 8px 0 0; }
.chip-draft { background: #FBF1DA; color: #9A6206; }
.chip-type { background: #E8EDF3; color: #1F3A5F; border: 1px solid #1F3A5F; }

/* Phase 6: payment due-date reminders — account rows, self-drawn
   brand badges (colored initial tiles; no logo files), due forms. */
.notice { background: #EDF1F6; border: 1px solid #1F3A5F; color: #1F3A5F; border-radius: 8px; padding: 10px 14px; font-weight: 600; margin-bottom: 16px; }
.btn.small { padding: 6px 12px; font-size: 14px; }
.acct-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; justify-content: space-between; }
.acct-main { display: flex; gap: 14px; align-items: center; min-width: 260px; }
.acct-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .5px; flex: 0 0 auto; }
.acct-badge.small { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; vertical-align: middle; margin-right: 6px; }
.acct-info { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.acct-due { min-width: 280px; }
.acct-due .due-set { margin: 0 0 8px; font-size: 15px; }
.due-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.due-form.wrap { align-items: flex-end; }
.due-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #64748B; font-weight: 600; }
.due-form select, .due-form input[type="text"] { padding: 7px 9px; border: 1px solid #D5DCE4; border-radius: 6px; font-size: 14px; background: #fff; }
.due-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.due-table th, .due-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #E8EDF3; vertical-align: middle; }
.due-table th { color: #64748B; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }

/* Phase 6.1: account visuals (Junior, Nov 11, 2026) — every account
   drawn as what it is: cards as credit cards, the rest as friendly
   icon tiles. Softer shell for this page's cards: bigger radius, a
   lighter border, a gentle shadow, warmer padding. */
.acct-card { border-radius: 16px; border-color: #E3EAF1; box-shadow: 0 3px 14px rgba(31, 58, 95, .07); padding: 20px 22px; }
.acct-card h2 { margin-top: 2px; }
/* The credit-card visual: real card proportions (1.6:1), rounded
   corners, a brand-color gradient (stops are set inline from the
   fb_account_badge palette), the creditor name as a text wordmark —
   no logo artwork, per the codebase's no-logo rule. */
.cc-card { flex: 0 1 300px; width: 300px; max-width: 100%; aspect-ratio: 1.6; border-radius: 16px; color: #fff; padding: 16px 18px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 20px rgba(31, 58, 95, .22), inset 0 1px 0 rgba(255, 255, 255, .28); }
.cc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cc-brand { font-size: 19px; font-weight: 800; letter-spacing: .3px; line-height: 1.15; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.cc-kind { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; opacity: .85; padding-top: 4px; white-space: nowrap; }
.cc-mid { display: flex; justify-content: space-between; align-items: center; }
.cc-chip { color: #F5D67A; display: inline-flex; }
.cc-chip svg { width: 46px; height: 35px; display: block; }
.cc-wave { opacity: .9; display: inline-flex; }
.cc-wave svg { width: 30px; height: 23px; display: block; }
.cc-num { font-size: 17px; font-weight: 600; letter-spacing: 2.2px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
/* Icon tiles for everything that is not a card: a soft tint of the
   badge color, the self-drawn SVG in the full badge color. */
.acct-tile { display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 22px; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(31, 58, 95, .05); }
.acct-tile svg { width: 58px; height: 58px; display: block; }

/* ============================================================
   CRC-look admin redesign (Nov 28, 2026) — the ADMIN side is
   restyled to mirror Credit Repair Cloud's familiar layout:
   navy left sidebar, light gray workspace, white cards, blue
   primary actions, status pills, three-bureau presentation.
   The twist stays Finboost: navy/slate brand, "Venture Credit
   Financial Group" on client-facing surfaces, coaching queue,
   payment reminders, IdentityIQ credential section.
   Every rule below is scoped to body.admin (or to new component
   classes used only by admin views) so the client PORTAL keeps
   its existing look and behavior untouched.
   ============================================================ */
body.admin { background: #EEF1F5; }
body.admin .app { display: flex; min-height: 100vh; align-items: stretch; }

/* --- Sidebar --- */
body.admin .sidebar { width: 228px; flex: 0 0 228px; background: #1F3A5F; color: #DCE6F2; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
body.admin .sidebar-brand { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
body.admin .sidebar-brand .brand-name { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .2px; line-height: 1.1; }
body.admin .sidebar-brand .brand-name span { color: #7FB2E8; }
body.admin .sidebar-brand .brand-sub { font-size: 12px; color: #9FB6CF; margin-top: 4px; letter-spacing: .4px; text-transform: uppercase; }
body.admin .sidebar nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
body.admin .sidebar nav a { color: #C9D6E8; text-decoration: none; padding: 9px 12px; border-radius: 7px; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
body.admin .sidebar nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
body.admin .sidebar nav a.active { background: #2370C8; color: #fff; font-weight: 700; }
body.admin .sidebar nav .nav-ico { width: 18px; text-align: center; font-size: 14px; opacity: .9; }
body.admin .sidebar .nav-label { padding: 14px 12px 5px; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: #7E97B5; }
body.admin .sidebar-foot { margin-top: auto; padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: #9FB6CF; }
body.admin .sidebar-foot a { color: #C9D6E8; }

/* --- Main column --- */
body.admin .app-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
body.admin .app-topbar { background: #fff; border-bottom: 1px solid #D5DCE4; padding: 12px 26px; display: flex; justify-content: space-between; align-items: center; }
body.admin .app-topbar .crumb { font-size: 14px; color: #64748B; }
body.admin .app-topbar .crumb strong { color: #1F3A5F; }
body.admin .app-topbar .top-actions { font-size: 13.5px; color: #64748B; display: flex; gap: 16px; align-items: center; }
body.admin main.content { max-width: 1240px; width: 100%; margin: 0 auto; padding: 24px 26px 34px; box-sizing: border-box; }
body.admin .app-footer { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 26px 26px; box-sizing: border-box; color: #94A3B8; font-size: 12.5px; }

/* --- Page heads, cards, tables --- */
body.admin .page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
body.admin .page-head h1 { margin: 0; font-size: 24px; color: #1F3A5F; }
body.admin .page-head .meta { margin-top: 4px; }
body.admin h1 { color: #1F3A5F; }
body.admin .card { border: 1px solid #DCE3EB; border-radius: 10px; box-shadow: 0 1px 3px rgba(31, 58, 95, .06); padding: 20px; }
body.admin .card h2 { margin-top: 0; color: #1F3A5F; font-size: 17px; }
body.admin table { border: 0; }
body.admin th, body.admin td { border: 0; border-bottom: 1px solid #E6EBF1; padding: 9px 10px; }
body.admin th { background: #F4F7FA; color: #52657C; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
body.admin tbody tr:hover td { background: #F7FAFD; }
body.admin tr.derog td { background: #FBF3F1; }
body.admin tbody tr:hover td.derog, body.admin tr.derog:hover td { background: #F9ECE9; }

/* --- Buttons: CRC-blue primary, navy/ghost secondary --- */
body.admin button, body.admin .button-link { background: #2370C8; border-radius: 7px; font-size: 14px; }
body.admin button:hover, body.admin .button-link:hover { background: #1B5CA8; }
body.admin button.btn-navy { background: #1F3A5F; }
body.admin button.btn-navy:hover { background: #182E4C; }
body.admin button.btn-ghost, body.admin .button-link.btn-ghost { background: #fff; color: #1F3A5F; border: 1px solid #C4D2E0; }
body.admin button.btn-ghost:hover, body.admin .button-link.btn-ghost:hover { background: #EDF2F8; }
body.admin input, body.admin select, body.admin textarea { border: 1px solid #C9D4E0; border-radius: 7px; padding: 8px 10px; font-size: 14px; background: #fff; }
body.admin input:focus, body.admin select:focus, body.admin textarea:focus { outline: 2px solid #B9D4F2; border-color: #2370C8; }

/* --- Status pills (CRC visual language) --- */
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.pill-lead { background: #E8EDF3; color: #52657C; }
.pill-audit_sent { background: #FBF1DA; color: #9A6206; }
.pill-active { background: #E2F2E6; color: #1E7A34; }
.pill-paused { background: #FDEBD8; color: #A85B12; }
.pill-completed { background: #1F3A5F; color: #fff; }
.pill-test { background: #EFE7F7; color: #6D28A8; }
.pill-draft { background: #E8EDF3; color: #52657C; }
.pill-mailed { background: #E1EEFB; color: #1B5CA8; }
.pill-results_checked { background: #E2F2E6; color: #1E7A34; }
.pill-closed { background: #E8EDF3; color: #334155; }
.pill-generated { background: #E1EEFB; color: #1B5CA8; }
.pill-in_dispute { background: #FBF1DA; color: #9A6206; }
.pill-deleted { background: #E2F2E6; color: #1E7A34; }
.pill-negative { background: #FAEFED; color: #B3402F; }
.pill-positive { background: #E2F2E6; color: #1E7A34; }
.pill-neutral { background: #E8EDF3; color: #52657C; }

/* --- Bureau chips + three-bureau score boxes --- */
.bureau-chip { display: inline-block; border-radius: 6px; padding: 1px 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .4px; color: #fff; white-space: nowrap; }
.bureau-TU { background: #2370C8; }
.bureau-EX { background: #5B4B9E; }
.bureau-EQ { background: #B3402F; }
body.admin .score-grid { gap: 12px; }
body.admin .score-box { background: #fff; border: 1px solid #DCE3EB; border-radius: 10px; box-shadow: 0 1px 3px rgba(31, 58, 95, .06); }
body.admin .bureau-cell { font-size: 13.5px; line-height: 1.45; }
body.admin .bureau-cell .bc-status { font-weight: 600; color: #2E3A47; }
body.admin .bureau-cell .bc-bal { color: #64748B; }
body.admin .bureau-cell.bc-empty { color: #B6C2CF; }

/* --- Dashboard stat cards --- */
.stat-grid { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-card { flex: 1 1 160px; background: #fff; border: 1px solid #DCE3EB; border-radius: 10px; box-shadow: 0 1px 3px rgba(31, 58, 95, .06); padding: 14px 16px; }
.stat-card .stat-num { font-size: 28px; font-weight: 800; color: #1F3A5F; line-height: 1.1; }
.stat-card .stat-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748B; margin-top: 3px; }
.stat-card .stat-sub { font-size: 12.5px; color: #94A3B8; margin-top: 2px; }
.stat-card.alert .stat-num { color: #B3402F; }
body.admin .pending-box { background: #fff; border-color: #DCE3EB; border-radius: 10px; box-shadow: 0 1px 3px rgba(31, 58, 95, .06); }
body.admin .pending-box .count { background: #2370C8; }

/* --- Client list filter bar --- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
.filter-bar label { margin-bottom: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748B; }
.filter-bar input, .filter-bar select { margin-top: 5px; }
.filter-bar .filter-search { flex: 1 1 260px; }
body.admin td.score-cell { font-weight: 700; color: #1F3A5F; font-size: 15px; }
body.admin td.score-cell .score-none { color: #B6C2CF; font-weight: 400; }

/* --- Client detail: header card + tabs --- */
.client-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.client-avatar { width: 58px; height: 58px; border-radius: 50%; background: #1F3A5F; color: #fff; font-size: 21px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; letter-spacing: .5px; }
.client-head .client-id-block { flex: 1 1 300px; min-width: 260px; }
.client-head h1 { margin: 0 0 4px; font-size: 24px; }
.client-head .head-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.client-head .head-scores { flex: 0 1 430px; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 2px solid #D5DCE4; margin: 4px 0 18px; }
.tabs a { padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: #52657C; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a:hover { color: #1F3A5F; }
.tabs a.active { color: #2370C8; border-bottom-color: #2370C8; }
.notes-body { white-space: pre-wrap; font-size: 15px; line-height: 1.6; background: #F8FAFC; border: 1px solid #E6EBF1; border-radius: 8px; padding: 14px 16px; }

/* --- Add-client form grid --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }

/* --- Admin login --- */
body.admin-login { background: #EEF1F5; }
body.admin-login .card.narrow { border-radius: 12px; box-shadow: 0 8px 30px rgba(31, 58, 95, .12); border-color: #DCE3EB; padding: 26px; }
body.admin-login .login-brand { font-size: 24px; font-weight: 800; color: #1F3A5F; margin: 0; }
body.admin-login .login-brand span { color: #2370C8; }
body.admin-login .login-sub { color: #64748B; font-size: 13px; margin: 4px 0 16px; text-transform: uppercase; letter-spacing: .5px; }
body.admin-login button { background: #2370C8; width: 100%; }
body.admin-login button:hover { background: #1B5CA8; }
body.admin-login input { border: 1px solid #C9D4E0; border-radius: 7px; padding: 9px 10px; }

@media (max-width: 900px) {
  body.admin .app { flex-direction: column; }
  body.admin .sidebar { width: 100%; flex: none; height: auto; position: static; }
  body.admin .sidebar nav { flex-direction: row; flex-wrap: wrap; }
  body.admin .sidebar .nav-label { width: 100%; padding-top: 8px; }
  body.admin .sidebar-foot { display: none; }
}
