/* Cabinets agréés MASE : page réservée au cabinet. Charte Fluidpilot, Montserrat hébergée par le portail. */
@font-face { font-family: 'Montserrat'; font-weight: 400; font-style: normal; font-display: swap; src: url('/server/portail/polices/Montserrat-400.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-style: normal; font-display: swap; src: url('/server/portail/polices/Montserrat-700.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-style: normal; font-display: swap; src: url('/server/portail/polices/Montserrat-800.ttf') format('truetype'); }
body { margin: 0; }
[hidden] { display: none !important; }
:root {
  --fond: #F4F7FA; --carte: #FFFFFF; --texte: #00345E; --second: #4A5A6A; --ligne: #D5DEE6; --voile: #E6F6FF;
  --barre: #00345E; --accent: #00A7FF; --ok: #00703F; --ok-fond: #E6FAF1; --alerte: #8A4B00; --alerte-fond: #FFF1DC; --retire: #B3261E; --retire-fond: #FFF0F0; --neutre-fond: #EEF2F6;
  --police: 'Montserrat', Arial, Helvetica, sans-serif;
  --marine: #00345E; --bleu: #00A7FF; --vert: #00D274; --saumon: #FF6A6E; --sur-vif: #00253F; --coh0: #00A7FF; --coh1: #00345E; --coh2: #00D274; --coh3: #FF6A6E; --absent: #A9B5C0; --bleu-doux: #E6F6FF; --vert-doux: #E6FAF1; --saumon-doux: #FFF0F0;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --fond: #06192B; --carte: #0C2740; --texte: #EAF4FB; --second: #9DB2C4; --ligne: #234560; --voile: #113A5C;
  --barre: #8FD3FF; --accent: #00A7FF; --ok: #5FE3A8; --ok-fond: #0D3A2C; --alerte: #FFC27A; --alerte-fond: #40300F; --retire: #FF9EA0; --retire-fond: #431C20; --neutre-fond: #15324C; --coh1: #BFE6FF; --absent: #5C7186; --bleu-doux: #113A5C; --vert-doux: #0D3A2C; --saumon-doux: #431C20; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --fond: #06192B; --carte: #0C2740; --texte: #EAF4FB; --second: #9DB2C4; --ligne: #234560; --voile: #113A5C;
  --barre: #8FD3FF; --accent: #00A7FF; --ok: #5FE3A8; --ok-fond: #0D3A2C; --alerte: #FFC27A; --alerte-fond: #40300F; --retire: #FF9EA0; --retire-fond: #431C20; --neutre-fond: #15324C; --coh1: #BFE6FF; --absent: #5C7186; --bleu-doux: #113A5C; --vert-doux: #0D3A2C; --saumon-doux: #431C20; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--fond); color: var(--texte); font-family: var(--police); font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.page { max-width: var(--largeur-page, 1240px); margin: 0 auto; padding-block: 28px 56px; padding-left: var(--marge-gauche, 16px); padding-right: var(--marge-droite, 16px); display: grid; gap: 32px; }
a { color: inherit; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1 { margin: 0; font-weight: 800; font-size: clamp(25px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.5px; text-wrap: balance; color: #FFFFFF; }
.heros { position: relative; overflow: hidden; background: var(--marine); }
.heros::after { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--bleu) 0 58%, var(--vert) 58% 84%, var(--saumon) 84% 100%); }
.heros__dedans { position: relative; max-width: var(--largeur-page, 1240px); margin: 0 auto; padding-block: 34px 30px; padding-left: var(--marge-gauche, 16px); padding-right: var(--marge-droite, 16px); }
.motif { position: absolute; display: block; pointer-events: none; }
.motif--a { right: 44px; top: 16px; width: 92px; height: 92px; background: var(--bleu); }
.motif--b { right: 88px; top: 64px; width: 112px; height: 52px; border: 3px solid #FFFFFF; }
.motif--c { right: 16px; top: 100px; width: 34px; height: 34px; background: var(--vert); }
.motif--d { right: 176px; top: 24px; width: 24px; height: 24px; background: var(--saumon); }
.heros h1, .heros .chapeau { position: relative; max-width: calc(100% - 230px); }
@media (max-width: 760px) { .motif--a { right: 30px; top: 10px; width: 44px; height: 44px; } .motif--b { right: 50px; top: 34px; width: 50px; height: 26px; border-width: 2px; } .motif--c { right: 12px; top: 50px; width: 18px; height: 18px; } .motif--d { right: 92px; top: 12px; width: 13px; height: 13px; } .heros h1, .heros .chapeau { max-width: 100%; } .heros h1 { padding-top: 50px; } }
h2 { margin: 0; font-weight: 800; font-size: 23px; text-wrap: balance; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; flex: none; width: 13px; height: 13px; background: var(--puce, var(--bleu)); }
.puce-vert { --puce: var(--vert); } .puce-saumon { --puce: var(--saumon); } .puce-marine { --puce: var(--coh1); }
.barre-marque { background: #FFFFFF; border-bottom: 1px solid #D5DEE6; }
.barre-marque__dedans { max-width: var(--largeur-page, 1240px); margin: 0 auto; padding-block: 10px; padding-left: var(--marge-gauche, 16px); padding-right: var(--marge-droite, 16px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.barre-marque img { width: 42px; height: 42px; border-radius: 6px; }
.barre-marque__nom { font-size: 19px; font-weight: 800; color: #00345E; }
.barre-marque__usage { margin-left: auto; font-size: 13px; font-weight: 600; color: #4A5A6A; }
.surtitre { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--bleu); }
.chapeau { margin: 14px 0 0; max-width: none; font-size: 17px; color: #D5E9F7; }
.chiffres { position: relative; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.chiffres div { min-width: 0; padding: 12px 14px; border-radius: 4px; color: #FFFFFF; background: color-mix(in srgb, var(--t) 24%, transparent); border-top: 4px solid var(--t); display: flex; flex-direction: column; }
.chiffres dd { margin: 0; order: -1; font-size: 34px; font-weight: 800; line-height: 1.1; }
.chiffres dt { font-size: 13px; color: #D5E9F7; }
.t-bleu { --t: var(--bleu); } .t-vert { --t: var(--vert); } .t-saumon { --t: var(--saumon); } .t-blanc { --t: #FFFFFF; }
.bloc { display: grid; gap: 14px; min-width: 0; }
/* Sommaire : pilules collantes, la rubrique lue ressort en marine */
html { scroll-behavior: smooth; }
.bloc h2, .bloc [id^="t-"] { scroll-margin-top: var(--haut-sommaire, 110px); }
.sommaire { position: sticky; top: calc(46px + var(--navigation-espace, 0px)); z-index: 9; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: calc(var(--largeur-page, 1240px) - 2 * var(--marge-page, 16px)); margin: -18px auto 0; padding: 8px 10px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 52, 94, .16); }
.sommaire::-webkit-scrollbar { display: none; }
.sommaire a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; color: #00345E; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.sommaire a:hover { background: #E6F6FF; }
.sommaire a:focus-visible { outline: 3px solid #00A7FF; outline-offset: -2px; }
.sommaire .sommaire__lien--fort { background: #DFF9EC; }
.sommaire .sommaire__lien--actif, .sommaire .sommaire__lien--actif:hover { color: #FFFFFF; background: #00345E; }
.sommaire__badge { min-width: 18px; padding: 0 5px; border-radius: 999px; color: #00253F; background: #FF6A6E; font-size: 11px; font-weight: 800; text-align: center; }
.presence-fluidpilot { padding: 20px; border-radius: 18px; background: linear-gradient(160deg, #EEF9FF, #FFFFFF 45%); box-shadow: 0 4px 18px rgba(0, 52, 94, .09); }
.statut--fort { padding: 5px 12px; font-size: 13px; }
.ligne-absente td { background: var(--saumon-doux); }
.coord-fluidpilot { margin-bottom: 6px; font-weight: 700; color: #00345E; }
.coord-detail { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--second); }
.lien-crm { color: #005A93; font-weight: 700; text-decoration: underline dotted; text-underline-offset: 2px; }
.lien-crm:hover { color: #00345E; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sommaire a { transition: none; } }
@media (max-width: 1280px) { .sommaire { margin-left: var(--marge-page, 16px); margin-right: var(--marge-page, 16px); } }
.entete-bloc p { margin: 6px 0 0; max-width: none; color: var(--second); }
.commandes { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 14px 16px; background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; }
.commande { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--second); }
.commande select { font: inherit; font-weight: 600; font-size: 14px; color: var(--texte); background: var(--carte); padding: 8px 10px; border: 1px solid var(--ligne); border-radius: 8px; }
.commande--date { flex: 1 1 320px; min-width: 0; }
.commande--date input { width: 100%; accent-color: var(--accent); }
.date-choisie { font-size: 16px; font-weight: 800; color: var(--texte); }
.bouton { font: inherit; font-size: 13px; font-weight: 700; color: var(--texte); background: var(--voile); border: 0; border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.bouton:hover { filter: brightness(.95); }
.frise-et-releve { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.frise { background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 16px 16px; min-width: 0; --etiquette: 250px; }
.ligne-frise { display: grid; grid-template-columns: var(--etiquette) minmax(0, 1fr); align-items: center; gap: 10px; min-height: 26px; width: 100%; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 4px; }
.ligne-frise:hover { background: var(--voile); }
.ligne-frise[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, transparent); box-shadow: inset 4px 0 0 var(--c); }
.ligne-frise[aria-pressed="true"] .nom-cabinet { padding-left: 10px; }
.ligne-frise.absent .nom-cabinet { color: var(--second); font-weight: 600; }
.ligne-frise.absent { --c: var(--absent); }
.ligne-frise.absent .groupe { --c: inherit; }
.nom-cabinet { font-size: 14px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; padding: 3px 0 3px 4px; }
.soi .nom-cabinet::after { content: " ●"; color: var(--accent); }
.piste { position: relative; height: 16px; }
.piste::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ligne); }
.coh-0 { --c: var(--coh0); } .coh-1 { --c: var(--coh1); } .coh-2 { --c: var(--coh2); } .coh-3 { --c: var(--coh3); }
.barre { position: absolute; top: 3px; bottom: 3px; background: var(--c); border-radius: 5px; }
.incertain { position: absolute; top: 3px; bottom: 3px; background: repeating-linear-gradient(135deg, var(--c) 0 2px, transparent 2px 5px); opacity: .6; }
.groupe { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-size: 12px; font-weight: 800; }
.groupe::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.groupe small { font-weight: 600; font-size: 12px; color: var(--second); }
.renomme { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--carte); outline: 1px solid var(--barre); }
.curseur { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--accent); pointer-events: none; }
.axe { display: grid; grid-template-columns: var(--etiquette) minmax(0, 1fr); gap: 10px; margin-bottom: 6px; }
.axe__graduations { position: relative; height: 30px; border-bottom: 1px solid var(--ligne); }
.annee { position: absolute; top: 0; font-size: 12px; font-weight: 700; color: var(--second); transform: translateX(-50%); }
.releve-point { position: absolute; bottom: -4px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; border: 2px solid var(--carte); background: var(--barre); padding: 0; cursor: pointer; }
.releve-point.local { background: var(--carte); border-color: var(--barre); }
.releve-point[aria-current="true"] { box-shadow: 0 0 0 2px var(--accent); }
.legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; color: var(--second); }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.temoin { display: inline-block; width: 22px; height: 9px; background: var(--c, var(--barre)); border-radius: 2px; }
.temoin--absent { background: var(--absent); }
.temoin--flou { background: repeating-linear-gradient(135deg, var(--barre) 0 3px, transparent 3px 6px); opacity: .7; }
.temoin--point { width: 9px; height: 9px; border-radius: 50%; }
.temoin--local { background: var(--carte); border: 2px solid var(--barre); box-sizing: border-box; }
.releve { border-top: 4px solid var(--bleu); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); display: grid; gap: 12px; background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: 16px; min-width: 0; }
.releve h3 { margin: 0; font-size: 15px; font-weight: 800; }
.releve p { margin: 0; font-size: 14px; color: var(--second); }
.releve p.effectif { font-size: 44px; font-weight: 800; line-height: 1; color: var(--texte); }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.etiquettes li { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.plus { background: var(--ok-fond); color: var(--ok); }
.moins { background: var(--retire-fond); color: var(--retire); }
.chg { background: var(--voile); color: var(--texte); }
.courbe { background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px; }
.courbe svg { display: block; width: 100%; height: auto; }
.grad-haut { stop-color: var(--bleu); stop-opacity: .55; } .grad-bas { stop-color: var(--vert); stop-opacity: .25; }
.courbe text { fill: var(--second); font-family: var(--police); font-size: 13px; }
.courbe .valeur { fill: var(--texte); font-weight: 800; font-size: 14px; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.mouvements { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; }
.mouvements { max-height: 560px; overflow-y: auto; }
.mouvements li { display: grid; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--ligne); }
.mouvements li:last-child { border-bottom: 0; }
.mouvements small { font-size: 12px; color: var(--second); }
.retenir { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: point; }
.retenir li { counter-increment: point; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; background: var(--carte); border: 1px solid var(--ligne); border-radius: 4px; }
.retenir li::before { content: counter(point); display: grid; place-items: center; width: 34px; height: 34px; font-weight: 800; color: #00253F; background: var(--bleu); }
.retenir li:nth-child(3n+2)::before { background: var(--vert); } .retenir li:nth-child(3n)::before { background: var(--saumon); }
.cadre-tableau { overflow-x: auto; background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 1040px; font-size: 14px; line-height: 1.45; }
th { text-align: left; font-size: 12px; font-weight: 800; color: var(--texte); background: var(--voile); padding: 11px 14px; border-bottom: 2px solid var(--ligne); white-space: nowrap; }
td { padding: 13px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
td:first-child { min-width: 190px; } td:nth-child(5) { min-width: 240px; } td:nth-child(6) { min-width: 230px; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--fond) 60%, var(--carte)); }
tr:last-child td { border-bottom: 0; }
.statut { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.st-ref { background: var(--voile); color: var(--texte); }
.st-ok { background: var(--ok-fond); color: var(--ok); }
.st-retard { background: var(--alerte-fond); color: var(--alerte); }
.st-propre { background: var(--voile); color: var(--texte); }
.versions { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--second); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.st-rien { background: var(--neutre-fond); color: var(--second); }
.annonces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.annonce { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--carte); border: 1px solid var(--ligne); border-top: 4px solid var(--a, var(--bleu)); border-radius: 4px; }
.annonce:nth-child(3n+2) { --a: var(--vert); } .annonce:nth-child(3n) { --a: var(--saumon); }
.annonce time { font-size: 12px; font-weight: 800; color: var(--second); }
.annonce h3 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.annonce p { margin: 0; font-size: 14px; color: var(--second); flex: 1; }
.annonce__liens { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 700; }
.bouton--vif { background: var(--marine); color: #FFFFFF; }
.visionneuse .bouton--vif { background: #FFFFFF; color: var(--marine); }
.lien-doc { font: inherit; font-size: 13px; white-space: nowrap; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.lien-doc:hover { color: var(--accent); }
.chiffres-contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 12px; color: var(--texte); font-size: 14px; }
.chiffres-contacts b { font-size: 24px; font-weight: 800; margin-right: 6px; font-variant-numeric: tabular-nums; }
.choix-contacts { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 0 0 8px; font-size: 13px; color: #5B6B7B; }
.choix-contacts label { display: inline-flex; align-items: center; gap: 6px; color: #00345E; font-weight: 700; cursor: pointer; }
.cle-contacts { display: inline-flex; align-items: center; gap: 6px; }
.cle-contacts i { display: block; width: 18px; height: 10px; }
.cadre-pistes { overflow-x: auto; }
#pistes { display: block; font-family: inherit; }
#pistes text { fill: #00345E; font-size: 12px; }
#pistes .piste { cursor: pointer; }
#pistes .piste:focus-visible { outline: 3px solid #00A7FF; }
.journal-contacts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 22px; font-size: 13px; color: var(--texte); }
.journal-contacts li { border-left: 3px solid var(--ligne); padding: 2px 0 2px 10px; min-width: 0; }
.journal-contacts li.passage { border-left-color: #8E5BB5; }
.journal-contacts time { display: block; color: var(--second); font-size: 12px; }
#formats text, #boites text { font-family: var(--police); font-size: 11px; fill: var(--second); }
#formats .rang { font-size: 12px; fill: var(--texte); }
#formats .groupe { font-size: 12px; font-weight: 800; fill: var(--texte); }
#formats .num { font-size: 11px; font-weight: 800; fill: var(--texte); }
#boites .val { font-weight: 700; fill: var(--sur-vif); }
.sous-titre { margin: 26px 0 8px; font-size: 16px; font-weight: 800; color: var(--texte); }
.ruptures { counter-reset: rupture; color: var(--texte); }
.ruptures li { counter-increment: rupture; border-left-color: var(--accent); position: relative; padding-left: 34px; }
.ruptures li::before { content: counter(rupture); position: absolute; left: 9px; top: 3px; width: 19px; height: 19px; line-height: 17px; text-align: center; border: 1.5px solid var(--texte); border-radius: 50%; font-size: 11px; font-weight: 800; }
.ruptures .preuves { display: block; margin-top: 3px; font-size: 12px; }
.ruptures .preuves .lien-doc + .lien-doc { margin-left: 10px; }
.legende-formats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; font-size: 13px; color: var(--second); }
.legende-formats i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.detail-formats { margin-top: 10px; font-size: 13px; }
.detail-formats summary { cursor: pointer; font-weight: 700; color: var(--texte); margin-bottom: 8px; }
.pile-coord { display: flex; gap: 2px; width: 100%; min-width: 150px; height: 12px; }
.pile-coord span { display: block; height: 12px; min-width: 3px; }
.pile-coord span:first-child { border-radius: 4px 0 0 4px; }
.pile-coord span:last-child { border-radius: 0 4px 4px 0; }
.retenir-formats { margin: 0; padding-left: 18px; color: var(--texte); max-width: none; }
.retenir-formats li { margin-bottom: 8px; }
.echeance { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; padding: 14px 16px; margin: 0 0 14px; background: #E6F6FF; border-left: 5px solid #00A7FF; color: #00345E; }
.echeance strong { font-size: 18px; font-weight: 800; }
.lien-doc--long { white-space: normal; }
.pile { display: grid; gap: 10px; }
.etiquette-panneau { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--second); }
.fiche { display: grid; gap: 8px; padding: 12px 14px; border-radius: 6px; background: color-mix(in srgb, var(--c) 14%, var(--carte)); border-left: 5px solid var(--c); }
.fiche h3 { font-size: 17px; }
.fiche p { color: var(--texte); }
.releve .fiche .etiquette-panneau { font-size: 11px; color: var(--texte); }
.note { margin: 0; font-size: 13px; color: var(--second); max-width: none; }
.sources { font-size: 13px; color: var(--second); display: grid; gap: 4px; margin: 0; padding-left: 18px; }
@media (max-width: 980px) { .frise-et-releve, .deux { grid-template-columns: minmax(0, 1fr); } .releve { position: static; } }
@media (max-width: 620px) { .frise { --etiquette: 128px; padding-inline: 10px; } .nom-cabinet { font-size: 12px; } .chiffres dd { font-size: 28px; } }
@media (prefers-reduced-motion: no-preference) { .curseur { transition: left .25s ease; } .ligne-frise .barre { transition: opacity .2s ease; } }

.bandeau { display: grid; gap: 4px; padding: 12px 14px; margin: 0; border-radius: 6px; background: var(--alerte-fond); color: var(--alerte); font-size: 14px; font-weight: 600; }
.maj { position: relative; margin: 10px 0 0; font-size: 13px; color: #D5E9F7; }
.barre-marque a { font-size: 13px; font-weight: 700; color: #00345E; }
.synthese { display: grid; gap: 12px; }
.synthese__titre { margin: 0; font-size: 18px; font-weight: 800; }
.synthese .retenir li { display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.synthese__point strong { display: block; margin-bottom: 2px; font-weight: 800; }
.synthese__point--attention::before { background: var(--saumon) !important; }
.synthese__point--critique::before { background: var(--retire) !important; color: #FFFFFF !important; }
.surveiller { margin: 0; padding-left: 18px; }
.alertes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alertes li { display: grid; gap: 2px; padding: 10px 14px; background: var(--carte); border: 1px solid var(--ligne); border-left: 5px solid var(--bleu); border-radius: 4px; font-size: 14px; }
.alertes li.critique { border-left-color: var(--retire); }
.alertes li.attention { border-left-color: var(--saumon); }
.alertes time { font-size: 12px; color: var(--second); }
.cache { display: none !important; }
.etat-page { max-width: 62ch; margin: 48px auto; padding: 0 16px; font-size: 16px; }
.source-meta { display: block; font-size: 12px; color: var(--second); }
.txt-epoque { font-size: 11px; fill: #5B6B7B; }
.txt-an { fill: #5B6B7B; }

/* Un en-tête compact et un sujet à la fois (Thomas, 05/11/2026 : « cela fait beaucoup de bandeaux ») */
.cab-tete { max-width: var(--largeur-page, 1240px); margin: 0 auto; padding: 18px var(--marge-droite, 16px) 0 var(--marge-gauche, 16px); }
.cab-heros { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 20px 26px; overflow: hidden; border-radius: 18px; color: #FFFFFF; background: linear-gradient(115deg, #00345E 0%, #00345E 48%, #00A7FF 135%); box-shadow: 0 10px 26px rgba(0, 52, 94, .22); }
.cab-heros__textes { flex: 1 1 340px; min-width: 0; }
.cab-heros h1 { font-size: clamp(22px, 2.4vw, 28px); }
.cab-heros .chapeau { margin: 6px 0 0; max-width: none; font-size: 14.5px; }
.cab-heros .maj { margin: 4px 0 0; color: #D5E9F7; font-size: 12.5px; }
.cab-heros .chiffres { flex: 3 1 560px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.cab-heros .chiffres div { padding: 9px 12px; border-radius: 10px; }
.cab-heros .chiffres dd { font-size: 26px; }
.cab-heros .chiffres dt { font-size: 12px; line-height: 1.3; }
.cab-onglets { position: sticky; z-index: 9; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px max(var(--marge-droite, 16px), calc((100vw - var(--largeur-page, 1240px)) / 2 + var(--marge-droite, 16px))) 8px max(var(--marge-gauche, 16px), calc((100vw - var(--largeur-page, 1240px)) / 2 + var(--marge-gauche, 16px))); background: var(--fond, #F4F7FA); }
.cab-onglets::-webkit-scrollbar { display: none; }
.cab-onglets a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px; color: #00345E; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background-color .15s ease; }
.cab-onglets a:hover { background: #E6F6FF; }
.cab-onglets a:focus-visible { outline: 3px solid #00A7FF; outline-offset: -2px; }
.cab-onglets a.cab-onglets__lien--actif, .cab-onglets a.cab-onglets__lien--actif:hover { color: #FFFFFF; background: #00345E; }
.cab-onglets__badge { min-width: 18px; padding: 0 5px; border-radius: 999px; color: #00253F; background: #FF6A6E; font-size: 11px; font-weight: 800; text-align: center; }
.cab-page { padding-block-start: 12px; gap: 24px; }
.cab-archives { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.cab-archive { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: 14px; background: var(--carte); }
.cab-archive h3 { margin: 0; color: #00345E; font-size: 15px; font-weight: 800; }
.cab-archive__source { margin: 0; color: var(--second); font-size: 13px; }
.cab-archive__puces { display: flex; flex-wrap: wrap; gap: 5px; }
.cab-puce { padding: 3px 10px; border-radius: 999px; color: #8F1C21; background: #FFE9EA; font-size: 12px; font-weight: 700; }
.cab-puce--encore { color: #00663A; background: #DDF8EA; }
.cab-archive__liens { margin: 0; font-size: 12.5px; }
@media (max-width: 560px) { .cab-heros { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .cab-onglets a { transition: none; } }

/* Le réseau MASE, une seule page. Des cartes, un sujet à la fois */
.cab-carte { min-width: 0; padding: 18px 20px; border: 1px solid var(--ligne); border-radius: 16px; background: var(--carte); box-shadow: 0 2px 10px rgba(0, 52, 94, .05); }
.cab-page h2 { font-size: 19px; }
.cab-page .deux { align-items: stretch; }
.cab-lecture { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cab-lecture__carte { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 15px 17px; border: 1px solid var(--ligne); border-top: 5px solid #00A7FF; border-radius: 16px; color: #00345E; background: var(--carte); box-shadow: 0 2px 10px rgba(0, 52, 94, .05); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.cab-lecture__carte:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 52, 94, .13); }
.cab-lecture__carte--place { border-top-color: #00D274; }
.cab-lecture__carte--mouvements { border-top-color: #FF6A6E; }
.cab-lecture__carte--interlocuteurs { border-top-color: #00345E; }
.cab-lecture__carte h2 { margin: 0; color: #4A5A6A; font-size: 12.5px; font-weight: 800; letter-spacing: .2px; }
.cab-lecture__carte h2::before { content: none; }
.cab-lecture__fort { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.cab-lecture__fort strong { color: #00345E; font-size: 30px; font-weight: 800; line-height: 1.1; }
.cab-lecture__carte--mouvements .cab-lecture__fort strong { font-size: 19px; }
.cab-lecture__fort span { color: #4A5A6A; font-size: 13px; font-weight: 600; }
.cab-lecture__ligne { margin: 0; color: #00345E; font-size: 13px; line-height: 1.4; }
.cab-lecture__ligne--alerte { color: #8F1C21; font-weight: 700; }
.cab-lecture__date { margin: 4px 0 0; color: #4A5A6A; font-size: 12px; font-weight: 700; }
/* La courbe du marché va d'un bord à l'autre de sa carte */
.cab-lecture__carte--marche { overflow: hidden; }
.cab-marche { position: relative; flex: 1 1 128px; min-height: 128px; margin: 2px -17px -15px; }
.cab-marche svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.cab-marche__base { stroke: var(--ligne); }
.cab-marche__an { fill: #4A5A6A; font-size: 11px; font-weight: 600; text-anchor: middle; font-variant-numeric: tabular-nums; }
.cab-marche__ligne { fill: none; stroke: #00A7FF; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cab-marche__ligne--trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cab-trace 1.3s ease-out forwards; }
@keyframes cab-trace { to { stroke-dashoffset: 0; } }
.cab-marche__tard { animation: cab-fondu .7s ease-out .75s both; }
@keyframes cab-fondu { from { opacity: 0; } to { opacity: 1; } }
.cab-marche__saut { stroke-width: 3; stroke-linecap: round; }
.cab-marche__saut--plus { stroke: #00D274; }
.cab-marche__saut--moins { stroke: #FF6A6E; }
.cab-marche__val { fill: #00345E; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cab-marche__val--fin { font-size: 14px; }
.cab-marche__point { fill: #00A7FF; stroke: var(--carte); stroke-width: 2; }
.cab-marche__halo { fill: #00A7FF; transform-box: fill-box; transform-origin: center; animation: cab-halo 1.6s ease-out 1s 2 both; }
@keyframes cab-halo { from { transform: scale(1); opacity: .5; } to { transform: scale(3); opacity: 0; } }
.cab-marche__repere { stroke: #00345E; stroke-width: 1; stroke-dasharray: 3 3; }
.cab-marche__bulle { position: absolute; top: 4px; z-index: 1; display: grid; gap: 1px; padding: 5px 10px; border-radius: 9px; color: #FFFFFF; background: #00345E; font-size: 11.5px; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px rgba(0, 52, 94, .25); }
.cab-marche__bulle strong { font-size: 13.5px; font-weight: 800; }
/* Les interlocuteurs : qui remplace qui, d'un regard */
.cab-qui { display: grid; margin: 2px 0 0; padding: 0; list-style: none; }
.cab-qui__ligne { display: grid; gap: 6px; padding: 9px 0; border-top: 1px solid var(--ligne); }
.cab-qui__ligne:first-child { padding-top: 4px; border-top: 0; }
.cab-qui__ligne:last-child { padding-bottom: 2px; }
.cab-qui__tete { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; line-height: 1.25; }
.cab-qui__tete strong { color: #00345E; font-weight: 800; }
.cab-qui__tete time { margin-left: auto; color: #4A5A6A; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cab-qui__tag { padding: 1px 8px; border-radius: 999px; color: #00345E; background: #E6F6FF; font-size: 11px; font-weight: 700; white-space: nowrap; }
.cab-qui__noms { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; color: #00345E; font-size: 12.5px; line-height: 1.25; }
.cab-qui__personne { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; }
.cab-qui__personne i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #FFFFFF; background: #00345E; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .2px; }
.cab-qui__personne--avant { color: #4A5A6A; font-weight: 600; }
.cab-qui__personne--avant i { color: #4A5A6A; background: #E4EAF0; }
.cab-qui__fleche { color: #00A7FF; font-size: 16px; font-weight: 800; line-height: 1; }
.cab-qui__cabinet { padding: 3px 10px; border-radius: 999px; color: #4A5A6A; background: #E4EAF0; font-weight: 600; }
.cab-qui__cabinet--neuf { color: #FFFFFF; background: #00345E; font-weight: 700; }
.cab-qui__plus { margin: auto 0 0; padding-top: 6px; color: #00345E; font-size: 12.5px; font-weight: 800; }
.cab-qui__plus::after { content: " →"; color: #00A7FF; }
.cab-lecture__carte:hover .cab-qui__plus { text-decoration: underline; }
.cab-lecture__carte .etiquettes { margin: 0; }
.cab-plie { min-width: 0; padding: 12px 18px; border: 1px solid var(--ligne); border-radius: 14px; background: var(--carte); }
.cab-plie > summary { color: #00345E; font-size: 15px; font-weight: 800; cursor: pointer; }
.cab-plie[open] > summary { margin-bottom: 12px; }
.cab-plie > * + * { margin-top: 10px; }
.cab-pan__outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.cab-pan__filtres { display: flex; flex-wrap: wrap; gap: 6px; }
.cab-pan__filtre { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border: 1px solid #B8C9D6; border-radius: 999px; color: #00345E; background: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cab-pan__filtre:hover { background: #E6F6FF; }
.cab-pan__filtre b { min-width: 20px; padding: 1px 6px; border-radius: 999px; color: #00345E; background: #E6F6FF; font-size: 12px; text-align: center; }
.cab-pan__filtre[aria-pressed="true"] { border-color: #00345E; color: #FFFFFF; background: #00345E; }
.cab-pan__filtre[aria-pressed="true"] b { color: #FFFFFF; background: rgba(255, 255, 255, .24); }
.cab-pan__tri { display: inline-flex; align-items: center; gap: 8px; color: var(--second); font-size: 13px; }
.cab-pan__tri select { padding: 7px 10px; border: 1px solid #B8C9D6; border-radius: 8px; color: #00345E; background: #FFFFFF; font: inherit; font-size: 13.5px; }
.cab-pan { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13.5px; }
.cab-pan th { padding: 7px 10px; color: var(--second); font-size: 12px; font-weight: 800; text-align: left; border-bottom: 2px solid #00345E; }
.cab-pan td { padding: 9px 10px; vertical-align: top; color: #00345E; border-bottom: 1px solid var(--ligne); }
.cab-pan__nous td { background: #EFFCF5; }
.cab-pan__nom { padding: 0; border: 0; color: #00345E; background: none; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.cab-pan__nom:hover { text-decoration: underline; }
.cab-pan__sous { display: block; margin-top: 2px; color: var(--second); font-size: 11.5px; }
.cab-pan__sous--sorti { color: #8F1C21; font-weight: 700; }
.cab-pan__sous--nouveau { color: #00663A; font-weight: 700; }
.cab-pan__crm { display: inline-block; margin-top: 2px; font-size: 11.5px; }
.cab-pan__nb { font-weight: 800; text-align: center; }
.cab-annees { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 3px; height: 150px; }
.cab-annees__colonne { display: grid; grid-template-rows: 1fr auto 1fr; align-items: stretch; gap: 2px; min-width: 0; }
.cab-annees__haut { display: flex; align-items: flex-end; justify-content: center; min-height: 0; }
.cab-annees__bas { display: flex; align-items: flex-start; justify-content: center; min-height: 0; }
.cab-annees small { color: #4A5A6A; font-size: 10.5px; line-height: 1; text-align: center; }
.cab-annees i { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 26px; border-radius: 3px; color: #00253F; font-size: 10.5px; font-style: normal; font-weight: 800; }
.cab-annees__plus { background: #00D274; }
.cab-annees__moins { background: #FF6A6E; }
@media (prefers-reduced-motion: reduce) { .cab-lecture__carte { transition: none; } .cab-lecture__carte:hover { transform: none; } .cab-marche__ligne--trace { animation: none; stroke-dashoffset: 0; } .cab-marche__tard { animation: none; } .cab-marche__halo { display: none; } }
/* Le bandeau et ses chiffres sont ceux de L'essentiel ; ailleurs, le sujet commence tout de suite. Le titre reste pour les lecteurs d'écran */
#page-cabinets[data-onglet]:not([data-onglet="essentiel"]) .cab-tete { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
