  .page { padding-top: 8px; }
  .section-titre { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 4px 10px; }
  .section-titre h2 { font-size: var(--t-titre-3); font-stretch: 90%; }
  .section-titre .bouton { min-height: 40px; padding: 0 14px; }
  .comptes .ligne { min-height: 68px; }
  .comptes .archive { opacity: .55; }
  .comptes small .etiquette { margin-right: 4px; }
  .note { margin: 10px 4px 0; }
  .feuille h3 { margin: 18px 0 10px; font-size: 1.0625rem; }
  .roles { display: flex; gap: 8px; border: 0; margin: 0 0 4px; padding: 0; }
  .roles legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: var(--t-petit); color: var(--encre-2); }
  .roles label { flex: 1; }
  .roles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .roles span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--r-moyen);
    box-shadow: inset 0 0 0 1.5px var(--trait); font-weight: 650; cursor: pointer; }
  .roles input:checked + span { background: var(--volet-clair); box-shadow: inset 0 0 0 2px var(--volet); }
  .roles input:focus-visible + span { outline: 3px solid var(--ocre); outline-offset: 2px; }
  .actions-compte { display: grid; gap: 10px; margin-top: 18px; }
  .invites .ligne { min-height: 56px; }
  .invites .bouton { min-height: 38px; padding: 0 12px; font-size: .9375rem; }
  .ordre .ligne { min-height: 60px; gap: 12px; padding-right: 8px; }
  .ordre .tuile { width: 40px; height: 40px; font-size: 22px; border-radius: var(--r-petit); box-shadow: none; }
  .ordre .tuile img { width: 26px; height: 26px; }
  .ordre .rang { width: 1.4em; text-align: right; color: var(--encre-2); font-variant-numeric: tabular-nums; font-size: var(--t-petit); }
  .ordre .fleches { display: flex; gap: 2px; }
  .ordre .icone-bouton:disabled { opacity: .25; cursor: default; background: transparent; }
  .section-titre .bouton.discret { min-height: 36px; }
  .ordre .masque .tuile, .ordre .masque strong { opacity: .45; }
  .ordre .corps a { color: inherit; text-decoration: none; }
  .ordre .corps a:hover { text-decoration: underline; }
  .ordre .oeil[aria-pressed="true"] { color: var(--tomette); }

  /* Qui ouvre quoi : outils en lignes, comptes en colonnes */
  .tableau-droits { overflow-x: auto; border-radius: var(--r-grand); background: var(--carte); box-shadow: 0 0 0 1px var(--trait); }
  .droits { width: 100%; border-collapse: collapse; }
  .droits th, .droits td { padding: 8px 6px; border-top: 1px solid var(--trait); }
  .droits thead th { border-top: 0; font-weight: 650; font-size: var(--t-petit); text-align: center; vertical-align: bottom; min-width: 64px; }
  .droits thead th .avatar { display: grid; margin: 0 auto 4px; width: 32px; height: 32px; font-size: 16px; }
  .droits thead th small { display: block; font-weight: 500; color: var(--encre-2); }
  .droits tbody th { text-align: left; font-weight: 650; padding-left: var(--marge); }
  .droits tbody th span.nom { display: flex; align-items: center; gap: 10px; }
  .droits tbody th .tuile { width: 34px; height: 34px; font-size: 18px; border-radius: var(--r-petit); box-shadow: none; }
  .droits tbody th .tuile img { width: 22px; height: 22px; }
  .droits td { text-align: center; }
  .droits input { width: 22px; height: 22px; accent-color: var(--volet); cursor: pointer; }
  .droits input:disabled { cursor: default; }
  .droits .masque th .nom { opacity: .5; }

  /* Appareils d'un compte */
  .appareils .ligne { min-height: 56px; }
  .appareils .bouton { min-height: 38px; padding: 0 12px; font-size: .9375rem; }

  /* Journal */
  .filtres-journal { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
  .filtres-journal button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--chaux-2); color: var(--encre); font: inherit; font-size: .9375rem; cursor: pointer; }
  .filtres-journal button[aria-pressed="true"] { background: var(--volet); color: var(--sur-volet); }
  .journal li { display: flex; gap: 12px; align-items: flex-start; padding: 10px var(--marge); }
  .journal .pastille { margin-top: 7px; flex: none; }
  .journal .corps { flex: 1; min-width: 0; }
  .journal .corps strong { display: block; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
  .journal .corps small { display: block; color: var(--encre-2); font-size: var(--t-petit); line-height: 1.35; }
  #plus-journal { margin-top: 10px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* ---------- Écran large ---------- */
  .adm-grille { display: block; }
  @media (min-width: 720px) {
    .barre { padding-left: max(var(--marge), calc((100% - 1240px) / 2 + 40px)); padding-right: max(var(--marge), calc((100% - 1240px) / 2 + 40px)); }
    .page { max-width: 1240px; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
    .tableau-droits .droits tbody th { min-width: 240px; }
    .droits thead th { min-width: 84px; }
  }
  @media (min-width: 1020px) {
    .adm-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start;
      grid-template-areas: "comptes ordre" "droits droits" "invites journal" "maison journal" "verifs journal"; }
    .b-comptes { grid-area: comptes; } .b-ordre { grid-area: ordre; } .b-droits { grid-area: droits; }
    .b-invites { grid-area: invites; } .b-maison { grid-area: maison; } .b-journal { grid-area: journal; } .b-verifs { grid-area: verifs; }
    .b-journal .journal { max-height: 70vh; overflow-y: auto; }
  }
