/* Espace client Bilansite : complète la charte de la page (style.css) sans la répéter. */
body.espace{min-height:100vh}
.espace .menu{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;align-items:center}
.espace .menu a{color:var(--encre);text-decoration:none;font-weight:600;padding:.4rem 0;border-bottom:2px solid transparent}
.espace .menu a[aria-current=page],.espace .menu a:hover{border-bottom-color:var(--ok)}
.espace main.contenu{padding:1rem 0 3rem;max-width:44rem}
.espace h1{font-size:clamp(1.8rem,4vw,2.6rem)}
.espace h2{font-size:1.35rem;margin-top:2.2rem}
.espace .lead{font-size:1.1rem;color:var(--doux)}
.espace form.carte{margin:1rem 0}
.espace form.en-ligne{background:none;border:0;padding:0;max-width:none;display:inline;margin:0}
.espace form.rang{display:flex;gap:.75rem;align-items:center;justify-content:space-between;border-top:1px solid var(--trait);padding:.6rem 0}
.espace input[type=text],.espace input[type=email]{width:100%;padding:.75rem;border:1.5px solid var(--encre);border-radius:.4rem;font:inherit;background:#fff}
.espace input[type=file]{width:100%;padding:.5rem 0;font:inherit}
.espace input[type=color]{width:4rem;height:2.6rem;padding:.15rem;border:1.5px solid var(--encre);border-radius:.4rem;background:#fff}
.espace label.case{display:flex;gap:.5rem;align-items:flex-start;font-weight:400}
.espace label.case input{margin-top:.4rem}
.espace .doux,.espace .site-url,.espace .plafond,.espace .fil{color:var(--doux)}
.espace .plafond{margin:.2rem 0 1.5rem}
.espace .erreur{color:var(--alerte);font-weight:600;margin:.9rem 0 0}
.espace .succes{color:var(--ok);font-weight:600}
.espace button.lien{background:none;border:0;padding:.4rem 0;font:inherit;color:var(--ok);text-decoration:underline;cursor:pointer}
.espace .btn.danger{background:var(--alerte)}
.espace .vide{color:var(--doux);font-style:italic}
.espace ul.sites{list-style:none;margin:0;padding:0;border-top:1px solid var(--trait)}
.espace li.site{display:flex;gap:.9rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--trait)}
.espace .site-corps{flex:1;min-width:0;display:flex;flex-direction:column}
.espace .site-nom{font-weight:700;color:var(--encre);overflow-wrap:anywhere}
.espace .site-url,.espace .site-etat{font-size:.92rem;overflow-wrap:anywhere}
.espace .pastille{flex:none;width:.85rem;height:.85rem;border-radius:50%;background:var(--ok);display:inline-block}
.espace li.e-pb .pastille,.espace tr.e-pb .pastille{background:var(--alerte)}
.espace li.e-attente .pastille{background:var(--trait)}
.espace li.e-pb .site-etat{color:var(--alerte);font-weight:600}
.espace table.mesures{width:100%;border-collapse:collapse;font-size:.95rem}
.espace .mesures th,.espace .mesures td{text-align:left;padding:.55rem .5rem .55rem 0;border-bottom:1px solid var(--trait);vertical-align:top}
.espace .mesures th{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--doux)}
.espace ul.incidents{padding-left:1.1rem}
.espace .chiffre strong{font:700 1.6rem Georgia,serif}
.espace dl.fiche{display:grid;grid-template-columns:max-content 1fr;gap:.5rem 1.5rem}
.espace dl.fiche dt{color:var(--doux)}
.espace dl.fiche dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.espace .apercu{background:var(--carte);border:1px solid var(--trait);border-top:.5rem solid var(--couleur);border-radius:.4rem;padding:1.25rem 1.5rem;margin:1.25rem 0;box-shadow:0 1rem 2rem -1.2rem #14201b40}
.espace .apercu-haut{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid var(--trait);padding-bottom:.8rem;margin-bottom:1rem}
.espace .apercu-logo{max-height:3.2rem;max-width:12rem;object-fit:contain}
.espace .apercu-logo.vide{color:var(--doux);border:1px dashed var(--trait);padding:.6rem 1rem;border-radius:.3rem}
.espace .apercu-nom{font-weight:700;color:var(--couleur);text-align:right}
.espace .apercu h2{margin:0 0 .2rem}
@media(max-width:600px){.espace header.haut{flex-direction:column;align-items:flex-start;gap:.4rem}.espace .menu{gap:.1rem 1rem}.espace .mesures th:nth-child(3),.espace .mesures td:nth-child(3){display:none}.espace form.rang{flex-direction:column;align-items:flex-start}.espace dl.fiche{grid-template-columns:1fr}}
.espace fieldset{border:0;padding:0;margin:0 0 .8rem}.espace legend{font-weight:600;margin-bottom:.3rem}
