    :root {
      /* Brand Palette - Project Celsius */
      --pc-dark: #0a0f1c;
      --pc-blue: #0ea5e9;
      --pc-blue-dim: #e0f2fe;
      --pc-blue-glow: rgba(14, 165, 233, 0.15);
      --pc-accent: #f59e0b;
      --pc-accent-dim: #fef3c7;
      --pc-green: #10b981;
      --pc-green-dim: #d1fae5;
      --pc-red: #ef4444;
      --pc-purple: #8b5cf6;

      /* UI Colors - Light Mode */
      --text-main: #0f172a;
      --text-muted: #64748b;
      --text-dim: #94a3b8;
      --border: #e2e8f0;
      --border-hover: #cbd5e1;
      --bg-body: #f8fafc;
      --bg-card: #ffffff;
      --bg-elevated: #ffffff;
      --bg-inset: #f1f5f9;
      
      --radius: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
      --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      --shadow-glow: 0 0 40px -10px var(--pc-blue);
      
      --transition-fast: 150ms ease;
      --transition-base: 250ms ease;
      --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Dark Mode */
    [data-theme="dark"] {
      --pc-dark: #0a0f1c;
      --pc-blue-dim: rgba(14, 165, 233, 0.15);
      --text-main: #f1f5f9;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --border: #1e293b;
      --border-hover: #334155;
      --bg-body: #0f172a;
      --bg-card: #1e293b;
      --bg-elevated: #1e293b;
      --bg-inset: #0f172a;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; height: 100%; }

    body {
      background: var(--bg-body);
      color: var(--text-main);
      font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.6;
      min-height: 100vh;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: background var(--transition-base), color var(--transition-base);
    }

    /* --- SCROLLBAR --- */
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg-inset); }
    ::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

    /* --- SECURITY GATE --- */
    .gate-overlay {
      position: fixed; inset: 0;
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
      display: flex; align-items: center; justify-content: center;
      z-index: 9999;
      opacity: 1;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    .gate-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
    
    .gate-card {
      background: rgba(255,255,255,0.03);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 48px; border-radius: 24px;
      width: 100%; max-width: 420px; text-align: center;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      animation: gateFloat 3s ease-in-out infinite;
    }
    @keyframes gateFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }
    .gate-freightmath-logo {
      height: 40px;
      width: auto;
      margin-bottom: 24px;
    }
    .gate-logo {
      width: 80px; height: 80px; margin: 0 auto 24px;
      background: linear-gradient(135deg, var(--pc-blue) 0%, #06b6d4 100%);
      border-radius: 20px; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 10px 40px -10px var(--pc-blue);
    }
    .gate-logo svg { color: white; }
    .gate-card h1 { color: white; margin: 0 0 8px 0; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
    .gate-card p { color: rgba(255,255,255,0.6); margin-bottom: 32px; font-size: 0.95rem; }
    .gate-input {
      width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
      color: white; font-size: 1rem; font-family: inherit;
      margin-bottom: 16px; transition: all var(--transition-fast);
    }
    .gate-input::placeholder { color: rgba(255,255,255,0.4); }
    .gate-input:focus { outline: none; border-color: var(--pc-blue); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 4px var(--pc-blue-glow); }
    .gate-btn {
      width: 100%; padding: 14px; background: linear-gradient(135deg, var(--pc-blue) 0%, #06b6d4 100%);
      border: none; border-radius: 12px; color: white; font-weight: 700; font-size: 1rem;
      cursor: pointer; transition: all var(--transition-fast);
    }
    .gate-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--pc-blue); }
    .gate-hint { font-size: 0.75rem; margin-top: 20px; color: rgba(255,255,255,0.4); }

    /* --- HEADER --- */
    .header {
      height: 70px; padding: 0 24px;
      display: flex; justify-content: space-between; align-items: center;
      background: var(--bg-elevated);
      border-bottom: 1px solid var(--border);
      position: sticky; top: 0; z-index: 100;
      transition: all var(--transition-base);
    }
    .header-left { display: flex; align-items: center; gap: 32px; }
    .brand {
      display: flex; align-items: center; gap: 12px;
      font-weight: 800; color: var(--text-main); font-size: 1.1rem;
      letter-spacing: -0.02em; text-decoration: none;
    }
    .brand-icon {
      width: 36px; height: 36px; border-radius: 10px;
      background: linear-gradient(135deg, var(--pc-blue) 0%, #06b6d4 100%);
      display: flex; align-items: center; justify-content: center;
    }
    .brand-icon svg { color: white; }
    
    .nav-tabs { display: flex; gap: 4px; background: var(--bg-inset); padding: 4px; border-radius: 10px; }
    .nav-btn {
      background: transparent; border: none; padding: 8px 16px;
      font-weight: 600; font-size: 0.85rem; color: var(--text-muted);
      cursor: pointer; border-radius: 8px; transition: all var(--transition-fast);
      white-space: nowrap;
    }
    .nav-btn:hover { color: var(--text-main); }
    .nav-btn.active { background: var(--bg-elevated); color: var(--pc-blue); box-shadow: var(--shadow-sm); }

    .header-right { display: flex; align-items: center; gap: 12px; }
    .freightmath-logo {
      height: 32px;
      width: auto;
      margin-right: 8px;
    }
    [data-theme="dark"] .freightmath-logo {
      filter: brightness(0) invert(1);
    }
    
    .theme-toggle {
      width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
      background: var(--bg-card); cursor: pointer; display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); transition: all var(--transition-fast);
    }
    .theme-toggle:hover { border-color: var(--pc-blue); color: var(--pc-blue); }
    
    .btn-header {
      padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 0.85rem;
      cursor: pointer; transition: all var(--transition-fast); display: flex; align-items: center; gap: 8px;
    }
    .btn-export { background: var(--pc-green); color: white; border: none; }
    .btn-export:hover { background: #059669; transform: translateY(-1px); }
    .btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
    .btn-outline:hover { border-color: var(--pc-blue); color: var(--pc-blue); }

    .dashboard-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(249, 115, 22, 0.6); }

    /* --- MODALS --- */
    .modal-backdrop {
      position: fixed; inset: 0;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(8px);
      display: none; align-items: center; justify-content: center;
      z-index: 5000;
    }
    .modal-backdrop.open { display: flex; }
    .modal-content {
      background: var(--bg-elevated); width: 90%; max-width: 700px; max-height: 85vh;
      border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
      display: flex; flex-direction: column;
      border: 1px solid var(--border);
      overflow: hidden;
    }
    .modal-header {
      padding: 20px 24px; border-bottom: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      flex-shrink: 0;
    }
    .modal-header h3 { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
    .modal-close { border: none; background: none; cursor: pointer; color: var(--text-muted); padding: 8px; border-radius: 8px; transition: all var(--transition-fast); display: flex; align-items: center; justify-content: center; }
    .modal-close:hover { background: var(--bg-inset); color: var(--text-main); }
    .modal-close svg { display: block; }
    .modal-body { padding: 0; overflow-y: auto; flex: 1; }

    /* Document Modal Specific */
    .document-modal { 
      max-width: 900px; 
      max-height: 90vh; 
      display: flex;
      flex-direction: column;
    }
    .document-modal .modal-header.document-header-sticky {
      position: sticky; 
      top: 0; 
      z-index: 10;
      background: var(--bg-elevated);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      flex-shrink: 0;
    }
    .document-header-actions {
      display: flex; align-items: center; gap: 12px;
    }
    .doc-export-btn {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 18px;
      background: var(--pc-red);
      border: none; border-radius: 8px;
      color: white; font-size: 0.85rem; font-weight: 600;
      cursor: pointer; transition: all var(--transition-fast);
    }
    .doc-export-btn:hover {
      background: #dc2626;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }
    .doc-export-btn i { font-size: 1.1rem; }
    .doc-close-btn {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1;
      background: #f1f5f9;
      border: 2px solid #e2e8f0;
      color: #334155;
      cursor: pointer;
      transition: all 0.15s ease;
      flex-shrink: 0;
    }
    [data-theme="dark"] .doc-close-btn {
      background: #334155;
      border-color: #475569;
      color: #f1f5f9;
    }
    .doc-close-btn:hover {
      background: #ef4444;
      border-color: #ef4444;
      color: white;
    }
    .document-modal .document-body { 
      padding: 0; 
      overflow-y: auto;
      flex: 1;
    }
    .document-content {
      padding: 48px 56px;
      font-family: 'Georgia', 'Times New Roman', serif;
      line-height: 1.8;
      color: var(--text-main);
    }
    @media (max-width: 768px) { .document-content { padding: 32px 24px; } }

    .doc-header {
      text-align: center; margin-bottom: 48px;
      padding-bottom: 32px; border-bottom: 2px solid var(--border);
    }
    .doc-header h1 {
      font-family: "DM Sans", sans-serif;
      font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em;
      margin-bottom: 8px; color: var(--text-main);
    }
    .doc-header h2 {
      font-family: "DM Sans", sans-serif;
      font-size: 1.25rem; font-weight: 600; color: var(--pc-blue);
      margin-bottom: 12px;
    }
    .doc-meta {
      font-size: 0.9rem; color: var(--text-muted);
      font-style: italic;
    }

    .doc-section {
      margin-bottom: 40px;
    }
    .doc-section h3 {
      font-family: "DM Sans", sans-serif;
      font-size: 1.35rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 20px; padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }
    .doc-section h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 1.05rem; font-weight: 700; color: var(--pc-blue);
      margin: 28px 0 12px 0;
    }
    .doc-section p {
      margin-bottom: 16px; font-size: 1rem;
      text-align: justify;
    }
    .doc-lead {
      font-size: 1.1rem !important; font-style: italic;
      color: var(--text-main); margin-bottom: 24px !important;
    }
    .doc-section ul, .doc-section ol {
      margin: 16px 0 24px 24px;
    }
    .doc-section li {
      margin-bottom: 12px; font-size: 0.95rem;
    }
    .doc-section li ul {
      margin: 12px 0 12px 20px;
    }
    .doc-section li ul li {
      font-size: 0.9rem; margin-bottom: 8px;
    }
    .doc-section strong { color: var(--text-main); }
    .doc-section em { color: var(--pc-blue); font-style: italic; }
    .doc-final {
      font-size: 1.1rem !important; font-weight: 600;
      text-align: center; margin-top: 32px !important;
      padding: 24px; background: var(--bg-inset);
      border-radius: var(--radius); border-left: 4px solid var(--pc-blue);
    }
    .doc-citations {
      font-size: 0.85rem; line-height: 1.7;
      color: var(--text-muted); padding-left: 24px;
    }
    .doc-citations li { margin-bottom: 6px; }

    /* AV Research Page - Document Style */
    .av-research-page {
      padding: 48px 56px;
      font-family: 'Georgia', 'Times New Roman', serif;
      line-height: 1.8;
      color: var(--text-main);
    }
    @media (max-width: 768px) { .av-research-page { padding: 32px 24px; } }

    .research-header {
      text-align: center; margin-bottom: 48px;
      padding-bottom: 32px; border-bottom: 2px solid var(--border);
    }
    .research-badge { display: none; }
    .research-header h1 {
      font-family: "DM Sans", sans-serif;
      font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em;
      margin-bottom: 8px; color: var(--text-main);
    }
    .research-subtitle {
      font-family: "DM Sans", sans-serif;
      font-size: 1.25rem; font-weight: 600; color: var(--pc-blue);
      margin-bottom: 12px;
    }
    .research-meta { display: none; }

    .research-section {
      margin-bottom: 40px;
    }
    .research-section h2 {
      font-family: "DM Sans", sans-serif;
      font-size: 1.35rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 20px; padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }
    .research-section h2 i { display: none; }
    .research-subsection {
      margin-bottom: 28px;
    }
    .research-subsection h3 {
      font-family: "DM Sans", sans-serif;
      font-size: 1.05rem; font-weight: 700; color: var(--pc-blue);
      margin: 28px 0 12px 0;
    }
    .research-section p, .research-subsection p {
      margin-bottom: 16px; font-size: 1rem;
      text-align: justify;
    }
    .section-intro {
      font-size: 1.1rem !important; font-style: italic;
      color: var(--text-main); margin-bottom: 24px !important;
    }
    .research-section ul, .research-section ol,
    .research-subsection ul, .research-subsection ol {
      margin: 16px 0 24px 24px;
    }
    .research-section li, .research-subsection li {
      margin-bottom: 12px; font-size: 0.95rem;
    }
    .research-section strong, .research-subsection strong { color: var(--text-main); }
    .research-section em, .research-subsection em { color: var(--pc-blue); font-style: italic; }

    .research-summary-card {
      background: var(--bg-inset);
      border-radius: var(--radius);
      padding: 32px;
      margin-bottom: 32px;
      border-left: 4px solid var(--pc-blue);
    }
    .research-summary-card h2 {
      font-family: "DM Sans", sans-serif;
      font-size: 1.25rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 16px;
    }
    .research-summary-card h2 i { color: var(--pc-blue); margin-right: 8px; }
    .research-stats-grid { display: none; }

    .research-callout {
      background: var(--bg-inset);
      border-left: 4px solid var(--pc-blue);
      padding: 20px 24px;
      margin: 20px 0;
      border-radius: 0 var(--radius) var(--radius) 0;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .research-callout.warning { border-left-color: #f59e0b; }
    .research-callout i { font-size: 1.25rem; color: var(--pc-blue); flex-shrink: 0; margin-top: 2px; }
    .research-callout.warning i { color: #f59e0b; }

    .research-comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 24px 0;
    }
    @media (max-width: 600px) { .research-comparison { grid-template-columns: 1fr; } }
    .comparison-col {
      background: var(--bg-inset);
      border-radius: var(--radius);
      padding: 24px;
    }
    .comparison-col h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 1rem; font-weight: 700;
      margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
    }
    .comparison-col.human h4 { color: var(--text-muted); }
    .comparison-col.autonomous h4 { color: var(--pc-blue); }
    .comparison-col ul { margin: 0; padding-left: 20px; }
    .comparison-col li { margin-bottom: 8px; font-size: 0.9rem; }

    .segment-grid, .developer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin: 24px 0;
    }
    .segment-card, .developer-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .segment-header, .developer-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .segment-prob {
      font-family: "DM Sans", sans-serif;
      font-size: 0.7rem; font-weight: 700;
      padding: 4px 10px;
      border-radius: 4px;
      text-transform: uppercase;
    }
    .segment-prob.high { background: #dcfce7; color: #166534; }
    .segment-prob.moderate { background: #fef3c7; color: #92400e; }
    .segment-prob.mixed { background: #e0e7ff; color: #3730a3; }
    .segment-header h3, .developer-header h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 1rem; font-weight: 700; color: var(--text-main);
      margin: 0;
    }
    .segment-readiness {
      font-size: 0.8rem; color: var(--text-muted);
      margin-bottom: 12px;
    }
    .segment-card p, .developer-card p {
      font-size: 0.9rem; margin-bottom: 12px;
    }
    .segment-details { margin-top: 16px; }
    .segment-detail {
      font-size: 0.85rem;
      padding: 8px 0;
      border-top: 1px solid var(--border);
    }
    .developer-status {
      font-size: 0.65rem; font-weight: 600;
      padding: 3px 8px; border-radius: 4px;
      text-transform: uppercase;
    }
    .developer-status.leader { background: #dcfce7; color: #166534; }
    .developer-status.active { background: #dbeafe; color: #1e40af; }
    .developer-status.developing { background: #fef3c7; color: #92400e; }
    .developer-status.paused { background: #fee2e2; color: #991b1b; }
    .developer-card.paused { opacity: 0.7; }

    .regulatory-map {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin: 24px 0;
    }
    .reg-zone {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .reg-zone-header {
      margin-bottom: 12px;
    }
    .reg-zone-header h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 1rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 4px;
    }
    .state-tag {
      font-size: 0.65rem; font-weight: 600;
      padding: 3px 8px; border-radius: 4px;
      background: var(--bg-inset); color: var(--text-muted);
    }
    .reg-zone p { font-size: 0.9rem; }

    .inspection-flow {
      display: flex;
      align-items: stretch;
      gap: 12px;
      margin: 24px 0;
      flex-wrap: wrap;
    }
    .inspection-step {
      flex: 1;
      min-width: 200px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      display: flex;
      gap: 12px;
    }
    .step-number {
      width: 28px; height: 28px;
      background: var(--pc-blue);
      color: white;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.85rem;
      flex-shrink: 0;
    }
    .step-content h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 0.95rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 8px;
    }
    .step-content p { font-size: 0.85rem; margin: 0; }
    .inspection-arrow {
      display: flex; align-items: center;
      color: var(--text-muted);
    }
    @media (max-width: 768px) {
      .inspection-flow { flex-direction: column; }
      .inspection-arrow { transform: rotate(90deg); justify-content: center; }
    }

    .data-elements {
      background: var(--bg-inset);
      border-radius: var(--radius);
      padding: 24px;
      margin: 20px 0;
    }
    .data-elements h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 0.95rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 12px;
    }
    .data-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }
    .data-chip {
      font-size: 0.8rem;
      padding: 6px 12px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
    }
    .data-chip.highlight {
      background: var(--pc-blue-dim);
      border-color: var(--pc-blue);
      color: var(--pc-blue);
      font-weight: 600;
    }
    .data-elements p { font-size: 0.9rem; margin: 0; }

    .roadmap-timeline {
      margin: 24px 0;
      border-left: 3px solid var(--pc-blue);
      padding-left: 24px;
    }
    .roadmap-phase {
      position: relative;
      margin-bottom: 32px;
      padding-left: 20px;
    }
    .roadmap-phase:last-child { margin-bottom: 0; }
    .phase-marker {
      position: absolute;
      left: -35px;
      width: 24px; height: 24px;
      background: var(--pc-blue);
      color: white;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.8rem;
    }
    .phase-years {
      font-size: 0.8rem;
      color: var(--pc-blue);
      font-weight: 600;
      margin-bottom: 4px;
    }
    .phase-info h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 1rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 8px;
    }
    .phase-info p { font-size: 0.9rem; margin-bottom: 8px; }
    .phase-regions {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .research-conclusion {
      background: var(--bg-inset);
      border-radius: var(--radius);
      padding: 32px;
      border-left: 4px solid var(--pc-blue);
    }
    .conclusion-key-points {
      margin: 24px 0;
    }
    .key-point {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
      align-items: flex-start;
    }
    .key-point i {
      color: var(--pc-blue);
      font-size: 1.25rem;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .key-point strong { display: block; margin-bottom: 4px; }
    .triad-trust {
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
    }
    .triad-trust h4 {
      font-family: "DM Sans", sans-serif;
      font-size: 1rem; font-weight: 700; color: var(--text-main);
      margin-bottom: 16px;
    }
    .triad-items {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 600px) { .triad-items { grid-template-columns: 1fr; } }
    .triad-item {
      text-align: center;
      padding: 16px;
      background: var(--bg-card);
      border-radius: var(--radius);
    }
    .triad-item i {
      font-size: 1.5rem;
      color: var(--pc-blue);
      margin-bottom: 8px;
    }
    .triad-item span {
      display: block;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .triad-item small {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .conclusion-final {
      font-size: 1.1rem !important;
      font-weight: 600;
      text-align: center;
      margin-top: 24px !important;
    }

    .works-cited {
      background: var(--bg-inset);
      border-radius: var(--radius);
      padding: 24px;
    }
    .citations-list {
      font-size: 0.85rem;
      line-height: 1.7;
      color: var(--text-muted);
      padding-left: 24px;
      margin: 0;
    }
    .citations-list li { margin-bottom: 8px; }
    .citations-list a {
      color: var(--pc-blue);
      text-decoration: none;
    }
    .citations-list a:hover { text-decoration: underline; }

    /* Read Full Doc Button */
    .read-full-doc-bar {
      display: flex; justify-content: center; margin-bottom: 32px;
    }
    .read-full-doc-btn {
      display: inline-flex; align-items: center; gap: 12px;
      padding: 16px 28px;
      background: var(--bg-card);
      border: 2px solid var(--pc-blue);
      border-radius: var(--radius);
      color: var(--pc-blue);
      font-size: 1rem; font-weight: 700;
      cursor: pointer;
      transition: all var(--transition-fast);
      box-shadow: var(--shadow-sm);
    }
    .read-full-doc-btn:hover {
      background: var(--pc-blue);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg), 0 0 30px -10px var(--pc-blue);
    }
    .read-full-doc-btn i:first-child { font-size: 1.25rem; }
    .read-full-doc-btn i:last-child { 
      font-size: 1rem; 
      transition: transform var(--transition-fast);
    }
    .read-full-doc-btn:hover i:last-child { transform: translateX(4px); }
    
    .ramp-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
    .ramp-table th { position: sticky; top: 0; background: var(--bg-inset); padding: 12px 24px; text-align: left; font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--border); }
    .ramp-table td { padding: 10px 24px; border-bottom: 1px solid var(--border); }
    .ramp-table tr:hover { background: var(--bg-inset); }
    .ramp-year-header { background: var(--pc-blue-dim) !important; }
    .ramp-year-header td { font-weight: 700; color: var(--pc-blue); }
    .ramp-fleet-input { 
      font-family: "JetBrains Mono", monospace;
      color: var(--text-main);
      transition: all var(--transition-fast);
    }
    .ramp-fleet-input:focus { 
      outline: none;
      border-color: var(--pc-blue) !important;
      box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
    }
    .ramp-fleet-input.override {
      background: rgba(14, 165, 233, 0.1) !important;
      border-color: var(--pc-blue) !important;
    }

    /* --- MAIN CONTENT --- */
    .app-container {
      flex: 1; display: flex; flex-direction: column;
      overflow: hidden;
    }

    .view-section { display: none; height: 100%; overflow: auto; }
    .view-section.active { display: flex; flex-direction: column; flex: 1; }
    #view-map.active { overflow: hidden; height: calc(100vh - 70px); } /* Explicit height for map view */

    /* --- EXECUTIVE SUMMARY ENHANCED STYLES --- */
    .exec-summary {
      max-width: 1400px; margin: 0 auto; padding: 48px 32px;
      animation: fadeInUp 0.6s ease;
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .exec-hero {
      text-align: center; margin-bottom: 48px;
      padding: 72px 32px;
      background: linear-gradient(135deg, var(--pc-blue-dim) 0%, transparent 50%);
      border-radius: var(--radius-lg);
      position: relative;
      overflow: hidden;
    }
    .exec-hero::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(circle at 30% 30%, var(--pc-blue-glow) 0%, transparent 50%);
      pointer-events: none;
    }
    .exec-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--pc-blue); color: white;
      padding: 10px 20px; border-radius: 100px;
      font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.05em; margin-bottom: 24px;
    }
    .exec-hero h1 {
      font-size: 4rem; font-weight: 800; letter-spacing: -0.03em;
      margin-bottom: 20px; line-height: 1.1;
      background: linear-gradient(135deg, var(--text-main) 0%, var(--pc-blue) 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .exec-hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.7; }

    /* Thesis Banner */
    .thesis-banner {
      display: flex; gap: 20px; align-items: flex-start;
      background: linear-gradient(135deg, var(--pc-accent-dim) 0%, rgba(245, 158, 11, 0.05) 100%);
      border: 1px solid var(--pc-accent);
      border-radius: var(--radius); padding: 24px 28px;
      margin-bottom: 48px;
    }
    [data-theme="dark"] .thesis-banner { background: rgba(245, 158, 11, 0.1); }
    .thesis-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: var(--pc-accent); display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .thesis-icon i { font-size: 24px; color: white; }
    .thesis-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pc-accent); margin-bottom: 4px; }
    .thesis-text { font-size: 1.05rem; color: var(--text-main); line-height: 1.6; }
    .thesis-text em { color: var(--pc-accent); font-style: normal; font-weight: 700; }

    /* Section Styles */
    .exec-section { margin-bottom: 56px; }
    .exec-section h2 {
      font-size: 1.5rem; font-weight: 700; margin-bottom: 12px;
      display: flex; align-items: center; gap: 12px;
    }
    .exec-section h2 i { color: var(--pc-blue); }
    .section-subtitle { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }

    /* Comparison Grid */
    .comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
    @media (max-width: 900px) { .comparison-grid { grid-template-columns: 1fr; } }
    
    .comparison-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px; text-align: center;
      transition: all var(--transition-base);
    }
    .comparison-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .comparison-card.winner { border-color: var(--pc-green); background: linear-gradient(180deg, var(--pc-green-dim) 0%, var(--bg-card) 30%); }
    [data-theme="dark"] .comparison-card.winner { background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, var(--bg-card) 30%); }
    
    .comparison-header { margin-bottom: 16px; }
    .comparison-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); display: block; margin-bottom: 6px; }
    .comparison-badge {
      display: inline-block; padding: 4px 10px; border-radius: 100px;
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
      background: var(--pc-green-dim); color: var(--pc-green);
    }
    .comparison-badge.green { background: var(--pc-green-dim); color: var(--pc-green); }
    .comparison-badge.blue { background: var(--pc-blue-dim); color: var(--pc-blue); }
    [data-theme="dark"] .comparison-badge { background: rgba(16, 185, 129, 0.2); }
    [data-theme="dark"] .comparison-badge.blue { background: rgba(14, 165, 233, 0.2); }
    
    .comparison-values { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
    .comparison-item { text-align: center; }
    .comparison-type { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
    .comparison-value { font-size: 2rem; font-weight: 800; font-family: "JetBrains Mono", monospace; }
    .comparison-item.expedited .comparison-value { color: var(--pc-green); }
    .comparison-item.otr .comparison-value { color: var(--pc-red); }
    .comparison-vs { font-size: 0.8rem; color: var(--text-dim); font-weight: 600; }
    .comparison-insight { font-size: 0.8rem; color: var(--text-muted); }

    /* Key Finding */
    .key-finding {
      display: flex; gap: 16px; align-items: flex-start;
      background: var(--bg-inset); border-left: 4px solid var(--pc-blue);
      padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
    }
    .key-finding i { font-size: 24px; color: var(--pc-blue); flex-shrink: 0; margin-top: 2px; }
    .key-finding div { font-size: 0.95rem; line-height: 1.7; color: var(--text-main); }
    .key-finding strong { color: var(--pc-blue); }

    /* SWOT Grid */
    .swot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    @media (max-width: 900px) { .swot-grid { grid-template-columns: 1fr; } }
    
    .swot-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); overflow: hidden;
    }
    .swot-header {
      padding: 16px 20px; display: flex; justify-content: space-between;
      align-items: center; cursor: pointer; transition: all var(--transition-fast);
    }
    .swot-header:hover { background: var(--bg-inset); }
    .swot-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }
    .swot-title i { font-size: 20px; }
    .swot-toggle { color: var(--text-muted); transition: transform var(--transition-fast); }
    .swot-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
    .swot-body.expanded { max-height: 600px; padding: 0 20px 20px; }
    .swot-body ul { margin: 0; padding-left: 20px; }
    .swot-body li { margin-bottom: 12px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
    .swot-body li strong { color: var(--text-main); }
    .swot-body li ul { margin-top: 8px; }
    
    .swot-card.strengths .swot-title i { color: var(--pc-green); }
    .swot-card.strengths { border-top: 3px solid var(--pc-green); }
    .swot-card.weaknesses .swot-title i { color: var(--pc-accent); }
    .swot-card.weaknesses { border-top: 3px solid var(--pc-accent); }
    .swot-card.opportunities .swot-title i { color: var(--pc-blue); }
    .swot-card.opportunities { border-top: 3px solid var(--pc-blue); }
    .swot-card.threats .swot-title i { color: var(--pc-red); }
    .swot-card.threats { border-top: 3px solid var(--pc-red); }

    /* Footprint Grid */
    .footprint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    @media (max-width: 900px) { .footprint-grid { grid-template-columns: 1fr; } }
    
    .footprint-lanes, .footprint-nodes {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px;
    }
    .footprint-lanes h3, .footprint-nodes h3,
    .footprint-lanes h4, .footprint-nodes h4 {
      font-size: 1rem; font-weight: 700; margin-bottom: 20px;
      padding-bottom: 12px; border-bottom: 1px solid var(--border);
    }
    
    .lane-capacity-list { display: flex; flex-direction: column; gap: 12px; }
    .lane-capacity-item {
      display: flex; justify-content: space-between; align-items: center;
      padding: 12px 16px; background: var(--bg-inset); border-radius: 8px;
    }
    .lane-route-display { display: flex; align-items: center; gap: 10px; font-weight: 600; }
    .lane-route-display i { color: var(--pc-blue); font-size: 14px; }
    .lane-trucks-badge {
      background: var(--pc-blue-dim); color: var(--pc-blue);
      padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 0.85rem;
    }
    .lane-total {
      display: flex; justify-content: space-between; align-items: center;
      margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--pc-blue);
      font-size: 1rem;
    }
    .lane-total strong { font-size: 1.25rem; color: var(--pc-blue); }

    .node-status-grid { display: flex; flex-direction: column; gap: 16px; }
    .node-category-header {
      display: flex; align-items: center; gap: 8px;
      font-weight: 700; font-size: 0.85rem; margin-bottom: 8px;
    }
    .node-category-header.operational { color: var(--pc-green); }
    .node-category-header.immediate { color: var(--pc-accent); }
    .node-category-header.future { color: var(--pc-blue); }
    .node-list { display: flex; flex-wrap: wrap; gap: 8px; }
    .node-list span {
      background: var(--bg-inset); padding: 6px 12px; border-radius: 6px;
      font-size: 0.8rem; color: var(--text-muted);
    }

    /* Standards Grid */
    .standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    @media (max-width: 1100px) { .standards-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .standards-grid { grid-template-columns: 1fr; } }
    
    .standard-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px;
      transition: all var(--transition-base);
    }
    .standard-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--pc-blue); }
    .standard-number {
      font-size: 2.5rem; font-weight: 800; color: var(--pc-blue-dim);
      font-family: "JetBrains Mono", monospace; line-height: 1; margin-bottom: 12px;
    }
    [data-theme="dark"] .standard-number { color: rgba(14, 165, 233, 0.3); }
    .standard-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
    .standard-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

    /* AV Section */
    .av-intro {
      background: var(--bg-inset); padding: 20px 24px; border-radius: var(--radius);
      margin-bottom: 24px;
    }
    .av-intro p { font-size: 1rem; color: var(--text-main); margin: 0; }
    .av-intro strong { color: var(--pc-blue); }

    .av-stats-row {
      display: flex; align-items: center; justify-content: center; gap: 24px;
      flex-wrap: wrap; margin-bottom: 16px;
    }
    .av-stat {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px 32px; text-align: center;
      min-width: 180px;
    }
    .av-stat.highlight { border-color: var(--pc-green); background: linear-gradient(180deg, var(--pc-green-dim) 0%, var(--bg-card) 50%); }
    [data-theme="dark"] .av-stat.highlight { background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, var(--bg-card) 50%); }
    .av-stat-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
    .av-stat-value { font-size: 2rem; font-weight: 800; font-family: "JetBrains Mono", monospace; color: var(--text-main); }
    .av-stat.highlight .av-stat-value { color: var(--pc-green); }
    .av-stat-sub { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }
    .av-stat-arrow { color: var(--pc-blue); font-size: 24px; }
    .av-stat-multiplier {
      display: flex; flex-direction: column; align-items: center;
      background: var(--pc-blue); color: white; padding: 20px 28px;
      border-radius: var(--radius);
    }
    .av-stat-multiplier span:first-child { font-size: 2.5rem; font-weight: 800; line-height: 1; }
    .av-mult-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; opacity: 0.9; }

    /* Deployment Phases */
    .deployment-phases { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; }
    .phase-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px; flex: 1; min-width: 220px; max-width: 280px;
    }
    .phase-card.phase-1 { border-top: 3px solid var(--pc-blue); }
    .phase-card.phase-2 { border-top: 3px solid var(--pc-accent); }
    .phase-card.phase-3 { border-top: 3px solid var(--pc-green); }
    .phase-badge {
      display: inline-block; font-size: 0.7rem; font-weight: 700;
      text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px;
    }
    .phase-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
    .phase-status { font-size: 0.8rem; color: var(--pc-blue); font-weight: 600; margin-bottom: 12px; }
    .phase-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
    .phase-connector { display: flex; align-items: center; padding: 0 12px; color: var(--text-dim); }
    @media (max-width: 900px) { .phase-connector { display: none; } .deployment-phases { gap: 16px; } }

    .av-synergy {
      display: flex; gap: 16px; align-items: flex-start;
      background: var(--pc-green-dim); border: 1px solid var(--pc-green);
      padding: 20px 24px; border-radius: var(--radius); margin-top: 24px;
    }
    [data-theme="dark"] .av-synergy { background: rgba(16, 185, 129, 0.1); }
    .av-synergy i { font-size: 24px; color: var(--pc-green); flex-shrink: 0; }
    .av-synergy div { font-size: 0.95rem; line-height: 1.7; }
    .av-synergy strong { color: var(--pc-green); }
    .av-synergy em { color: var(--pc-green); font-style: normal; font-weight: 600; }

    /* Conclusion */
    .conclusion-box {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 32px;
    }
    .conclusion-lead {
      font-size: 1.1rem; line-height: 1.7; margin-bottom: 24px;
      padding-bottom: 24px; border-bottom: 1px solid var(--border);
    }
    .conclusion-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
    @media (max-width: 700px) { .conclusion-rules { grid-template-columns: 1fr; } }
    
    .rule-card {
      display: flex; gap: 16px; padding: 20px;
      background: var(--bg-inset); border-radius: var(--radius);
    }
    .rule-icon {
      width: 48px; height: 48px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .rule-card:first-child .rule-icon { background: rgba(239, 68, 68, 0.15); }
    .rule-card:first-child .rule-icon i { color: var(--pc-red); font-size: 24px; }
    .rule-card:last-child .rule-icon { background: var(--pc-blue-dim); }
    .rule-card:last-child .rule-icon i { color: var(--pc-blue); font-size: 24px; }
    .rule-content strong { display: block; font-size: 1rem; margin-bottom: 6px; }
    .rule-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

    .conclusion-final {
      background: linear-gradient(135deg, var(--pc-blue-dim) 0%, transparent 100%);
      padding: 20px 24px; border-radius: var(--radius); border-left: 4px solid var(--pc-blue);
    }
    [data-theme="dark"] .conclusion-final { background: rgba(14, 165, 233, 0.1); }
    .conclusion-final p { margin: 0; font-size: 1rem; line-height: 1.7; }
    .conclusion-final strong { color: var(--pc-blue); }

    /* CTA */
    .exec-cta {
      display: flex; gap: 16px; justify-content: center; margin-top: 48px;
    }
    .exec-cta .btn-action { width: auto; padding: 16px 32px; }
    .exec-cta .btn-action.secondary {
      background: var(--bg-card); color: var(--pc-blue);
      border: 2px solid var(--pc-blue);
    }
    .exec-cta .btn-action.secondary:hover {
      background: var(--pc-blue); color: white;
    }

    /* Highlights Section */
    .highlights-section {
      background: linear-gradient(180deg, var(--bg-inset) 0%, var(--bg-body) 100%);
      margin: -20px -32px 48px -32px;
      padding: 48px 32px;
      border-bottom: 1px solid var(--border);
    }
    .highlights-title {
      font-size: 1.1rem; font-weight: 700; color: var(--pc-blue);
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 32px; text-transform: uppercase; letter-spacing: 0.05em;
    }
    .subsection-title {
      font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
      display: flex; align-items: center; gap: 10px;
    }
    .subsection-title i { color: var(--pc-blue); }

    /* Full SWOT Grid */
    .swot-grid-full {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
    }
    @media (max-width: 900px) { .swot-grid-full { grid-template-columns: 1fr; } }

    .swot-card-full {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); overflow: hidden;
      transition: all var(--transition-base);
    }
    .swot-card-full:hover { box-shadow: var(--shadow-md); }
    
    .swot-card-full.strengths { border-left: 4px solid var(--pc-green); }
    .swot-card-full.weaknesses { border-left: 4px solid var(--pc-accent); }
    .swot-card-full.opportunities { border-left: 4px solid var(--pc-blue); }
    .swot-card-full.threats { border-left: 4px solid var(--pc-red); }

    .swot-header-full {
      padding: 20px 24px; display: flex; justify-content: space-between;
      align-items: center; cursor: pointer; transition: all var(--transition-fast);
      background: var(--bg-inset);
    }
    .swot-header-full:hover { background: var(--border); }
    
    .swot-title-full {
      display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem;
    }
    .swot-title-full i { font-size: 24px; }
    .swot-card-full.strengths .swot-title-full i { color: var(--pc-green); }
    .swot-card-full.weaknesses .swot-title-full i { color: var(--pc-accent); }
    .swot-card-full.opportunities .swot-title-full i { color: var(--pc-blue); }
    .swot-card-full.threats .swot-title-full i { color: var(--pc-red); }
    
    .swot-count {
      font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
      background: var(--bg-body); padding: 4px 10px; border-radius: 100px;
    }
    .swot-toggle-icon {
      color: var(--text-muted); transition: transform var(--transition-fast);
      font-size: 20px;
    }
    .swot-card-full.expanded .swot-toggle-icon { transform: rotate(180deg); }

    .swot-preview {
      padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 8px;
      border-bottom: 1px solid var(--border);
    }
    .swot-card-full.expanded .swot-preview { display: none; }
    .swot-chip {
      font-size: 0.75rem; padding: 4px 10px; border-radius: 6px;
      background: var(--bg-inset); color: var(--text-muted); font-weight: 500;
    }

    .swot-body-full {
      max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    }
    .swot-card-full.expanded .swot-body-full { max-height: 2000px; }

    .swot-item {
      padding: 20px 24px; border-bottom: 1px solid var(--border);
    }
    .swot-item:last-child { border-bottom: none; }
    .swot-item-title {
      font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; color: var(--text-main);
    }
    .swot-item-detail {
      font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
    }
    .swot-sub-items { margin-top: 12px; }
    .swot-sub-item {
      background: var(--bg-inset); padding: 12px 16px; border-radius: 8px;
      margin-bottom: 8px; font-size: 0.85rem; line-height: 1.6;
    }
    .swot-sub-item:last-child { margin-bottom: 0; }
    .swot-sub-item strong { color: var(--text-main); display: block; margin-bottom: 4px; }

    /* Overview Intro */
    .overview-intro {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
    }
    .overview-intro p { font-size: 1rem; line-height: 1.7; margin-bottom: 12px; }
    .overview-intro p:last-child { margin-bottom: 0; }
    .overview-intro strong { color: var(--pc-blue); }
    .overview-intro em { color: var(--pc-accent); font-style: normal; font-weight: 600; }

    /* Formula Banner */
    .formula-banner {
      display: flex; align-items: center; justify-content: center;
      gap: 8px; flex-wrap: wrap;
      background: var(--bg-inset); padding: 24px; border-radius: var(--radius);
    }
    .formula-item { display: flex; align-items: center; gap: 12px; }
    .formula-step {
      font-weight: 700; font-size: 1.1rem; color: var(--text-main);
      background: var(--bg-card); padding: 12px 20px; border-radius: 8px;
      border: 1px solid var(--border);
    }
    .formula-arrow { color: var(--pc-blue); font-weight: 700; }
    .formula-result { font-weight: 700; font-size: 1.1rem; color: var(--text-muted); }
    .formula-result.highlight {
      color: var(--pc-green); background: var(--pc-green-dim);
      padding: 12px 20px; border-radius: 8px;
    }
    [data-theme="dark"] .formula-result.highlight { background: rgba(16, 185, 129, 0.2); }

    /* Incubation Steps */
    .incubation-steps {
      display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; justify-content: center;
    }
    .incubation-step {
      display: flex; gap: 16px; align-items: flex-start;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px;
      flex: 1; min-width: 250px; max-width: 320px;
    }
    .incubation-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: var(--pc-blue-dim); display: flex;
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .incubation-icon i { font-size: 24px; color: var(--pc-blue); }
    .incubation-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
    .incubation-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
    .incubation-content em { color: var(--pc-green); font-style: normal; font-weight: 600; }
    .incubation-connector {
      display: flex; align-items: center; padding: 0 16px; color: var(--text-dim);
      font-size: 24px; align-self: center;
    }
    .incubation-connector::after { content: '→'; }
    @media (max-width: 900px) { 
      .incubation-connector { display: none; } 
      .incubation-steps { gap: 16px; }
    }

    /* Requirements Grid */
    .requirements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    @media (max-width: 900px) { .requirements-grid { grid-template-columns: 1fr; } }
    
    .requirement-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px;
    }
    .requirement-card.operations { border-top: 3px solid var(--pc-blue); }
    .requirement-card.commercial { border-top: 3px solid var(--pc-green); }
    
    .requirement-header {
      display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    }
    .requirement-header i { font-size: 28px; }
    .requirement-card.operations .requirement-header i { color: var(--pc-blue); }
    .requirement-card.commercial .requirement-header i { color: var(--pc-green); }
    .requirement-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }
    
    .requirement-goal {
      font-size: 0.9rem; color: var(--pc-blue); font-weight: 600;
      font-style: italic; margin-bottom: 16px;
    }
    .requirement-card.commercial .requirement-goal { color: var(--pc-green); }
    
    .requirement-card ul { margin: 0; padding-left: 20px; }
    .requirement-card li {
      margin-bottom: 12px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
    }
    .requirement-card li:last-child { margin-bottom: 0; }
    .requirement-card li strong { color: var(--text-main); }

    /* AV Subsections */
    .av-subsection {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
    }
    .av-subsection h3 {
      font-size: 1rem; font-weight: 700; margin-bottom: 12px;
      color: var(--pc-blue);
    }
    .av-subsection > p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

    .av-mechanics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    @media (max-width: 900px) { .av-mechanics-grid { grid-template-columns: 1fr; } }
    
    .av-mechanic {
      background: var(--bg-inset); padding: 20px; border-radius: 10px;
    }
    .av-mechanic-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: var(--pc-blue-dim); display: flex;
      align-items: center; justify-content: center; margin-bottom: 12px;
    }
    .av-mechanic-icon i { font-size: 20px; color: var(--pc-blue); }
    .av-mechanic h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
    .av-mechanic p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

    .av-financial-points { display: flex; flex-direction: column; gap: 12px; }
    .av-fin-point {
      background: var(--bg-inset); padding: 16px 20px; border-radius: 10px;
      font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
    }
    .av-fin-point strong { color: var(--text-main); }

    .av-stability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    @media (max-width: 700px) { .av-stability-grid { grid-template-columns: 1fr; } }
    
    .av-stability-item {
      background: var(--bg-inset); padding: 20px; border-radius: 10px;
    }
    .av-stability-item i { font-size: 28px; color: var(--pc-green); margin-bottom: 12px; display: block; }
    .av-stability-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
    .av-stability-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
    .av-stability-item em { color: var(--pc-green); font-style: normal; font-weight: 600; }

    /* --- FINANCIAL MODEL PAGE --- */
    .fin-grid {
      display: grid; grid-template-columns: 400px 1fr; gap: 24px;
      padding: 24px; height: 100%; overflow: hidden;
    }
    .fin-sidebar { overflow-y: auto; padding-right: 8px; }
    .fin-main { overflow-y: auto; padding-right: 8px; }

    @media (max-width: 1200px) {
      .fin-grid { grid-template-columns: 1fr; }
      .fin-sidebar { max-height: none; }
    }

    /* Cards */
    .card {
      background: var(--bg-card); border-radius: var(--radius); 
      box-shadow: var(--shadow-sm); border: 1px solid var(--border);
      margin-bottom: 20px; overflow: hidden;
      transition: all var(--transition-base);
    }
    .card:hover { box-shadow: var(--shadow-md); }
    .card-header {
      padding: 16px 20px; background: var(--bg-inset); 
      border-bottom: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
    }
    .card-header h3 {
      margin: 0; font-size: 0.85rem; font-weight: 700;
      display: flex; align-items: center; gap: 10px;
      text-transform: uppercase; letter-spacing: 0.03em;
    }
    .card-header h3 i { color: var(--pc-blue); font-size: 1.1rem; }
    .card-body { padding: 20px; }
    
    .card.stress { border-color: var(--pc-accent); }
    .card.stress .card-header { background: var(--pc-accent-dim); }
    [data-theme="dark"] .card.stress .card-header { background: rgba(245, 158, 11, 0.1); }

    /* Form Elements */
    .form-group { margin-bottom: 14px; }
    .form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
    .input-wrapper { position: relative; display: flex; align-items: center; }
    .input-wrapper input, .input-wrapper select {
      width: 100%; padding: 10px 14px; padding-right: 44px;
      border: 1px solid var(--border); border-radius: 8px;
      font-size: 0.9rem; font-family: inherit;
      background: var(--bg-card); color: var(--text-main);
      transition: all var(--transition-fast);
    }
    .input-wrapper input:focus {
      outline: none; border-color: var(--pc-blue);
      box-shadow: 0 0 0 3px var(--pc-blue-glow);
    }
    .input-wrapper input:disabled { background: var(--bg-inset); color: var(--text-muted); }
    .input-wrapper .unit {
      position: absolute; right: 14px;
      font-size: 0.75rem; font-weight: 600; color: var(--text-dim);
    }

    .form-section-title {
      font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
      color: var(--pc-blue); font-weight: 700;
      margin: 20px 0 12px; padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }

    /* Tooltip Styles */
    .label-with-tooltip {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .tooltip-trigger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      background: var(--bg-inset);
      border: 1px solid var(--border);
      border-radius: 50%;
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--text-dim);
      cursor: help;
      transition: all var(--transition-fast);
      flex-shrink: 0;
    }
    .tooltip-trigger:hover {
      background: var(--pc-blue);
      border-color: var(--pc-blue);
      color: white;
    }
    .tooltip-container {
      position: relative;
      display: inline-flex;
    }
    .tooltip-content {
      position: fixed;
      width: 280px;
      padding: 12px 14px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      font-size: 0.8rem;
      font-weight: 400;
      line-height: 1.5;
      color: var(--text-main);
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--transition-fast), visibility var(--transition-fast);
      z-index: 9999;
      pointer-events: none;
    }
    .tooltip-container:hover .tooltip-content {
      opacity: 1;
      visibility: visible;
    }
    .tooltip-title {
      font-weight: 700;
      color: var(--pc-blue);
      margin-bottom: 6px;
      display: block;
    }
    [data-theme="dark"] .tooltip-content {
      background: #1e293b;
      border-color: #334155;
    }

    .deprec-results {
      margin-top: 16px;
      padding: 12px;
      background: var(--bg-inset);
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }
    .deprec-section-title {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      font-weight: 700;
      padding-bottom: 4px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 4px;
    }
    .deprec-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
    }
    .deprec-label {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .deprec-value {
      font-family: "JetBrains Mono", monospace;
      font-weight: 700;
      color: var(--pc-blue);
      font-size: 0.85rem;
    }

    /* Salvage Value Row */
    .form-group.salvage-row {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 12px;
    }
    .form-group.salvage-row > label {
      flex: 1 1 100%;
      margin-bottom: 2px;
    }
    .form-group.salvage-row > .input-wrapper {
      flex: 0 0 120px;
    }
    .form-group.salvage-row > .input-wrapper input {
      padding-right: 32px;
    }
    .salvage-estimate {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      padding: 10px 12px;
      background: var(--bg-inset);
      border-radius: 8px;
      border: 1px solid var(--border);
    }
    .salvage-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .salvage-value {
      font-family: "JetBrains Mono", monospace;
      font-weight: 700;
      color: var(--pc-green);
      font-size: 0.85rem;
    }

    .slider-group { margin-bottom: 16px; }
    .slider-header {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 8px; font-size: 0.85rem;
    }
    .slider-header span:first-child { color: var(--text-muted); font-weight: 500; }
    .slider-header span:last-child { font-weight: 700; font-family: "JetBrains Mono", monospace; }
    
    input[type="range"] {
      -webkit-appearance: none; width: 100%; height: 6px;
      background: var(--bg-inset); border-radius: 3px; cursor: pointer;
    }
    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none; width: 18px; height: 18px;
      background: var(--pc-blue); border-radius: 50%;
      box-shadow: 0 2px 6px rgba(14, 165, 233, 0.4);
      border: 2px solid white; cursor: pointer;
      transition: all var(--transition-fast);
    }
    input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
    input[type="range"].danger::-webkit-slider-thumb { background: var(--pc-accent); box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4); }

    /* Tabs */
    .tabs { display: flex; background: var(--bg-inset); padding: 4px; border-radius: 10px; margin-bottom: 16px; }
    .tab-btn {
      flex: 1; border: none; background: transparent; padding: 10px 12px;
      font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
      cursor: pointer; border-radius: 8px; transition: all var(--transition-fast);
    }
    .tab-btn:hover { color: var(--text-main); }
    .tab-btn.active { background: var(--bg-card); color: var(--pc-blue); box-shadow: var(--shadow-sm); }
    .tab-content { display: none; }
    .tab-content.active { display: block; }

    /* View Toggle */
    .view-toggle {
      display: inline-flex; background: var(--pc-blue-dim); padding: 4px;
      border-radius: 10px; margin-bottom: 24px;
    }
    .view-btn {
      padding: 10px 20px; font-size: 0.85rem; font-weight: 600;
      border: none; background: transparent; color: var(--text-muted);
      cursor: pointer; border-radius: 8px; transition: all var(--transition-fast);
    }
    .view-btn:hover { color: var(--text-main); }
    .view-btn.active { background: var(--bg-card); color: var(--pc-blue); box-shadow: var(--shadow-sm); }

    /* KPIs */
    .kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
    .kpi-card {
      background: var(--bg-card); padding: 20px; border-radius: var(--radius);
      border: 1px solid var(--border); text-align: center;
      transition: all var(--transition-base);
    }
    .kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
    .kpi-label {
      font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase;
      letter-spacing: 0.05em; margin-bottom: 8px; font-weight: 600;
    }
    .kpi-value {
      font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
      font-family: "JetBrains Mono", monospace;
    }
    .kpi-sub { font-size: 0.75rem; font-weight: 500; margin-top: 4px; }
    .text-green { color: var(--pc-green); }
    .text-orange { color: var(--pc-accent); }
    .text-red { color: var(--pc-red); }
    .text-blue { color: var(--pc-blue); }

    @media (max-width: 1024px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 640px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

    /* Charts */
    .chart-container { position: relative; height: 380px; width: 100%; }
    .chart-row { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
    @media (max-width: 1024px) { .chart-row { grid-template-columns: 1fr; } }

    /* Data Tables */
    .data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
    .data-table th {
      text-align: right; padding: 12px 14px; background: var(--bg-inset);
      border-bottom: 2px solid var(--border); color: var(--text-muted); font-weight: 600;
      font-family: "JetBrains Mono", monospace; font-size: 0.8rem;
    }
    .data-table th:first-child { text-align: left; }
    .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
    .data-table tr:hover { background: var(--bg-inset); }
    .data-table tr.sub-row td { padding-left: 28px; color: var(--text-muted); font-size: 0.8rem; }
    .data-table tr.total-row { background: var(--bg-inset); }
    .data-table tr.total-row td { font-weight: 700; }
    .data-table tr.market-row { background: var(--pc-accent-dim); font-style: italic; }
    [data-theme="dark"] .data-table tr.market-row { background: rgba(245, 158, 11, 0.1); }
    .data-table .num { text-align: right; font-family: "JetBrains Mono", monospace; }

    /* Buttons */
    .btn-sm {
      padding: 6px 12px; font-size: 0.75rem; font-weight: 600;
      border: 1px solid var(--pc-blue); color: var(--pc-blue);
      background: transparent; border-radius: 6px; cursor: pointer;
      transition: all var(--transition-fast);
    }
    .btn-sm:hover { background: var(--pc-blue); color: white; }
    .btn-reset {
      font-size: 0.75rem; color: var(--pc-blue); background: none;
      border: none; cursor: pointer; text-decoration: underline;
    }
    .btn-action {
      background: linear-gradient(135deg, var(--pc-blue) 0%, #06b6d4 100%);
      color: white; border: none; padding: 12px 20px; width: 100%;
      border-radius: 10px; font-weight: 700; cursor: pointer;
      transition: all var(--transition-fast);
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .btn-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

    /* Insight Box */
    .insight-box {
      background: var(--pc-blue-dim); border: 1px solid var(--pc-blue);
      padding: 20px; border-radius: var(--radius);
      display: flex; gap: 16px; align-items: flex-start;
      margin-top: 20px;
    }
    [data-theme="dark"] .insight-box { background: rgba(14, 165, 233, 0.1); }
    .insight-box i { font-size: 24px; color: var(--pc-blue); flex-shrink: 0; }
    .insight-box strong { color: var(--text-main); }

    /* --- MAP STYLES --- */
    .map-wrapper {
      display: flex; flex: 1; position: relative;
      background: var(--bg-card); overflow: hidden;
      height: calc(100vh - 70px); /* Account for header */
    }
    
    .map-sidebar {
      width: 340px; background: var(--bg-card); border-right: 1px solid var(--border);
      display: flex; flex-direction: column; z-index: 800;
      overflow-y: auto; flex-shrink: 0;
    }
    .map-sidebar-header { padding: 20px; border-bottom: 1px solid var(--border); }
    .map-sidebar-header h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
    .map-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .map-stat {
      background: var(--bg-inset); padding: 12px; border-radius: 10px;
      border: 1px solid var(--border); text-align: center;
    }
    .map-stat-label { font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); font-weight: 600; letter-spacing: 0.03em; margin-top: 2px; }
    .map-stat-value { font-size: 1.1rem; font-weight: 800; color: var(--pc-blue); font-family: "JetBrains Mono", monospace; }
    
    .lane-section-title {
      padding: 12px 20px; background: var(--bg-inset); font-size: 0.7rem;
      font-weight: 700; color: var(--text-muted); text-transform: uppercase;
      letter-spacing: 0.05em; border-bottom: 1px solid var(--border);
    }
    .lane-list { list-style: none; flex: 1; overflow-y: auto; }
    .lane-item {
      padding: 14px 20px; border-bottom: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      cursor: pointer; transition: all var(--transition-fast);
    }
    .lane-item:hover { background: var(--bg-inset); }
    .lane-route { font-weight: 700; font-size: 0.85rem; margin-bottom: 2px; }
    .lane-meta { font-size: 0.7rem; color: var(--text-muted); display: flex; gap: 8px; }
    .lane-distance { color: var(--text-muted); }
    .lane-trucks-badge {
      font-weight: 700; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem;
      white-space: nowrap;
    }
    .lane-auto { color: var(--pc-green); font-weight: 700; }
    
    .map-sidebar-footer {
      padding: 16px 20px; border-top: 1px solid var(--border);
      background: var(--bg-inset); margin-top: auto;
    }
    .map-legend { display: flex; gap: 20px; justify-content: center; }
    .legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); }
    .legend-line { width: 24px; height: 4px; border-radius: 2px; }
    
    #map { flex: 1; min-height: 400px; z-index: 1; position: relative; }
    [data-theme="dark"] .map-kpi-card { background: rgba(30, 41, 59, 0.95); border-color: #334155; }
    
    #prospectiveToggle label:hover {
      transform: translateY(-2px);
      border-color: rgba(245,158,11,0.9) !important;
      box-shadow: 0 6px 30px rgba(245,158,11,0.4), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    }
    
    .map-kpi-card {
      background: rgba(255, 255, 255, 0.95);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 8px 12px;
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      min-width: 100px;
      text-align: center;
    }
    .map-kpi-label {
      font-size: 0.6rem;
      text-transform: uppercase;
      color: var(--text-muted);
      font-weight: 600;
      letter-spacing: 0.03em;
      margin-top: 2px;
    }
    .map-kpi-value {
      font-size: 1rem;
      font-weight: 800;
      color: var(--pc-blue);
      font-family: "JetBrains Mono", monospace;
    }

    .map-content-area {
      flex: 1; display: flex; flex-direction: column; min-width: 0;
    }

    .map-overlay-container {
      padding: 16px 24px;
      display: flex; flex-direction: column; align-items: center;
      background: var(--bg-card); border-top: 1px solid var(--border);
    }
    
    .timeline-container {
      width: 100%; max-width: 600px; pointer-events: auto;
      background: var(--bg-elevated); backdrop-filter: blur(12px);
      border: 1px solid var(--border); border-radius: var(--radius-lg);
      padding: 24px; box-shadow: var(--shadow-lg);
    }
    .timeline-header { display: flex; justify-content: space-between; margin-bottom: 16px; align-items: flex-end; }
    .year-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; letter-spacing: 0.05em; }
    .year-display { font-size: 2rem; font-weight: 800; color: var(--pc-blue); line-height: 1; font-family: "JetBrains Mono", monospace; }
    .timeline-ticks {
      display: flex; justify-content: space-between; margin-top: 10px;
      color: var(--text-dim); font-size: 0.75rem; font-weight: 600;
    }

    .map-controls {
      position: absolute; top: 24px; right: 24px;
      display: flex; flex-direction: column; gap: 8px;
      pointer-events: auto; z-index: 1000;
    }
    .map-control-btn {
      width: 44px; height: 44px; border-radius: 10px;
      background: var(--bg-elevated); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: var(--text-muted); box-shadow: var(--shadow-sm);
      transition: all var(--transition-fast);
    }
    .map-control-btn:hover { border-color: var(--pc-blue); color: var(--pc-blue); }

    /* Custom Route Input */
    .route-input-panel {
      padding: 20px 24px; border-bottom: 1px solid var(--border);
      background: var(--bg-inset);
    }
    .route-input-panel h4 { font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; color: var(--pc-blue); }
    .route-input-row { display: flex; gap: 8px; margin-bottom: 8px; }
    .route-input-row input {
      flex: 1; padding: 10px 12px; border: 1px solid var(--border);
      border-radius: 8px; font-size: 0.85rem; background: var(--bg-card);
      color: var(--text-main);
    }
    .route-input-row input:focus { outline: none; border-color: var(--pc-blue); }
    .route-btn {
      padding: 10px 16px; background: var(--pc-blue); color: white;
      border: none; border-radius: 8px; font-weight: 600; cursor: pointer;
      transition: all var(--transition-fast);
    }
    .route-btn:hover { background: #0284c7; }

    /* --- OTR NETWORK PAGE --- */
    .otr-page { padding: 32px; max-width: 1600px; margin: 0 auto; }
    .otr-header { margin-bottom: 32px; }
    .otr-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
    .otr-header p { color: var(--text-muted); }

    .otr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
    .otr-card {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px;
      transition: all var(--transition-base);
    }
    .otr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .otr-card-icon {
      width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
      display: flex; align-items: center; justify-content: center;
    }
    .otr-card-icon.blue { background: var(--pc-blue-dim); color: var(--pc-blue); }
    .otr-card-icon.green { background: var(--pc-green-dim); color: var(--pc-green); }
    .otr-card-icon.orange { background: var(--pc-accent-dim); color: var(--pc-accent); }
    .otr-card-icon i { font-size: 24px; }
    .otr-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
    .otr-card p { color: var(--text-muted); font-size: 0.9rem; }

    /* --- TOAST NOTIFICATIONS --- */
    .toast-container {
      position: fixed; bottom: 24px; right: 24px; z-index: 9999;
      display: flex; flex-direction: column; gap: 12px;
    }
    .toast {
      background: var(--bg-elevated); border: 1px solid var(--border);
      padding: 16px 20px; border-radius: var(--radius);
      box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
      animation: toastIn 0.3s ease;
      max-width: 360px;
    }
    @keyframes toastIn {
      from { opacity: 0; transform: translateX(100px); }
      to { opacity: 1; transform: translateX(0); }
    }
    .toast.success { border-left: 4px solid var(--pc-green); }
    .toast.error { border-left: 4px solid var(--pc-red); }
    .toast i { font-size: 20px; }
    .toast.success i { color: var(--pc-green); }
    .toast.error i { color: var(--pc-red); }
    .toast-text { flex: 1; font-size: 0.9rem; }

    /* --- PRINT STYLES --- */
    @media print {
      body { background: white !important; }
      .header, .gate-overlay, .modal-backdrop, .toast-container { display: none !important; }
      .view-section { display: block !important; page-break-after: always; }
      .card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd !important; }
      .kpi-card { break-inside: avoid; }
      .chart-container { height: 300px !important; }
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 768px) {
      .header { padding: 0 16px; }
      .nav-tabs { display: none; }
      .exec-stats { grid-template-columns: repeat(2, 1fr); }
      .exec-grid { grid-template-columns: 1fr; }
      .exec-hero h1 { font-size: 2rem; }
      .fin-grid { padding: 16px; }
      .map-sidebar { width: 100%; position: absolute; bottom: 0; height: 50%; z-index: 900; }
      .otr-grid { grid-template-columns: 1fr; }
    }
