/* CFS — main.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sidebar-w: 200px;
  --topbar-h: 52px;
  --c-bg: #f5f5f2;
  --c-surface: #ffffff;
  --c-border: rgba(0,0,0,0.1);
  --c-border-mid: rgba(0,0,0,0.15);
  --c-text: #1a1a18;
  --c-text-2: #5a5a56;
  --c-text-3: #9a9a94;
  --c-blue: #185FA5;
  --c-blue-bg: #E6F1FB;
  --c-green: #1D9E75;
  --c-green-bg: #EAF3DE;
  --c-amber: #BA7517;
  --c-amber-bg: #FAEEDA;
  --c-red: #A32D2D;
  --c-red-bg: #FCEBEB;
  --c-purple: #3C3489;
  --c-purple-bg: #EEEDFE;
  --r-md: 8px;
  --r-lg: 12px;
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #1a1a18;
    --c-surface: #242422;
    --c-border: rgba(255,255,255,0.1);
    --c-border-mid: rgba(255,255,255,0.18);
    --c-text: #e8e8e2;
    --c-text-2: #a8a8a2;
    --c-text-3: #6a6a64;
    --c-blue-bg: #0c2a4a;
    --c-green-bg: #0a2e1e;
    --c-amber-bg: #2e1e04;
    --c-red-bg: #2e0c0c;
    --c-purple-bg: #1a1640;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
}

/* ---- Layout ---- */
.layout { display: flex; min-height: 100vh; }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* ---- Kill banner ---- */
.kill-banner {
  background: #A32D2D; color: #fff;
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.kill-banner-btn {
  margin-left: auto; background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  padding: 4px 12px; border-radius: var(--r-md); cursor: pointer;
  font-size: 12px; font-family: inherit;
}
.kill-banner-btn:hover { background: rgba(255,255,255,0.3); }

/* ---- Sidebar ---- */
.sidebar {
  width: var(--sidebar-w); background: var(--c-surface);
  border-right: 0.5px solid var(--c-border);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; flex-shrink: 0;
}
.sidebar-logo { padding: 18px 16px 12px; border-bottom: 0.5px solid var(--c-border); }
.logo-mark { font-size: 14px; font-weight: 600; letter-spacing: -.3px; }
.logo-sub { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 10px 8px; overflow-y: auto; }
.nav-section { font-size: 10px; font-weight: 600; color: var(--c-text-3);
  padding: 12px 10px 4px; text-transform: uppercase; letter-spacing: .5px; }
.nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: var(--r-md);
  color: var(--c-text-2); font-size: 13px; text-decoration: none;
  margin-bottom: 2px; transition: background .15s, color .15s;
}
.nav-item:hover { background: var(--c-bg); color: var(--c-text); }
.nav-item.active { background: var(--c-bg); color: var(--c-text); font-weight: 500; }
.nav-item i { font-size: 16px; opacity: .75; }
.sidebar-footer { padding: 12px; border-top: 0.5px solid var(--c-border); }
.kill-btn {
  width: 100%; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--r-md); cursor: pointer;
  border: 0.5px solid var(--c-border-mid); background: transparent;
  color: var(--c-text-2); font-size: 12px; font-family: inherit;
  transition: all .15s;
}
.kill-btn:hover { border-color: #E24B4A; color: #E24B4A; }
.kill-btn.kill-on { background: var(--c-red-bg); border-color: #E24B4A; color: #A32D2D; font-weight: 500; }

/* ---- Topbar ---- */
.topbar {
  background: var(--c-surface);
  border-bottom: 0.5px solid var(--c-border);
  padding: 0 20px; height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0; gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.page-title { font-size: 15px; font-weight: 500; white-space: nowrap; }
.back-link { display: flex; align-items: center; gap: 4px; color: var(--c-text-2);
  text-decoration: none; font-size: 13px; }
.back-link:hover { color: var(--c-text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-md); font-size: 13px;
  cursor: pointer; border: 0.5px solid var(--c-border-mid);
  background: var(--c-surface); color: var(--c-text);
  font-family: inherit; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--c-bg); }
.btn-primary { background: var(--c-text); color: var(--c-surface); border-color: var(--c-text); }
.btn-primary:hover { opacity: .85; }
.btn-secondary { background: var(--c-surface); }
.btn-success { background: var(--c-green-bg); color: var(--c-green); border-color: var(--c-green); }
.btn-danger { background: var(--c-red-bg); color: var(--c-red); border-color: var(--c-red); }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--r-md); cursor: pointer;
  border: 0.5px solid var(--c-border); background: transparent; color: var(--c-text-2);
  font-size: 15px; transition: background .15s; font-family: inherit;
}
.btn-icon:hover { background: var(--c-bg); color: var(--c-text); }
.btn-danger-icon:hover { background: var(--c-red-bg); color: var(--c-red); border-color: var(--c-red); }

/* ---- Flash messages ---- */
.flash-wrap { padding: 12px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.flash {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--r-md); font-size: 13px;
  border: 0.5px solid;
}
.flash-success { background: var(--c-green-bg); color: #0F6E56; border-color: #1D9E75; }
.flash-error { background: var(--c-red-bg); color: var(--c-red); border-color: #E24B4A; }
.flash-warning { background: var(--c-amber-bg); color: var(--c-amber); border-color: #BA7517; }

/* ---- Metric cards ---- */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
  padding: 20px 20px 0;
}
@media (max-width: 900px) { .metrics-grid { grid-template-columns: repeat(2,1fr); } }
.metric-card {
  background: var(--c-bg); border-radius: var(--r-md);
  padding: 14px 16px;
}
.metric-label { font-size: 12px; color: var(--c-text-2); margin-bottom: 6px; }
.metric-val { font-size: 22px; font-weight: 500; }
.metric-sub { font-size: 11px; color: var(--c-text-3); margin-top: 4px; }
.metric-sub a { color: var(--c-blue); text-decoration: none; }
.metric-green { color: var(--c-green); }
.metric-red { color: var(--c-red); }
.metric-amber { color: var(--c-amber); }
.metric-blue { color: var(--c-blue); }

/* ---- Cards ---- */
.card {
  background: var(--c-surface); border: 0.5px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden; margin: 0 20px;
}
.card-header {
  padding: 12px 16px; border-bottom: 0.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.card-title i { color: var(--c-text-2); font-size: 15px; }
.card-footer-note {
  padding: 12px 16px; border-top: 0.5px solid var(--c-border);
  font-size: 12px; color: var(--c-text-3);
  display: flex; align-items: flex-start; gap: 6px;
}

/* ---- Filter bar ---- */
.filter-bar {
  display: flex; gap: 6px; padding: 14px 20px 10px; flex-wrap: wrap;
}
.filter-chip {
  padding: 4px 12px; border-radius: 20px; font-size: 12px; cursor: pointer;
  border: 0.5px solid var(--c-border); text-decoration: none; color: var(--c-text-2);
  background: var(--c-surface); transition: all .15s;
}
.filter-chip:hover { border-color: var(--c-border-mid); color: var(--c-text); }
.filter-chip.active { background: var(--c-text); color: var(--c-surface); border-color: var(--c-text); }

/* ---- Data tables ---- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 11px; font-weight: 600; color: var(--c-text-3);
  text-align: left; padding: 10px 14px;
  border-bottom: 0.5px solid var(--c-border); white-space: nowrap;
  text-transform: uppercase; letter-spacing: .3px;
}
.data-table td {
  padding: 11px 14px; border-bottom: 0.5px solid var(--c-border);
  font-size: 13px; vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--c-bg); }
.data-table tfoot td {
  border-top: 0.5px solid var(--c-border); border-bottom: none; font-size: 13px;
}
.cell-primary { font-weight: 500; }
.cell-sub { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.amount { font-weight: 500; }
.mono { font-family: "SF Mono", "Fira Code", monospace; font-size: 12px; }
.overdue-days { color: var(--c-red); font-weight: 500; }
.text-muted { color: var(--c-text-3); }
.row-actions { display: flex; align-items: center; gap: 6px; }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 500;
  white-space: nowrap;
}
.badge-paid { background: var(--c-green-bg); color: #0F6E56; }
.badge-pending { background: var(--c-amber-bg); color: var(--c-amber); }
.badge-overdue { background: var(--c-red-bg); color: var(--c-red); }
.badge-promised { background: var(--c-amber-bg); color: var(--c-amber); }
.badge-disputed { background: var(--c-purple-bg); color: var(--c-purple); }
.badge-cancelled { background: var(--c-bg); color: var(--c-text-3); }
/* intent badges */
.badge-intent-payment_sent { background: var(--c-green-bg); color: #0F6E56; }
.badge-intent-promise_to_pay { background: var(--c-amber-bg); color: var(--c-amber); }
.badge-intent-dispute { background: var(--c-purple-bg); color: var(--c-purple); }
.badge-intent-unsubscribe { background: var(--c-red-bg); color: var(--c-red); }
.badge-intent-out_of_office { background: var(--c-blue-bg); color: var(--c-blue); }
.badge-intent-other { background: var(--c-bg); color: var(--c-text-3); border: 0.5px solid var(--c-border); }

/* ---- Empty states ---- */
.empty-state {
  padding: 48px 24px; text-align: center; color: var(--c-text-3);
}
.empty-state i { font-size: 36px; margin-bottom: 12px; display: block; }
.empty-state a { color: var(--c-blue); text-decoration: none; }

/* ---- Forms ---- */
.form-page { padding: 20px; }
.form-card { margin: 0; max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 500; color: var(--c-text-2); }
.required { color: var(--c-red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 8px 10px; border: 0.5px solid var(--c-border-mid);
  border-radius: var(--r-md); background: var(--c-surface);
  color: var(--c-text); font-size: 13px; font-family: inherit;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 2px rgba(24,95,165,.15);
}
.form-group textarea { resize: vertical; line-height: 1.6; }
.form-actions {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 16px 20px; border-top: 0.5px solid var(--c-border);
  background: var(--c-bg);
}
.import-instructions {
  padding: 16px 20px; border-bottom: 0.5px solid var(--c-border);
  font-size: 13px; color: var(--c-text-2); line-height: 1.7;
}
.code-block {
  font-family: "SF Mono","Fira Code",monospace; font-size: 12px;
  background: var(--c-bg); padding: 8px 12px; border-radius: var(--r-md);
  margin: 8px 0; border: 0.5px solid var(--c-border);
}

/* ---- Section headers ---- */
.section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 10px;
}
.section-title { font-size: 14px; font-weight: 500; }

/* ---- Template cards ---- */
.template-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 12px; padding: 0 20px; }
.template-card { margin: 0; padding: 14px 16px; }
.template-card-pending { border-color: #BA7517; }
.template-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 8px; }
.template-name { font-size: 13px; font-weight: 500; }
.template-seq { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.template-subject { font-size: 12px; color: var(--c-text-2); font-style: italic; margin-bottom: 8px; }
.template-preview { font-size: 12px; color: var(--c-text-3); line-height: 1.5; white-space: pre-line; }
.template-full-body { font-size: 12px; color: var(--c-text-2); white-space: pre-line; margin-top: 8px; padding: 8px; background: var(--c-bg); border-radius: var(--r-md); line-height: 1.6; }
.template-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 0.5px solid var(--c-border); }

/* ---- Cadence ---- */
.cadence-list { padding: 8px 16px; }
.cadence-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--c-border); }
.cadence-item:last-child { border-bottom: none; }
.cadence-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.cadence-dot-ok { background: var(--c-green); }
.cadence-dot-warn { background: var(--c-amber); }
.cadence-dot-err { background: var(--c-red); }
.cadence-info { flex: 1; }
.cadence-name { font-size: 13px; font-weight: 500; }
.cadence-sub { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }

/* ---- Classifier ---- */
.classifier-layout { display: grid; grid-template-columns: 1fr 360px; gap: 16px; padding: 20px; align-items: start; }
@media (max-width: 900px) { .classifier-layout { grid-template-columns: 1fr; } }
.classifier-left { display: flex; flex-direction: column; }
.classifier-right {}
.ingest-form { padding: 16px; }
.mode-toggle-form { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.mode-label { color: var(--c-text-2); }
.status-dots { display: flex; align-items: center; gap: 5px; margin-right: 8px; font-size: 11px; color: var(--c-text-3); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-border-mid); display: inline-block; transition: background .3s; }
.status-dot.ok { background: var(--c-green); }
.status-dot.err { background: var(--c-red); }
.status-dot-label { margin-right: 6px; }
.toggle-option {
  padding: 5px 12px; border-radius: var(--r-md); cursor: pointer; font-size: 12px;
  border: 0.5px solid var(--c-border); background: var(--c-surface); color: var(--c-text-2);
  display: flex; align-items: center; gap: 6px; transition: all .15s;
}
.toggle-option input { display: none; }
.toggle-option.active, .toggle-option:has(input:checked) {
  background: var(--c-text); color: var(--c-surface); border-color: var(--c-text); font-weight: 500;
}
.reply-feed { max-height: 380px; overflow-y: auto; }
.reply-item { padding: 12px 16px; border-bottom: 0.5px solid var(--c-border); cursor: pointer; transition: background .15s; }
.reply-item:hover { background: var(--c-bg); }
.reply-item:last-child { border-bottom: none; }
.reply-item.selected { background: var(--c-blue-bg); }
.reply-item.unreviewed { border-left: 3px solid var(--c-blue); }
.reply-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.reply-from { font-size: 12px; font-weight: 500; }
.reply-time { font-size: 11px; color: var(--c-text-3); }
.reply-subject { font-size: 12px; color: var(--c-text-2); margin-bottom: 6px; }
.reply-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.conf-pct { font-size: 11px; color: var(--c-text-3); }
.mode-chip { font-size: 10px; color: var(--c-text-3); background: var(--c-bg); padding: 2px 6px; border-radius: 20px; border: 0.5px solid var(--c-border); }
.reviewed-chip { font-size: 11px; color: var(--c-green); display: flex; align-items: center; gap: 3px; }
.detail-panel { margin: 0; min-height: 300px; }
.detail-placeholder { padding: 60px 24px; text-align: center; color: var(--c-text-3); }
.detail-placeholder i { font-size: 32px; margin-bottom: 12px; display: block; }
.email-detail-body { padding: 14px 16px; border-bottom: 0.5px solid var(--c-border); font-size: 12px; line-height: 1.8; }
.email-meta-row { color: var(--c-text-2); }
.email-body-text { padding: 14px 16px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; border-bottom: 0.5px solid var(--c-border); max-height: 200px; overflow-y: auto; }
.ai-result-box { padding: 12px 16px; background: var(--c-bg); border-bottom: 0.5px solid var(--c-border); }
.ai-result-label { font-size: 11px; font-weight: 600; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 8px; }
.ai-result-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.action-note { margin-top: 8px; font-size: 12px; color: var(--c-text-2); display: flex; align-items: flex-start; gap: 6px; }
.review-form { padding: 14px 16px; }
.reviewed-note { padding: 14px 16px; font-size: 12px; color: var(--c-green); display: flex; align-items: center; gap: 6px; }
.live-preview { margin-top: 12px; padding: 10px 12px; background: var(--c-bg); border-radius: var(--r-md); border: 0.5px solid var(--c-border); }
.preview-label { font-size: 11px; font-weight: 500; color: var(--c-text-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .3px; }

/* ---- Aging grid ---- */
.aging-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.aging-card { border-radius:var(--r-md); padding:12px 14px; text-align:center; }
.aging-current { background:var(--c-green-bg); }
.aging-30 { background:var(--c-amber-bg); }
.aging-60 { background:#FFF0E6; }
.aging-90 { background:var(--c-red-bg); }
.aging-label { font-size:11px; font-weight:500; color:var(--c-text-2); margin-bottom:4px; }
.aging-val { font-size:18px; font-weight:600; }

/* ---- Notifications ---- */
.notif-item { padding:14px 16px; border-bottom:0.5px solid var(--c-border); }
.notif-item:last-child { border-bottom:none; }
.notif-item.notif-high { border-left:3px solid var(--c-red); }
.notif-item.notif-medium { border-left:3px solid var(--c-amber); }
.notif-item.notif-low { border-left:3px solid var(--c-green); }
.notif-header { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:6px; }
.notif-subject { font-size:13px; font-weight:500; }
.notif-body { font-size:12px; color:var(--c-text-2); line-height:1.6; white-space:pre-line; margin-bottom:8px; }
.notif-footer { display:flex; align-items:center; gap:10px; }
.notif-action { font-size:12px; color:var(--c-blue); font-weight:500; }

/* ---- Two column layout ---- */
.two-col-layout { display:grid; grid-template-columns:1fr 1fr; gap:0; margin-top:8px; }
@media(max-width:900px){ .two-col-layout { grid-template-columns:1fr; } }

/* ---- field hint ---- */
.field-hint { font-size:11px; color:var(--c-text-3); margin-top:4px; }

/* ---- badge intent aliases for client choices ---- */
.badge-intent-paid { background:var(--c-green-bg); color:#0F6E56; }
.badge-intent-will_pay { background:var(--c-amber-bg); color:var(--c-amber); }
.badge-intent-question { background:var(--c-purple-bg); color:var(--c-purple); }
.badge-intent-pause { background:var(--c-blue-bg); color:var(--c-blue); }
.badge-intent-not_applicable { background:var(--c-bg); color:var(--c-text-3); border:0.5px solid var(--c-border); }
.badge-intent-other { background:var(--c-bg); color:var(--c-text-3); border:0.5px solid var(--c-border); }

/* ---- Phase 2 additions ---- */
.two-col-layout { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:16px 20px 0; }
@media(max-width:800px){ .two-col-layout { grid-template-columns:1fr; } }

/* Aging grid */
.aging-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.aging-card { border-radius:var(--r-md); padding:12px 16px; }
.aging-current { background:var(--c-green-bg); }
.aging-30 { background:var(--c-amber-bg); }
.aging-60 { background:#FEF3E2; }
.aging-90 { background:var(--c-red-bg); }
.aging-label { font-size:11px; font-weight:600; color:var(--c-text-2); margin-bottom:4px; }
.aging-val { font-size:18px; font-weight:500; }

/* Notification cards */
.notif-item { padding:14px 16px; border-bottom:0.5px solid var(--c-border); border-left:3px solid transparent; }
.notif-item:last-child { border-bottom:none; }
.notif-high { border-left-color:#E24B4A; }
.notif-medium { border-left-color:#BA7517; }
.notif-low { border-left-color:#1D9E75; }
.notif-header { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:8px; }
.notif-subject { font-size:13px; font-weight:500; line-height:1.4; }
.notif-body { font-size:12px; color:var(--c-text-2); line-height:1.6; white-space:pre-line; margin-bottom:10px; }
.notif-footer { display:flex; align-items:center; gap:10px; font-size:12px; }
.notif-action { color:var(--c-blue); font-weight:500; }

/* ---- Auth / User pill ---- */
.user-pill { display:flex; align-items:center; gap:8px; padding:8px 10px;
  border-radius:var(--r-md); background:var(--c-bg); margin-bottom:4px; }
.user-avatar { width:28px; height:28px; border-radius:50%; background:var(--c-text);
  color:var(--c-surface); display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:600; flex-shrink:0; }
.user-info { flex:1; min-width:0; }
.user-name { font-size:12px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.user-role { font-size:10px; color:var(--c-text-3); text-transform:capitalize; }

/* ---- Auth pages ---- */
.auth-page { min-height:100vh; display:flex; align-items:center; justify-content:center;
  background:var(--c-bg); padding:20px; }
.auth-card { background:var(--c-surface); border:0.5px solid var(--c-border);
  border-radius:var(--r-lg); padding:32px; width:100%; max-width:400px; }
.auth-logo { font-size:20px; font-weight:600; margin-bottom:4px; }
.auth-sub { font-size:13px; color:var(--c-text-2); margin-bottom:28px; }
.auth-field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.auth-field label { font-size:12px; font-weight:500; color:var(--c-text-2); }
.auth-field input { padding:10px 12px; border:0.5px solid var(--c-border-mid);
  border-radius:var(--r-md); background:var(--c-surface); color:var(--c-text);
  font-size:14px; font-family:inherit; }
.auth-field input:focus { outline:none; border-color:var(--c-blue); box-shadow:0 0 0 2px rgba(24,95,165,.15); }
.auth-submit { width:100%; padding:10px; border-radius:var(--r-md); background:var(--c-text);
  color:var(--c-surface); border:none; font-size:14px; font-weight:500;
  cursor:pointer; font-family:inherit; margin-top:8px; transition:background .15s; }
.auth-submit:hover { background:#3a3a38; }
.auth-footer { text-align:center; margin-top:16px; font-size:12px; color:var(--c-text-3); }

/* ---- Defensive Ops Suite sidebar card ---- */
.suite-crosssell{margin:0 8px 8px;border-radius:var(--r-md);
  background:#EBF5FB;overflow:hidden;
  border:0.5px solid #add8e6}
.suite-crosssell-header{padding:8px 10px;display:flex;align-items:center;
  justify-content:space-between;border-bottom:0.5px solid #add8e6}
.suite-crosssell-body{padding:10px}
.suite-crosssell-product{display:flex;align-items:flex-start;gap:8px;
  padding:6px 0}
