/* Himydata. Inter and Space Grotesk are self-hosted (SIL Open Font License). */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
}

:root {
  --deep: #0D151C;
  --neural: #F4F7F6;
  --mist: #A9B5B8;
  --mist-ink: #45555A; /* Slate Mist, darkened so secondary text stays readable on Neural White */
  --lime: #D4F800;
  --lime-press: #C4E600;
  --violet: #7A5CFF;

  --pin: var(--deep);
  --pin-2: #1A2632;
  --fond: var(--neural);
  --carte: #FFFFFF;
  --trait: #D3DCDA;
  --texte: var(--deep);
  --doux: var(--mist-ink);
  --mer: #0F7468;
  --mer-pale: #E2F1EE;
  --ocre: #B8741A; --ocre-pale: #FBEFD9;
  --rouge: #B83A28; --rouge-pale: #F8E3DE;
  --rose: #A43C78; --rose-pale: #F6E3EE;
  --jaune-pale: #FBF4CF;
  --rayon: 6px;
  --font: Inter, "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --display: "Space Grotesk", Inter, "Segoe UI", sans-serif;
  font-size: 15px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--texte); background: var(--fond); line-height: 1.45; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--deep); }
::selection { background: var(--lime); color: var(--deep); }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.nav :focus-visible { outline-color: var(--lime); }
h1, h2, .marque, .compteurs strong, .chrono .compteur { font-family: var(--display); letter-spacing: -0.02em; }
h1 { font-size: 1.65rem; font-weight: 600; margin: 0 0 .15rem; }
h2 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .75rem; }
.sous-titre { color: var(--doux); margin: 0 0 1.5rem; }

/* ---------- Structure ---------- */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.nav { background: var(--deep); color: var(--neural); padding: 1.25rem .75rem; display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.marque { display: flex; align-items: center; gap: .6rem; padding: .25rem .6rem 1.25rem; color: var(--neural); font-weight: 600; }
.marque .logo { width: 30px; height: 30px; border-radius: 8px; background: var(--lime); color: var(--deep); display: grid; place-items: center; font-size: .8rem; letter-spacing: .02em; }
.nav .groupe { color: var(--mist); font-size: .8rem; padding: 1rem .6rem .3rem; }
.nav a { color: var(--neural); text-decoration: none; padding: .5rem .6rem; border-radius: var(--rayon); display: flex; align-items: center; gap: .65rem; }
.nav a .libelle { flex: 1; }
.nav a:hover { background: var(--pin-2); }
.nav a.actif { background: var(--pin-2); color: var(--neural); box-shadow: inset 3px 0 0 var(--lime); }
.nav .ico { width: 18px; height: 18px; flex: none; opacity: .75; }
.nav a:hover .ico, .nav a.actif .ico { opacity: 1; }
.nav a.actif .ico { color: var(--lime); }
.nav .pastille { background: var(--lime); color: var(--deep); border-radius: 999px; font-size: .75rem; padding: 0 .45rem; font-weight: 600; }
.nav .bas { margin-top: auto; padding: .9rem .6rem 0; border-top: 1px solid var(--pin-2); font-size: .85rem; color: var(--mist); display: flex; flex-direction: column; gap: .35rem; }
.nav .bas .moi { display: flex; align-items: center; gap: .55rem; color: var(--neural); font-weight: 600; padding-bottom: .2rem; }
.nav .bas a.support { padding: .3rem 0; color: var(--mist); font-size: .8rem; word-break: break-all; }
.nav .bas a.support:hover { background: none; color: var(--lime); }
.nav .bas button { display: flex; align-items: center; gap: .55rem; background: none; border: 0; color: var(--neural); padding: .3rem 0; cursor: pointer; font: inherit; text-align: left; }
.nav .bas button:hover { color: var(--lime); }
/* Pagination of long lists */
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; padding: .7rem 0 .1rem; color: var(--doux); font-size: .85rem; }
.pagination .btn[disabled] { opacity: .4; cursor: default; }
@media (max-width: 600px) { .pagination { justify-content: space-between; } }

/* Today page */
.ico { width: 18px; height: 18px; flex: none; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; margin: 0 0 1.5rem; }
.kpi { display: flex; gap: .85rem; align-items: center; background: var(--carte); border: 1px solid var(--trait); border-radius: 10px; padding: .9rem 1rem; color: var(--texte); text-decoration: none; transition: border-color .15s, transform .15s; }
a.kpi:hover { border-color: var(--deep); transform: translateY(-1px); }
.kpi .pastille-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--neural); color: var(--deep); flex: none; }
.kpi .pastille-ico .ico { width: 21px; height: 21px; }
.kpi strong { display: block; font-family: var(--display); font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.02em; }
.kpi .lib { display: block; color: var(--doux); font-size: .83rem; line-height: 1.3; }
.kpi.alerte { background: var(--ocre-pale); border-color: #EBCB91; }
.kpi.alerte .pastille-ico { background: #fff; color: var(--ocre); }
.kpi.alerte strong { color: var(--ocre); }
.kpi.ok .pastille-ico { background: var(--mer-pale); color: var(--mer); }
@media (max-width: 600px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .kpi { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .75rem; }
  .kpi .pastille-ico { width: 34px; height: 34px; }
}
.bloc h2.avec-ico { display: flex; align-items: center; gap: .6rem; }
.bloc h2 .chip { width: 30px; height: 30px; border-radius: 8px; background: var(--deep); color: var(--lime); display: grid; place-items: center; flex: none; }
.bloc h2 .chip .ico { width: 16px; height: 16px; }
.bloc h2 .nb { margin-left: auto; font-family: var(--font); font-size: .75rem; font-weight: 600; background: var(--neural); color: var(--deep); border: 1px solid var(--trait); border-radius: 999px; padding: .05rem .55rem; }
.vide-ok { display: flex; align-items: center; gap: .5rem; color: var(--doux); margin: .2rem 0; }
.vide-ok .ico { color: var(--mer); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--mer-pale); color: var(--mer); display: grid; place-items: center; font-size: .72rem; font-weight: 700; flex: none; letter-spacing: .02em; }
.grille-temps .activite-ligne { display: block; width: 100%; margin-top: .3rem; font-size: .8rem; padding: .2rem .3rem; }
.grille-temps tr.suggere .ligne-nom strong::after { content: " · proposé"; font-weight: 400; color: var(--doux); font-size: .8rem; }
.menu-mobile .ico { width: 18px; height: 18px; vertical-align: -4px; margin-right: .2rem; }
.aide { margin: 1.2rem 0 0; font-size: .85rem; color: var(--doux); text-align: center; }
main { padding: 2rem 2.25rem 3rem; max-width: 1240px; width: 100%; }

/* ---------- Composants ---------- */
.bloc { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.1rem 1.2rem; margin-bottom: 1.25rem; }
.grille { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; align-items: start; }
.compteurs { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0 0 1.5rem; padding: .9rem 1.2rem; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); }
.compteurs div { display: flex; align-items: baseline; gap: .45rem; color: var(--doux); }
.compteurs strong { font-size: 1.35rem; font-weight: 600; color: var(--deep); }
.compteurs .alerte strong { color: var(--rouge); }
.btn { text-decoration: none; color: var(--deep); display: inline-block; border: 1px solid var(--trait); background: var(--carte); border-radius: var(--rayon); padding: .45rem .85rem; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--mist); background: var(--fond); }
.btn.principal { background: var(--lime); border-color: var(--lime); color: var(--deep); font-weight: 600; }
.btn.principal:hover { background: var(--lime-press); border-color: var(--lime-press); color: var(--deep); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn.danger { color: var(--rouge); background: var(--carte); }
.btn.danger:hover { border-color: var(--rouge); background: var(--rouge-pale); }
.btn.petit { padding: .2rem .55rem; font-size: .85rem; }
.lien-btn { background: none; border: 0; color: var(--deep); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.lien-btn:hover { color: var(--mist-ink); }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.vide { color: var(--doux); padding: .35rem 0; }

form.formulaire { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem 1rem; align-items: end; }
form.formulaire .large { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: .25rem; font-size: .88rem; color: var(--doux); }
label.case { flex-direction: row; align-items: center; gap: .45rem; color: var(--texte); }
input, select, textarea { border: 1px solid var(--trait); border-radius: var(--rayon); padding: .45rem .55rem; background: #fff; color: var(--texte); min-width: 0; }
textarea { resize: vertical; min-height: 2.6rem; }
input:disabled, select:disabled, textarea:disabled { background: var(--fond); color: var(--doux); cursor: not-allowed; }
input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--deep); flex: none; margin-top: .2rem; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 600; font-size: .85rem; color: var(--doux); padding: .45rem .5rem; border-bottom: 1px solid var(--trait); }
td { padding: .55rem .5rem; border-bottom: 1px solid #E6EEEC; vertical-align: top; }
tr.cliquable { cursor: pointer; }
tr.cliquable:hover td { background: #F3F6E4; }
.tableau { overflow-x: auto; }
.fin td { color: var(--doux); text-decoration: line-through; }
.parti td { color: var(--doux); }
.pill.parti { background: var(--trait); color: var(--doux); font-weight: 500; }

.pill { display: inline-block; padding: .05rem .55rem; border-radius: 999px; font-size: .82rem; white-space: nowrap; background: #E7EEEE; color: var(--deep); }
.pill.pending { background: var(--ocre-pale); color: #7A4A0B; }
.pill.approved { background: var(--mer-pale); color: #0B5E54; }
.pill.refused, .pill.refuse { background: var(--rouge-pale); color: var(--rouge); }
.pill.cancelled, .pill.annule { color: var(--doux); }
.date-retard { color: var(--rouge); font-weight: 600; }
.date-proche { color: var(--ocre); font-weight: 600; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid #E6EEEC; }
.liste li:last-child { border-bottom: 0; }
.liste .meta { color: var(--doux); font-size: .85rem; }
.liste li.done .titre { color: var(--doux); text-decoration: line-through; }
.liste .droite { margin-left: auto; text-align: right; white-space: nowrap; }
.puce { width: .6rem; height: .6rem; border-radius: 50%; margin-top: .45rem; flex: none; }
.puce.orange { background: var(--ocre); } .puce.red { background: var(--rouge); } .puce.yellow { background: #D4B21C; } .puce.pink { background: var(--rose); }

/* ---------- Planning ---------- */
.planning { overflow-x: auto; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); }
.planning table { border-collapse: separate; border-spacing: 0; min-width: 900px; }
.planning th, .planning td { padding: 0; border: 0; }
.planning thead th { font-weight: 500; font-size: .75rem; text-align: center; color: var(--doux); padding: .45rem 0 .35rem; border-bottom: 1px solid var(--trait); }
.planning thead th.jour-j { color: var(--deep); font-weight: 700; box-shadow: inset 0 -2px 0 var(--lime); }
.planning thead th .num { display: block; font-size: .95rem; color: var(--texte); font-family: var(--display); }
.planning thead th.jour-j .num { color: var(--deep); }
.planning td.nom, .planning th.nom { position: sticky; left: 0; background: var(--carte); text-align: left; padding: .35rem .8rem; white-space: nowrap; font-size: .9rem; border-right: 1px solid var(--trait); z-index: 1; min-width: 170px; }
.planning td.case { height: 32px; min-width: 26px; border-bottom: 1px solid #F0F3F2; position: relative; }
.planning td.we { background: repeating-linear-gradient(135deg, #F4F7F6 0 4px, #E6EEEC 4px 8px); }
.planning td.ferie { background: #E7EEEE; }
.planning td.jour-j { box-shadow: inset 1px 0 0 var(--lime), inset -1px 0 0 var(--lime); }
.planning .barre { position: absolute; inset: 6px 0; }
.planning .barre.debut { left: 3px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
.planning .barre.fin { right: 3px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
.planning .barre.attente { opacity: .55; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 4px, transparent 4px 8px) !important; }
.t-cp { background: #0F7468; } .t-rtt { background: #3D6F9A; } .t-maladie { background: #C5543F; } .t-parent { background: #A64D86; }
.t-sans { background: #7C8A8E; } .t-exc { background: #C99626; } .t-ecole { background: var(--violet); } .t-tele { background: #6E8F52; } .t-autre { background: #8E9C9F; } .t-absent { background: #5E7278; }
.legende { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; color: var(--doux); margin: .8rem 0 0; }
.legende span { display: inline-flex; align-items: center; gap: .35rem; }
.legende i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Checklists ---------- */
.progres { height: 6px; background: #E4EBE9; border-radius: 999px; overflow: hidden; margin: .4rem 0 .8rem; }
.progres div { height: 100%; background: var(--lime); }
.phase { font-weight: 600; font-size: .9rem; margin: .9rem 0 .2rem; color: var(--deep); }

/* ---------- Connexion ---------- */
.connexion { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.connexion .gauche { background: var(--deep); color: var(--neural); padding: 3rem; display: flex; flex-direction: column; justify-content: flex-end; }
.connexion .gauche h1 { color: var(--neural); font-size: 2.3rem; line-height: 1.1; max-width: 12ch; }
.connexion .gauche p { max-width: 38ch; color: var(--mist); }
.connexion .droite { display: grid; place-items: center; padding: 2rem; background: var(--fond); }
.connexion form { width: min(360px, 100%); display: flex; flex-direction: column; gap: .9rem; }

dialog { border: 1px solid var(--trait); border-radius: 10px; padding: 1.4rem; width: min(640px, 94vw); max-height: 90vh; overflow: auto; color: var(--deep); }
dialog::backdrop { background: rgba(13, 21, 28, .55); }
/* Close button of every dialog: top right, stays visible while the dialog scrolls */
.fermer-x { position: sticky; top: 0; float: right; z-index: 1; margin: -.7rem -.7rem .3rem .6rem; width: 2.1rem; height: 2.1rem; border: 1px solid var(--trait); border-radius: 50%; background: #fff; color: var(--deep); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.fermer-x:hover { background: var(--deep); color: #fff; }
.filtres { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: .8rem; }
.filtres input[type=search] { flex: 1; min-width: 12rem; }
.filtres .recherche { flex: 1; min-width: 12rem; position: relative; display: flex; }
.filtres .recherche .ico { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--doux); pointer-events: none; }
.filtres .recherche input { padding-left: 2rem; width: 100%; }
.btn.avec-ico { display: inline-flex; align-items: center; gap: .4rem; }
.btn.avec-ico .ico { width: 16px; height: 16px; flex: none; }
.planning tr.parti td.nom { color: var(--doux); }
.planning .pill.parti { font-size: .7rem; padding: 0 .4rem; margin-left: .3rem; }
@media (max-width: 640px) { .nav-plan .btn span { display: none; } }
.cliquable { cursor: pointer; }
.message { padding: .6rem .8rem; border-radius: var(--rayon); margin: 0 0 1rem; }
.message.erreur { background: var(--rouge-pale); color: var(--rouge); }
.message.ok { background: var(--mer-pale); color: #0B5E54; }
.toast { position: fixed; bottom: 1.2rem; right: 1.2rem; background: var(--deep); color: var(--neural); padding: .65rem 1rem; border-radius: var(--rayon); z-index: 50; }
.code { font-family: Consolas, Menlo, monospace; background: var(--fond); padding: .15rem .4rem; border-radius: 4px; user-select: all; }
.menu-mobile { display: none; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 0 auto 0 0; width: 250px; transform: translateX(-100%); transition: transform .2s; z-index: 40; }
  .nav.open { transform: none; }
  .menu-mobile { display: inline-block; margin-bottom: 1rem; }
  main { padding: 1.2rem 1rem 3rem; }
  .grille { grid-template-columns: 1fr; }
  .connexion { grid-template-columns: 1fr; }
  .connexion .gauche { padding: 2rem; min-height: 30vh; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Suivi des temps ---------- */
.onglets { display: flex; gap: .3rem; border-bottom: 1px solid var(--trait); margin: 0 0 1.25rem; flex-wrap: wrap; }
.onglets a { padding: .5rem .85rem; text-decoration: none; color: var(--doux); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.onglets a:hover { color: var(--deep); }
.onglets a.actif { color: var(--deep); border-bottom-color: var(--lime); font-weight: 600; }
.chrono { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.chrono .compteur { font-size: 1.5rem; font-weight: 600; color: var(--deep); font-variant-numeric: tabular-nums; margin-left: auto; }
.grille-temps th { text-align: center; font-weight: 500; }
.grille-temps th:first-child, .grille-temps td.ligne-nom { text-align: left; min-width: 220px; }
.grille-temps th .num { display: block; color: var(--texte); font-size: .95rem; font-family: var(--display); }
.grille-temps th.jour-j, .grille-temps th.jour-j .num { color: var(--deep); font-weight: 700; }
.grille-temps th.jour-j { box-shadow: inset 0 -2px 0 var(--lime); }
.grille-temps th.we { color: var(--mist-ink); }
.grille-temps td { text-align: center; vertical-align: middle; }
.grille-temps input.cellule { width: 4.2rem; text-align: center; font-variant-numeric: tabular-nums; padding: .35rem .2rem; }
.grille-temps input.cellule:disabled { background: var(--fond); color: var(--doux); }
.grille-temps input.invalide { border-color: var(--rouge); background: var(--rouge-pale); }
.grille-temps tr.absences td { font-size: .78rem; color: var(--doux); background: #F4F7F6; }
.grille-temps tfoot td { font-weight: 650; border-top: 1px solid var(--trait); border-bottom: 0; font-variant-numeric: tabular-nums; }
.grille-temps .total-ligne { font-weight: 600; font-variant-numeric: tabular-nums; }
.ajout-ligne { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; }
.progres { min-width: 80px; }

@media print {
  .nav, .menu-mobile, .no-print, .toast { display: none !important; }
  .app { display: block; } main { padding: 0; max-width: none; }
  body { background: #fff; } h1, .sous-titre { display: none; }
  .bloc { border: 0; padding: 0; }
  td, th { padding: .3rem .4rem; font-size: 10pt; }
}

/* ---------- Connexion Google ---------- */
.boite-connexion { width: min(360px, 100%); display: flex; flex-direction: column; gap: .9rem; }
.connexion-mdp { display: flex; flex-direction: column; gap: .9rem; width: 100%; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .65rem 1rem; color: var(--deep); }
.btn-google .g { width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--deep); color: var(--lime); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.separateur { text-align: center; color: var(--doux); font-size: .85rem; margin: .2rem 0; }
.secours summary { cursor: pointer; color: var(--doux); font-size: .88rem; margin-bottom: .8rem; }

/* Leave page */
button.kpi { font: inherit; text-align: left; cursor: pointer; width: 100%; }
button.kpi:hover { border-color: var(--mist); }
.type-tag { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.type-tag i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.file-attente { border-color: #EBCB91; }
.file-attente .demande { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(200px, 1.5fr) minmax(200px, 1.4fr) auto; gap: .5rem 1rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--trait); }
.file-attente .demande:first-of-type { border-top: 0; }
.file-attente .qui { display: flex; flex-direction: column; gap: .2rem; }
.file-attente .contexte { display: flex; flex-direction: column; gap: .2rem; font-size: .88rem; color: var(--doux); }
.file-attente .contexte span { display: inline-flex; align-items: center; gap: .35rem; }
.file-attente .contexte .ico { width: 15px; height: 15px; }
.file-attente .contexte .ok { color: var(--mer); }
.file-attente .actions { display: flex; gap: .4rem; justify-content: flex-end; }
.negatif { color: var(--rouge); }
tr.estompe td { color: var(--doux); }
.filtres select { min-width: 10rem; }
.filtres .recherche select { padding-left: 2rem; width: 100%; }
dialog.large { width: min(860px, 96vw); }
dialog .onglets button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .5rem .85rem; color: var(--doux); cursor: pointer; font: inherit; }
dialog .onglets button.actif { color: var(--deep); border-bottom-color: var(--lime); font-weight: 600; }
@media (max-width: 900px) { .file-attente .demande { grid-template-columns: 1fr; } .file-attente .actions { justify-content: flex-start; } }
