/* AxiosSpend Design System — Bootstrap 5.3+ override */
:root {
  --color-navy:      #0F172A;
  --color-teal:      #10B981;
  --color-soft-red:  #EF4444;
  --color-amber:     #F59E0B;
  --color-cream:     #FEF7ED;
  --color-warm-gray: #64748B;
  --color-light-gray:#F1F5F9;
  --color-white:     #FFFFFF;
  --sidebar-w:       240px;
  --border-radius:   12px;
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --shadow-card:     0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:       0 4px 24px rgba(15,23,42,0.06);
  --color-navy-soft: #1E2D45;
}

/* ── Typography ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--color-navy);
  background: var(--color-cream);
  margin: 0;
}
h1 { font-size: 32px; font-weight: 600; }
h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 500; }
.caption { font-size: 12px; font-weight: 500; color: var(--color-warm-gray); }
.text-muted { color: var(--color-warm-gray) !important; }
.text-teal   { color: var(--color-teal)     !important; }
.text-red    { color: var(--color-soft-red)  !important; }
.text-amber  { color: var(--color-amber)     !important; }
.text-navy   { color: var(--color-navy)      !important; }
.fw-semibold { font-weight: 600; }

/* ── Layout ── */
.axios-body   { display: flex; min-height: 100vh; background: var(--color-cream); }
.axios-layout { display: flex; width: 100%; }

/* ── Sidebar ── */
.axios-sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--color-navy);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-icon {
  width: 40px; height: 40px;
  background: var(--color-amber);
  border-radius: 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  font-size: 20px;
  color: var(--color-navy);
}
.brand-icon .bi { font-size: 18px; }
.brand-ugx {
  font-size: 7px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--color-navy);
  line-height: 1;
}
.brand-icon.lg { width: 56px; height: 56px; border-radius: 14px; font-size: 26px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name    { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.brand-tagline { font-size: 9px; color: rgba(255,255,255,0.5); letter-spacing: 0.3px; }

.sidebar-nav {
  list-style: none;
  padding: 16px 12px;
  margin: 0;
  flex: 1;
}
.sidebar-nav li { margin-bottom: 6px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.sidebar-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-link.active {
  background: rgba(16,185,129,0.22);
  color: var(--color-teal);
  font-weight: 600;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.25);
}
.sidebar-link .bi { font-size: 18px; width: 20px; }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-logout {
  background: none; border: none;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.5);
  font-family: inherit; font-size: 14px;
  padding: 8px 12px; border-radius: 8px;
  cursor: pointer; text-decoration: none;
  transition: all 0.15s;
  width: 100%;
}
.btn-logout:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sidebar-link-active { background: rgba(255,255,255,0.06); color: #fff !important; }

/* ── Main content ── */
.axios-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 28px 32px;
  min-height: 100vh;
}

/* ── Cards ── */
.axios-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-light-gray);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-title { font-size: 16px; font-weight: 600; margin: 0; }

/* ── Total Balance hero ── */
.card-balance {
  background: var(--color-navy);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  color: #fff;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.card-balance-label { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0 0 8px; }
.card-balance-amount { font-size: 28px; font-weight: 700; margin: 0 0 12px; }
.card-balance-delta { display: flex; align-items: center; gap: 6px; font-size: 13px; }

/* ── Summary tiles ── */
.summary-tile {
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-light-gray);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  height: 100%;
}
.tile-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.summary-tile.income  .tile-icon { background: #D1FAE5; color: var(--color-teal); }
.summary-tile.expense .tile-icon { background: #FEE2E2; color: var(--color-soft-red); }
.summary-tile.savings .tile-icon { background: #FEF9C3; color: var(--color-amber); }
.tile-label  { font-size: 12px; color: var(--color-warm-gray); margin: 0; }
.tile-amount { font-size: 18px; font-weight: 600; margin: 4px 0 0; }

/* ── Donut chart ── */
.donut-wrapper { position: relative; width: 180px; height: 180px; margin: 16px auto; }
.donut-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center;
}
.donut-total  { display: block; font-size: 11px; color: var(--color-warm-gray); }
.donut-amount { display: block; font-size: 15px; font-weight: 700; }

/* ── Chart wrapper ── */
.chart-wrapper { height: 200px; position: relative; margin-bottom: 16px; }

/* ── Category legend ── */
.category-legend { margin-top: 16px; }
.legend-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 13px;
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-label { flex: 1; }
.legend-pct  { color: var(--color-warm-gray); }
.legend-amt  { font-weight: 600; min-width: 80px; text-align: right; }

/* ── Feed list ── */
.feed-list { display: flex; flex-direction: column; gap: 0; }
.feed-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-light-gray);
}
.feed-item:last-child { border-bottom: none; }
.feed-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.feed-details { flex: 1; display: flex; flex-direction: column; }
.feed-label   { font-weight: 500; font-size: 13px; }
.feed-sub     { font-size: 11px; color: var(--color-warm-gray); }
.feed-amount  { font-weight: 600; font-size: 13px; white-space: nowrap; }

/* ── Budget card ── */
.budget-card { height: 100%; }
.budget-card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.budget-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.budget-info { flex: 1; }
.budget-name { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.budget-amounts { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.budget-spent { font-size: 18px; font-weight: 700; }
.budget-cap   { font-size: 13px; }
.budget-util-row { display: flex; justify-content: space-between; margin-top: 4px; }

/* ── Progress bar ── */
.progress-bar-wrap {
  height: 6px;
  background: var(--color-light-gray);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* ── Status pills ── */
.status-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.pill-teal  { background: #D1FAE5; color: #065F46; }
.pill-amber { background: #FEF3C7; color: #92400E; }
.pill-red   { background: #FEE2E2; color: #991B1B; }

/* ── Category chip ── */
.category-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px; font-weight: 500;
  background: var(--color-light-gray);
  color: var(--color-warm-gray);
}

/* ── Budget dot (table) ── */
.budget-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

/* ── Alert banner colour variants (structure defined below with .alert-banner--amber) ── */
.alert-amber { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }

/* ── Alert toast ── */
.alert-toast {
  position: fixed; top: 20px; right: 20px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  z-index: 9999;
  display: flex; align-items: center; gap: 8px;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.alert-toast.success { background: #D1FAE5; color: #065F46; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Page header ── */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.page-title { font-size: 24px; font-weight: 700; margin: 0; }
.page-sub   { font-size: 13px; color: var(--color-warm-gray); margin: 4px 0 0; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-navy); color: #fff;
  border: none; border-radius: 8px;
  padding: 10px 20px; font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: #1e293b; color: #fff; }
.btn-primary-full { @extend .btn-primary; width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-light-gray); color: var(--color-navy);
  border: none; border-radius: 8px;
  padding: 10px 20px; font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #e2e8f0; }

.btn-outline {
  background: none; border: 1px solid var(--color-light-gray);
  border-radius: 8px; padding: 8px 12px;
  cursor: pointer; color: var(--color-navy);
  font-size: 14px; transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--color-navy); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--color-light-gray);
  border-radius: 8px; padding: 9px 18px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--color-navy); cursor: pointer; text-decoration: none;
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--color-navy); background: #F1F5F9; color: var(--color-navy); }

.btn-link-small {
  font-size: 12px; color: var(--color-teal);
  text-decoration: none; font-weight: 500;
}

/* ── Form controls ── */
.form-control, .form-select {
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  font-family: inherit; font-size: 14px;
  padding: 9px 12px;
  color: var(--color-navy);
  background: #fff;
  transition: border-color 0.15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
  outline: none;
}
.form-label { font-size: 13px; font-weight: 500; margin-bottom: 6px; display: block; }
.input-group-text {
  background: var(--color-light-gray);
  border: 1px solid var(--color-light-gray);
  border-radius: 8px 0 0 8px;
  font-size: 14px; color: var(--color-warm-gray);
  padding: 9px 12px;
}
.input-group .form-control { border-radius: 0 8px 8px 0; }
.form-group { margin-bottom: 16px; }

/* ── Table ── */
.axios-table-wrap {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-light-gray);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.axios-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.axios-table thead {
  background: var(--color-light-gray);
}
.axios-table thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-warm-gray);
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.axios-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-light-gray);
  font-size: 13px;
  vertical-align: middle;
}
.axios-table tbody tr {
  transition: background 0.1s;
}
.axios-table tbody tr:last-child td { border-bottom: none; }
.axios-table tbody tr:hover { background: #f8fafc; }
.axios-table tfoot td {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  border-top: 2px solid var(--color-light-gray);
  background: var(--color-light-gray);
}

/* ── OCR upload zone ── */
.ocr-upload-zone {
  border: 2px dashed var(--color-light-gray);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.ocr-upload-zone:hover, .ocr-upload-zone.drag-over { border-color: var(--color-teal); }
.ocr-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--color-warm-gray); }
.ocr-inner .bi { font-size: 28px; }

/* ── New budget panel ── */
.new-budget-panel {
  background: var(--color-light-gray);
  border-radius: 10px;
  padding: 16px;
}

/* ── Mini budget row ── */
.mini-budget-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 4px;
}

/* ── FAB ── */
.fab-container { position: fixed; bottom: 32px; right: 32px; z-index: 200; }
.fab-btn {
  width: 56px; height: 56px;
  background: var(--color-navy);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15,23,42,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.fab-btn:hover { transform: scale(1.05); }
.fab-menu {
  position: absolute; bottom: 64px; right: 0;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px);
  pointer-events: none;
  transition: all 0.2s;
}
.fab-menu.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.fab-item {
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  color: var(--color-navy);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-card);
  transition: background 0.15s;
}
.fab-item:hover { background: var(--color-light-gray); }

/* ── Notification bell ── */
.notification-bell {
  position: relative; cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.notification-bell:hover { background: rgba(255,255,255,0.06); color: #fff; }
.notif-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--color-soft-red);
  color: #fff; font-size: 10px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── Notification drawer ── */
.notif-drawer {
  position: fixed; top: 0; right: -320px;
  width: 320px; height: 100vh;
  background: #fff;
  border-left: 1px solid var(--color-light-gray);
  z-index: 500;
  transition: right 0.3s ease;
  display: flex; flex-direction: column;
}
.notif-drawer.open { right: 0; }
.notif-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--color-light-gray);
  font-weight: 600;
}
.btn-close-drawer {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--color-warm-gray);
}
.notif-drawer-body { flex: 1; overflow-y: auto; }
.notif-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px; gap: 12px; text-align: center;
}
.notif-empty-state i { font-size: 36px; color: #CBD5E1; }
.notif-empty-state p { font-size: 14px; color: var(--color-warm-gray); margin: 0; }
.notif-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 499;
  display: none;
}
.notif-overlay.open {
  display: block;
}

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--color-warm-gray);
}
.empty-state .bi {
  font-size: 52px;
  color: #CBD5E1;
  display: block;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-size: 18px; font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 8px;
}
.empty-state p {
  max-width: 320px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.empty-state .btn-primary { margin-top: 4px; }

/* ── Auth page layout ── */
.auth-page-body {
  min-height: 100vh;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
}
.auth-topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  flex-shrink: 0;
}
.auth-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.auth-topbar-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}
.auth-topbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-topbar-globe {
  background: none;
  border: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-navy);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.auth-topbar-globe:hover { background: rgba(15,23,42,0.07); }
.auth-topbar-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.auth-topbar-link:hover { background: rgba(15,23,42,0.07); color: var(--color-navy); }

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  padding: 0 32px;
  align-items: center;
}
.auth-deco-left  { display: flex; justify-content: flex-end;  align-items: center; opacity: 0.88; }
.auth-deco-right { display: flex; justify-content: flex-start; align-items: center; opacity: 0.88; }
.auth-card-col   { width: 440px; }

/* ── Auth card ── */
.auth-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--color-light-gray);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}
.auth-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-navy);
  text-align: center;
  margin: 0 0 8px;
}
.auth-sub {
  font-size: 14px;
  color: var(--color-warm-gray);
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.5;
}
.auth-server-error {
  background: rgba(239,68,68,0.07);
  border: 1px solid var(--color-soft-red);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--color-soft-red);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── Auth inputs ── */
.auth-card .form-control,
.auth-card .form-select {
  border-radius: 12px;
  height: 56px;
  padding: 14px 16px;
  font-size: 14px;
}
.auth-card .form-floating > .form-control {
  height: 56px;
  padding: 20px 16px 4px;
  border-radius: 12px;
}
.auth-card .form-floating > label {
  padding: 16px;
  font-size: 13px;
  color: var(--color-warm-gray);
}
.auth-card .form-floating > .form-control:focus ~ label,
.auth-card .form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.8;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.1rem);
}
.auth-pass-wrap { position: relative; }
.auth-pass-wrap .form-control,
.auth-pass-wrap .form-floating > .form-control { padding-right: 48px; }
.auth-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-warm-gray);
  font-size: 16px;
  padding: 4px;
  line-height: 1;
  z-index: 5;
}
.auth-toggle-pass:hover { color: var(--color-navy); }
.auth-help-link {
  font-size: 13px;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
}
.auth-help-link:hover { text-decoration: underline; }
.auth-field-error {
  font-size: 12px;
  color: var(--color-soft-red);
  margin-top: 4px;
  display: block;
}

/* ── Auth primary button ── */
.auth-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.auth-btn-primary:hover {
  background: #1e293b;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15,23,42,0.18);
}
.auth-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Auth divider ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--color-warm-gray);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-light-gray);
}

/* ── Social sign-in ── */
.auth-social-row { display: flex; gap: 10px; }
.auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-navy);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.auth-social-btn:hover:not(:disabled) {
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.auth-social-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Auth card footer prompt ── */
.auth-card-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-warm-gray);
  margin-bottom: 0;
}
.auth-card-footer a { color: var(--color-navy); font-weight: 600; text-decoration: none; }
.auth-card-footer a:hover { text-decoration: underline; }

/* ── OTP inputs ── */
.otp-row { display: flex; gap: 12px; justify-content: center; margin: 24px 0; }
.otp-box {
  width: 48px;
  height: 56px;
  border: 1px solid var(--color-light-gray);
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
  background: #fff;
  caret-color: var(--color-teal);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.otp-box:focus {
  border: 2px solid var(--color-teal);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.otp-box.filled { border-color: var(--color-navy); }
.otp-box.error  { border-color: var(--color-soft-red); animation: otp-shake 0.4s ease; }
@keyframes otp-shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-4px); }
  40%,80% { transform: translateX( 4px); }
}
.otp-resend { text-align: center; font-size: 13px; color: var(--color-warm-gray); margin-bottom: 8px; }
.otp-resend a { color: var(--color-navy); font-weight: 600; text-decoration: none; }
.otp-resend a:hover { text-decoration: underline; }
.otp-timer { color: var(--color-teal); font-weight: 600; }

/* ── Confirmation illustration ── */
.auth-confirm-icon {
  width: 72px; height: 72px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: var(--color-teal);
  margin: 0 auto 20px;
}

/* ── Auth page footer bar ── */
.auth-footer-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-warm-gray);
  flex-shrink: 0;
}
.auth-footer-sep  { color: #cbd5e1; }
.auth-footer-link { color: var(--color-warm-gray); text-decoration: none; transition: color 0.15s; }
.auth-footer-link:hover { color: var(--color-navy); }

/* ── Legacy auth (keep for fallback) ── */
.axios-auth-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: var(--color-cream);
}
.auth-container { width: 100%; max-width: 440px; padding: 24px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--color-warm-gray); }
.btn-primary-full {
  display: flex; align-items: center; justify-content: center; width: 100%;
  background: var(--color-navy); color: #fff; border: none; border-radius: 12px;
  padding: 14px; font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.btn-primary-full:hover { background: #1e293b; }

/* ── Spinner ── */
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Dashboard page grid ── */
.dashboard-page { display: flex; flex-direction: column; gap: 24px; }

/* ── Vertical section spacing ── */
.axios-main > .page-header { margin-bottom: 20px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .axios-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .axios-sidebar.open { transform: translateX(0); }
  .axios-main { margin-left: 0; padding: 16px; }
  .fab-container { bottom: 20px; right: 20px; }
}

/* ── Auth responsive ── */
@media (max-width: 991.98px) {
  .auth-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .auth-deco-left, .auth-deco-right { display: none !important; }
  .auth-card-col { width: 100%; max-width: 440px; margin: 0 auto; }
  .auth-card { padding: 28px; border-radius: 20px; }
  .auth-topbar { padding: 0 20px; }
}
@media (max-width: 480px) {
  .otp-box { width: 42px; height: 52px; font-size: 18px; }
  .otp-row  { gap: 8px; }
  .auth-social-row { flex-direction: column; }
  .auth-card { padding: 24px; }
}

/* ══════════════════════════════════════════════════════════════════════
   UI PRIMITIVES  (U0 — added in UI delivery batch)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Toast host ── */
.ax-toast-host {
  position: fixed; top: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 9999;
  pointer-events: none;
  width: 320px;
}
.ax-toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  pointer-events: all;
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.25s, transform 0.25s;
}
.ax-toast.ax-toast-in  { opacity: 1; transform: translateX(0); }
.ax-toast.ax-toast-out { opacity: 0; transform: translateX(20px); }
.ax-toast-success { background: #D1FAE5; color: #065F46; }
.ax-toast-warning { background: #FEF3C7; color: #92400E; }
.ax-toast-error   { background: #FEE2E2; color: #991B1B; }
.ax-toast .bi { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.ax-toast span { flex: 1; }
.ax-toast-close {
  background: none; border: none; cursor: pointer;
  font-size: 16px; line-height: 1; opacity: 0.55;
  padding: 0 0 0 4px; flex-shrink: 0;
}
.ax-toast-close:hover { opacity: 1; }

/* ══════════════════════ Modal Shell (ax-modal) ══════════════════════ */

/* ── Backdrop ── */
.ax-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.40);
  z-index: 1040;
  opacity: 0; pointer-events: none;
  transition: opacity 150ms ease;
}
.ax-modal-backdrop.is-open { opacity: 1; pointer-events: all; }

/* ── Card (default width = md) ── */
.ax-modal {
  position: fixed; top: 15vh; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 1050;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  width: min(540px, 90vw);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-gray);
  box-shadow: var(--shadow-md);
  max-height: 80vh;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ax-modal.is-open {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* ── Width variants ── */
.ax-modal--sm { width: min(400px, 90vw); }
.ax-modal--md { width: min(540px, 90vw); }
.ax-modal--lg { width: min(640px, 90vw); }
.ax-modal--xl { width: min(800px, 90vw); }

/* ── Header ── */
.ax-modal__header {
  height: 56px; padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--color-light-gray);
  flex-shrink: 0;
}
.ax-modal__header--tall {
  height: 72px;
  flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
}
.ax-modal__title {
  font-size: 16px; font-weight: 600; color: var(--color-navy);
  margin: 0; flex: 1; line-height: 1.3;
}
.ax-modal__subtitle { font-size: 12px; color: var(--color-warm-gray); margin: 0; }
.ax-modal__close {
  width: 32px; height: 32px; flex-shrink: 0;
  border: none; background: transparent; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--color-warm-gray);
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.ax-modal__close:hover { background: var(--color-light-gray); color: var(--color-navy); }

/* ── Optional input bar ── */
.ax-modal__input {
  height: 56px; padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--color-light-gray);
  flex-shrink: 0;
}
.ax-modal__input-icon { font-size: 18px; color: var(--color-warm-gray); flex-shrink: 0; }
.ax-modal__input-field {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--color-navy);
}
.ax-modal__input-field::placeholder { color: var(--color-warm-gray); }
.ax-modal__input-clear {
  border: none; background: transparent; padding: 0; flex-shrink: 0;
  font-size: 16px; color: var(--color-warm-gray); cursor: pointer;
  display: flex; align-items: center; transition: color 0.15s;
}
.ax-modal__input-clear:hover { color: var(--color-navy); }

/* ── Optional filter/tab pills ── */
.ax-modal__pills {
  padding: 12px 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid var(--color-light-gray);
  flex-shrink: 0;
}
.ax-modal__pill {
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--color-light-gray);
  font-size: 13px; font-weight: 500; font-family: inherit;
  background: var(--color-white); color: var(--color-navy);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.ax-modal__pill:hover { background: var(--color-light-gray); }
.ax-modal__pill.active {
  background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy);
}
.ax-modal__pill-count {
  display: inline-flex; align-items: center; justify-content: center;
  height: 18px; min-width: 18px; padding: 0 4px;
  border-radius: 9px; font-size: 11px;
  background: var(--color-light-gray); color: var(--color-navy);
}
.ax-modal__pill.active .ax-modal__pill-count { background: rgba(255,255,255,0.2); color: #fff; }

/* ── Scrollable body ── */
.ax-modal__body {
  overflow-y: auto; flex: 1;
  padding: 16px 20px;
}
.ax-modal__body::-webkit-scrollbar { width: 6px; }
.ax-modal__body::-webkit-scrollbar-track { background: var(--color-light-gray); border-radius: 4px; }
.ax-modal__body::-webkit-scrollbar-thumb { background: #94A3B8; border-radius: 4px; }

/* ── Body — list sections and rows ── */
.ax-modal__section {
  font-size: 12px; font-weight: 600; color: var(--color-navy);
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 12px 0 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.ax-modal__row {
  padding: 10px 12px; min-height: 48px;
  display: flex; align-items: center; gap: 12px;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background 0.1s; position: relative;
}
.ax-modal__row:hover { background: var(--color-cream); }
.ax-modal__row--focused { background: var(--color-cream); }
.ax-modal__row--focused::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 0 2px 2px 0;
  background: var(--color-navy);
}
.ax-modal__row:active { background: var(--color-light-gray); }

/* ── Body — empty state ── */
.ax-modal__empty {
  text-align: center; padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ax-modal__empty > i { font-size: 48px; color: var(--color-navy); }
.ax-modal__empty-title { font-size: 16px; font-weight: 600; color: var(--color-navy); margin: 0; }
.ax-modal__empty-sub { font-size: 13px; color: var(--color-warm-gray); margin: 0; }

/* ── Body — confirm content ── */
.ax-modal__confirm {
  text-align: center; padding: 24px 20px 8px;
}
.ax-modal__confirm-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.ax-modal__confirm-title { font-size: 18px; font-weight: 600; color: var(--color-navy); margin: 0 0 8px; }
.ax-modal__confirm-text {
  font-size: 14px; color: var(--color-warm-gray);
  max-width: 320px; margin: 0 auto; line-height: 1.5;
}

/* ── Body — skeleton shimmer ── */
.ax-modal__skeleton { padding: 4px 0; }
.ax-skeleton-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.ax-skeleton-circle {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-light-gray);
  animation: ax-shimmer 1.4s ease-in-out infinite;
}
.ax-skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ax-skeleton-line {
  height: 12px; border-radius: 6px;
  background: var(--color-light-gray);
  animation: ax-shimmer 1.4s ease-in-out infinite;
}
.ax-skeleton-line--short { width: 40%; }
@keyframes ax-shimmer {
  0%, 100% { background: var(--color-light-gray); }
  50% { background: #E8EFF8; }
}

/* ── Optional keyboard hint bar ── */
.ax-modal__hints {
  height: 36px; padding: 0 20px;
  background: var(--color-light-gray);
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; color: var(--color-warm-gray);
  flex-shrink: 0;
  border-top: 1px solid #E2E8F0;
}
.ax-modal__hint { display: flex; align-items: center; gap: 5px; }
.ax-kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 4px; border: 1px solid var(--color-warm-gray);
  font-size: 11px; font-weight: 500; font-family: inherit;
  color: var(--color-navy); background: var(--color-white);
}

/* ── Footer ── */
.ax-modal__footer {
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--color-light-gray);
  flex-shrink: 0;
}
.ax-modal__footer-left { flex: 1; }
.ax-modal__footer-right { display: flex; gap: 12px; align-items: center; margin-left: auto; }

/* ── Destructive button ── */
.btn-danger-ax {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-soft-red); color: #fff;
  border: none; border-radius: var(--radius-md);
  padding: 10px 20px; font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.15s;
}
.btn-danger-ax:hover { background: #dc2626; }

/* ── Mobile: full-width bottom sheet ── */
@media (max-width: 640px) {
  .ax-modal {
    width: 100vw; max-width: 100vw;
    top: auto; bottom: 0; left: 0;
    transform: translateY(8px);
    border-radius: 16px 16px 0 0;
    max-height: 85vh;
  }
  .ax-modal.is-open { transform: translateY(0); }
  .ax-modal__hints { display: none; }
  .ax-modal__footer { position: sticky; bottom: 0; background: var(--color-white); }
}

/* ── Offcanvas (right slide-out, 440px) ── */
.ax-offcanvas-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.40);
  z-index: 1030;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.ax-offcanvas-backdrop.open { opacity: 1; pointer-events: all; }
.ax-offcanvas {
  position: fixed; top: 0; right: -460px;
  width: 440px; height: 100vh;
  background: #fff;
  border-left: 1px solid var(--color-light-gray);
  z-index: 1035;
  display: flex; flex-direction: column;
  transition: right 0.28s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 24px rgba(15,23,42,0.10);
}
.ax-offcanvas.open { right: 0; }
.ax-offcanvas-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-light-gray);
  flex-shrink: 0;
}
.ax-offcanvas-title { font-size: 16px; font-weight: 700; margin: 0; }
.ax-offcanvas-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--color-warm-gray); padding: 4px;
  border-radius: 6px; transition: background 0.15s;
}
.ax-offcanvas-close:hover { background: var(--color-light-gray); }
.ax-offcanvas-body { flex: 1; overflow-y: auto; padding: 24px; }
.ax-offcanvas-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-light-gray);
  display: flex; gap: 10px; justify-content: flex-end;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .ax-offcanvas { width: 100%; right: -100%; }
}

/* ── Spinner (inline button) ── */
.ax-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

/* ── Field-level validation error ── */
.ax-field-error {
  display: block; font-size: 12px;
  color: var(--color-soft-red);
  margin-top: 4px;
}
.ax-input-error {
  border-color: var(--color-soft-red) !important;
}
.ax-input-error:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12) !important;
}

/* ── Workspace topbar strip ── */
.ws-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 0 0 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--color-light-gray);
}
.ws-topbar-label { font-size: 11px; color: var(--color-warm-gray); text-transform: uppercase; letter-spacing: 0.06em; }
.ws-topbar-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-light-gray); border: none; border-radius: 8px;
  padding: 6px 12px; font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--color-navy); cursor: pointer; transition: background 0.15s;
  position: relative;
}
.ws-topbar-btn:hover { background: #e2e8f0; }
.ws-topbar-btn .bi-chevron-down { font-size: 11px; opacity: 0.6; }
.ws-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  z-index: 300;
  padding: 6px;
  display: none;
}
.ws-dropdown.open { display: block; }
.ws-dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 7px;
  font-size: 13px; cursor: pointer;
  transition: background 0.1s;
  color: var(--color-navy); text-decoration: none;
}
.ws-dropdown-item:hover { background: var(--color-light-gray); }
.ws-dropdown-item.active { background: rgba(16,185,129,0.1); color: var(--color-teal); }
.ws-dropdown-divider { height: 1px; background: var(--color-light-gray); margin: 6px 0; }
.ws-role-badge {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px;
  background: var(--color-light-gray); color: var(--color-warm-gray);
  margin-left: auto;
}
.ws-role-badge.owner { background: rgba(15,23,42,0.08); color: var(--color-navy); }

/* ── Workspace card (index page) ── */
.ws-card {
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.15s;
}
.ws-card:hover { box-shadow: 0 4px 16px rgba(15,23,42,0.1); }
.ws-card-name { font-size: 16px; font-weight: 700; margin: 0; }
.ws-card-slug { font-size: 12px; color: var(--color-warm-gray); }
.ws-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-warm-gray); }

/* ── Skeleton shimmer ── */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card { height: 120px; border-radius: var(--border-radius); margin-bottom: 12px; }
.skeleton-row  { height: 16px; margin-bottom: 8px; }
.skeleton-row.w-75 { width: 75%; }
.skeleton-row.w-50 { width: 50%; }

/* ── Swatch picker ── */
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px; border-radius: 6px;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.1s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.selected { border-color: var(--color-navy); }

/* ── Toolbar (filters row) ── */
.ax-toolbar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ax-toolbar-search {
  flex: 1; min-width: 180px;
  position: relative;
}
.ax-toolbar-search .bi {
  position: absolute; left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--color-warm-gray); font-size: 15px; pointer-events: none;
}
.ax-toolbar-search input {
  padding-left: 34px;
  width: 100%;
}
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--color-navy); color: #fff;
  font-size: 12px; font-weight: 500;
}
.filter-pill button {
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 14px; line-height: 1; padding: 0;
}
.filter-pill button:hover { color: #fff; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

/* ── Pagination strip ── */
.ax-pagination {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 0;
  font-size: 13px;
  color: var(--color-warm-gray);
}
.ax-pagination-pages { display: flex; gap: 4px; }
.ax-page-btn {
  min-width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-light-gray);
  border-radius: 6px;
  background: none; cursor: pointer;
  font-size: 13px; font-family: inherit; color: var(--color-navy);
  transition: background 0.15s;
}
.ax-page-btn:hover { background: var(--color-light-gray); }
.ax-page-btn.active { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.ax-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Trash table ── */
.trash-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--color-light-gray); margin-bottom: 20px; }
.trash-tab {
  padding: 10px 20px; font-size: 14px; font-weight: 500;
  border: none; background: none; cursor: pointer;
  color: var(--color-warm-gray); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.trash-tab.active { color: var(--color-navy); border-bottom-color: var(--color-navy); }
.trash-tab:hover { color: var(--color-navy); }

/* ── Sidebar additions ── */
.sidebar-section-label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 12px 12px 4px;
}

/* ── Sidebar overlay (mobile) ── */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.4);
  z-index: 99;
}
.sidebar-overlay.open { display: block; }

/* ── Mobile sidebar toggle ── */
.sidebar-hamburger {
  display: none;
  position: fixed; top: 14px; left: 16px;
  z-index: 200;
  background: var(--color-navy); color: #fff;
  border: none; border-radius: 8px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
}
@media (max-width: 768px) {
  .sidebar-hamburger { display: flex; }
  .axios-main { padding-top: 60px; }
}

/* ── Responsive table → cards on mobile ── */
@media (max-width: 640px) {
  .ax-table-responsive table,
  .ax-table-responsive thead,
  .ax-table-responsive tbody,
  .ax-table-responsive tr,
  .ax-table-responsive th,
  .ax-table-responsive td { display: block; }
  .ax-table-responsive thead { display: none; }
  .ax-table-responsive tbody tr {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 12px 16px;
  }
  .ax-table-responsive td {
    padding: 4px 0;
    border: none;
  }
  .ax-table-responsive td::before {
    content: attr(data-label);
    font-size: 10px; font-weight: 700;
    color: var(--color-warm-gray);
    text-transform: uppercase; letter-spacing: 0.06em;
    display: block; margin-bottom: 2px;
  }
}

/* ── Budget utilisation bar (list view) ── */
.util-bar-wrap { width: 80px; height: 5px; background: var(--color-light-gray); border-radius: 3px; overflow: hidden; display: inline-block; vertical-align: middle; margin-left: 6px; }
.util-bar-fill { height: 100%; border-radius: 3px; }

/* ── Icon-only action buttons ── */
.btn-icon {
  background: none; border: 1px solid var(--color-light-gray);
  border-radius: 6px; padding: 5px 8px;
  cursor: pointer; font-size: 14px; color: var(--color-warm-gray);
  transition: all 0.15s; line-height: 1;
}
.btn-icon:hover { border-color: var(--color-navy); color: var(--color-navy); }
.btn-icon.danger:hover { border-color: var(--color-soft-red); color: var(--color-soft-red); }
.actions-col { white-space: nowrap; display: flex; gap: 4px; }

/* ── Date range picker input group ── */
.date-range-group { display: flex; align-items: center; gap: 6px; }
.date-range-group span { font-size: 12px; color: var(--color-warm-gray); }

/* ── Onboarding / empty workspace ── */
.onboarding-card {
  max-width: 520px; margin: 60px auto;
  text-align: center;
}
.onboarding-icon {
  width: 80px; height: 80px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--color-teal);
  margin: 0 auto 24px;
}


/* ── Utility ── */
.hidden { display: none !important; }
.w-100 { width: 100%; }
.fw-semibold { font-weight: 600; }
.text-red { color: var(--color-soft-red, #EF4444); }
.text-teal { color: var(--color-teal, #10B981); }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }

/* ── ax-table (own clean table, no DataTables) ── */
.ax-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ax-table thead th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px; font-weight: 700;
  color: var(--color-warm-gray);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-light-gray);
}
.ax-table tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--color-light-gray);
  vertical-align: middle;
  color: var(--color-navy);
}
.ax-table tbody tr:last-child td { border-bottom: none; }
.ax-table tbody tr:hover td { background: #F8FAFC; }
.ax-table .col-actions { width: 1%; white-space: nowrap; text-align: right; }
.ax-table .row-actions { display: flex; gap: 4px; justify-content: flex-end; }

/* responsive ax-table */
@media (max-width: 640px) {
  .ax-table, .ax-table thead, .ax-table tbody,
  .ax-table tr, .ax-table th, .ax-table td { display: block; }
  .ax-table thead { display: none; }
  .ax-table tbody tr {
    background: #fff;
    border: 1px solid var(--color-light-gray);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 12px 16px;
  }
  .ax-table td { padding: 4px 0; border: none; }
  .ax-table td::before {
    content: attr(data-label);
    font-size: 10px; font-weight: 700;
    color: var(--color-warm-gray);
    text-transform: uppercase; letter-spacing: 0.06em;
    display: block; margin-bottom: 2px;
  }
  .ax-table .row-actions { justify-content: flex-start; padding-top: 8px; }
}

/* ── Icon buttons ── */
.icon-btn {
  background: none; border: none;
  padding: 5px 7px; cursor: pointer;
  font-size: 15px; color: var(--color-warm-gray);
  border-radius: 6px; transition: all 0.12s;
  line-height: 1;
}
.icon-btn:hover { background: var(--color-light-gray); color: var(--color-navy); }
.icon-btn.text-red:hover { background: #FEE2E2; color: #DC2626; }

/* ── Small ghost button ── */
.btn-ghost-sm {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  background: none; border: 1px solid var(--color-light-gray);
  border-radius: 6px; font-size: 13px; color: var(--color-navy);
  cursor: pointer; text-decoration: none; transition: all 0.12s;
}
.btn-ghost-sm:hover { border-color: var(--color-navy); background: #F1F5F9; }
.btn-ghost-sm.text-red:hover { border-color: #EF4444; color: #DC2626; background: #FEF2F2; }

/* ── Card section title ── */
.card-section-title {
  font-size: 15px; font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

/* ── Card-level action buttons ── */
.card-actions {
  display: flex; gap: 8px; align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--color-light-gray);
  margin-top: 16px;
}

/* ── Filter toolbar ── */
.filter-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
  padding: 0 0 20px;
}
.filter-input {
  flex: 1 1 160px;
  min-width: 140px; max-width: 220px;
  padding: 7px 10px;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px; font-size: 13px;
  background: #fff; color: var(--color-navy);
}
.filter-input:focus { outline: none; border-color: var(--color-navy); }
@media (max-width: 640px) {
  .filter-input { flex: 1 1 100%; max-width: 100%; }
}

/* ── Pagination ── */
.pagination-row {
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
  padding: 20px 0 4px;
}
.pagination-info { font-size: 13px; color: var(--color-warm-gray); }

/* ── Swatch picker ── */
.swatch-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.12s, border-color 0.12s;
  flex-shrink: 0;
}
.swatch:hover { transform: scale(1.15); }
.swatch.selected { border-color: var(--color-navy); transform: scale(1.1); }
/* Inline small swatch (in tables) */
td .swatch, .swatch[style*="background"] {
  width: 10px; height: 10px; display: inline-block;
  border-radius: 50%; margin-right: 6px; vertical-align: middle;
  border: none;
}

/* ── Inline checkbox row ── */
.form-check-row {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0;
}
.form-check { width: 16px; height: 16px; cursor: pointer; }

/* ── Workspace cards (index page) ── */
.workspace-card-link { text-decoration: none; color: inherit; display: block; }
.workspace-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 12px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.workspace-card:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,.08);
  border-color: var(--color-navy);
}
.workspace-card-icon {
  width: 44px; height: 44px;
  background: #EFF6FF; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #3B82F6;
  flex-shrink: 0;
}
.workspace-card-body { flex: 1; min-width: 0; }
.workspace-card-name { font-size: 15px; font-weight: 700; color: var(--color-navy); margin: 0; }
.workspace-card-meta { font-size: 12px; color: var(--color-warm-gray); margin: 2px 0 0; }
.workspace-card-arrow { color: var(--color-warm-gray); font-size: 14px; }

/* ── Workspace picker (choose workspace page) ── */
.workspace-picker-list { display: flex; flex-direction: column; gap: 10px; }
.workspace-picker-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-light-gray);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.workspace-picker-item:hover {
  border-color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.workspace-picker-icon {
  width: 38px; height: 38px;
  background: #EFF6FF; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #3B82F6;
}
.workspace-picker-body {
  flex: 1; display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.workspace-picker-body strong { font-size: 14px; }
.workspace-picker-body span { font-size: 12px; }

/* ── Section title + util bar ── */
.section-title { font-size: 16px; font-weight: 700; color: var(--color-navy); margin: 0; }
.util-bar { display: flex; align-items: center; justify-content: space-between; }

/* ── Alert banner variants ── */
.alert-teal { background: #D1FAE5; border-left: 3px solid #10B981; color: #065F46; }
.alert-red  { background: #FEE2E2; border-left: 3px solid #EF4444; color: #991B1B; }

/* ── Trash tab count badge ── */
.tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-light-gray);
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  padding: 1px 7px;
  margin-left: 4px;
}

/* ── Skip to content (accessibility) ── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 9999;
  background: var(--color-teal);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ── Focus-visible ring (keyboard nav) ── */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* ── Visually-hidden utility (screen readers) ── */
.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;
}

/* ── Sidebar workspace chip ── */
.sidebar-workspace-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 8px;
  padding: 8px 12px;
  background: rgba(16,185,129,.1);
  border-radius: 8px;
  font-size: 12px;
  color: var(--color-teal);
  min-width: 0;
}
.sidebar-workspace-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.sidebar-workspace-switch {
  color: var(--color-teal);
  opacity: 0.7;
  text-decoration: none;
  flex-shrink: 0;
}
.sidebar-workspace-switch:hover { opacity: 1; }

/* ── Workspace card actions row ── */
.workspace-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1.5px solid transparent;
}
.workspace-card--active { border-color: #10B981; }
.workspace-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Alert banner (canonical) ── */
.alert-banner {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius-md);
  font-size: 13px; line-height: 1.5;
  margin-bottom: 20px;
}
.alert-banner .bi { flex-shrink: 0; align-self: center; }
.alert-banner--amber {
  background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E;
}
.alert-banner--amber .bi { color: var(--color-amber); }

/* ── Cap mode segmented toggle ── */
.cap-mode-toggle {
  display: flex; border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md); overflow: hidden;
  margin-top: 6px;
}
.cap-mode-btn {
  flex: 1; padding: 8px 12px;
  border: none; background: var(--color-white);
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--color-warm-gray); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cap-mode-btn + .cap-mode-btn { border-left: 1px solid var(--color-light-gray); }
.cap-mode-btn--active { background: var(--color-navy); color: #fff; }
.cap-mode-btn:not(.cap-mode-btn--active):hover { background: var(--color-light-gray); }

/* ── Percentage input with suffix ── */
.input-suffix-wrap { position: relative; display: flex; align-items: center; }
.input-suffix-wrap .form-control { padding-right: 32px; }
.input-suffix {
  position: absolute; right: 12px;
  font-size: 13px; color: var(--color-warm-gray); pointer-events: none;
}

/* ── Percentage preview line ── */
.pct-preview {
  font-size: 12px; color: var(--color-warm-gray);
  padding: 4px 0; min-height: 18px;
}

/* ── Profile page ── */
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-navy);
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: 1px;
}
.card-section-title {
  font-size: 15px; font-weight: 600; color: var(--color-navy);
  margin: 0 0 18px;
}
.form-label-sm {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--color-warm-gray); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.profile-pass-wrap {
  position: relative;
}
.profile-pass-wrap .form-control {
  padding-right: 40px;
}
.profile-toggle-pass {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  border: none; background: none; padding: 0;
  color: var(--color-warm-gray); cursor: pointer; font-size: 15px;
}
.profile-toggle-pass:hover { color: var(--color-navy); }

/* ── Date Range Picker ── */
.drp-wrapper {
  position: relative;
  display: inline-flex;
}
.drp-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--color-light-gray);
  border-radius: 6px;
  background: #fff; color: var(--color-navy);
  font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s;
  min-width: 160px;
}
.drp-trigger:hover  { border-color: var(--color-navy); }
.drp-trigger .bi-calendar3 { font-size: 14px; color: var(--color-warm-gray); }
.drp-chevron { font-size: 11px; color: var(--color-warm-gray); margin-left: auto; }
.drp-label { flex: 1; text-align: left; }

/* Popup */
.drp-popup {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 1050;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
  flex-direction: row;
  min-width: 680px;
  overflow: hidden;
}
.drp-popup.open { display: flex; }

/* Left pane — presets */
.drp-pane-left {
  width: 168px;
  flex-shrink: 0;
  border-right: 1px solid #e2e8f0;
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.drp-header-left {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--color-navy);
  margin-bottom: 14px;
}
.drp-header-left .bi { font-size: 15px; }
.drp-presets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.drp-preset {
  display: block; width: 100%;
  padding: 8px 10px;
  border: none; background: none;
  border-radius: 5px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--color-navy); text-align: left;
  cursor: pointer; transition: background 0.12s;
}
.drp-preset:hover  { background: var(--color-light-gray); }
.drp-preset.active {
  background: rgba(15,23,42,0.07);
  font-weight: 600;
}

/* Right pane — calendars */
.drp-pane-right {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 20px 20px 16px;
}
.drp-cals {
  display: flex; gap: 0; flex: 1;
}
.drp-cal { flex: 1; }
.drp-cal-divider {
  width: 1px; background: #e2e8f0;
  margin: 0 20px; flex-shrink: 0;
}

/* Calendar header */
.drp-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.drp-cal-title {
  font-size: 13px; font-weight: 700; color: var(--color-navy);
}
.drp-nav {
  border: none; background: none;
  color: var(--color-warm-gray);
  cursor: pointer; padding: 3px 5px; border-radius: 4px;
  font-size: 13px; line-height: 1;
  transition: background 0.12s, color 0.12s;
}
.drp-nav:hover { background: var(--color-light-gray); color: var(--color-navy); }

/* Day-of-week row */
.drp-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.drp-dow span {
  text-align: center;
  font-size: 11px; font-weight: 600;
  color: var(--color-warm-gray);
  padding: 4px 0;
}

/* Day grid */
.drp-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px 0;
}
.drp-day {
  border: none; background: none;
  font-family: inherit; font-size: 13px;
  color: var(--color-navy);
  padding: 0; height: 34px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 0;
  position: relative; transition: background 0.1s;
  z-index: 0;
}
.drp-day:hover:not(:disabled):not(.drp-day--sel) {
  background: var(--color-light-gray);
}
.drp-day--muted { color: #c8d0db; cursor: default; }

/* Today indicator */
.drp-day--today::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-teal);
}

/* Range highlight */
.drp-day--range {
  background: rgba(15,23,42,0.06);
  border-radius: 0;
}
.drp-day--range-start { border-radius: 50% 0 0 50%; }
.drp-day--range-end   { border-radius: 0 50% 50% 0; }

/* Selected (start / end) */
.drp-day--sel {
  background: var(--color-navy) !important;
  color: #fff !important;
  border-radius: 50%;
  font-weight: 600;
  z-index: 1;
}
.drp-day--sel.drp-day--range-start,
.drp-day--sel.drp-day--range-end {
  border-radius: 50%;
}

/* Footer */
.drp-footer {
  display: flex; justify-content: flex-end; align-items: center; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  margin-top: 14px;
}
.drp-cancel {
  border: 1px solid #cbd5e1; background: #fff;
  color: var(--color-navy);
  font-family: inherit; font-size: 13px; font-weight: 500;
  padding: 7px 20px; border-radius: 20px; cursor: pointer;
  transition: border-color 0.12s;
}
.drp-cancel:hover { border-color: var(--color-navy); }
.drp-apply {
  border: none;
  background: var(--color-navy); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 7px 22px; border-radius: 20px; cursor: pointer;
  transition: opacity 0.12s;
}
.drp-apply:hover { opacity: 0.88; }

@media (max-width: 720px) {
  .drp-popup { min-width: 0; flex-direction: column; left: 0; right: 0; }
  .drp-pane-left { width: 100%; border-right: none; border-bottom: 1px solid #e2e8f0; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .drp-presets { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .drp-cals { flex-direction: column; }
  .drp-cal-divider { width: 100%; height: 1px; margin: 12px 0; }
}

/* ═══════════════════════════════════════════════════════════
   Receipt Scan Zone
═══════════════════════════════════════════════════════════ */

.rcpt-zone {
  border: 1.5px dashed #CBD5E1;
  border-radius: 10px;
  background: #F8FAFC;
  margin-bottom: 4px;
  overflow: hidden;
  transition: border-color 0.14s, background 0.14s;
  cursor: pointer;
}
.rcpt-zone:hover, .rcpt-zone.rcpt-drag {
  border-color: var(--color-teal);
  background: rgba(16,185,129,0.04);
}

/* Idle state */
.rcpt-idle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  min-height: 88px;
}
.rcpt-idle > i {
  font-size: 30px;
  color: var(--color-teal);
  flex-shrink: 0;
}
.rcpt-idle-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
}
.rcpt-idle-sub {
  font-size: 12px;
  color: var(--color-warm-gray);
  line-height: 1.3;
}
.rcpt-idle .btn-ghost-sm {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12px;
}

/* Loading state */
.rcpt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  font-size: 13px;
  color: var(--color-warm-gray);
}

/* Result state */
.rcpt-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
}
.rcpt-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}
.rcpt-result-info {
  flex: 1;
  min-width: 0;
}
.rcpt-result-ok {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-teal);
}
.rcpt-result-ok i { font-size: 14px; flex-shrink: 0; }
.rcpt-result-warn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-amber);
}
.rcpt-result-warn i { font-size: 14px; flex-shrink: 0; }
.rcpt-remove {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--color-warm-gray);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.12s, background 0.12s;
}
.rcpt-remove:hover { color: var(--color-soft-red); background: rgba(239,68,68,0.08); }

/* Metadata panel */
.rcpt-meta-panel {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rcpt-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  width: fit-content;
}
.rcpt-meta-agency {
  background: rgba(16,185,129,0.1);
  color: var(--color-teal);
}
.rcpt-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
}
.rcpt-meta-label {
  color: var(--color-warm-gray);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}
.rcpt-meta-label i { font-size: 12px; }
.rcpt-meta-val {
  color: var(--color-navy);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

/* Divider */
.rcpt-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 16px;
  color: var(--color-warm-gray);
  font-size: 11px;
}
.rcpt-divider::before,
.rcpt-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

/* ═══════════════════════════════════════════════════════════
   Landing Page
═══════════════════════════════════════════════════════════ */

/* ── Base ── */
.lp-body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--color-navy);
  background: var(--color-cream);
}

/* ── Scroll-reveal ── */
.lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.lp-reveal--visible {
  opacity: 1;
  transform: none;
}

/* ── Navbar ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-navy);
  transition: box-shadow 0.2s;
}
.lp-nav--scrolled {
  box-shadow: 0 2px 16px rgba(15,23,42,0.22);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 12px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
  flex: 1;
}
.lp-nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.12s, background 0.12s;
}
.lp-nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lp-nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ── Buttons ── */
.lp-btn-solid {
  display: inline-flex;
  align-items: center;
  background: var(--color-teal);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.14s, transform 0.12s;
}
.lp-btn-solid:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }
.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.22);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.14s, color 0.14s;
}
.lp-btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
.lp-btn-lg { font-size: 15px; padding: 12px 28px; }

/* ── Mobile menu ── */
.lp-hamburger {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 16px 16px;
  background: var(--color-navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 2px;
}
.lp-mobile-menu.open { display: flex; }
.lp-mobile-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.12s;
}
.lp-mobile-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lp-mobile-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
.lp-mobile-cta .lp-btn-ghost { color: rgba(255,255,255,0.8); justify-content: center; }
.lp-mobile-cta .lp-btn-solid { justify-content: center; }

/* ── Section common ── */
.lp-section { padding: 88px 0; }
.lp-section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.lp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 10px;
}
.lp-eyebrow--light { color: var(--color-amber); }
.lp-section-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  color: var(--color-navy);
}
.lp-title--light { color: #fff; }
.lp-section-sub {
  font-size: 15px;
  color: var(--color-warm-gray);
  line-height: 1.65;
  margin: 0;
}

/* ── Hero ── */
.lp-hero {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}
.lp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 64px;
}
.lp-hero-text { color: #fff; }
.lp-hero-text .lp-eyebrow { color: var(--color-amber); }
.lp-hero-headline {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #fff;
  margin: 12px 0 20px;
}
.lp-hero-accent { color: var(--color-teal); }
.lp-hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}
.lp-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-hero-cta .lp-btn-ghost { color: rgba(255,255,255,0.75); }
.lp-hero-note { font-size: 12px; color: rgba(255,255,255,0.38); margin-top: 14px; margin-bottom: 0; }
.lp-hero-wave { display: block; line-height: 0; margin-top: -1px; }
.lp-hero-wave svg { width: 100%; height: 60px; display: block; }

/* ── Dashboard mockup ── */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-dashboard-mock {
  width: 100%;
  max-width: 360px;
  background: #1E2D45;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.lp-mock-topbar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-mock-body { padding: 20px; }
.lp-mock-stat { margin-bottom: 12px; }
.lp-mock-stat-label { font-size: 11px; color: rgba(255,255,255,0.42); margin-bottom: 2px; }
.lp-mock-stat-value { font-size: 18px; font-weight: 700; color: #fff; }
.lp-mock-stat-value.teal { color: var(--color-teal); }
.lp-mock-stat-value.amber { color: var(--color-amber); }
.lp-mock-progress-wrap { margin-bottom: 10px; }
.lp-mock-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.lp-mock-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.lp-mock-bar > div { height: 100%; background: var(--color-teal); border-radius: 3px; }
.lp-mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.lp-mock-bar-v {
  flex: 1;
  background: var(--color-teal);
  border-radius: 4px 4px 0 0;
  opacity: 0.55;
}

/* ── Features ── */
.lp-features-section { background: #fff; }
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-feature-card {
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #fff;
  transition: box-shadow 0.18s, transform 0.18s;
}
.lp-feature-card:hover { box-shadow: 0 6px 24px rgba(15,23,42,0.08); transform: translateY(-3px); }
.lp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.lp-feature-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.lp-feature-desc { font-size: 13.5px; color: var(--color-warm-gray); line-height: 1.6; margin: 0; }

/* ── About ── */
.lp-about-section { background: var(--color-cream); }
.lp-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lp-about-text .lp-section-title { margin-top: 8px; }
.lp-about-para { font-size: 15px; color: var(--color-warm-gray); line-height: 1.7; margin-bottom: 14px; }

/* ── About graphic ── */
.lp-about-graphic {
  position: relative;
  width: 300px;
  height: 300px;
  margin: auto;
}
.lp-about-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-teal);
}
.lp-about-ring--outer { width: 280px; height: 280px; opacity: 0.12; }
.lp-about-ring--mid   { width: 200px; height: 200px; opacity: 0.22; }
.lp-about-ring--inner {
  width: 110px; height: 110px;
  background: var(--color-navy);
  border-color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--color-teal);
}
.lp-about-badge {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-about-badge--teal { background: var(--color-teal); color: #fff; bottom: 44px; left: -8px; }
.lp-about-badge--amber { background: var(--color-amber); color: #fff; top: 50px; right: -12px; }

/* ── Mission / Vision ── */
.lp-mv-section { background: var(--color-navy); }
.lp-mv-section .lp-section-sub { color: rgba(255,255,255,0.55); }
.lp-mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-mv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 28px;
  transition: background 0.18s;
}
.lp-mv-card:hover { background: rgba(255,255,255,0.08); }
.lp-mv-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(16,185,129,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--color-teal);
  margin-bottom: 20px;
}
.lp-mv-title { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.lp-mv-body { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.68; margin: 0; }

/* ── Stats ── */
.lp-stats-section { background: var(--color-teal); padding: 56px 0; }
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.lp-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.lp-stat-label { font-size: 13px; color: rgba(255,255,255,0.72); font-weight: 500; }

/* ── Contact ── */
.lp-contact-section { background: #fff; }
.lp-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.lp-contact-sub { font-size: 15px; color: var(--color-warm-gray); line-height: 1.65; margin-top: 12px; }
.lp-contact-info { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.lp-contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-navy);
}
.lp-contact-info-item i { font-size: 18px; color: var(--color-teal); }
.lp-contact-form-wrap {
  background: var(--color-cream);
  border-radius: 14px;
  padding: 32px;
}
.lp-form-group { margin-bottom: 16px; }
.lp-form-label { font-size: 12.5px; font-weight: 600; color: var(--color-navy); display: block; margin-bottom: 6px; }
.lp-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--color-navy);
  background: #fff;
  outline: none;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.lp-form-input:focus { border-color: var(--color-teal); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.lp-form-textarea { resize: vertical; min-height: 100px; }
.lp-form-note { }

/* ── CTA Banner ── */
.lp-cta-banner {
  background: var(--color-navy);
  padding: 80px 0;
}
.lp-cta-title { font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.5px; }
.lp-cta-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 28px; }

/* ── Footer ── */
.lp-footer {
  background: #0A1120;
  padding: 28px 0;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-footer-links { display: flex; gap: 4px; flex-wrap: wrap; }
.lp-footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 5px;
  transition: color 0.12s;
}
.lp-footer-link:hover { color: rgba(255,255,255,0.82); }
.lp-footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-mv-grid { grid-template-columns: 1fr 1fr; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .lp-about-inner { grid-template-columns: 1fr; gap: 48px; }
  .lp-about-graphic { margin: 0 auto; }
  .lp-contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { display: none; }
  .lp-hero-headline { font-size: 38px; }
}

@media (max-width: 640px) {
  .lp-section { padding: 60px 0; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-mv-grid { grid-template-columns: 1fr; }
  .lp-stats-grid { grid-template-columns: 1fr 1fr; }
  .lp-hero-headline { font-size: 32px; }
  .lp-section-title { font-size: 26px; }
  .lp-hero-cta { flex-direction: column; align-items: flex-start; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; }
  .lp-cta-title { font-size: 26px; }
  .lp-contact-form-wrap { padding: 20px; }
}
}
