/* Console d'installation Konx : compléments au socle (socle.css). Couleur primaire et gris seulement ;
   un état = un petit point et un texte gris. */
@font-face { font-family: "Manrope"; src: url("/statique/manrope.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

.brand { text-decoration: none; color: inherit; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side-pied .qui { display: flex; flex-direction: column; gap: 1px; margin-bottom: 8px; min-width: 0; }
.side-pied .qui b { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.side-pied .qui span { overflow: hidden; text-overflow: ellipsis; }
.side-pied form .btn { padding: 0 8px; }

.etat { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
.point.ok { background: var(--succes); }
.point.en_cours { background: var(--primary); animation: pulser 1.4s ease-in-out infinite; }
.point.echec { background: var(--danger); }
.point.neutre, .point.saute { background: var(--faint); opacity: .55; }
@keyframes pulser { 50% { opacity: .35; } }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.carte h2 + p { margin-top: 0; }
.alerte { margin-bottom: 16px; }
.erreur-texte { color: var(--text-2); }

.produits { display: flex; flex-direction: column; gap: 10px; }
.produit { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--panel); }
.produit.indisponible { background: var(--soft); }
.produit.indisponible .produit-tete { cursor: default; color: var(--muted); }
.produit-tete { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.produit-tete input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.produit-tete .resume { display: block; margin-top: 2px; }
.produit-champs { margin: 12px 0 2px 30px; }
.champ .etiquette { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.choix { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.choix input { margin-top: 3px; accent-color: var(--primary); }
.choix > span { display: flex; flex-direction: column; gap: 2px; }
.non-proposes { margin: 4px 0 0; padding-left: 18px; }
.champ textarea.mono { font-size: 12.5px; }
.champ select { width: 100%; height: 38px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--panel); }
.champ.case span { color: var(--text-2); }
.barre-envoi { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.formulaire-preparer .carte + .barre-envoi { margin-top: 18px; }

.commande-ligne { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.commande { display: block; flex: 1 1 360px; font-size: 14.5px; line-height: 1.5; padding: 14px 16px; border-radius: var(--r-sm);
            background: var(--soft); color: var(--text); word-break: break-all; user-select: all; }
.commande-pied { display: flex; gap: 18px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.commande-pied p { flex: 1 1 260px; margin: 0; }
.qr svg { display: block; width: 148px; height: 148px; border-radius: 8px; }
.commande-grande { font-size: 18px; line-height: 1.5; word-break: break-all; background: var(--soft); padding: 14px; border-radius: var(--r-sm); }

.etapes { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.etapes li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2px 14px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.etapes li:last-child { border-bottom: 0; }
.etapes .titre-etape { color: var(--text-2); font-weight: 500; }
.etapes li > .muet { grid-column: 2; }

dl.infos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 18px; margin: 0; }
dl.infos dt { font-size: 12px; color: var(--muted); }
dl.infos dd { margin: 2px 0 0; color: var(--text-2); font-weight: 500; word-break: break-word; }
.secret-visible { font-size: 16px; letter-spacing: .02em; }

.actions-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.actions-grille form { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
form.en-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
form.en-ligne .field { max-width: 260px; }
.zone-danger h2 { color: var(--text); }

pre.bloc-code { margin: 0 0 10px; padding: 12px 14px; background: var(--soft); border-radius: var(--r-sm); overflow-x: auto;
                font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); white-space: pre; }
pre.journal-tache { max-height: 420px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; margin-top: 8px; }
details summary { cursor: pointer; color: var(--muted); margin-top: 10px; }
code.empreinte { font-size: 11px; word-break: break-all; display: inline-block; max-width: 260px; }
.tableau-cadre.plat { border: 0; box-shadow: none; }
.tableau td a { color: inherit; text-decoration: none; }
.tableau td a:hover b { text-decoration: underline; }
.vide b { margin-bottom: 6px; }

.login-card h1 + p { margin: 0 0 18px; color: var(--muted); }
.login-card .alerte { margin: 0 0 6px; }
.pied-connexion { margin-top: 16px; }

@media (max-width: 900px) {
  .etapes li { grid-template-columns: minmax(0, 1fr); }
  .etapes li > .muet { grid-column: 1; }
  .produit-champs { margin-left: 0; }
  .tableau th:nth-child(6), .tableau td:nth-child(6) { display: none; }
}
