:root {
  /* Soft, warm light palette */
  --bg-base: #fefcfb;
  --bg-soft: #fdf8f6;
  --bg-card: #ffffff;
  --bg-input: #faf8fc;

  --border-light: rgba(0, 0, 0, 0.06);
  --border-accent: rgba(236, 72, 153, 0.2);

  --text-primary: #1f1f23;
  --text-secondary: #64616b;
  --text-tertiary: #9d99a5;

  /* Soft feminine gradient */
  --accent-pink: #ec4899;
  --accent-purple: #a855f7;
  --accent-blue: #818cf8;
  --gradient-soft: linear-gradient(135deg, #f472b6 0%, #c084fc 50%, #818cf8 100%);
  --gradient-subtle: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 50%, #e0e7ff 100%);

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --shadow-soft: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px -8px rgba(236, 72, 153, 0.15);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ============================================
   Animations
   ============================================ */

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: calc(400px + 100%) 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes funnelGrow {
  from { width: 0; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes copiedPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes tabUnderlineSlide {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

/* ============================================
   Loading Skeletons
   ============================================ */

.skeleton {
  background: linear-gradient(90deg, #f3f0f7 25%, #e8e4ed 37%, #f3f0f7 63%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-container {
  animation: fadeIn 0.3s ease;
}

.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.skeleton-title {
  height: 28px;
  width: 180px;
}

.skeleton-badge {
  height: 24px;
  width: 60px;
  border-radius: var(--radius-sm);
}

.skeleton-actions {
  display: flex;
  gap: 0.75rem;
}

.skeleton-btn {
  height: 34px;
  width: 100px;
  border-radius: var(--radius-sm);
}

.skeleton-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skeleton-stat-card {
  background: var(--gradient-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.skeleton-stat-value {
  height: 36px;
  width: 70px;
  margin: 0 auto 0.5rem;
  border-radius: 6px;
}

.skeleton-stat-label {
  height: 14px;
  width: 80px;
  margin: 0 auto;
  border-radius: 4px;
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.skeleton-card-title {
  height: 20px;
  width: 160px;
  margin-bottom: 1rem;
}

.skeleton-funnel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skeleton-funnel-step {
  height: 40px;
  flex: 1;
  border-radius: var(--radius-sm);
}

.skeleton-table-row {
  display: flex;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-light);
}

.skeleton-table-row:last-child {
  border-bottom: none;
}

.skeleton-table-cell {
  height: 16px;
  border-radius: 4px;
  flex: 1;
}

.skeleton-table-cell:first-child {
  flex: 2;
}

.skeleton-embed {
  height: 80px;
  border-radius: var(--radius-sm);
}

/* ============================================
   Header
   ============================================ */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.5s ease both;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Staggered entrance for dashboard sections */
.dashboard-section {
  opacity: 0;
  animation: fadeInUp 0.5s ease both;
}

.dashboard-section:nth-child(1) { animation-delay: 0.05s; }
.dashboard-section:nth-child(2) { animation-delay: 0.12s; }
.dashboard-section:nth-child(3) { animation-delay: 0.19s; }
.dashboard-section:nth-child(4) { animation-delay: 0.26s; }
.dashboard-section:nth-child(5) { animation-delay: 0.33s; }
.dashboard-section:nth-child(6) { animation-delay: 0.4s; }

/* ============================================
   Stats Grid
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--gradient-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.5s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: countUp 0.4s ease both;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.4rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.stat-trend.up {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.stat-trend.down {
  color: var(--error);
  background: rgba(239, 68, 68, 0.1);
}

.stat-trend.neutral {
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.04);
}

/* Sparkline */
.sparkline {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.sparkline svg {
  overflow: visible;
}

.stat-card.success .stat-value {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card.warning .stat-value {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card.error .stat-value {
  background: linear-gradient(135deg, #ef4444, #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card.primary .stat-value {
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   Funnel — Visual Bar Style
   ============================================ */

.funnel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

.funnel-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.funnel-bar-label {
  min-width: 70px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
}

.funnel-bar-track {
  flex: 1;
  height: 36px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.funnel-bar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  position: relative;
  min-width: 0;
}

.funnel-bar-fill.views {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.funnel-bar-fill.focuses {
  background: linear-gradient(135deg, #c084fc, #a855f7);
}

.funnel-bar-fill.submits {
  background: linear-gradient(135deg, #818cf8, #6366f1);
}

.funnel-bar-value {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.funnel-bar-pct {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.funnel-bar-row .funnel-tooltip {
  display: none;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  background: var(--text-primary);
  color: white;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.funnel-bar-row:hover .funnel-tooltip {
  display: block;
}

/* ============================================
   Table
   ============================================ */

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.8rem;
  user-select: none;
}

th.sortable {
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  padding-right: 1.5rem;
}

th.sortable:hover {
  color: var(--text-primary);
}

.sort-indicator {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  line-height: 0.6;
}

th.sortable.asc .sort-indicator .sort-asc,
th.sortable.desc .sort-indicator .sort-desc {
  color: var(--accent-pink);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background-color 0.15s ease;
}

tbody tr:nth-child(even) {
  background: rgba(253, 248, 246, 0.5);
}

tbody tr:hover td {
  background: var(--bg-soft);
}

.truncate {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Row actions */
.row-actions {
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  gap: 0.25rem;
}

tr:hover .row-actions {
  opacity: 1;
}

.row-action-btn {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
}

.row-action-btn:hover {
  background: var(--gradient-subtle);
  border-color: var(--border-accent);
  color: var(--accent-pink);
}

/* Pagination */
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
}

.pagination-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--border-accent);
  color: var(--accent-pink);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pagination-btn.active {
  background: var(--gradient-soft);
  border-color: transparent;
  color: white;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-display);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--gradient-soft);
  color: white;
  box-shadow: 0 2px 8px -2px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(236, 72, 153, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--border-accent);
}

.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
}

/* Copy button animation */
.btn.copied {
  animation: copiedPop 0.3s ease;
  background: var(--success);
  color: white;
  border-color: transparent;
}

/* ============================================
   Forms
   ============================================ */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================
   Embed Code — Syntax Highlighting
   ============================================ */

.embed-section {
  position: relative;
}

.embed-code {
  background: #1e1b2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.82rem;
  overflow-x: auto;
  white-space: pre;
  position: relative;
  color: #c9c5d9;
  line-height: 1.6;
}

.embed-code .tag { color: #f472b6; }
.embed-code .attr { color: #c084fc; }
.embed-code .string { color: #818cf8; }
.embed-code .comment { color: #6b6780; font-style: italic; }

.embed-code .copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.embed-preview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.embed-preview-toggle:hover {
  border-color: var(--border-accent);
  color: var(--accent-pink);
}

.embed-preview {
  margin-top: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--bg-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.embed-preview-placeholder {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* ============================================
   Tabs — Animated Underline
   ============================================ */

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  position: relative;
  border-bottom: 2px solid var(--border-light);
}

.tab {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.tab:hover {
  color: var(--text-primary);
}

.tab.active {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-soft);
  animation: tabUnderlineSlide 0.3s ease both;
  transform-origin: left;
}

/* Tab content transition */
.tab-content {
  animation: fadeIn 0.25s ease;
}

/* ============================================
   Empty State
   ============================================ */

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.empty-state-illustration {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.empty-state-illustration svg {
  width: 100%;
  height: 100%;
}

.empty-state h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.empty-state p {
  margin: 0 0 1.5rem;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.empty-state .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================
   Login View
   ============================================ */

.login-container {
  max-width: 400px;
  margin: 4rem auto;
  animation: fadeInUp 0.5s ease both;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

.login-header p {
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   Loading (fallback)
   ============================================ */

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

/* ============================================
   Mode Badge
   ============================================ */

.mode-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.mode-badge.email {
  background: rgba(236, 72, 153, 0.1);
  color: var(--accent-pink);
}

.mode-badge.phone {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
  animation: fadeIn 0.3s ease both;
}

.breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--accent-pink);
}

.breadcrumb-separator {
  color: var(--border-light);
  font-size: 0.7rem;
}

.breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Settings Panel
   ============================================ */

.settings-panel {
  border-top: 1px solid var(--border-light);
  margin-top: 1rem;
  padding-top: 1rem;
  animation: fadeIn 0.25s ease;
}

.settings-panel h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.setting-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.setting-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.setting-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.setting-input:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.08);
}

.color-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.color-swatch input[type="color"] {
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  margin: -6px;
}

.settings-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.settings-toggle-btn:hover {
  border-color: var(--border-accent);
  color: var(--accent-pink);
}

.settings-note {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .funnel-bar-label {
    min-width: 50px;
    font-size: 0.75rem;
  }

  .funnel-bar-fill {
    padding: 0 0.5rem;
  }

  .table-pagination {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .pagination-controls {
    justify-content: center;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}
