/* Autoinspect Figma rebuild — matches the Figma "Autoinspect" design file.
   Dark: near-black; light: white; yellow highlighter accents; amber/green/red
   status colors. Poppins display / Inter body (system fallback). */

.fa-root {
  --fa-black: #0a0a0a;
  --fa-ink: #1a202c;
  --fa-muted: #4a5568;
  --fa-line: #e5e7eb;
  --fa-yellow: #ffd60a;
  --fa-amber: #f59e0b;
  --fa-green: #22c55e;
  --fa-red: #ef4444;
  --fa-card-dark: #161616;
  min-height: 100dvh;
  background: #2d3748;
  display: flex;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fa-ink);
  -webkit-tap-highlight-color: transparent;
}

.fa-phone {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.fa-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.fa-dark { background: var(--fa-black); color: #fff; }
.fa-light { background: #fff; color: var(--fa-ink); }

.fa-page { padding: 20px 20px 28px; }
.fa-scroll { flex: 1; overflow-y: auto; padding-bottom: 110px; }
.fa-center { text-align: center; align-items: center; }

.fa-title { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 24px; margin: 0 0 12px; }
.fa-screen h1 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.fa-screen h2 { font-size: 20px; margin: 14px 0 6px; }
.fa-screen h3 { font-size: 16px; margin: 18px 0 8px; }
mark { background: linear-gradient(transparent 55%, var(--fa-yellow) 55%, var(--fa-yellow) 92%, transparent 92%); padding: 0 4px; color: inherit; }

.fa-sub { color: var(--fa-muted); font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.fa-sub-dark { color: #a0aec0; font-size: 14px; margin: 0 0 18px; }
.fa-fine { color: var(--fa-muted); font-size: 13px; line-height: 1.5; }
.fa-muted { color: var(--fa-muted); font-size: 13px; }
.fa-red { color: var(--fa-red); }
.fa-green { color: var(--fa-green); }

/* Buttons */
.fa-btn-dark {
  background: var(--fa-ink); color: #fff; border: none; border-radius: 14px;
  font-size: 16px; font-weight: 700; padding: 15px 28px; cursor: pointer;
}
.fa-btn-dark.fa-wide, .fa-pill.fa-wide { width: 100%; }
.fa-btn-dark.fa-disabled { background: #cbd5e0; cursor: default; }
.fa-pill {
  display: block; width: 100%; background: #fff; color: var(--fa-ink);
  border: 1.5px solid var(--fa-ink); border-radius: 999px;
  font-size: 16px; font-weight: 600; padding: 14px; margin: 10px 0; cursor: pointer;
}
.fa-pill-dark { background: var(--fa-ink); color: #fff; }
.fa-link { background: none; border: none; color: var(--fa-ink); font-weight: 700; font-size: inherit; cursor: pointer; text-decoration: underline; }
.fa-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Welcome */
.fa-welcome { justify-content: space-between; padding: 70px 28px 60px; text-align: center; }
.fa-welcome h1 { font-size: 30px; color: #fff; }
.fa-welcome-pro { position: relative; overflow: hidden; justify-content: flex-end; padding: 0; }
.fa-welcome-hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fa-welcome-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,14,0.15) 0%, rgba(5,8,14,0.5) 45%, rgba(5,8,14,0.93) 76%, #05080e 100%);
}
.fa-welcome-content { position: relative; z-index: 1; padding: 28px 28px calc(52px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.fa-welcome-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  padding: calc(22px + env(safe-area-inset-top)) 28px 0;
  text-align: center;
}
.fa-welcome-top strong {
  color: #fff; font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800;
  font-size: 19px; letter-spacing: 0.06em; text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.fa-welcome-logo { width: 46px; height: 46px; font-size: 25px; border-radius: 15px; margin-bottom: 8px; }
.fa-welcome-content h1 { color: #fff; font-size: 33px; margin: 0; font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.fa-welcome-content p { color: #c3ccd9; font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.fa-btn-light { background: #fff; color: #0a0a0a; border: none; border-radius: 14px; font-size: 17px; font-weight: 800; padding: 16px 28px; cursor: pointer; }
.fa-btn-light.fa-wide { width: 100%; }
.fa-btn-light:active { transform: scale(0.98); }
.fa-art { width: 100%; max-width: 320px; margin: 30px auto; display: block; }
.fa-art-sm { width: 170px; margin: 18px auto; display: block; }
.fa-continue-row {
  background: none; border: none; color: #fff; display: flex; align-items: center;
  justify-content: center; gap: 14px; font-size: 18px; cursor: pointer; margin: 0 auto;
}
.fa-chev-circle {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 300; line-height: 1;
}

/* Auth */
.fa-auth-wrap { padding: 80px 28px 40px; max-width: 400px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.fa-auth-wrap h1 { font-size: 26px; margin-bottom: 24px; }
.fa-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.fa-or span { flex: 1; height: 1px; background: var(--fa-line); }
.fa-or em { font-style: normal; color: var(--fa-muted); font-size: 14px; }
.fa-switch { text-align: center; margin-top: 22px; font-size: 14px; }
.fa-field { display: block; margin-bottom: 16px; }
.fa-field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fa-field input, .fa-vin-row input {
  width: 100%; box-sizing: border-box; font-size: 16px; padding: 14px;
  border: 1.5px solid var(--fa-line); border-radius: 12px;
}
.fa-vin-row { display: flex; gap: 10px; margin: 18px 0; }
.fa-cam-btn {
  flex-shrink: 0; width: 56px; border-radius: 12px; border: 1.5px solid var(--fa-ink);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* Notified */
.fa-notified { padding: 20px 28px 40px; }
.fa-skip { align-self: flex-end; background: none; border: none; font-size: 15px; font-weight: 600; color: var(--fa-ink); cursor: pointer; }
.fa-notif-cards { display: grid; gap: 10px; margin: 10px 0 20px; }
.fa-notif-card { background: #f6f7f9; border: 1px solid var(--fa-line); border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.fa-notified h2 { font-size: 20px; margin: 0 0 20px; }

/* VIN results */
.fa-vcar {
  display: block; width: 100%; text-align: left; background: #f6f7f9;
  border: 1px solid var(--fa-line); border-radius: 14px; padding: 16px; margin-bottom: 12px; cursor: pointer;
}
.fa-vcar strong { display: block; font-size: 16px; margin-bottom: 6px; }
.fa-vcar span { display: block; font-size: 13px; color: var(--fa-muted); }

/* Activate */
.fa-timer { font-family: 'Poppins', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: 0.04em; margin: 18px 0 4px; }
.fa-btn-row { display: grid; gap: 4px; margin-top: 26px; }

/* Home (dark) */
.fa-home-head { padding: 8px 0 2px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 18px; }
.fa-dark h2 { color: #fff; }
.fa-vehicle-hero, .fa-carcard {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  background: var(--fa-card-dark); border: 1px solid #2a2a2a; border-radius: 16px;
  padding: 16px; margin: 14px 0; color: #fff; cursor: pointer;
}
.fa-vehicle-hero span, .fa-carcard span { display: block; font-size: 13px; color: #a0aec0; margin-top: 3px; }
.fa-carcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fa-carcard-top strong { font-size: 16px; }
.fa-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 5px 12px; border-radius: 999px; color: #fff; white-space: nowrap; }
.fa-badge-amber, .fa-badge-pending { background: var(--fa-amber); }
.fa-badge-green, .fa-badge-verified { background: var(--fa-green); }
.fa-badge-red, .fa-badge-failed { background: var(--fa-red); }
.fa-add-policy {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: transparent; border: 1.5px dashed #4a5568; color: #fff; border-radius: 14px;
  padding: 14px; font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 12px;
}
.fa-plus { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #fff; display: inline-flex; align-items: center; justify-content: center; }
.fa-report-accident-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: rgba(239,68,68,0.12); border: 1.5px solid var(--fa-red); color: var(--fa-red);
  border-radius: 14px; padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer; margin-bottom: 14px;
}
.fa-report-accident-dark { background: #2a2a2a; }
.fa-tri { font-size: 18px; }
.fa-outline-red { background: transparent; }
.fa-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.fa-stat {
  background: var(--fa-card-dark); border: 1px solid #2a2a2a; border-radius: 16px;
  padding: 16px; color: #fff; text-align: left; cursor: pointer;
}
.fa-stat strong { display: block; font-size: 13px; color: #a0aec0; font-weight: 600; }
.fa-stat-num { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800; }
.fa-activity { background: var(--fa-card-dark); border: 1px solid #2a2a2a; border-radius: 16px; padding: 16px; }
.fa-activity strong { display: block; color: #fff; margin-bottom: 4px; }
.fa-activity span { color: #a0aec0; font-size: 13px; }

/* Back rows */
.fa-backrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fa-backrow .fa-title { margin: 0; }
.fa-back { background: none; border: none; font-size: 32px; color: inherit; cursor: pointer; line-height: 1; padding: 0 4px; }

/* Car details */
.fa-spec span { display: block; font-size: 14px; color: var(--fa-muted); margin-top: 4px; }
.fa-photo-lg { background: #f6f7f9; border-radius: 16px; font-size: 90px; text-align: center; padding: 30px; margin: 16px 0 10px; }
.fa-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.fa-thumb { background: #f6f7f9; border-radius: 10px; font-size: 30px; text-align: center; padding: 10px; }
.fa-ai-report { background: #f6f7f9; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.fa-ai-report strong { display: block; margin-bottom: 4px; }
.fa-ai-report span { display: block; font-size: 14px; color: var(--fa-muted); margin-bottom: 8px; }
.fa-chat-row { margin: 6px 0 14px; }
.fa-avatar-sm { font-size: 34px; }
.fa-state-card { background: #f6f7f9; border-radius: 16px; padding: 22px 18px; margin: 14px 0; display: grid; gap: 10px; justify-items: center; text-align: center; }
.fa-state-card h3 { margin: 0; }
.fa-state-card p { color: var(--fa-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* Capture */
.fa-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.fa-slot-wrap { display: grid; gap: 6px; justify-items: center; }
.fa-slot {
  width: 100%; aspect-ratio: 1; border: 2px dashed #cbd5e0; border-radius: 16px;
  background: #fbfcfd; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.fa-slot-sm { width: 84px; aspect-ratio: 1; }
.fa-slot-icon { font-size: 30px; }
.fa-slot-label { font-size: 13px; color: var(--fa-muted); }
.fa-slot-filled { position: relative; width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.fa-slot-filled img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fa-retake {
  position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff; border: 2px solid #fff; font-size: 20px; cursor: pointer;
}
.fa-optional { font-size: 13px; font-weight: 600; color: var(--fa-muted); margin: 6px 0 8px; }
/* Accident flow: original inspection photos shown for reference */
.fa-acc-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 2px 0 6px; }
.fa-acc-thumb { display: grid; gap: 4px; justify-items: center; }
.fa-acc-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.fa-acc-thumb span { font-size: 11px; color: var(--fa-muted); text-align: center; }
.fa-vin-slot { display: grid; gap: 6px; justify-items: center; margin: 2px 0 10px; }
.fa-vin-slot .fa-optional { margin: 0; justify-self: start; }
.fa-req {
  display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.6px; color: #fff; background: var(--fa-ink);
  border-radius: 999px; padding: 3px 10px; margin-left: 6px; vertical-align: 2px;
}
.fa-slot-wide { aspect-ratio: 16/10; }
.fa-slot-filled.fa-slot-wide { aspect-ratio: 16/10; }

/* Camera (Figma screen, real camera) */
.fa-camera { background: #000; }
.fa-cam-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px; z-index: 2; }
.fa-cam-close { background: rgba(255,255,255,0.15); border: none; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.fa-cam-pill { background: rgba(255,255,255,0.9); color: #000; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 999px; }
.fa-cam-spacer { width: 38px; }
.fa-cam-view { position: relative; flex: 1; min-height: 0; display: flex; background: #111; overflow: hidden; }
.fa-cam-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fa-cam-fallback { flex: 1; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: #fff; padding: 30px; text-align: center; }
.fa-cam-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 30px calc(26px + env(safe-area-inset-bottom)); z-index: 2; }
.fa-flash { opacity: 0.9; background: none; border: none; padding: 6px; cursor: pointer; }
.fa-flash-on { opacity: 1; }
.fa-flash-on svg { stroke: #facc15; filter: drop-shadow(0 0 6px rgba(250,204,21,0.8)); }
.fa-shutter { width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 5px solid rgba(255,255,255,0.35); cursor: pointer; }
.fa-shutter:active { transform: scale(0.94); }

/* Camera guide frame — alignment box over the live viewfinder */
.fa-cam-guide {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 24px;
}
.fa-cam-frame {
  position: relative; width: 94%; aspect-ratio: 4/5; border-radius: 18px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
}
.fa-corner { position: absolute; width: 30px; height: 30px; border: 3.5px solid #fff; }
.fa-tl { top: -4px; left: -4px; border-right: none; border-bottom: none; border-radius: 18px 0 0 0; }
.fa-tr { top: -4px; right: -4px; border-left: none; border-bottom: none; border-radius: 0 18px 0 0; }
.fa-bl { bottom: -4px; left: -4px; border-right: none; border-top: none; border-radius: 0 0 0 18px; }
.fa-br { bottom: -4px; right: -4px; border-left: none; border-top: none; border-radius: 0 0 18px 0; }
.fa-cam-car { width: 56%; opacity: 0.85; }
.fa-cam-hint { color: #fff; font-size: 15px; font-weight: 700; margin: 0; text-align: center; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.fa-cam-tips { color: rgba(255,255,255,0.78); font-size: 12.5px; font-weight: 500; margin: 0; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,0.7); }

/* Photo quality gate */
.fa-q-checking {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 4;
  background: rgba(0,0,0,0.72); color: #fff; font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
}
.fa-quality {
  position: absolute; inset: 0; z-index: 3; background: rgba(0,0,0,0.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px;
}
.fa-quality-img { width: 100%; max-height: 44%; object-fit: contain; border-radius: 14px; }
.fa-quality-ok {
  display: flex; align-items: center; gap: 12px; color: #fff; font-size: 17px; font-weight: 700;
  background: rgba(34,197,94,0.16); border: 1.5px solid var(--fa-green);
  padding: 14px 24px; border-radius: 16px;
}
.fa-q-check { width: 32px; height: 32px; border-radius: 50%; background: var(--fa-green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.fa-quality-card { background: #fff; border-radius: 22px; padding: 24px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; width: 100%; box-sizing: border-box; }
.fa-q-x { width: 46px; height: 46px; border-radius: 50%; background: #fee2e2; color: var(--fa-red); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.fa-quality-card strong { font-size: 17px; }
.fa-quality-card p { color: var(--fa-muted); font-size: 14px; line-height: 1.55; margin: 0 0 6px; }
.fa-quality-btns { display: grid; gap: 6px; width: 100%; }
.fa-quality-anyway { background: none; border: none; color: var(--fa-muted); font-size: 14px; font-weight: 600; cursor: pointer; padding: 10px; }

/* Professional Home */
.fa-pro-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 2px; }
.fa-pro-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800; font-size: 17px; }
.fa-pro-logo { width: 34px; height: 34px; border-radius: 11px; background: var(--fa-yellow); color: #0a0a0a; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.fa-pro-avatar { width: 40px; height: 40px; border-radius: 50%; background: #232323; border: 1px solid #3a3a3a; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.fa-pro-greet { margin: 20px 0 4px; }
.fa-pro-greet h2 { color: #fff; font-size: 25px; margin: 0 0 3px; font-family: 'Poppins', 'Inter', sans-serif; letter-spacing: -0.02em; }
.fa-pro-date { color: #8b95a5; font-size: 13px; }
.fa-pro-cta { background: linear-gradient(140deg, #1c2534, #10151d); border: 1px solid #2c3648; border-radius: 20px; padding: 20px 18px; margin: 18px 0 6px; color: #fff; }
.fa-pro-cta h3 { margin: 12px 0 6px; font-size: 18px; color: #fff; }
.fa-pro-cta p { margin: 0 0 16px; color: #aeb8c7; font-size: 14px; line-height: 1.55; }
.fa-pro-cta-btn { background: var(--fa-yellow); border: none; color: #0a0a0a; font-weight: 800; font-size: 15px; padding: 14px 20px; border-radius: 13px; cursor: pointer; width: 100%; }
.fa-pro-cta-btn:active { transform: scale(0.98); }
.fa-pro-section { color: #8b95a5; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin: 24px 0 10px; }
.fa-pro-car { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; text-align: left; background: #151515; border: 1px solid #262626; border-radius: 18px; padding: 16px; color: #fff; cursor: pointer; margin-bottom: 10px; }
.fa-pro-car-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: #222; display: flex; align-items: center; justify-content: center; color: var(--fa-yellow); }
.fa-pro-car-info { flex: 1; display: grid; gap: 3px; min-width: 0; }
.fa-pro-car-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fa-pro-car-top strong { font-size: 15px; }
.fa-pro-car-info > span { font-size: 12.5px; color: #8b95a5; }
.fa-pro-chev { color: #5a6472; font-size: 26px; font-weight: 300; }
.fa-pro-add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: transparent; border: 1.5px dashed #3a3a3a; color: #d7dce3; border-radius: 16px; padding: 15px; font-size: 15px; font-weight: 600; cursor: pointer; }
.fa-pro-plus { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #d7dce3; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.fa-pro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fa-pro-stat { background: #151515; border: 1px solid #262626; border-radius: 18px; padding: 18px 16px; color: #fff; text-align: left; cursor: pointer; display: grid; gap: 3px; }
.fa-pro-stat-ico { color: var(--fa-yellow); margin-bottom: 8px; }
.fa-pro-stat strong { font-family: 'Poppins', 'Inter', sans-serif; font-size: 30px; font-weight: 800; line-height: 1; }
.fa-pro-stat span:last-child { color: #8b95a5; font-size: 13px; }
.fa-pro-empty { background: #151515; border: 1px solid #262626; border-radius: 18px; padding: 28px 18px; text-align: center; color: #fff; display: grid; gap: 6px; justify-items: center; }
.fa-pro-empty-ico { color: #5a6472; margin-bottom: 4px; }
.fa-pro-empty strong { font-size: 15px; }
.fa-pro-empty span:last-child { color: #8b95a5; font-size: 13px; }
.fa-pro-accident { margin-top: 18px; }

/* Report */
.fa-report-card {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  background: var(--fa-card-dark); border: 1px solid #2a2a2a; border-radius: 16px;
  padding: 16px; margin-bottom: 12px; color: #fff; cursor: pointer;
}
.fa-report-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fa-report-card span { display: block; font-size: 13px; color: #a0aec0; margin-top: 3px; }
.fa-note { display: block; margin-top: 8px; font-size: 11px; color: #718096; }
.fa-hourglass, .fa-popper { font-size: 54px; }
.fa-xicon { width: 64px; height: 64px; border-radius: 50%; background: var(--fa-red); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.fa-carblock { background: #f6f7f9; border-radius: 14px; padding: 16px; margin: 16px 0; }
.fa-carblock-title { font-size: 13px; font-weight: 700; color: var(--fa-muted); margin-bottom: 8px; }
.fa-carblock-row { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.fa-car-ico { font-size: 34px; }
.fa-carblock span { display: block; font-size: 13px; color: var(--fa-muted); margin-top: 3px; }
.fa-carblock strong { font-size: 15px; }
.fa-beforenow { margin-bottom: 14px; }
.fa-beforenow > strong { display: block; font-size: 15px; margin-bottom: 8px; }
.fa-bn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fa-bn span { font-size: 12px; color: var(--fa-muted); display: block; margin-bottom: 4px; }
.fa-bn-img { background: #f6f7f9; border-radius: 10px; font-size: 44px; text-align: center; padding: 14px; }

/* Report an Accident */
.fa-appbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: 'Poppins', sans-serif; }
.fa-person { font-size: 22px; }
.fa-steps { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; font-size: 15px; }
.fa-banner { background: #fef3c7; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.fa-history-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: none; border: none; color: var(--fa-ink); font-size: 15px; font-weight: 600;
  padding: 12px; cursor: pointer; margin-top: 6px;
}

/* Profile */
.fa-profile-top { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; }
.fa-profile-top h2 { color: #fff; margin: 0; }
.fa-avatar { width: 64px; height: 64px; border-radius: 50%; background: #2a2a2a; font-size: 36px; display: flex; align-items: center; justify-content: center; }
.fa-info-card { background: var(--fa-card-dark); border: 1px solid #2a2a2a; border-radius: 16px; padding: 6px 16px; margin-bottom: 14px; }
.fa-info-card > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #2a2a2a; font-size: 14px; }
.fa-info-card > div:last-child { border-bottom: none; }
.fa-info-card span { color: #a0aec0; }
.fa-info-card strong { color: #fff; }
.fa-row-btn {
  display: block; width: 100%; text-align: left; background: var(--fa-card-dark); color: #fff;
  border: 1px solid #2a2a2a; border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-bottom: 10px; cursor: pointer;
}
.fa-row-dark { background: #2a2a2a; }
.fa-logout { display: block; width: 100%; background: none; border: none; color: var(--fa-red); font-size: 16px; font-weight: 700; padding: 14px; cursor: pointer; }

/* Tab bar */
.fa-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(10,10,10,0.96); border-top: 1px solid #2a2a2a;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.fa-light .fa-tabbar { background: rgba(255,255,255,0.96); border-top: 1px solid var(--fa-line); }
.fa-tab { background: none; border: none; color: #a0aec0; font-size: 14px; font-weight: 600; padding: 8px; cursor: pointer; }
.fa-light .fa-tab { color: var(--fa-muted); }
.fa-tab-active { color: var(--fa-yellow) !important; }

/* ---- Backend integration: login error, analysis overlay, results ---- */
.fa-error {
  color: #c53030; font-size: 13px; font-weight: 600; margin: 4px 0 8px;
}
.fa-assess-error {
  background: #fff5f5; border: 1px solid #fed7d7; border-radius: 12px;
  padding: 12px 14px; margin: 12px 0;
}
.fa-assess-error p { color: #9b2c2c; font-size: 13px; margin: 0 0 10px; }
.fa-assess-overlay {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(15, 23, 42, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.fa-assess-card {
  background: #fff; border-radius: 18px; padding: 24px 20px; width: 100%;
  max-width: 340px; text-align: center;
}
.fa-assess-card h2 { font-size: 18px; margin: 12px 0 6px; color: #1a202c; }
.fa-spinner {
  width: 44px; height: 44px; margin: 0 auto; border-radius: 50%;
  border: 4px solid #e2e8f0; border-top-color: #1a365d;
  animation: fa-spin 0.9s linear infinite;
}
@keyframes fa-spin { to { transform: rotate(360deg); } }
.fa-assess-list { margin-top: 16px; text-align: left; }
.fa-assess-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: 13px; font-weight: 600; color: #2d3748;
}
.fa-assess-row span { width: 86px; flex-shrink: 0; }
.fa-assess-row em { font-style: normal; font-size: 12px; color: #718096; width: 36px; text-align: right; }
.fa-progress {
  flex: 1; height: 8px; background: #edf2f7; border-radius: 999px; overflow: hidden;
}
.fa-progress i { display: block; height: 100%; background: #1a365d; border-radius: 999px; transition: width 0.2s; }
.fa-result-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  overflow: hidden; margin-bottom: 14px;
}
.fa-result-card > img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; background: #0f172a; }
.fa-result-body { padding: 12px 14px; }
.fa-result-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 14px; color: #1a202c; margin-bottom: 8px;
}
.fa-result-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fa-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fa-chip {
  font-size: 11px; font-weight: 700; background: #edf2f7; color: #2d3748;
  padding: 4px 10px; border-radius: 999px;
}
