/* Feuille du portail (lot E, décision 0021 ; lot 7c, décision 0024). Aucun style en ligne
   dans les gabarits : la CSP n'accepte que les feuilles de notre origine (style-src 'self').
   Contraste visé : WCAG 2.1 AA. */
body { font-family: system-ui, sans-serif; max-width: 42rem; margin: 1rem auto; padding: 0 1rem; line-height: 1.5; }
nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.messages { border-left: .25rem solid #2a6; padding: .25rem .75rem; }
.bandeau { border: .15rem solid #b60; background: #fff4e0; color: #000; padding: .4rem .75rem; margin: .5rem 0; }
.bandeau form { display: inline; }
button, input { font-size: 1rem; padding: .4rem .6rem; }
:focus-visible { outline: .2rem solid #0b57d0; outline-offset: .15rem; }
select, textarea { font-size: 1rem; padding: .3rem; }
table { border-collapse: collapse; }
th, td { text-align: left; padding: .2rem .5rem; border-bottom: 1px solid #767676; vertical-align: top; }
caption { text-align: left; font-weight: bold; padding: .25rem 0; }
fieldset { border: 1px solid #767676; margin: .75rem 0; }
legend { font-weight: bold; }
.en-ligne { display: inline; }
.aide { color: #333; font-size: .95rem; }
.secret { background: #fff4e0; color: #000; border: .15rem solid #b60; padding: .5rem; word-break: break-all; }
.etat { font-weight: bold; }
.sous-menu ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
/* Lot K1b (décision 0046) : haut de page connecté. Menu repliable (<details>, sans JS),
   vue courante et icône de compte en haut à droite. */
.entete { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.entete summary { cursor: pointer; }
.menu nav ul { margin: .25rem 0; }
.compte-haut { position: relative; display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.icone-compte summary { list-style: none; display: inline-flex; padding: .2rem; border: 1px solid #767676; border-radius: 50%; }
.icone-compte summary::-webkit-details-marker { display: none; }
.panneau-compte { position: absolute; right: 0; z-index: 10; min-width: 14rem; max-width: 80vw; background: #fff; color: #000; border: 1px solid #767676; padding: .5rem .75rem; word-break: break-word; }
.panneau-compte p { margin: .25rem 0; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
