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

:root {
  --sidebar-bg: #0F1D2E;
  --sidebar-width: 220px;
  --coral: #E85D3A;
  --coral-light: rgba(232,93,58,0.12);
  --coral-dark: #C94A2A;
  --teal: #22B8CF;
  --navy-mid: #1A2F45;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --bg: #F3F4F6;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── App layout ─────────────────────────────────────── */
.app { display: flex; height: 100vh; overflow: hidden; }

/* ── Sidebar ─────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  z-index: 10;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--sidebar-bg);
  flex-shrink: 0;
}
.brand-text {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: #fff; line-height: 1.3; text-transform: uppercase;
}
.brand-text span { display: block; opacity: 0.5; font-weight: 400; }

.sidebar-nav { flex: 1; padding: 12px 8px; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.55); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all 0.15s; text-decoration: none;
  margin-bottom: 2px; white-space: nowrap;
  border-left: 3px solid transparent;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-item.active {
  color: #fff; background: rgba(255,255,255,0.08);
  border-left-color: var(--coral);
}
.nav-item svg { flex-shrink: 0; opacity: 0.7; }
.nav-item.active svg { opacity: 1; }

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; border-top: 1px solid rgba(255,255,255,0.06);
}
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; color: #fff; }
.user-role { font-size: 11px; color: rgba(255,255,255,0.45); }

/* ── Main content ────────────────────────────────────── */
.main-content { flex: 1; overflow-y: auto; background: var(--bg); }

/* ── Topbar ──────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 5;
}
.topbar-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.topbar-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 1px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* ── Page content ────────────────────────────────────── */
.page { padding: 24px 28px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; transition: all 0.15s; text-decoration: none;
  line-height: 1.4; white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary { background: var(--card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 6px 10px; }
.btn-ghost:hover { background: var(--bg); color: var(--text-primary); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-icon { padding: 7px; border-radius: var(--radius-sm); }
.btn svg { width: 15px; height: 15px; }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.card-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Stats row ───────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.stat-sub { font-size: 12px; color: var(--coral); margin-top: 4px; font-weight: 500; }

/* ── Tags / Badges ───────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.badge-draft    { background: #FEF3C7; color: #92400E; }
.badge-ready    { background: #D1FAE5; color: #065F46; }
.badge-sent     { background: #F3F4F6; color: #6B7280; }
.badge-active   { background: #D1FAE5; color: #065F46; }
.badge-paused   { background: #FEF3C7; color: #92400E; }
.badge-new      { background: var(--coral-light); color: var(--coral); }

.client-tag {
  display: inline-block;
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
}

/* ── Activity list ───────────────────────────────────── */
.activity-list { display: flex; flex-direction: column; gap: 1px; }
.activity-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background 0.12s;
}
.activity-item:hover { background: var(--bg); }
.activity-left { display: flex; flex-direction: column; gap: 2px; }
.activity-name { font-size: 14px; font-weight: 500; }
.activity-desc { font-size: 12px; color: var(--text-secondary); }
.activity-right { display: flex; align-items: center; gap: 10px; }
.activity-time { font-size: 12px; color: var(--text-muted); }

/* ── Planner items ───────────────────────────────────── */
.planner-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--border-light); font-size: 13px;
}
.planner-item:last-child { border-bottom: none; }
.planner-due { font-size: 12px; color: var(--text-muted); margin-left: auto; }

/* ── Quick actions ───────────────────────────────────── */
.quick-actions { display: flex; flex-direction: column; gap: 8px; }
.quick-action {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); cursor: pointer; transition: all 0.12s;
  border: 1px solid transparent;
}
.quick-action:hover { background: var(--card); border-color: var(--coral); }
.quick-action-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.quick-action-label { font-size: 13.5px; font-weight: 500; }

/* ── Table ───────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 10px 14px; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); text-align: left;
  background: var(--bg); border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.04em;
}
tbody td { padding: 13px 14px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
tbody tr:hover td { background: #FAFAFA; cursor: pointer; }
tbody tr:last-child td { border-bottom: none; }

/* ── Search bar ──────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  min-width: 260px;
}
.search-bar input {
  border: none; outline: none; font-size: 14px; background: transparent;
  color: var(--text-primary); width: 100%;
}
.search-bar svg { color: var(--text-muted); flex-shrink: 0; }

/* ── Forms ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

input[type="text"], input[type="email"], input[type="number"],
select, textarea {
  width: 100%; padding: 9px 12px; font-size: 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--card); color: var(--text-primary);
  outline: none; transition: border-color 0.15s; font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--coral); }
textarea { resize: vertical; min-height: 80px; }

/* Radio-style option cards */
.option-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.option-card {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13.5px; transition: all 0.12s; background: var(--card);
}
.option-card:hover { border-color: var(--coral); }
.option-card.selected { border-color: var(--coral); background: var(--coral-light); color: var(--coral); font-weight: 600; }
.option-card input { display: none; }

/* Spectrum slider */
.spectrum-container { padding: 8px 0; }
.spectrum-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
input[type="range"] {
  width: 100%; -webkit-appearance: none; height: 6px;
  border-radius: 3px; background: linear-gradient(to right, #22B8CF, var(--border), var(--coral));
  border: none; outline: none; padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--coral);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2); cursor: pointer;
}
.spectrum-value { text-align: center; font-size: 13px; font-weight: 600; color: var(--coral); margin-top: 8px; }

/* ── Intake wizard ───────────────────────────────────── */
.wizard-shell {
  display: grid; grid-template-columns: 260px 1fr; height: calc(100vh - 65px);
}
.wizard-sidebar {
  background: var(--card); border-right: 1px solid var(--border);
  padding: 28px 20px;
}
.wizard-step-list { list-style: none; }
.wizard-step-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 10px 0;
}
.wizard-step-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; border: 2px solid var(--border);
  color: var(--text-muted);
}
.wizard-step-item.done .wizard-step-num { background: #D1FAE5; border-color: #10B981; color: #065F46; }
.wizard-step-item.active .wizard-step-num { background: var(--coral); border-color: var(--coral); color: #fff; }
.wizard-step-label { font-size: 13.5px; font-weight: 500; color: var(--text-muted); padding-top: 3px; line-height: 1.3; }
.wizard-step-item.active .wizard-step-label { color: var(--text-primary); font-weight: 600; }
.wizard-step-item.done .wizard-step-label { color: var(--text-secondary); }

.wizard-body { padding: 32px 40px; overflow-y: auto; }
.wizard-header { margin-bottom: 28px; }
.wizard-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.wizard-desc { font-size: 15px; color: var(--text-secondary); }
.wizard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border);
}

/* ── Brand buckets output ────────────────────────────── */
.buckets-grid { display: flex; flex-direction: column; gap: 16px; }
.bucket-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bucket-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.bucket-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--coral);
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bucket-title { font-size: 14px; font-weight: 700; }
.bucket-theme { font-size: 12px; color: var(--text-muted); }
.bucket-statements { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.bucket-statement {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--bg); font-size: 13.5px; line-height: 1.5;
  cursor: pointer; transition: all 0.12s;
}
.bucket-statement:hover { background: var(--coral-light); }
.bucket-statement-num { font-size: 11px; font-weight: 700; color: var(--text-muted); min-width: 16px; padding-top: 2px; }

/* ── Client profile tabs ─────────────────────────────── */
.profile-header {
  background: var(--card); border-bottom: 1px solid var(--border);
  padding: 20px 28px 0;
}
.profile-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.profile-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.profile-name { font-size: 18px; font-weight: 700; }
.profile-loc { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

.tabs { display: flex; gap: 0; border-top: 1px solid var(--border); }
.tab {
  padding: 11px 18px; font-size: 13.5px; font-weight: 500;
  color: var(--text-secondary); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.12s;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--coral); border-bottom-color: var(--coral); }

.tab-content { padding: 24px 28px; }

/* ── Generator layout ────────────────────────────────── */
.generator-layout {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  height: calc(100vh - 65px);
}
.generator-panel {
  overflow-y: auto; padding: 24px 20px;
  border-right: 1px solid var(--border); background: var(--card);
}
.generator-output { overflow-y: auto; padding: 24px; background: var(--bg); }

.archetype-cards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.archetype-card {
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); cursor: pointer; transition: all 0.12s;
}
.archetype-card:hover { border-color: var(--coral); }
.archetype-card.selected { border-color: var(--coral); background: var(--coral-light); }
.archetype-card-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.archetype-card-desc { font-size: 12px; color: var(--text-secondary); }

/* Ad preview */
.ad-preview {
  background: var(--card); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border); font-size: 14px; line-height: 1.6;
  max-width: 560px;
}
.ad-hook { font-size: 15px; font-weight: 700; margin-bottom: 14px; line-height: 1.4; }
.ad-bullets { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.ad-bullet { display: flex; align-items: flex-start; gap: 8px; }
.ad-bullet-icon { color: var(--coral); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.ad-disqualifier { font-style: italic; color: var(--text-secondary); margin-bottom: 12px; font-size: 13px; }
.ad-cta { font-weight: 600; color: var(--coral); margin-bottom: 20px; }
.ad-section { margin-bottom: 18px; }
.ad-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.ad-headline-item { padding: 7px 10px; background: var(--bg); border-radius: 4px; margin-bottom: 5px; font-size: 13.5px; font-weight: 500; }
.ad-banner {
  background: var(--sidebar-bg); color: #fff; border-radius: 6px;
  padding: 12px 16px; font-size: 13px; line-height: 1.6;
}
.ad-banner strong { display: block; font-size: 14px; font-weight: 700; }

/* Email preview */
.email-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.email-type-card {
  padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  cursor: pointer; transition: all 0.12s;
}
.email-type-card:hover { border-color: var(--coral); }
.email-type-card.selected { border-color: var(--coral); background: var(--coral-light); }
.email-type-name { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.email-type-desc { font-size: 12px; color: var(--text-secondary); }

.email-preview {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; max-width: 600px;
}
.email-preview-header { padding: 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
.email-subject { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.email-meta { font-size: 12px; color: var(--text-muted); }
.email-body { padding: 20px; font-size: 14px; line-height: 1.7; color: var(--text-primary); }
.email-body p { margin-bottom: 10px; line-height: 1.65; }
.email-body .email-cta { color: var(--coral); font-weight: 600; }

/* Voice rules checklist */
.voice-rules { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.voice-rule { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; background: var(--bg); border-radius: var(--radius-sm); font-size: 12.5px; }
.voice-rule-icon { font-size: 14px; flex-shrink: 0; }

/* ── Planner views ───────────────────────────────────── */
.planner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.planner-col-header {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--border);
}
.planner-task {
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--border);
  margin-bottom: 8px; font-size: 13px; cursor: pointer;
  transition: box-shadow 0.12s;
}
.planner-task:hover { box-shadow: var(--shadow-md); }
.planner-task-label { font-weight: 600; margin-bottom: 3px; }
.planner-task-sub { font-size: 12px; color: var(--text-secondary); }

.monthly-grid { display: grid; grid-template-columns: 120px repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.monthly-cell {
  background: var(--card); padding: 12px 14px; font-size: 13px; min-height: 80px;
}
.monthly-row-label { background: var(--bg); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); display: flex; align-items: flex-start; padding-top: 14px; }
.monthly-col-header { background: var(--bg); text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); padding: 10px; min-height: unset; }
.monthly-task { font-size: 12.5px; padding: 5px 8px; border-radius: 4px; margin-bottom: 4px; background: var(--coral-light); color: var(--coral); font-weight: 500; }

/* ── Account health ──────────────────────────────────── */
.health-score-ring { text-align: center; padding: 24px; }
.health-score-number { font-size: 48px; font-weight: 800; color: var(--coral); }
.health-score-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.health-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.health-category { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.health-cat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.health-cat-title { font-size: 13.5px; font-weight: 600; }
.health-cat-score { font-size: 13px; font-weight: 700; color: var(--coral); }
.health-check { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; cursor: pointer; }
.health-check:last-child { border-bottom: none; }
.health-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--coral); cursor: pointer; }

/* ── Two-col dashboard layout ────────────────────────── */
.dash-cols { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }

/* ── Content idea generator ──────────────────────────── */
.bucket-content-gen {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
}
.content-gen-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.content-gen-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap;
}
.content-type-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.content-type-btn {
  padding: 4px 10px; border-radius: 4px; border: 1.5px solid var(--border);
  background: var(--card); font-size: 12px; font-weight: 500;
  cursor: pointer; color: var(--text-secondary); transition: all 0.12s;
}
.content-type-btn:hover { border-color: var(--coral); color: var(--coral); }
.content-type-btn.active { border-color: var(--coral); background: var(--coral); color: #fff; }
.content-ideas-output { margin-top: 10px; }
.content-ideas-list { display: flex; flex-direction: column; gap: 5px; }
.content-idea-item {
  padding: 9px 12px; background: var(--card); border-radius: var(--radius-sm);
  border: 1px solid var(--border); cursor: pointer; transition: all 0.12s;
}
.content-idea-item:hover { border-color: var(--coral); background: var(--coral-light); }
.content-idea-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 3px;
}
.content-idea-text { font-size: 13px; line-height: 1.5; color: var(--text-primary); }

/* ── Empty state ─────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { margin-bottom: 12px; opacity: 0.35; }
.empty-state p { font-size: 14px; margin-top: 8px; }

/* ── Section heading ─────────────────────────────────── */
.section-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

/* ── Divider ─────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ── Modal ───────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center; z-index: 100;
}
.modal {
  background: var(--card); border-radius: var(--radius-lg);
  width: 500px; max-width: 95vw; max-height: 85vh;
  display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--text-muted); padding: 4px; border-radius: 4px; }
.modal-close:hover { background: var(--bg); }
.modal-body { padding: 22px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }

/* ── Utilities ───────────────────────────────────────── */
.flex { display: flex; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.text-sm { font-size: 13px; } .text-xs { font-size: 12px; } .text-muted { color: var(--text-muted); }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.text-coral { color: var(--coral); }
.w-full { width: 100%; }
