/* Portolea — compte membre (D038), feuille chargée par les seules pages /compte/ : site.css reste légère. */
/* Compte membre (D038) : connexion, inscription, espace */
.k-acces { display: grid; gap: var(--espace-6); justify-items: center; }
.k-carte { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: var(--espace-4); padding: var(--espace-6) var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface); box-shadow: var(--ombre-1); }
.k-carte .t-h1 { margin: 0; }
.k-fournisseurs { display: flex; flex-direction: column; gap: var(--espace-2); margin: var(--espace-2) 0 0; padding: 0; list-style: none; }
.n-scope .k-tiers { width: 100%; justify-content: flex-start; gap: 12px; }
.n-scope .k-tiers[data-bientot] { color: var(--encre-douce); }
.k-tiers__logo { width: 22px; height: 22px; flex: none; }
.k-tiers > span { white-space: nowrap; }
.k-bientot { flex: none; margin-left: auto; }
.k-autre { margin: 0; color: var(--encre-douce); }
.k-legal { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--encre-douce); }
.n-scope .k-legal > svg.lucide { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.n-scope .k-demo, .n-scope .k-erreur { margin: 0; }
.k-etapes { display: grid; gap: var(--espace-4); width: 100%; max-width: 440px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.k-etapes li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; counter-increment: etape; }
.k-etapes li > svg.lucide { grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--large); }
.k-etapes h2::before { content: counter(etape) ". "; color: var(--encre-douce); }
.k-etapes p { margin: 0; color: var(--encre-douce); }
.k-section { display: grid; gap: var(--espace-5); }
.k-attente { color: var(--encre-douce); }
.k-finaliser { display: grid; justify-items: center; }
.k-form { display: flex; flex-direction: column; gap: var(--espace-4); max-width: 560px; }
.k-case { display: flex; gap: 10px; align-items: flex-start; line-height: 22px; }
.k-case input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--large); }
.k-actions { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.k-groupe { display: flex; flex-direction: column; gap: var(--espace-3); margin: 0; padding: var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-m); }
.k-groupe legend { padding: 0 6px; }
.k-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--espace-3); }
.k-espace { display: grid; gap: var(--espace-5); align-items: start; }
.k-espace > * { min-width: 0; }
.k-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.k-nav a { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: var(--rayon-m); color: var(--encre); text-decoration: none; white-space: nowrap; }
.k-nav a[aria-current] { background: var(--haut-fond); font-weight: 600; }
.n-scope .k-nav a > svg.lucide { width: 18px; height: 18px; flex: none; color: var(--encre-douce); }
.n-scope .k-sortir { margin-top: var(--espace-3); }
.k-panneaux { min-width: 0; }
.k-panneau { display: flex; flex-direction: column; gap: var(--espace-4); }
.k-panneau .t-h1 { margin: 0; }
.k-chapo { max-width: var(--mesure); color: var(--encre-douce); }
.k-compteurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--espace-3); margin: 0; padding: 0; list-style: none; }
.k-compteurs li { display: flex; flex-direction: column; padding: var(--espace-4); border-radius: var(--rayon-m); background: var(--haut-fond); }
.k-compteurs .t-donnee { font-size: 28px; line-height: 32px; }
.k-vide { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-3); max-width: 560px; padding: var(--espace-5); border: 1px dashed var(--trait-fort); border-radius: var(--rayon-l); color: var(--encre-douce); }
.n-scope .k-vide > svg.lucide { width: 28px; height: 28px; }
.k-vide p { margin: 0; }
.k-identites, .k-puces { margin: 0; padding: 0 0 0 20px; }
.k-identites { list-style: none; padding: 0; display: grid; gap: var(--espace-2); }
.k-identites li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--trait); border-radius: var(--rayon-m); }
.k-danger { display: flex; flex-direction: column; gap: var(--espace-3); margin-top: var(--espace-4); padding: var(--espace-4); border: 1px solid var(--danger); border-radius: var(--rayon-m); background: var(--danger-fond); }
.k-danger p { margin: 0; max-width: var(--mesure); }
/* Mon entreprise (D048) */
.k-ent { display: flex; flex-direction: column; gap: var(--espace-4); }
.k-panneau .k-groupe { max-width: 640px; }
.k-groupe .t-h3, .k-groupe p { margin: 0; }
.k-ligne { display: flex; flex-wrap: wrap; gap: var(--espace-2); align-items: flex-end; }
.k-ligne .n-champ { flex: 1 1 220px; }
.k-ligne > .n-champ__saisie { flex: 1 1 260px; }
.n-scope .k-zone { min-height: 88px; padding-block: 10px; resize: vertical; }
.k-couleurs { display: flex; flex-wrap: wrap; gap: var(--espace-4); }
.k-couleur { display: flex; gap: 10px; align-items: center; }
.k-couleur input { width: 44px; height: 44px; padding: 2px; border: 1px solid var(--trait-fort); border-radius: var(--rayon-m); }
.k-marque-apercu { display: flex; gap: 14px; align-items: center; min-height: 64px; padding: 12px 16px; border-radius: var(--rayon-m); background: var(--marque, var(--large)); color: #fff; }
.k-marque-apercu img { max-width: 140px; max-height: 48px; padding: 4px; border-radius: 6px; background: #fff; object-fit: contain; }
.k-equipe-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.k-itin { display: grid; gap: var(--espace-3); margin: 0; padding: 0; list-style: none; }
.k-itin > li { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--trait); border-radius: var(--rayon-m); }
.k-itin__tete { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.k-itin__liens { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.k-itin__liens li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.k-itin__liens code { overflow-wrap: anywhere; }
.k-corriger { flex-basis: 100%; }
.k-corriger summary { cursor: pointer; color: var(--large); }
.k-flotte-choix { margin-bottom: var(--espace-3); }
.k-dialogue { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface); color: var(--encre); box-shadow: var(--ombre-1); }
.k-dialogue::backdrop { background: rgb(0 0 0 / .45); }
@media (min-width: 900px) {
  .k-acces--large { grid-template-columns: minmax(0, 440px) minmax(0, 400px); align-items: start; justify-content: center; gap: var(--espace-7); }
  .k-espace { grid-template-columns: 240px minmax(0, 1fr); gap: var(--espace-7); }
  .k-nav { position: sticky; top: var(--espace-4); }
  .k-nav ul { flex-direction: column; overflow: visible; }
}

/* Qui sommes-nous, contact (D039) */
.i-texte { display: flex; flex-direction: column; gap: var(--espace-3); max-width: var(--mesure); }
.i-texte .t-h2 { margin-top: var(--espace-4); }
.i-texte .t-h2:first-child { margin-top: 0; }
.i-form { display: flex; flex-direction: column; gap: var(--espace-4); max-width: 560px; }
.n-scope .i-form__message { min-height: 160px; padding-block: 10px; resize: vertical; }
.i-facultatif { font-weight: 400; color: var(--encre-douce); }
.i-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.i-retour { display: none; gap: 8px; align-items: flex-start; max-width: 560px; margin-bottom: var(--espace-4); padding: 12px 14px; border-radius: var(--rayon-m); background: var(--surface-creux); }
.i-retour:target { display: flex; }
.i-retour svg.lucide { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.i-retour--ok svg.lucide { color: var(--large); }
.i-retour--erreur { color: var(--danger); }
