/* ============================================================================
 * fleet-solutions/shared  
 * Base scope tokens, light-surface island whitelist, dark-card overrides, table-cell colors.
 * ---------------------------------------------------------------------------
 * Extracted from the original monolithic fleet-solutions.css during the
 * Phase B (Feb 2026) refactor. Imports are orchestrated by
 * /app/frontend/src/styles/fleet-solutions/index.css.
 * ========================================================================== */

/* Scope-level token overrides — the fleet solutions marketing page is
   intentionally a premium dark experience regardless of the site-wide theme
   toggle. Section surfaces, hero, and forms are all designed with white
   text on dark surfaces. */
.fleet-solutions-page {
  --surface: #1e293b;
  --surface-elevated: #1f2937;
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --background: #0f172a;

  min-height: 100vh;
  background: var(--background);
  color: var(--text-primary);
}

/* Nested light-surface islands need to RESET text-color tokens back to LIGHT
   values so that any descendant using var(--text-muted) / var(--text-primary)
   renders dark-on-white instead of white-on-white.
   NOTE: For "dark text on white" we now use `color: var(--text-on-light)`
   (defined in design-tokens.css) instead of the previous `var(--surface)`
   trick. The semantic name makes the intent obvious and prevents the
   dark-on-dark bug class from reappearing.
   Whitelist is auto-derived from every CSS rule in fleet-solutions.css that
   sets `background: white/#fff/light-tint/…`. Keep in sync when new cards
   are added. */
.fleet-solutions-page .calculator-assumptions,
.fleet-solutions-page .calculator-card,
.fleet-solutions-page .case-study-card,
.fleet-solutions-page .category-card,
.fleet-solutions-page .commitment,
.fleet-solutions-page .contact-card,
.fleet-solutions-page .csa-badge,
.fleet-solutions-page .csa-detail-card,
.fleet-solutions-page .cvsa-2025-update,
.fleet-solutions-page .cvsa-alert-box,
.fleet-solutions-page .cvsa-badge,
.fleet-solutions-page .cvsa-section,
.fleet-solutions-page .detail-row,
.fleet-solutions-page .dot-physical-card,
.fleet-solutions-page .fatigue-crash-card,
.fleet-solutions-page .financial-badge,
.fleet-solutions-page .financial-impact-section,
.fleet-solutions-page .fmcsa-intro,
.fleet-solutions-page .fmcsa-resources,
.fleet-solutions-page .fmcsa-state-info,
.fleet-solutions-page .fmcsa-updates,
.fleet-solutions-page .fuel-economy-table-wrapper,
.fleet-solutions-page .fuel-impact-table-wrapper,
.fleet-solutions-page .health-conditions-section,
.fleet-solutions-page .highlight-bad,
.fleet-solutions-page .insurance-card,
.fleet-solutions-page .level-card,
.fleet-solutions-page .maintenance-table-wrapper,
.fleet-solutions-page .oos-table-wrapper,
.fleet-solutions-page .osa-stat-card,
.fleet-solutions-page .pricing-card,
.fleet-solutions-page .pricing-note,
.fleet-solutions-page .problem-icon,
.fleet-solutions-page .problem-item,
.fleet-solutions-page .problem-section,
.fleet-solutions-page .problem-solution,
.fleet-solutions-page .quick-metrics,
.fleet-solutions-page .research-disclaimer,
.fleet-solutions-page .risk-badge,
.fleet-solutions-page .risk-multiplier,
.fleet-solutions-page .roi-preview,
.fleet-solutions-page .roi-table-wrapper,
.fleet-solutions-page .source-card,
.fleet-solutions-page .state-table-wrapper,
.fleet-solutions-page .takeaways-section,
.fleet-solutions-page .threshold,
.fleet-solutions-page .wellness-outcome-card,
.fleet-solutions-page .wellness-tie,
.fleet-solutions-page .workers-comp-table-wrapper {
  --text-primary: #1F2937;
  --text-secondary: #4a4a4a;
  --text-muted: #4B5563;
  --border: #E5E7EB;
  /* Darker success green (#047857 = ~5:1 on the tinted-green card backgrounds
     that appear inside these light-surface islands). Passes WCAG-AA where
     the default --success (#059669) only gave 3.59:1. */
  --success: #047857;
  color: var(--text-primary);
}

/* Explicit table-cell colors — the .fuel-impact-table / .maintenance-table
   td rules only style right-column values via specific classes (.mpg-impact,
   .cost-increase, .behavior-cause). The Component / Normal Life /
   Aggressive Life columns had no color rule and were inheriting white from
   the .fleet-solutions-page scope — invisible on the white table body. */
.fleet-solutions-page .fuel-impact-table td,
.fleet-solutions-page .maintenance-table td,
.fleet-solutions-page .fuel-economy-table td,
.fleet-solutions-page .fuel-impact-table tbody,
.fleet-solutions-page .maintenance-table tbody,
.fleet-solutions-page .fuel-economy-table tbody {
  color: #1F2937;
}

/* Dark-surface CARD islands — the fleet page has cards & section-headers
   sitting on a dark navy background (#1e293b). Any inner text using
   `var(--text-on-light)` (dark) would be invisible here, so we force
   `var(--text-on-dark)` (white) for these specific nodes. This keeps the
   dark-on-light / light-on-dark contract explicit via semantic tokens
   instead of hardcoded hex — no more dark-on-dark bug class. */
.fleet-solutions-page .case-studies-section .section-header h2,
.fleet-solutions-page .csa-details-section .section-header h2,
.fleet-solutions-page .medical-details-section .section-header h2,
.fleet-solutions-page .research-section .section-header h2,
.fleet-solutions-page .takeaway-card h3,
.fleet-solutions-page .takeaway-card ul,
.fleet-solutions-page .takeaway-card li,
.fleet-solutions-page .conditions-table thead th,
.fleet-solutions-page .cost-table thead th,
.fleet-solutions-page .workers-comp-table thead th,
.fleet-solutions-page .maintenance-table thead th,
.fleet-solutions-page .fuel-economy-table thead th,
.fleet-solutions-page .fuel-impact-table thead th,
.fleet-solutions-page .oos-violations-table thead th,
.fleet-solutions-page .detailed-table thead th,
.fleet-solutions-page .bp-table thead th,
.fleet-solutions-page .csa-detail-header h3,
.fleet-solutions-page .summary-card .summary-stat,
.fleet-solutions-page .summary-card .summary-label,
.fleet-solutions-page .dot-physical-section > h3,
.fleet-solutions-page .bp-guidelines-section > h3,
.fleet-solutions-page .sleep-apnea-section > h3,
.fleet-solutions-page .maintenance-cost-section > h3,
.fleet-solutions-page .fatigue-crash-section > h3,
.fleet-solutions-page .fuel-economy-section > h3,
.fleet-solutions-page .wellness-outcomes-section > h3,
.fleet-solutions-page .research-category h3,
.fleet-solutions-page .bp-table td.stage,
.fleet-solutions-page .calculator-results .result-row > span,
.fleet-solutions-page .calculator-results .result-row .result-value {
  color: var(--text-on-dark);
}

.fleet-solutions-page .fuel-impact-table .life-normal,
.fleet-solutions-page .fuel-impact-table .normal-life,
.fleet-solutions-page .maintenance-table .life-normal,
.fleet-solutions-page .maintenance-table .normal-life {
  color: #15803d; /* forest green — supports the "positive"/normal-life column */
  font-weight: 600;
}

.fleet-solutions-page .fuel-impact-table .life-aggressive,
.fleet-solutions-page .fuel-impact-table .aggressive-life,
.fleet-solutions-page .maintenance-table .life-aggressive,
.fleet-solutions-page .maintenance-table .aggressive-life {
  color: #b91c1c; /* danger red — supports the "aggressive"/damage column */
  font-weight: 600;
}

/* .pricing-note sits below the pricing cards, on the light bottom half of
   the gradient section — restore an explicit dark grey text. */
.fleet-solutions-page .pricing-note {
  color: #64748b;
}


/* Section share widget — sits beneath the section-header text so
   decision-makers can email or link-share a specific stat card / ROI
   block / case study straight to their CFO. Compact variant fits the
   existing header rhythm without adding vertical clutter. */
.fleet-solutions-page .section-share {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.fleet-solutions-page .section-share .social-share__trigger {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  color: var(--text-on-dark, #fff);
}

.fleet-solutions-page .section-share .social-share__trigger:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Sections rendered on a light background (industry-stats, financial-impact) */
.fleet-solutions-page .industry-stats-section .section-share .social-share__trigger,
.fleet-solutions-page .financial-impact-section .section-share .social-share__trigger,
.fleet-solutions-page .case-studies-section .section-share .social-share__trigger {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.14);
  color: #1f2937;
}

.fleet-solutions-page .industry-stats-section .section-share .social-share__trigger:hover,
.fleet-solutions-page .financial-impact-section .section-share .social-share__trigger:hover,
.fleet-solutions-page .case-studies-section .section-share .social-share__trigger:hover {
  background: rgba(15, 23, 42, 0.08);
}

/* Contact method rendered as <button> (Schedule a Call opens the modal
   instead of dialing a placeholder number). Strip button chrome so it
   inherits the anchor visual treatment already used in .contact-method. */
.fleet-solutions-page .contact-method--button {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fleet-solutions-page .contact-method--button:hover {
  text-decoration: underline;
}

/* The fleet page overrides --surface to dark, which would make the
   SocialShare dropdown menu render as dark-on-dark. Pin the menu to a
   light palette here so shares stay legible. */
.fleet-solutions-page .section-share .social-share__menu {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.fleet-solutions-page .section-share .social-share__item {
  color: #0f172a;
}

.fleet-solutions-page .section-share .social-share__item:hover {
  background: rgba(15, 23, 42, 0.06);
}

/* ============================================================================
 * fleet-solutions/hero  
 * Hero section: badge, headline, subheadline, stats-grid preview, CTAs, background.
 * ---------------------------------------------------------------------------
 * Extracted from the original monolithic fleet-solutions.css during the
 * Phase B (Feb 2026) refactor. Imports are orchestrated by
 * /app/frontend/src/styles/fleet-solutions/index.css.
 * ========================================================================== */

/* Hero Section */
.fleet-hero {
  background: linear-gradient(135deg, var(--hhc-blue) 0%, var(--background) 100%);
  padding: 120px 0 80px;
  color: white;
}

.fleet-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.fleet-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-item svg {
  color: var(--success);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--success) 0%, var(--success) 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}


/* ============================================================================
 * fleet-solutions/stats  
 * Problem section, industry case studies, takeaways, quick metrics, industry stats, tabs, health conditions.
 * ---------------------------------------------------------------------------
 * Extracted from the original monolithic fleet-solutions.css during the
 * Phase B (Feb 2026) refactor. Imports are orchestrated by
 * /app/frontend/src/styles/fleet-solutions/index.css.
 * ========================================================================== */

/* Problem Section */
.problem-section {
  padding: 80px 0;
  background: #fef2f2;
}

.problem-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.problem-icon {
  width: 80px;
  height: 80px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--danger);
}

.problem-section h2 {
  font-size: 2rem;
  color: var(--text-on-light);
  margin-bottom: 40px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
}

.problem-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.problem-stat {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 8px;
}

.problem-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.problem-solution {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--success);
  text-align: left;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Case Studies */
.case-studies-section {
  padding: 100px 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-on-light);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.case-study-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.case-study-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-study-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--surface-elevated);
}

.case-study-logo {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 12px;
}

.case-study-title h3 {
  font-size: 1.25rem;
  color: var(--text-on-light);
  margin: 0;
}

.program-name {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.expand-btn {
  margin-left: auto;
  background: var(--surface-elevated);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.expand-btn:hover {
  background: var(--border);
}

.case-study-highlights {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.highlight-item svg {
  color: var(--success);
  color: var(--accent-color, var(--success));
  flex-shrink: 0;
  margin-top: 2px;
}

.case-study-details {
  padding: 20px;
  border-top: 1px solid var(--surface-elevated);
  background: #fafafa;
}

.detail-section {
  margin-bottom: 20px;
}

.detail-section h4 {
  font-size: 0.9rem;
  color: var(--text-on-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.results-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.result-item svg {
  color: var(--success);
  color: var(--accent-color, var(--success));
  flex-shrink: 0;
  margin-top: 4px;
}

.result-item strong {
  display: block;
  color: var(--text-on-light);
  margin-bottom: 4px;
}

.result-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Takeaways */
.takeaways-section {
  padding: 100px 0;
  background: white;
}

.takeaways-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-on-light);
  margin-bottom: 60px;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 32px;
  gap: 32px;
}

.takeaway-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
}

.takeaway-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.takeaway-icon.fuel { background: linear-gradient(135deg, var(--warning), var(--warning)); }
.takeaway-icon.safety { background: linear-gradient(135deg, var(--info), #1d4ed8); }
.takeaway-icon.roi { background: linear-gradient(135deg, var(--success), var(--success)); }

.takeaway-card h3 {
  font-size: 1.25rem;
  color: var(--text-on-light);
  margin-bottom: 16px;
}

.takeaway-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.takeaway-card li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.takeaway-card li:last-child {
  border-bottom: none;
}

/* Quick metrics on case study cards */
.quick-metrics {
  display: flex;
  justify-content: space-around;
  padding: 12px 16px;
  background: #f0fdf4;
  border-top: 1px solid var(--border);
}

.quick-metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--success);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.fleet-info-bar {
  display: flex;
  gap: 24px;
  padding: 12px 16px;
  background: var(--surface-elevated);
  border-radius: 8px;
  margin-bottom: 16px;
}

.fleet-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fleet-info-item svg {
  color: var(--success);
  color: var(--accent-color, var(--success));
}

.study-source {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #e0f2fe;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #0369a1;
}

.study-source svg {
  flex-shrink: 0;
}

.source-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0369a1;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.source-link:hover {
  color: var(--hhc-blue);
}

/* Industry Statistics Section */
.industry-stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--hhc-blue) 0%, var(--background) 100%);
}

.industry-stats-section .section-header {
  color: white;
}

.industry-stats-section .section-header h2 {
  color: white;
}

.industry-stats-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.stats-badge {
  background: rgba(34, 197, 94, 0.2) !important;
  color: var(--success) !important;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat-number-large {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: 8px;
}

.stat-description {
  color: white;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 12px;
}

.stat-source {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Stats Tabs */
.stats-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.stats-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stats-tab:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.stats-tab.active {
  /* Darker green (#047857) for the active-tab bg passes 4.5:1 with white
     text; the default --success (#059669) only cleared 3.76:1. */
  background: #047857;
  border-color: #047857;
  color: white;
}

.stat-card.highlight-green {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.15);
}

.stat-card.highlight-red {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.15);
}

.stat-card.highlight-red .stat-number-large {
  color: var(--danger);
}

/* Health Conditions Section */
.health-conditions-section {
  padding: 100px 0;
  background: white;
}

.health-badge {
  background: #fce7f3 !important;
  /* Darker pink (#9D174D) passes 7:1 on #fce7f3 vs the previous #db2777 (3.91:1). */
  color: #9D174D !important;
}

.conditions-table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.conditions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.conditions-table thead {
  background: linear-gradient(135deg, var(--hhc-blue) 0%, var(--background) 100%);
}

.conditions-table th {
  padding: 16px 20px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.conditions-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

.conditions-table tbody tr:hover {
  background: var(--surface);
}

.conditions-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
}

.condition-name {
  font-weight: 600;
  color: var(--text-on-light);
}

.rate-high {
  color: var(--danger);
  font-weight: 700;
  font-size: 1rem;
}

.rate-normal {
  color: var(--text-muted);
}

.risk-multiplier {
  font-weight: 700;
  color: var(--warning);
  background: #fffbeb;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.impact-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.conditions-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.summary-card {
  background: linear-gradient(135deg, var(--danger) 0%, #991b1b 100%);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  color: white;
}

.summary-stat {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.summary-label {
  font-size: 0.9rem;
  opacity: 0.9;
}


/* ============================================================================
 * fleet-solutions/oos  
 * CSA Details, Out-of-Service data, detailed data tables, seasonal patterns.
 * ---------------------------------------------------------------------------
 * Extracted from the original monolithic fleet-solutions.css during the
 * Phase B (Feb 2026) refactor. Imports are orchestrated by
 * /app/frontend/src/styles/fleet-solutions/index.css.
 * ========================================================================== */

/* CSA Details Section */
.csa-details-section {
  padding: 100px 0;
  background: var(--surface);
}

.csa-badge {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.csa-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.csa-detail-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.csa-detail-header {
  background: linear-gradient(135deg, var(--hhc-blue) 0%, #334155 100%);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.csa-detail-header h3 {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}

.threshold-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.csa-detail-body {
  padding: 20px;
}

.detail-row {
  margin-bottom: 16px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-value {
  color: var(--text-on-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.detail-row.health-link {
  background: #f0fdf4;
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
}

.detail-row.health-link .detail-label {
  color: var(--success);
}

.detail-row.health-link .detail-value {
  color: var(--hhc-forest);
}

/* OOS Data Section */
.oos-data-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
}

.oos-data-section .section-header {
  color: white;
}

.oos-data-section .section-header h2 {
  color: white;
}

.oos-data-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.oos-badge {
  background: rgba(239, 68, 68, 0.2) !important;
  color: var(--danger) !important;
}

.oos-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 48px;
}

.oos-stat-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.oos-stat-card.large {
  padding: 32px;
}

.oos-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 8px;
}

.oos-stat-card.large .oos-stat-number {
  font-size: 2.5rem;
}

.oos-stat-label {
  display: block;
  color: white;
  font-size: 0.85rem;
  line-height: 1.4;
}

.oos-stat-source {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 8px;
}

.oos-violations-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.oos-violations-section h3 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.oos-violations-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
}

.oos-violations-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.oos-violations-table thead {
  background: rgba(255, 255, 255, 0.1);
}

.oos-violations-table th {
  padding: 14px 20px;
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.oos-violations-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.oos-violations-table td {
  padding: 16px 20px;
  color: white;
  font-size: 0.9rem;
}

.violation-name {
  font-weight: 500;
}

.violation-count {
  font-weight: 700;
  color: var(--danger);
}

.category-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-tag.health {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.category-tag.fatigue {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.category-tag.license {
  background: rgba(59, 130, 246, 0.2);
  color: var(--info);
}

.health-yes {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}

.health-no {
  color: var(--text-muted);
}

.roadcheck-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.roadcheck-section h3 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.roadcheck-stats {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 32px;
  gap: 32px;
  align-items: start;
}

.roadcheck-main-stat {
  background: linear-gradient(135deg, var(--danger), #991b1b);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.main-stat-number {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: white;
}

.main-stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.roadcheck-breakdown h4 {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.roadcheck-category {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  border-left: 3px solid var(--danger);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.category-name {
  color: white;
  font-weight: 600;
}

.category-percentage {
  color: var(--danger);
  font-weight: 700;
}

.category-description {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.violation-detail {
  display: block;
  color: var(--warning);
  font-size: 0.8rem;
  margin-top: 8px;
  font-weight: 500;
}

.health-linked-section {
  margin-bottom: 40px;
}

.health-linked-section h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.health-linked-section .section-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 800px;
}

.health-linked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.health-linked-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.health-linked-icon {
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  margin-bottom: 16px;
}

.health-linked-card h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.trigger-section, .impact-section {
  margin-bottom: 12px;
}

.trigger-label, .impact-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.trigger-text {
  color: var(--warning);
  font-size: 0.9rem;
}

.impact-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.oos-highlight-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 40px;
}

.highlight-icon {
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--info);
  flex-shrink: 0;
}

.highlight-content h4 {
  color: var(--info);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.highlight-content p {
  color: var(--border);
  line-height: 1.7;
  margin-bottom: 16px;
}

.highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--info);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.highlight-link:hover {
  color: var(--info);
}

.oos-sources-section {
  margin-bottom: 40px;
}

.oos-sources-section h3 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.oos-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.oos-source-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.oos-source-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.source-type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.oos-source-card.primary .source-type-badge {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.oos-source-card.health .source-type-badge {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.oos-source-card.analysis .source-type-badge {
  background: rgba(59, 130, 246, 0.2);
  color: var(--info);
}

.oos-source-card.historical .source-type-badge {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.oos-source-card h4 {
  color: white;
  margin-bottom: 8px;
  font-size: 1rem;
}

.oos-source-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.source-link-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
}

.historical-trend-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.historical-trend-box svg {
  color: #a78bfa;
  flex-shrink: 0;
}

.historical-trend-box h4 {
  color: #a78bfa;
  margin-bottom: 8px;
}

.historical-trend-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Detailed Data Sections */
.detailed-data-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 16px;
  margin-top: 40px;
}

.detailed-data-section h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.detailed-data-section .section-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detailed-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
}

.detailed-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.detailed-table thead {
  background: rgba(255, 255, 255, 0.1);
}

.detailed-table th {
  padding: 14px 16px;
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.detailed-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detailed-table td {
  padding: 14px 16px;
  color: white;
  font-size: 0.9rem;
}

.code-cell {
  font-family: monospace;
  color: var(--warning);
  font-weight: 600;
}

.count-cell {
  font-weight: 700;
  color: var(--danger);
}

.percent-cell {
  color: var(--text-muted);
}

.severity-badge {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.state-cell {
  font-weight: 600;
}

.rate-cell {
  color: var(--warning);
}

/* Seasonal Patterns */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.seasonal-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.seasonal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.seasonal-header h4 {
  color: white;
  font-size: 1rem;
  margin: 0;
}

.intensity-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.intensity-badge.very-high {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.intensity-badge.high {
  background: rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.intensity-badge.moderate {
  background: rgba(59, 130, 246, 0.3);
  color: var(--info);
}

.intensity-badge.elevated {
  background: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.focus-areas {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.oos-increase {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.oos-increase span {
  color: var(--danger);
  font-weight: 700;
}


/* ============================================================================
 * fleet-solutions/financial  
 * Financial Impact, Insurance, Workers Comp, Medical Details, BP Guidelines, OSA, Fatigue, Fuel Impact, Wellness Outcomes.
 * ---------------------------------------------------------------------------
 * Extracted from the original monolithic fleet-solutions.css during the
 * Phase B (Feb 2026) refactor. Imports are orchestrated by
 * /app/frontend/src/styles/fleet-solutions/index.css.
 * ========================================================================== */

/* Financial Impact Section */
.financial-impact-section {
  padding: 100px 0;
  background: white;
}

.financial-badge {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.cost-table-section {
  margin-bottom: 48px;
}

.cost-table-section h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.cost-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.cost-table thead {
  background: linear-gradient(135deg, var(--hhc-blue) 0%, var(--background) 100%);
}

.cost-table th {
  padding: 16px 20px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}

.cost-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.cost-table tbody tr:hover {
  background: var(--surface);
}

.cost-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
}

.violation-type {
  font-weight: 600;
  color: var(--text-on-light);
}

.cost-direct {
  /* Darker amber (#B45309) gives ~4.5:1 on white vs default --warning
     (#D97706) which only clears 3.18:1. */
  color: #B45309;
}

.cost-indirect {
  color: var(--danger);
}

.cost-total {
  font-weight: 700;
  color: var(--danger);
}

.cost-description {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Insurance Section */
.insurance-section {
  margin-bottom: 48px;
}

.insurance-section h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.insurance-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.insurance-card.positive {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.insurance-card.negative {
  background: #fef2f2;
  border-color: #fecaca;
}

.insurance-card h4 {
  font-size: 1rem;
  color: var(--text-on-light);
  margin-bottom: 16px;
}

.premium-impact, .annual-impact {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.impact-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.impact-value {
  font-weight: 700;
  font-size: 0.95rem;
}

.impact-value.savings {
  color: var(--success);
}

.impact-value.increase {
  /* Darker red (#B91C1C = ~5.2:1 on #fef2f2 bg) — default --danger (#DC2626)
     only cleared 4.41:1 which just misses WCAG-AA. */
  color: #B91C1C;
}

.impact-notes {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 8px;
  font-style: italic;
}

/* Workers Comp Section */
.workers-comp-section h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.workers-comp-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.workers-comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.workers-comp-table thead {
  background: linear-gradient(135deg, var(--danger) 0%, #991b1b 100%);
}

.workers-comp-table th {
  padding: 16px 20px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}

.workers-comp-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.workers-comp-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
}

.injury-type {
  font-weight: 600;
  color: var(--text-on-light);
}

.frequency {
  color: var(--danger);
  font-weight: 700;
}

.claim-amount {
  /* Darker amber (#B45309 = ~4.6:1 on white) — same rationale as .cost-direct. */
  color: #B45309;
  font-weight: 600;
}

.lost-days {
  color: var(--text-muted);
}

.prevention {
  color: var(--success);
  font-size: 0.85rem;
}

/* Medical Details Section */
.medical-details-section {
  padding: 100px 0;
  background: var(--surface);
}

.medical-detail-badge {
  background: #fce7f3 !important;
  color: #be185d !important;
}

.dot-physical-section {
  margin-bottom: 48px;
}

.dot-physical-section h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.dot-physical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.dot-physical-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.dot-physical-card h4 {
  font-size: 1.1rem;
  color: var(--text-on-light);
  margin-bottom: 16px;
}

.pass-fail-bar {
  display: flex;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pass-bar {
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.fail-bar {
  background: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.common-failures {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* BP Guidelines */
.bp-guidelines-section {
  margin-bottom: 48px;
}

.bp-guidelines-section h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.bp-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.bp-table thead {
  background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}

.bp-table th {
  padding: 16px 20px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}

.bp-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.bp-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
}

.bp-table .stage {
  font-weight: 600;
  color: var(--text-on-light);
}

.risk-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.risk-badge.low {
  background: #dcfce7;
  color: var(--hhc-forest);
}

.risk-badge.moderate {
  background: #fef3c7;
  color: #92400e;
}

.risk-badge.high {
  background: #fee2e2;
  color: #991b1b;
}

.risk-badge.severe {
  background: var(--surface);
  color: white;
}

/* OSA Details */
.osa-details-section h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

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

.osa-stat-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.osa-metric {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.osa-value {
  font-size: 1.5rem;
  font-weight: 800;
  /* .sleep-apnea-card sits on the page's dark bg (#1e293b) — use a lighter
     pink (#F9A8D4 = ~7:1 on dark) for legibility instead of the previous
     #BE185D which only cleared 2.42:1. */
  color: #F9A8D4;
  margin-bottom: 4px;
}

.osa-comparison {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.osa-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Fatigue & Behavior Section */
.fatigue-behavior-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--warning) 0%, var(--warning) 100%);
}

.fatigue-behavior-section .section-header {
  color: white;
}

.fatigue-behavior-section .section-header h2 {
  color: white;
}

.fatigue-behavior-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

.fatigue-badge {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.fatigue-crash-section {
  margin-bottom: 48px;
}

.fatigue-crash-section h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.fatigue-crash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.fatigue-crash-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.crash-time {
  color: var(--text-on-light);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--warning);
}

.crash-risk {
  margin-bottom: 12px;
}

.crash-risk .risk-multiplier {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--danger);
}

.crash-percentage {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.fatigue-indicator {
  /* Darker amber (#B45309) for AA-compliant contrast on the white
     fatigue-crash-card body. */
  color: #B45309;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
}

/* Fuel Impact Tables */
.fuel-impact-section, .maintenance-impact-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.fuel-impact-section h3, .maintenance-impact-section h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.fuel-impact-table-wrapper, .maintenance-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  background: white;
}

.fuel-impact-table, .maintenance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.fuel-impact-table thead, .maintenance-table thead {
  background: linear-gradient(135deg, var(--warning) 0%, var(--warning) 100%);
}

.fuel-impact-table th, .maintenance-table th {
  padding: 14px 16px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}

.fuel-impact-table tbody tr, .maintenance-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.fuel-impact-table td, .maintenance-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
}

.behavior-name, .component-name {
  font-weight: 600;
  color: var(--text-on-light);
}

.mpg-impact {
  color: var(--danger);
  font-weight: 600;
}

.annual-cost, .cost-increase {
  color: var(--danger);
  font-weight: 700;
}

.health-link, .behavior-cause {
  color: var(--success);
  font-size: 0.85rem;
}

.life-normal {
  color: var(--success);
}

.life-aggressive {
  color: var(--danger);
}

/* Wellness Outcomes */
.wellness-outcomes-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.wellness-outcomes-section h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.wellness-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.wellness-outcome-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wellness-outcome-card h4 {
  font-size: 1.1rem;
  color: var(--text-on-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--success);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 16px;
}

.outcome-item {
  display: flex;
  flex-direction: column;
}

.outcome-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.outcome-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-light);
}

.outcome-value.highlight {
  color: var(--success);
  font-size: 1.25rem;
}

.outcome-notes {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.outcome-notes p {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.outcome-notes p:last-child {
  margin-bottom: 0;
}


/* ============================================================================
 * fleet-solutions/calculator  
 * Research, FMCSA, CVSA, Pricing, ROI Calculator, Contact, Responsive breakpoints.
 * ---------------------------------------------------------------------------
 * Extracted from the original monolithic fleet-solutions.css during the
 * Phase B (Feb 2026) refactor. Imports are orchestrated by
 * /app/frontend/src/styles/fleet-solutions/index.css.
 * ========================================================================== */

/* Research Section */
.research-section {
  padding: 100px 0;
  background: var(--surface);
}

.research-badge {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}

.research-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 32px;
  gap: 32px;
  margin-bottom: 40px;
}

.research-category h3 {
  font-size: 1.25rem;
  color: var(--text-on-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--success);
}

.sources-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.3s ease;
}

.source-card:hover {
  border-color: var(--success);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
  transform: translateX(4px);
}

.source-info h4 {
  font-size: 1rem;
  color: var(--text-on-light);
  margin: 0 0 4px;
}

.source-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.source-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.source-card:hover .source-arrow {
  color: var(--success);
  transform: translateX(4px);
}

.research-disclaimer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: #fffbeb;
  border-radius: 12px;
  border: 1px solid #fef3c7;
}

.research-disclaimer svg {
  color: var(--warning);
  flex-shrink: 0;
  margin-top: 2px;
}

.research-disclaimer p {
  margin: 0;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FMCSA Section */
.fmcsa-section {
  padding: 100px 0;
  background: var(--surface);
}

.fmcsa-overview {
  max-width: 1100px;
  margin: 0 auto;
}

.fmcsa-intro {
  background: white;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.fmcsa-intro h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 16px;
}

.fmcsa-intro p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.highlight-good {
  background: #dcfce7;
  color: var(--success);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.highlight-bad {
  background: #fee2e2;
  color: var(--danger);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.fmcsa-categories {
  margin-bottom: 40px;
}

.fmcsa-categories h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.category-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}

.category-icon.unsafe { background: linear-gradient(135deg, var(--danger), var(--danger)); }
.category-icon.hos { background: linear-gradient(135deg, var(--warning), var(--warning)); }
.category-icon.fitness { background: linear-gradient(135deg, #ec4899, #db2777); }
.category-icon.maintenance { background: linear-gradient(135deg, var(--info), var(--info)); }
.category-icon.substances { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.category-icon.crash { background: linear-gradient(135deg, var(--text-muted), var(--text-muted)); }

.category-card h4 {
  font-size: 1.1rem;
  color: var(--text-on-light);
  margin-bottom: 8px;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.threshold {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.fmcsa-updates {
  background: white;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.fmcsa-updates h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.update-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.update-item svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.update-item strong {
  display: block;
  color: var(--text-on-light);
  margin-bottom: 4px;
}

.update-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.fmcsa-wellness-connection {
  background: linear-gradient(135deg, var(--hhc-blue) 0%, var(--background) 100%);
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 40px;
  color: white;
}

.connection-content {
  text-align: center;
}

.connection-icon {
  width: 80px;
  height: 80px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--success);
}

.connection-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.connection-content > p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 10px;
  text-align: left;
}

.impact-arrow {
  font-size: 1.5rem;
  color: var(--success);
  font-weight: bold;
}

.impact-item span:last-child {
  font-size: 0.95rem;
  opacity: 0.9;
}

.fmcsa-state-info {
  background: white;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.fmcsa-state-info h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.state-key-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #e0f2fe;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.state-key-point svg {
  color: #0369a1;
  flex-shrink: 0;
  margin-top: 2px;
}

.state-key-point p {
  margin: 0;
  color: #0c4a6e;
  line-height: 1.6;
}

.state-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.state-details h4 {
  font-size: 1rem;
  color: var(--text-on-light);
  margin-bottom: 12px;
}

.state-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.state-details li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--surface-elevated);
  padding-left: 20px;
  position: relative;
}

.state-details li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.state-details li:last-child {
  border-bottom: none;
}

.fmcsa-resources {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.fmcsa-resources h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-elevated);
  color: var(--text-on-light);
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: var(--hhc-blue);
  color: white;
  transform: translateY(-2px);
}

.resource-link svg {
  flex-shrink: 0;
}

/* CVSA Section */
.cvsa-section {
  padding: 100px 0;
  background: white;
}

.cvsa-badge {
  background: #fef2f2 !important;
  color: var(--danger) !important;
}

.cvsa-overview {
  max-width: 1100px;
  margin: 0 auto;
}

.cvsa-intro {
  margin-bottom: 40px;
}

.cvsa-alert-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  padding: 24px;
  border-radius: 16px;
  border-left: 4px solid var(--danger);
  margin-bottom: 24px;
}

.cvsa-alert-box svg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 2px;
}

.cvsa-alert-box strong {
  display: block;
  color: #991b1b;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cvsa-alert-box p {
  color: #7f1d1d;
  margin: 0;
  line-height: 1.6;
}

.cvsa-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.cvsa-stat {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cvsa-2025-update {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid var(--warning);
}

.update-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.update-header svg {
  color: #b45309;
  flex-shrink: 0;
}

.update-header h3 {
  color: #92400e;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.update-highlight {
  color: #78350f;
  margin: 0;
  line-height: 1.6;
}

.health-oos-criteria {
  margin-bottom: 40px;
}

.health-oos-criteria h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 12px;
}

.criteria-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.oos-criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.oos-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.oos-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.oos-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.oos-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.oos-icon.medical { background: linear-gradient(135deg, var(--info), var(--info)); }
.oos-icon.fatigue { background: linear-gradient(135deg, var(--warning), var(--warning)); }
.oos-icon.spe { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.oos-icon.license { background: linear-gradient(135deg, #ec4899, #db2777); }
.oos-icon.substances { background: linear-gradient(135deg, var(--danger), var(--danger)); }
.oos-icon.osa { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.oos-card-header h4 {
  font-size: 1.1rem;
  color: var(--text-on-light);
  margin: 0;
}

.oos-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.oos-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.oos-list li:last-child {
  border-bottom: none;
}

.oos-list li svg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 3px;
}

.oos-list li svg.lucide-info {
  color: var(--info);
}

.wellness-tie {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0fdf4;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--hhc-forest);
}

.wellness-tie svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.wellness-tie.success {
  background: #ecfdf5;
  color: #065f46;
}

.wellness-tie.success svg {
  color: #10b981;
}

.cvsa-inspection-levels {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.cvsa-inspection-levels h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
  text-align: center;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.level-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.level-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--hhc-blue), var(--background));
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.level-card h4 {
  font-size: 1.1rem;
  color: var(--text-on-light);
  margin-bottom: 8px;
}

.level-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cvsa-wellness-connection {
  background: linear-gradient(135deg, var(--danger) 0%, #991b1b 100%);
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 40px;
  color: white;
}

.cvsa-wellness-connection .connection-content {
  text-align: center;
}

.cvsa-wellness-connection .connection-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cvsa-wellness-connection h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.cvsa-wellness-connection > .connection-content > p {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.defense-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.defense-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 14px 18px;
  border-radius: 10px;
}

.defense-item svg {
  color: #86efac;
  flex-shrink: 0;
}

.defense-item span {
  font-size: 0.95rem;
}

.cvsa-resources {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.cvsa-resources h3 {
  font-size: 1.5rem;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

/* Pricing */
.pricing-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--surface) 0%, #ffffff 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.pricing-card:hover, .pricing-card.selected {
  border-color: var(--success);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.15);
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--surface-elevated);
}

.tier-label {
  /* Chip sits inside a .pricing-card whose bg computes to the parent-scope
     dark surface — force a light chip bg so the dark label text stays
     readable regardless of the surrounding card surface. */
  background: #F3F4F6;
  color: #374151;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.1rem;
  color: var(--text-on-light);
  margin: 12px 0 16px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pepm {
  font-size: 2rem;
  font-weight: 800;
  color: var(--success);
}

.period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.minimum {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.commitment {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 20px;
}

.roi-preview {
  display: flex;
  justify-content: space-around;
  background: #f0fdf4;
  padding: 16px;
  border-radius: 12px;
}

.roi-item {
  text-align: center;
}

.roi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.roi-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success);
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Calculator */
.calculator-section {
  padding: 100px 0;
  background: var(--surface);
}

.calculator-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.calculator-header {
  text-align: center;
  margin-bottom: 40px;
}

.calculator-header svg {
  color: var(--success);
  margin-bottom: 16px;
}

.calculator-header h2 {
  font-size: 2rem;
  color: var(--text-on-light);
  margin-bottom: 8px;
}

.calculator-header p {
  color: var(--text-muted);
}

.calculator-input {
  margin-bottom: 32px;
}

.calculator-input label {
  display: block;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: 12px;
}

.calculator-input input[type="range"] {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--success);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.driver-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-light);
}

.driver-count svg {
  color: var(--success);
}

.calculator-results {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

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

.result-row.highlight {
  color: var(--text-on-light);
  font-weight: 600;
}

.result-value {
  font-weight: 600;
  color: var(--text-on-light);
}

.result-value.roi {
  color: var(--success);
  font-size: 1.25rem;
}

.calculator-assumptions {
  background: #fffbeb;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #fef3c7;
}

.calculator-assumptions h3 {
  color: #92400e;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.calculator-assumptions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.calculator-assumptions li {
  font-size: 0.85rem;
  color: #78716c;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--success) 0%, var(--success) 100%);
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-content > p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.contact-subtext {
  margin-bottom: 40px !important;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: white;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--text-on-light);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-card svg {
  color: var(--success);
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-on-light);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.contact-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--success) 0%, var(--success) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .fleet-hero {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

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

  .calculator-card {
    padding: 24px;
    margin: 0 16px;
  }

  .contact-content h2 {
    font-size: 1.75rem;
  }

  .fmcsa-section {
    padding: 60px 0;
  }

  .fmcsa-intro,
  .fmcsa-updates,
  .fmcsa-state-info,
  .fmcsa-resources,
  .fmcsa-wellness-connection {
    padding: 24px;
  }

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

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

  .connection-content h3 {
    font-size: 1.5rem;
  }

  .resources-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .resource-link {
    justify-content: center;
  }

  /* CVSA Responsive */
  .cvsa-section {
    padding: 60px 0;
  }

  .cvsa-alert-box {
    flex-direction: column;
    text-align: center;
  }

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

  .update-header {
    flex-direction: column;
    text-align: center;
  }

  .oos-criteria-grid {
    grid-template-columns: 1fr;
  }

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

  .cvsa-wellness-connection {
    padding: 24px;
  }

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

  .cvsa-resources {
    padding: 24px;
  }

  /* Industry Stats Responsive */
  .industry-stats-section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number-large {
    font-size: 1.75rem;
  }

  /* Research Section Responsive */
  .research-section {
    padding: 60px 0;
  }

  .research-categories {
    grid-template-columns: 1fr;
  }

  .research-disclaimer {
    flex-direction: column;
    text-align: center;
  }

  /* Quick metrics responsive */
  .quick-metrics {
    flex-wrap: wrap;
    gap: 12px;
  }

  .fleet-info-bar {
    flex-direction: column;
    gap: 8px;
  }

  /* Stats Tabs Responsive */
  .stats-tabs {
    gap: 8px;
  }

  .stats-tab {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .stats-tab svg {
    display: none;
  }

  /* Health Conditions Table Responsive */
  .health-conditions-section {
    padding: 60px 0;
  }

  .conditions-table-wrapper {
    margin: 0 -20px 40px;
    border-radius: 0;
  }

  .conditions-summary {
    grid-template-columns: 1fr;
  }

  /* CSA Details Responsive */
  .csa-details-section {
    padding: 60px 0;
  }

  .csa-details-grid {
    grid-template-columns: 1fr;
  }

  /* OOS Data Section Responsive */
  .oos-data-section {
    padding: 60px 0;
  }

  .oos-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .oos-stat-card.large {
    grid-column: span 2;
  }

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

  .main-stat-number {
    font-size: 3rem;
  }

  .health-linked-grid {
    grid-template-columns: 1fr;
  }

  .oos-highlight-box {
    flex-direction: column;
    text-align: center;
  }

  .oos-sources-grid {
    grid-template-columns: 1fr;
  }

  .historical-trend-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Fleet Solutions — modular stylesheet.
 * Split from the original 3.6k-line fleet-solutions.css so each concern
 * (hero, stats, tables, financial, calculator, shared tokens) lives in
 * its own file. Imports run in the same order the original rules were
 * declared, so cascade + specificity are preserved 1:1. */

/* Fleet quote-request modal.
   Sits above the fleet contact CTA at the bottom of /fleet-solutions.
   Backdrop scrolls with the page; panel is scrollable when the viewport
   is short. All colors pull from the existing fleet-page palette so it
   feels native to the section rather than a generic system dialog. */

.fleet-contact-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  animation: fleetModalIn 0.18s ease-out;
}

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

.fleet-contact-modal__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
  padding: 32px 28px 24px;
  animation: fleetPanelIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fleetPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fleet-contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.fleet-contact-modal__close:hover {
  background: rgba(15, 23, 42, 0.12);
  transform: rotate(90deg);
}

.fleet-contact-modal__header {
  margin-bottom: 20px;
  padding-right: 40px;
}

.fleet-contact-modal__header h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #0f172a;
}

.fleet-contact-modal__header p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fleet-contact-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 14px 16px;
  gap: 14px 16px;
}

.fleet-contact-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.fleet-contact-modal__field--full {
  grid-column: 1 / -1;
}

.fleet-contact-modal__field input,
.fleet-contact-modal__field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fleet-contact-modal__field input:focus,
.fleet-contact-modal__field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.fleet-contact-modal__field textarea {
  resize: vertical;
  min-height: 82px;
}

.fleet-contact-modal__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fleet-contact-modal__pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #f8fafc;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.fleet-contact-modal__pill:hover {
  border-color: rgba(15, 23, 42, 0.32);
  background: #ffffff;
}

.fleet-contact-modal__pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.fleet-contact-modal__error {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.875rem;
  border: 1px solid #fecaca;
}

.fleet-contact-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.fleet-contact-modal__cancel {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: transparent;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fleet-contact-modal__cancel:hover { background: rgba(15, 23, 42, 0.06); }

.fleet-contact-modal__spinner {
  animation: fleetSpin 0.9s linear infinite;
}

@keyframes fleetSpin { to { transform: rotate(360deg); } }

.fleet-contact-modal__success {
  text-align: center;
  padding: 12px 8px 4px;
}

.fleet-contact-modal__success h3 {
  margin: 8px 0 6px;
  font-size: 1.35rem;
  color: #0f172a;
}

.fleet-contact-modal__success p {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

.fleet-contact-modal__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

@media (max-width: 560px) {
  .fleet-contact-modal__panel {
    padding: 28px 20px 20px;
    border-radius: 16px;
  }
  .fleet-contact-modal__grid {
    grid-template-columns: 1fr;
  }
  .fleet-contact-modal__header h2 { font-size: 1.3rem; }
}


/*# sourceMappingURL=279.cb8fda62.chunk.css.map*/