/* GODSON CRM: plain CSS, no framework. Tokens first, then layout, then components. */
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap; src:url('/brand/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap; src:url('/brand/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap; src:url('/brand/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap; src:url('/brand/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family:'Lora'; font-style:normal; font-weight:600; font-display:swap; src:url('/brand/fonts/lora-600.woff2') format('woff2'); }
:root {
  --bg:#f8f7f3;
  --surface:#fff;
  --surface-2:#f2f5f5;
  --border:#dfe5e8;
  --text:#082a44;
  --muted:#5c6d7a;
  --primary:#08797b;
  --primary-hover:#056568;
  --primary-soft:#e5f3f2;
  --orange:#bd4b07;
  --orange-hover:#a23d03;
  --orange-soft:#fff0df;
  --gold:#efb331;
  --navy:#082a44;
  --ok:#087476;
  --ok-soft:#e4f3f1;
  --warn:#835610;
  --warn-soft:#fff5df;
  --danger:#ad332e;
  --danger-soft:#fff0ee;
  --info:#1c557f;
  --info-soft:#edf4fa;
  --focus:#08797b;
  --chart:#08797b;
  --chart-soft:#a0c5d0;
  --radius:10px;
  --shadow:0 2px 4px #082a4408;
  --font:'Poppins',sans-serif;
  --heading-font:'Lora',serif;
  color-scheme:light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 4px; }
h2 { font-size: 1.05rem; margin: 0; }
h3 { font-size: 0.95rem; margin: 18px 0 8px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
small, .small { font-size: 0.82rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 18px 12px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand-name { font-weight: 700; letter-spacing: 0.02em; }
.brand-lg { justify-content: center; padding-bottom: 8px; }
nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-weight: 500; }
.nav-link:hover { background: var(--surface-2); text-decoration: none; }
.nav-active { background: var(--primary-soft); color: var(--primary); }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 12px 8px 0; border-top: 1px solid var(--border); }
.me { display: flex; gap: 10px; align-items: center; }
.me strong { display: block; font-size: 0.9rem; }
.me small { color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 600; font-size: 0.8rem; }
.main-wrap { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.topbar-title { font-weight: 700; }
.main { padding: 24px 28px 48px; max-width: 1200px; width: 100%; outline: none; }
.env-pill, .safe-pill { font-size: 0.75rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.env-pill { background: var(--warn-soft); color: var(--warn); }
.safe-pill { background: var(--danger-soft); color: var(--danger); }
.env-block { display: block; text-align: center; margin: 0 0 12px; }
.shell .topbar { display: flex; justify-content: flex-start; }
@media (min-width: 901px) {
  .shell .topbar { display: flex; background: transparent; border: 0; position: static; padding: 14px 28px 0; }
  .shell .topbar .menu-btn, .shell .topbar .topbar-title { display: none; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; transform: translateX(-100%); transition: transform 0.2s; z-index: 30; box-shadow: 0 0 30px rgba(0, 0, 0, 0.2); }
  .sidebar-open { transform: none; }
  .main { padding: 16px 16px 40px; }
}

.center-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-sub { color: var(--muted); margin: 0; max-width: 70ch; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.back-link { display: inline-block; font-size: 0.85rem; margin-bottom: 6px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr; } .detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; min-width: 0; }
.card.narrow { max-width: 460px; margin: 40px auto; }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.card-sub { color: var(--muted); margin: 4px 0 0; font-size: 0.88rem; }
.card-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.card-body > :last-child { margin-bottom: 0; }
.form-card { max-width: 820px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow); }
a.stat:hover { text-decoration: none; border-color: var(--primary); }
.stat-value { font-size: 1.7rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-weight: 500; }
.stat-hint { color: var(--muted); font-size: 0.8rem; }
.stat-warn { border-left: 4px solid var(--warn); }
.stat-danger { border-left: 4px solid var(--danger); }
.stat-info { border-left: 4px solid var(--info); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(0.92); background: var(--danger); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger-ghost { background: transparent; border-color: transparent; color: var(--danger); }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn + .btn { margin-left: 0; }
.icon-btn { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--text); padding: 4px 8px; border-radius: 6px; }
.link-btn { background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; padding: 8px 0; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } .sidebar { transition: none; } }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; white-space: nowrap; margin: 1px 2px 1px 0; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; flex: 1; }
.field label, .choices legend { font-weight: 600; font-size: 0.9rem; }
.req { color: var(--danger); }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; width: 100%; min-height: 40px; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 2px solid color-mix(in srgb, var(--focus) 30%, transparent); outline-offset: 0; }
.field-error input, .field-error select { border-color: var(--danger); }
.hint { color: var(--muted); font-size: 0.82rem; margin: 2px 0 0; }
.hint-error { color: var(--danger); }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > .field { min-width: 180px; }
.field-action { justify-content: flex-end; flex: 0 0 auto; }
.choices { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.choices label { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.choices input { width: auto; min-height: 0; margin-top: 4px; }
.amount-echo { font-weight: 600; color: var(--text); margin-top: -8px; margin-bottom: 10px; }
.picked { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--surface-2); }
.combo { position: relative; }
.combo-list { list-style: none; margin: 4px 0 0; padding: 4px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); position: absolute; left: 0; right: 0; z-index: 10; }
.combo-list button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 6px; cursor: pointer; font: inherit; color: var(--text); }
.combo-list button:hover, .combo-list button:focus { background: var(--surface-2); }
.toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .search { flex: 1; min-width: 220px; }
.toolbar select { width: auto; min-width: 160px; }

/* ---------- tables and lists ---------- */
.table-wrap { overflow-x: auto; margin: -4px -6px; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-compact th, .table-compact td { padding: 6px 6px; }
.consent-table th[scope="row"] { font-weight: 500; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--surface-2); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pager .btn { margin-left: 6px; }
.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; align-items: center; }
.list-row:last-child { border-bottom: 0; }
.kv { margin: 0; display: grid; gap: 6px; }
.kv-row { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.kv dt { color: var(--muted); font-size: 0.88rem; }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- alerts and feedback ---------- */
.alert { padding: 10px 12px; border-radius: 8px; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert-info { background: var(--info-soft); color: var(--info); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.alert-item:last-child { border-bottom: 0; }
.alert-item p { margin: 4px 0; }
.alert-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sev-critical { box-shadow: inset 3px 0 0 var(--danger); padding-left: 10px; }
.sev-warning { box-shadow: inset 3px 0 0 var(--warn); padding-left: 10px; }
.loading { display: flex; gap: 8px; align-items: center; color: var(--muted); padding: 16px 0; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-title { font-weight: 600; color: var(--text); margin: 0 0 4px; }
.empty-text { margin: 0; }
.toasts { position: fixed; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 100; max-width: min(420px, calc(100vw - 32px)); }
.toast { padding: 11px 14px; border-radius: 8px; background: var(--text); color: var(--bg); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); font-weight: 500; }
.toast-error { background: var(--danger); color: #fff; }
.toast-success { background: var(--ok); color: #fff; }
.safe-state { font-weight: 700; padding: 10px 12px; border-radius: 8px; }
.safe-on { background: var(--danger-soft); color: var(--danger); }
.safe-off { background: var(--ok-soft); color: var(--ok); }
.big-ok { font-size: 1.15rem; font-weight: 600; color: var(--ok); }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 6px 0 16px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab-active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-count { margin-left: 6px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 0 7px; font-size: 0.75rem; color: var(--text); }

/* ---------- messages ---------- */
.bubble, .note { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; max-width: 90%; }
.bubble-in { background: var(--surface); align-self: flex-start; }
.bubble-out { background: var(--primary-soft); align-self: flex-end; border-color: transparent; }
.note { background: var(--warn-soft); border-style: dashed; align-self: stretch; max-width: none; }
.bubble-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.bubble-subject { font-weight: 600; margin-bottom: 4px; }
.bubble-text, .message-preview { white-space: pre-wrap; font: inherit; margin: 0; overflow-wrap: anywhere; }
.message-preview { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.message-edit { min-height: 200px; }

/* ---------- tickets ---------- */
.ticket-list { list-style: none; margin: -6px 0; padding: 0; }
.ticket-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--border); color: var(--text); flex-wrap: wrap; }
.ticket-list li:last-child .ticket-row { border-bottom: 0; }
.ticket-row:hover { background: var(--surface-2); text-decoration: none; }
.ticket-row.pri-urgent { box-shadow: inset 3px 0 0 var(--danger); }
.ticket-row.pri-high { box-shadow: inset 3px 0 0 var(--warn); }
.ticket-main { display: flex; flex-direction: column; min-width: 0; }
.ticket-subject { font-weight: 600; }
.ticket-side { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ---------- modal ---------- */
.modal { border: 0; border-radius: 14px; padding: 0; width: min(560px, calc(100vw - 24px)); background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.modal-wide { width: min(760px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(20, 18, 16, 0.45); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 1.05rem; }
.modal-body { padding: 16px 18px; max-height: 70vh; overflow-y: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- login ---------- */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--navy); }
.login-card { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); }
.login-card h1 { font-size: 1.25rem; text-align: center; margin-bottom: 18px; }
.login-card .link-btn { display: block; margin: 10px auto 0; }
.fine { text-align: center; color: var(--muted); font-size: 0.78rem; margin: 14px 0 0; }

@media print {
  .sidebar, .topbar, .toasts, .page-actions, .row-actions { display: none !important; }
  .shell { display: block; }
  .card { box-shadow: none; }
}

/* Ideal Design layout, adapted to the supplied GODSON logo and brand palette. */
body { font-size:14px; }
h1 { font-size:25px; letter-spacing:-.65px; line-height:1.2; }
h2 { font-size:15px; }
.shell { grid-template-columns:216px minmax(0,1fr); }
.sidebar { background:#082a44; color:#e9f0f5; border:0; padding:24px 14px 18px; }
.brand { padding:0 7px 32px; align-items:flex-start; gap:11px; }
.brand-mark { background:#f2bb36; color:#082a44; border-radius:8px; width:33px; height:36px; flex-shrink:0; }
.brand-name { font-size:13px; letter-spacing:.1px; line-height:1.4; padding-top:1px; }
.brand-name small { display:block; font-size:11px; color:#adc1d1; font-weight:400; max-width:120px; margin-top:4px; }
.nav-section { display:block; color:#9cb8cd; font-size:9px; font-weight:700; letter-spacing:1.3px; margin:19px 11px 8px; }
.nav-link { color:#d7e6ef; font-size:12px; border-radius:5px; margin:2px 0; padding:10px 11px; }
.nav-link:hover { background:#143c58; color:white; }
.nav-active,.nav-active:hover { background:#fff0d9; color:#082a44; }
.sidebar-foot { border-color:#30516a; font-size:11px; padding:17px 7px 0; }
.sidebar-foot .btn { color:#d7e6ef; border-color:#42627a; background:transparent; }
.sidebar-foot .me small { color:#adc1d1; }
.sidebar-foot .avatar { background:#fff0d9; color:#082a44; border:0; }
.sidebar-safe { background:#153d55; padding:10px; border-radius:5px; margin-bottom:8px; }
.sidebar-safe strong { color:#f5c667; font-size:11px; }.sidebar-safe small { display:block; color:#c1d3df; }
.shell .topbar { position:sticky; top:0; z-index:20; padding:13px 26px; min-height:64px; background:#fff; border-bottom:1px solid var(--border); }
.global-search { flex:1; max-width:530px; }.global-search input { min-height:34px; font-size:12px; background:#fff; }
.top-record { margin-left:auto; }
.env-pill,.safe-pill { font-size:10px; border-radius:5px; padding:4px 7px; white-space:nowrap; }.env-live { background:#e5f3f2; color:#08686b; }.safe-pill { color:#835610; background:#fff5df; }
.demo-label { font-size:10px; color:var(--muted); }
.main { max-width:1550px; padding:27px 28px 50px; }
.page-head { margin-bottom:21px; }.page-sub { font-size:12px; margin-top:7px; }
.card { padding:18px; }.card-sub { font-size:11px; }.card-head { margin-bottom:16px; }
.stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0; }
.stat { padding:17px; border-left:1px solid var(--border); min-height:102px; }.stat-label { font-size:11px; color:var(--muted); order:-1; }.stat-value { font-size:26px; margin:5px 0; }.stat-hint { font-size:10px; }.stat-warn .stat-value { color:var(--warn); }.stat-info .stat-value { color:var(--primary); }.stat-danger .stat-value { color:var(--danger); }
.secondary-stats { margin-top:0; }.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr); gap:17px; margin-top:18px; align-items:start; }.section-gap,.recent-activity { margin-top:18px; }
.safe-banner { background:var(--warn-soft); border-color:#efd9ad; padding:13px 16px; position:relative; }.safe-banner .card-head { margin:0 155px 0 0; }.safe-banner .card-title { color:#765019; font-size:12px; }.safe-banner .card-sub { max-width:80ch; color:#765b30; }.safe-banner .safe-state,.safe-banner .card-body>p { display:none; }.safe-banner .card-body>.btn { position:absolute; right:15px; top:15px; font-size:11px; min-height:31px; background:#fff; color:#765019; border-color:#ead5ac; }
.goal { margin:19px 0; }.goal>div { display:flex; justify-content:space-between; gap:10px; font-size:12px; }.goal span,.goal small { color:var(--muted); font-size:11px; }.goal progress { display:block; width:100%; height:7px; border:0; border-radius:5px; overflow:hidden; margin:6px 0; background:#edf2f3; }.goal progress::-webkit-progress-bar {background:#edf2f3}.goal progress::-webkit-progress-value {background:var(--primary);border-radius:5px}.goal progress::-moz-progress-bar {background:var(--primary)}
.money-chart { display:flex; gap:12px; height:185px; align-items:end; }.chart-column { flex:1; text-align:center; min-width:0; }.chart-column>span { font-size:10px; white-space:nowrap; }.chart-column small { color:var(--muted); font-size:11px; }.bar-space { height:142px; display:flex; justify-content:center; }.bar-space svg { width:36px; height:140px; }
.health-list,.report-list { margin:0; }.health-list>div,.report-list>div { display:flex; gap:16px; justify-content:space-between; align-items:center; border-bottom:1px solid #edf1f3; padding:11px 0; font-size:12px; }.health-list dd,.report-list dd { margin:0; text-align:right; font-weight:600; }.health-list dt { color:var(--muted); }.report-list>div:first-child { padding-top:0; }
.table { font-size:12px; }.table th { font-size:10px!important; text-transform:none!important; letter-spacing:0!important; }.table td { padding:13px 9px; }.table code { font-size:10px; overflow-wrap:anywhere; }.btn { border-radius:5px; font-size:12px; min-height:35px; }.btn-sm { min-height:29px; font-size:11px; }.badge { font-size:10px; border-radius:5px; }.tabs .tab {font-size:12px;}.empty {padding:22px 14px; font-size:12px;}.alert-item {font-size:12px;padding:13px 0}.alert-item small {font-size:10px;}.alert-item p {font-size:11px;color:var(--muted)}
.finance-stages {display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:20px}.finance-stage{background:#fff;border:1px solid var(--border);border-top:3px solid #7db3bd;padding:15px 12px;border-radius:6px}.finance-stage small{display:block;color:var(--muted);font-size:9px;letter-spacing:1px;margin-bottom:6px}.finance-stage strong{display:block;font-size:12px}.finance-stage span{display:block;font-size:10px;color:var(--muted);margin-top:6px}
.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.media-tile{display:flex;flex-direction:column;gap:9px;font-size:12px}.media-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#e5f0f3;border-radius:7px;min-height:140px;color:#386978}.media-placeholder>span{font-size:34px}.media-placeholder small{font-size:10px;text-align:center}.media-placeholder.minor{background:#fff0df;color:#965019}.rules{margin:0;padding-left:20px;font-size:12px;line-height:1.8}
.approval-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}.approval-picker{display:flex;flex-direction:column;gap:10px}.approval-choice{padding:16px;background:#fff;border:1px solid var(--border);border-radius:7px;color:var(--text);text-align:left;font:inherit;cursor:pointer}.approval-choice.selected{border-color:var(--primary);background:#edf8f7}.approval-choice strong{display:block;font-size:12px;margin:7px 0}.approval-choice small{display:block;font-size:11px;color:var(--muted)}.check-list{list-style:none;padding:0;margin-top:18px}.check-list li{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:11px}
@media(max-width:1100px){.shell{grid-template-columns:190px 1fr}.main{padding:24px 20px}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.media-grid{grid-template-columns:repeat(2,1fr)}.global-search{max-width:350px}.safe-pill{display:none}.approval-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{width:260px}.shell .topbar{padding:10px 16px}.main{padding:22px 16px 40px}.demo-label{display:none}.safe-banner .card-head{margin-right:0}.safe-banner .card-body>.btn{position:static;margin-top:10px}.top-record{font-size:10px;padding:0 8px}.global-search input{font-size:11px}.sidebar-open::after{content:none}.finance-stages{grid-template-columns:repeat(2,1fr)}.approval-layout{grid-template-columns:1fr}.approval-picker{display:grid;grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.dashboard-grid,.grid-2{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:13px}.stat-value{font-size:23px}.media-grid{grid-template-columns:1fr 1fr}.main{padding:20px 12px 35px}h1{font-size:23px}.card{padding:14px}.global-search{min-width:0}.top-record{display:none}.page-actions{width:100%}.page-actions>input{width:150px}.approval-picker{display:flex}.money-chart{gap:5px}.chart-column>span{font-size:9px}}
.donor-workspace{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px;align-items:start}.donor-inspector{background:#fff;border:1px solid var(--border);padding:18px;border-radius:8px}.donor-inspector .grid-3{grid-template-columns:1fr;gap:12px}.donor-inspector .page-head{margin-top:18px}.donor-inspector .page-head h1{font-size:20px}.donor-inspector .page-actions{gap:5px}.donor-inspector .card{box-shadow:none;padding:12px}.text-link{border:0;background:none;padding:0;color:var(--primary);font:inherit;font-weight:600;cursor:pointer;text-align:left}.text-link:hover{text-decoration:underline}
@media(max-width:1250px){.donor-workspace{grid-template-columns:1fr}.donor-inspector{max-width:100%}}
.preview-role{width:110px;min-height:30px;font-size:11px;padding:3px 7px}.badge:empty{display:none}
.ticket-workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;align-items:start}.ticket-inspector .detail-grid{grid-template-columns:1fr}.ticket-inspector .page-head{margin-top:20px}.ticket-inspector h1{font-size:20px}.ticket-workspace .ticket-row{font-size:12px}.ticket-workspace .ticket-subject{font-size:12px}
@media(max-width:1150px){.ticket-workspace{grid-template-columns:1fr}}

/* GODSON identity: original logo artwork, navy structure, teal and orange actions. */
h1,h2 { font-family:var(--heading-font); font-weight:600; color:var(--navy); }
h1 { letter-spacing:-.35px; line-height:1.3; }
h2 { font-size:16px; line-height:1.35; }
.card-title { font-family:var(--heading-font); }
.shell { grid-template-columns:232px minmax(0,1fr); }
.sidebar { padding:18px 13px 16px; }
.foundation-brand { display:flex; flex-direction:column; align-items:center; flex-shrink:0; padding:11px 10px 10px; margin:0 3px 10px; background:transparent; border:0; border-radius:0; }
.foundation-logo-wrap { display:block; position:relative; }
.foundation-logo { width:156px; height:auto; display:block; object-fit:contain; }
.foundation-logo-wordmark { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; clip-path:inset(71% 0 0); filter:brightness(0) invert(1); opacity:.94; pointer-events:none; }
.workspace-label { color:#d5e7eb; font-size:9px; letter-spacing:1.8px; font-weight:600; text-transform:uppercase; margin-top:8px; }
.sidebar nav { min-height:0; overflow-y:auto; flex:1; scrollbar-width:thin; scrollbar-color:#42627a transparent; padding:0 3px; }
.nav-section { margin:13px 11px 6px; font-size:9px; }
.nav-link { display:flex; align-items:center; gap:10px; font-size:11.5px; min-height:40px; padding:10px 10px; border:1px solid transparent; }
.nav-icon { width:17px; height:17px; flex-shrink:0; opacity:.9; }
.nav-active,.nav-active:hover { background:#fff0d9; color:var(--navy); border-color:#f6d89b; box-shadow:inset 3px 0 0 var(--gold); font-weight:600; }
.nav-active .nav-icon { color:var(--orange); }
.sidebar-foot { margin-top:14px; padding:13px 7px 0; flex-shrink:0; }
.sidebar-foot .me strong { font-size:11.5px; }
.sidebar-safe { border-left:2px solid var(--gold); }
.btn { font-family:var(--font); }
.btn-primary { background:var(--orange); border-color:var(--orange); color:#fff; }
.btn-primary:hover { background:var(--orange-hover); border-color:var(--orange-hover); }
.tab-active { color:var(--primary); border-bottom-color:var(--orange); }
.stat-value { font-variant-numeric:tabular-nums; letter-spacing:-.5px; }
.secondary-stats .stat:first-child { border-top:3px solid var(--orange); }
.safe-banner { border-left:3px solid var(--gold); }
.safe-banner .card-title { font-family:var(--font); font-weight:600; }
.goal progress::-webkit-progress-value { background:var(--primary); }
.goal progress::-moz-progress-bar { background:var(--primary); }
.goal:nth-of-type(even) progress::-webkit-progress-value { background:var(--orange); }
.goal:nth-of-type(even) progress::-moz-progress-bar { background:var(--orange); }
.finance-stage:nth-child(2),.finance-stage:nth-child(3) { border-top-color:var(--orange); }
.login-page { background:var(--navy); }
.login-card { width:min(440px,100%); border-top:4px solid var(--gold); padding:24px 30px; box-shadow:0 16px 60px #0003; }
.foundation-brand-login { border:0; background:transparent; margin:0 0 16px; padding:0; }
.foundation-brand-login .foundation-logo { width:205px; }
.foundation-brand-login .workspace-label { font-size:10px; color:var(--muted); }
.login-card h1 { font-size:24px; }
.login-card .fine { text-align:center; }
.login-options { margin:-2px 0 18px; }
.login-utility-buttons { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.login-utility-buttons .btn { min-height:40px; font-size:12px; }
.login-save-password { display:flex; align-items:center; gap:9px; min-height:28px; cursor:pointer; font-size:13px; font-weight:500; }
.login-save-password input[type="checkbox"] { width:17px; height:17px; margin:0; accent-color:var(--primary); }
.login-options .hint { margin:4px 0 0; font-size:11px; line-height:1.6; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.transaction-card { margin-top:22px; padding:24px 0 0; overflow:hidden; }
.transaction-header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:0 24px 18px; flex-wrap:wrap; }
.transaction-header h2 { font:600 23px/1.3 var(--heading-font); margin:4px 0; }
.transaction-header .card-sub { font-size:12px; }
.transaction-sync { display:inline-flex; align-items:center; gap:7px; border:1px solid var(--border); border-radius:999px; padding:6px 10px; font-size:11px; font-weight:600; color:var(--muted); background:var(--surface-2); white-space:nowrap; }
.transaction-sync > span { width:7px; height:7px; border-radius:50%; background:currentColor; }
.transaction-sync.sync-active { color:var(--primary); border-color:#b6deda; background:var(--primary-soft); }
.transaction-toolbar { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; padding:0 24px 18px; }
.transaction-filters { display:flex; gap:5px; flex-wrap:wrap; }
.transaction-filter { border:1px solid transparent; background:transparent; color:var(--muted); border-radius:7px; padding:7px 9px; cursor:pointer; font:500 11px var(--font); min-height:36px; }
.transaction-filter span { margin-left:5px; font-variant-numeric:tabular-nums; opacity:.75; }
.transaction-filter.selected { background:var(--primary-soft); color:var(--primary); border-color:#b6deda; }
.transaction-controls { display:flex; gap:6px; }
.transaction-controls .btn { min-height:36px; font-size:11px; }
.transaction-table th { font-size:10px; letter-spacing:.05em; text-transform:uppercase; background:var(--surface-2); }
.transaction-table th:first-child,.transaction-table td:first-child { padding-left:24px; }
.transaction-table th:last-child,.transaction-table td:last-child { padding-right:24px; }
.transaction-table td { font-size:12px; padding-top:15px; padding-bottom:15px; }
.transaction-table td > small,.transaction-donor small { display:block; font-size:10px; margin-top:3px; }
.transaction-donor { display:flex; align-items:center; gap:10px; }
.transaction-donor a,.transaction-donor strong { color:var(--navy); font-weight:600; }
.transaction-avatar { width:35px; height:35px; flex-shrink:0; border-radius:11px; display:grid; place-items:center; font-size:11px; font-weight:600; color:var(--primary); background:var(--primary-soft); }
.transaction-amount { font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.transaction-amount small { font-weight:400; }
.transaction-badges { display:flex; align-items:flex-start; gap:4px; flex-direction:column; }
.transaction-badges small { font-size:10px; color:var(--muted); }
.transaction-changed { background:#edf7f4; }
.transaction-new { margin-left:6px; color:var(--primary); font-weight:600; }
.transaction-footer { padding:14px 24px; background:var(--surface-2); display:flex; gap:15px; justify-content:space-between; align-items:center; border-top:1px solid var(--border); font-size:10px; color:var(--muted); }
.transaction-footer small { display:block; font-size:10px; max-width:520px; margin-top:4px; }
.transaction-footer a { white-space:nowrap; font-size:11px; font-weight:600; }
.transaction-card > .alert { margin:0 24px 16px; }
@media(max-width:700px) {
 .transaction-header,.transaction-toolbar { padding-left:16px; padding-right:16px; }
 .transaction-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
 .transaction-table tbody { display:block; }
 .transaction-table tr { display:grid; grid-template-columns:1fr 1fr; padding:14px 16px; border-top:1px solid var(--border); gap:12px; }
 .transaction-table td,.transaction-table td:first-child,.transaction-table td:last-child { display:block; border:0; padding:0; white-space:normal; }
 .transaction-table td:first-child { grid-column:1/-1; }
 .transaction-table td:not(:first-child)::before { content:attr(data-label); display:block; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; font-size:9px; margin-bottom:4px; font-weight:500; }
 .transaction-table .num { text-align:left; }
 .transaction-footer { align-items:flex-start; flex-direction:column; padding:14px 16px; }
}
@media(max-width:1100px) and (min-width:901px) { .shell { grid-template-columns:214px minmax(0,1fr); } .foundation-logo { width:145px; } .nav-link { font-size:10.5px;gap:8px; } }
@media(max-width:900px) { .shell { grid-template-columns:1fr; } .sidebar { width:266px; } .foundation-logo { width:140px; } .main { min-width:0; } .sidebar-foot { gap:8px; } }
@media(max-width:600px) { .shell .topbar { padding:10px; gap:7px; } .preview-role { width:85px; flex-shrink:0; } .login-card { padding:22px; } .foundation-brand-login .foundation-logo { width:185px; } h1 { font-size:23px; } .stat-value { font-size:22px; } }
@media print { body { font-size:12px; } .foundation-brand { display:none; } }

/* v0.2.2: a warmer daily workspace, with restrained motion and clear actions. */
:root { --radius:14px; --shadow:0 3px 12px #082a4405; }
.main-wrap { background:radial-gradient(ellipse at 100% 0,#e9f3ef80,transparent 42%),var(--bg); }
.sidebar { background:linear-gradient(165deg,#0d344e 0%,#082a44 65%,#0b3e4b 100%); }
.foundation-brand { box-shadow:none; }
.nav-link { border-radius:9px; transition:background .18s,color .18s,transform .18s; }
.nav-link:hover { transform:translateX(2px); }
.nav-active::after { content:''; width:5px; height:5px; border-top:1.5px solid var(--orange); border-right:1.5px solid var(--orange); transform:rotate(45deg); margin-left:auto; flex-shrink:0; }
.shell .topbar { box-shadow:0 2px 12px #082a4404; }
.global-search input { background:#f7f9f9; border-color:#e7ecee; border-radius:10px; }
.btn { border-radius:8px; transition:background .18s,box-shadow .18s,transform .18s; }
.btn:not(:disabled):hover { transform:translateY(-1px); box-shadow:0 3px 9px #082a4410; }
.btn-primary { box-shadow:0 3px 8px #bd4b071c; }
.page-head { align-items:center; padding-bottom:19px; border-bottom:1px solid #dfe7e5; }
.page-intro { display:flex; align-items:flex-start; gap:13px; min-width:0; flex:1; }
.page-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; flex-shrink:0; background:#e3f0ec; color:var(--primary); box-shadow:inset 0 0 0 1px #cfe4df; }
.page-icon .nav-icon { width:23px; height:23px; }
.page-sub { line-height:1.7; }
.card-title { position:relative; padding-left:11px; }
.card-title::before { content:''; position:absolute; left:0; top:.25em; height:.85em; width:3px; border-radius:4px; background:#76aaa5; }
.card { border-color:#e0e7e6; }
.card-head { gap:15px; }
.tabs { padding:5px; gap:4px; border:1px solid #dfe7e5; border-radius:11px; background:#edf2f0; }
.tab { border:0; border-radius:7px; padding:9px 12px; transition:background .18s,color .18s,box-shadow .18s; }
.tab:hover { background:#ffffff80; }
.tab-active,.tab-active:hover { background:#fff; color:var(--primary); box-shadow:0 2px 6px #082a4410; }
.tab-count { background:#e5f3ef; color:var(--primary); border:0; }
.table th { background:#f3f7f5; padding-top:12px; padding-bottom:12px; color:#4d6569; }
.table th:first-child { border-radius:8px 0 0 8px; }.table th:last-child { border-radius:0 8px 8px 0; }
.table tbody tr { transition:background .16s; }.table tbody tr:hover { background:#f6faf8; }
.badge { border-radius:6px; padding:3px 8px; }
.ticket-row { border-radius:9px; padding:16px 10px; transition:background .18s; }
.ticket-row:hover { background:#eff7f4; }
.approval-choice { border-radius:12px; transition:border-color .18s,background .18s; }
.approval-choice:hover { border-color:var(--primary); }.approval-choice.selected { box-shadow:inset 3px 0 0 var(--primary); }
.finance-stage { border-radius:10px; background:linear-gradient(#f7fbf9,#fff); }
.goal { padding:13px 14px; border:1px solid #e5ece9; border-radius:11px; background:#fafcfb; }
.goal progress { height:9px; margin:9px 0; }
.safe-banner { margin-top:17px; box-shadow:none; }
.safe-banner .card-title { padding-left:0; }.safe-banner .card-title::before { display:none; }
.welcome-panel { display:flex; align-items:center; justify-content:space-between; gap:24px; position:relative; overflow:hidden; padding:24px 30px; border-radius:18px; color:#e4efef; background:linear-gradient(110deg,#082a44,#0c4951); box-shadow:0 10px 26px #082a4412; }
.welcome-panel::after { content:''; position:absolute; right:-100px; top:-185px; width:460px; height:460px; border:1px solid #ffffff0e; border-radius:50%; box-shadow:0 0 0 48px #ffffff03,0 0 0 96px #ffffff03; pointer-events:none; }
.welcome-copy,.welcome-mission { position:relative; z-index:1; }
.welcome-date { margin:0 0 10px; color:#b8d6d5; font-size:10px; letter-spacing:1px; text-transform:uppercase; }
.welcome-panel h1 { color:#fffaf0; font-size:29px; }
.welcome-copy>p:not(.welcome-date) { margin:9px 0 16px; font-size:12px; line-height:1.75; color:#c9dede; }
.welcome-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.welcome-primary { background:#fff0cf; color:#453416; border-color:#fff0cf; font-size:11px; }
.welcome-primary:hover { background:#ffe5ac; }.welcome-primary .nav-icon { width:15px; height:15px; }.welcome-primary>span { margin-left:9px; }
.welcome-link { color:#e0edeb; font-size:11px; padding:7px 0; }.welcome-link span { margin-left:5px; color:#f4c967; }
.welcome-mission { width:220px; text-align:center; flex-shrink:0; padding:0 18px; }
.welcome-mission p { font-family:var(--heading-font); font-size:21px; line-height:1.3; color:#fff6de; margin:7px 0; }
.welcome-mission p span { color:#f5c86b; }.welcome-mission small { font-size:9px; color:#b8d6d5; letter-spacing:.5px; }
.mission-heart { position:relative; display:grid; place-items:center; width:49px; height:49px; margin:auto; border:1px solid #f5c86b4a; border-radius:50%; background:#f5c86b10; color:#f5c86b; }
.mission-heart>.nav-icon { width:24px; height:24px; }.mission-spark { position:absolute; font-size:14px; color:#f5c86b; }.spark-one { top:0; right:-15px; }.spark-two { bottom:-1px; left:-13px; font-size:9px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:14px; margin:23px 0 12px; }
.section-eyebrow { display:block; font-size:8px; letter-spacing:1.5px; font-weight:600; color:#687e80; margin-bottom:4px; }.section-heading h2 { font-size:17px; }.section-caption { font-size:10px; color:var(--muted); }
.stats { margin:12px 0 18px; }
.stat { position:relative; padding:16px 17px; min-height:110px; border-top:3px solid #b4d2cb; border-left:1px solid var(--border); transition:border-color .18s,box-shadow .18s,transform .18s; }
.stat-label { font-size:10px; line-height:1.6; }.stat-with-icon .stat-label { padding-right:33px; min-height:26px; }
.stat-icon { position:absolute; right:13px; top:12px; display:grid; place-items:center; width:29px; height:29px; border-radius:9px; background:#edf5f1; color:#427b70; }.stat-icon .nav-icon { width:16px; height:16px; }
.stat-value { font-size:27px; margin:4px 0 0; }.stat-hint { margin-top:4px; padding-right:15px; }
.stat-arrow { position:absolute; right:16px; bottom:13px; color:#698580; font-size:15px; transition:transform .18s; }
a.stat:hover { transform:translateY(-3px); box-shadow:0 8px 18px #082a440e; }a.stat:hover .stat-arrow { transform:translate(2px,-2px); }
.stat-warn { border-top-color:#e9bb62; background:linear-gradient(145deg,#fffaf0,#fff 65%); }.stat-warn .stat-icon { color:#94651d; background:#fff0d5; }
.stat-danger { border-top-color:#d88980; background:linear-gradient(145deg,#fff6f4,#fff 65%); }.stat-danger .stat-icon { color:var(--danger); background:#ffe9e5; }
.stat-info { border-top-color:#82adb7; background:linear-gradient(145deg,#f2f8fb,#fff 65%); }.stat-info .stat-icon { color:var(--info); background:#e5f0f6; }
.secondary-stats .stat:first-child { background:#edf6f2; border-top-color:var(--primary); }.secondary-stats .stat:first-child .stat-icon { color:var(--primary); background:#d7ebe3; }
@media(prefers-reduced-motion:no-preference) { .welcome-panel { animation:workspace-appear .28s ease-out; } @keyframes workspace-appear { from { transform:translateY(5px); } to { transform:none; } } }
@media(max-width:1100px) { .welcome-panel { padding:24px; }.welcome-mission { width:180px; }.welcome-panel h1 { font-size:27px; } }
@media(max-width:600px) { .welcome-panel { padding:21px; border-radius:14px; }.welcome-mission { display:none; }.welcome-panel h1 { font-size:25px; }.welcome-date { font-size:9px; }.welcome-copy>p:not(.welcome-date) { font-size:11px; }.welcome-actions { gap:12px; }.section-caption { display:none; }.section-heading h2 { font-size:16px; }.stat { min-height:119px; padding:13px; }.stat-with-icon .stat-label { padding-right:26px; min-height:33px; }.stat-icon { width:24px;height:24px;right:10px;top:10px; }.stat-icon .nav-icon { width:14px;height:14px; }.stat-value { font-size:23px; }.stat-hint { font-size:9px; }.page-icon { width:36px;height:36px;border-radius:11px; }.page-icon .nav-icon { width:19px;height:19px; }.page-intro { gap:10px; }.page-head { padding-bottom:15px; }.page-head h1 { font-size:22px; }.page-sub { font-size:11px; }.page-actions { padding-left:0; }.card-actions { flex-shrink:1; } }
@media(prefers-reduced-motion:reduce) { .nav-link,.btn,.tab,.stat,.stat-arrow,.ticket-row,.table tbody tr,.approval-choice { transition:none; }.nav-link:hover,.btn:not(:disabled):hover,a.stat:hover,a.stat:hover .stat-arrow { transform:none; } }
@media print { .welcome-panel { background:#fff;color:#082a44;box-shadow:none;border:1px solid #ccc; }.welcome-panel h1,.welcome-copy>p:not(.welcome-date),.welcome-date { color:#082a44; }.welcome-actions,.welcome-mission { display:none; } }

/* Approved Today: Care Bento, navy and gold. Scoped to the Today page. */
.today-shell { --primary:#866410; --primary-hover:#6d500b; --primary-soft:#fff5d9; --ok:#866410; --ok-soft:#fff5d9; --focus:#a47c16; --chart:#b68b12; --chart-soft:#f3d57c; }
.today-shell .main-wrap { background:#fafbfC; }
.today-shell .main { padding:22px 24px 40px; }
.today-shell .nav-active { background:#fff5dc; color:#082a44; box-shadow:inset 4px 0 #edbd35; }
.today-shell .nav-active .nav-icon { color:#a47c16; }
.today-shell .top-record { background:#efc64f; border-color:#efc64f; color:#082a44; }
.today-dashboard { --gold:#d4af37; --gold-dark:#a47c16; --champagne:#fff6dc; color:var(--navy); }
.today-toolbar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:17px; }
.today-title { display:flex; align-items:baseline; gap:12px; }.today-title h1 { font-size:26px; margin:0; }.today-title>span { color:var(--muted); font-size:10px; }
.today-controls { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }.today-controls .btn,.today-controls select { font-size:11px; min-height:36px; width:auto; }
.today-controls select { padding:7px 30px 7px 10px; }
.today-summary-grid { display:grid; grid-template-columns:minmax(0,2.07fr) minmax(285px,1fr); gap:16px; }
.today-live-card { background:#052e47; border-radius:13px; padding:27px 29px; color:#fff; display:flex; flex-direction:column; min-height:242px; }
.today-live-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:17px; }.today-live-heading h2 { color:#fff; font-size:30px; }
.today-sync { display:inline-flex; align-items:center; gap:7px; border-radius:20px; padding:7px 13px; background:#e8edf0; color:#334b5d; font-size:11px; font-weight:600; white-space:nowrap; }.today-sync.is-live { background:#f5cc52; color:#082a44; }.today-sync i { width:8px; height:8px; border-radius:50%; background:currentColor; }
.today-live-card>p { margin:0; font-size:14px; }.today-amount { color:#f8d267; font:600 clamp(34px,4.3vw,62px)/1.15 var(--heading-font); letter-spacing:-1.4px; margin:6px 0; overflow-wrap:anywhere; }.today-gift-count { font-size:13px; }.today-live-card>small { color:#c3d0dd; font-size:10px; margin-top:12px; }
.today-metrics { display:grid; grid-template-rows:1fr 1fr; gap:12px; }
.today-metrics button { cursor:pointer; font-family:var(--font); color:#082a44; text-align:left; transition:box-shadow .15s; }
.today-metrics button:hover,.today-metrics button[aria-pressed=true] { box-shadow:inset 0 0 0 2px #c29a2a; }
.today-success { border:1px solid #f1e7c9; border-radius:13px; background:#fff7df; padding:18px 20px; display:flex; gap:17px; align-items:center; }
.today-stat-icon { background:#ab8211; color:#fff; width:51px; height:51px; border-radius:50%; display:grid; place-items:center; flex-shrink:0; }.today-stat-icon .nav-icon { width:28px; height:28px; }
.today-stat-title { display:block; font:600 17px var(--heading-font); }.today-success strong { font:600 43px/1.2 var(--heading-font); display:inline-block; margin-right:10px; }.today-success small { font-size:9px; color:#667b8c; }
.today-pending-failed { border:1px solid #eee7d9; border-radius:13px; background:#fffcf6; padding:17px 10px; display:grid; grid-template-columns:1fr 1fr; }
.today-pending-failed button { padding:0 10px; background:transparent; border:0; border-radius:6px; }.today-pending-failed button+button { border-left:1px solid #e0e2e4; }
.today-count-label { display:flex; align-items:center; gap:8px; font-size:11px; font-weight:600; }.today-count-label>span { width:28px; height:28px; border-radius:50%; background:#ffe3a0; font-size:22px; display:grid; place-items:center; }.today-failed .today-count-label>span { background:#ffe0e5; color:#c92949; }
.today-pending-failed strong { display:block; font:600 29px/1.2 var(--heading-font); padding:0 0 3px 36px; }.today-failed strong { color:#c92949; }.today-pending-failed small { color:#667b8c; font-size:9px; }
.today-data-note { font-size:9px; color:#657582; line-height:1.7; margin:10px 2px 14px; }
.today-chart-grid { display:grid; grid-template-columns:minmax(0,2.07fr) minmax(285px,1fr); gap:16px; align-items:stretch; }
.today-chart-card,.today-recent { border:1px solid #e2e8ed; border-radius:12px; background:#fff; overflow:hidden; }
.today-chart-card { padding:18px 18px 10px; }.today-chart-card header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }.today-chart-card h2,.today-recent h2 { font-size:21px; }.today-chart-card header p,.today-recent header p { color:#697f94; margin:2px 0 0; font-size:10px; }
.today-period-tabs { display:flex; gap:4px; flex-shrink:0; }.today-period-tabs button { cursor:pointer; font:500 10px var(--font); padding:6px 9px; border:1px solid #e3e9ed; background:#f6f8fa; color:#173c58; border-radius:6px; min-height:32px; }.today-period-tabs button[aria-pressed=true] { background:#082e46; color:#fff; border-color:#082e46; }
.today-trend { display:block; width:100%; margin-top:9px; min-height:165px; }.today-trend text { font:10px var(--font); fill:#647c93; }.today-trend .today-trend-total { fill:#082a44; font-weight:600; font-size:11px; }
.today-campaigns { padding-top:24px; max-height:200px; overflow-y:auto; }.today-campaign { display:grid; grid-template-columns:minmax(75px,.9fr) minmax(50px,1.25fr) auto; align-items:center; gap:10px; margin-bottom:19px; font-size:10px; }.today-campaign>span { line-height:1.5; overflow-wrap:anywhere; }.today-campaign strong { white-space:nowrap; font-size:10px; }.today-bar-track { background:#f2f3f5; height:20px; border-radius:4px; overflow:hidden; }.today-bar-fill { height:100%; border-radius:4px; background:#efc84e; }.today-bar-fill.shade-1 { background:#ac8110; }.today-bar-fill.shade-2 { background:#082e46; }
.today-recent { margin-top:17px; }.today-recent>header { padding:17px 20px 12px; display:flex; align-items:center; justify-content:space-between; gap:16px; }.today-recent>header a { color:#082a44; }
.today-table-tools { display:flex; gap:9px; padding:0 20px 14px; }.today-table-tools input { max-width:410px; font-size:11px; min-height:36px; }.today-table-tools select { width:auto; font-size:11px; min-height:36px; }
.today-table { width:100%; margin:0; }.today-table th { text-transform:none; font-weight:500; font-size:10px; letter-spacing:0; background:#f2f5f7; color:#425f76; }.today-table td { padding-top:18px; padding-bottom:18px; font-size:11px; vertical-align:middle; }.today-table td:first-child,.today-table th:first-child { padding-left:20px; }.today-table td:last-child,.today-table th:last-child { padding-right:20px; }.today-table td>small,.today-donor small { display:block; margin-top:4px; color:#6a7f90; font-size:9px; }
.today-donor { display:flex; gap:10px; align-items:center; }.today-donor a { color:#082a44; font-weight:500; }.today-avatar { border-radius:50%; width:34px; height:34px; flex-shrink:0; background:#e5f3fa; color:#164264; display:grid; place-items:center; font-size:10px; font-weight:600; }.today-row-amount { font-weight:600; white-space:nowrap; }.today-table .badge { font-size:9px; padding:5px 9px; border-radius:6px; }.today-table .badge-ok { color:#805b0b; background:#fff5da; }.today-row-updated { background:#fff9e9; }
.today-recent>footer { display:flex; justify-content:space-between; gap:12px; padding:12px 20px; border-top:1px solid #e7ecf0; color:#718395; font-size:9px; }
.today-operations { margin-top:23px; }.today-operations>summary { cursor:pointer; color:#24475f; font-size:12px; font-weight:600; padding:12px 0; }.today-operations>summary span { font-weight:400; color:#6b7f8e; font-size:10px; margin-left:12px; }.today-operations[open]>summary { margin-bottom:10px; }
@media(min-width:901px) and (max-width:1190px) { .today-title { display:block; }.today-live-card { padding:23px; }.today-live-heading h2 { font-size:26px; }.today-period-tabs button { font-size:9px; padding:6px; }.today-chart-card header { flex-wrap:wrap; }.today-success { gap:10px; padding:15px; }.today-stat-title { font-size:15px; }.today-stat-icon { width:42px; height:42px; }.today-controls { gap:4px; }.today-controls .btn { padding:7px 8px; font-size:10px; } }
@media(max-width:900px) { .today-shell .main { padding:20px 16px 35px; }.today-toolbar { flex-wrap:wrap; }.today-summary-grid,.today-chart-grid { grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr); }.today-live-heading h2 { font-size:26px; }.today-success { padding:15px; gap:10px; }.today-stat-title { font-size:15px; }.today-chart-card header { flex-wrap:wrap; } }
@media(max-width:650px) { .today-shell .main { padding:17px 12px 30px; }.today-title { width:100%; justify-content:space-between; }.today-controls { width:100%; display:grid; grid-template-columns:1fr 1fr; }.today-controls>.btn,.today-controls>select { width:100%!important; }.today-summary-grid,.today-chart-grid { grid-template-columns:1fr; gap:12px; }.today-live-card { min-height:226px; padding:23px; }.today-live-heading h2 { font-size:26px; }.today-amount { font-size:45px; }.today-metrics { grid-template-rows:auto; }.today-success { padding:16px 20px; }.today-success strong { font-size:35px; }.today-success small { font-size:10px; }.today-pending-failed { padding:15px; }.today-pending-failed small { font-size:10px; }.today-chart-card { padding:16px 13px 8px; }.today-chart-card h2,.today-recent h2 { font-size:20px; }.today-trend { min-height:150px; }.today-campaigns { padding-top:18px; }.today-campaign { font-size:11px; grid-template-columns:1fr 1.3fr auto; }.today-campaign strong { font-size:11px; }.today-recent>header { padding:16px 14px 12px; }.today-table-tools { padding:0 14px 12px; flex-direction:column; }.today-table-tools input,.today-table-tools select { max-width:none; width:100%; }.today-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }.today-table tbody { display:block; }.today-table tr { display:grid; grid-template-columns:1fr 1fr; padding:16px 14px; border-top:1px solid #e5ebef; gap:14px; }.today-table td,.today-table td:first-child,.today-table td:last-child { display:block; border:0; padding:0; white-space:normal; }.today-table td:first-child { grid-column:1/-1; }.today-table td:not(:first-child)::before { content:attr(data-label); display:block; color:#718395; font-size:9px; margin-bottom:5px; }.today-recent>footer { padding:12px 14px; flex-wrap:wrap; }.today-operations>summary span { display:block; margin:5px 0 0; } }
.today-source-banner { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 16px; margin-bottom:18px; border:1px solid #ead390; border-radius:10px; background:#fff8e4; color:#082a44; }
.today-source-banner strong { font-size:10px; letter-spacing:1px; color:#805f12; }.today-source-banner p { margin:3px 0 0; font-size:11px; color:#687780; }.today-source-banner [role=group] { display:flex; gap:5px; flex-shrink:0; }.today-source-banner button { cursor:pointer; border:1px solid #e4d5ad; border-radius:6px; padding:7px 10px; background:#fffdf7; color:#475b69; font:500 11px var(--font); }.today-source-banner button[aria-pressed=true] { color:#082a44; background:#f2ce68; border-color:#e5bc4b; }
@media(max-width:650px) { .today-source-banner { align-items:flex-start; flex-direction:column; gap:10px; padding:13px; }.today-source-banner [role=group] { width:100%; }.today-source-banner button { flex:1; } }

/* Audit fixes: keyboard drawer, operational details and admin controls. */
.sidebar-close { align-self:flex-end; margin-bottom:8px; }
.menu-backdrop { position:fixed; inset:0; z-index:25; border:0; background:rgba(8,42,68,.3); }
.readiness-list { display:grid; gap:12px; margin:0; }
.readiness-item { padding:0 0 12px; border-bottom:1px solid var(--border); }
.readiness-item:last-child { border-bottom:0; padding-bottom:0; }
.readiness-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.readiness-heading dt { font-weight:600; }
.readiness-heading dd { margin:0; }
.readiness-item p { margin:5px 0 0; font-size:12px; color:var(--muted); }
.readiness-item small { display:block; margin-top:5px; overflow-wrap:anywhere; }
.staff-edit-summary { padding:12px; background:var(--surface-2); border-radius:8px; margin:0 0 16px; }
.staff-provisioning { margin-top:16px; }
.staff-provisioning summary { cursor:pointer; font-weight:600; }
.staff-provisioning ol { padding-left:22px; }
.staff-provisioning li { margin:9px 0; }
.settings-actions { display:flex; flex-wrap:wrap; gap:8px; }
.service-metrics { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:9px; }
.service-metrics span { font-size:11px; color:var(--muted); }
.service-metrics strong { color:var(--text); }
@media(max-width:650px) { .readiness-heading { flex-wrap:wrap; }.service-metrics { grid-template-columns:1fr; } }

/* Staff channels, donation geography and the GODSON AI companion. */
.sidebar {overflow-y:auto}
.feature-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 26px}.feature-heading h1{font-family:var(--heading-font);font-size:32px;margin-top:8px}.feature-heading p{margin:8px 0 0;color:var(--muted);font-size:13px}.eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:1.7px;color:#677582}.feature-footnote{font-size:11px;color:var(--muted);margin-top:16px}
.ai-launcher{position:fixed;right:26px;bottom:24px;z-index:19;display:flex;align-items:center;gap:10px;padding:7px 16px 7px 7px;border:1px solid #d9cdef;border-radius:50px;background:#fff;box-shadow:0 6px 30px #31224e20;color:#352252;transition:transform .2s}.ai-launcher:hover{text-decoration:none;transform:translateY(-3px);background:#faf7ff}.ai-launcher img{object-fit:contain}.ai-launcher strong,.ai-launcher small{display:block}.ai-launcher strong{font-size:12px}.ai-launcher small{font-size:10px;color:#75658b}.ai-launcher b{color:#9b73c2;margin-left:10px;font-size:22px}
.ai-page{--purple:#75519f;--purple-dark:#4c326d;--lavender:#f5f0fb;--ai-border:#e8e1ef}.ai-title-accent{color:var(--purple)}.ai-staff-tag{font:600 9px var(--font);letter-spacing:1px;color:#75618b;background:#eee6f6;border:1px solid #e1d5ed;padding:5px 8px;border-radius:4px;vertical-align:middle;margin-left:10px}.ai-top-actions{display:flex;gap:8px;flex-wrap:wrap}.ai-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}.ai-chat{border:1px solid var(--ai-border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 30px #40215c06}.ai-chat-header{display:flex;align-items:center;padding:15px 22px;gap:12px;border-bottom:1px solid #f0ebf5;background:#fff}.ai-mini-avatar{background:#f2ecfa;border-radius:50%;width:48px;height:48px;overflow:hidden}.ai-mini-avatar img{object-fit:contain}.ai-chat-header strong{font-size:13px;display:block}.ai-chat-header span{font-size:10px;color:#7e718e;display:block;margin-top:3px}.ai-chat-header i{display:inline-block;width:6px;height:6px;background:#bd913d;border-radius:50%;margin-right:5px}.ai-chat-header i.connected{background:#2c9071}.ai-chat-header .ai-private-pill{margin-left:auto;font-size:9px;background:#f5f1f8;border-radius:6px;padding:5px 8px;white-space:nowrap}
.ai-conversation{max-height:640px;min-height:470px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d9cbe5 transparent;overscroll-behavior:contain}.ai-welcome{text-align:center;padding:22px 30px 26px;background:radial-gradient(ellipse at 50% 25%,#f7f0fc 0,transparent 65%)}.ai-mascot-scene{position:relative;width:210px;height:160px;margin:0 auto 4px}.ai-mascot-scene:before{content:'';position:absolute;left:28px;right:28px;top:8px;bottom:3px;border:1px solid #e8daf5;border-radius:50%;background:linear-gradient(140deg,#fcfaff,#eee2fb)}.ai-mascot-scene img{position:relative;width:163px;height:163px;object-fit:contain;filter:drop-shadow(0 9px 12px #68429115)}.ai-spark{position:absolute;color:#b597d5;font-size:27px;z-index:1}.ai-spark-one{top:18px;right:10px}.ai-spark-two{bottom:10px;left:8px;color:#cba75d;font-size:20px}.ai-hello{font-size:9px;color:#957da9;font-weight:600;letter-spacing:1.8px}.ai-welcome h2{font:600 30px/1.3 var(--heading-font);color:#30263e;margin:10px 0}.ai-welcome h2 em{font-style:italic;color:#8661a7}.ai-welcome>p{font-size:11px;line-height:1.8;color:#7c7286;margin:0 0 21px}.ai-starters{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left;max-width:520px;margin:auto}.ai-starters button{position:relative;border:1px solid #e9e1ef;border-radius:10px;background:#fff;padding:13px 16px 13px 44px;color:#44334f;text-align:left;cursor:pointer;font-family:inherit;transition:background .15s,border .15s}.ai-starters button:hover{background:#faf6ff;border-color:#bda4d4}.ai-starters strong{font-size:11px;display:block}.ai-starters small{font-size:9px;line-height:1.6;color:#81738e;display:block;margin-top:4px;padding-right:8px}.ai-starter-icon{position:absolute;top:12px;left:14px;font-size:19px;color:#9473b4}.ai-starters b{position:absolute;right:12px;top:14px;font-size:12px;font-weight:400;color:#a08ab3}
.ai-compose-wrap{padding:16px 22px 12px;border-top:1px solid #f1ebf6;background:#fff}.ai-composer{border:1px solid #dacde8;border-radius:12px;padding:12px 14px;background:#fefcff;box-shadow:0 2px 7px #5d3b8005}.ai-composer:focus-within{border-color:#aa87c7;box-shadow:0 0 0 3px #f1e8f8}.ai-composer textarea{background:transparent;resize:vertical;width:100%;max-height:180px;min-height:45px;border:0;padding:0;font:12px/1.6 var(--font);color:#392744;box-shadow:none}.ai-composer textarea:focus{outline:none}.ai-composer>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.ai-composer>div>span{font-size:9px;color:#9787a4}.ai-send{border:0;background:#79559d;color:#fff;border-radius:8px;padding:8px 14px;font:500 11px var(--font);cursor:pointer}.ai-send span{margin-left:13px}.ai-send:disabled{background:#ede5f3;color:#a291b0;cursor:not-allowed}.ai-disclosure{font-size:9px;line-height:1.7;color:#95899f;text-align:center;margin:8px 0 0}.ai-setup{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:10px;line-height:1.6;color:#786387;border:1px solid #e8ddef;border-radius:8px;background:#faf6fd;padding:10px 12px;margin:0 0 12px}.ai-setup strong{width:100%;color:#5c4373}.ai-setup a{color:#75519f;text-decoration:underline}.ai-setup button{padding:0;background:none;border:0;text-decoration:underline;color:#75519f;font:inherit;cursor:pointer}
.ai-context-card{border:1px solid var(--ai-border);border-radius:14px;padding:24px 20px;background:linear-gradient(150deg,#f8f4fc,#fff)}.ai-context-card .eyebrow{font-size:9px;letter-spacing:1.2px;color:#907aa3}.ai-context-card h2{font:600 23px/1.4 var(--heading-font);margin:16px 0 10px;color:#4d3b61}.ai-context-card>p{color:#8a7b96;font-size:11px;line-height:1.8}.ai-context-card ul{padding:0;list-style:none;margin:24px 0}.ai-context-card li{display:flex;align-items:center;gap:11px;margin:20px 0}.ai-context-card li>span{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border:1px solid #e8dcef;border-radius:8px;background:#fff;color:#9472b2}.ai-context-card li strong,.ai-context-card li small{display:block}.ai-context-card li strong{font-size:11px;color:#59436f}.ai-context-card li small{font-size:9px;color:#9a89a6;margin-top:3px}.ai-readonly-note{border-top:1px solid #e8e0f0;padding-top:18px;color:#897696}.ai-readonly-note strong{font-size:11px;color:#6b527f}.ai-readonly-note p{font-size:10px;line-height:1.8;margin-bottom:0}.ai-model-card{padding:22px 12px;color:#94879c}.ai-model-card strong{display:block;font-size:11px;color:#675473;margin-top:10px}.ai-model-card small{font-size:9px}.ai-model-card p{font-size:10px;line-height:1.8;margin:10px 0}
.ai-messages{padding:24px}.ai-message{display:flex;gap:10px;margin-bottom:23px}.ai-message>div{max-width:90%;min-width:0}.ai-message.user{justify-content:flex-end}.ai-message.user>div{background:#f0e8f7;border-radius:14px 14px 3px 14px;padding:12px 16px}.ai-message.assistant>div{padding:2px 0}.ai-message>img{object-fit:contain;flex-shrink:0;background:#f7f2fb;border-radius:50%}.ai-message strong{font-size:10px;color:#8c709d}.ai-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:#44374f;margin-top:6px}.ai-sources{margin-top:12px;font-size:10px;color:#8e7d9b}.ai-sources ul{padding-left:18px}.ai-copy{font:10px var(--font);background:none;border:0;padding:7px 0;cursor:pointer;color:#826692}.ai-thinking{display:flex;gap:10px;align-items:center;margin:0 24px 20px;color:#91779f;font-size:11px}.ai-thinking img{object-fit:contain}.ai-thinking-dots{animation:ai-breathe 1.4s infinite}.ai-knowledge{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ai-knowledge>.card{padding:25px}.ai-knowledge p{font-size:12px;color:var(--muted)}.ai-knowledge-list{display:grid;gap:8px}.ai-knowledge-list button{text-align:left;font-family:inherit;padding:12px;background:#faf7ff;border:1px solid #e7dcef;border-radius:8px;cursor:pointer}.ai-knowledge-list strong,.ai-knowledge-list span{display:block}.ai-knowledge-list strong{font-size:12px}.ai-knowledge-list span{font-size:10px;color:var(--muted);margin-top:5px}.ai-knowledge-form label{display:block;font-size:12px;margin:14px 0}.ai-knowledge-form input:not([type=checkbox]),.ai-knowledge-form textarea{display:block;width:100%;margin-top:6px}.ai-knowledge-form .ai-check{display:flex;align-items:center;gap:8px}.ai-check input{width:auto}
.wa-status-strip{display:flex;gap:16px;align-items:center;padding:20px 24px;border:1px solid #d4e7df;border-radius:12px;background:#f0f8f3;margin-bottom:20px}.wa-symbol{font-size:30px;color:#41916d}.wa-status-strip strong{font-size:13px;color:#275840}.wa-status-strip p{font-size:11px;color:#6d897a;margin:4px 0 0}.wa-status-strip .btn{margin-left:auto;white-space:nowrap}.wa-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:23px}.wa-metrics>div{background:white;border:1px solid var(--border);border-radius:10px;padding:18px 20px}.wa-metrics span{display:block;font-size:10px;color:var(--muted)}.wa-metrics strong{display:block;font-size:26px;margin-top:6px}.wa-metrics .wa-metric-text{font-size:13px;margin-top:13px}.wa-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:560px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}.wa-inbox{border-right:1px solid var(--border);display:flex;flex-direction:column}.wa-inbox>header,.wa-thread>header{padding:20px;display:flex;align-items:center;gap:10px;justify-content:space-between;border-bottom:1px solid #edf1ef}.wa-inbox>header>span{font-size:9px;color:var(--muted)}.wa-inbox>input{margin:15px;width:calc(100% - 30px);font-size:11px}.wa-inbox>.empty{font-size:12px;margin:35px 15px}.wa-inbox>footer{margin-top:auto;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:12px;gap:5px;font-size:10px}.wa-thread{min-width:0;background:#f8faf8;display:flex;flex-direction:column}.wa-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;padding:45px;background:radial-gradient(ellipse at 50% 35%,#eaf4ec,transparent 60%)}.wa-welcome-icon{background:#e2efe5;color:#51916d;width:70px;height:70px;border-radius:20px;display:grid;place-items:center;font-size:35px;border:1px solid #d5e7d9;margin-bottom:24px}.wa-welcome h2{font:600 27px/1.4 var(--heading-font);color:#294b38}.wa-welcome p{font-size:12px;line-height:1.8;max-width:340px;color:#789182}.wa-checks{display:grid;gap:8px;margin-top:25px;font-size:10px;color:#72927d}.wa-conversation-list{max-height:530px;overflow-y:auto}.wa-conversation-list>button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #f0f3f1;background:#fff;text-align:left;padding:17px 13px;cursor:pointer;color:var(--text);font-family:inherit}.wa-conversation-list>button:hover,.wa-conversation-list>button[aria-pressed=true]{background:#f1f7f2}.wa-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#e9f1e9;font-size:11px}.wa-conversation-list strong{font-size:11px;display:block}.wa-conversation-list small{font-size:9px;color:var(--muted);display:block;margin-top:4px;overflow-wrap:anywhere}.wa-state{margin-left:auto;font-size:8px;color:#4d8060}.wa-thread>header p{font-size:10px;margin:5px 0 0;color:var(--muted)}.wa-message-scroll{padding:20px;overflow:auto;max-height:450px;min-height:260px;display:flex;flex-direction:column;gap:12px}.wa-bubble{align-self:flex-start;max-width:85%;border:1px solid #e1e8e2;background:white;padding:12px 16px;border-radius:0 12px 12px 12px;box-shadow:0 2px 4px #274e3605}.wa-bubble.outbound{align-self:flex-end;background:#e7f2e8;border-radius:12px 0 12px 12px}.wa-bubble p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.wa-bubble small,.wa-bubble time{font-size:9px;color:var(--muted)}.wa-bubble footer{display:flex;gap:10px;align-items:center;justify-content:space-between}.wa-message-pager{display:flex;justify-content:space-between;gap:12px;padding:10px 20px}.wa-events{padding:15px 20px;border-top:1px solid var(--border);font-size:11px}.wa-events li{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin:8px 0}.wa-events ul{padding:0;max-height:180px;overflow:auto}.wa-readonly{margin-top:auto;padding:16px 20px;font-size:10px;color:#708378;background:#f0f5f1}.wa-readonly a{display:block;margin-top:5px}
.donation-map-toggle{display:flex;gap:10px;align-items:center;justify-content:space-between;width:100%;margin-top:20px;border:1px solid #ffffff30;border-radius:7px;padding:11px 14px;font:500 11px var(--font);color:#f4d780;background:#ffffff0a;cursor:pointer}.donation-map-toggle:hover{background:#ffffff16}.donation-map{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid #dfdfd5;background:#fff;border-radius:13px;overflow:hidden;margin:20px 0}.map-canvas{position:relative;background:radial-gradient(ellipse at 60% 60%,#f7f8ef,#eef3ef);min-height:460px;overflow:hidden}.map-canvas>svg{display:block;width:100%;height:490px}.map-india{fill:#e3e8d9;stroke:#b2bca8;stroke-width:1}.map-neighbour{fill:#e8eee4;stroke:#cdd7c9;stroke-width:.7}.map-caption{position:absolute;top:23px;left:25px;z-index:1;pointer-events:none}.map-caption strong{display:block;font:600 22px var(--heading-font);margin-top:7px}.map-caption>span:last-child{font-size:10px;color:#819080;display:block;margin-top:5px}.map-zoom{position:absolute;right:18px;top:20px;display:grid;z-index:2;background:white;border:1px solid #dae2d6;border-radius:6px;overflow:hidden;box-shadow:0 3px 12px #0e3b1710}.map-zoom button{height:30px;width:30px;border:0;border-bottom:1px solid #edf0e9;background:#fff;color:#52684c;cursor:pointer;font-size:18px}.map-zoom button:disabled{color:#bfc9bc;cursor:default}.map-pin{cursor:pointer;fill:#b98d23;outline:none}.map-pin-halo{fill:#e7c55e70;stroke:#b18e2e;stroke-width:.7}.map-pin:focus-visible .map-pin-halo{stroke:#133f37;stroke-width:3}.map-empty{position:absolute;left:50%;top:61%;transform:translate(-50%,-50%);width:min(76%,290px);text-align:center;background:#fffffff0;border:1px solid #e0e7dc;border-radius:10px;padding:18px 20px;box-shadow:0 5px 25px #32502b08}.map-empty strong{display:block;font-size:13px;color:#51634b}.map-empty span{display:block;font-size:10px;color:#83907e;margin-top:6px;line-height:1.7}.map-credit{position:absolute;bottom:10px;left:15px;right:15px;font-size:8px;color:#7e8978}.map-credit a{color:#677b60;text-decoration:underline}.map-insights{padding:27px 24px;border-left:1px solid #e2e7dd}.map-insights .eyebrow{font-size:9px;letter-spacing:1.2px;color:#9a977d}.map-insights h3{font:600 23px var(--heading-font);margin:14px 0 8px}.map-insights>p{font-size:11px;line-height:1.8;color:#879082}.map-totals{display:flex;gap:23px;padding:19px 0;border-top:1px solid #eef0e8;border-bottom:1px solid #eef0e8;margin-top:18px}.map-totals strong{font-size:23px;color:#806d35;display:block}.map-totals span{font-size:9px;color:#919782;display:block}.map-locations{max-height:230px;overflow-y:auto}.map-locations button{display:flex;justify-content:space-between;align-items:center;width:100%;gap:8px;border:0;border-bottom:1px solid #edf0e8;background:#fff;padding:12px 0;text-align:left;font-family:inherit;cursor:pointer}.map-locations button.selected{background:#f7f6ef}.map-locations strong{font-size:11px;color:#485941;display:block}.map-locations small{font-size:9px;color:#8d9887;display:block}.map-locations b{font-size:11px;color:#8b793e;white-space:nowrap}.map-unmapped{display:grid;gap:5px;margin-top:18px;padding:12px;background:#f6f6f0;border-radius:8px;color:#87866d}.map-unmapped strong{font-size:10px}.map-unmapped span{font-size:9px}.map-insights .map-note{font-size:9px;line-height:1.8;margin:15px 0 0}
@keyframes ai-breathe{50%{opacity:.3}}
@media(min-width:1400px){.ai-conversation{max-height:690px}.ai-welcome{padding-top:30px;padding-bottom:30px}.ai-welcome h2{font-size:34px}.ai-mascot-scene{height:180px}.ai-mascot-scene img{width:180px;height:180px}}
@media(max-width:1150px){.ai-layout{grid-template-columns:minmax(0,1fr)}.ai-context-panel{display:grid;grid-template-columns:2fr 1fr;gap:18px}.ai-context-card h2 br{display:none}.ai-context-card ul{display:flex;gap:18px;flex-wrap:wrap;margin:10px 0}.ai-context-card li{margin:6px 0}.ai-context-card{padding:20px}.ai-context-card h2{margin:9px 0}.ai-readonly-note{display:none}.donation-map{grid-template-columns:minmax(0,1fr) 270px}.wa-workspace{grid-template-columns:280px minmax(0,1fr)}.feature-heading h1{font-size:28px}}
@media(max-width:650px){.feature-heading{align-items:flex-start;flex-direction:column;gap:13px}.feature-heading h1{font-size:28px}.feature-heading p{font-size:11px}.ai-staff-tag{font-size:7px;margin-left:4px}.ai-chat-header{padding:12px 15px}.ai-chat-header .ai-private-pill{display:none}.ai-welcome{padding:15px}.ai-welcome h2{font-size:28px}.ai-starters{gap:8px}.ai-starters button{padding:12px}.ai-starter-icon{position:static;display:block;font-size:18px;margin-bottom:5px}.ai-starters small{font-size:9px}.ai-compose-wrap{padding:12px}.ai-composer>div>span{font-size:8px}.ai-context-panel{display:block}.ai-model-card{padding:15px}.ai-conversation{max-height:580px}.ai-messages{padding:18px 14px}.ai-message>div{max-width:93%}.ai-message.assistant>div{max-width:calc(100% - 46px)}.ai-launcher{right:14px;bottom:14px;padding:5px;border-radius:50%;gap:0}.ai-launcher img{width:54px;height:54px}.ai-launcher span,.ai-launcher b{display:none}.ai-knowledge{grid-template-columns:1fr}.wa-status-strip{padding:16px;flex-wrap:wrap}.wa-status-strip>div{flex:1}.wa-status-strip .btn{margin-left:44px}.wa-metrics{grid-template-columns:1fr 1fr;gap:10px}.wa-metrics>div{padding:14px}.wa-workspace{display:block}.wa-inbox{border-right:0;border-bottom:1px solid var(--border)}.wa-conversation-list{max-height:300px}.wa-thread{min-height:400px}.wa-welcome{padding:35px 25px}.wa-welcome h2{font-size:25px}.donation-map{display:block}.map-canvas>svg{height:430px}.map-canvas{min-height:430px}.map-insights{border-left:0;border-top:1px solid #e2e7dd;padding:22px}.map-caption{left:18px;top:18px}.map-caption strong{font-size:20px}.map-empty{top:65%}.map-locations{max-height:180px}}
@media(prefers-reduced-motion:reduce){.ai-thinking-dots{animation:none}.ai-launcher{transition:none}}
/* GODSON husky companion. Motion never captures pointer or touch gestures. */
.godson-mascot{display:inline-block!important;position:relative;width:var(--mascot-size);height:var(--mascot-size);flex:0 0 auto;line-height:0;pointer-events:none;user-select:none;vertical-align:middle;margin:0!important}
.godson-mascot-sprite{display:block;width:100%;height:100%;overflow:hidden;transform-origin:50% 97%}
.godson-mascot[data-motion=true] .godson-mascot-sprite{animation:husky-breathe 5.2s ease-in-out infinite}
.mood-welcome[data-motion=true] .godson-mascot-sprite,.mood-success[data-motion=true] .godson-mascot-sprite{animation:husky-wave 6s ease-in-out infinite}
.mood-listening[data-motion=true] .godson-mascot-sprite,.mood-curious[data-motion=true] .godson-mascot-sprite{animation:husky-tilt 7.4s ease-in-out infinite}
.mood-thinking[data-motion=true] .godson-mascot-sprite{animation:husky-think 6.8s ease-in-out infinite}
.mood-celebrate[data-motion=true] .godson-mascot-sprite{animation:husky-play 3.4s ease-in-out infinite}
.mood-walking[data-motion=true] .godson-mascot-sprite{animation:husky-walk 2.4s ease-in-out infinite}
.mood-resting[data-motion=true] .godson-mascot-sprite{animation:husky-breathe 6s ease-in-out infinite}
@keyframes husky-breathe{0%,100%{transform:scaleY(1)}48%{transform:scaleY(1.006)}}
@keyframes husky-wave{0%,18%,80%,100%{transform:rotate(0) scaleY(1)}38%{transform:rotate(-.65deg) scaleY(1.004)}62%{transform:rotate(.35deg)}}
@keyframes husky-tilt{0%,20%,85%,100%{transform:rotate(0)}46%,61%{transform:rotate(-1.2deg) scaleY(1.003)}}
@keyframes husky-think{0%,20%,90%,100%{transform:rotate(0)}48%,64%{transform:rotate(.6deg) scaleY(1.004)}}
@keyframes husky-play{0%,100%{transform:translateX(-1px) scaleY(1)}45%{transform:translateX(1px) scaleY(.99) rotate(.5deg)}}
@keyframes husky-walk{0%,100%{transform:translateX(-3px) rotate(-.5deg)}25%,75%{transform:translateX(0) translateY(-1px)}50%{transform:translateX(3px) rotate(.5deg)}}
.mascot-motion{font:500 10px var(--font);border:1px solid #ded5e8;border-radius:8px;background:#fff;color:#655478;padding:8px;min-width:36px;min-height:36px;cursor:pointer;white-space:nowrap}
.mascot-motion:hover{background:#f3edf9}.mascot-motion:focus-visible{outline:2px solid #8661a7;outline-offset:3px}
.ai-launcher-dock{position:fixed;right:22px;bottom:max(20px,env(safe-area-inset-bottom));z-index:19;display:flex;align-items:center;gap:7px}
.ai-launcher-dock .ai-launcher{position:static;right:auto;bottom:auto;gap:4px;padding:1px 14px 1px 0;border-radius:22px}
.ai-launcher-dock>.mascot-motion{border-radius:50%;box-shadow:0 3px 12px #31224e15}
.ai-mini-avatar{width:58px;height:58px;background:#f3f1f8;flex:0 0 auto;overflow:visible}
.ai-chat-header>.mascot-motion{margin-left:auto}.ai-chat-header .godson-mascot{margin-top:0}
.ai-mascot-scene{width:240px;height:208px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center}
.ai-mascot-scene:before{left:30px;right:30px;top:25px;bottom:6px;background:radial-gradient(circle at 40% 40%,#fff,#eee8f7);border-color:#e9e1f1}
.ai-message>.godson-mascot{margin-top:3px!important}.ai-thinking>.godson-mascot{margin-right:5px!important}
.companion-card{padding:16px 14px 18px;border:1px solid #e7deee;border-radius:16px;background:radial-gradient(ellipse at 50% 38%,#fff 15%,#f6f1fa 80%);text-align:center;overflow:hidden}
.companion-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.companion-card-top .eyebrow{font-size:8px;letter-spacing:1px}
.companion-stage{height:192px;display:flex;align-items:center;justify-content:center;position:relative}
.companion-stage:before{content:'';position:absolute;bottom:7px;width:100px;height:9px;background:#b9a9c1;opacity:.13;border-radius:50%;filter:blur(4px)}
.companion-state{display:block;font-size:14px;color:#453152;margin-top:5px}.companion-card>p{font-size:11px;color:#7c6e86;line-height:1.6;min-height:34px;margin:6px 0 10px}
.companion-expressions{border-top:1px solid #e7deee;text-align:left;padding-top:10px;font-size:11px;color:#6a567a}.companion-expressions summary{cursor:pointer;padding:4px 0}.companion-expressions label{display:block;margin:12px 0 8px}.companion-expressions select{display:block;width:100%;margin-top:7px;font-size:12px}.companion-expressions small{display:block;line-height:1.6;color:#81748c}
/* One scroll surface for navigation, including short landscape screens. */
.sidebar{height:100vh;height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.sidebar nav{flex:0 0 auto;overflow:visible;min-height:auto}.sidebar>.brand,.sidebar>.sidebar-close{flex-shrink:0}.sidebar-foot{margin-top:auto;padding-top:16px}.sidebar nav{padding-bottom:18px}
/* Desktop conversation scroll stays local; on touch-sized screens the page scrolls naturally. */
.ai-conversation{overscroll-behavior-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.ai-page,.ai-chat,.ai-context-panel{min-width:0}.ai-answer{overflow-wrap:anywhere}
.ai-context-panel{display:flex;flex-direction:column;gap:16px}.main{padding-bottom:110px}
@media(max-width:1150px){.ai-context-panel{display:grid;grid-template-columns:1fr 1fr}.ai-model-card{grid-column:1/-1}}
@media(max-width:900px){.ai-conversation{max-height:none;min-height:0;overflow:visible}.ai-chat{overflow:visible}.ai-chat-header{border-radius:18px 18px 0 0}.ai-welcome{padding:18px}.ai-mascot-scene{height:190px}.ai-mascot-scene>.godson-mascot{width:190px;height:190px}.ai-starters{max-width:580px}.sidebar{padding-bottom:max(18px,env(safe-area-inset-bottom))}}
@media(max-width:650px){.ai-context-panel{display:flex}.ai-launcher-dock{right:10px;bottom:max(12px,env(safe-area-inset-bottom));gap:4px}.ai-launcher-dock .ai-launcher{padding:0;border-radius:18px}.ai-launcher .godson-mascot{width:64px;height:64px}.ai-launcher-dock>.mascot-motion{min-width:34px;min-height:34px}.ai-chat-header{gap:8px}.ai-chat-header strong{font-size:12px}.ai-chat-header span{font-size:9px}.companion-card{max-width:none}.ai-context-card{margin-top:0}.ai-composer textarea{font-size:16px}.ai-messages{padding:18px 12px}.ai-message.assistant>div{max-width:calc(100% - 54px)}}
@media(prefers-reduced-motion:reduce){.godson-mascot .godson-mascot-sprite{animation:none!important;transform:none!important}.ai-launcher{transition:none}}

/* Frame-based face, tail and four-legged movement. */
.roaming-companion{position:fixed;left:0;top:0;z-index:19;width:var(--pet-size);isolation:isolate;will-change:transform;pointer-events:none}
.companion-pet{display:flex;flex-direction:column;align-items:center;width:100%;padding:0;border:0;background:transparent;color:#49335f;cursor:pointer;pointer-events:auto;touch-action:manipulation}
.companion-facing{display:block;line-height:0;filter:drop-shadow(0 4px 5px #31224e15)}
.companion-pet{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.roaming-companion[data-dragging=true] .companion-pet{cursor:grabbing}.roaming-companion[data-dragging=true] .companion-name{background:#eee3fa;border-color:#b69acb}
.companion-woof{position:absolute;left:4px;top:8px;max-width:105px;padding:7px 10px;border-radius:12px 12px 12px 2px;background:#fff;border:1px solid #dccbea;box-shadow:0 3px 14px #31224e12;color:#684287;font:600 12px var(--font);z-index:2;pointer-events:none}.companion-woof>span{display:block;font:9px var(--font);color:#8c759f;margin-top:2px}
.companion-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.companion-name{display:flex;gap:10px;align-items:center;font:600 10px var(--font);background:#fffffff5;border:1px solid #e4d9ed;border-radius:20px;padding:5px 10px;box-shadow:0 2px 10px #31224e10;white-space:nowrap}
.companion-hide{position:absolute;right:0;top:0;z-index:2;border:1px solid #e4d9ed;border-radius:50%;width:34px;height:34px;padding:0;background:#fff;color:#6a537c;font:22px var(--font);cursor:pointer;pointer-events:auto;box-shadow:0 2px 10px #31224e10}
.companion-hide:hover{background:#f2eaf8;color:#30213c}
.companion-controls{position:absolute;width:230px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 90px);overflow-y:auto;box-sizing:border-box;padding:15px;background:#fff;border:1px solid #dfd0ea;border-radius:16px;box-shadow:0 12px 40px #29163f24;pointer-events:auto;z-index:3;text-align:left}
.companion-controls-title{display:grid;gap:4px;margin-bottom:12px;color:#463452}.companion-controls-title strong{font:600 16px var(--heading-font)}.companion-controls-title>span{font:10px var(--font);color:#83728e}
.companion-ask{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;background:#6a498a;color:white;border-radius:9px;font:600 12px var(--font);margin-bottom:8px}.companion-ask:hover{background:#563773;color:#fff;text-decoration:none}
.companion-control-row{display:flex;gap:6px;margin-top:6px}.companion-control-row>button{flex:1;border:1px solid #e5dceb;border-radius:8px;padding:9px 5px;background:#faf7fc;color:#655078;font:500 11px var(--font);min-height:38px;cursor:pointer;white-space:nowrap}.companion-control-row>button:hover{background:#efe6f6}.companion-control-row>button:disabled{opacity:.55;cursor:default}.companion-control-row>button[aria-pressed=true]{background:#e9def2;border-color:#bda4d0}
.companion-controls>small{display:block;font:10px/1.6 var(--font);color:#8a7a95;margin-top:10px}
.companion-recall{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:19;display:flex;align-items:center;gap:7px;border:1px solid #dfd4e8;border-radius:24px;background:#fff;color:#725b87;padding:10px 14px;font:500 11px var(--font);box-shadow:0 3px 12px #31224e0c;cursor:pointer;min-height:40px}.companion-recall:hover{background:#f6effb}
.roaming-companion button:focus-visible,.roaming-companion a:focus-visible,.companion-recall:focus-visible{outline:2px solid #8661a7;outline-offset:3px}
@media(max-width:650px){.companion-hide{width:36px;height:36px}.companion-control-row>button{min-height:44px}.companion-recall{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}}
@media print{.roaming-companion,.companion-recall{display:none!important}}
.godson-mascot[data-renderer=frames] .godson-mascot-sprite{animation:none!important;transform:none!important}.husky-motion-canvas{display:block;width:100%;height:100%;pointer-events:none}.husky-motion-canvas[hidden]{display:none}.companion-demo-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:10px 0 16px}.companion-demo-actions button{border:1px solid #d8c9e7;border-radius:9px;background:#fff;color:#684888;padding:8px 12px;font:500 11px var(--font);cursor:pointer}.companion-demo-actions button:hover{background:#eee6f8}.companion-demo-actions button:focus-visible{outline:2px solid #8661a7;outline-offset:3px}
.map-live-status{display:inline-flex!important;align-items:center;gap:7px;width:fit-content;margin-top:8px;padding:5px 9px;border-radius:20px;background:#fff9;color:#5b6174!important;font-size:11px!important;font-weight:600}.map-live-status i{width:6px;height:6px;border-radius:50%;background:#9b8290}.map-live-status.is-current i{background:#28836a}.map-pin-arrival{fill:none!important;stroke:#8b68d8!important;stroke-width:3;transform-box:fill-box;transform-origin:center;animation:map-arrival 1.5s ease-out 3 forwards;pointer-events:none}.map-source-help{font-size:12px;line-height:1.65;color:#596477;border-top:1px solid #e6e3ed;padding-top:12px}.map-source-help summary{cursor:pointer;font-weight:650;color:#605278}.map-source-help p{margin:8px 0!important;font-size:12px!important}@keyframes map-arrival{0%{transform:scale(.5);opacity:.9}100%{transform:scale(2.1);opacity:0}}@media(prefers-reduced-motion:reduce){.map-pin-arrival{animation:none;opacity:.4}}

/* Donation atlas: the same geographic and payment data in two visual themes. */
.donation-map[data-map-theme]{--map-bg:#06131f;--map-panel:#0b1b29;--map-ink:#edf5f7;--map-muted:#9eb2bf;--map-border:#203746;--map-soft:#102635;--map-land:#0a2131;--map-coast:#638696;--map-network:#bca06c;--map-light:#e7ce9e;--map-cool:#8cbfd3;--donation-orange:#ff982f;--map-label-shadow:#06131f;grid-template-columns:minmax(0,1fr) 310px;background:var(--map-panel);border:1px solid var(--map-border);border-radius:18px;box-shadow:0 12px 35px #03121f0a;color:var(--map-ink);isolation:isolate}
.donation-map[data-map-theme=light]{--map-bg:#edf3f5;--map-panel:#fff;--map-ink:#173447;--map-muted:#59717e;--map-border:#d3e0e5;--map-soft:#f0f5f7;--map-land:#e1edf0;--map-coast:#7e9ca9;--map-network:#648796;--map-light:#517b8d;--map-cool:#31768b;--donation-orange:#df6a0f;--map-label-shadow:#edf3f5}
.donation-map .map-canvas{display:flex;flex-direction:column;min-height:650px;background:radial-gradient(ellipse at 53% 48%,#244e6b24,transparent 64%),var(--map-bg)}
.donation-map .map-canvas>svg{display:block;width:100%;height:520px;min-height:410px;flex:1;overflow:hidden}
.donation-map .map-caption{position:relative;inset:auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;padding:27px 26px 18px;pointer-events:auto;z-index:1}
.donation-map .map-caption .eyebrow{font-size:9px;letter-spacing:2px;color:var(--map-muted)}
.donation-map .map-caption strong{font:600 clamp(21px,2vw,28px)/1.2 var(--heading-font);letter-spacing:-.4px;color:var(--map-ink);margin:10px 0 9px}
.donation-map .map-subtitle{display:block;font-size:10px;color:var(--map-muted)}
.donation-map .map-live-status{background:var(--map-soft);border:1px solid var(--map-border);color:var(--map-ink)!important;font-size:10px!important;line-height:1.3;margin:0;padding:6px 9px;white-space:nowrap}
.donation-map .map-live-status i{background:#d0a879;flex:none}.donation-map .map-live-status.is-current i{background:#5cd7b4;box-shadow:0 0 8px #5cd7b44d}
.donation-map .map-theme-switch{align-self:flex-start;display:flex;gap:3px;position:relative;z-index:2;margin:0 26px;padding:4px;background:var(--map-soft);border:1px solid var(--map-border);border-radius:9px}
.map-theme-switch button{display:flex;align-items:center;gap:7px;border:0;border-radius:6px;padding:7px 12px;background:transparent;color:var(--map-muted);font:600 11px var(--font);cursor:pointer;min-height:33px}
.map-theme-switch button span{font-size:16px;line-height:1}.map-theme-switch button[aria-pressed=true]{background:var(--map-panel);color:var(--map-ink);box-shadow:0 1px 5px #0002}
.donation-map .map-theme-switch button:focus-visible,.donation-map .map-zoom button:focus-visible,.donation-map .map-locations button:focus-visible{outline:2px solid var(--donation-orange);outline-offset:-2px}
.donation-map .map-zoom{top:162px;right:20px;background:var(--map-panel);border:1px solid var(--map-border);border-radius:9px;box-shadow:0 4px 14px #0002}
.donation-map .map-zoom button{background:var(--map-panel);border-color:var(--map-border);color:var(--map-ink);width:34px;height:34px;font-size:20px}
.donation-map .map-zoom button:disabled{color:var(--map-muted);opacity:.45}.donation-map .map-zoom button:last-child{border-bottom:0}
.donation-map .map-atlas{pointer-events:none}.donation-map .map-india{fill:var(--map-land);stroke:var(--map-coast);stroke-width:.8;stroke-opacity:.7}
.donation-map .map-neighbour{fill:var(--map-bg);stroke:var(--map-border);stroke-width:.6;stroke-opacity:.55}
.donation-map .map-network{fill:none;stroke:var(--map-network);stroke-width:.45;opacity:.35}
.donation-map .map-stars{fill:none;stroke:var(--map-cool);stroke-width:1;stroke-linecap:round;opacity:.23}
.donation-map .map-atlas-lights{fill:none;stroke:var(--map-light);stroke-linecap:round;stroke-width:.9;opacity:.6}
.donation-map .map-atlas-lights-1{stroke:var(--map-cool);stroke-width:1.2;opacity:.55}.donation-map .map-atlas-lights-2{stroke-width:1.5;opacity:.75}
.donation-map .map-pin{fill:var(--donation-orange);cursor:pointer}.donation-map .map-pin-bloom{pointer-events:none;opacity:.9}
.donation-map .map-pin-halo{fill:#ff952e12;stroke:var(--donation-orange);stroke-width:1;stroke-opacity:.7}
.donation-map .map-pin-core{fill:var(--donation-orange)}.donation-map .map-pin-spark{fill:#fff3d9}
.donation-map .map-pin-rays{fill:none;stroke:var(--donation-orange);stroke-width:.8;stroke-opacity:.65}
.donation-map .map-pin-target{fill:transparent;stroke:none}.donation-map .map-pin-label{font-family:var(--font);font-weight:600;fill:var(--map-ink);paint-order:stroke;stroke:var(--map-label-shadow);stroke-width:4;stroke-linejoin:round;pointer-events:none}
.donation-map .map-pin.is-selected .map-pin-halo,.donation-map .map-pin:focus-visible .map-pin-halo{stroke:var(--donation-orange);stroke-width:2.5;stroke-opacity:1;fill:#ff952e26}
.donation-map .map-pin:hover .map-pin-core{fill:#ffc278}.donation-map .map-pin-arrival{stroke:var(--donation-orange)!important;stroke-width:2;animation-duration:1.8s}
.donation-map .map-legend{display:flex;flex-wrap:wrap;gap:10px 18px;padding:8px 22px 13px;color:var(--map-muted);font-size:9px;line-height:1.5}
.map-legend>span{display:inline-flex;align-items:center;gap:7px}.map-legend i{display:inline-block;width:6px;height:6px;border-radius:50%;flex:none}.map-legend-donation{background:var(--donation-orange);box-shadow:0 0 9px #ff952e88}.map-legend-atlas{background:var(--map-cool);opacity:.7}
.donation-map .map-credit{position:static;padding:0 22px 17px;color:var(--map-muted);font-size:8px;line-height:1.6}.donation-map .map-credit a{color:var(--map-muted)}
.donation-map .map-empty{top:65%;background:var(--map-panel);border:1px solid var(--map-border);box-shadow:0 8px 35px #0003;max-width:270px;padding:16px 18px}
.donation-map .map-empty strong{color:var(--map-ink);font-size:13px}.donation-map .map-empty span{color:var(--map-muted);font-size:10px}
.donation-map .map-insights{background:var(--map-panel);padding:28px 24px;border-left:1px solid var(--map-border)}
.donation-map .map-insights .eyebrow{color:var(--map-muted);font-size:9px;letter-spacing:1.6px}
.donation-map .map-insights h3{color:var(--map-ink);font-size:25px;margin:16px 0 9px;line-height:1.2}
.donation-map .map-insights>p{color:var(--map-muted);font-size:11px;line-height:1.7}
.donation-map .map-totals{gap:22px;border-color:var(--map-border);padding:22px 0;margin-top:20px}
.donation-map .map-totals strong{font:650 27px/1.3 var(--font);color:var(--donation-orange);letter-spacing:-.7px}
.donation-map .map-totals span{color:var(--map-muted);font-size:9px;line-height:1.6;margin-top:3px}
.donation-map .map-locations{max-height:218px;scrollbar-color:var(--map-coast) var(--map-soft);scrollbar-width:thin}
.donation-map .map-locations button{padding:13px 8px;border-color:var(--map-border);background:transparent;border-radius:3px}
.donation-map .map-locations button.selected,.donation-map .map-locations button:hover{background:var(--map-soft)}
.donation-map .map-locations strong{color:var(--map-ink);font-size:11px}.donation-map .map-locations small{color:var(--map-muted);font-size:9px;margin-top:4px}.donation-map .map-locations b{color:var(--donation-orange);font-size:11px}
.donation-map .map-unmapped{background:var(--map-soft);color:var(--map-muted);margin-top:18px;padding:12px;font-size:10px}
.donation-map .map-insights .map-note{font-size:9px;margin:16px 0 0;line-height:1.8}
.donation-map .map-source-help{border-color:var(--map-border);color:var(--map-muted);font-size:11px;margin-top:16px}.donation-map .map-source-help summary{color:var(--map-ink);font-size:11px}.donation-map .map-source-help p{font-size:11px!important}
@media(max-width:1150px){.donation-map[data-map-theme]{grid-template-columns:minmax(0,1fr) 270px}.donation-map .map-caption{padding:23px 22px 16px}.donation-map .map-theme-switch{margin-left:22px}}
@media(max-width:650px){.donation-map[data-map-theme]{display:block}.donation-map .map-canvas{min-height:0}.donation-map .map-canvas>svg{height:auto;min-height:360px;aspect-ratio:640/630;flex:none}.donation-map .map-caption{padding:23px 20px 16px;gap:14px}.donation-map .map-caption strong{font-size:24px}.donation-map .map-theme-switch{margin-left:20px}.map-theme-switch button{min-height:38px;padding:8px 13px}.donation-map .map-zoom{top:177px;right:15px}.donation-map .map-zoom button{height:36px;width:36px}.donation-map .map-insights{border-left:0;border-top:1px solid var(--map-border);padding:25px 22px}.donation-map .map-empty{top:65%;width:68%;padding:13px 15px}.donation-map .map-locations{max-height:220px}.donation-map .map-legend{padding:4px 20px 12px;gap:8px 15px;font-size:9px}.donation-map .map-credit{padding:0 20px 16px}}

/* The city-light layer is illustrative geography, never a donation heatmap. */
.india-atlas {
  --atlas-surface:#0b1927; --atlas-raised:#102334; --atlas-ink:#e5f5fa;
  --atlas-muted:#9bb1c0; --atlas-line:#243d4d; --atlas-water:#050f1b;
  --atlas-water-edge:#0a2031; --atlas-land-1:#0c2433; --atlas-land-2:#102c3d;
  --atlas-land-3:#133343; --atlas-context:#0c1c28; --atlas-context-line:#203744;
  --atlas-state:#a194ed; --atlas-current:#c4fdff; --atlas-coast:#67e5ff; --atlas-district:#ff6868;
  --atlas-city:#cbf6ff; --atlas-gold:#f2c56c; --atlas-gold-ink:#ffda8c;
  --atlas-sea-ink:#789aa9; --atlas-context-ink:#7c9aa8; --atlas-label-stroke:#0a2030;
  --atlas-light-0:#8eafb9; --atlas-light-1:#d6b26e; --atlas-light-2:#d8f9ff;
  --atlas-button:#112a3b; --atlas-active:#1b4052; --atlas-focus:#9af3ff;
  grid-template-columns:minmax(0,1fr) 290px; color-scheme:dark;
  border:1px solid var(--atlas-line); background:var(--atlas-surface);
  box-shadow:0 14px 36px #03131c1c;
}
.india-atlas[data-theme="light"] {
  --atlas-surface:#f7fbfc; --atlas-raised:#edf5f8; --atlas-ink:#143849;
  --atlas-muted:#526d7b; --atlas-line:#cadde5; --atlas-water:#e6f1f7;
  --atlas-water-edge:#cfe4f0; --atlas-land-1:#e4eee9; --atlas-land-2:#d5e7e1;
  --atlas-land-3:#c5ded7; --atlas-context:#d9e6e5; --atlas-context-line:#bfced0;
  --atlas-state:#7861b5; --atlas-current:#12798b; --atlas-coast:#09899f; --atlas-district:#b72f35;
  --atlas-city:#26677a; --atlas-gold:#b57b0e; --atlas-gold-ink:#815506;
  --atlas-sea-ink:#527e91; --atlas-context-ink:#677e84; --atlas-label-stroke:#e4efeb;
  --atlas-light-0:#91a8a4; --atlas-light-1:#b5a06d; --atlas-light-2:#5d989e;
  --atlas-button:#f7fcff; --atlas-active:#e0edf5; --atlas-focus:#006c8b;
  color-scheme:light;
}
.india-atlas .map-canvas {background:var(--atlas-surface);min-height:0}
.atlas-header {display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 26px 22px;background:var(--atlas-surface)}
.atlas-header .eyebrow {color:var(--atlas-coast);letter-spacing:1.8px;font-size:9px;font-weight:600}
.atlas-header h2 {font:600 26px/1.25 var(--heading-font);margin:10px 0 8px;color:var(--atlas-ink)}
.atlas-header p {font-size:11px;margin:0;color:var(--atlas-muted);line-height:1.6}
.india-atlas .map-live-status {flex-shrink:0;max-width:195px;margin-top:0;padding:5px 9px;background:var(--atlas-raised);border:1px solid var(--atlas-line);color:var(--atlas-muted)!important;font-size:9px!important;line-height:1.7;text-align:right}
.india-atlas .map-live-status i {background:#92a6b4}
.india-atlas .map-live-status.is-current i {background:#69d9ba;box-shadow:0 0 7px #69d9ba45}
.atlas-toolbar {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:11px 20px;background:var(--atlas-raised);border-top:1px solid var(--atlas-line);border-bottom:1px solid var(--atlas-line)}
.atlas-theme-switch {display:flex;gap:3px;padding:3px;border:1px solid var(--atlas-line);border-radius:8px;background:var(--atlas-water)}
.atlas-theme-switch button,.atlas-motion-toggle {display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--atlas-muted);height:32px;padding:0 11px;font:500 11px var(--font);cursor:pointer;white-space:nowrap}
.atlas-theme-switch button[aria-pressed="true"] {background:var(--atlas-active);color:var(--atlas-ink);border-color:var(--atlas-line);box-shadow:0 1px 4px #00000012}
.atlas-theme-switch button:hover,.atlas-motion-toggle:hover {color:var(--atlas-ink);background:var(--atlas-button)}
.atlas-map-tools {display:flex;align-items:center;gap:10px}
.atlas-motion-toggle {height:36px;padding:0 8px;border-color:var(--atlas-line);background:var(--atlas-button)}
.atlas-motion-toggle[aria-pressed="true"] {color:var(--atlas-coast)}
.india-atlas .map-zoom {position:static;display:flex;border:1px solid var(--atlas-line);border-radius:7px;box-shadow:none;background:var(--atlas-button);overflow:hidden}
.india-atlas .map-zoom button {height:34px;width:34px;color:var(--atlas-ink);background:var(--atlas-button);border-bottom:0;border-right:1px solid var(--atlas-line);font-size:18px}
.india-atlas .map-zoom button:last-child {border-right:0}
.india-atlas .map-zoom button:hover:enabled {background:var(--atlas-active)}
.india-atlas .map-zoom button:disabled {color:var(--atlas-muted);opacity:.42}
.india-atlas button:focus-visible,.india-atlas summary:focus-visible,.india-atlas a:focus-visible {outline:2px solid var(--atlas-focus);outline-offset:3px}
.atlas-visual {background:radial-gradient(ellipse at 52% 49%,var(--atlas-water-edge),var(--atlas-water) 78%)}
.atlas-geography {position:relative;isolation:isolate;overflow:hidden}
.atlas-geography>svg {display:block;width:100%;height:520px;overflow:hidden;user-select:none;-webkit-user-select:none}
.atlas-geography>svg:focus-visible {outline:2px solid var(--atlas-focus);outline-offset:-3px}
.india-atlas[data-zoomed="true"] .atlas-geography>svg {cursor:grab;touch-action:none}
.india-atlas[data-zoomed="true"] .atlas-geography>svg:active {cursor:grabbing}
.atlas-pan-tools {position:absolute;bottom:14px;left:16px;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid var(--atlas-line);border-radius:8px;background:var(--atlas-surface);box-shadow:0 3px 15px #00000020}
.atlas-pan-tools>span {display:flex;flex-direction:column;gap:2px;padding:0 9px;color:var(--atlas-ink);font-size:11px;line-height:1.3}
.atlas-pan-tools small {color:var(--atlas-muted);font-size:8px}
.atlas-pan-tools button {border:1px solid var(--atlas-line);border-radius:5px;width:44px;height:44px;background:var(--atlas-button);color:var(--atlas-ink);font-size:17px;cursor:pointer}
.atlas-pan-tools button:hover {background:var(--atlas-active)}
.atlas-grid {fill:none;stroke:var(--atlas-sea-ink);stroke-width:.55;opacity:.16;pointer-events:none}
.atlas-neighbours {fill:var(--atlas-context);stroke:var(--atlas-context-line);stroke-width:.75;opacity:.8;pointer-events:none}
.atlas-land-start {stop-color:var(--atlas-land-1)}
.atlas-land-middle {stop-color:var(--atlas-land-2)}
.atlas-land-end {stop-color:var(--atlas-land-3)}
.atlas-coast-aura {fill:none;stroke:var(--atlas-coast);stroke-width:7;opacity:.55;pointer-events:none;vector-effect:non-scaling-stroke}
.atlas-districts {fill:none;stroke:var(--atlas-district);stroke-linejoin:round;stroke-linecap:round;pointer-events:none}
.atlas-district-halo {stroke-width:1.8;opacity:.55;vector-effect:non-scaling-stroke}
.atlas-district-core {stroke-width:.65;opacity:.85;vector-effect:non-scaling-stroke}
.atlas-district-hit {fill:transparent;stroke:none;cursor:pointer;vector-effect:non-scaling-stroke}
.atlas-district-hit:hover {fill:#ff686818}
.atlas-district-hit.is-selected {fill:#ff68682b;stroke:var(--atlas-district);stroke-width:1.6}
.atlas-district-hit:focus-visible {outline:none;stroke:var(--atlas-focus);stroke-width:2}
.atlas-district-names {pointer-events:none;fill:var(--atlas-ink);font-family:var(--font);font-weight:500;text-anchor:middle;dominant-baseline:central;paint-order:stroke;stroke:var(--atlas-label-stroke);stroke-linejoin:round}
.atlas-district-names .is-selected {font-weight:700;fill:var(--atlas-ink)}
.india-atlas[data-district-labels="true"] .atlas-labels .atlas-city {display:none}
.atlas-district-explorer {display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 20px;border-bottom:1px solid var(--atlas-line);background:var(--atlas-surface)}
.atlas-district-explorer label {font-size:10px;color:var(--atlas-ink);white-space:nowrap}
.atlas-district-explorer select {min-width:0;width:215px;max-width:100%;height:36px;border:1px solid var(--atlas-line);border-radius:6px;background:var(--atlas-button);color:var(--atlas-ink);font:500 11px var(--font);padding:0 8px}
.atlas-district-explorer small {font-size:9px;color:var(--atlas-muted)}
.atlas-district-explorer select:focus-visible,.india-atlas .map-insights:focus-visible,.atlas-district-donations:focus-visible {outline:2px solid var(--atlas-focus);outline-offset:2px}
.atlas-selection-banner {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;background:var(--atlas-raised);border-top:1px solid var(--atlas-line)}
.atlas-selection-banner span {display:flex;flex-direction:column;gap:5px;min-width:0}
.atlas-selection-banner strong {font-size:12px;color:var(--atlas-ink)}
.atlas-selection-banner small {font-size:9px;line-height:1.6;color:var(--atlas-muted)}
.atlas-selection-banner button,.atlas-more-donations {padding:9px 10px;border:1px solid var(--atlas-line);border-radius:6px;background:var(--atlas-button);color:var(--atlas-ink);font:500 10px var(--font);cursor:pointer;white-space:nowrap}
.atlas-detail-heading {display:flex;align-items:center;justify-content:space-between;gap:8px}
.atlas-detail-heading button {height:32px;width:32px;font-size:20px;border:1px solid var(--atlas-line);border-radius:6px;background:var(--atlas-button);color:var(--atlas-ink);cursor:pointer}
.atlas-detail-place,.atlas-detail-explanation,.atlas-district-unassigned {font-size:10px;line-height:1.8;color:var(--atlas-muted)}
.atlas-estimate-badge {display:inline-block;font-size:9px;padding:5px 8px;border:1px solid var(--atlas-line);border-radius:5px;color:var(--atlas-ink);background:var(--atlas-raised)}
.atlas-district-details .map-totals {margin-top:12px;padding:18px 0}
.atlas-district-donations {list-style:none;padding:0;margin:16px 0;max-height:440px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--atlas-line) transparent}
.atlas-district-donations li {padding:16px 0;border-top:1px solid var(--atlas-line)}
.atlas-gift-top {display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:11px;line-height:1.6;color:var(--atlas-ink)}
.atlas-gift-top strong {font-weight:500;overflow-wrap:anywhere}
.atlas-gift-top b {color:var(--atlas-gold-ink);white-space:nowrap}
.atlas-gift-code {display:block;font-size:9px;color:var(--atlas-muted);margin-top:5px;overflow-wrap:anywhere}
.atlas-district-donations dl {font-size:9px;line-height:1.7;margin:10px 0 0;color:var(--atlas-muted)}
.atlas-district-donations dl>div {display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;margin-top:4px}
.atlas-district-donations dt {color:var(--atlas-muted)}
.atlas-district-donations dd {margin:0;color:var(--atlas-ink);overflow-wrap:anywhere}
.atlas-district-empty {padding:15px;background:var(--atlas-raised);border:1px solid var(--atlas-line);border-radius:6px;color:var(--atlas-ink);font-size:11px;line-height:1.8}
.atlas-district-empty p {font-size:10px;color:var(--atlas-muted);margin:7px 0 0}
.atlas-district-unassigned {padding-top:14px;border-top:1px solid var(--atlas-line)}
.atlas-states path {fill:transparent;stroke:var(--atlas-state);stroke-width:1;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.atlas-states path:hover {fill:#96dce91a;stroke:var(--atlas-current);stroke-width:1.5}
.atlas-electric-currents {fill:none;pointer-events:none}
.atlas-electric-currents path {stroke:var(--atlas-current);stroke-width:1.4;stroke-linecap:round;stroke-dasharray:28 972;animation:atlas-electric-flow 24s linear infinite;opacity:.85;vector-effect:non-scaling-stroke}
.india-atlas[data-motion="off"] .atlas-electric-currents path {animation-play-state:paused;opacity:.35}
.atlas-outline {fill:none;stroke:var(--atlas-coast);stroke-width:1.45;vector-effect:non-scaling-stroke;stroke-linejoin:round;pointer-events:none}
.atlas-city-lights {pointer-events:none;fill:none;stroke-linecap:round}
.atlas-city-lights path {vector-effect:non-scaling-stroke}
.atlas-light-tier-0 {stroke:var(--atlas-light-0);stroke-width:.8;opacity:.55}
.atlas-light-tier-1 {stroke:var(--atlas-light-1);stroke-width:1.3;opacity:.9}
.atlas-light-tier-2 {stroke:var(--atlas-light-2);stroke-width:1.3;opacity:.8}
.atlas-labels {pointer-events:none;font-family:var(--font)}
.atlas-sea-label {font-size:16px;fill:var(--atlas-sea-ink);letter-spacing:2.1px;font-style:italic;text-anchor:middle}
.atlas-country-label {font-size:12px;fill:var(--atlas-context-ink);letter-spacing:1.2px;text-anchor:middle}
.atlas-city circle {fill:var(--atlas-city);stroke:none}
.atlas-city .atlas-city-aura {fill:var(--atlas-coast);opacity:.17;filter:drop-shadow(0 0 4px var(--atlas-coast))}
.atlas-city text {font-size:15px;fill:var(--atlas-ink);paint-order:stroke;stroke:var(--atlas-label-stroke);stroke-width:3.6;stroke-linejoin:round;font-weight:500}
.atlas-island-label {font-size:13px;fill:var(--atlas-muted);text-anchor:middle;paint-order:stroke;stroke:var(--atlas-water);stroke-width:3}
.atlas-north {fill:var(--atlas-muted);text-anchor:middle;font:600 11px var(--font)}
.india-atlas .map-pin-halo {fill:#e4bb4226;stroke:var(--atlas-gold);stroke-width:1.2}
.atlas-pin-core {fill:var(--atlas-gold);stroke:var(--atlas-gold-ink);stroke-width:1.5;filter:drop-shadow(0 0 4px #ebbd5b88)}
.atlas-pin-centre {fill:#fff8d9}
.india-atlas .map-pin:hover .map-pin-halo,.india-atlas .map-pin.is-selected .map-pin-halo {fill:#f3cf5540;stroke-width:2.2}
.india-atlas .map-pin:focus-visible .map-pin-halo {stroke:var(--atlas-focus);stroke-width:3}
.atlas-map-footer {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 20px 17px}
.atlas-legend {display:flex;gap:17px;align-items:center;flex-wrap:wrap;font-size:9px;color:var(--atlas-muted);line-height:1.7}
.atlas-legend span {display:flex;gap:7px;align-items:center;white-space:nowrap}
.atlas-legend i {display:inline-block;border-radius:50%;flex-shrink:0}
.atlas-legend-gift {width:8px;height:8px;background:var(--atlas-gold);box-shadow:0 0 0 3px #e8bc4c25}
.atlas-legend-city {width:4px;height:4px;background:var(--atlas-city);box-shadow:0 0 5px var(--atlas-city)}
.atlas-legend .atlas-legend-border {width:13px;height:2px;border-radius:1px;background:var(--atlas-state);box-shadow:0 0 5px var(--atlas-state)}
.atlas-legend .atlas-legend-district {width:13px;height:1px;border-radius:1px;background:var(--atlas-district);box-shadow:0 0 4px var(--atlas-district)}
.atlas-territories {color:var(--atlas-muted);font-size:8px;letter-spacing:1.2px}
.atlas-empty {display:flex;flex-direction:column;gap:5px;padding:16px 23px;border-top:1px solid var(--atlas-line);background:var(--atlas-raised)}
.atlas-empty strong {font-size:12px;color:var(--atlas-ink)}
.atlas-empty span {font-size:10px;line-height:1.7;color:var(--atlas-muted)}
.atlas-credit {display:block;padding:12px 20px;background:var(--atlas-surface);border-top:1px solid var(--atlas-line);color:var(--atlas-muted);font-size:8px;line-height:1.8}
.atlas-credit a {color:var(--atlas-muted);text-decoration:underline;text-underline-offset:2px}
.india-atlas .map-insights {padding:28px 24px;background:var(--atlas-surface);border-left:1px solid var(--atlas-line);min-width:0}
.india-atlas .map-insights .eyebrow {color:var(--atlas-muted);font-size:9px;line-height:1.7;letter-spacing:1.2px}
.india-atlas .map-insights h3 {color:var(--atlas-ink);margin:15px 0 10px;font:600 24px/1.25 var(--heading-font);overflow-wrap:anywhere}
.india-atlas .map-insights>p {color:var(--atlas-muted);font-size:11px;line-height:1.9}
.india-atlas .map-totals {flex-wrap:wrap;gap:20px;border-color:var(--atlas-line);padding:22px 0;margin-top:21px}
.india-atlas .map-totals strong {color:var(--atlas-gold-ink);font-size:24px}
.india-atlas .map-totals span {color:var(--atlas-muted);font-size:9px;line-height:1.8;margin-top:4px}
.india-atlas .map-locations {max-height:320px;scrollbar-color:var(--atlas-line) transparent;scrollbar-width:thin}
.india-atlas .map-locations button {background:transparent;border-color:var(--atlas-line);padding:14px 0;border-radius:0;transition:background-color .15s}
.india-atlas .map-locations button:hover {background:var(--atlas-raised)}
.india-atlas .map-locations button.selected {background:var(--atlas-active);padding-left:8px;padding-right:8px}
.india-atlas .map-locations strong {color:var(--atlas-ink);line-height:1.6}
.india-atlas .map-locations small {color:var(--atlas-muted);line-height:1.8}
.india-atlas .map-locations b {color:var(--atlas-gold-ink)}
.india-atlas .map-unmapped {background:var(--atlas-raised);color:var(--atlas-muted);border:1px solid var(--atlas-line);line-height:1.7}
.india-atlas .map-insights .map-note {font-size:10px;line-height:1.9;margin-top:18px;color:var(--atlas-muted)}
.india-atlas .map-source-help {font-size:10px;line-height:1.8;color:var(--atlas-muted);border-color:var(--atlas-line);margin-top:20px}
.india-atlas .map-source-help summary {color:var(--atlas-muted)}
.india-atlas .map-source-help p {font-size:10px!important;line-height:1.9;color:var(--atlas-muted)}
.india-atlas[data-theme="light"] .atlas-coast-aura {opacity:.18;stroke-width:5}
.india-atlas[data-theme="light"] .atlas-city-lights {opacity:.7}
.india-atlas[data-theme="light"] .atlas-district-halo {opacity:.3}
.india-atlas[data-theme="light"] .atlas-district-core {opacity:.85;stroke-width:.7}
.india-atlas[data-theme="light"] .atlas-electric-currents path {opacity:.75}
@keyframes atlas-electric-flow {from{stroke-dashoffset:0}to{stroke-dashoffset:-1000}}
@media(max-width:1100px) {
  .india-atlas {grid-template-columns:minmax(0,1fr) 245px}
  .atlas-header {padding:23px 21px;flex-wrap:wrap;gap:13px}
  .india-atlas .map-insights {padding:24px 18px}
  .atlas-territories {display:none}
}
@media(max-width:760px) {
  .india-atlas {display:block}
  .india-atlas .map-insights {border-left:0;border-top:1px solid var(--atlas-line);padding:25px 22px}
  .atlas-header {padding:23px 21px;display:block}
  .atlas-header h2 {font-size:25px}
  .india-atlas .map-live-status {margin-top:14px;text-align:left;max-width:none}
  .atlas-toolbar {padding:10px 13px;gap:8px}
  .atlas-theme-switch button {height:32px;padding:0 9px}
  .atlas-map-tools {gap:6px}
  .atlas-district-explorer {padding:11px 13px;gap:7px}
  .atlas-district-explorer select {flex:1;width:auto;height:40px}
  .atlas-district-explorer small {flex-basis:100%}
  .atlas-selection-banner {padding:13px 16px}
  .atlas-motion-toggle {height:34px;width:34px;padding:0}
  .atlas-motion-toggle span {display:none}
  .india-atlas .map-zoom button {width:31px;height:32px}
  .atlas-geography>svg {height:auto;aspect-ratio:760/800}
  .atlas-city text {font-size:17px}
  .atlas-island-label {font-size:15px}
  .atlas-sea-label {font-size:17px;letter-spacing:1.6px}
  .atlas-country-label {font-size:12px;letter-spacing:.8px}
  .atlas-map-footer {padding:12px 17px 17px}
  .atlas-legend {gap:16px;font-size:8px}
  .india-atlas .map-locations {max-height:240px}
  .atlas-empty {padding:16px 20px}
}
@media(prefers-reduced-motion:reduce) {
  .india-atlas .atlas-electric-currents path {animation:none!important;opacity:.35}
  .india-atlas .map-pin-arrival {animation:none!important}
  .india-atlas .map-locations button {transition:none}
}
