/* =====================================================================
   VIGIE ADMIN — la feuille de la console, et d'elle seule.

   VOLONTAIREMENT SOBRE ET SÉPARÉE : un poste de contrôle, pas une
   vitrine. Partager coque.css coulerait les deux mondes l'un dans
   l'autre — la règle 2 du guide dit exactement le contraire. Les deux
   polices de Vigie suffisent à dire la famille.
   ===================================================================== */

@font-face { font-family: "Nexa Pro"; font-weight: 800;
             src: url("polices/NexaPro-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900;
             src: url("polices/Inter-Variable.woff2") format("woff2"); }

* { box-sizing: border-box; }
body { margin: 0; background: #f4f4f2; color: #090909;
       font: 400 15px/1.5 "Inter", system-ui, sans-serif; }

.haut { display: flex; align-items: center; justify-content: space-between;
        padding: 14px 28px; background: #101312; color: #fff; }
.marque { font-family: "Nexa Pro", "Inter", sans-serif; font-size: 20px;
          letter-spacing: .01em; }
.marque b { color: #88c73b; }

main { max-width: 1080px; margin: 0 auto; padding: 26px 20px 60px; }

h1 { font-family: "Nexa Pro", "Inter", sans-serif; font-size: 30px;
     margin: 4px 0 6px; }
h2 { font-family: "Nexa Pro", "Inter", sans-serif; font-size: 19px;
     margin: 30px 0 8px; }
.amorce { margin: 0 0 14px; color: #444; }
.discret { color: #757a76; font-size: 13px; }

.bandeau { max-width: 1080px; margin: 14px auto 0; padding: 10px 16px;
           border-radius: 10px; font-size: 14px; }
.bandeau.ok { background: #e6f4d5; color: #2c4d0e; }
.bandeau.rate { background: #fbe3e0; color: #7c1d12; }

.carte { background: #fff; border: 1px solid #e3e4e1; border-radius: 12px;
         padding: 16px 18px; margin: 0 0 10px; }
form.carte { display: grid; gap: 8px; max-width: 420px; }
.carte.ligne { display: flex; align-items: center; gap: 14px;
               flex-wrap: wrap; }
.carte.ligne > div { flex: 1 1 240px; display: flex; align-items: center;
                     gap: 10px; flex-wrap: wrap; }
.enligne { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
           margin: 0; }

label { font-size: 13px; color: #444; }
input, button, select {
  font: inherit; padding: 8px 12px; border-radius: 9px;
  border: 1px solid #d6d8d3; background: #fff; }
input:focus { outline: 2px solid rgba(136, 199, 59, .45); }
button { cursor: pointer; background: #eeefec; border: 0; }
button:hover { background: #e2e4df; }
button.principal { background: #88c73b; color: #fff; font-weight: 600; }
button.principal:hover { background: #74ad2f; }
button.sortie { background: #fbe3e0; color: #7c1d12; }
.haut .sortie { background: rgba(255, 255, 255, .12); color: #fff; }

table { width: 100%; border-collapse: collapse; background: #fff;
        border: 1px solid #e3e4e1; border-radius: 12px; overflow: hidden;
        font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase;
     letter-spacing: .05em; color: #757a76; background: #fafaf8; }
th, td { padding: 10px 12px; border-top: 1px solid #eeefec;
         vertical-align: top; }
td .discret { display: block; }
tr.alerte td { background: #fdf6f0; }

.pastille { display: inline-block; padding: 1px 9px; border-radius: 999px;
            font-size: 12px; font-weight: 600; }
.pastille.verte { background: #e6f4d5; color: #2c4d0e; }
.pastille.rouge { background: #fbe3e0; color: #7c1d12; }
.pastille.grise { background: #eeefec; color: #555; }

.gestes { min-width: 150px; }
.gestes form { margin: 0 0 6px; }
.gestes details summary { cursor: pointer; color: #7c1d12; font-size: 13px; }
.gestes details form { display: grid; gap: 6px; margin-top: 6px; }

a { color: #4a7d18; }

@media (max-width: 760px) {
  table, thead, tbody, tr, th, td { display: block; }
  th { display: none; }
  td { border: 0; padding: 4px 12px; }
  tr { border-top: 1px solid #eeefec; padding: 8px 0; }
}
