/* ===== Accessibility Widget — die-morgenlage.de ===== */

/* Toggle button in nav */
.a11y-toggle {
  background: none;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  border-color: var(--primary);
  background: rgba(232,114,12,0.06);
}
.a11y-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Panel */
.a11y-panel {
  position: fixed;
  top: 70px;
  right: 1rem;
  width: 320px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.a11y-panel-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.a11y-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.a11y-panel-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.a11y-panel-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted, #6b7280);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.a11y-panel-close:hover { background: rgba(0,0,0,0.05); }
.a11y-panel-body { padding: 0.75rem 1rem 1rem; }
.a11y-group {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #f0f0f0);
}
.a11y-group:last-child { border-bottom: none; margin-bottom: 0; }
.a11y-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Font size controls */
.a11y-font-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.a11y-font-value {
  min-width: 3rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

/* Buttons */
.a11y-btn {
  background: var(--bg-muted, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.a11y-btn:hover { border-color: var(--primary, #e8720c); background: rgba(232,114,12,0.06); }
.a11y-btn-active {
  background: var(--primary, #e8720c) !important;
  color: #fff !important;
  border-color: var(--primary, #e8720c) !important;
}
.a11y-btn-sm { padding: 0.35rem 0.5rem; font-size: 0.78rem; }
.a11y-btn-reset {
  width: 100%;
  background: none;
  border: 1px dashed var(--border, #d1d5db);
  color: var(--text-muted, #6b7280);
  font-size: 0.8rem;
}
.a11y-btn-reset:hover { border-color: var(--primary); color: var(--primary); }

/* Contrast & motion rows */
.a11y-contrast-controls,
.a11y-toggle-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.a11y-contrast-controls .a11y-btn,
.a11y-toggle-row .a11y-btn { flex: 1; }
.a11y-reset-group { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* ===== HIGH CONTRAST MODE ===== */
.a11y-contrast-high {
  --bg: #fff;
  --text: #000;
  --text-muted: #333;
  --border: #000;
  --card-bg: #fff;
  --primary: #b84400;
}
.a11y-contrast-high body {
  background: #fff !important;
  color: #000 !important;
}
.a11y-contrast-high .nav,
.a11y-contrast-high .footer {
  background: #fff !important;
  border-color: #000 !important;
}
.a11y-contrast-high a { color: #00008b !important; text-decoration: underline !important; }
.a11y-contrast-high a:visited { color: #551a8b !important; }
.a11y-contrast-high .btn-primary,
.a11y-contrast-high .a11y-btn-active {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #000 !important;
}
.a11y-contrast-high .btn { border: 2px solid #000 !important; }
.a11y-contrast-high img { filter: contrast(1.2); }
.a11y-contrast-high .article-card,
.a11y-contrast-high .pricing-card,
.a11y-contrast-high .dash-org-card {
  border: 2px solid #000 !important;
  background: #fff !important;
}
.a11y-contrast-high .topic-chip {
  border: 2px solid #000 !important;
  color: #000 !important;
}
.a11y-contrast-high .topic-chip.active {
  background: #000 !important;
  color: #fff !important;
}
.a11y-contrast-high ::placeholder { color: #555 !important; }
.a11y-contrast-high input,
.a11y-contrast-high select,
.a11y-contrast-high textarea {
  border: 2px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}

/* ===== DARK MODE ===== */
.a11y-contrast-dark {
  --bg: #1a1a2e;
  --text: #e0e0e0;
  --text-muted: #a0a0b0;
  --border: #333355;
  --card-bg: #242442;
  --primary: #f5a623;
  --bg-muted: #2a2a48;
}
.a11y-contrast-dark body {
  background: #1a1a2e !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .nav {
  background: #1e1e36 !important;
  border-bottom-color: #333355 !important;
}
.a11y-contrast-dark .footer {
  background: #151528 !important;
  color: #a0a0b0 !important;
}
.a11y-contrast-dark a { color: #f5a623 !important; }
.a11y-contrast-dark .btn-primary {
  background: linear-gradient(135deg, #c44e1a, #e8720c, #f5a623) !important;
  color: #fff !important;
}
.a11y-contrast-dark .article-card,
.a11y-contrast-dark .pricing-card,
.a11y-contrast-dark .dash-org-card {
  background: #242442 !important;
  border-color: #333355 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .hero { background: #1e1e36 !important; }
.a11y-contrast-dark .search-box {
  background: #242442 !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .search-box input { color: #e0e0e0 !important; }
.a11y-contrast-dark .search-box input::placeholder { color: #888 !important; }
.a11y-contrast-dark .autocomplete-list {
  background: #242442 !important;
  border-color: #444466 !important;
}
.a11y-contrast-dark .autocomplete-item { color: #e0e0e0 !important; }
.a11y-contrast-dark .autocomplete-item:hover,
.a11y-contrast-dark .autocomplete-item.selected { background: #333355 !important; }
.a11y-contrast-dark input,
.a11y-contrast-dark select,
.a11y-contrast-dark textarea {
  background: #2a2a48 !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark ::placeholder { color: #777 !important; }
.a11y-contrast-dark .topic-chip {
  background: #2a2a48 !important;
  border-color: #444466 !important;
  color: #ccc !important;
}
.a11y-contrast-dark .topic-chip.active {
  background: #e8720c !important;
  color: #fff !important;
}
.a11y-contrast-dark .card-summary,
.a11y-contrast-dark .card-reason { color: #b0b0c0 !important; }
.a11y-contrast-dark .tag { background: #333355 !important; color: #ccc !important; }
.a11y-contrast-dark .a11y-panel { background: #242442 !important; border-color: #444466 !important; }
.a11y-contrast-dark .a11y-btn { background: #2a2a48 !important; border-color: #444466 !important; color: #e0e0e0 !important; }
.a11y-contrast-dark .a11y-btn:hover { border-color: #f5a623 !important; }
.a11y-contrast-dark .a11y-group { border-bottom-color: #333355 !important; }
.a11y-contrast-dark .page-section { background: #1a1a2e !important; }
.a11y-contrast-dark .section-title,
.a11y-contrast-dark h1, .a11y-contrast-dark h2, .a11y-contrast-dark h3 { color: #f0f0f0 !important; }
.a11y-contrast-dark .legal-content { background: #1a1a2e !important; color: #d0d0d0 !important; }

/* ===== REDUCED MOTION ===== */
.a11y-reduce-motion *,
.a11y-reduce-motion *::before,
.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* ===== ENHANCED FOCUS ===== */
.a11y-focus-enhanced *:focus-visible {
  outline: 3px solid #e8720c !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(232,114,12,0.25) !important;
}

/* ===== Respect OS preferences ===== */
@media (prefers-reduced-motion: reduce) {
  html:not(.a11y-reduce-motion) *,
  html:not(.a11y-reduce-motion) *::before,
  html:not(.a11y-reduce-motion) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  html:not(.a11y-contrast-high):not(.a11y-contrast-dark) {
    --border: #666;
  }
  html:not(.a11y-contrast-high):not(.a11y-contrast-dark) .article-card,
  html:not(.a11y-contrast-high):not(.a11y-contrast-dark) .pricing-card {
    border-width: 2px;
  }
}

/* Mobile panel */
@media (max-width: 400px) {
  .a11y-panel {
    right: 0.5rem;
    width: calc(100vw - 1rem);
    top: 66px;
  }
}

/* ===== CLS Prevention ===== */

/* Reserve space for Lucide icons before they render */
.step-icon i,
.feature-icon i,
.usecase-icon i {
  width: 34px;
  height: 34px;
  display: block;
}

/* Fixed dimensions for steps grid to prevent layout shift */
.steps-grid {
  min-height: 220px;
}

.step {
  min-height: 200px;
}

.step-arrow {
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

/* Prevent nav CLS from auth state toggle */
.nav-links {
  min-height: 40px;
}

/* Reserve space for trust bar items (animated in with delay) */
.trust-bar {
  min-height: 24px;
}

/* Prevent CLS from hero badge animation */
.hero-badge {
  min-height: 36px;
}

/* ===== HIGH CONTRAST — Dashboard & Auth ===== */
.a11y-contrast-high .dash-org-card,
.a11y-contrast-high .dash-settings,
.a11y-contrast-high .dash-report-item {
  border: 2px solid #000 !important;
  background: #fff !important;
}
.a11y-contrast-high .dash-org-icon {
  background: #fff !important;
  border: 2px solid #000 !important;
}
.a11y-contrast-high .dash-setting-row {
  border-bottom-color: #000 !important;
}
.a11y-contrast-high .dash-greeting,
.a11y-contrast-high .dash-section-title,
.a11y-contrast-high .dash-org-name,
.a11y-contrast-high .dash-report-title {
  color: #000 !important;
}
.a11y-contrast-high .dash-press-status {
  border: 2px solid #000 !important;
}
.a11y-contrast-high .auth-card {
  border: 2px solid #000 !important;
  background: #fff !important;
}
.a11y-contrast-high .form-group input {
  border: 2px solid #000 !important;
}
.a11y-contrast-high .auth-message--error {
  border: 2px solid #dc2626 !important;
}
.a11y-contrast-high .auth-message--success {
  border: 2px solid #16a34a !important;
}
.a11y-contrast-high .reports-chip {
  border: 2px solid #000 !important;
}
.a11y-contrast-high .reports-chip.active {
  background: #000 !important;
  color: #fff !important;
}
.a11y-contrast-high .dash-banner {
  border: 2px solid #000 !important;
}
.a11y-contrast-high .faq-item {
  border: 2px solid #000 !important;
}
.a11y-contrast-high .report-toolbar-v2 {
  border: 2px solid #000 !important;
}
.a11y-contrast-high .cta-bar {
  border: 2px solid #000 !important;
  background: #fff !important;
}

/* ===== DARK MODE — Dashboard & Auth ===== */
.a11y-contrast-dark .dashboard-body,
.a11y-contrast-dark .auth-body {
  background: #1a1a2e !important;
}
.a11y-contrast-dark .dash {
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .dash-greeting {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .dash-greeting span {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .dash-org-card {
  background: #242442 !important;
  border-color: #333355 !important;
}
.a11y-contrast-dark .dash-org-header {
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .dash-org-icon {
  background: #2a2a48 !important;
  border-color: #444466 !important;
}
.a11y-contrast-dark .dash-org-name {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .dash-org-meta,
.a11y-contrast-dark .dash-press-stat,
.a11y-contrast-dark .dash-section-count,
.a11y-contrast-dark .dash-report-date,
.a11y-contrast-dark .dash-report-meta,
.a11y-contrast-dark .dash-setting-label {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .dash-section-title,
.a11y-contrast-dark .dash-report-title,
.a11y-contrast-dark .dash-setting-value {
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .dash-settings {
  background: #242442 !important;
  border-color: #333355 !important;
}
.a11y-contrast-dark .dash-setting-row {
  border-bottom-color: #333355 !important;
}
.a11y-contrast-dark .dash-report-item {
  background: #242442 !important;
  border-color: #333355 !important;
}
.a11y-contrast-dark .dash-report-item:hover {
  border-color: #f5a623 !important;
}
.a11y-contrast-dark .dash-banner {
  background: #2a2a48 !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .dash-banner--success {
  background: rgba(16,185,129,0.15) !important;
  border-color: rgba(16,185,129,0.3) !important;
}
.a11y-contrast-dark .dash-banner--warn {
  background: rgba(245,166,35,0.15) !important;
  border-color: rgba(245,166,35,0.3) !important;
}
.a11y-contrast-dark .dash-press-status {
  background: #2a2a48 !important;
  border-color: #444466 !important;
}
.a11y-contrast-dark .status-active {
  color: #34d399 !important;
}
.a11y-contrast-dark .status-trial {
  color: #f5a623 !important;
}
.a11y-contrast-dark .reports-chip {
  background: #2a2a48 !important;
  border-color: #444466 !important;
  color: #ccc !important;
}
.a11y-contrast-dark .reports-chip.active {
  background: #e8720c !important;
  color: #fff !important;
}
.a11y-contrast-dark .reports-search-input,
.a11y-contrast-dark .reports-sort-select {
  background: #2a2a48 !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .dash-date-range {
  background: #2a2a48 !important;
  border-color: #333355 !important;
}
.a11y-contrast-dark .date-range-inner input[type=date] {
  background: #1a1a2e !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .dash-empty {
  color: #a0a0b0 !important;
}

/* Auth pages dark mode */
.a11y-contrast-dark .auth-card {
  background: #242442 !important;
  border-color: #333355 !important;
}
.a11y-contrast-dark .auth-header h1 {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .auth-header p,
.a11y-contrast-dark .auth-footer,
.a11y-contrast-dark .auth-terms {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .form-group label {
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .form-group input {
  background: #1a1a2e !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .auth-message--error {
  background: rgba(220,38,38,0.15) !important;
  border-color: rgba(220,38,38,0.3) !important;
  color: #fca5a5 !important;
}
.a11y-contrast-dark .auth-message--success {
  background: rgba(16,185,129,0.15) !important;
  border-color: rgba(16,185,129,0.3) !important;
  color: #6ee7b7 !important;
}

/* Report page dark mode */
.a11y-contrast-dark .report-container {
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .report-header-main h2 {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .report-meta {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .report-toolbar-v2 {
  background: #242442 !important;
  border-color: #333355 !important;
}
.a11y-contrast-dark .selection-info {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .cta-bar {
  background: #2a2a48 !important;
  border-color: #444466 !important;
}
.a11y-contrast-dark .cta-bar-text {
  color: #ccc !important;
}
.a11y-contrast-dark .cta-bar-input {
  background: #1a1a2e !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}

/* Payment success dark mode */
.a11y-contrast-dark .success-page h1 {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .success-page .subtitle {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .success-steps {
  background: #242442 !important;
  border-color: #333355 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .success-icon {
  background: #2a2a48 !important;
}

/* Onboarding tour dark mode */
.a11y-contrast-dark #onboardingTooltip {
  background: #242442 !important;
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .tour-title {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .tour-text {
  color: #a0a0b0 !important;
}
.a11y-contrast-dark .tour-btn-prev {
  background: #2a2a48 !important;
  border-color: #444466 !important;
  color: #e0e0e0 !important;
}

/* Error/404 page */
.a11y-contrast-dark .error-page {
  color: #e0e0e0 !important;
}
.a11y-contrast-dark .error-title {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .error-text {
  color: #a0a0b0 !important;
}

/* Legal pages */
.a11y-contrast-dark .legal-content p,
.a11y-contrast-dark .legal-content li {
  color: #c0c0d0 !important;
}
.a11y-contrast-dark .legal-content td,
.a11y-contrast-dark .legal-content th {
  border-bottom-color: #333355 !important;
  color: #d0d0e0 !important;
}

/* Footer dark */
.a11y-contrast-dark .footer-bottom {
  border-top-color: #333355 !important;
}
.a11y-contrast-dark .footer-bottom p {
  color: #777 !important;
}
.a11y-contrast-dark .footer-col h4 {
  color: #888 !important;
}
.a11y-contrast-dark .footer-col a {
  color: #a0a0b0 !important;
}

/* ===== Password Reset Styling ===== */
.reset-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232,114,12,0.08), rgba(245,166,35,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(232,114,12,0.14);
}

.reset-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.reset-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16,185,129,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(16,185,129,0.15);
}

.reset-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.reset-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* Dark mode */
.a11y-contrast-dark .reset-icon-wrap {
  background: rgba(232,114,12,0.15) !important;
  border-color: rgba(232,114,12,0.25) !important;
}
.a11y-contrast-dark .reset-success-icon {
  background: rgba(16,185,129,0.15) !important;
  border-color: rgba(16,185,129,0.25) !important;
}
.a11y-contrast-dark .reset-success h3 {
  color: #f0f0f0 !important;
}
.a11y-contrast-dark .reset-success p {
  color: #a0a0b0 !important;
}

/* ===== Summary Expand/Collapse ===== */
.card-summary-collapsible {
  line-height: 1.6;
}
.summary-preview::after {
  content: " …";
  color: var(--text-muted, #777);
}
.summary-toggle {
  background: none;
  border: none;
  border-bottom: 1px dashed var(--text-muted, #999);
  color: var(--text-muted, #777);
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  margin-top: 0.35rem;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
  display: inline-block;
  line-height: 1.3;
}
.summary-toggle:hover,
.summary-toggle:focus-visible {
  color: var(--primary, #e8720c);
  border-color: var(--primary, #e8720c);
}
.summary-full {
  display: none;
}

/* Dark mode */
.a11y-contrast-dark .summary-toggle {
  color: #8a8a9a !important;
  border-color: #6a6a7a !important;
}
.a11y-contrast-dark .summary-toggle:hover,
.a11y-contrast-dark .summary-toggle:focus-visible {
  color: #f5a623 !important;
  border-color: #f5a623 !important;
}

/* High contrast */
.a11y-contrast-high .summary-toggle {
  color: #000 !important;
  border-bottom: 2px solid #000 !important;
}
.a11y-contrast-high .summary-toggle:hover {
  color: #00008b !important;
  border-color: #00008b !important;
}

/* ===== Date Range Hint ===== */
.dr-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
  padding: 0;
}

/* Tour buttons (must be sync-loaded — style.css loads async) */
#onboardingOverlay{position:fixed;inset:0;z-index:9998;background:rgba(0,0,0,.4)}
#onboardingSpotlight{position:fixed;z-index:9999;border-radius:12px;box-shadow:0 0 0 9999px rgba(0,0,0,.45);transition:all .3s ease;pointer-events:none}
#onboardingTooltip{position:fixed;z-index:10000;background:#fff;border-radius:14px;padding:1.25rem 1.5rem;max-width:340px;width:90vw;box-shadow:0 12px 40px rgba(0,0,0,.18);font-family:Inter,-apple-system,sans-serif}
.tour-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.tour-step-num{font-size:.72rem;font-weight:600;color:#e8720c;text-transform:uppercase;letter-spacing:.04em}
.tour-skip{background:none;border:1.5px solid #e5e7eb;font-size:.78rem;color:#6b7280;cursor:pointer;padding:.35rem .75rem;border-radius:8px;font-family:inherit}
.tour-skip:hover{color:#1a1a1a;border-color:#e8720c}
.tour-title{font-size:1rem;font-weight:700;color:#1a1a1a;margin:0 0 .4rem}
.tour-text{font-size:.85rem;color:#6b7280;line-height:1.55;margin:0 0 1rem}
.tour-buttons{display:flex;gap:.5rem;justify-content:flex-end}
.tour-btn-prev{padding:.5rem 1rem;border:1.5px solid #e5e7eb;border-radius:8px;background:#fff;color:#1a1a1a;font-size:.82rem;font-weight:600;cursor:pointer;font-family:inherit;min-height:44px}
.tour-btn-prev:hover{border-color:#e8720c;color:#e8720c}
.tour-btn-next{padding:.5rem 1.2rem;border:none;border-radius:8px;background:linear-gradient(135deg,#c44e1a 0%,#e8720c 40%,#f5a623 100%);color:#fff;font-size:.82rem;font-weight:700;cursor:pointer;font-family:inherit;box-shadow:0 2px 12px rgba(232,114,12,.25);min-height:44px;min-width:44px}
.tour-btn-next:hover{box-shadow:0 4px 16px rgba(232,114,12,.35)}
.tour-dots{display:flex;gap:4px;justify-content:center;margin-top:.75rem}
.tour-dot{height:6px;border-radius:3px;background:#e5e7eb}
.tour-dot--active{width:20px;background:#e8720c}
.tour-dot--inactive{width:6px}

/* ===== Report Tour (tour.src.js) — CSP-compliant, no dynamic <style> ===== */
#tour-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:8000;transition:opacity 0.3s}
#tour-spotlight{position:absolute;z-index:8001;border-radius:10px;box-shadow:0 0 0 9999px rgba(0,0,0,0.45);pointer-events:none;transition:all 0.35s cubic-bezier(.4,0,.2,1)}
#tour-tooltip{position:absolute;z-index:8002;background:#fff;border-radius:12px;padding:20px 22px 16px;max-width:320px;box-shadow:0 12px 40px rgba(0,0,0,0.18);font-family:inherit;transition:opacity 0.25s,transform 0.3s cubic-bezier(.4,0,.2,1)}
#tour-tooltip.entering{opacity:0;transform:translateY(8px)}
.tour-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tour-btn{padding:7px 16px;border-radius:7px;font-size:0.82rem;font-weight:600;cursor:pointer;border:none;font-family:inherit;transition:all 0.15s}
.tour-btn-primary{background:linear-gradient(135deg,#c44e1a 0%,#e8720c 40%,#f5a623 100%);color:#fff;box-shadow:0 2px 12px rgba(232,114,12,.25);min-height:44px;min-width:44px}
.tour-btn-primary:hover{box-shadow:0 4px 16px rgba(232,114,12,.35)}
.tour-btn-ghost{background:transparent;color:#9ca3af}
.tour-btn-ghost:hover{color:#6b7280}
.tour-btns{display:flex;gap:6px}
.tour-close{position:absolute;top:10px;right:12px;background:none;border:none;font-size:1.1rem;color:#9ca3af;cursor:pointer;padding:4px;line-height:1;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:6px}
.tour-close:hover{color:#6b7280;background:rgba(0,0,0,0.05)}
@media(max-width:500px){#tour-tooltip{max-width:calc(100vw - 32px);left:16px!important;right:16px!important}}

/* Auto dark mode via OS preference */
