/* ===== CSS RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif);
  line-height: 1.6;
  color: #333;
  background-color: #eaeff5;
}

h1, h2, h3, h4, .site-header-title, .btn {
  font-family: var(--font-heading, inherit);
}

/* ===== LAYOUT ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 54px;
  background: var(--color-navy);
  box-shadow: 0 2px 14px rgba(11, 37, 69, .25);
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 0 1.125rem;
}

.site-header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.site-header-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-header-title {
  font-weight: 700;
  font-size: 1rem;
  color: white;
  letter-spacing: .5px;
}

.site-header-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6f87a8;
  padding-left: 0.6rem;
  border-left: 1px solid #25406b;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.pill {
  padding: 0.44rem 0.8rem;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, .07);
  color: #9db4d4;
  transition: background var(--transition-fast), color var(--transition-fast);
  border: none;
  cursor: pointer;
}

.pill:hover {
  background: rgba(255, 255, 255, .14);
  color: white;
}

.pill-primary {
  background: var(--color-primary);
  color: white;
}

.pill-primary:hover {
  background: var(--color-primary-hover);
  color: white;
}

.pill-logout {
  background: rgba(239, 68, 68, .15);
  color: #fca5a5;
}

.pill-logout:hover {
  background: #ef4444;
  color: white;
}

main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.full-bleed {
  min-height: calc(100vh - 54px);
  padding: 0;
}

.footer {
  background-color: #1a1a1a;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.version {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--color-primary, #1f6feb);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover, #1862d6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

.btn-logout {
  background-color: #ef4444;
  color: white;
}

.btn-logout:hover {
  background-color: #dc2626;
}

.btn-outline {
  background-color: white;
  color: var(--color-primary, #1f6feb);
  border: 1.5px solid #cfe0fb;
}

.btn-outline:hover {
  background-color: #f3f8ff;
}

.btn-success {
  background-color: #16a34a;
  color: white;
  box-shadow: 0 5px 16px rgba(22, 163, 74, .3);
}

.btn-success:hover {
  background-color: #138a3e;
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  color: #1f2937;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary, #1f6feb);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

/* ===== ALERTS ===== */
.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.alert p {
  margin: 0.25rem 0;
}

/* ===== PAGES ===== */
.index-container {
  text-align: center;
  padding: 3rem 1rem;
}

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--color-primary, #1f6feb);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: #666;
}

.cta {
  margin: 2rem 0;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-form {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
}

.auth-form h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.form-footer a {
  color: var(--color-primary, #1f6feb);
  text-decoration: none;
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ===== CONNEXION (écran scindé) ===== */
.auth-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: calc(100vh - 54px);
}

.auth-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--color-navy) 0%, var(--color-navy-light) 55%, var(--color-primary) 130%);
  padding: 4.4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.auth-hero-decor {
  position: absolute;
  border-radius: 50%;
}

.auth-hero-decor-1 {
  width: 340px;
  height: 340px;
  background: rgba(59, 155, 255, .18);
  top: -90px;
  right: -70px;
}

.auth-hero-decor-2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 176, 32, .14);
  bottom: 40px;
  left: -60px;
}

.auth-hero-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .5px;
}

.auth-hero-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.auth-hero-content {
  position: relative;
}

.auth-hero-badge {
  display: inline-block;
  background: rgba(255, 176, 32, .2);
  color: #ffce7a;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  letter-spacing: .4px;
}

.auth-hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.08;
  color: white;
  margin: 0 0 1rem;
}

.auth-hero-content p {
  color: #a9c1e4;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 380px;
  margin: 0;
}

.auth-hero-stats {
  position: relative;
  display: flex;
  gap: 1.6rem;
}

.auth-hero-stat-value {
  font-weight: 700;
  font-size: 1.6rem;
  color: white;
}

.auth-hero-stat-value small {
  font-size: 0.9rem;
  color: #7fa3d4;
}

.auth-hero-stat-label {
  color: #7fa3d4;
  font-size: 0.8rem;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: white;
}

.auth-form-card {
  width: 100%;
  max-width: 380px;
}

.auth-form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.auth-form-subtitle {
  color: #5e7290;
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.auth-form-footer {
  text-align: center;
  color: #9aabc2;
  font-size: 0.8rem;
  margin-top: 1.25rem;
}

/* ===== GAME SECTIONS ===== */
.session-container {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.scan-form {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.scan-form input {
  flex: 1;
}

.scan-form button {
  padding: 0.75rem 1.5rem;
}

.scan-result {
  padding: 1.5rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
}

.scan-result.hidden {
  display: none;
}

.scan-result.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.scan-result.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.scan-result.already {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

/* ===== ADMIN PAGES (situations, session, débriefing) ===== */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.page-header-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary, #1f6feb);
  margin-bottom: 0.25rem;
}

.page-header h1 {
  font-size: 1.9rem;
}

.page-header p {
  color: #666;
  margin-top: 0.5rem;
}

.page-header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.empty-state {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 2.5rem;
  text-align: center;
  color: #6b7280;
}

/* Grille de situations */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
}

.situation-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.situation-card.is-inactive {
  opacity: 0.6;
}

.situation-card-image {
  height: 140px;
  background: #0f172a center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.65rem;
}

.situation-card-image.placeholder-chute {
  background: repeating-linear-gradient(45deg, #ffe8d1, #ffe8d1 14px, #ffd8ae 14px, #ffd8ae 28px);
}

.situation-card-image.placeholder-electrique {
  background: repeating-linear-gradient(45deg, #fdf6d8, #fdf6d8 14px, #fbedae 14px, #fbedae 28px);
}

.situation-card-image.placeholder-ergonomie {
  background: repeating-linear-gradient(45deg, #dcefff, #dcefff 14px, #bfe0ff 14px, #bfe0ff 28px);
}

.situation-card-image.placeholder-incendie {
  background: repeating-linear-gradient(45deg, #ffe0e0, #ffe0e0 14px, #ffc9c9 14px, #ffc9c9 28px);
}

.situation-card-image-watermark {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  font-family: monospace;
  color: rgba(0, 0, 0, .3);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-category-chute {
  background: #fff1e6;
  color: #f97316;
}

.badge-category-electrique {
  background: #fef9c3;
  color: #ca8a04;
}

.badge-category-ergonomie {
  background: #e0f2fe;
  color: #0284c7;
}

.badge-category-incendie {
  background: #fee2e2;
  color: #ef4444;
}

.badge-points {
  background: #0b2545;
  color: #ffce7a;
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
}

.situation-card-image .badge-category-chute,
.situation-card-image .badge-category-electrique,
.situation-card-image .badge-category-ergonomie,
.situation-card-image .badge-category-incendie {
  background-color: rgba(255, 255, 255, .92);
}

.badge-inactive {
  background: #fee2e2;
  color: #dc2626;
}

.situation-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.situation-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.situation-card-body .description {
  color: #6b7280;
  font-size: 0.85rem;
  flex: 1;
}

.situation-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f7;
}

.situation-code-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.situation-qr-mini {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  flex-shrink: 0;
}

.situation-code {
  font-family: monospace;
  font-size: 0.78rem;
  color: #7a8ba3;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-active {
  background: #dcfce7;
  color: #16a34a;
}

.status-active .status-dot {
  background: #16a34a;
}

.status-inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.status-inactive .status-dot {
  background: #9ca3af;
}

.situation-card-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.icon-btn-danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Formulaire pleine largeur (création de situation) */
.form-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-static {
  padding: 0.75rem;
  background: #f3f6fa;
  border-radius: 0.375rem;
  color: #34465f;
  font-weight: 600;
}

/* ===== SESSION DASHBOARD (admin) ===== */
.hero-state {
  max-width: 620px;
  margin: 4rem auto;
  text-align: center;
}

.hero-state .icon {
  width: 84px;
  height: 84px;
  border-radius: 1.5rem;
  background: #e9f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.25rem;
}

.hero-state p {
  color: #666;
  margin: 0.75rem 0 1.75rem;
}

.hero-state .actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.4rem 1.5rem;
}

.stat-card.score {
  background: linear-gradient(135deg, #0b2545, #16407a);
  color: white;
  border: none;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #8a9bb3;
  margin-top: 0.4rem;
}

.stat-card.score .stat-label {
  color: #8fb0db;
}

.progress-bar {
  height: 7px;
  background: #eef2f7;
  border-radius: 999px;
  margin-top: 0.9rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #1f6feb;
  border-radius: 999px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.panel {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
}

.panel-header h3 {
  font-size: 1.05rem;
}

.situation-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid #f3f6fa;
}

.situation-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.situation-row.found .dot {
  background: #16a34a;
}

.situation-row .info {
  flex: 1;
  min-width: 0;
}

.situation-row .info .title {
  font-weight: 600;
  font-size: 0.92rem;
}

.situation-row.found .info .title {
  text-decoration: line-through;
  color: #9aabc2;
}

.situation-row .info .meta {
  font-size: 0.75rem;
  color: #8a9bb3;
}

.situation-row .points {
  font-weight: 700;
  font-size: 0.88rem;
  color: #16a34a;
  min-width: 48px;
  text-align: right;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
}

.activity-row .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.activity-row.success .icon { background: #dcfce7; }
.activity-row.already .icon { background: #fef3c7; }
.activity-row.error .icon { background: #fee2e2; }

.activity-row .text {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}

.activity-row .time {
  font-family: monospace;
  font-size: 0.75rem;
  color: #9aabc2;
}

/* ===== PARTICIPANT (mobile, sans compte) ===== */
.participant-container {
  max-width: 480px;
  margin: 0 auto;
}

.score-banner {
  background: linear-gradient(150deg, #0b2545, #16407a);
  color: white;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.score-banner .timer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .15);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.score-banner .label {
  font-size: 0.8rem;
  color: #9fc0ee;
  font-weight: 600;
  letter-spacing: .4px;
}

.score-banner .value {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.25rem 0;
}

.score-banner .sub {
  font-size: 0.85rem;
  color: #9fc0ee;
}

.score-banner .progress-bar {
  background: rgba(255, 255, 255, .18);
  margin-top: 1rem;
}

.score-banner .progress-bar-fill {
  background: #28d17c;
}

.scan-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--color-primary, #1f6feb);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(14, 165, 233, .3);
  margin-bottom: 1.25rem;
}

.scan-cta:hover {
  background: #0284c7;
}

.found-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.found-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e7edf5;
}

.found-item .title {
  font-weight: 600;
  font-size: 0.9rem;
}

.found-item .meta {
  font-size: 0.75rem;
  color: #8a9bb3;
}

.found-item .pts {
  font-weight: 700;
  color: #16a34a;
  font-size: 0.9rem;
}

.scan-result-card {
  max-width: 420px;
  margin: 3rem auto;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.scan-result-card .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 1rem;
}

.scan-result-card.success .icon { background: #e9f9f0; }
.scan-result-card.already .icon { background: #fef3c7; }
.scan-result-card.error .icon { background: #fee2e2; }

.scan-result-card .points-pill {
  display: inline-block;
  background: #e9f9f0;
  color: #16a34a;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.9rem;
  margin: 0.75rem 0 1rem;
}

/* ===== DÉBRIEFING ===== */
.debrief-banner {
  background: linear-gradient(135deg, #0b2545, #1f4f96);
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.debrief-banner .eyebrow {
  display: inline-block;
  background: rgba(255, 176, 32, .22);
  color: #ffce7a;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.debrief-banner .stats {
  display: flex;
  gap: 1.75rem;
}

.debrief-banner .stats .num {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.debrief-banner .stats .stat-sub {
  color: #8fb0db;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.25rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
}

.section-title .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.report-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  display: flex;
  overflow: hidden;
}

.report-card.not-found {
  border-color: #ffd9d9;
}

.report-card-image {
  width: 90px;
  flex-shrink: 0;
  background: #0f172a center/cover no-repeat;
}

.report-card-body {
  padding: 0.9rem 1rem;
  flex: 1;
}

.report-card-body .top-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.report-card-body h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.report-card-body p {
  color: #6c7f99;
  font-size: 0.8rem;
}

.found-by-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #34465f;
  background: #f3f8ff;
  border-radius: 0.6rem;
  padding: 0.35rem 0.6rem;
  margin-top: 0.5rem;
}

/* ===== UTILITIES ===== */
.hidden {
  display: none !important;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
