/* EulFab — design system (lot 1)
   Dérivé de Maquette.html (v2). Polices Barlow auto-hébergées (licence OFL, voir assets/fonts/).
   Aucune ressource externe : le site promet « aucune identité, aucun IP » côté portail. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0F2340;
  --navy-hi: #1D3E6A;
  --ink: #12283F;
  --ink-soft: #3A4E62;
  --page: #E8EEF5;
  --white: #FFFFFF;
  --blason-red: #B8321E;
  --blason-gold: #D9A95C;
  --ok: #12755A;
  --warn: #7A4A05;
  --f-title: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-soft: 0 8px 14px -8px rgba(15, 35, 64, 0.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--f-body); background: var(--page); color: var(--ink); line-height: 1.5; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.12em; }
svg.sprite { position: absolute; }

/* EN-TÊTE */
.hero { background: radial-gradient(130% 160% at 15% 0%, var(--navy-hi) 0%, var(--navy) 62%); color: var(--white); border-bottom: 6px solid var(--blason-red); box-shadow: 0 3px 0 0 var(--blason-gold), 0 3px 0 6px var(--blason-red); position: relative; z-index: 1; }
.hero-in { max-width: 1040px; margin: 0 auto; padding: 1.5rem 1.25rem 1.7rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.hero h1 { font-family: var(--f-title); font-weight: 700; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1; text-shadow: 0 3px 0 rgba(0,0,0,0.25); }
.hero p { margin-top: 0.5rem; color: #BFD0E3; font-size: 0.95rem; }
.hero-stats { margin-top: 1rem; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.hero-stats span { background: rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 0 rgba(0,0,0,0.25); border-radius: 999px; padding: 0.25rem 0.9rem; font-size: 0.85rem; color: #E3ECF6; }
.hero-stats b { font-family: var(--f-title); font-size: 1.1rem; margin-right: 0.45rem; color: var(--white); }
.hero-logout { display: inline; }
.hero-btn { font: inherit; font-size: 0.85rem; font-weight: 600; color: #E3ECF6; background: transparent; border: 0; padding: 0.25rem 0.4rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hero-btn:hover { color: var(--white); }
.hero-mark { display: block; background: linear-gradient(180deg, #FFFFFF, #E8EEF5); border-radius: 14px; border: 3px solid var(--blason-gold); padding: 0.5rem 0.7rem; box-shadow: 0 6px 0 rgba(0,0,0,0.3), 0 18px 28px -6px rgba(0,0,0,0.5); }
.hero-mark img { display: block; width: 88px; height: auto; }
.logo-login { display: block; width: 180px; height: auto; margin: 0.2rem auto 0.8rem; }

main { max-width: 1040px; margin: 0 auto; padding: 1.9rem 1.25rem 3rem; }

/* PANNEAUX */
.panel { background: linear-gradient(180deg, #FFFFFF, #F4F7FB); border-radius: 18px; padding: 1.3rem 1.4rem; margin-bottom: 1.2rem; box-shadow: inset 0 2px 0 #FFFFFF, 0 3px 0 #C3CEDB, var(--shadow-soft); }
.panel-narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.panel h2 { font-family: var(--f-title); font-size: 1.5rem; line-height: 1.1; font-weight: 700; margin-bottom: 0.6rem; }
.panel h2 .i { color: var(--navy-hi); margin-right: 0.2rem; }
.panel p + p { margin-top: 0.5rem; }
.aide { font-size: 0.85rem; color: var(--ink-soft); }
.tag { font-family: var(--f-body); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--warn); background: #F4E0AE; border-radius: 999px; padding: 0.1rem 0.6rem; vertical-align: 0.15em; margin-left: 0.4rem; }

/* FORMULAIRES */
.champ { margin-top: 0.9rem; }
.champ label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
input[type="email"], input[type="password"], input[type="text"], select { width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: 12px; background: #EEF2F7; box-shadow: inset 0 3px 6px rgba(15,35,64,0.14); font: inherit; font-size: 0.95rem; color: var(--ink); }
.btn { margin-top: 1.1rem; display: inline-block; background: linear-gradient(180deg, var(--navy-hi), var(--navy)); color: var(--white); border: 0; border-radius: 12px; padding: 0.6rem 1.4rem; font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 3px 0 #07142A, 0 6px 10px -6px rgba(15,35,64,0.3); transition: transform 0.1s, box-shadow 0.1s; }
.btn:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 #07142A; }
.btn-lien { margin-top: 0.4rem; }

.btn-secondaire { background: linear-gradient(180deg, #FFFFFF, #E3EAF2); color: var(--navy); box-shadow: inset 0 1px 0 #FFFFFF, 0 3px 0 #94A9C0, 0 6px 10px -6px rgba(15,35,64,0.3); }
.btn-secondaire:active { box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 #94A9C0; }
.lien-discret { display: inline-block; margin-left: 1rem; font-size: 0.9rem; color: var(--ink-soft); text-underline-offset: 3px; }
.champ-code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.12em; font-size: 1.1rem; }
.panel h3 { font-family: var(--f-title); font-size: 1.2rem; margin: 1.2rem 0 0.3rem; }
.activation { display: grid; grid-template-columns: 230px 1fr; gap: 1.5rem; align-items: start; margin-top: 0.6rem; }
.qr { display: block; width: 230px; height: 230px; border-radius: 12px; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #C3CEDB; }
.etapes { margin: 0 0 0.6rem 1.2rem; }
.etapes li { margin-bottom: 0.6rem; }
code.secret { display: inline-block; margin: 0.3rem 0; padding: 0.35rem 0.6rem; background: #EEF2F7; border-radius: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.95rem; word-break: break-all; user-select: all; }
.codes-liste { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1rem; margin: 1rem 0; }
.codes-liste code { display: block; padding: 0.55rem 0.8rem; background: #EEF2F7; border-radius: 10px; box-shadow: inset 0 2px 4px rgba(15,35,64,0.12); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: 0.08em; text-align: center; user-select: all; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.actions form { margin: 0; }


/* ----- Objets 3D de la maquette (plaques, badges), utilisés par la landing et les futurs accueils ----- */
.btn3d { --bg: #CBDDF0; --top: #DCE9F6; --edge: #94B4D6; --deep: #1F5C99;
  display: flex; text-decoration: none; color: var(--ink); border-radius: 18px;
  background: linear-gradient(180deg, var(--top) 0%, var(--bg) 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.85), inset 0 -2px 0 rgba(0,0,0,0.05), 0 3px 0 var(--edge), var(--shadow-soft);
  transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn3d:hover { transform: translateY(1px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.85), inset 0 -2px 0 rgba(0,0,0,0.05), 0 2px 0 var(--edge), 0 6px 10px -6px rgba(15,35,64,0.2); }
.btn3d:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.6), 0 0 0 var(--edge); }
.indigo { --bg: #DCD4F0; --top: #EAE5F8; --edge: #A99BD2; --deep: #4B3A8C; }
.amber  { --bg: #F4E0AE; --top: #FAEDC8; --edge: #D2B063; --deep: #7A4A05; }
.orange { --bg: #F8D0B8; --top: #FCE1D1; --edge: #DE9C7A; --deep: #A33812; }
.blue   { --bg: #CBDDF0; --top: #DCE9F6; --edge: #94B4D6; --deep: #1F5C99; }
.teal   { --bg: #C3E6D8; --top: #D6F0E6; --edge: #8CC4AD; --deep: #12755A; }
.badge { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #FFFFFF 0%, #F2F5F9 60%, #DCE3EC 100%); color: var(--deep); font-size: 1.5rem; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.07), 0 2px 0 rgba(0,0,0,0.1), 0 4px 6px -3px rgba(15,35,64,0.18); flex-shrink: 0; }
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem 1rem; margin-bottom: 1.2rem; }
.plate { flex-direction: column; padding: 0.95rem 1.1rem 0.8rem; }
.plate .badge { margin-bottom: 0.6rem; }
.plate h2 { font-family: var(--f-title); font-size: 1.5rem; line-height: 1.05; font-weight: 700; margin-bottom: 0.3rem; }
.plate p { font-size: 0.88rem; line-height: 1.4; color: var(--ink-soft); }
.plate-foot { margin-top: auto; padding-top: 0.7rem; display: flex; align-items: center; justify-content: flex-end; font-size: 0.85rem; font-weight: 600; color: var(--deep); }
.plate-foot .cta { display: inline-flex; align-items: center; gap: 0.1rem; }
.news { display: flex; gap: 0.8rem; align-items: baseline; background: linear-gradient(180deg, #FBF0D2, #F4E0AE); border-radius: 14px; padding: 0.8rem 1.1rem; margin-bottom: 1.4rem; font-size: 0.95rem; box-shadow: inset 0 2px 0 rgba(255,255,255,0.8), 0 3px 0 #D2B063, var(--shadow-soft); color: #4A3008; }
.news strong { font-family: var(--f-title); font-size: 1.1rem; font-weight: 700; color: #8A2A14; flex-shrink: 0; }
.news ul { list-style: none; }
.news li + li { margin-top: 0.4rem; }

/* ----- Landing eulfab.fr ----- */
.hero-landing .hero-in { position: relative; grid-template-columns: auto 1fr; padding-top: 1.7rem; }
.hero-landing .hero-mark { order: -1; }
.hero-landing p { font-size: 1.05rem; }
.hero-connexion { position: absolute; top: 0; bottom: 0; margin: auto 0; height: fit-content; right: 1.25rem; align-items: center; gap: 0.45rem; padding: 0.5rem 1.05rem; border-radius: 14px; font-weight: 600; font-size: 0.95rem; }
.hero-connexion .i { color: var(--deep); font-size: 1.15em; }
.intro { font-size: 1.02rem; max-width: 70ch; }

/* PAGE D'INFORMATIONS LÉGALES */
.sommaire { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.sommaire a { text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 0.35rem 0.95rem; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 2px 0 #FFFFFF, 0 2px 0 #C3CEDB; color: var(--navy-hi); }
.sommaire a:hover { background: var(--navy-hi); color: #FFFFFF; box-shadow: 0 2px 0 var(--navy); }
.legal { scroll-margin-top: 1rem; }
.legal .maj { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--navy-hi); background: #E3ECF6; padding: 0.1rem 0.7rem; border-radius: 999px; margin-bottom: 0.7rem; }
.legal h3 { margin-top: 1.1rem; }
.legal ul { padding-left: 1.2rem; margin-top: 0.4rem; }
.legal li { margin-top: 0.25rem; }
.legal code { font-size: 0.85em; background: #E8EEF5; padding: 0 0.3rem; border-radius: 4px; }
.droits { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.6rem; margin: 0.6rem 0; }
.droits div { background: #E8EEF5; border-radius: 10px; padding: 0.6rem 0.8rem; font-size: 0.9rem; }
.droits strong { display: block; color: var(--navy-hi); font-family: var(--f-title); font-size: 1.05rem; }

/* GESTION DES COMPTES (lot 4) */
select { appearance: auto; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.case { display: flex !important; align-items: center; gap: 0.5rem; font-weight: 500 !important; }
.case input { width: 1.1rem; height: 1.1rem; }
.filtres { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; align-items: flex-end; margin-bottom: 1rem; }
.filtres .champ { margin-top: 0.4rem; min-width: 170px; flex: 1 1 170px; }
.filtres .btn { margin-top: 0.4rem; }
.pastille { display: inline-block; font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.1rem 0.65rem; margin-right: 0.25rem; white-space: nowrap; vertical-align: 0.1em; }
.pastille-ok { background: #C3E6D8; color: #0C4D3B; }
.pastille-warn { background: #F4E0AE; color: #4A3008; }
.pastille-info { background: #DCE9F6; color: #1F3F66; }
.pastille-off { background: #E3E7EC; color: #4A5663; }
.pastille-safe { background: #DCD4F0; color: #4B3A8C; }
.pagination { display: flex; gap: 1.2rem; align-items: center; justify-content: center; margin-top: 1rem; font-size: 0.9rem; }
.pagination a { font-weight: 600; text-underline-offset: 3px; }
.btn-danger { background: linear-gradient(180deg, #C9472F, var(--blason-red)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 3px 0 #6E1C0F, 0 6px 10px -6px rgba(110,28,15,0.4); }
.btn-danger:active { box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 #6E1C0F; }
.lien-retour { margin-left: 0; }
.tbl-comptes td a { font-weight: 600; text-underline-offset: 3px; }
.panel .actions { margin-top: 0.8rem; }
.panel .actions .btn { margin-top: 0; }
.panel > form > .btn, .panel > form .btn:first-child { margin-top: 0.8rem; }

/* MENU ADMINISTRATION (sans script : <details>) */
.menu-admin { position: relative; display: inline-block; }
.menu-admin summary { list-style: none; cursor: pointer; }
.menu-admin summary::-webkit-details-marker { display: none; }
.menu-admin summary::after { content: " \25BE"; }
.menu-liste { position: absolute; top: calc(100% + 0.4rem); left: 0; z-index: 20; min-width: 240px; list-style: none; background: #FFFFFF; color: var(--ink); border-radius: 12px; padding: 0.4rem; box-shadow: 0 10px 24px -8px rgba(15,35,64,0.45), 0 3px 0 #C3CEDB; }
.menu-liste a { display: block; padding: 0.5rem 0.8rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.menu-liste a:hover, .menu-liste a:focus-visible { background: #E3ECF6; }
code { font-size: 0.85em; background: #E8EEF5; padding: 0 0.3rem; border-radius: 4px; }

/* MESSAGES */
.alert { border-radius: 14px; padding: 0.75rem 1rem; margin: 0.9rem 0 0.2rem; font-size: 0.95rem; }
main > .alert { margin: 0 0 1.2rem; }
.alert-erreur { background: linear-gradient(180deg, #FBD9D4, #F6C6C0); color: #7A1A12; box-shadow: inset 0 2px 0 rgba(255,255,255,0.7), 0 3px 0 #DE918A; }
.alert-info { background: linear-gradient(180deg, #FBF0D2, #F4E0AE); color: #4A3008; box-shadow: inset 0 2px 0 rgba(255,255,255,0.8), 0 3px 0 #D2B063; }
.alert-ok { background: linear-gradient(180deg, #D6F0E6, #C3E6D8); color: #0C4D3B; box-shadow: inset 0 2px 0 rgba(255,255,255,0.7), 0 3px 0 #8CC4AD; }

/* TABLEAUX */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tbl th, .tbl td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid #DDE5EE; vertical-align: top; }
.tbl th[scope="row"] { font-weight: 600; width: 34%; }
.tbl thead th { font-family: var(--f-title); font-size: 1rem; color: var(--navy); }
.etat { font-weight: 700; white-space: nowrap; }
.etat-ok { color: var(--ok); }
.etat-warn { color: var(--warn); }
.etat-info { color: var(--ink-soft); }

footer { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #C3CEDB; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 0.85rem; color: var(--ink-soft); }
footer a { font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .hero-in { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.2rem; }
  .hero-mark { justify-self: start; order: -1; }
  .hero-landing .hero-in { grid-template-columns: 1fr; padding-top: 1.2rem; }
  .hero-connexion { top: 0.9rem; bottom: auto; margin: 0; right: 1rem; }
  .tbl th[scope="row"] { width: auto; }
  .activation { grid-template-columns: 1fr; }
  .qr { margin: 0 auto; }
  .codes-liste { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn3d { transition: none; } }

/* Administration du site */
textarea { width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: 12px; background: #EEF2F7; box-shadow: inset 0 3px 6px rgba(15,35,64,0.14); font: inherit; font-size: 0.95rem; line-height: 1.45; color: var(--ink); resize: vertical; }
.apercu-mail { white-space: pre-wrap; word-break: break-word; background: #EEF2F7; border-radius: 12px; padding: 0.8rem 1rem; font: inherit; font-size: 0.92rem; line-height: 1.5; box-shadow: inset 0 2px 4px rgba(15,35,64,0.12); margin: 0.5rem 0 0.8rem; }

/* Statistiques */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.kpi { background: #EEF2F7; border-radius: 14px; padding: 0.8rem 1rem; box-shadow: inset 0 2px 4px rgba(15,35,64,0.1); display: flex; flex-direction: column; }
.kpi-v { font-family: var(--f-title); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--deep); }
.kpi-l { font-size: 0.9rem; font-weight: 600; }
.kpi-e { font-size: 0.78rem; color: var(--ink-soft); }
.graphique { width: 100%; height: auto; display: block; margin: 0.4rem 0; }
.g-barre { fill: #8FB1D6; }
.g-courbe { fill: none; stroke: #C2410C; stroke-width: 2; stroke-linejoin: round; }
.g-point { fill: #C2410C; }
.g-axe { stroke: #9AA7B6; stroke-width: 1; }
.g-txt { font-size: 11px; fill: #4A5663; font-family: sans-serif; }
.g-fin { text-anchor: end; }
.leg { display: inline-block; width: 0.9rem; height: 0.6rem; border-radius: 2px; vertical-align: 0.05em; }
.leg-barre { background: #8FB1D6; }
.leg-courbe { background: #C2410C; }
.grille-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem 1.6rem; }
.grille-stats h3 { margin-top: 0.4rem; }
.num { text-align: right; white-space: nowrap; }
.donnees { margin-top: 0.6rem; }
.donnees summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.btn-sec { margin-top: 0; background: #EEF2F7; color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 3px 0 #C5CFDB; padding: 0.4rem 1rem; }
.btn-sec.actif { background: linear-gradient(180deg, var(--navy-hi), var(--navy)); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 3px 0 #07142A; }

/* Actualités */
[hidden] { display: none !important; }
input[type="date"], input[type="url"] { width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: 12px; background: #EEF2F7; box-shadow: inset 0 3px 6px rgba(15,35,64,0.14); font: inherit; font-size: 0.95rem; color: var(--ink); }
.champs-ligne { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; }
.news ul { flex: 1; }
.news-liste li { display: flex; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; }
.news-date { font-family: var(--f-title); font-size: 1.05rem; flex-shrink: 0; }
.news-texte { flex: 1 1 14rem; }
.news-texte p + p, .news-texte ul { margin-top: 0.3rem; }
.news-texte ul { list-style: disc; padding-left: 1.2rem; }
.news-texte a, .news-lien { font-weight: 600; text-underline-offset: 3px; }
.alert .news-texte { margin-top: 0.2rem; }
.archive { list-style: none; }
.archive li { padding: 0.7rem 0; border-bottom: 1px solid #DDE5EE; }
.editeur-barre { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.editeur-barre .btn-sec { padding: 0.3rem 0.8rem; }
.news-zone { min-height: 8rem; padding: 0.6rem 0.75rem; border-radius: 12px; background: #EEF2F7; box-shadow: inset 0 3px 6px rgba(15,35,64,0.14); line-height: 1.45; }
.news-zone p + p { margin-top: 0.4rem; }
.news-zone ul { list-style: disc; padding-left: 1.2rem; }
.compteur { margin-top: 0.3rem; font-size: 0.82rem; color: var(--ink-soft); }
.compteur.depasse { color: #7A1A12; font-weight: 700; }

/* Éditeur d'actualités : neutralise la marge « .panel > form .btn:first-child » qui décalait le 1er bouton de chaque rangée */
#form-news .editeur-barre { align-items: center; }
#form-news .editeur-barre .btn, #form-news .actions .btn { margin-top: 0; }

/* ---- Volet de connexion (landing) et pages affichées dans son cadre ---- */
.volet { position: fixed; inset: 0; z-index: 50; }
.volet[hidden] { display: none; }
.volet-fond { position: absolute; inset: 0; background: rgba(15, 35, 64, 0.45); opacity: 0; transition: opacity 0.25s; }
.volet-panneau { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--page); box-shadow: -8px 0 28px rgba(15, 35, 64, 0.3); transform: translateX(100%); transition: transform 0.25s ease-out; outline: none; }
.volet.ouvert .volet-fond { opacity: 1; }
.volet.ouvert .volet-panneau { transform: none; }
.volet-cadre { display: block; width: 100%; height: 100%; border: 0; background: var(--page); }
.volet-fermer { position: absolute; top: 0.6rem; right: 0.7rem; z-index: 2; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: #EEF2F7; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #C5CFDB; }
.volet-fermer:hover { background: #fff; }
body.volet-ouvert { overflow: hidden; }
body.embed main { max-width: none; padding: 1.2rem 1rem 1.5rem; }
body.embed .panel-narrow { max-width: none; margin-top: 2.2rem; }
body.embed .logo-login { display: none; }
@media (prefers-reduced-motion: reduce) { .volet-fond, .volet-panneau { transition: none; } }
