[data-theme="taza"] {
  color-scheme: light;
  /* Primary: vibrant blue #2563eb */
  --p: 54.6% 0.215 262;
  --pf: 48.8% 0.200 262;
  --pc: 100% 0 0;
  /* Secondary: emerald #10b981 */
  --s: 66.6% 0.160 163;
  --sf: 58.0% 0.140 163;
  --sc: 100% 0 0;
  /* Accent: violet #7c3aed */
  --a: 49.1% 0.230 285;
  --af: 43.0% 0.200 285;
  --ac: 100% 0 0;
  /* Neutral: slate-700 */
  --n: 27.9% 0.016 265;
  --nf: 23.5% 0.013 265;
  --nc: 96.3% 0.003 265;
  /* Base: clean whites */
  --b1: 100% 0 0;
  --b2: 98.2% 0.003 248;
  --b3: 95.5% 0.008 251;
  --bc: 21.0% 0.020 265;
  /* Info: sky */
  --in: 68.5% 0.150 230;
  --inc: 100% 0 0;
  /* Success: emerald */
  --su: 66.6% 0.160 163;
  --suc: 100% 0 0;
  /* Warning: amber */
  --wa: 79.5% 0.170 75;
  --wac: 25% 0.050 75;
  /* Error: red */
  --er: 58.0% 0.200 27;
  --erc: 100% 0 0;
  /* Radius & animation */
  --rounded-box: 0.75rem;
  --rounded-btn: 0.5rem;
  --rounded-badge: 1.5rem;
  --animation-btn: 0.15s;
  --animation-input: 0.15s;
  --btn-focus-scale: 0.99;
  --border-btn: 1px;
  --tab-border: 1px;
  --tab-radius: 0.5rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Auth gradient */
.auth-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #7c3aed 100%);
}

/* Input focus glow */
.input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Navbar blur */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hide scrollbar but allow scroll */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* HTMX loading indicator */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: block;
}

/* HTMX swap fade */
.htmx-swapping {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
.htmx-settling {
  opacity: 1;
  transition: opacity 0.15s ease-in;
}

/* Provider summary markdown styling */
.provider-summary h1,
.provider-summary h2,
.provider-summary h3 {
  font-weight: 600;
  color: oklch(var(--bc));
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.provider-summary h1 { font-size: 1.25rem; }
.provider-summary h2 { font-size: 1.1rem; }
.provider-summary h3 { font-size: 1rem; }
.provider-summary p {
  color: oklch(var(--bc) / 0.7);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.provider-summary strong {
  color: oklch(var(--bc) / 0.85);
  font-weight: 600;
}
.provider-summary ul,
.provider-summary ol {
  margin: 0.5rem 0 1rem 0;
  padding-left: 1.25rem;
}
.provider-summary li {
  color: oklch(var(--bc) / 0.7);
  line-height: 1.6;
  margin-bottom: 0.375rem;
}
.provider-summary a {
  color: oklch(var(--p));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.provider-summary a:hover {
  color: oklch(var(--pf));
}

/* Print styles */
@media print {
  .nav-blur, #feedback-widget, .no-print, .modal, dialog,
  #brief-tabs, .dropdown { display: none !important; }
  main { padding: 0 !important; max-width: none !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rounded-xl { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  #brief-tab-content > div > div { break-inside: avoid; }
}

/* Presentation mode */
body.presentation-mode .nav-blur,
body.presentation-mode #feedback-widget,
body.presentation-mode .no-print {
  display: none !important;
}
body.presentation-mode main {
  max-width: none !important;
  padding: 2rem 3rem !important;
}
body.presentation-mode h1 { font-size: 1.75rem !important; }
body.presentation-mode h2 { font-size: 1.25rem !important; }
body.presentation-mode .text-3xl { font-size: 2.5rem !important; }
body.presentation-mode .text-2xl { font-size: 2rem !important; }
