/* Portail CFDT SNTU Saint-Étienne — feuille commune des pages refaites.
   Référence : DESIGN.md (direction du 24/09/2026) et docs/design/.
   Couleurs identiques à la Bourse : le portail et la Bourse forment un seul système. */

:root {
  --cfdt: #e05c28;
  --cfdt-dark: #b94317; /* texte orange : 4,8:1 sur --cfdt-soft, 5,4:1 en fond sous du blanc */
  --cfdt-fond: #c14a1e; /* fond orange qui porte du texte blanc : 4,9:1 (l'orange vif n'atteint que 3,7:1) */
  --cfdt-soft: #fdefe8;
  --nuit: #172638;
  --nuit-profond: #101c2b;
  --creme: #faf7f3;
  --ink: #1a1a1a;
  --ink-2: #5c5c5c;
  --trait: #ece5dd;
  --eux: #0f766e;
  --eux-dark: #115e59;
  --eux-soft: #e6faf6;
  --ombre: 0 10px 30px rgba(30, 38, 52, .06);
  --ombre-forte: 0 14px 38px rgba(30, 38, 52, .09);
  /* 280 px : la même valeur que nuit.css (coque « Nuit stéphanoise », étape 3 du 06/11/2026) ;
     chaque intitulé du menu, étiquette « adhérents » comprise, tient sur une ligne. */
  --laterale: 280px;
  /* Étape 5 de la refonte (10/11/2026) : les fonds et traits clairs du contenu passent par ces
     variables. Leurs valeurs par défaut sont celles d'avant, au pixel près ; seule une page en
     surface « auto » les change, quand l'appareil est en sombre (bloc en fin de feuille). */
  --p-carte: #fff; --p-doux: #fdfcfa; --p-trait-doux: #f1ebe5; --p-bord-survol: #e3c7b5; --p-bord-survol-carte: #e3d6ca;
  --p-texte-doux: #3d3d3d; --p-case: #d9cbbf; --p-fleche: #f6f1ec; --p-note-texte: #7a3312; --p-saisie-texte: var(--nuit); --p-chiffre: var(--nuit);
  --p-eux-bord: #bfe6dc; --p-eux-texte: #2c776c; --p-eux-bord-doux: #cfe9e3; --p-cfdt-bord-doux: #f1d3c1;
  --p-vedette-bord: #f1c6ae; --p-vedette-fond: linear-gradient(140deg, #fff7f2, #fff);
  --p-alerte-bord: #f3d38a; --p-alerte-fond: #fff8e6; --p-alerte-texte: #5c4200; --p-alerte-icone: #b7791f; --p-alerte-fort: #3d2c00;
  /* Relief d'une carte : en clair, la carte ordinaire ; la valeur de nuit est dans le bloc sombre. */
  --p-relief-fond: var(--p-carte); --p-relief-bord: var(--trait); --p-relief-ombre: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.portail {
  margin: 0;
  min-height: 100vh;
  background: var(--creme);
  color: var(--ink);
  font: 400 15px/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Les pages passées dans la coque nuit (étape 4, 06/11/2026) tiennent ce défaut de nuit.css (`:where(a)`, sans poids) :
   ici il l'emportait sur .nuit-lien et .nuit-btn--principal (même poids, feuille chargée après) et rendait leurs liens
   couleur d'encre et le texte des boutons blanc sur orange. Les trois pages de l'Espace délégués gardent l'ancien habillage. */
.portail:not(.nuit) a { color: inherit; text-decoration: none; }
/* Même raison que pour les liens : les pages nuit tiennent leur contour de focus de nuit.css (blanc sur nuit, orange sur jour). */
.portail:not(.nuit) :focus-visible { outline: 3px solid var(--cfdt); outline-offset: 3px; border-radius: 6px; }
.portail h1, .portail h2, .portail h3 { font-family: 'Space Grotesk', Inter, sans-serif; letter-spacing: -.02em; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ── Logo officiel (recette unique, DESIGN.md) ── */
.logo { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #ed5817; flex-shrink: 0; }
.logo img { position: absolute; width: 145.3%; max-width: none; height: auto; left: -21.8%; top: -1.1%; }
.marque { display: flex; align-items: center; gap: 11px; }
.marque b { display: block; font: 700 16.5px/1.1 'Space Grotesk', Inter, sans-serif; color: #fff; }
.marque b span { color: #ff8a52; }
.marque small { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #a9b8ca; }

/* ── Verre liquide : uniquement sur photo ou fond nuit ── */
.verre {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08) 45%, rgba(255,255,255,.12));
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  backdrop-filter: blur(18px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 30px rgba(5,12,22,.35);
}

/* Icônes de navigation : masque CSS, le HTML garde des liens texte simples. */
[data-ic]::before{content:"";width:20px;height:20px;flex-shrink:0;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
[data-ic="accueil"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011%2012%204l9%207v9a1%201%200%200%201-1%201h-5v-6H9v6H4a1%201%200%200%201-1-1z%22/%3E%3C/svg%3E")}
[data-ic="conges"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M16%203v4M8%203v4M3%2010h18%22/%3E%3C/svg%3E")}
[data-ic="salaire"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M15%209a3%202.5%200%200%200-3-1.5c-1.7%200-3%20.8-3%202.2s1.3%201.8%203%202.1%203%201%203%202.2-1.3%202.2-3%202.2A3%202.5%200%200%201%209%2015M12%206v1.5M12%2016.5V18%22/%3E%3C/svg%3E")}
[data-ic="vacances"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%208h18v4a2%202%200%200%200%200%204v2H3v-2a2%202%200%200%200%200-4z%22/%3E%3Cpath%20d%3D%22M14%208v10%22/%3E%3C/svg%3E")}
[data-ic="defense"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s8-4%208-10V5l-8-3-8%203v6c0%206%208%2010%208%2010z%22/%3E%3C/svg%3E")}
[data-ic="greve"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020h16M6%2020V9l6-5%206%205v11M10%2020v-5h4v5%22/%3E%3C/svg%3E")}
[data-ic="reseau"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2215%22%20rx%3D%223%22/%3E%3Cpath%20d%3D%22M5%2011h14M8%2021l2-3M16%2021l-2-3%22/%3E%3C/svg%3E")}
[data-ic="bourse"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208h13l-3-3M20%2016H7l3%203%22/%3E%3C/svg%3E")}
[data-ic="adherer"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M5%2012h14%22/%3E%3C/svg%3E")}
[data-ic="actualites"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M17 9h3v8a2 2 0 0 1-2 2'/%3E%3Cpath d='M7.5 9h6M7.5 12.5h6M7.5 16h4'/%3E%3C/svg%3E")}
[data-ic="agenda"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3.5v3M16 3.5v3M8 14.5h.01M12 14.5h.01M16 14.5h.01'/%3E%3C/svg%3E")}
[data-ic="documents"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E")}
[data-ic="videos"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m10.5 9.5 4 2.5-4 2.5z'/%3E%3C/svg%3E")}
[data-ic="equipe"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 19a6.5 6.5 0 0 1 13 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2a5 5 0 0 1 5.5 4.8'/%3E%3C/svg%3E")}
[data-ic="delegues"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.1 8 9 4.6-.9 8-4.5 8-9V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E")}
/* Espace délégués (passe 2, 01/11/2026) */
[data-ic="tableau"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='8' rx='1.6'/%3E%3Crect x='13.5' y='3.5' width='7' height='5' rx='1.6'/%3E%3Crect x='13.5' y='11.5' width='7' height='9' rx='1.6'/%3E%3Crect x='3.5' y='14.5' width='7' height='6' rx='1.6'/%3E%3C/svg%3E")}
[data-ic="inviter"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19v-1a5 5 0 0 0-10 0v1'/%3E%3Ccircle cx='10' cy='8' r='4'/%3E%3Cpath d='M19 8v6M16 11h6'/%3E%3C/svg%3E")}
[data-ic="comptes"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 19a6.5 6.5 0 0 1 13 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2a5 5 0 0 1 5.5 4.8'/%3E%3C/svg%3E")}
[data-ic="signal"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h11l-1.5 4L16 12H5'/%3E%3C/svg%3E")}
[data-ic="journal"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h10l3 3v15H6z'/%3E%3Cpath d='M9 10h7M9 14h7M9 18h4'/%3E%3C/svg%3E")}
[data-ic="publications"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4z'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E")}

/* ── Barre latérale (ordinateur) ── */
.laterale {
  position: fixed; inset: 0 auto 0 0; width: var(--laterale); z-index: 40;
  display: flex; flex-direction: column; overflow-y: auto;
  background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-profond) 100%);
  color: #dfe6ef;
}
.laterale .marque { padding: 22px 20px 24px; }
.laterale nav { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.laterale nav a {
  display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 0 14px;
  border-radius: 10px; font-weight: 500; font-size: 14.5px; white-space: nowrap; color: #d7dee8;
  transition: background-color .18s ease, color .18s ease;
}
.laterale nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.laterale nav a[aria-current="page"] { background: linear-gradient(90deg, rgba(224,92,40,.95), rgba(224,92,40,.55)); color: #fff; box-shadow: inset 3px 0 0 #ffb48f; }
.laterale nav .cadenas { margin-left: auto; width: 13px; height: 13px; opacity: .7; }
.laterale .separateur { height: 1px; margin: 10px 14px; background: rgba(255,255,255,.09); }
.laterale .photo { position: relative; margin-top: auto; min-height: 230px; flex-shrink: 0; background: url('auth-tram.webp') 30% 70% / cover; }
.laterale .photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--nuit-profond) 0%, rgba(16,28,43,.1) 45%, rgba(16,28,43,.88) 100%); }
.laterale .photo p { position: absolute; left: 20px; right: 16px; bottom: 16px; margin: 0; color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.laterale .photo p b { display: block; margin-bottom: 4px; font: 700 22px/1 'Space Grotesk', Inter, sans-serif; color: #ff8a52; letter-spacing: -.01em; text-transform: none; }
/* Navigation unique (passe 1, 01/11/2026) : groupes titrés, mention « adhérents »,
   rien de replié. Écrite par scripts/navigation.mjs depuis lib/navigation.mjs. */
.laterale nav .nav-bloc { display: flex; flex-direction: column; gap: 2px; }
.laterale nav a { min-height: 38px; font-size: 14px; }
.laterale .marque { padding-bottom: 14px; }
.nav-groupe { display: flex; align-items: center; gap: 8px; margin: 12px 14px 4px; color: #8f9cad; font: 700 10.5px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.nav-acces { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: #b9c4d2; font: 600 10.5px/1.4 Inter, sans-serif; letter-spacing: .01em; text-transform: none; }
.nav-groupe .nav-acces { margin-left: 0; }
.laterale nav a:has(.nav-acces) { padding-right: 8px; }
.laterale nav a[data-acces="delegues"] { color: #ffc4a3; }
.laterale nav a[hidden], #cfdtnav-drawer a[hidden] { display: none; }
/* La photo décorative cède la place au menu sur les écrans bas (portable 1366 × 768). */
.laterale .photo { min-height: 0; flex: 1 1 0; max-height: 230px; }
@media (max-height: 820px) { .laterale .photo { display: none; } }

/* ── Zone principale ── */
.zone { margin-left: var(--laterale); padding: 14px 22px 8px; min-width: 0; }

/* Haut de page : fond nuit + photo, commandes en verre */
.haut {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 16px 18px 56px; border-radius: 20px; color: #fff;
  background: var(--nuit) url('auth-tram.webp') center 60% / cover;
}
.haut::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,27,42,.9) 0%, rgba(15,27,42,.55) 34%, rgba(15,27,42,.35) 60%, rgba(15,27,42,.72) 100%),
    linear-gradient(90deg, rgba(15,27,42,.9) 0%, rgba(15,27,42,.15) 72%);
}
.haut .marque-mobile { display: none; }
.commandes { display: flex; align-items: flex-start; gap: 12px; }
.commandes .actions-haut { margin-left: auto; display: flex; gap: 10px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.bouton:hover { transform: translateY(-1px); }
.bouton-orange, .portail .bouton-orange { background: var(--cfdt-fond); color: #fff; }
.bouton-orange:hover { box-shadow: 0 10px 24px rgba(224,92,40,.35); }

/* Recherche (branchée par site-search.js) */
.portail .site-search { position: relative; flex: 1 1 280px; min-width: 0; width: auto; max-width: 580px; margin: 0; z-index: 20; }
.portail .site-search-control { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 10px 0 16px; border-radius: 13px; }
.portail .site-search-control:focus-within { border-color: rgba(255,255,255,.7); box-shadow: 0 0 0 3px rgba(224,92,40,.45), 0 10px 30px rgba(5,12,22,.35); }
.portail .site-search-input { flex: 1; align-self: stretch; min-height: 46px; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 500 15px/1.4 Inter, system-ui, sans-serif; }
.portail .site-search-input::placeholder { color: rgba(255,255,255,.72); opacity: 1; }
.portail .site-search-shortcut { padding: 3px 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; font: 600 11.5px/1 Inter, sans-serif; }
.portail .site-search-help { margin: 6px 2px 0; font-size: 12px; color: rgba(255,255,255,.7); }
.portail .site-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(24rem, 55vh); overflow-y: auto; padding: 6px; border: 1px solid var(--trait); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--ombre-forte); }
.portail .site-search-results[hidden] { display: none; }
.portail .site-search-list { margin: 0; padding: 0; list-style: none; }
.portail .site-search-result { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; }
.portail .site-search-result:hover, .portail .site-search-result:focus-visible { background: var(--cfdt-soft); outline: none; }
.portail .site-search-result-title { font-weight: 700; }
.portail .site-search-result-description { grid-column: 1 / -1; color: var(--ink-2); font-size: 13px; }
.portail .site-search-result-access { color: var(--cfdt-dark); font-size: 11.5px; font-weight: 700; }
.portail .site-search-empty { padding: 12px; color: var(--ink-2); }
.portail .site-search-empty a { color: var(--cfdt-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }


.titre-haut { position: relative; padding: 34px 16px 0; }
.titre-haut h1 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.titre-haut .date { margin: 8px 0 0; color: #f1e6dc; font-size: 16px; min-height: 1.5em; }
.titre-haut .sous { margin: 4px 0 0; color: #d3dae4; font-size: 15px; max-width: 52ch; }
.slogan { position: absolute; right: 22px; bottom: 70px; margin: 0; text-align: right; font: 600 34px/1.05 Caveat, cursive; color: #fff; transform: rotate(-6deg); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.slogan::after { content: ""; display: block; width: 150px; height: 4px; margin: 6px 0 0 auto; border-radius: 4px; background: var(--cfdt); transform: rotate(-3deg); }

/* Grille contenu + colonne */
.panneau { background: var(--p-carte); border: 1px solid var(--trait); border-radius: 18px; padding: 18px; box-shadow: var(--ombre-forte); }
.colonne { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.colonne .panneau { padding: 16px 18px; }

.titre-section { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 12px; }
.titre-section h2, .colonne h2 { font-size: 18.5px; line-height: 1.2; padding-left: 11px; border-left: 4px solid var(--cfdt); }
.titre-section a, .colonne .lien-titre { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; color: var(--ink-2); }
.titre-section a:hover, .colonne .lien-titre:hover { color: var(--cfdt-dark); }
.colonne .entete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }

/* Encadré rassurant */
.rassurant { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--p-eux-bord); border-radius: 14px; background: var(--eux-soft); color: var(--eux-dark); }
.rassurant .rond { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--eux); color: #fff; flex-shrink: 0; }
.rassurant b { display: block; font: 700 19px/1.2 'Space Grotesk', Inter, sans-serif; }
.rassurant > span:nth-child(2) { flex: 1 1 200px; min-width: 0; }
.rassurant span { color: var(--p-eux-texte); font-size: 14px; }
.rassurant .tel { margin-left: auto; font: 700 21px/1 'Space Grotesk', Inter, sans-serif; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Tuiles d'action */
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 22px; }
.action { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 146px; padding: 18px 20px; border: 1px solid var(--trait); border-radius: 14px; background: var(--p-carte); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.action:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); border-color: var(--p-bord-survol-carte); }
.action .pastille { width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--cfdt-soft); color: var(--cfdt-dark); }
.action.principale .pastille { background: var(--cfdt); color: #fff; }
.action b { font: 700 17.5px/1.2 'Space Grotesk', Inter, sans-serif; }
.action span.detail { color: var(--ink-2); font-size: 13.5px; max-width: 24ch; padding-right: 38px; }
.fleche { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--p-fleche); color: var(--cfdt-dark); }
.fleche svg { width: 14px; height: 14px; }

.pas { display: flex; align-items: center; gap: 10px; }
.pas button { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--trait); background: var(--p-carte); color: var(--cfdt-dark); font: 700 20px/1 Inter, sans-serif; cursor: pointer; }
.pas button:hover { background: var(--cfdt-soft); }
.pas button:disabled { opacity: .4; cursor: default; }
.pas output { min-width: 22px; text-align: center; font: 700 22px 'Space Grotesk', Inter, sans-serif; }
.resultat { padding-left: 18px; border-left: 1px solid var(--trait); text-align: right; }
.resultat b { display: block; font: 700 30px/1 'Space Grotesk', Inter, sans-serif; color: var(--cfdt-dark); letter-spacing: -.02em; white-space: nowrap; }
.resultat span { font-size: 12.5px; color: var(--ink-2); }
.resultat a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12.5px; font-weight: 600; color: var(--cfdt-dark); }

/* Cartes d'info (plaquettes) */
.chiffre { font: 700 30px/1 'Space Grotesk', Inter, sans-serif; color: var(--p-chiffre); letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chiffre small { display: block; margin-top: 5px; font: 400 12px/1.3 Inter, sans-serif; color: var(--ink-2); letter-spacing: 0; white-space: normal; }

/* Colonne : ce qui change */

/* Colonne : réseau */
.carte-reseau { display: flex; align-items: center; gap: 14px; }
.carte-reseau .pastille { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--nuit); color: #fff; flex-shrink: 0; }
.carte-reseau p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.carte-reseau b { display: block; color: var(--ink); font-size: 14.5px; }
.carte-reseau .fleche { position: static; margin-left: auto; }

/* Adhésion */
.adhesion { background: var(--cfdt-fond); border: 0; color: #fff; }
.adhesion h2 { border-color: #fff; }
.adhesion .grand { display: block; margin-top: 10px; font: 700 48px/1 'Space Grotesk', Inter, sans-serif; letter-spacing: -.03em; }
.adhesion p { margin: 6px 0 12px; color: #fff4ee; font-size: 14px; }
.adhesion ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13.5px; }
.adhesion li { display: flex; gap: 9px; }
.adhesion li::before { content: ""; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.adhesion .bouton { background: #fff; color: var(--cfdt-dark); min-height: 44px; }
.adhesion .second { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.questions { margin-top: 12px; display: grid; gap: 8px; }
.questions details { border-top: 1px solid rgba(255,255,255,.28); padding-top: 8px; }
.questions summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: 13.5px; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; margin-left: auto; font-size: 18px; }
.questions details[open] summary::after { content: "−"; }
.questions details p { margin: 4px 0 6px; font-size: 13px; color: #fff4ee; }

/* Contact */
.contact { display: grid; gap: 8px; }
.contact a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--trait); border-radius: 12px; transition: border-color .18s ease; }
.contact a:hover { border-color: var(--p-bord-survol); }
.contact .pastille { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--cfdt-soft); color: var(--cfdt-dark); flex-shrink: 0; }
.contact b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.contact span.detail { font-size: 12.5px; color: var(--ink-2); }


.mention { margin: 18px 10px 0; font-size: 12px; color: var(--ink-2); }


/* ── Pages de rubrique (Congés, Salaire…) ── */
.haut-page { padding-bottom: 48px; }
.fil { margin: 0 0 6px; font-size: 13px; color: #c3cedb; }
.fil a { text-decoration: underline; text-underline-offset: 3px; }
.haut-page .titre-haut { padding-top: 26px; }
.haut-page .titre-haut h1 { font-size: clamp(30px, 3vw, 40px); }
.haut-page .lien-annexe { margin: 10px 0 0; font-size: 14px; color: #d3dae4; max-width: 60ch; }
.haut-page .lien-annexe a { color: #ffb48f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-contenu > .panneau > section + section { margin-top: 30px; }
/* Dans la colonne étroite, le numéro passe sous le texte au lieu de l'écraser. */
.colonne .rassurant { flex-wrap: wrap; }
.colonne .rassurant .tel { margin-left: 66px; }
.intro-section { margin: -4px 4px 14px; color: var(--ink-2); font-size: 14px; }

/* Chiffres clés */
.chiffres-cles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.chiffre-cle { padding: 16px 18px; border: 1px solid var(--trait); border-radius: 14px; background: var(--p-carte); }
.chiffre-cle .chiffre { font-size: 34px; }
.chiffre-cle p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }

/* Simulateur */
.simulateur { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.bloc-sim { padding: 16px; border: 1px solid var(--trait); border-radius: 14px; background: var(--p-carte); }
.bloc-sim + .bloc-sim { margin-top: 14px; }
.bloc-sim .libelle { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cfdt-dark); }
.bloc-sim .aide-bloc { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.sim-opt { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; margin-top: 8px; border: 1.5px solid var(--trait); border-radius: 12px; background: var(--p-doux); cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.sim-opt:hover { border-color: var(--p-bord-survol); }
.sim-opt.on { border-color: var(--cfdt); background: var(--cfdt-soft); }
.sim-opt[data-fixed] { cursor: default; }
.sim-opt .texte { flex: 1 1 9rem; min-width: 0; }
.sim-opt .texte b { display: block; font-weight: 600; }
.sim-opt .texte span { font-size: 13px; color: var(--ink-2); }
.sim-opt .jours { font: 700 22px/1 'Space Grotesk', Inter, sans-serif; color: var(--p-chiffre); white-space: nowrap; }
.sim-check { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; border: 2px solid var(--p-case); border-radius: 7px; background: var(--p-carte); }
.sim-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.sim-opt.on .sim-check { border-color: var(--cfdt); background: var(--cfdt); }
.sim-opt.on .sim-check svg { visibility: visible; }
.sim-opt[data-stepper] { flex-wrap: wrap; cursor: default; }
.sim-opt .icone-opt { width: 24px; flex-shrink: 0; display: grid; place-items: center; color: var(--cfdt-dark); }
.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--cfdt-soft); color: var(--cfdt-dark); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; vertical-align: middle; }
.stepper { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--trait); background: var(--p-carte); color: var(--cfdt-dark); font: 700 20px/1 Inter, sans-serif; cursor: pointer; }
.stepper button:hover { background: var(--cfdt-soft); }
.sim-mini { display: none; }
.stepper output { min-width: 18px; text-align: center; font: 700 22px 'Space Grotesk', Inter, sans-serif; }
.total-sim { position: sticky; top: 16px; padding: 20px; border-radius: 16px; background: var(--nuit); color: #fff; text-align: center; }
.total-sim .libelle { color: #ffb48f; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.total-sim .grand { display: block; margin-top: 8px; font: 700 64px/1 'Space Grotesk', Inter, sans-serif; letter-spacing: -.03em; color: #ff8a52; }
.total-sim .unite { margin: 4px 0 14px; color: #c3cedb; }
.total-sim .evenements { margin: 0 0 14px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.total-sim .evenements b { font: 700 26px 'Space Grotesk', Inter, sans-serif; color: #fff; }
.total-sim .evenements span { font-size: 13px; color: #c3cedb; }
.barre-sim { height: 10px; margin-bottom: 14px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.barre-sim div { height: 100%; border-radius: 999px; background: var(--cfdt); transition: width .3s ease; }
.detail-sim { text-align: left; font-size: 13.5px; color: #dfe6ef; }
.detail-sim .ligne { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.detail-sim .ligne span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-sim .ligne b { font-family: 'Space Grotesk', Inter, sans-serif; color: #fff; white-space: nowrap; }
.detail-sim .intertitre { margin: 10px 0 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #93a4b8; }
.reinitialiser { min-height: 44px; margin-top: 10px; border: 0; background: none; color: #c3cedb; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Référentiel */
.droits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.droit { padding: 18px; border: 1px solid var(--trait); border-radius: 14px; background: var(--p-carte); }
.droit h3 { margin: 4px 0 12px; font-size: 19px; }
.droit .libelle { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cfdt-dark); }
.droit ul { margin: 0; padding: 0; list-style: none; }
.droit li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--p-trait-doux); font-size: 14px; }
.droit li:first-child { border-top: 0; }
.droit li b { font: 700 22px/1 'Space Grotesk', Inter, sans-serif; color: var(--p-chiffre); white-space: nowrap; }
.droit li small { color: var(--ink-2); }
.droit .note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--cfdt-soft); color: var(--p-note-texte); font-size: 13px; }
.droit.large { grid-column: 1 / -1; }
.droit.vedette { border-color: var(--p-vedette-bord); background: var(--p-vedette-fond); }
.droit .etiquette-nouveau { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--cfdt-fond); color: #fff; font-size: 11.5px; font-weight: 700; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.trio > div { padding: 14px; border-radius: 12px; background: var(--p-carte); border: 1px solid var(--trait); }
.trio .chiffre { font-size: 30px; }
.trio p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.trio .exemple { display: flex; justify-content: space-between; font-size: 13.5px; padding: 2px 0; }
.trio .exemple b { font-family: 'Space Grotesk', Inter, sans-serif; color: var(--p-chiffre); white-space: nowrap; }
.puces { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 13.5px; color: var(--p-texte-doux); }
.puces li { display: flex; gap: 8px; }
.droit .puces li { justify-content: flex-start; padding: 0; border-top: 0; font-size: inherit; }
.puces li::before { content: ""; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--cfdt); flex-shrink: 0; }
.source { margin: 12px 0 0; font-size: 12px; color: var(--ink-2); }

/* Salaire : encart outil, paires de chiffres, paliers de carrière */
.outil { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; padding: 20px 22px; border-radius: 16px; background: var(--nuit); color: #fff; }
.outil .libelle { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #ffb48f; }
.outil h2 { margin: 4px 0 6px; font-size: 22px; color: #fff; }
.outil p { margin: 0; max-width: 62ch; font-size: 14px; color: #c3cedb; }
.outil .bouton { flex-shrink: 0; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.duo > div { padding: 14px 16px; border: 1px solid var(--trait); border-radius: 12px; background: var(--p-doux); }
.duo .chiffre { font-size: 34px; color: var(--cfdt-dark); }
.duo p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.droit .etat { font-weight: 700; color: var(--eux); }
.texte-droit { margin: 0; font-size: 14px; color: var(--p-texte-doux); }
.droit .bouton { margin-top: 14px; white-space: normal; text-align: center; }
.puces.une-colonne { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.texte-droit + .puces { margin-top: 12px; }
.paliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 18px; padding: 0; list-style: none; }
.paliers:last-child { margin-bottom: 0; }
.paliers li { display: block; position: relative; padding: 14px 16px; border: 1px solid var(--p-eux-bord-doux); border-radius: 12px; background: var(--eux-soft); }
.paliers li + li::before { content: "›"; position: absolute; left: -9px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--eux); }
.paliers .rang { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.paliers .chiffre { display: block; margin-top: 6px; font-size: 30px; color: var(--eux-dark); }
.paliers small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.paliers.fraude li { border-color: var(--p-cfdt-bord-doux); background: var(--cfdt-soft); }
.paliers.fraude li + li::before { color: var(--cfdt-dark); }
.paliers.fraude .chiffre { color: var(--cfdt-dark); }

/* Chèques-vacances : alerte, calcul du QF, barème, étapes */
.alerte { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--p-alerte-bord); border-radius: 14px; background: var(--p-alerte-fond); color: var(--p-alerte-texte); font-size: 14.5px; }
.alerte .ic { width: 24px; height: 24px; flex-shrink: 0; color: var(--p-alerte-icone); }
.alerte strong { color: var(--p-alerte-fort); }
.calcul-qf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 12px; align-items: stretch; }
.calcul-qf[hidden] { display: none; }
.champ { padding: 14px 16px; border: 1px solid var(--trait); border-radius: 14px; background: var(--p-carte); }
.champ label { display: block; font-weight: 600; font-size: 14px; }
.saisie { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.saisie input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--trait); border-radius: 10px; background: var(--p-doux); font: 600 18px 'Space Grotesk', Inter, sans-serif; color: var(--p-saisie-texte); }
.saisie input:focus { outline: none; border-color: var(--cfdt); box-shadow: 0 0 0 4px rgba(224,92,40,.16); }
.saisie span { flex-shrink: 0; font-size: 13px; color: var(--ink-2); }
.champ small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.resultat-qf { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--nuit); color: #c3cedb; font-size: 14px; }
.resultat-qf b { font: 700 40px/1 'Space Grotesk', Inter, sans-serif; letter-spacing: -.02em; color: #ff8a52; }
.table-defile { overflow-x: auto; }
.bareme { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bareme th { padding: 10px 12px; text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cfdt-dark); border-bottom: 1px solid var(--trait); }
.bareme td { padding: 12px; border-bottom: 1px solid var(--p-trait-doux); white-space: nowrap; }
.bareme tr:last-child td { border-bottom: 0; }
.bareme .total-ligne { font: 700 22px/1 'Space Grotesk', Inter, sans-serif; color: var(--eux-dark); }
.bareme tr.choisie td { background: var(--cfdt-soft); }
.bareme tr.choisie .total-ligne { color: var(--cfdt-dark); }
.droit .duo { margin-top: 14px; }
.duo .attention { border-color: var(--p-alerte-bord); background: var(--p-alerte-fond); }
.duo > div > p { margin: 0; font-size: 13.5px; color: var(--p-texte-doux); }
.etape { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--cfdt-fond); color: #fff; font: 700 16px 'Space Grotesk', Inter, sans-serif; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--trait); border-radius: 12px; background: var(--p-carte); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--cfdt-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--p-texte-doux); font-size: 14px; }
.avertissement { margin: 12px 4px 0; font-size: 12.5px; color: var(--ink-2); }

/* Colonne : voir aussi */
.voir-aussi { display: grid; gap: 8px; }
.voir-aussi a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 12px; }
.voir-aussi a:hover { border-color: var(--p-bord-survol); }
.voir-aussi b { display: block; font-size: 14px; }
.voir-aussi span.detail { font-size: 12.5px; color: var(--ink-2); }
.voir-aussi .fleche { position: static; margin-left: auto; }

/* ── Onglets et tiroir (téléphone et tablette) ── */
.onglets { display: none; }
#cfdtnav-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(8,14,24,.6); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
#cfdtnav-drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; max-height: 80vh; overflow-y: auto;
  padding: 10px 12px calc(96px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0; background: linear-gradient(180deg, var(--nuit), var(--nuit-profond));
  box-shadow: 0 -20px 60px rgba(0,0,0,.4); transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
}
#cfdtnav.open #cfdtnav-overlay { opacity: 1; pointer-events: auto; }
#cfdtnav.open #cfdtnav-drawer { transform: none; visibility: visible; transition: transform .25s ease; }
#cfdtnav-title { margin: 8px 14px 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93a4b8; }
#cfdtnav-drawer a { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 0 14px; border-radius: 12px; color: #fff; font-weight: 600; font-size: 15.5px; }
#cfdtnav-drawer a:hover, #cfdtnav-drawer a.here { background: rgba(255,255,255,.08); }
#cfdtnav-drawer a.here { color: #ff9a66; }
#cfdtnav-drawer a .ico { display: grid; place-items: center; width: 22px; color: #ffb48f; }
#cfdtnav-drawer .adh { justify-content: center; margin-top: 8px; background: var(--cfdt); }
#cfdtnav-drawer .nav-groupe { margin: 14px 14px 6px; }
#cfdtnav-drawer .tiroir-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
#cfdtnav-drawer .tiroir-grille a { position: relative; gap: 10px; padding: 0 12px; background: rgba(255,255,255,.05); font-size: 14.5px; line-height: 1.15; }
#cfdtnav-drawer .tiroir-grille .nav-acces { position: absolute; top: -6px; right: 6px; padding: 1px 6px; background: #2b3a4f; font-size: 9.5px; }
#cfdtnav-drawer .adh { margin-top: 14px; }
/* Application installée : pas de pied de page, ses liens passent en bas du Menu. */
#cfdtnav-drawer .tiroir-appli { display: none; }
#cfdtnav-drawer .tiroir-liens { display: flex; flex-wrap: wrap; gap: 0 4px; }
#cfdtnav-drawer .tiroir-liens a { min-height: 44px; padding: 0 10px; font-size: 14px; font-weight: 500; color: #c9d3df; }
@media (display-mode: standalone) { #cfdtnav-drawer .tiroir-appli { display: block; } }
/* Téléphone : le pied de page passe sous le contenu et garde lui-même la place de
   la barre du bas ; dans l'application installée, sans pied, la zone la garde. */
@media (max-width: 1023px) { body.portail:has(.cfdt-site-footer) .zone { padding-bottom: 8px; } }
@media (max-width: 1023px) and (display-mode: standalone) { body.portail .zone { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* ── Tablette et téléphone ── */
@media (max-width: 1023px) {
  .laterale { display: none; }
  .zone { margin-left: 0; padding: 0 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
  body.portail { background: var(--nuit-profond); }
  .haut { border-radius: 0; padding: 12px 16px 22px; }
  .haut .marque-mobile { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .haut .marque-mobile .logo { width: 40px; height: 40px; }
  .commandes { flex-wrap: wrap; }
  .commandes .site-search { order: 2; flex-basis: 100%; width: 100%; max-width: none; }
  .portail .site-search-shortcut { display: none; }
  .commandes .actions-haut { display: none; }
  .urgence-mobile { margin-left: auto; min-height: 44px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
  .slogan { font-size: 24px; right: 14px; top: 64px; bottom: auto; }
  .slogan::after { width: 92px; height: 3px; }
  .titre-haut { padding: 70px 0 0; order: 1; }
  .haut-colonne { display: flex; flex-direction: column; }
  .haut-colonne .titre-haut { order: 0; }
  .haut-colonne .commandes { order: 1; margin-top: 16px; }
  /* Étape 3 (06/11/2026) : le contenu reste sur la surface « jour » (crème, panneaux blancs)
     comme sur ordinateur ; plus de texte blanc ni de panneaux transparents prévus pour un fond nuit. */
  .colonne .panneau, .rassurant, .action { box-shadow: none; }
  .actions { grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 20px; }
  .actions .action:nth-child(3) { grid-column: span 2; min-height: 0; }
  .action { min-height: 124px; padding: 14px; }
  .action .fleche { display: none; }
  .action span.detail { padding-right: 0; }
  .onglets {
    display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 57;
    height: 70px; border-radius: 22px; background: rgba(18,30,46,.72);
  }
  .onglets a, .onglets button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 100%; border: 0; background: none; color: #dfe6ee; font: 500 11.5px/1 Inter, sans-serif; cursor: pointer; }
  /* Orange pâle et gras : 4,8:1 sur le verre de la barre (l'orange #ff8a52 n'atteignait que 2,9:1). */
  .onglets [aria-current="page"], #cfdtnav.open #cfdtnav-btn { color: #ffd2b8; font-weight: 700; }
  .onglets .ic { width: 22px; height: 22px; }
  #acfdt-launch { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; }
  /* Total du simulateur collé au-dessus des onglets, à gauche du bouton de l'assistant. */
  .sim-mini {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: sticky; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 5;
    min-height: 52px; margin: 12px 70px 0 0; padding: 8px 16px; border-radius: 16px;
    background: var(--nuit); color: #fff; box-shadow: 0 10px 30px rgba(8,14,24,.35); font-size: 14px;
  }
  .sim-mini b { font: 700 24px/1 'Space Grotesk', Inter, sans-serif; color: #ff8a52; }
  .sim-mini #sim-mini-events { display: block; margin-top: 2px; color: #c3cedb; font-size: 12.5px; }
  .sim-mini #sim-mini-events[hidden] { display: none; }
  .sim-mini > span:first-child { color: #fff; }
  .sim-mini-js .sim-mini:not(.pret) { visibility: hidden; }
  .sim-mini .detail { flex-shrink: 0; white-space: nowrap; color: #c3cedb; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width: 1024px) {
  #cfdtnav-drawer, #cfdtnav-overlay { display: none; }
}
/* Petit ordinateur : le slogan manuscrit (décoratif) recouvrait la phrase d'accroche
   de l'accueil jusqu'à ~1095 px de large (mesuré le 05/11/2026). */
@media (min-width: 1024px) and (max-width: 1119px) { .slogan { display: none; } }
/* Petit ordinateur : la barre latérale réduit la place du haut de page. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .urgence span { display: none; }
  .actions-haut .bouton { padding: 0 14px; }
  .colonne { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 1023px) {
  .haut-page .titre-haut { padding-top: 8px; }
  .chiffres-cles { grid-template-columns: repeat(2, 1fr); }
  .simulateur { grid-template-columns: minmax(0, 1fr); }
  .total-sim { position: static; }
  .droits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .trio { grid-template-columns: minmax(0, 1fr); }
  .outil { flex-direction: column; align-items: stretch; padding: 18px; }
  .calcul-qf { grid-template-columns: minmax(0, 1fr); }
  .table-defile + .duo { grid-template-columns: minmax(0, 1fr); }
  .bareme { font-size: 13.5px; }
  .bareme td, .bareme th { padding: 10px 6px; }
  .bareme th { letter-spacing: .03em; }
  .bareme td:first-child { white-space: normal; }
  .bareme .total-ligne { font-size: 19px; }
  .paliers { gap: 8px; }
  .paliers li { padding: 12px 10px; }
  .paliers .chiffre { font-size: 24px; }
  .puces { grid-template-columns: minmax(0, 1fr); }
  .chiffre-cle .chiffre { font-size: 28px; }
  .chiffre { font-size: 22px; }
  .chiffre small { max-width: 132px; margin-left: auto; font-size: 11px; }
  .rassurant { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
  .rassurant .rond { width: 42px; height: 42px; }
  .rassurant .tel { margin-left: 54px; font-size: 19px; }
  .resultat { border-left: 0; padding-left: 0; margin-left: auto; }
}
@media (max-width: 360px) {
  .actions { grid-template-columns: 1fr; }
  .actions .action:nth-child(3) { grid-column: auto; }
  .titre-haut h1 { font-size: 28px; }
}

/* ============ Mouvement des fiches en surface « auto » (étape 5, 10/11/2026) ============
   DESIGN.md, « Mouvement » : des réponses au geste, rien qui tourne seul. Coupé par la règle qui
   suit. L'apparition au défilement vit à part, dans fiche-mouvement.css, chargée par les seules
   fiches qui l'utilisent : cette feuille-ci ne masque jamais un contenu. */
[data-surface="auto"] .sim-opt { transition: border-color .18s ease, background-color .18s ease, box-shadow .2s ease, transform .18s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) { [data-surface="auto"] .sim-opt:not([data-fixed]):not([data-stepper]):hover { transform: translateY(-1px); } }
[data-surface="auto"] .sim-opt:not([data-fixed]):not([data-stepper]):active { transform: scale(.992); }
[data-surface="auto"] .sim-check { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
[data-surface="auto"] .sim-check svg { visibility: visible; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .24s cubic-bezier(.16, 1, .3, 1) .05s; }
[data-surface="auto"] .sim-opt.on .sim-check svg { stroke-dashoffset: 0; }
[data-surface="auto"] .stepper button { transition: background-color .15s ease, transform .15s ease; }
[data-surface="auto"] .stepper button:active { transform: scale(.94); }
[data-surface="auto"] .barre-sim div { transition: width .55s cubic-bezier(.16, 1, .3, 1); }
[data-surface="auto"] .total-sim .grand.mouv-marque { animation: mouv-marque .38s cubic-bezier(.16, 1, .3, 1); }
@keyframes mouv-marque { from { transform: scale(1.09); } to { transform: none; } }
[data-surface="auto"] .voir-aussi a { transition: border-color .18s ease, background-color .18s ease, transform .18s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) { [data-surface="auto"] .voir-aussi a:hover { transform: translateY(-1px); } }
[data-surface="auto"] .voir-aussi .fleche { transition: transform .18s cubic-bezier(.16, 1, .3, 1); }
[data-surface="auto"] .voir-aussi a:hover .fleche { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .portail *, .portail *::before, .portail *::after { transition: none !important; animation: none !important; }
}

@media print {
  body.portail { background: #fff; color: #000; }
  .laterale, .onglets, #cfdtnav, .commandes, .suggestions, .slogan, .cfdt-skip-link, #acfdt-launch { display: none !important; }
  .zone { margin: 0; padding: 0; }
  .haut { background: none; color: #000; padding: 0 0 12px; border-radius: 0; }
  .haut::before { display: none; }
  .titre-haut { padding: 0; }
  .titre-haut .date, .titre-haut .sous { color: #333; }
  .panneau, .colonne .panneau { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; margin-bottom: 10px; }
  .adhesion { background: #fff; color: #000; }
  .adhesion p, .adhesion .second, .questions details p { color: #000; }
  .action { break-inside: avoid; }
  /* Pages de rubrique : sur papier, plus de texte clair prévu pour le fond nuit du téléphone. */
  .urgence-mobile, .reinitialiser, .barre-sim, .sim-mini { display: none !important; }
  .fil, .fil a, .haut-page .lien-annexe, .page-contenu .titre-section h2, .page-contenu .intro-section, .page-contenu .avertissement { color: #000; }
  .haut-page .lien-annexe a { color: var(--cfdt-dark); }
  .marque-mobile .marque b, .marque-mobile .marque small { color: #000; }
  .total-sim { background: #fff; color: #000; border: 1px solid #ccc; }
  .total-sim .libelle, .total-sim .unite, .total-sim .evenements b, .total-sim .evenements span, .detail-sim { color: #000; }
  .total-sim .grand { color: var(--cfdt-dark); }
  .outil { background: #fff; color: #000; border: 1px solid #ccc; }
  .outil h2, .outil p, .outil .libelle { color: #000; }
  .calcul-qf, #calcul { display: none !important; }
  .droit, .bloc-sim, .faq details { break-inside: avoid; }
}

/* ==========================================================================
   Étape 5 de la refonte — mode sombre automatique des fiches (10/11/2026)
   Une page n'y passe que si son contenu est en surface « auto » (nuit.css) :
   les variables de cette feuille suivent alors les jetons de la surface.
   En clair, rien ne change. Jamais à l'impression (media screen).
   ========================================================================== */
@media screen and (prefers-color-scheme: dark) {
  [data-surface="auto"] {
    --ink: var(--s-tx); --ink-2: var(--s-t2); --creme: var(--s-fond); --trait: var(--s-filet-fort);
    --cfdt-dark: var(--s-accent); --cfdt-soft: var(--cfdt-voile);
    --eux-dark: var(--ok); --eux-soft: rgba(92, 200, 168, .12);
    --ombre: none; --ombre-forte: none;
    --p-carte: var(--s-carte); --p-doux: var(--s-relief); --p-trait-doux: var(--s-filet); --p-bord-survol: rgba(240, 138, 91, .5); --p-bord-survol-carte: var(--nuit-verre-bord);
    --p-texte-doux: #d3dbe5; --p-case: var(--nuit-t3); --p-fleche: var(--s-relief); --p-note-texte: #ffd2bd; --p-saisie-texte: var(--s-tx); --p-chiffre: var(--s-tx);
    --p-eux-bord: rgba(92, 200, 168, .3); --p-eux-texte: #cdeee3; --p-eux-bord-doux: rgba(92, 200, 168, .3); --p-cfdt-bord-doux: rgba(240, 138, 91, .35);
    --p-vedette-bord: rgba(240, 138, 91, .5); --p-vedette-fond: radial-gradient(460px 280px at 0% 0%, rgba(224, 92, 40, .30), transparent 70%), linear-gradient(140deg, rgba(224, 92, 40, .12), rgba(255, 255, 255, .03));
    /* Relief d'une carte posée sur la nuit : à reprendre dans les feuilles propres à chaque fiche. */
    --p-relief-fond: linear-gradient(180deg, rgba(255, 222, 200, .085), rgba(255, 222, 200, .028));
    --p-relief-bord: rgba(255, 226, 208, .12);
    --p-relief-ombre: inset 0 1px 0 rgba(255, 236, 224, .11), 0 14px 30px -20px rgba(0, 0, 0, .8);
    --p-alerte-bord: rgba(243, 211, 138, .4); --p-alerte-fond: rgba(243, 211, 138, .1); --p-alerte-texte: #f3e2b8; --p-alerte-icone: #f3d38a; --p-alerte-fort: #fff;
  }
  /* Blocs qui gardent leur propre fond (orange ou nuit) : leurs textes ne suivent pas la surface. */
  [data-surface="auto"] .adhesion { --cfdt-dark: #b94317; --ink: #1a1a1a; }
  /* Texte vert d'eau posé directement sur la nuit : la teinte claire, sinon 3,2:1 seulement. */
  [data-surface="auto"] .droit .etat { color: var(--ok); }
  [data-surface="auto"] :is(.total-sim, .outil, .resultat-qf) { border: 1px solid var(--nuit-filet-fort); }
  /* Sommaire « Sur cette page », injecté par legal-links.js avec ses couleurs claires. */
  [data-surface="auto"] .cfdt-sommaire { background: var(--s-carte); border-color: var(--s-filet-fort); }
  [data-surface="auto"] .cfdt-sommaire p { color: var(--s-t2); }
  [data-surface="auto"] .cfdt-sommaire a { border-color: var(--s-filet-fort); color: var(--s-accent); }
  [data-surface="auto"] .cfdt-sommaire a:hover { background: var(--cfdt-voile); }
  [data-surface="auto"] .cfdt-sommaire a:focus-visible { outline-color: #fff; }

  /* Relief (retour de Said du 10/11 : « trop bleu plat »). Le langage de la carte des vœux, choisie
     par Said le 31/10 : nuit CFDT, lueur orange, lueur bleue, verre. Des lueurs d'ambiance sous la
     page, un grand panneau translucide qui les laisse passer, des cartes posées dessus. */
  .nuit-contenu[data-surface="auto"]:has(> main:not(.accueil)) {
    position: relative; isolation: isolate;
    background:
      radial-gradient(62% 640px at -4% 980px, rgba(47, 107, 214, .20), transparent 70%),
      radial-gradient(56% 560px at 104% 2300px, rgba(224, 92, 40, .14), transparent 70%),
      radial-gradient(62% 640px at -6% 3700px, rgba(47, 107, 214, .16), transparent 70%),
      radial-gradient(56% 520px at 100% 100%, rgba(224, 92, 40, .16), transparent 70%),
      var(--s-fond);
  }
  /* La lueur du haut est un calque à part : fixe ici, elle peut « respirer » sans faire redessiner
     la page (fiche-mouvement.css n'anime que son opacité et son échelle). */
  .nuit-contenu[data-surface="auto"]:has(> main:not(.accueil))::before {
    content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 62%; height: 640px; pointer-events: none;
    background: radial-gradient(94% 520px at 94% 110px, rgba(224, 92, 40, .26), transparent 70%);
    /* Origine au coin haut droit : en grandissant, la lueur ne sort ni à droite ni en haut de la page
       (avec une origine au centre de la lueur, la page gagnait jusqu'à 6 px de large à chaque souffle). */
    transform-origin: 100% 0;
  }
  [data-surface="auto"] .page-contenu > .panneau, [data-surface="auto"] .page-contenu > section.panneau:not(.adhesion) {
    border-color: rgba(255, 255, 255, .11);
    background: linear-gradient(180deg, rgba(255, 226, 208, .06), rgba(255, 226, 208, .018) 360px), rgba(15, 27, 41, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 34px 70px -34px rgba(0, 0, 0, .75);
  }
  [data-surface="auto"] :is(.chiffre-cle, .bloc-sim, .droit:not(.vedette), .faq details, .trio > div, .cfdt-sommaire, .voir-aussi a) {
    border-color: var(--p-relief-bord);
    background: var(--p-relief-fond);
    box-shadow: var(--p-relief-ombre);
  }
  /* Chiffres clés : un filet de lumière orange en tête de carte, une lueur au coin. */
  [data-surface="auto"] .page-contenu .chiffres-cles > .chiffre-cle {
    background:
      linear-gradient(90deg, transparent, rgba(240, 138, 91, .95) 18%, rgba(240, 138, 91, .15) 72%, transparent) top / 100% 1.5px no-repeat,
      radial-gradient(190px 110px at 0% 0%, rgba(224, 92, 40, .30), transparent 70%),
      linear-gradient(180deg, rgba(255, 222, 200, .085), rgba(255, 222, 200, .028));
  }
  /* Simulateur : une option cochée s'allume, le total devient le point lumineux de la page. */
  [data-surface="auto"] .sim-opt { border-color: rgba(255, 255, 255, .11); background: rgba(255, 255, 255, .045); }
  @media (hover: hover) {
    [data-surface="auto"] .sim-opt:not([data-fixed]):not([data-stepper]):not(.on):hover { border-color: rgba(240, 138, 91, .6); background: rgba(255, 255, 255, .075); box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .9); }
  }
  [data-surface="auto"] .sim-opt:not(.on):hover { border-color: rgba(255, 255, 255, .11); }
  /* Téléphone : le total flottant est posé sur le contenu, en verre. */
  [data-surface="auto"] .sim-mini { border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(135deg, rgba(40, 60, 92, .82), rgba(20, 33, 54, .86)); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 34px -16px rgba(0, 0, 0, .85); }
  [data-surface="auto"] .sim-opt.on { border-color: #f08a5b; background: linear-gradient(135deg, rgba(224, 92, 40, .30), rgba(224, 92, 40, .08) 72%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 16px 32px -18px rgba(224, 92, 40, .6); }
  [data-surface="auto"] .sim-check { background: rgba(255, 255, 255, .05); }
  [data-surface="auto"] .sim-opt.on .sim-check { background: var(--cfdt); box-shadow: 0 4px 12px -2px rgba(224, 92, 40, .7); }
  [data-surface="auto"] .stepper button { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }
  [data-surface="auto"] .total-sim {
    isolation: isolate; overflow: hidden;
    border-color: rgba(255, 255, 255, .16);
    background:
      radial-gradient(280px 230px at 0% 100%, rgba(47, 107, 214, .34), transparent 70%),
      linear-gradient(180deg, #1d304c, #132136);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 60px -28px rgba(0, 0, 0, .9);
  }
  /* La lueur orange du total suit le résultat : --mouv-eclat va de 0 à 1 avec la barre (posé par
     fiche-mouvement.js ; sans script, la valeur de départ, 31 jours). Calque à part, opacité et
     échelle seulement. */
  [data-surface="auto"] .total-sim::before {
    content: ""; position: absolute; z-index: -1; top: -110px; right: -110px; width: 380px; height: 340px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(224, 92, 40, .66), rgba(224, 92, 40, .16) 62%, transparent);
    opacity: calc(.4 + .6 * var(--mouv-eclat, .44)); transform: scale(calc(.8 + .55 * var(--mouv-eclat, .44)));
  }
  /* Sur téléphone le total n'est plus collant (position: static plus haut) : sans cette règle, sa
     lueur se rattachait au contenu entier, sortait de 110 px à droite et élargissait la page
     (défaut vu en production le 12/11, corrigé le jour même). */
  @media (max-width: 1023px) { [data-surface="auto"] .total-sim { position: relative; } }
  [data-surface="auto"] .total-sim .grand { text-shadow: 0 8px 30px rgba(255, 138, 82, .38); }
  [data-surface="auto"] .total-sim .evenements { background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
  [data-surface="auto"] .barre-sim div { background: linear-gradient(90deg, #e05c28, #ff9a68); }
  [data-surface="auto"] .droit.vedette { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 22px 44px -26px rgba(224, 92, 40, .55); }
  [data-surface="auto"] .faq details[open] { border-color: rgba(240, 138, 91, .45); }
  [data-surface="auto"] .rassurant { background: linear-gradient(90deg, rgba(92, 200, 168, .18), rgba(92, 200, 168, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
  [data-surface="auto"] .voir-aussi a:hover { border-color: rgba(240, 138, 91, .6); background: rgba(255, 255, 255, .085); }
  [data-surface="auto"] ::selection { background: rgba(224, 92, 40, .45); color: #fff; }
}
