/* Mon petit atelier — espace gestionnaire (étape 1). Aucune police ni image extérieure. */
:root { --bleu: #1B2340; --bleu-doux: #C8CCDA; --bordeaux: #5B1F2E; --or: #C9A54C; --fond: #F7F3EE; --carte: #FFFFFF; --encre: #2A171C;
  --gris: #6B5B5F; --trait: #E7DED8; --ok-fond: #E3F1E6; --ok: #1E5B2E; --attente-fond: #FBEBD2; --attente: #7A4A05; --rouge-fond: #F6DCDC; --rouge: #9B2226;
  --info-fond: #E4E8F3; --serif: Georgia, 'Times New Roman', serif; --sans: -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--sans); font-size: 15px; }
.entete { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--bleu); color: #fff; }
.entete .titre { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.entete .titre strong { font-family: var(--serif); font-size: 20px; letter-spacing: .3px; }
.entete .titre span { color: var(--or); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.lecture { border: 1px solid var(--or); color: var(--or); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
nav { display: flex; gap: 2px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--trait); overflow-x: auto; }
nav button { border: 0; background: none; padding: 12px 14px; font: inherit; font-weight: 600; color: var(--gris); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
nav button.actif { color: var(--bleu); border-bottom-color: var(--or); }
main { max-width: 1180px; margin: 0 auto; padding: 18px; }
footer { max-width: 1180px; margin: 0 auto; padding: 8px 18px 30px; color: var(--gris); font-size: 12.5px; }
h1 { font-family: var(--serif); font-size: 26px; margin: 4px 0 14px; color: var(--bleu); }
h2 { font-family: var(--serif); font-size: 19px; margin: 22px 0 10px; color: var(--bleu); }
h3 { font-size: 15px; margin: 0 0 8px; }
p { line-height: 1.45; }
.attente, .sous { color: var(--gris); }
.canaux { margin: 12px 0 0; padding: 10px 14px; background: var(--carte); border: 1px solid var(--trait); border-radius: 10px; }
.sous { font-size: 13px; margin-top: -8px; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.grille.large { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tuile, .carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 12px; padding: 14px 16px; }
.tuile .n { font-family: var(--serif); font-size: 34px; color: var(--bleu); line-height: 1; }
.tuile .l { color: var(--gris); font-size: 13px; margin-top: 6px; }
.tuile.orange .n { color: var(--attente); } .tuile.rouge .n { color: var(--rouge); }
.carte dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.carte dt { color: var(--gris); font-size: 13px; } .carte dd { margin: 0; font-weight: 600; }
.alertes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.alertes li { padding: 9px 12px; border-radius: 8px; border-left: 4px solid; }
.alertes .rouge { background: var(--rouge-fond); border-color: var(--rouge); }
.alertes .orange { background: var(--attente-fond); border-color: var(--attente); }
.alertes .info { background: var(--info-fond); border-color: var(--bleu); }
.alertes .rien { background: var(--ok-fond); border-color: var(--ok); }
table { width: 100%; border-collapse: collapse; background: var(--carte); border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--trait); vertical-align: top; font-size: 14px; }
th { background: #FBF8F4; color: var(--gris); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
tr.cliquable { cursor: pointer; } tr.cliquable:hover td { background: #FBF8F4; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.b-active { background: var(--ok-fond); color: var(--ok); } .b-essai { background: var(--info-fond); color: var(--bleu); }
.b-a_relancer { background: var(--attente-fond); color: var(--attente); } .b-fin_contrat, .b-rouge { background: var(--rouge-fond); color: var(--rouge); }
.b-offerte { background: #F3EBD3; color: #6B5310; }
.b-gris { background: #EEE9E6; color: var(--gris); }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
pre { background: #fff; border: 1px solid var(--trait); border-radius: 10px; padding: 12px; overflow: auto; font-size: 12.5px; line-height: 1.4; max-height: 520px; white-space: pre-wrap; }
form.ligne, .ligne { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
input[type=text], input[type=email], input[type=password], input[inputmode] { font: inherit; padding: 9px 11px; border: 1px solid #CFC4BD; border-radius: 8px; background: #fff; min-width: 0; }
input.large { flex: 1; min-width: 240px; }
button.principal, button.second { font: inherit; font-weight: 700; border-radius: 8px; padding: 9px 16px; cursor: pointer; border: 1px solid var(--bleu); }
button.principal { background: var(--bleu); color: #fff; } button.second { background: #fff; color: var(--bleu); }
button.discret { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: 6px 11px; font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
.connexion { max-width: 380px; margin: 40px auto; background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 22px 24px; }
.connexion label { display: block; font-weight: 600; margin: 12px 0 5px; font-size: 14px; }
.connexion input { width: 100%; }
.connexion .principal { width: 100%; margin-top: 18px; }
.message { margin: 12px 0 0; padding: 9px 12px; border-radius: 8px; background: var(--rouge-fond); color: var(--rouge); font-size: 14px; }
.message.ok { background: var(--ok-fond); color: var(--ok); }
.message.info { background: var(--info-fond); color: var(--bleu); }
.retour { background: none; border: 0; color: var(--bleu); font: inherit; font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 8px; }
.terminal { margin-top: 10px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--gris); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .deux { grid-template-columns: 1fr; } th:nth-child(n+5), td:nth-child(n+5) { display: none; } }
.vide { color: var(--gris); font-style: italic; }
.fiche { margin-top: 12px; }
.fiche .tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
@media (max-width: 480px) { .entete { padding: 8px 12px; gap: 8px; } .entete .titre strong { font-size: 17px; } .entete .titre span { font-size: 11px; letter-spacing: 1px; } .lecture { display: none; } main { padding: 12px; } }
@media (max-width: 760px) { table { display: block; overflow-x: auto; } .code { word-break: break-all; } }
/* 0.96.0 — premier accès : créer son compte (lien, mot de passe, double authentification) */
.connexion.large { max-width: 460px; }
.connexion .creation .principal { margin-top: 6px; }
.etapes { display: flex; gap: 6px; list-style: none; padding: 0; margin: 4px 0 14px; counter-reset: e; flex-wrap: wrap; }
.etapes li { counter-increment: e; font-size: 12.5px; color: var(--gris); padding: 3px 9px 3px 4px; border-radius: 999px; background: #F1ECE7; }
.etapes li::before { content: counter(e); display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: #fff; margin-right: 5px; font-weight: 700; }
.etapes li.actif { background: var(--bleu); color: #fff; } .etapes li.actif::before { color: var(--bleu); }
.etapes li.fait { background: var(--ok-fond); color: var(--ok); }
img.qr { display: block; margin: 8px auto; border: 1px solid var(--trait); border-radius: 8px; image-rendering: pixelated; }
.cle { text-align: center; font-size: 15px; letter-spacing: 1px; background: #FBF8F4; border: 1px dashed #CFC4BD; border-radius: 8px; padding: 8px; word-break: break-all; }
