@font-face { font-family: "Lexend"; src: url("/fonts/lexend-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/fonts/lexend-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/fonts/lexend-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

[hidden] { display: none !important; }

:root {
  --ink: #1a2340;
  --muted: #55607a;
  --soft-ink: #3e4966;
  --line: #e6eaf2;
  --line-strong: #d5dbe6;
  --bg-soft: #f5f7fb;
  --blue: #1f57c3;
  --blue-dark: #163f8f;
  --blue-bg: #eef4ff;
  --teal: #0b7a6a;
  --teal-bright: #0e9f8a;
  --teal-bg: #e6f7f3;
  --amber: #8a5a00;
  --amber-bright: #f5b731;
  --amber-bg: #fff8e6;
  --red: #b42318;
  --navy: #16285a;
  --display: "Lexend", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.row > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.section-head p { margin-top: 4px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; background: var(--blue); color: #fff; min-height: 48px; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-bg); color: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-teal { background: var(--teal); }
.btn-teal:hover { background: #075e52; }
.btn-small { padding: 8px 14px; min-height: 40px; font-size: 0.95rem; border-radius: 10px; }
.btn-danger { background: #fff; color: var(--red); border: 1px solid #f1c4c0; }
.btn-danger:hover { background: #fdf0ef; color: var(--red); }
.btn[disabled] { background: #fff; color: var(--muted); border: 1px solid var(--line-strong); cursor: default; }

/* En-tête du site */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 14px; }
.logo { flex-shrink: 0; display: block; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.brand-name span { font-size: 0.85rem; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-weight: 600; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--blue); }
.site-nav a.btn { color: #fff; padding: 11px 20px; }

/* Bandeau à la une */
.featured-bar { background: #ffd84d; }
.featured-bar .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding-block: 10px; font-weight: 600; }
.featured-bar .label { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; background: var(--ink); color: #ffd84d; padding: 3px 10px; border-radius: 6px; }
.featured-bar a { color: var(--ink); font-weight: 700; }

/* Hero */
.hero { background: var(--blue-bg); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-block: 48px 96px; }
.hero-text { flex: 999 1 440px; min-width: 0; }
.hero-tagline { font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--blue); margin-top: 14px; }
.hero-text > p:not(.hero-tagline) { margin-top: 14px; font-size: 1.1rem; color: var(--soft-ink); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-visual { flex: 1 1 440px; min-width: 0; position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 28px; background: #fff; }
.hero-chip { position: absolute; left: -12px; bottom: -22px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(26, 35, 64, 0.14); display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.page-hero { background: var(--blue-bg); }
.page-hero .wrap { padding-block: 36px 84px; }
.page-hero p { margin-top: 10px; color: var(--soft-ink); font-size: 1.1rem; max-width: 620px; }

/* Tuiles d'action */
.tiles { margin-top: -56px; position: relative; }
.tiles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.tile { text-decoration: none; color: var(--ink); border-radius: 20px; padding: 20px; display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 24px rgba(26, 35, 64, 0.08); border: 1px solid; }
.tile:hover { color: var(--ink); transform: translateY(-1px); }
.tile-icon { flex: 0 0 52px; height: 52px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; }
.tile strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.tile span.desc { display: block; font-size: 0.95rem; color: var(--soft-ink); }
.tile-blue { background: var(--blue-bg); border-color: #d6e3ff; --accent: var(--blue); }
.tile-teal { background: var(--teal-bg); border-color: #c8ede4; --accent: var(--teal); }
.tile-amber { background: var(--amber-bg); border-color: #fbe7b0; --accent: var(--amber); }
.tile strong, .tile svg { color: var(--accent); }
.tile.is-current { border: 2px solid var(--accent); }

main.page { padding-block: 56px 64px; display: flex; flex-direction: column; gap: 56px; }

/* Cartes et listes */
.card { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: #fff; }
.card-soft-amber { background: var(--amber-bg); border: 0; border-radius: 24px; padding: 24px; }
.card-soft-teal { background: #f2fbf8; border: 0; border-radius: 24px; padding: 28px; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.event { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; }
.event-date { flex: 0 0 58px; text-align: center; border-radius: 12px; background: var(--blue-bg); color: var(--blue); padding: 6px 0; }
.event-date b { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.event-date small { font-size: 0.72rem; font-weight: 700; }
.event-body { flex: 1; min-width: 0; }
.event-body strong { display: block; }
.tag { font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag-reunion, .tag-sujet, .tag-transmis { background: var(--blue-bg); color: var(--blue); }
.tag-ecole, .tag-question, .tag-resolu { background: var(--teal-bg); color: var(--teal); }
.tag-fete, .tag-idee, .tag-discussion, .tag-benevoles { background: #fff4d6; color: var(--amber); }
.tag-autre, .tag-neutral { background: var(--bg-soft); color: var(--soft-ink); }

.slot { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; }
.slot-info { flex: 1 1 170px; min-width: 0; }
.slot form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.slot details summary { list-style: none; }
.slot details summary::-webkit-details-marker { display: none; }
.slot details[open] summary { display: none; }
.slot details form { margin-top: 2px; }
.slot input { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 10px; min-width: 0; flex: 1 1 140px; }

.topics { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.topic { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eef1f6; }
.topic:last-child { border-bottom: 0; }
.topic-text { flex: 1 1 320px; min-width: 0; }
.steps { display: flex; gap: 6px; }
.steps span { width: 28px; height: 6px; border-radius: 999px; background: var(--line); }
.steps.transmis span:nth-child(-n + 1) { background: var(--blue); }
.steps.discussion span:nth-child(-n + 2) { background: var(--amber-bright); }
.steps.resolu span { background: var(--teal-bright); }
.topic-status { flex: 0 0 190px; font-size: 0.9rem; font-weight: 700; }
.topic-status.transmis { color: var(--blue); }
.topic-status.discussion { color: var(--amber); }
.topic-status.resolu { color: var(--teal); }

.project { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.project-photo { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.project-photo.placeholder { background: var(--teal-bg); }
.project-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--teal-bright); }
.bar.amber > span { background: var(--amber-bright); }
.bar-labels { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 700; }

.news { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: var(--ink); }
.news-thumb { flex: 0 0 120px; height: 96px; border-radius: 16px; object-fit: cover; background: var(--blue-bg); }
.news h3 { font-size: 1.1rem; margin: 2px 0 4px; }

.person { text-align: center; padding: 16px 10px; border: 1px solid var(--line); border-radius: 18px; }
.avatar { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 999px; background: var(--blue-bg); color: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }

details.faq { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
details.faq summary { font-weight: 700; cursor: pointer; }
details.faq p { margin-top: 8px; color: var(--soft-ink); }

.empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font-weight: 400; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; width: 100%; }
.field textarea { resize: vertical; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; padding-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-weight: 600; }
.chip input { position: absolute; opacity: 0; }
.chip:has(input:checked) { border: 2px solid var(--blue); background: var(--blue-bg); color: var(--blue); padding: 8px 15px; }
.chip:has(input:focus-visible) { outline: 3px solid var(--amber-bright); outline-offset: 2px; }
.chips.teal .chip:has(input:checked) { border-color: var(--teal); background: var(--teal); color: #fff; }
.options-box { background: var(--bg-soft); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; }
.check strong { display: block; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.notice-ok { background: var(--teal-bg); color: #075e52; }
.notice-error { background: #fdf0ef; color: var(--red); }


.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.step-num { flex: 0 0 32px; height: 32px; border-radius: 999px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.article-body p + p { margin-top: 1em; }
.article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 24px; }

/* Pied de page */
.site-footer { background: var(--navy); color: #d6ddf0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; padding-block: 32px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer strong { font-family: var(--display); color: #fff; font-size: 1.1rem; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* ---------- Espace bureau ---------- */
.admin { background: var(--bg-soft); font-size: 16px; line-height: 1.5; }
.admin-shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.admin-nav { flex: 1 1 240px; max-width: 100%; background: #fff; border-right: 1px solid var(--line); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav .brand { padding: 4px 10px 20px; }
.admin-nav a.item { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.admin-nav a.item:hover { background: var(--bg-soft); }
.admin-nav a.item[aria-current="page"] { background: var(--blue-bg); color: var(--blue); font-weight: 700; }
.admin-nav .badge { margin-left: auto; font-size: 0.75rem; font-weight: 700; background: var(--amber-bright); color: var(--ink); border-radius: 999px; padding: 1px 8px; }
.admin-nav .bottom { margin-top: auto; padding: 18px 12px 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.admin-nav .bottom button { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; text-align: left; }
.admin-main { flex: 999 1 600px; min-width: 0; padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 26px; }
.admin h1 { font-size: 1.9rem; }
.admin h2 { font-size: 1.3rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.kpi { border-radius: 18px; padding: 18px 20px; background: #fff; }
.kpi b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1.15; }
.kpi.blue { background: var(--blue-bg); color: var(--blue); }
.kpi.teal { background: var(--teal-bg); color: var(--teal); }
.kpi.amber { background: var(--amber-bg); color: var(--amber); }
.kpi span { color: var(--soft-ink); font-size: 0.95rem; }
.inbox-item { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 14px 4px; border-top: 1px solid #eef1f6; }
.inbox-item:first-child { border-top: 0; }
.inbox-text { flex: 1 1 340px; min-width: 0; }
.inbox-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bulk-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; background: #fff; padding: 10px 4px 12px; border-bottom: 1px solid #eef1f6; }
.bulk-check { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }
.bulk-pick { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 320px; min-width: 0; }
@media (max-width: 760px) {
  .bulk-bar { padding-block: 8px; gap: 6px; }
  .bulk-bar .btn { padding: 6px 10px; font-size: 0.85rem; }
}
.inbox-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.late { color: var(--red); font-weight: 700; }
.kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.kanban-col { border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.kanban-col.transmis { background: var(--blue-bg); }
.kanban-col.discussion { background: var(--amber-bg); }
.kanban-col.resolu { background: var(--teal-bg); }
.kanban-col h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; display: flex; justify-content: space-between; padding: 2px 4px; }
.kanban-card { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 2px 6px rgba(26, 35, 64, 0.06); }
.kanban-card form { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data th { text-align: left; color: var(--muted); font-size: 0.85rem; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data td { padding: 12px; border-bottom: 1px solid #eef1f6; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.login-box { max-width: 420px; margin: 10vh auto; padding: 32px; }

/* Largeurs des barres de progression (pas de style en ligne : CSP stricte). */
.pct-0 { width: 0%; }
.pct-5 { width: 5%; }
.pct-10 { width: 10%; }
.pct-15 { width: 15%; }
.pct-20 { width: 20%; }
.pct-25 { width: 25%; }
.pct-30 { width: 30%; }
.pct-35 { width: 35%; }
.pct-40 { width: 40%; }
.pct-45 { width: 45%; }
.pct-50 { width: 50%; }
.pct-55 { width: 55%; }
.pct-60 { width: 60%; }
.pct-65 { width: 65%; }
.pct-70 { width: 70%; }
.pct-75 { width: 75%; }
.pct-80 { width: 80%; }
.pct-85 { width: 85%; }
.pct-90 { width: 90%; }
.pct-95 { width: 95%; }
.pct-100 { width: 100%; }

/* Bandeau d'alerte (grève, fermeture) : plus marqué que « À la une ». */
.alert-bar { background: #ffe1d6; }
.alert-bar .label { background: #a33a12; color: #fff; }
.info-section { scroll-margin-top: 16px; }
.info-section h2 { margin-bottom: 10px; }
.info-section p + p { margin-top: 0.8em; }
.info-section a { word-break: break-word; }

/* Menus de la cantine */
.menu-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.menu-day { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.menu-day.is-today { border: 2px solid var(--blue); background: var(--blue-bg); }
.menu-day header { display: flex; flex-direction: column; gap: 6px; }
.menu-day h3 { font-size: 1.05rem; }
.menu-day h3::first-letter { text-transform: uppercase; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; }
.menu-list li { padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.menu-snack { font-size: 0.9rem; color: var(--soft-ink); background: var(--amber-bg); border-radius: 10px; padding: 8px 10px; margin-top: auto; }
.menu-today { border-color: #d6e3ff; background: var(--blue-bg); }
.menu-today h2 { font-size: 1.3rem; }
.menu-inline { font-size: 1.05rem; }

/* Confirmation de suppression en deux temps (details) */
details.confirm > summary { list-style: none; }
details.confirm > summary::-webkit-details-marker { display: none; }
details.confirm[open] > summary { background: #fdf0ef; }
.confirm-box { margin-top: 8px; padding: 10px 12px; border: 1px solid #f1c4c0; border-radius: 10px; background: #fff; display: flex; flex-direction: column; gap: 8px; max-width: 320px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pager { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag-annule { background: #fdf0ef; color: var(--red); }
.project-news { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }

/* Espace bureau sur téléphone : menu en barre horizontale défilante, le contenu commence tout de suite. */
@media (max-width: 760px) {
  .admin-shell { flex-direction: column; min-height: 0; }
  .admin-nav { flex: 0 0 auto; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; align-items: center; gap: 4px; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav .brand { display: none; }
  .admin-nav a.item { white-space: nowrap; padding: 8px 10px; font-size: 0.9rem; }
  .admin-nav a.item svg { display: none; }
  .admin-nav .bottom { margin: 0; padding: 0 0 0 8px; flex-direction: row; align-items: center; gap: 12px; white-space: nowrap; }
  .admin-main { padding: 16px 16px 40px; gap: 20px; }
  .admin h1 { font-size: 1.5rem; }
}
.table-scroll:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 2px; }

/* Photos des membres du bureau */
.avatar-photo { border-radius: 999px; object-fit: cover; display: block; margin: 0 auto 8px; background: var(--blue-bg); }
.members-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 12px 8px; }
.members-strip li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.members-strip .avatar { margin: 0 0 4px; }
.member-admin { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid #eef1f6; }
.member-admin:first-child { border-top: 0; }
.member-admin .avatar { margin: 0; flex: 0 0 auto; }

.install-steps { display: grid; gap: 8px; padding-left: 1.4em; }

/* Texte mis en forme (articles, infos pratiques) */
.rich { display: grid; gap: 12px; }
.rich > * { margin: 0; }
.rich h2 { font-size: 1.35rem; margin-top: 8px; }
.rich h3 { font-size: 1.15rem; margin-top: 4px; }
.rich ul, .rich ol { padding-left: 1.4em; display: grid; gap: 4px; }
.rich blockquote { border-left: 4px solid var(--teal-bright); padding: 4px 0 4px 16px; color: var(--soft-ink); }
.rich pre { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; overflow-x: auto; white-space: pre-wrap; }
.rich a { overflow-wrap: anywhere; }
.rich figure { margin: 0; display: grid; gap: 6px; }
.rich figure img { max-width: 100%; height: auto; border-radius: 12px; }
.rich figcaption { font-size: 0.9rem; color: var(--muted); }
.rich figure > a:not(:has(img)) { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft); text-decoration: none; justify-self: start; }
.rich figure > a:not(:has(img))::before { content: "📎"; }
.rich figure > a:not(:has(img)) figcaption { color: var(--blue); font-weight: 700; font-size: 1rem; text-decoration: underline; }
.rich figcaption:empty { display: none; }

/* Éditeur de l'espace bureau */
/* « body » : passe devant trix.css, chargé après cette feuille. */
body trix-toolbar .trix-button-row { flex-wrap: wrap; gap: 6px; overflow-x: visible; }
body trix-toolbar .trix-button-group { margin: 0; }
body trix-toolbar .trix-button-group-spacer { display: none; }
.rich-editor { min-height: 12em; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-weight: 400; }
.rich-editor:focus { outline: 3px solid var(--blue-bg); border-color: var(--blue); }
.rich-editor h2 { font-size: 1.25rem; }
.editor-status { color: var(--muted); }
.editor-status.editor-error { color: var(--red); font-weight: 700; }
