    [data-lucide] { display: inline-block; vertical-align: middle; stroke-width: 1.8; flex-shrink: 0; }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #F8F8F7; color: #111827; line-height: 1; }

    /* ── HEADER ── */
    header {
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      height: 60px; padding: 0 28px;
      display: flex; align-items: center; justify-content: space-between;
      position: sticky; top: 0; z-index: 50;
      border-bottom: 1px solid #EBEBEB;
    }
    /* Hide main header when dashboard is shown (sidebar has logo) */
    body.dash-active #app-header { display: none; }
    .header-logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.5px; color: #111; text-decoration: none; }
    .header-logo em { color: #4338CA; font-style: normal; }
    .header-right { display: flex; align-items: center; gap: 16px; }
    #user-info { font-size: 0.82rem; color: #6b7280; font-weight: 500; }
    #logout-btn {
      background: #F3F4F6; border: 1px solid #E5E7EB;
      color: #374151; padding: 6px 14px; border-radius: 6px;
      cursor: pointer; font-size: 0.8rem; font-weight: 600;
      transition: background .15s; font-family: inherit;
    }
    #logout-btn:hover { background: #E9EAEC; }

    /* ── PAGES ── */
    .page { display: none; }
    .page.active { display: block; }
    /* Ensure inactive pages are always hidden even against cached !important rules */
    .page:not(.active) { display: none !important; }

    /* ── DASH LAYOUT (sidebar + main) ── */
    .dash-layout {
      min-height: 100vh;
    }
    #page-dashboard.active {
      display: flex;
    }

    /* SIDEBAR */
    .dash-sidebar {
      width: 220px; flex-shrink: 0;
      background: #fff; border-right: 1px solid #EBEBEB;
      padding: 0; display: flex; flex-direction: column;
      position: sticky; top: 0; height: 100vh; overflow-y: auto;
    }
    .sidebar-logo {
      font-size: 1.1rem; font-weight: 700; letter-spacing: -0.5px;
      color: #111; padding: 20px 20px 0;
      text-decoration: none; display: block; flex-shrink: 0;
      margin-bottom: 20px; cursor: pointer;
    }
    .sidebar-logo:hover { opacity: 0.75; }
    .sidebar-logo em { color: #4338CA; font-style: normal; }
    .sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; flex: 1; }
    .sidebar-item {
      display: flex; align-items: center; gap: 10px;
      padding: 10px 12px; border-radius: 8px; border: none;
      background: none; cursor: pointer;
      font-size: 0.875rem; font-weight: 600; color: #6B7280;
      text-align: left; width: 100%; transition: all .15s;
      font-family: inherit;
    }
    .sidebar-item:hover:not(.active) { background: #F3F4F6; color: #374151; }
    .sidebar-item.active { background: #111; color: #fff; }
    .sidebar-bottom { padding: 12px 12px 20px; border-top: 1px solid #F3F4F6; margin-top: auto; }
    .sidebar-user { font-size: 0.8rem; font-weight: 600; color: #6B7280; padding: 0 8px; margin-bottom: 4px; }
    .sidebar-logout { color: #ef4444; }
    .sidebar-logout:hover { background: #fef2f2 !important; color: #dc2626; }

    /* MAIN CONTENT */
    .dash-main {
      flex: 1; min-width: 0;
      padding: 32px 32px 60px;
    }
    /* Show mobile tabs only on small screens */
    @media (min-width: 821px) {
      .dash-tabs-bar { display: none !important; }
    }
    @media (max-width: 820px) {
      .dash-sidebar { display: none; }
      /* push content below fixed nav island (top:12px + height:50px + gap = 74px) */
      .dash-main { padding: 66px 14px 40px; }
      #page-dashboard.active { display: block; }
    }

    /* Detail pages */
    .dash-detail-wrap {
      max-width: 900px; margin: 0 auto;
      padding: 28px 28px 60px;
    }
    @media (max-width: 820px) {
      .dash-detail-wrap { padding: 66px 14px 40px; }
    }
    .detail-back-btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 0.85rem; font-weight: 600; color: #6B7280;
      cursor: pointer; padding: 8px 0; margin-bottom: 20px;
      background: none; border: none; font-family: inherit;
      transition: color .2s;
    }
    .detail-back-btn:hover { color: #111; }

    /* ── AUTH PAGE ── */
    #page-auth {
      min-height: calc(100vh - 60px);
      display: none;
      grid-template-columns: 1fr 1fr;
    }
    #page-auth.active { display: grid; }

    .auth-left {
      background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
      padding: 60px 52px;
      display: flex; flex-direction: column; justify-content: center;
      color: #fff;
    }
    .auth-left-logo { font-size: 2.2rem; font-weight: 900; letter-spacing: -1.2px; margin-bottom: 36px; }
    .auth-left-logo em { color: #818cf8; font-style: normal; }
    .auth-left h2 { font-size: 1.9rem; font-weight: 900; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px; }
    .auth-left h2 em { color: #818cf8; font-style: normal; }
    .auth-left p { font-size: 0.95rem; color: #94a3b8; line-height: 1.7; margin-bottom: 36px; }
    .auth-perks { display: flex; flex-direction: column; gap: 16px; }
    .auth-perk { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: #cbd5e1; line-height: 1.5; }
    .auth-perk-icon { width: 32px; height: 32px; background: rgba(79,70,229,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
    .auth-perk strong { display: block; color: #e2e8f0; font-size: 0.88rem; margin-bottom: 2px; }
    .auth-landing-link { margin-top: 48px; font-size: 0.78rem; color: #475569; }
    .auth-landing-link a { color: #818cf8; text-decoration: none; }
    .auth-landing-link a:hover { text-decoration: underline; }

    .auth-right {
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      padding: 48px 40px;
    }
    .auth-form-wrap { width: 100%; max-width: 380px; }
    .auth-form-wrap h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 6px; }
    .auth-form-wrap .auth-subtitle { font-size: 0.88rem; color: #6b7280; margin-bottom: 28px; }

    /* tabs — for auth switch */
    .tabs { display: flex; gap: 4px; background: #f3f4f6; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
    .tab { flex: 1; text-align: center; padding: 9px; border-radius: 7px; cursor: pointer; font-size: 0.85rem; font-weight: 600; border: none; background: transparent; color: #6b7280; transition: all .2s; }
    .tab.active { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); color: #111827; }

    .form-row { margin-bottom: 14px; position: relative; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .form-grid .full { grid-column: 1/-1; }
    label { display: block; font-size: 0.75rem; font-weight: 700; color: #6b7280; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .3px; }
    input, select, textarea {
      width: 100%; padding: 10px 13px;
      border: 1.5px solid #e5e7eb; border-radius: 8px;
      font-size: 0.9rem; outline: none; color: #111827;
      background: #fff; transition: border-color .2s;
      font-family: inherit;
    }
    input:focus, select:focus, textarea:focus { border-color: #4f46e5; }
    textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 10px 20px; border-radius: 8px; border: none;
      cursor: pointer; font-size: 0.88rem; font-weight: 700;
      transition: all .15s; gap: 6px; font-family: inherit;
    }
    .btn:hover { opacity: 0.88; }
    .btn-primary { background: #111; color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
    .btn-primary:hover { background: #000; opacity: 1; }
    .btn-secondary { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
    .btn-secondary:hover { background: #e9eaec; opacity: 1; }
    .btn-danger { background: #ef4444; color: #fff; border: none; }
    .btn-danger:hover { background: #dc2626; opacity: 1; }
    .btn-sm { padding: 6px 12px; font-size: 0.78rem; }
    /* Minimalist action buttons */
    .btn-outline {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 7px 16px; border-radius: 100px;
      border: 1.5px solid #E5E7EB; background: #fff; color: #374151;
      font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: inherit;
      transition: border-color .15s, color .15s;
    }
    .btn-outline:hover { border-color: #111; color: #111; }
    .btn-dark-pill {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 8px 18px; border-radius: 100px;
      background: #111; color: #fff; border: none;
      font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: inherit;
      transition: background .15s;
    }
    .btn-dark-pill:hover { background: #000; }
    @keyframes _fadeIn  { from { opacity: 0; } to { opacity: 1; } }
    @keyframes _fadeOut { from { opacity: 1; } to { opacity: 0; } }
    @keyframes _slideUp   { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
    @keyframes _slideDown { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(16px) scale(0.97); } }

    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.45);
      display: flex; align-items: center; justify-content: center;
      z-index: 1000; backdrop-filter: blur(3px);
      animation: _fadeIn 0.18s ease forwards;
    }
    .modal-overlay.closing {
      animation: _fadeOut 0.18s ease forwards;
    }
    .modal-overlay.closing .modal-wiz-box,
    .modal-overlay.closing .modal-box {
      animation: _slideDown 0.18s ease forwards;
    }
    .modal-box {
      background: #fff; border-radius: 14px; padding: 28px 32px;
      max-width: 380px; width: 90%; box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    }
    .modal-box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: #111827; }
    .modal-box p { font-size: 0.88rem; color: #6b7280; line-height: 1.6; margin-bottom: 24px; }
    .modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

    /* Wizard modal */
    .modal-wiz-box {
      background: #fff; border-radius: 16px;
      width: 100%; max-width: 580px;
      max-height: 90vh; display: flex; flex-direction: column;
      box-shadow: 0 24px 60px rgba(0,0,0,0.18);
      animation: _slideUp 0.22s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    .modal-wiz-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 24px; border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
    }
    .modal-wiz-title { font-size: 0.95rem; font-weight: 700; color: #111; }
    .modal-wiz-close {
      width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
      border: none; background: #f3f4f6; border-radius: 6px; cursor: pointer; color: #6b7280;
      transition: background 0.15s;
    }
    .modal-wiz-close:hover { background: #e5e7eb; color: #111; }
    .modal-wiz-body { flex: 1; overflow-y: auto; padding: 24px; }
    /* Inside modal the wiz-card has no border/shadow */
    .modal-wiz-body .wiz-card {
      border: none; box-shadow: none; padding: 0; max-width: 100%;
    }
    /* On mobile wizard modal becomes full-screen */
    @media (max-width: 820px) {
      .modal-wiz-box { max-width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
    }
    .btn-download {
      background: #f0f9ff; color: #0369a1;
      border: 1px solid #bae6fd; padding: 7px 14px;
      font-size: 0.82rem; border-radius: 7px; cursor: pointer;
      font-weight: 600; display: inline-flex; align-items: center; gap: 5px;
      transition: background .15s;
    }
    .btn-download:hover { background: #e0f2fe; }

    .alert { padding: 10px 14px; border-radius: 8px; font-size: 0.84rem; margin-bottom: 14px; display: none; font-weight: 500; }
    .alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
    .alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }

    /* ── DASHBOARD ── */
    /* (layout now via .dash-layout / .dash-main) */

    /* Dashboard top nav (mobile only) */
    .dash-tabs-bar {
      display: flex; align-items: center; gap: 2px;
      background: #F3F4F6; border-radius: 10px;
      padding: 4px; margin-bottom: 24px;
      width: 100%;
    }
    .dash-tab {
      flex: 1; padding: 8px 4px; white-space: nowrap;
      border-radius: 7px; cursor: pointer; text-align: center;
      font-size: 0.85rem; font-weight: 600; border: none;
      background: transparent; color: #6B7280; transition: all .18s;
      font-family: inherit;
    }
    .dash-tab.active, .dash-tab[data-current] { background: #111; color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
    .dash-tab:not(.active):hover { background: rgba(0,0,0,0.05); color: #374151; }

    /* ── CARD ── */
    .card {
      background: #fff; border-radius: 12px;
      border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 1px 3px rgba(0,0,0,.04);
      padding: 24px; margin-bottom: 16px;
    }
    .card h2 { font-size: 0.95rem; font-weight: 800; margin-bottom: 16px; color: #111827; letter-spacing: -0.1px; line-height: 1.3; }

    /* ── INTAKE CARD ── */
    .intake-card {
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px; padding: 28px;
      max-width: 640px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
      margin-bottom: 16px;
    }
    .intake-title { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; color: #111; margin-bottom: 8px; }
    .intake-desc { font-size: 0.875rem; color: #6B7280; line-height: 1.65; margin-bottom: 4px; }
    .intake-example { font-size: 0.78rem; color: #9CA3AF; margin-bottom: 16px; line-height: 1.5; }
    .intake-example em { font-style: italic; }

    /* ── SETTINGS CARD ── */
    .settings-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 28px; max-width: 560px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
    .settings-card + .settings-card { margin-top: 16px; }
    .settings-card-title { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
    /* Sign out card — only visible on mobile where sidebar is hidden */
    .settings-signout-card { display: none; }
    @media (max-width: 820px) {
      .settings-signout-card { display: block; }
      .settings-signout-user {
        font-size: 0.8rem; font-weight: 600; color: #9CA3AF;
        margin-bottom: 16px;
      }
      .settings-signout-btn {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 10px 20px; border-radius: 100px; border: 1.5px solid #fca5a5;
        cursor: pointer; font-size: 0.875rem; font-weight: 600; font-family: inherit;
        background: #fff; color: #dc2626; transition: all .15s;
      }
      .settings-signout-btn:hover { background: #fef2f2; border-color: #f87171; }
    }

    /* ── CLAIM CARDS LIST ── */
    .claim-list, .claims-list { display: flex; flex-direction: column; gap: 8px; }
    .claim-card {
      background: #fff; border-radius: 12px;
      border: 1px solid rgba(0,0,0,0.08);
      padding: 18px 20px; cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
      display: flex; align-items: center; gap: 16px;
      box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .claim-card:hover {
      border-color: rgba(0,0,0,0.15);
      box-shadow: 0 4px 16px rgba(0,0,0,0.07);
      transform: translateY(-1px);
    }
    .claim-card-left { flex: 1; min-width: 0; }
    .claim-card-right { text-align: right; flex-shrink: 0; }
    .claim-flight { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: #111; margin-bottom: 3px; }
    .claim-meta { font-size: 0.8rem; color: #9CA3AF; }
    .claim-comp { font-size: 0.82rem; color: #16a34a; font-weight: 600; margin-top: 4px; }
    /* legacy */
    .claim-card .flight { font-weight: 700; font-size: 0.97rem; color: #1f2937; letter-spacing: -0.2px; }
    .claim-card .meta { font-size: 0.8rem; color: #6b7280; margin-top: 4px; font-weight: 500; }
    /* Deadline pill */
    .deadline-pill {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 0.7rem; font-weight: 600; padding: 3px 8px;
      border-radius: 100px; margin-top: 5px;
    }
    .deadline-pill.deadline-urgent { background: #FEF2F2; color: #B91C1C; }
    .deadline-pill.deadline-warn   { background: #FFFBEB; color: #B45309; }
    .deadline-pill.deadline-ok     { background: #F0FDF4; color: #15803D; }
    .deadline-pill.deadline-expired{ background: #F3F4F6; color: #9CA3AF; text-decoration: line-through; }

    /* ── BADGES — monochrome with status dot ── */
    .badge {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 3px 9px; border-radius: 99px;
      font-size: 0.72rem; font-weight: 600; white-space: nowrap;
      background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb;
    }
    .badge::before {
      content: ''; display: inline-block;
      width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
      background: #9ca3af;
    }
    /* dot colors — minimal set */
    .badge-new::before            { background: #6b7280; }
    .badge-docs_requested::before { background: #f59e0b; }
    .badge-ready_to_submit::before{ background: #6366f1; }
    .badge-submitted::before      { background: #3b82f6; }
    .badge-follow_up_sent::before { background: #3b82f6; }
    .badge-escalated::before      { background: #ef4444; }
    .badge-approved::before       { background: #10b981; }
    .badge-rejected::before       { background: #ef4444; }
    .badge-paid::before           { background: #10b981; }
    .badge-closed::before         { background: #d1d5db; }
    .badge-pending_review::before { background: #7c3aed; }

    /* ── CLAIM DETAIL ── */

    /* ── CLAIM DETAIL ── */

    /* Hero */
    .cd-hero {
      background: #fff; border: 1.5px solid #e5e7eb;
      border-radius: 16px; padding: 22px 24px; margin-bottom: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,.05);
    }
    .cd-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
    .cd-flight-num { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; line-height: 1; color: #0f172a; }
    .cd-route { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 1rem; font-weight: 800; color: #4f46e5; }
    .cd-hero-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding-top: 2px; }
    .cd-edit-btn, .cd-delete-btn {
      background: none; border: 1px solid #e5e7eb; color: #9ca3af;
      border-radius: 7px; width: 28px; height: 28px;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: all .15s;
    }
    .cd-edit-btn:hover { border-color: #a5b4fc; color: #4f46e5; background: #eef2ff; }
    .cd-delete-btn:hover { border-color: #fca5a5; color: #ef4444; background: #fef2f2; }
    .cd-hero-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.82rem; color: #6b7280; }
    .cd-meta-dot { color: #d1d5db; }

    /* Hero — compensation inline */
    .cd-hero-comp {
      display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
      margin-top: 14px; padding-top: 14px; border-top: 1px solid #dcfce7;
    }
    .cd-hero-comp-amount { font-size: 1.6rem; font-weight: 900; color: #15803d; letter-spacing: -0.5px; line-height: 1; }
    .cd-hero-comp-label  { font-size: 0.75rem; color: #6b7280; font-weight: 500; }
    .cd-hero-comp-reg    { font-size: 0.72rem; font-weight: 700; background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 99px; }

    /* Hero — ineligible */
    .cd-hero-ineligible {
      display: flex; align-items: center; gap: 6px;
      margin-top: 10px; font-size: 0.8rem; color: #b91c1c; font-weight: 500;
    }

    /* Hero — deadline */
    .cd-hero-deadline {
      display: inline-flex; align-items: center; gap: 5px;
      margin-top: 10px; padding: 5px 10px; border-radius: 7px;
      font-size: 0.78rem; font-weight: 600;
    }
    .cd-hero-deadline.ok      { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
    .cd-hero-deadline.warn    { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
    .cd-hero-deadline.urgent  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
    .cd-hero-deadline.expired { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

    /* Status actions (inside hero) */
    .cd-hero-actions {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
      margin-top: 14px; padding-top: 14px; border-top: 1px solid #f3f4f6;
    }
    .cd-hero-actions-label { font-size: 0.72rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; flex-shrink: 0; margin-right: 2px; }

    /* Flight details (inside hero) */
    .cd-details-route { display: flex; align-items: center; gap: 0; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #f3f4f6; margin-bottom: 16px; }
    .cd-details-airport { flex: 1; }
    .cd-details-airport--right { text-align: right; }
    .cd-details-iata { font-size: 1.4rem; font-weight: 900; color: #111827; letter-spacing: -0.5px; }
    .cd-details-country { font-size: 0.75rem; color: #9ca3af; margin-top: 2px; }
    .cd-details-time { font-size: 0.82rem; font-weight: 700; color: #374151; margin-top: 6px; }
    .cd-details-actual { color: #f97316; margin-left: 4px; }
    .cd-details-delay { color: #f97316; font-weight: 700; font-size: 0.8rem; }
    .cd-details-line {
      flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px;
    }
    .cd-details-line-inner { flex: 1; height: 1px; background: #e5e7eb; }
    .cd-details-meta { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #f3f4f6; padding-top: 14px; }
    .cd-details-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.83rem; }
    .cd-details-row span { color: #9ca3af; }
    .cd-details-row strong { color: #111827; font-weight: 600; }

    /* Document checklist */
    .cd-doc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
    .cd-doc-progress-wrap { flex: 1; height: 4px; background: #f3f4f6; border-radius: 99px; overflow: hidden; }
    .cd-doc-progress-bar  { height: 100%; background: #10b981; border-radius: 99px; transition: width .4s; }
    .cd-doc-count      { font-size: 0.8rem; font-weight: 700; color: #6b7280; flex-shrink: 0; }
    .cd-doc-count.done { color: #16a34a; }
    .cd-doc-list { display: flex; flex-direction: column; }
    .cd-doc-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
    .cd-doc-item:last-child { border-bottom: none; padding-bottom: 0; }
    .cd-doc-icon {
      width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; margin-top: 1px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.78rem; background: #f3f4f6; color: #9ca3af;
    }
    .cd-doc-item.done .cd-doc-icon { background: #dcfce7; color: #16a34a; }
    .cd-doc-body { flex: 1; min-width: 0; }
    .cd-doc-name { font-size: 0.88rem; font-weight: 600; color: #374151; }
    .cd-doc-item.done .cd-doc-name { color: #16a34a; }
    .cd-doc-hint { font-size: 0.76rem; color: #9ca3af; margin-top: 2px; line-height: 1.4; }
    .cd-doc-file { font-size: 0.76rem; color: #9ca3af; margin-top: 2px; }

    /* Section header */
    .cd-section-hdr {
      font-size: 0.72rem; font-weight: 700; color: #9ca3af;
      text-transform: uppercase; letter-spacing: .7px;
    }

    /* Assistant banner */
    .cd-banner {
      display: flex; align-items: flex-start; gap: 10px;
      border: 1px solid; border-radius: 10px;
      padding: 11px 14px; margin-bottom: 12px;
      font-size: 0.84rem; color: #374151; line-height: 1.6;
    }

    /* Letters */
    .cd-letters { display: flex; flex-direction: column; gap: 1px; margin-bottom: 12px; background:#fff; border:1px solid #e5e7eb; border-radius:14px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.04); }
    .cd-letters > .cd-section-hdr { padding: 14px 18px 12px; border-bottom: 1px solid #f3f4f6; }
    .cd-letters-note { font-size: 0.75rem; color: #9ca3af; line-height: 1.5; padding: 0 18px 12px; border-bottom: 1px solid #f3f4f6; }
    .letter-review-notice {
      font-size: 0.77rem; color: #4f46e5; background: #eef2ff;
      border: 1px solid #c7d2fe; border-radius: 7px;
      padding: 7px 11px; margin-bottom: 10px; line-height: 1.4;
    }
    .cd-letter-card { padding: 14px 18px; border-bottom: 1px solid #f3f4f6; }
    .cd-letter-card:last-child { border-bottom: none; }
    .cd-letter-head { display: flex; align-items: center; gap: 12px; }
    .cd-letter-icon {
      width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
      background: #f5f3ff; color: #4f46e5;
      display: flex; align-items: center; justify-content: center;
    }
    .cd-letter-info { flex: 1; min-width: 0; }
    .cd-letter-title { font-size: 0.88rem; font-weight: 700; color: #111827; }
    .cd-letter-desc  { font-size: 0.76rem; color: #9ca3af; line-height: 1.4; margin-top: 2px; }
    .cd-letter-btn   { flex-shrink: 0; }
    #letter-box, #followup-letter-box, #escalation-letter-box { margin-top: 12px; }

    /* Timeline */
    .cd-history { margin-bottom: 12px; }
    .cd-timeline { display: flex; flex-direction: column; }
    .cd-tl-item  { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f9fafb; }
    .cd-tl-item:last-child { border-bottom: none; padding-bottom: 0; }
    .cd-tl-icon  {
      width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
      background: #f3f4f6; color: #9ca3af;
      display: flex; align-items: center; justify-content: center;
    }
    .cd-tl-body  { flex: 1; padding-top: 2px; }
    .cd-tl-text  { font-size: 0.82rem; color: #374151; line-height: 1.5; }
    .cd-tl-time  { font-size: 0.7rem; color: #9ca3af; margin-top: 3px; }

    /* Legacy deadline badges (used in claim list) */
    .deadline-badge {
      display: inline-block; font-size: 0.76rem; font-weight: 600;
      padding: 3px 9px; border-radius: 6px; margin-top: 5px;
    }
    .deadline-ok      { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
    .deadline-warn    { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
    .deadline-urgent  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
    .deadline-expired { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

    /* ── DOCUMENTS ── */
    .doc-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
    .doc-item {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 14px; background: #f8fafc;
      border-radius: 8px; border: 1px solid #e9eaec;
    }
    .doc-item .doc-name { font-size: 0.86rem; font-weight: 600; color: #111827; }
    .doc-item .doc-meta { font-size: 0.75rem; color: #9ca3af; margin-top: 2px; }

    /* ── ACTION LOG ── */
    .action-list { display: flex; flex-direction: column; gap: 6px; }
    .action-item {
      font-size: 0.84rem; padding: 10px 14px;
      border-left: 3px solid #4f46e5;
      background: #f5f3ff; border-radius: 0 8px 8px 0;
      color: #374151;
    }
    .action-item .action-time { font-size: 0.72rem; color: #9ca3af; margin-top: 3px; font-weight: 500; }

    /* ── LETTER ── */
    .letter-box {
      background: #f9fafb; border: 1px solid #e5e7eb;
      border-radius: 10px; padding: 18px 20px;
      font-size: 0.87rem; white-space: pre-wrap;
      line-height: 1.65; max-height: 360px; overflow-y: auto;
      color: #374151; font-family: 'Georgia', serif;
    }

    /* ── ANALYTICS ── */
    #analytics-container { display: flex; flex-direction: column; gap: 16px; }

    /* Hero */
    .an-hero {
      background: #fff;
      border: 2px solid #10b981;
      border-radius: 16px; padding: 28px 28px 24px;
      text-align: center;
      box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .an-hero-label { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
    .an-hero-amount { font-size: 3rem; font-weight: 900; letter-spacing: -2px; margin: 6px 0 4px; color: #10b981; }
    .an-hero-sub { font-size: 0.85rem; color: #6b7280; }

    /* KPIs */
    .an-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .an-kpi {
      background: #fff; border: 1px solid #e9eaec; border-radius: 14px;
      padding: 18px 14px; text-align: center;
      box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .an-kpi svg { width: 20px; height: 20px; color: #4f46e5; margin-bottom: 8px; }
    .an-kpi--green svg { color: #10b981; }
    .an-kpi-val { font-size: 1.7rem; font-weight: 800; color: #1f2937; letter-spacing: -1px; }
    .an-kpi-lbl { font-size: 0.72rem; color: #6b7280; font-weight: 600; margin-top: 3px; }

    /* Shared card */
    .an-card {
      background: #fff; border: 1px solid #e9eaec; border-radius: 14px;
      padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .an-card-title {
      display: flex; align-items: center; gap: 7px;
      font-size: 0.8rem; font-weight: 800; color: #374151;
      text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
    }
    .an-card-title svg { width: 15px; height: 15px; color: #4f46e5; flex-shrink: 0; }

    /* Pipeline bar */
    .an-pipeline-bar {
      display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 2px; margin-bottom: 16px;
    }
    .an-pipeline-seg { height: 100%; min-width: 4px; border-radius: 99px; }
    .an-pipeline-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; }
    .an-legend-item { display: flex; align-items: center; gap: 6px; }
    .an-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .an-legend-label { font-size: 0.78rem; color: #374151; }
    .an-legend-count { font-size: 0.78rem; font-weight: 700; color: #111; }

    /* Incident bars */
    .an-bars { display: flex; flex-direction: column; gap: 10px; }
    .an-bar-row { display: flex; align-items: center; gap: 10px; }
    .an-bar-name { font-size: 0.78rem; color: #374151; width: 120px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .an-bar-track { flex: 1; height: 7px; background: #f3f4f6; border-radius: 99px; overflow: hidden; }
    .an-bar-fill { height: 100%; background: linear-gradient(90deg, #4f46e5, #7c3aed); border-radius: 99px; transition: width .4s ease; }
    .an-bar-val { font-size: 0.78rem; font-weight: 700; color: #111; width: 20px; text-align: right; flex-shrink: 0; }

    /* Two-col layout */
    .an-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

    /* Airlines */
    .an-airlines { display: flex; flex-direction: column; gap: 2px; }
    .an-airline-row {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 10px; border-radius: 8px;
    }
    .an-airline-row:hover { background: #f9fafb; }
    .an-airline-rank { font-size: 0.72rem; font-weight: 800; color: #9ca3af; width: 16px; flex-shrink: 0; }
    .an-airline-name { font-size: 0.85rem; font-weight: 600; color: #111; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .an-airline-meta { font-size: 0.75rem; color: #6b7280; flex-shrink: 0; }
    .an-airline-avg { color: #4f46e5; font-weight: 600; margin-left: 4px; }

    /* Mobile */
    @media (max-width: 600px) {
      .an-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
      .an-kpi { padding: 14px 8px; }
      .an-kpi-val { font-size: 1.3rem; }
      .an-hero-amount { font-size: 2.2rem; }
      .an-two-col { grid-template-columns: 1fr; }
      .an-bar-name { width: 90px; }
    }

    /* ── MISC ── */
    .section-title {
      font-size: 0.78rem; font-weight: 800; color: #6b7280;
      text-transform: uppercase; letter-spacing: .8px;
      margin: 22px 0 12px; border-bottom: 1px solid #f0f0f0; padding-bottom: 8px;
    }
    .next-step-banner { border-radius: 10px; padding: 13px 16px; margin: 12px 0; }
    .empty { text-align: center; color: #9ca3af; padding: 40px 20px; font-size: 0.9rem; font-weight: 500; }
    .spinner {
      display: inline-block; width: 20px; height: 20px;
      border: 2.5px solid #e5e7eb; border-top-color: #4f46e5;
      border-radius: 50%; animation: spin .65s linear infinite; vertical-align: middle;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .back-btn {
      background: none; border: none; color: #4f46e5;
      cursor: pointer; font-size: 0.88rem; font-weight: 700;
      padding: 0 0 18px; display: inline-flex; align-items: center; gap: 5px;
    }
    .back-btn:hover { color: #3730a3; }

    /* ── AI STEPPER ── */
    .stepper { display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
    .step-item { display:flex; flex-direction:column; align-items:center; gap:5px; }
    .step-num {
      width: 32px; height: 32px; border-radius: 50%;
      border: 2px solid #e5e7eb; background: #fff; color: #9ca3af;
      display: flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 0.8rem; transition: all .25s;
    }
    .step-lbl { font-size: 0.72rem; color: #9ca3af; white-space: nowrap; font-weight: 600; }
    .step-line-h { width: 56px; height: 2px; background: #e5e7eb; margin: 0 6px; margin-bottom: 20px; transition: background .25s; }
    .step-item.active .step-num { background: #4f46e5; border-color: #4f46e5; color: #fff; }
    .step-item.active .step-lbl { color: #4f46e5; }
    .step-item.done .step-num   { background: #ecfdf5; border-color: #10b981; color: #059669; }
    .step-item.done .step-lbl   { color: #059669; }
    .step-line-h.done { background: #10b981; }

    .conditional-field { display: none; }

    /* ── EMPTY STATE ── */
    .empty-state {
      text-align: center; padding: 52px 20px;
      background: #fff; border-radius: 14px;
      border: 1px solid #e9eaec;
    }
    .empty-state-icon { font-size: 2.8rem; margin-bottom: 14px; opacity: 0.5; }
    .empty-state h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: #374151; }
    .empty-state p { font-size: 0.86rem; color: #9ca3af; line-height: 1.6; max-width: 320px; margin: 0 auto 20px; }

    @media (max-width: 680px) {
      #page-auth { grid-template-columns: 1fr; }
      .auth-left { display: none; }

      .dash-detail-wrap { padding: 16px 14px 40px; }
      .card { padding: 18px 16px; }

      .cd-hero { padding: 18px 16px; }
      .cd-flight-num { font-size: 1.3rem; }
      .cd-route { font-size: 0.9rem; gap: 6px; margin-top: 5px; }
      .cd-hero-meta { font-size: 0.8rem; gap: 6px; }

      .cd-comp { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px; }
      .cd-comp-amount { font-size: 2rem; }
      .cd-comp-disclaimer { text-align: center; }

      .cd-hero { padding: 16px; }
      .cd-flight-num { font-size: 1.25rem; }
      .cd-hero-actions { gap: 6px; }
      .cd-hero-actions .btn { font-size: 0.78rem; padding: 6px 10px; }
      .cd-details-iata { font-size: 1.2rem; }
      .cd-letter-head { flex-wrap: wrap; }
      .cd-letter-btn { width: 100%; margin-top: 8px; justify-content: center; }
    }

    /* ── PASSWORD HINT ── */
    .pass-hint {
      font-size: 0.74rem; color: #9ca3af; margin-top: 5px;
      line-height: 1.5; padding: 6px 10px;
      background: #f8fafc; border-radius: 6px;
      border: 1px solid #f0f0f0;
    }
    .wiz-consents { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 4px; }
    .wiz-consent-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 10px 12px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fafafa; transition: border-color 0.15s, background 0.15s; font-weight: 400; text-transform: none; letter-spacing: 0; margin-bottom: 0; }
    .wiz-consent-row:hover { border-color: #a5b4fc; background: #f5f3ff; }
    .wiz-consent-row input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
    .wiz-consent-check { flex-shrink: 0; margin-top: 1px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #d1d5db; background: #fff; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s, background 0.15s; }
    .wiz-consent-row input:checked ~ .wiz-consent-check { border-color: #4f46e5; background: #4f46e5; }
    .wiz-consent-check::after { content: ''; display: block; width: 5px; height: 9px; border: 2px solid transparent; border-top: none; border-left: none; transform: rotate(45deg) translate(-1px, -1px); }
    .wiz-consent-row input:checked ~ .wiz-consent-check::after { border-color: #fff; }
    .wiz-consent-row input:checked ~ .wiz-consent-text { color: #374151; }
    .wiz-consent-text { font-size: 0.8rem; color: #6b7280; line-height: 1.5; }
    .wiz-consent-text a { color: #4f46e5; text-decoration: underline; }

    /* ── FIELD VALIDATION ── */
    .field-err {
      font-size: 0.75rem; color: #dc2626; margin-top: 4px;
      line-height: 1.4; display: none;
    }

    /* ── IATA AUTOCOMPLETE ── */
    .iata-dropdown {
      position: absolute; top: 100%; left: 0; right: 0; z-index: 200;
      background: #fff;
      border: 1.5px solid #e5e7eb;
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0,0,0,.13);
      overflow: hidden;
      max-height: 260px;
      overflow-y: auto;
    }
    .iata-dropdown-item {
      display: flex; align-items: center; gap: 8px;
      padding: 9px 13px; cursor: pointer;
      border-bottom: 1px solid #f3f4f6;
      font-size: 0.85rem; transition: background .1s;
    }
    .iata-dropdown-item:last-child { border-bottom: none; }
    .iata-dropdown-item:hover,
    .iata-dropdown-item.active { background: #f5f3ff; }
    .iata-code {
      font-weight: 800; font-size: 0.88rem;
      color: #4f46e5; min-width: 36px; letter-spacing: .5px;
    }
    .iata-label { flex: 1; color: #111827; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .iata-country { font-size: 0.75rem; color: #9ca3af; white-space: nowrap; }

    /* ── SETTINGS / TELEGRAM ── */
    .settings-section { max-width: 560px; margin: 24px auto; }
    .tg-connected, .tg-connect-wrap {
      display: flex; align-items: center; gap: 16px;
    }
    .tg-icon {
      width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .tg-icon--on { background: #2563eb; }
    .tg-icon--off { background: #f3f4f6; }
    .tg-text { flex: 1; }
    .tg-title { font-weight: 700; font-size: 0.97rem; margin-bottom: 3px; }
    .tg-sub { font-size: 0.82rem; color: #6b7280; line-height: 1.5; }
    .tg-disconnect-btn { flex-shrink: 0; }
    .tg-link-step {
      margin-top: 20px; display: flex; flex-direction: column; gap: 12px;
      border-top: 1px solid #e5e7eb; padding-top: 20px;
    }
    .tg-step-card {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 0.88rem; color: #374151; line-height: 1.6;
    }
    .tg-step-card a { color: #4f46e5; text-decoration: none; }
    .tg-step-card a:hover { text-decoration: underline; }
    .tg-step-num {
      width: 26px; height: 26px; border-radius: 50%; background: #ede9fe;
      color: #4f46e5; font-weight: 800; font-size: 0.82rem;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .tg-code-block {
      display: inline-block; margin-top: 6px;
      background: #f3f4f6; border: 1px solid #e5e7eb;
      border-radius: 8px; padding: 8px 16px;
      font-family: 'Courier New', monospace; font-size: 1.05rem;
      font-weight: 700; letter-spacing: 2px; color: #111827;
    }
    .tg-step-note { font-size: 0.78rem; color: #9ca3af; }
    @media (max-width: 480px) {
      .tg-connected, .tg-connect-wrap { flex-wrap: wrap; }
      .tg-disconnect-btn { width: 100%; }
    }

    /* ══ V2 UI PORT ══ */

    /* Claim detail — hero */
    .detail-hero {
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px; padding: 28px; margin-bottom: 16px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .detail-top-row {
      display: flex; justify-content: space-between; align-items: flex-start;
      margin-bottom: 24px; gap: 16px;
    }
    .detail-flight-num { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: #111; }
    .detail-flight-sub { font-size: 0.85rem; color: #9CA3AF; margin-top: 4px; }
    .detail-top-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .icon-btn {
      width: 32px; height: 32px; background: #F8F8F7; border: 1px solid #EBEBEB;
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all 0.2s; flex-shrink: 0;
    }
    .icon-btn:hover { background: #EBEBEB; }
    .icon-btn.danger:hover { background: #FEF2F2; border-color: rgba(185,28,28,0.2); }

    /* Route block */
    .route-block {
      display: flex; align-items: center; gap: 16px;
      padding: 20px 0; border-top: 1px solid #F3F4F6; border-bottom: 1px solid #F3F4F6;
      margin-bottom: 20px;
    }
    .route-airport { flex: 1; }
    .route-airport.right { text-align: right; }
    .route-iata { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: #111; }
    .route-country { font-size: 0.8rem; color: #9CA3AF; margin-top: 2px; }
    .route-time { font-size: 0.85rem; font-weight: 600; color: #374151; margin-top: 4px; }
    .route-time-actual { color: #EA580C; }
    .route-time-delay { color: #EA580C; font-weight: 700; }
    .route-arrow { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
    .route-line { flex: 1; height: 1px; background: #EBEBEB; width: 40px; }

    /* Meta row */
    .meta-row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
    .meta-item { display: flex; flex-direction: column; gap: 2px; }
    .meta-key { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9CA3AF; }
    .meta-val { font-size: 0.875rem; font-weight: 600; color: #111; }

    /* Compensation + ineligible */
    .comp-block {
      display: flex; align-items: center; justify-content: space-between;
      background: #F0FDF4; border: 1px solid rgba(22,163,74,0.2);
      border-radius: 10px; padding: 16px 20px; margin-bottom: 16px;
    }
    .comp-amount { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; color: #16A34A; }
    .comp-label { font-size: 0.75rem; color: #16A34A; font-weight: 600; margin-top: 2px; }
    .comp-reg { font-size: 0.75rem; color: #6B7280; margin-top: 4px; }
    .ineligible-block {
      display: flex; align-items: flex-start; gap: 10px;
      background: #FEF2F2; border: 1px solid rgba(185,28,28,0.15);
      border-radius: 8px; padding: 14px 16px; margin-bottom: 16px;
      font-size: 0.875rem; color: #B91C1C;
    }

    /* Status actions */
    .status-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
    .status-actions-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9CA3AF; }

    /* Section cards (docs, letters, history) */
    .section-card {
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px; padding: 24px; margin-bottom: 16px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .section-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
    .section-title { font-size: 0.875rem; font-weight: 700; color: #111; display: flex; align-items: center; gap: 7px; }

    /* Timeline (history) */
    .timeline { display: flex; flex-direction: column; }
    .timeline-item { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-item:last-child .tl-line { display: none; }
    .tl-icon-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
    .tl-dot {
      width: 28px; height: 28px; background: #F3F4F6; border-radius: 50%;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .tl-line { flex: 1; width: 1px; background: #EBEBEB; margin: 4px 0; min-height: 16px; }
    .tl-text { font-size: 0.875rem; color: #374151; line-height: 1.5; padding-top: 4px; }
    .tl-time { font-size: 0.75rem; color: #9CA3AF; margin-top: 3px; }

    /* Doc styles (v2) */
    .doc-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 16px 0; border-bottom: 1px solid #F3F4F6;
    }
    .doc-list { padding-bottom: 16px; }
    .doc-icon {
      width: 28px; height: 28px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
    }
    .doc-icon.done { background: #F0FDF4; }
    .doc-icon.pending { background: #F5F5F5; }
    .doc-name { font-size: 0.875rem; font-weight: 600; color: #111; margin-bottom: 3px; }
    .doc-hint { font-size: 0.78rem; color: #9CA3AF; line-height: 1.4; }
    .doc-file {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 0.75rem; color: #16A34A; font-weight: 500;
      background: #F0FDF4; padding: 3px 8px; border-radius: 20px; margin-top: 4px;
    }
    .doc-upload-btn {
      display: inline-flex; align-items: center; gap: 6px;
      margin-top: 8px; padding: 7px 13px;
      border: 1.5px dashed #D1D5DB; border-radius: 8px;
      background: #FAFAFA; color: #6B7280;
      font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: inherit;
      transition: border-color .15s, color .15s, background .15s;
    }
    .doc-upload-btn:hover { border-color: #111; color: #111; background: #F3F4F6; }
    .doc-progress-wrap { height: 3px; background: #F3F4F6; border-radius: 2px; overflow: hidden; margin-bottom: 16px; margin-top: 8px; }
    .doc-progress-bar { height: 100%; background: #16A34A; border-radius: 2px; transition: width 0.4s; }

    /* Letter card (v2) */
    .letter-card { border: 1px solid #EBEBEB; border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; }
    .letter-card:last-child { margin-bottom: 0; }
    .letter-head { display: flex; align-items: center; gap: 12px; }
    .letter-icon { width: 36px; height: 36px; background: #EEF2FF; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .letter-title { font-size: 0.9rem; font-weight: 700; color: #111; }
    .letter-desc { font-size: 0.78rem; color: #9CA3AF; margin-top: 2px; }
    .letter-body { margin-top: 16px; }
    .letter-ready-row { display: flex; align-items: center; gap: 10px; }
    .letter-ready-badge { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 6px 12px; }
    .btn-send-letter { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: #fff; background: #4f46e5; border: none; border-radius: 6px; padding: 7px 16px; cursor: pointer; transition: background 0.15s; }
    .btn-send-letter:hover { background: #4338ca; }

    /* ── STRUCTURED WIZARD ── */
    .wiz-card {
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 16px; padding: 32px; max-width: 560px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .wiz-progress-bar {
      height: 3px; background: #e5e7eb; border-radius: 99px;
      margin-bottom: 24px; overflow: hidden;
    }
    .wiz-progress-fill {
      height: 100%; background: #4f46e5; border-radius: 99px;
      transition: width 0.35s ease;
    }
    .wiz-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: #111; margin-bottom: 4px; }
    .wiz-subtitle { font-size: 0.875rem; color: #6b7280; line-height: 1.6; margin-bottom: 0; }
    .wiz-content { margin-top: 20px; }
    .wiz-hint { font-size: 0.78rem; color: #9ca3af; margin-top: 8px; line-height: 1.5; }
    .wiz-optional { font-weight: 400; text-transform: none; font-size: 0.75rem; color: #9ca3af; }
    .wiz-nav {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 24px; padding-top: 20px; border-top: 1px solid #f3f4f6;
    }
    .wiz-nav-back { margin-top: 20px; }

    /* Option buttons (radio-style) */
    .wiz-options { display: flex; flex-direction: column; gap: 8px; }
    .wiz-option-btn {
      display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
      padding: 13px 16px; border-radius: 10px;
      border: 1.5px solid #e5e7eb; background: #fff;
      cursor: pointer; text-align: left; width: 100%;
      transition: border-color 0.12s, background 0.12s; font-family: inherit;
    }
    .wiz-option-btn:hover { border-color: #a5b4fc; background: #fafafe; }
    .wiz-option-btn.selected { border-color: #4f46e5; background: #eef2ff; }
    .wiz-option-label { font-size: 0.9rem; font-weight: 600; color: #111827; }
    .wiz-option-hint { font-size: 0.78rem; color: #9ca3af; }
    .wiz-option-btn.selected .wiz-option-hint { color: #6366f1; }

    /* Document upload grid */
    .wiz-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
    .wiz-docs-grid > * { min-width: 0; overflow: hidden; }
    .wiz-doc-btn { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    @media (max-width: 500px) { .wiz-docs-grid { grid-template-columns: 1fr; } }
    .wiz-doc-item {
      border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 14px;
      transition: border-color 0.15s, background 0.15s;
    }
    .wiz-doc-item.has-file { border-color: #86efac; background: #f0fdf4; }
    .wiz-doc-label { font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 3px; }
    .wiz-doc-req { color: #dc2626; }
    .wiz-doc-hint { font-size: 0.74rem; color: #9ca3af; margin-bottom: 10px; line-height: 1.4; }
    .wiz-doc-upload { display: block; cursor: pointer; }
    .wiz-doc-btn {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 6px 12px; border-radius: 6px;
      background: #f3f4f6; border: 1px solid #e5e7eb;
      font-size: 0.78rem; font-weight: 500; color: #374151;
      cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
      transition: background 0.12s;
    }
    .wiz-doc-upload:hover .wiz-doc-btn { background: #e9eaec; }
    .wiz-doc-item.has-file .wiz-doc-btn { background: #dcfce7; border-color: #86efac; color: #15803d; }

    /* Result screen */
    .wiz-result-box { border-radius: 12px; padding: 20px; margin-bottom: 14px; }
    .wiz-result-eligible   { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border: 1px solid #86efac; }
    .wiz-result-unclear    { background: linear-gradient(135deg,#fffbeb,#fef9c3); border: 1px solid #fde68a; }
    .wiz-result-ineligible { background: linear-gradient(135deg,#f9fafb,#f3f4f6); border: 1px solid #d1d5db; }
    .wiz-result-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
    .wiz-result-eligible .wiz-result-tag { color: #15803d; }
    .wiz-result-ineligible .wiz-result-tag { color: #6b7280; }
    .wiz-result-unclear  .wiz-result-tag { color: #b45309; }
    .wiz-result-amount { font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 2px; }
    .wiz-result-eligible .wiz-result-amount { color: #15803d; }
    .wiz-result-unclear  .wiz-result-amount { color: #92400e; }
    .wiz-result-reg { font-size: 0.78rem; font-weight: 600; color: #6b7280; }
    .wiz-result-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid #e5e7eb; font-size: 0.85rem; color: #6b7280; }
    .wiz-result-exp { font-weight: 700; color: #374151; }
    .wiz-result-note { font-size: 0.8rem; color: #9ca3af; line-height: 1.6; margin-top: 10px; margin-bottom: 8px; }

    /* ── CLAIMS DASHBOARD LAYOUT ── */

    /* Empty state */
    .dcl-empty { max-width: 460px; }
    .dcl-empty-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
    .dcl-empty-sub { font-size: 0.84rem; color: #9ca3af; line-height: 1.6; margin-bottom: 28px; }
    .dcl-empty-steps { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
    .dcl-empty-step {
      display: flex; align-items: flex-start; gap: 14px;
      padding: 14px 0; border-bottom: 1px solid #f3f4f6;
    }
    .dcl-empty-step:last-child { border-bottom: none; }
    .dcl-empty-num {
      width: 22px; height: 22px; border-radius: 50%;
      background: #111; color: #fff; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.72rem; font-weight: 700; margin-top: 1px;
    }
    .dcl-empty-step-title { font-size: 0.84rem; font-weight: 600; color: #111; margin-bottom: 2px; }
    .dcl-empty-step-desc  { font-size: 0.76rem; color: #9ca3af; line-height: 1.5; }

    /* KPI row — monochrome, no colors */
    .dcl-kpi-row {
      display: flex; gap: 0;
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px; margin-bottom: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04); overflow: hidden;
    }
    .dcl-kpi {
      flex: 1; padding: 16px 20px;
      border-right: 1px solid #f3f4f6;
    }
    .dcl-kpi:last-child { border-right: none; }
    .dcl-kpi-label {
      font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.07em; color: #9ca3af; margin-bottom: 6px;
    }
    .dcl-kpi-val {
      font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
      color: #111; line-height: 1; margin-bottom: 3px;
    }
    .dcl-kpi-val.dcl-urgent { color: #dc2626; }
    .dcl-kpi-sub { font-size: 0.7rem; color: #9ca3af; }

    /* Claim tiles grid — auto-fit so it uses width properly */
    .dcl-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 8px;
    }
    .dcl-tile {
      background: #fff; border: 1px solid rgba(0,0,0,0.07);
      border-radius: 12px; padding: 16px;
      cursor: pointer; display: flex; flex-direction: column;
      min-height: 100px;
      transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
    }
    .dcl-tile:hover {
      border-color: rgba(0,0,0,0.14);
      box-shadow: 0 4px 14px rgba(0,0,0,0.06);
      transform: translateY(-1px);
    }
    .dcl-tile-top {
      display: flex; align-items: flex-start;
      justify-content: space-between; gap: 8px; margin-bottom: 4px;
    }
    .dcl-tile-flight {
      font-size: 1rem; font-weight: 800; letter-spacing: -0.02em;
      color: #111; line-height: 1;
    }
    .dcl-tile-airline {
      font-size: 0.74rem; color: #9ca3af; line-height: 1.45;
      margin-bottom: auto;
    }
    .dcl-tile-bottom {
      display: flex; align-items: center;
      justify-content: space-between; margin-top: 12px;
    }
    .dcl-tile-comp { font-size: 0.8rem; font-weight: 700; color: #111; }
    .dcl-tile-dl {
      font-size: 0.66rem; font-weight: 600; padding: 2px 6px;
      border-radius: 4px; white-space: nowrap;
    }
    .dcl-tile-dl.warn { background: #fef9ee; color: #92400e; }
    .dcl-tile-dl.urg  { background: #fef2f2; color: #b91c1c; }
    .dcl-tile-dl.exp  { color: #9ca3af; }

    /* Add tile */
    .dcl-tile-add {
      border-style: dashed; border-color: #e5e7eb;
      background: transparent; box-shadow: none;
      align-items: center; justify-content: center; gap: 6px;
    }
    .dcl-tile-add:hover { border-color: #111; background: transparent; transform: translateY(-1px); box-shadow: none; }
    .dcl-tile-add-icon {
      font-size: 1.2rem; line-height: 1; color: #d1d5db; font-weight: 300;
    }
    .dcl-tile-add:hover .dcl-tile-add-icon { color: #111; }
    .dcl-tile-add-label { font-size: 0.78rem; font-weight: 500; color: #9ca3af; }
    .dcl-tile-add:hover .dcl-tile-add-label { color: #111; }

    /* Responsive */
    @media (max-width: 600px) {
      .dcl-kpi-row { flex-wrap: wrap; }
      .dcl-kpi { min-width: 33%; border-bottom: 1px solid #f3f4f6; border-right: none; }
      .dcl-grid { grid-template-columns: 1fr 1fr; }
      .dcl-empty-steps { }
    }
    @media (max-width: 400px) {
      .dcl-grid { grid-template-columns: 1fr; }
    }

    /* Analytics v2 */
    .kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
    .kpi-card {
      background: #fff; border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px; padding: 20px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .kpi-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; margin-bottom: 8px; }
    .kpi-value { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: #111; }
    .kpi-value.green { color: #16A34A; }
    .kpi-value.accent { color: #4338CA; }
    .pipeline-bar { height: 8px; border-radius: 4px; overflow: hidden; background: #F3F4F6; display: flex; margin-bottom: 12px; }
    .pipeline-seg { height: 100%; transition: width 0.4s; }
    .pipeline-legend { display: flex; flex-wrap: wrap; gap: 12px; }
    .legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #6B7280; }
    .legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .bar-row:last-child { margin-bottom: 0; }
    .bar-name { font-size: 0.8rem; color: #6B7280; width: 120px; flex-shrink: 0; }
    .bar-track { flex: 1; height: 6px; background: #F3F4F6; border-radius: 3px; overflow: hidden; }
    .bar-fill { height: 100%; background: #4338CA; border-radius: 3px; transition: width 0.4s; }
    .bar-val { font-size: 0.8rem; font-weight: 600; color: #111; width: 24px; text-align: right; }
    .an-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .bar-name { font-size: 0.8rem; color: #6B7280; width: 140px; flex-shrink: 0; }
    @media (max-width: 820px) {
      .an-two-col { grid-template-columns: 1fr; }
      .bar-name { width: auto; flex: 1; }
    }
    @media (max-width: 600px) {
      .kpi-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
      .kpi-card { padding: 14px 10px; }
      .kpi-value { font-size: 1.5rem; }
      .route-iata { font-size: 1.5rem; }
      .detail-flight-num { font-size: 1.5rem; }
    }
