
@font-face {
  font-family: 'Font Awesome 6 Free';
  src: url('../fonts/fa-solid-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --background: #f0f4ff;
  --card: #ffffff;
  --text: #1e293b;
  --accent: #dbeafe;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text);
}

header {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  padding: 2rem 1rem 1rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: var(--primary-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

main {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.section {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.4rem;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.grid a {
  background: var(--accent);
  color: var(--primary);
  padding: 1rem;
  width: 180px;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.grid a:hover {
  background: var(--primary-light);
  color: white;
  transform: scale(1.05);
}

aside {
  background: var(--card);
  border-left: 4px solid var(--primary-light);
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 700px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}
.file-link-container {
   display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.file-link {
    background: var(--accent);
  color: var(--primary);
  padding: 1rem;
  width: 180px;
  text-align: center;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.file-link:hover {
    background: var(--primary-light);
  color: white;
  transform: scale(1.05);
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }

  nav a {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 6px;
  }
}
/* Formulaire */
form {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
}

form label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  background: var(--accent);
  transition: all 0.3s ease;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(30, 64, 175, 0.5);
}

form button {
  padding: 12px 25px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

form button:hover {
  background: var(--primary-light);
}

form button:active {
  transform: translateY(2px);
}

form .input-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form .input-group input, form .input-group textarea {
  font-size: 1.1rem;
  line-height: 1.5;
  padding: 12px;
  border-radius: 10px;
}

form .input-group textarea {
  min-height: 120px;
  resize: vertical;
}

input[type="text"], textarea {
  border: 1px solid #ddd;
  transition: border 0.3s ease;
}

input[type="text"]:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(30, 64, 175, 0.3);
}

input[type="text"]:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

form .form-footer {
  text-align: center;
  margin-top: 20px;
}

/* Validation et erreurs */
form .error-message {
  color: #e53e3e;
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 10px;
}

form .success-message {
  color: #38a169;
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  form {
    padding: 1.5rem;
  }
  
  form label {
    font-size: 0.9rem;
  }

  form input, form textarea, form button {
    font-size: 1rem;
  }
}

/* Grille 2 colonnes responsive */
.split-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items:start;
}
.split-two .col{
  border: 1px solid #e2e8f0; /* gris clair */
  border-radius: 10px;
  padding: .75rem;
  background: #f8fafc;       /* léger fond */
}
.split-two h3{
  margin: .25rem 0 .75rem;
  font-size: 1rem;
  opacity: .8;
}
@media (max-width: 900px){
  .split-two{ grid-template-columns: 1fr; }
}

/* Procédures — accordéon minimal, neutre, aligné au style existant */
.proc-accordion { display: grid; gap: .5rem; }

.proc-accordion .chapter {
  border: 1px solid #e2e8f0;      /* même teinte que tes cadres */
  border-radius: 8px;
  background: #fff;               /* reste neutre ; en dark mode, ton CSS existant prendra le relais si présent */
}

.proc-accordion .chapter > summary {
  padding: .6rem .8rem;
  font-weight: 600;
  cursor: pointer;
}

.proc-accordion .chapter[open] > summary {
  border-bottom: 1px solid #e2e8f0;
}

.proc-accordion .file-link-container {
  padding: .6rem .8rem .8rem;     /* espace pour respirer */
}

/* Option : si tes .file-link sont déjà stylés, ne touche à rien.
   Sinon, tu peux juste ajouter cet espace vertical : */
.proc-accordion .file-link { display: block; margin: .25rem 0; }

/* === Ergonomie Procédures (scopée) === */
.proc-accordion .file-link-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* colonnes auto, fluides */
  gap: 0.8rem;
}
/* === Harmonisation Procédures (scopée) === */
.proc-accordion .file-link-container{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
  align-items: stretch; /* cartes de même hauteur visuelle */
}

/* Cartes : même look, meilleur texte */
.proc-accordion .file-link{
  display:block;
  width:auto;
  text-align:left;
  padding:.65rem .85rem;

  /* Harmonisation du texte */
  line-height:1.25;
  text-wrap: balance;         /* équilibre les retours à la ligne (gracieux, sans JS) */
  hyphens:auto;               /* césure FR correcte */
  overflow-wrap:anywhere;     /* casse les très longs mots si besoin */

  /* Fenêtre visuelle (3 lignes max) avec fondu doux au lieu de "..." */
  --lines:3;
  max-height: calc(1.25em * var(--lines) + .6rem);
  overflow:hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, #000 80%, transparent);
}

/* Tout dévoiler au survol / focus clavier (accessibilité) */
.proc-accordion .file-link:hover,
.proc-accordion .file-link:focus,
.proc-accordion .file-link:focus-visible{
  max-height:none;
  -webkit-mask-image:none;
          mask-image:none;
}

/* === Boutons pour extincteurs === */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-primary.disabled,
.btn-primary:disabled {
  background: #cbd5e1;
  color: #475569;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-block;
  background: #f3f4f6;
  color: #1e293b;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background: #e5e7eb;
}
/* ====== UI Extincteurs : barre de recherche + filtres ====== */

/* conteneur */
.ext-searchbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  align-items: center;
}

/* groupe input avec icône loupe et bouton effacer */
.ext-input {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
}

.ext-input input[type="text"] {
  width: 100%;
  padding: 0.75rem 2.75rem 0.75rem 2.5rem;   /* espace pour icônes */
  border: 1px solid #ddd6fe;                 /* lavande douce */
  background: #faf5ff;                       /* fond très léger */
  color: var(--text);
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.ext-input input[type="text"]::placeholder {
  color: #7c7aa2;
}

.ext-input input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.15);
  background: #ffffff;
}

/* icône loupe à gauche (Font Awesome) */
.ext-input .icon-left {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f002"; /* fa-magnifying-glass */
  color: var(--primary);
  pointer-events: none;
}
.ext-input .icon-left::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f002";
}

/* bouton effacer (x) */
.ext-input .btn-clear {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  opacity: .75;
}
.ext-input .btn-clear:hover { opacity: 1; }
.ext-input .btn-clear::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00d"; /* fa-xmark */
  color: #6b7280;
  font-size: 1rem;
}

/* bouton rechercher plus “CTA” */
.ext-btn {
  padding: .75rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
}

/* select stylé (Type / Étage) */
.ext-select {
  position: relative;
  min-width: 220px;
}

.ext-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;       /* espace pour caret à droite */
  border: 1px solid #ddd6fe;
  background: #faf5ff;
  color: var(--text);
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.ext-select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.15);
  background: #fff;
}

/* caret personnalisé (SVG) */
.ext-select::after {
  content: "";
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' stroke='%236d28d9' fill='%236d28d9' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-size: 14px 14px;
  opacity: .9;
}

/* étiquette compacte */
.ext-label {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  margin: .15rem 0 .35rem;
}

/* barre des filtres */
.ext-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  align-items: flex-end;
}

/* pagination compacte */
#pagination button {
  border-radius: 10px;
  padding: .55rem .9rem;
}
#pgInfo { min-width: 140px; text-align: center; opacity: .8; }

/* responsive */
@media (max-width: 640px) {
  .ext-input { flex: 10 1 100%; }
  .ext-select { min-width: 100%; }
}
/* ===== Label inline pour filtres ===== */
.inline-label {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.inline-label .ext-label {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
}

.inline-label select {
  flex: 1 1 auto;
}
/* ===== Espacements entre recherche, filtres et résultats ===== */
.ext-searchbar {
  margin-bottom: 1.2rem; /* espace sous la barre de recherche */
}

.ext-filters {
  margin-bottom: 1.5rem; /* espace entre filtres et résultats */
}

/* Ajuste aussi le conteneur principal si nécessaire */
.extincteur-search section,
.extincteur-search {
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .ext-searchbar {
    margin-bottom: 1.5rem;
  }
  .ext-filters {
    margin-bottom: 2rem;
  }
}
   main {
      max-width: 820px;
      margin: 1.25rem auto;
      padding: 1.25rem;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    }

    form {
      display: grid;
      gap: 1rem;
    }

    /* Groupe de champ harmonisé */
    .field {
      display: grid;
      gap: .4rem;
    }
    .field label {
      font-weight: 700;
      color: var(--violet);
      font-size: .95rem;
    }

    /* Input + textarea + select base */
    .input, .textarea, .select {
      width: 100%;
      font-size: 1rem;
      color: var(--texte);
      border: 1px solid var(--bordure);
      border-radius: 12px;
      background: var(--lavande);
      transition: border-color .2s, box-shadow .2s, background .2s;
    }
    .input, .select { padding: .75rem .9rem; }
    .textarea { padding: .75rem .9rem; min-height: 120px; resize: vertical; }

    .input:focus, .textarea:focus, .select:focus {
      outline: none;
      border-color: var(--violet);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(168,85,247,0.15);
    }

    /* Select custom (caret SVG) */
    .select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' stroke='%236d28d9' fill='%236d28d9' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5'/></svg>");
      background-repeat: no-repeat;
      background-position: right .75rem center;
      background-size: 16px 16px;
      padding-right: 2.2rem;
    }

    /* Boutons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      padding: .75rem 1rem;
      border: 1px solid transparent;
      border-radius: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: transform .08s ease, background .2s ease, border-color .2s ease;
      text-decoration: none;
      user-select: none;
    }
    .btn:active { transform: translateY(1px); }

    .btn-primary {
      background: var(--violet);
      color: #fff;
    }
    .btn-primary:hover { background: var(--violet-2); }

    .btn-secondary {
      background: #f3f4f6;
      color: #111827;
      border-color: #e5e7eb;
    }
    .btn-secondary:hover { background: #e5e7eb; }

    /* Image preview */
    #photoPreview {
      display: block;
      max-width: 100%;
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      background: #f9fafb;
    }

    /* Barre boutons en ligne */
    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: .6rem;
    }

    /* Espace entre blocs */
    .spacer { height: .25rem; }

    /* Responsive */
    @media (max-width: 640px) {
      main { margin: .75rem; padding: 1rem; }
    }

/* === Lazarus Optimized: ensure primary buttons visible and consistent === */
#btnSearch.btn-primary,
.results-grid .btn-primary {
  background: var(--primary, #0d6efd) !important;
  color: #fff !important;
  border: none;
}
#btnSearch.btn-primary:hover,
.results-grid .btn-primary:hover {
  background: var(--primary-light, #0b5ed7) !important;
}
/* === Lazarus Optimized: style des formulaires & listes déroulantes === */
.anomalie-form, .ronde-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 420px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: var(--card, #f9f9fb);
  border: 1px solid #d8dee9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.anomalie-form label, .ronde-form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.anomalie-form input[type="text"],
.anomalie-form input[type="email"],
.anomalie-form select,
.anomalie-form textarea,
.ronde-form input[type="text"],
.ronde-form select,
.ronde-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.anomalie-form select:focus,
.ronde-form select:focus,
.anomalie-form input:focus,
.ronde-form input:focus,
.anomalie-form textarea:focus,
.ronde-form textarea:focus {
  border-color: var(--primary, #0d6efd);
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
  outline: none;
}

/* Boutons */
.anomalie-form button,
.ronde-form button {
  background-color: var(--primary, #0d6efd);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.anomalie-form button:hover,
.ronde-form button:hover {
  background-color: var(--primary-light, #0b5ed7);
}

.anomalie-form button:active,
.ronde-form button:active {
  transform: scale(0.98);
}

/* Alignement des listes déroulantes */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
  .anomalie-form, .ronde-form {
    max-width: 90%;
    padding: 1rem;
  }
}
/* === Toasts unifiés Lazarus (Ronde / Anomalie) === */
#toastContainer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 92vw;
}

.toast {
  min-width: 240px;
  max-width: 92vw;
  color: #fff;
  background: var(--primary, #0d6efd);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  text-align: center;
  word-break: break-word;
}

.toast.error {
  background: #e74c3c;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Lazarus – Surcouches pro et sobres ===== */
:root {
  --lz-text:#1f2328;
  --lz-muted:#6b7280;
  --lz-border:#e5e7eb;
  --lz-bg:#fafafa;
  --lz-primary:#b00000; /* ta couleur */
}

main { max-width: 980px; margin: 0 auto; padding: 16px; }

.section {
  background: #fff;
  border: 1px solid var(--lz-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.section + .section { margin-top: 12px; }

.section h2 {
  margin: 0 0 12px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lz-text);
  letter-spacing: .2px;
}

/* Recherche compacte */
.lz-search {
  display: flex; gap: 8px; align-items: center;
}
.lz-input {
  width: 100%;
  border: 1px solid var(--lz-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .98rem;
  outline: none;
}
.lz-input:focus { border-color: var(--lz-primary); box-shadow: 0 0 0 3px rgba(176,0,0,.08); }

/* Liste de documents : denses, tactiles, pro */
.doc-list { display: grid; gap: 8px; }
.doc {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--lz-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.doc:hover { background: #fff7f7; border-color: #f1c9c9; }
.doc-title {
  font-weight: 600; color: var(--lz-text); line-height: 1.35;
}
.doc-meta {
  font-size: .86rem; color: var(--lz-muted); margin-top: 2px;
}
.doc a.btn-open {
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--lz-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
  color: #fff; background: var(--lz-primary);
}
.doc a.btn-open:hover { filter: brightness(.96); }

/* Accordéons sobres */
.proc-accordion details.chapter {
  border: 1px solid var(--lz-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.proc-accordion summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700; color: var(--lz-text);
  background: var(--lz-bg);
}
.proc-accordion .file-link-container { padding: 10px; }

/* Grilles de tuiles, sobres */
.grid.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}
.tile {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--lz-border);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  text-decoration: none; color: var(--lz-text); font-weight: 600;
}
.tile:hover { background: #fff7f7; border-color: #f1c9c9; }

/* Petites icônes emoji (légères) sans dépendance */
.emo { font-size: 1.1rem; }

