/* Espace du cabinet Nathia (maquette v2, lot 2) : secrétariat et praticien, sur ordinateur.
   Couleurs, polices et composants repris de la maquette (v2.css). */
:root{
  --teal:#0A4D5E; --teal-2:#0A3E4C; --mint:#57CEA6; --mint-ink:#0E8A61; --yellow:#FFFFAC; --sky:#ACEEFD; --cream:#FAECD2;
  --ink:#10292F; --text:#2A3F45; --muted:#5F7379; --faint:#8C9CA0; --line:#E9EDED; --line2:#DCE3E3; --soft:#F5F7F7; --soft2:#EDF2F2; --white:#FFFFFF;
  --font:'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box;}
html, body{margin:0; min-height:100%;}
body{background:var(--white); color:var(--ink); font-family:var(--font); font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased;}
button{font:inherit; color:inherit; cursor:pointer;}
a{color:inherit;}
p{margin:0;}
h1,h2,h3{margin:0;}
[hidden]{display:none !important;}
:focus-visible{outline:2px solid var(--teal); outline-offset:2px;}
.ic{width:20px; height:20px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round;}

/* ------------------------------------------------------------------ châssis : menu à gauche, page à droite */
.desk{display:flex; min-height:100vh; min-height:100dvh;}
.nav{flex:0 0 264px; width:264px; height:100vh; height:100dvh; position:sticky; top:0; background:#F7F9F9; border-right:1px solid var(--line);
     padding:22px 14px 16px; display:flex; flex-direction:column; overflow-y:auto;}
.brand{display:flex; align-items:center; padding:4px 10px; margin-bottom:22px; text-decoration:none; color:var(--teal);}
.logo{height:27px; width:auto; display:block;}
.ctx{font-size:13px; color:var(--muted); font-weight:600; padding:0 10px; margin:-10px 0 18px;}
.nlist{display:flex; flex-direction:column; gap:2px;}
.ni{display:flex; align-items:center; gap:11px; height:40px; padding:0 12px; border:0; background:transparent; border-radius:10px;
    font-size:15px; font-weight:600; color:#4C6167; text-align:left; width:100%; text-decoration:none;}
.ni .l{flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.ni:hover{background:#EEF2F2;}
.ni.on{background:#E7EEEE; color:var(--ink);}
.cnt{min-width:22px; height:22px; padding:0 7px; border-radius:999px; background:var(--yellow); color:var(--ink); font-size:12.5px; font-weight:800;
     display:inline-grid; place-items:center; font-variant-numeric:tabular-nums;}
.cnt.soft{background:var(--sky); color:var(--ink);}
.grow{flex:1; min-height:20px;}
.medd{position:relative;}
.me{display:flex; align-items:center; gap:10px; padding:10px; border:0; background:transparent; border-radius:12px; text-align:left; width:100%;}
.me:hover, .medd.open .me{background:#EEF2F2;}
.me .l{flex:1; min-width:0;}
.me b{display:block; font-size:13.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.me small{display:block; font-size:12.5px; color:var(--muted);}
.me .ic{width:18px; height:18px; color:var(--muted);}
.av{width:32px; height:32px; border-radius:50%; background:var(--teal); color:#fff; font-size:12px; font-weight:800; display:grid; place-items:center; flex:0 0 auto; letter-spacing:.02em;}
.av.b{background:#1E7B9C;}
.ddm{position:absolute; z-index:30; padding:6px; background:var(--white); border-radius:16px; box-shadow:0 12px 34px rgba(16,41,47,.16), 0 0 0 1px var(--line);}
.medd .ddm{left:0; right:0; bottom:calc(100% + 8px);}
.ddm button{display:flex; align-items:center; gap:11px; width:100%; padding:9px 10px; border:0; border-radius:11px; background:transparent; text-align:left; font-size:14px; font-weight:700;}
.ddm button:hover, .ddm button:focus-visible{background:var(--soft); outline:none;}
.ddm button[aria-checked="true"]{background:var(--soft2);}
.ddm .ic{width:18px; height:18px; color:var(--muted);}
.main{flex:1; min-width:0;}
.pg{padding:44px 64px 80px; max-width:940px; margin-inline:auto;}
.pg.narrow{max-width:780px;}

/* ------------------------------------------------------------------ texte et boutons */
.h1{font-size:30px; line-height:1.15; font-weight:800; letter-spacing:-.025em; color:var(--ink); text-wrap:balance;}
.h1.q{font-size:25px;}
.h2{font-size:19px; line-height:1.3; font-weight:800; letter-spacing:-.012em;}
.sub1{font-size:15px; color:var(--muted); margin-top:8px;}
.ph{display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:26px;}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 20px; border-radius:999px; border:1px solid var(--line2);
     background:#fff; color:var(--ink); font-size:15px; font-weight:700; text-decoration:none; text-align:center; white-space:nowrap;}
.btn .ic{width:18px; height:18px;}
.btn:hover{border-color:#C6D1D2;}
.btn.pri{background:var(--teal); border-color:var(--teal); color:#fff;}
.btn.pri:hover{background:var(--teal-2);}
.btn[disabled]{opacity:.5; cursor:default;}
.btn.sm{min-height:36px; padding:0 15px; font-size:13.5px;}
.btn.done{background:#DDF5EB; border-color:transparent; color:#0B6B4C; cursor:default;}
.lnk{color:var(--teal); font-weight:700; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1.5px;
     text-decoration-color:rgba(13,76,93,.35); background:none; border:0; padding:0; font-size:inherit;}
.lnk.mute{color:var(--muted); text-decoration-color:rgba(95,115,121,.35);}
.err{color:#A8432F; font-size:14px; font-weight:600; margin-top:12px;}
.back{display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:var(--muted); text-decoration:none; margin-bottom:18px; background:none; border:0; padding:0;}
.back .ic{width:17px; height:17px;}
.back:hover{color:var(--ink);}
.meta{font-size:14px; color:var(--muted); margin-top:10px;}
.st{display:inline-flex; align-items:center; gap:7px; font-size:13.5px; font-weight:600; color:var(--muted); white-space:nowrap;}
.st::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--faint); flex:0 0 auto;}
.st.ok::before{background:var(--mint);}
.st.wait::before{background:var(--sky);}
.pill{display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 12px; border-radius:999px; font-size:13px; font-weight:700; background:var(--soft2); color:var(--ink); white-space:nowrap;}
.loading, .none{padding:26px 8px; color:var(--muted); font-size:15px;}
.foot{margin-top:22px; font-size:14px; color:var(--muted);}

/* ------------------------------------------------------------------ filtre et onglets */
.filt{position:relative; flex:0 0 auto;}
.filt > .btn .ic{width:16px; height:16px; color:var(--muted);}
.filt .ddm{right:0; top:calc(100% + 8px); width:300px;}
.bar{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:8px;}
.seg{display:inline-flex; flex-wrap:wrap; gap:2px; padding:4px; border-radius:24px; background:var(--soft2);}
.seg button{height:36px; padding:0 16px; border:0; border-radius:999px; background:transparent; font-size:14px; font-weight:700; color:var(--muted); display:inline-flex; align-items:center; gap:8px;}
.seg button[aria-pressed="true"]{background:#fff; color:var(--ink); box-shadow:0 1px 2px rgba(16,41,47,.08);}
.seg .cnt{height:20px; min-width:20px; font-size:12px;}

/* ------------------------------------------------------------------ listes */
.ls{border-top:1px solid var(--line); margin-top:14px;}
.li{display:flex; align-items:center; gap:18px; padding:17px 8px; border:0; border-bottom:1px solid var(--line); min-height:70px; text-align:left; width:100%; background:transparent; text-decoration:none;}
.li:hover{background:#FAFBFB;}
.li .tx{flex:1; min-width:0;}
.li .t{display:block; font-size:15.5px; font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
.li .t.b{font-weight:800;}
.li .m{display:block; font-size:13.5px; color:var(--muted); margin-top:4px;}
.li .r{display:flex; align-items:center; gap:14px; flex:0 0 auto;}
.li .when{font-size:13px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums;}
.li .chev{width:18px; height:18px; color:#A8B6B9;}

/* ------------------------------------------------------------------ réponses du secrétariat, ajouts au protocole */
.amel{padding:22px 0; border-bottom:1px solid var(--line);}
.amel .hd{display:flex; align-items:baseline; gap:12px;}
.amel .hd b{font-size:16.5px; flex:1;}
.amel .hd > span{font-size:13.5px; color:var(--muted); white-space:nowrap;}
.amel.aj .hd{align-items:center;}
.ans{margin-top:12px; padding:14px 16px; border-radius:16px; background:var(--soft);}
.ans small{display:block; font-size:13px; color:var(--muted); font-weight:600; margin-bottom:6px;}
.ans p{font-size:15px; line-height:1.6; color:var(--text); white-space:pre-wrap;}
.ans .pill{margin-top:10px;}
.ans + .ans{margin-top:8px;}
.row{display:flex; align-items:center; gap:12px; margin-top:14px; flex-wrap:wrap;}
.row .push{margin-left:auto;}
.ajint{margin:20px 0 6px; font-size:14.5px; line-height:1.6; color:var(--muted); max-width:72ch;}
.ajq{margin-top:10px; font-size:13.5px; line-height:1.5; color:var(--muted);}
.amel.aj.non_ajoute .ajq{color:#8A5F1E;}

/* ------------------------------------------------------------------ la conversation */
.thread{display:flex; flex-direction:column; gap:12px; padding:6px 0; margin-top:26px;}
.thread .bu, .thread .ba, .thread .bc{max-width:78%; padding:12px 16px; border-radius:20px; font-size:15px; line-height:1.55; overflow-wrap:anywhere;}
.thread .bu{align-self:flex-end; background:#D3F4E6; color:var(--ink); border-bottom-right-radius:6px; white-space:pre-wrap;}
.thread .ba{align-self:flex-start; background:var(--soft); color:var(--text); border-bottom-left-radius:6px;}
.thread .bc{align-self:flex-start; background:#fff; box-shadow:inset 0 0 0 1.5px var(--teal); color:var(--text); border-bottom-left-radius:6px; white-space:pre-wrap;}
.thread .ba p + p, .thread .ba p + .cl, .thread .ba .cl + p{margin-top:8px;}
.thread .who{font-size:12.5px; font-weight:700; color:var(--muted);}
.thread .who.r{align-self:flex-end;}
.cl{margin:6px 0 0; padding-left:20px;}
.cl li{margin:4px 0;}
.note{display:flex; align-items:center; gap:9px; align-self:center; font-size:13.5px; color:var(--muted); font-weight:600; padding:4px;}
.note .ic{width:17px; height:17px; color:var(--mint-ink); stroke-width:2.4;}
.reply{margin-top:26px; padding-top:22px; border-top:1px solid var(--line);}
.reply .rule{margin-top:12px; font-size:13.5px; color:var(--muted);}
.reply .state{font-size:15px; color:var(--muted);}
.fld{display:flex; flex-direction:column; gap:8px;}
.fld > span{font-size:14px; font-weight:700; color:var(--ink);}
.ta{font:inherit; font-size:15.5px; color:var(--ink); background:#fff; border:1px solid var(--line2); border-radius:12px; width:100%;
    padding:13px 15px; min-height:130px; resize:vertical; line-height:1.6;}
.ta:focus{outline:none; border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,76,93,.12);}

/* ------------------------------------------------------------------ lien patients (C11, S4) */
.combox{padding:30px 30px 30px 34px; border-radius:24px; background:linear-gradient(135deg, #F2FBF7 0%, #FFFFFF 70%); box-shadow:inset 0 0 0 1px var(--line);}
.combox .lab{display:block; font-size:13px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em;}
.combox .fine{font-size:14px; color:var(--muted); line-height:1.6;}
.combox + .sect{margin-top:56px;}
.linkbox{display:flex; gap:26px; align-items:center;}
.linkbox .tx{flex:1; min-width:0;}
.lkrow{display:flex; flex-wrap:wrap; gap:6px 48px;}
.url{font-size:24px; font-weight:800; letter-spacing:-.015em; color:var(--ink); margin:6px 0 18px; overflow-wrap:anywhere;}
.acts{display:flex; gap:8px; flex-wrap:wrap; align-items:center;}
a.btn{text-decoration:none;}
.lkfine{margin-top:16px; max-width:62ch;}
.qr{display:block; width:136px; height:136px; padding:8px; border-radius:16px; background:#fff; box-shadow:inset 0 0 0 1.5px var(--line); flex:0 0 auto;}
.sh{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px;}
.sel.sm{width:auto; min-width:240px; height:40px; font-size:14.5px; padding:0 12px;}
.form{display:flex; flex-direction:column; gap:18px; max-width:640px; margin-top:18px;}
.form .row{margin-top:0; gap:18px;}

/* les cinq exports d'un protocole, en cartes (C11) et dans le menu Exporter (C3) */
.expgrid{display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:14px; margin-top:18px;}
.expc{display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:18px 18px 16px; border:1px solid var(--line2); border-radius:16px; background:#fff; text-align:left;}
.expc:hover{border-color:var(--teal);}
.expc .ddi, .ddm .ddi{width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; border-radius:11px; background:var(--soft2);}
.expc .ddi{margin-bottom:6px;}
.expc .ddi .ic, .ddm .ddi .ic{width:18px; height:18px; color:var(--teal);}
.expc b{font-size:15px; color:var(--ink);}
.expc small{font-size:13px; line-height:1.45; color:var(--muted);}
.expsw{cursor:default;}
.expsw:hover{border-color:var(--line2);}
.expsw .exhd{display:flex; align-items:flex-start; justify-content:space-between; width:100%;}
.expsw .exl{display:flex; flex-direction:column; align-items:flex-start; gap:2px; font-size:13.5px; margin-top:auto; padding-top:4px;}
.expsw.off .ddi{opacity:.5;}
.sw{width:46px; height:28px; border-radius:999px; border:0; background:#D3DCDD; position:relative; flex:0 0 auto; padding:0;}
.sw::after{content:""; position:absolute; left:3px; top:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.15); transition:left .15s;}
.sw[aria-pressed="true"]{background:var(--mint);}
.sw[aria-pressed="true"]::after{left:21px;}
.sw[disabled]{opacity:.6; cursor:default;}
.dd{position:relative; display:inline-block;}
.dd .ddc{width:16px; height:16px; margin-left:-2px; color:var(--muted); transition:transform .15s ease;}
.dd.open > .btn{background:var(--soft); border-color:#C6D1D2;}
.dd.open .ddc{transform:rotate(180deg);}
.ddm.exp{top:calc(100% + 8px); left:0; width:340px; border-radius:18px;}
.ddm.exp button{gap:13px; padding:10px 12px; border-radius:12px; font-weight:400;}
.ddm .tx b{display:block; font-size:14.5px; font-weight:700; color:var(--ink);}
.ddm .tx small{display:block; margin-top:1px; font-size:13px; line-height:1.4; color:var(--muted);}
.ddm .ddsw{display:flex; align-items:center; gap:8px; padding-right:10px; border-radius:12px;}
.ddm .ddsw > button[role="menuitem"]{flex:1; min-width:0;}
.ddm .ddsw > .sw, .ddm .ddsw > .sw:hover{width:46px; padding:0; display:block; border-radius:999px; background:#D3DCDD;}
.ddm .ddsw > .sw[aria-pressed="true"]{background:var(--mint);}
.imcard.sm{width:min(520px, 100%);}
.imfoot.end{justify-content:flex-end; gap:10px;}

/* ------------------------------------------------------------------ fenêtre d'information, message bref */
.infomod{position:fixed; inset:0; z-index:60; display:grid; place-items:center; padding:32px; background:rgba(16,41,47,.38);}
.imcard{width:min(660px, 100%); max-height:100%; overflow:auto; background:#fff; border-radius:24px; padding:32px 36px 26px; box-shadow:0 24px 60px rgba(16,41,47,.22);}
.imic{width:44px; height:44px; border-radius:14px; background:#E3F6EE; color:var(--mint-ink); display:grid; place-items:center; margin-bottom:16px;}
.imic .ic{width:22px; height:22px;}
.imintro{margin-top:8px; font-size:15px; line-height:1.6; color:var(--text);}
.imcols{display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-top:22px;}
.imcols .lab{font-size:13px; font-weight:800; color:var(--ink);}
.imcols ul{list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;}
.imcols li{display:flex; gap:9px; font-size:14.5px; line-height:1.5; color:var(--text);}
.imcols li .ic{width:17px; height:17px; margin-top:2px; color:var(--mint-ink); stroke-width:2.4;}
.imcols .non li .ic{color:#B9853A;}
.imfoot{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:26px; padding-top:18px; border-top:1px solid var(--line);}
.ck{display:inline-flex; align-items:center; gap:9px; font-size:14px; color:var(--text);}
.ck input{width:18px; height:18px; accent-color:var(--teal);}
.toast{position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:70; max-width:min(560px, calc(100% - 32px));
       padding:13px 20px; border-radius:16px; background:var(--ink); color:#fff; font-size:14.5px; font-weight:600; line-height:1.5;
       box-shadow:0 12px 34px rgba(16,41,47,.25);}

/* ------------------------------------------------------------------ Mes protocoles (lot 3) */
:root{--std-bg:#CDEEFB; --std-dot:#3DB5DE; --vous-bg:#C9EFDF; --vous-dot:#2BB884; --tr-bg:#FBF6B8; --tr-line:#E3D452;}
.sub{display:flex; flex-direction:column; gap:1px; margin:2px 0 8px;}
.sgl{font-size:12px; font-weight:700; color:var(--faint); padding:9px 10px 3px 24px; margin:0;}
.sub .sgl:first-child{padding-top:4px;}
.si{display:flex; align-items:center; gap:10px; min-height:32px; padding:0 10px 0 24px; border-radius:9px; font-size:13.5px; font-weight:600; color:var(--muted); text-decoration:none;}
.si .l{flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.si:hover{background:#EEF2F2; color:var(--ink);}
.si.on{color:var(--ink); background:#E7EEEE;}
.d{width:7px; height:7px; border-radius:50%; flex:0 0 auto; background:var(--mint);}
.d.todo{background:transparent; box-shadow:inset 0 0 0 1.6px #C9B92C;}
.chaps{display:flex; flex-direction:column; gap:1px; margin:3px 0 5px;}
.ci{display:flex; align-items:center; gap:9px; min-height:30px; padding:0 10px 0 40px; border:0; background:transparent; border-radius:9px;
    font-size:13px; font-weight:600; color:var(--muted); text-align:left; width:100%;}
.ci .l{flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.ci .ic{width:15px; height:15px; color:var(--mint-ink); stroke-width:2.2;}
.ci i.n{width:15px; height:15px; border-radius:50%; box-shadow:inset 0 0 0 1.4px #C4CFD1; font-style:normal; font-size:9.5px; font-weight:800;
        display:grid; place-items:center; color:var(--faint); flex:0 0 auto;}
.ci:hover{color:var(--ink);}
.ci[aria-current]{color:var(--ink); background:#E7EEEE;}
.ci[aria-current] i.n{background:var(--teal); box-shadow:none; color:#fff;}
.plus{width:44px; height:44px; border-radius:50%; border:0; background:var(--teal); color:#fff; display:grid; place-items:center; flex:0 0 auto;}
.plus .ic{width:22px; height:22px; stroke-width:2.4;}
.plus:hover{background:var(--teal-2);}
.tb{width:100%; border-collapse:collapse; font-size:14.5px;}
.tb th{font-size:13px; font-weight:700; color:var(--muted); text-align:left; padding:0 10px 12px; border-bottom:1px solid var(--line); white-space:nowrap;}
.tb td{padding:18px 10px; border-bottom:1px solid var(--line); vertical-align:middle;}
.tb tr.go{cursor:pointer;}
.tb tr.go:hover td{background:#FAFBFB;}
.tb .t a{font-weight:700; color:var(--ink); font-size:15px; text-decoration:none;}
.tb td.end{text-align:right;}
.tb .chev{width:18px; height:18px; color:#A8B6B9;}
.techn{font-size:13.5px; font-weight:600; color:var(--muted); margin-left:12px; letter-spacing:0;}
.prog{display:block; font-size:12.5px; color:var(--muted); margin-top:3px;}
.st.todo::before{background:#E3CF2A;}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.sel, .in{font:inherit; font-size:15.5px; color:var(--ink); background:#fff; border:1px solid var(--line2); border-radius:12px; width:100%; height:48px; padding:0 15px;}
.sel:focus, .in:focus{outline:none; border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,76,93,.12);}
.notice{margin-top:18px; padding:12px 16px; border-radius:14px; background:#FCFBE3; box-shadow:inset 0 0 0 1px #ECE79B; font-size:14.5px; color:var(--text);}
.pill.ok{background:#DDF5EB; color:#0B6B4C;}
.pill .ic{width:15px; height:15px; stroke-width:2.2;}
.pill.y{background:var(--yellow);}
.av.l{width:40px; height:40px; font-size:13.5px;}
.meta .st{margin-right:8px;}
.meta .lnk{margin-left:6px;}

/* la lecture d'un protocole (C3, historique) */
.lecture-wrap{margin-top:30px; padding-top:4px; border-top:1px solid var(--line);}
.lecture .chap{padding-top:38px;}
.lecture .chap:first-child{padding-top:10px;}
.cht{display:flex; align-items:center; gap:14px; font-size:23px; font-weight:800; letter-spacing:-.02em; margin-bottom:8px;}
.cht i{width:34px; height:34px; border-radius:50%; background:var(--teal); color:#fff; font-style:normal; font-size:15px; display:grid; place-items:center; flex:0 0 auto;}
.pt{font-size:16px; font-weight:800; color:var(--ink); margin:24px 0 10px;}
.lecture p, .lecture li{font-size:16px; line-height:1.8; color:var(--text); max-width:68ch;}
.lecture p + p, .lecture .cl + p{margin-top:12px;}

/* la relecture (O6) */
.rhead{position:sticky; top:0; z-index:3; background:rgba(255,255,255,.96); backdrop-filter:blur(6px); padding:22px max(64px, calc((100% - 812px) / 2)) 16px; border-bottom:1px solid var(--line);}
.rhead .top{display:flex; align-items:center; gap:16px;}
.rhead .top .h2{flex:1; font-size:21px;}
.saved{display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color:var(--muted); white-space:nowrap;}
.saved .ic{width:16px; height:16px; color:var(--mint-ink); stroke-width:2.4;}
.legend{display:flex; align-items:center; gap:20px; margin-top:12px; font-size:13.5px; color:var(--muted); flex-wrap:wrap;}
.legend span{display:inline-flex; align-items:center; gap:8px;}
.legend i{width:22px; height:14px; border-radius:4px; display:inline-block;}
.legend .lv i{background:var(--vous-bg); box-shadow:inset 0 0 0 1.5px var(--vous-dot);}
.legend .ls2 i{background:var(--std-bg); box-shadow:inset 0 0 0 1.5px var(--std-dot);}
.legend .lt i{background:var(--tr-bg); box-shadow:inset 0 0 0 1.5px var(--tr-line); border-radius:999px;}
.legend b{color:var(--ink); font-weight:800;}
.rbody{padding:30px 64px 90px; max-width:940px; margin-inline:auto;}
.rbody .chap{padding-top:34px; scroll-margin-top:130px;}
.part{margin-top:26px; scroll-margin-top:130px;}
.pmen{font-size:13.5px; color:var(--muted); margin:-4px 0 10px;}
.edw{position:relative;}
.crs{background:#F1F4F4; border-radius:16px; padding:14px 56px 14px 14px;}
.cr + .cr{margin-top:8px;}
.cr .ed{padding:3px 10px; font-size:15.5px; line-height:1.8; color:var(--text);}
.hv, .hs{border-radius:5px; padding:2px 1px; -webkit-box-decoration-break:clone; box-decoration-break:clone;}
.hv{background:var(--vous-bg);}
.hs{background:var(--std-bg);}
.fc{display:inline; font:inherit; font-weight:700; color:var(--ink); background:#fff; border:0; border-radius:6px; padding:1px 6px;
    box-shadow:inset 0 0 0 1.5px var(--line2); line-height:inherit; cursor:pointer;}
.fc.todo{background:var(--tr-bg); box-shadow:inset 0 0 0 1.5px var(--tr-line); color:#7A6F12;}
.fc.reg{background:#EAF6F1; box-shadow:inset 0 0 0 1.5px #9ED9C2; color:var(--teal);}
/* d'où vient une valeur réglée : mêmes couleurs que le texte (protocole standard, vos indications) */
.fc.reg.std{background:var(--std-bg); box-shadow:inset 0 0 0 1.5px var(--std-dot); color:var(--ink);}
.fc.reg.vous{background:var(--vous-bg); box-shadow:inset 0 0 0 1.5px var(--vous-dot); color:var(--ink);}
.rlh{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.org{display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:999px; font-size:12px; font-weight:700; color:var(--ink);}
.org.std{background:var(--std-bg); box-shadow:inset 0 0 0 1.5px var(--std-dot);}
.org.vous{background:var(--vous-bg); box-shadow:inset 0 0 0 1.5px var(--vous-dot);}
.bll li.vous > span{background:var(--vous-bg); border-radius:5px; padding:1px 6px;}
.tr{display:inline; padding:1px 6px; border-radius:999px; background:var(--tr-bg); box-shadow:inset 0 0 0 1.5px var(--tr-line); font-weight:700;}
.rp{margin:4px 10px 2px; padding:7px 10px; border-radius:10px; background:#FFF6E8; color:#8A5F1E; font-size:13.5px; line-height:1.5;}
.rp.ok{background:#E8F7F0; color:#0B6B4C;}
.pen{position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%; border:0; background:#fff; display:grid; place-items:center; color:var(--muted); box-shadow:0 1px 2px rgba(16,41,47,.1);}
.pen .ic{width:17px; height:17px;}
.pen:hover{color:var(--teal);}
.vrow{display:flex; justify-content:flex-end; align-items:center; gap:12px; margin-top:10px; flex-wrap:wrap;}
.vrow .err{margin:0 auto 0 0;}
.edmode{background:#fff; border-radius:16px; padding:14px; box-shadow:inset 0 0 0 2px var(--teal);}
.edlist{display:flex; flex-direction:column; gap:8px;}
.ta.auto{min-height:0; resize:none; overflow:hidden; font-size:15px; line-height:1.7; padding:9px 12px;}
.edmode > .lnk{margin-top:12px; font-size:14px;}
.edmode .fine{margin-top:10px;}
.fieldsp{padding:22px 24px; border-radius:20px; background:#FBFCFC; box-shadow:inset 0 0 0 1px var(--line); margin-bottom:10px;}
.fieldsp .fine{margin:6px 0 18px;}
.fieldsp .fld.todo .in{background:#FFFDE8; border-color:var(--tr-line);}
.fieldsp .sugg{display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; font-size:13px; color:#7A6F12;}
.fieldsp .sugg .lnk{font-size:13px;}
/* fiches de réglages : la valeur s'écrit dans toutes les consignes concernées */
.fiche{padding:22px 24px; border-radius:20px; background:#FBFCFC; box-shadow:inset 0 0 0 1px var(--line); margin:14px 0 10px;}
.fiche .fhd{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.fiche .fk{display:block; font-size:12px; font-weight:800; color:var(--faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom:2px;}
.fiche .fine{margin:6px 0 18px; max-width:72ch;}
.rgl{display:flex; flex-direction:column; gap:18px;}
.rgr{display:flex; flex-direction:column; gap:8px; align-items:flex-start;}
.rgr .rl{font-size:14px; font-weight:700; color:var(--ink);}
.rng{display:flex; align-items:flex-end; gap:20px; flex-wrap:wrap;}
.rng label{display:flex; flex-direction:column; gap:2px; font-size:12.5px; font-weight:600; color:var(--muted);}
.rng input[type="range"]{width:190px; accent-color:var(--teal);}
.rng .rv{font-size:15px; color:var(--ink); padding-bottom:3px;}
/* le calendrier de chaque sport : un menu par sport, rangés par bloc */
.rgr.blocs{align-items:stretch;}
.rgr.blocs .fine{margin:0;}
.blg{padding:12px 14px; border-radius:14px; background:#fff; box-shadow:inset 0 0 0 1px var(--line);}
.blh{display:block; font-size:12.5px; font-weight:800; color:var(--muted); margin-bottom:8px;}
.bll{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:6px 18px;}
.bll li{display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:14px; color:var(--ink);}
.bll li .sel{flex:0 0 auto; width:290px; max-width:66%;}
.rp.blk{background:#EEF4FB; color:#1F4F7A;}
.rp.blk .lnk{font-size:13.5px;}
.apercu{margin-top:22px; padding-top:16px; border-top:1px solid var(--line);}
.aph{font-size:14px; font-weight:800; color:var(--ink); margin-bottom:10px;}
.apl{display:flex; flex-direction:column; gap:8px; margin-bottom:10px;}
.apc{padding:10px 14px; border-radius:12px; background:#fff; box-shadow:inset 0 0 0 1px var(--line);}
.apc small{display:block; font-size:12.5px; font-weight:700; color:var(--faint); margin-bottom:3px;}
.apc p{font-size:14.5px; line-height:1.65; color:var(--text);}
.apercu > .lnk{font-size:14px;}
.signe{margin-top:44px; padding-top:28px; border-top:1px solid var(--line);}
.signe .h2{margin-bottom:10px;}
.adopt{font-size:15.5px; font-weight:600; color:var(--ink);}
.sigcard{display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:18px 32px; margin-top:22px; padding:22px 26px; border-radius:20px;
         background:linear-gradient(135deg, #EEF9F4 0%, #FFFFFF 75%); box-shadow:inset 0 0 0 1px #D9EEE5;}
.sigl{display:flex; flex-wrap:wrap; align-items:center; gap:14px 40px; min-width:0;}
.sigcard .who{display:flex; align-items:center; gap:12px;}
.sigcard .who b{display:block; font-size:15.5px;}
.sigcard .who small{display:block; font-size:13.5px; color:var(--muted);}
.sigrec{display:flex; flex-wrap:wrap; gap:8px 40px; margin:0;}
.sigrec dt{font-size:13px; font-weight:600; color:var(--muted);}
.sigrec dd{margin:2px 0 0; font-size:15px; font-weight:700; color:var(--ink); white-space:nowrap;}
.btn.lg{min-height:52px; font-size:15.5px;}
.sigprob{margin-top:14px; font-size:14px; color:#8A5F1E;}

/* création depuis les documents (lot 4 : O2, O4) */
.opt{font-size:13px; font-weight:500; color:var(--faint); margin-left:3px;}
.fine{font-size:13.5px; color:var(--muted);}
.steps{display:flex; align-items:center; list-style:none; margin:0 0 34px; padding:0; flex-wrap:wrap; row-gap:10px;}
.steps li{display:flex; align-items:center; gap:10px; font-size:14px; font-weight:700; color:var(--faint); white-space:nowrap;}
.steps li + li::before{content:""; width:34px; height:1.5px; background:var(--line2); margin:0 14px;}
.steps i{width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:13px; box-shadow:inset 0 0 0 1.5px var(--line2);}
.steps .ic{width:15px; height:15px; stroke-width:2.6;}
.steps li.done{color:var(--muted);} .steps li.done i{background:var(--mint); box-shadow:none; color:var(--ink);}
.steps li.now{color:var(--ink);} .steps li.now i{background:var(--teal); box-shadow:none; color:#fff;}
.sect{margin-top:40px;}
.drop{border:1.5px dashed #C9D4D5; border-radius:16px; padding:22px 24px; display:flex; align-items:center; gap:18px; background:#FBFCFC; margin-top:16px;}
.drop.over{border-color:var(--teal); background:#F2FBF7;}
.drop > .ic{width:26px; height:26px; color:var(--teal);}
.drop b{display:block; font-size:15px;}
.drop .fine{display:block; margin-top:2px;}
.files{display:flex; flex-direction:column; gap:8px; margin-top:12px;}
.fr{display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:var(--soft);}
.fr > .ic{width:19px; height:19px; color:var(--teal);}
.fr .tx{flex:1; min-width:0;}
.fr b{display:block; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.fr small{display:block; font-size:12.5px; color:var(--muted);}
.fr .x{width:32px; height:32px; border:0; border-radius:50%; background:transparent; display:grid; place-items:center; color:var(--muted);}
.fr .x:hover{background:#fff; color:var(--ink);}
.fr .x .ic{width:16px; height:16px;}
.liens{display:flex; flex-direction:column; gap:8px;}
.inrow{display:flex; gap:8px;}
.inrow .in{flex:1;}
.sticky-foot{position:sticky; bottom:0; background:linear-gradient(to top, #fff 72%, rgba(255,255,255,0)); padding:24px 0 10px; margin-top:30px;
             display:flex; align-items:center; gap:22px; flex-wrap:wrap;}
.prog{list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:18px;}
.prog li{display:flex; gap:14px; align-items:flex-start;}
.prog .k{width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:800; flex:0 0 auto;
         box-shadow:inset 0 0 0 1.5px var(--line2); color:var(--faint);}
.prog .k .ic{width:15px; height:15px; stroke-width:2.6;}
.prog b{display:block; font-size:16px; color:var(--faint);}
.prog small{display:block; font-size:14px; color:var(--muted); margin-top:2px;}
.prog li.done .k{background:var(--mint); box-shadow:none; color:var(--ink);} .prog li.done b{color:var(--ink);}
.prog li.now .k{background:var(--teal); box-shadow:none; color:#fff; animation:pulse 1.6s ease-in-out infinite;} .prog li.now b{color:var(--ink);}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.55;}}
/* point à trancher, dans la relecture */
.cr.choix{padding:8px 10px; border-radius:12px; background:#fff; box-shadow:inset 0 0 0 1.5px var(--vous-dot);}
.cr.choix.open{box-shadow:inset 0 0 0 1.5px var(--tr-line); background:#FFFDF0;}
.chq{font-size:13.5px; font-weight:700; color:#7A6F12; margin-bottom:8px;}
.cr.choix:not(.open) .chq{color:var(--muted);}
.opts{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.optc{display:flex; flex-direction:column; gap:4px; text-align:left; padding:12px 14px; border-radius:12px; border:1.5px solid var(--line2); background:#fff;
      font-size:15px; line-height:1.65; color:var(--text);}
.optc small{font-size:12.5px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.03em;}
.optc:hover{border-color:#C6D1D2;}
.optc[aria-pressed="true"]{border-color:var(--teal); box-shadow:0 0 0 2px rgba(13,76,93,.15);}
.optc[aria-pressed="true"] small{color:var(--teal);}

/* conditions d'utilisation du praticien (texte provisoire) */
.cgess{margin-top:24px; padding:22px 24px; border-radius:20px; background:#F2FBF7;}
.cgess ul{list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;}
.cgess li{display:flex; gap:10px; font-size:15px; line-height:1.55; color:var(--text);}
.cgess li .ic{width:18px; height:18px; color:var(--mint-ink); stroke-width:2.4; margin-top:3px;}
.cgart{margin-top:28px;}
.cgart p{margin-top:8px; font-size:15.5px; line-height:1.7; color:var(--text);}

/* ------------------------------------------------------------------ réglages et équipe (lot 6 : R1, R6, R7) */
.pg.wide{max-width:1180px;}
.kick{font-size:13px; font-weight:700; color:var(--muted); margin-bottom:6px;}
.h3{font-size:16.5px; line-height:1.35; font-weight:800; color:var(--ink);}
.me.on{background:#EEF2F2;}
.ddm.compact button{padding:7px 8px; gap:10px;}
.ddm.compact .ddi{width:30px; height:30px; border-radius:9px; flex:0 0 auto; display:grid; place-items:center; background:var(--soft2);}
.ddm.compact .ddi .ic{width:17px; height:17px; color:var(--teal);}
.ddm.compact .tx b{font-size:13.5px; white-space:nowrap;}
.ddm button.on{background:var(--soft2);}
.ddm hr{border:0; border-top:1px solid var(--line); margin:6px 8px;}
.ddm .out .ddi{background:transparent;}
.ddm .out .ddi .ic{color:var(--muted);}
.regrid{display:grid; grid-template-columns:repeat(auto-fit, minmax(420px, 1fr)); gap:22px; margin-top:28px; align-items:start;}
.rcard{border:1px solid var(--line); border-radius:20px; padding:24px 28px 8px; background:#fff; min-width:0;}
.rcard.large{grid-column:1 / -1;}
.rcard > .h2{margin-bottom:4px;}
.set{display:flex; align-items:center; gap:18px; padding:16px 4px; border-bottom:1px solid var(--line); min-height:66px;}
.set .tx{flex:1; min-width:0;}
.set b{display:block; font-size:15px;}
.set small{display:block; font-size:13.5px; color:var(--muted); margin-top:2px; overflow-wrap:anywhere;}
.set .acts{gap:16px;}
.rcard > .set:last-child, .rcard > .accrow:last-child > summary{border-bottom:0;}
.mk.sm{width:36px; height:36px; font-size:14px;}
.logo-c{display:block; width:auto; height:44px; max-width:180px; object-fit:contain; flex:0 0 auto;}
.logo-c.sm{height:36px; max-width:120px;}
.av.g{background:var(--soft2); color:var(--muted);}
.rcard .plus{width:36px; height:36px;}
.rcard .plus .ic{width:18px; height:18px;}
.accq{margin:2px 0 20px 50px; padding-bottom:20px; border-bottom:1px solid var(--line);}
.accq > b{display:block; font-size:14.5px; color:var(--ink);}
.accq > .fine{display:block; margin-top:4px;}
.choix{display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:12px; margin-top:12px;}
.rc{display:flex; align-items:flex-start; gap:12px; padding:16px 18px; border:1px solid var(--line2); border-radius:14px; background:#fff; text-align:left;}
.rc::before{content:""; width:18px; height:18px; border-radius:50%; box-shadow:inset 0 0 0 1.6px #B9C6C8; flex:0 0 auto; margin-top:2px; transition:box-shadow .15s;}
.rc:hover{border-color:#C6D1D2;}
.rc[aria-pressed="true"]{border-color:var(--teal); box-shadow:inset 0 0 0 1px var(--teal);}
.rc[aria-pressed="true"]::before{box-shadow:inset 0 0 0 5.5px var(--teal);}
.rc[disabled]{opacity:.55; cursor:default;}
.rc b{display:block; font-size:15px; color:var(--ink);}
.rc small{display:block; font-size:13.5px; color:var(--muted); margin-top:3px; line-height:1.5;}
.accrow > summary{list-style:none; cursor:pointer;}
.accrow > summary::-webkit-details-marker{display:none;}
.accrow .pill .ic{width:16px; height:16px; transition:transform .15s;}
.accrow[open] .pill .ic{transform:rotate(180deg);}
.accrow[open] > summary{border-bottom:0;}
.accp{margin:0 0 10px 50px; padding:16px 18px; border-radius:14px; background:var(--soft); display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px 24px;}
.accp.flat{margin:0;}
.accact{display:flex; flex-wrap:wrap; gap:8px 22px; margin:0 0 18px 50px;}
.accact .lnk{font-size:14px;}
.journal{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; margin:0; padding:18px 4px 20px;}
.empty-l{margin-top:10px; font-size:14.5px; line-height:1.6; color:var(--muted);}
.empty-l.pad{padding:8px 4px 6px; margin:0; border-bottom:1px solid var(--line);}
.mform{display:flex; flex-direction:column; gap:16px;}
.mform .imfoot{margin-top:6px;}
.mform .fld .fine{font-size:13px;}
.cgu{display:grid; grid-template-columns:230px minmax(0, 1fr); gap:60px; margin-top:44px; align-items:start;}
.cgnav{position:sticky; top:24px; display:flex; flex-direction:column; gap:2px;}
.cgnav button{display:flex; align-items:center; gap:11px; text-align:left; border:0; background:transparent; padding:8px 10px; border-radius:10px; font-size:14px; font-weight:600; color:var(--muted);}
.cgnav button i{flex:0 0 auto; width:22px; height:22px; border-radius:50%; box-shadow:inset 0 0 0 1.4px #C4CFD1; font-style:normal; font-size:11px; font-weight:800; display:grid; place-items:center; color:var(--faint);}
.cgnav button:hover{color:var(--ink);}
.cgnav button[aria-current="true"]{background:var(--soft2); color:var(--ink);}
.cgnav button[aria-current="true"] i{background:var(--teal); box-shadow:none; color:#fff;}
.aide > section{padding-bottom:46px; margin-bottom:46px; border-bottom:1px solid var(--line); scroll-margin-top:24px;}
.aide > section:last-child{border-bottom:0; margin-bottom:0;}
.aide .sub1{max-width:72ch;}
.steps3{display:grid; grid-template-columns:repeat(3, 1fr); gap:30px; margin:24px 0 40px;}
.steps3 div{padding-top:22px; border-top:2px solid var(--line);}
.steps3 div:first-child{border-top-color:var(--teal);}
.steps3 i{font-style:normal; font-size:14px; font-weight:800; color:var(--teal);}
.steps3 b{display:block; font-size:18px; letter-spacing:-.01em; margin:8px 0 6px;}
.steps3 small{display:block; font-size:14.5px; color:var(--muted); line-height:1.55;}
.circuit{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; margin-top:18px;}
.circuit i{width:34px; height:34px; border-radius:50%; background:var(--teal); color:#fff; font-style:normal; font-weight:800; display:grid; place-items:center; margin-bottom:12px;}
.circuit b{display:block; font-size:15.5px;}
.circuit small{display:block; font-size:14px; color:var(--muted); margin-top:3px;}
.quote{margin-top:22px; padding:16px 20px; border-radius:14px; background:var(--soft); font-size:15px; color:var(--text);}
.quote small{display:block; font-size:13px; font-weight:700; color:var(--muted); margin-bottom:4px;}
.vids{display:grid; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); gap:16px; margin-top:18px;}
.vid{display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:0 0 16px; border:1px solid var(--line2); border-radius:18px; background:#fff; text-align:left; overflow:hidden;}
.vth{width:100%; aspect-ratio:16 / 9; display:grid; place-items:center; background:linear-gradient(135deg, #E3F3F7 0%, #F2FBF7 100%); color:var(--teal); margin-bottom:10px;}
.vth .ic{width:44px; height:44px; stroke-width:1.4;}
.vid b, .vid small{padding:0 16px;}
.vid b{font-size:15px; color:var(--ink);}
.vid small{font-size:13px; color:var(--muted);}
.rules{display:grid; grid-template-columns:1fr 1fr; gap:34px; margin-top:18px;}
.rules .rcard{padding-bottom:24px;}
.rules ul{list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:12px;}
.rules li{display:flex; gap:10px; font-size:15px; color:var(--text);}
.rules li .ic{width:18px; height:18px; margin-top:2px; color:var(--mint-ink); stroke-width:2.4;}
.rules .non li .ic{color:#B9853A;}
.aide .imcols{margin-top:18px;}
.docs{margin-top:14px; border-top:1px solid var(--line);}
.resp{margin-top:30px; font-size:14.5px; line-height:1.6; color:var(--muted); max-width:72ch;}

/* ------------------------------------------------------------------ abonnement et premiers pas (lot 7 : R2, I1) */
.empty-l.abo{margin:6px 0 0; padding:0 4px 20px;}
.regout{margin-top:28px;}
.firstd{margin-top:30px; padding:34px 38px 40px; border-radius:24px; background:var(--soft);}
.firstd > .sub1{margin:0 0 22px;}
.firstd .steps3{margin:26px 0 34px;}
.ph .acts{display:flex; align-items:center; gap:10px;}
a.pill{text-decoration:none;}

/* ------------------------------------------------------------------ pages d'impression : le PDF du protocole (D1) et l'affiche */
.printview{flex:1; min-width:0; min-height:100vh; background:#EEF2F2;}
.printbar{position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:22px; padding:12px 28px; background:#fff; border-bottom:1px solid var(--line);}
.printbar .back{margin:0;}
.printbar p{flex:1; font-size:14px; color:var(--muted);}
.paper{display:flex; flex-direction:column; align-items:center; gap:28px; padding:36px 20px 64px; overflow-x:auto;}
.a4{width:210mm; flex:0 0 auto; background:#fff; border-radius:6px; box-shadow:0 2px 10px rgba(16,41,47,.08); position:relative; overflow:hidden; padding:16mm 18mm;
    -webkit-print-color-adjust:exact; print-color-adjust:exact;}
.a4.cover, .a4.poster{height:297mm; padding:14mm 16mm;}
.a4 .cvs{position:absolute; top:-30mm; right:-30mm; width:95mm; height:95mm; border-radius:50%; background:#E6F7F0;}
.a4 .cvs2{position:absolute; top:52mm; right:16mm; width:18mm; height:18mm; border-radius:50%; background:var(--sky); opacity:.55;}
.a4 .cab{position:relative; display:flex; align-items:center; gap:12px;}
.a4 .cab b{display:block; font-size:14px; color:var(--ink);}
.a4 .cab small{display:block; font-size:11.5px; color:var(--muted); margin-top:1px;}
.mk{width:44px; height:44px; flex:0 0 auto; border-radius:50%; background:#18394A; color:#fff; display:grid; place-items:center;
    font-family:Georgia, "Times New Roman", serif; font-style:italic; font-size:17px; letter-spacing:.03em;}
.a4 .h1{position:relative; font-size:36px; margin-top:34mm; max-width:140mm;}
.a4 .sub1{position:relative; font-size:14px; line-height:1.6; margin-top:12px;}
.a4 .som{margin-top:14mm;}
.a4 .som .sr{display:flex; align-items:baseline; gap:14px; font-size:14px; padding:9px 0; border-bottom:1px solid var(--line);}
.a4 .som .sr b{color:var(--teal); width:12px;}
.a4 .pfq{position:absolute; left:16mm; right:16mm; bottom:16mm; display:flex; gap:18px; align-items:center; padding-top:7mm; border-top:1px solid var(--line);}
.a4 .pfq .qr{width:30mm; height:30mm; padding:4px;}
.a4 .pfq b{display:block; font-size:15px;}
.a4 .pfq small{display:block; font-size:12.5px; color:var(--muted); margin-top:3px;}
.a4 .pfq .lc{color:var(--ink); font-weight:700;}
.l15{display:block; margin-top:6px; font-size:12px; color:var(--muted);}
.l15 .y, .a4 .pfq .l15 .y{display:inline; font-size:inherit; background:var(--yellow); color:var(--ink); border-radius:5px; padding:0 5px; font-weight:800;}
.a4 .made{position:absolute; left:16mm; bottom:6mm; display:flex; align-items:center; gap:5px; font-size:10.5px; color:var(--faint);}
.heart{width:11px; height:11px;}
.a4.inner .lecture .chap{padding-top:0;}
.a4.inner .lecture .chap + .chap{margin-top:12mm;}
.a4 .lecture .cht{font-size:20px;}
.a4 .lecture .cht i{width:28px; height:28px; font-size:13px;}
.a4 .lecture .pt{font-size:14px; margin:18px 0 8px; color:var(--teal);}
.a4 .lecture p, .a4 .lecture li{font-size:12.5px; line-height:1.65; max-width:none;}
.a4 .lecture p + p{margin-top:8px;}
.a4.poster .h1{font-size:40px; margin-top:30mm; max-width:150mm;}
.a4.poster .sub1{font-size:17px; max-width:140mm;}
.a4 .pqr{display:flex; align-items:center; gap:12mm; margin-top:20mm;}
.a4 .qr.big{width:72mm; height:72mm; padding:8px; border-radius:20px;}
.a4 .how .step{font-size:16px; line-height:1.55; color:var(--text);}
.a4 .how .step + .step{margin-top:6mm;}
.a4 .how .code{margin-top:3mm; font-size:34px; font-weight:800; letter-spacing:.04em; color:var(--ink);}
.a4 .p15{position:absolute; left:16mm; right:16mm; bottom:16mm; padding-top:6mm; border-top:1px solid var(--line);}
.a4 .p15 .l15{font-size:15px; margin:0;}
@page{size:A4; margin:16mm 16mm 18mm;
      @bottom-right{content:counter(page); font-family:'Plus Jakarta Sans', sans-serif; font-size:9pt; color:#8C9CA0;}}
@page titre{margin:0; @top-left{content:none;} @bottom-right{content:none;}}
@media print{
  body{background:#fff;}
  .noprint, .toast, .infomod{display:none !important;}
  .desk{display:block; min-height:0;}
  .printview{background:#fff; min-height:0;}
  .paper{display:block; padding:0; overflow:visible;}
  .a4{width:auto; box-shadow:none; border-radius:0; padding:0; overflow:visible;}
  .a4.cover, .a4.poster{page:titre; width:210mm; height:296.5mm; padding:14mm 16mm; overflow:hidden; break-after:page;}
  .a4.inner .lecture .chap + .chap{margin-top:0; break-before:page;}
  .a4 .cht, .a4 .pt{break-after:avoid;}
  .a4 .lecture p, .a4 .lecture li{orphans:3; widows:3;}
}

/* ------------------------------------------------------------------ petits écrans : le menu passe en haut */
@media (max-width: 900px){
  .desk{flex-direction:column;}
  .nav{position:static; width:auto; height:auto; flex:none; flex-direction:row; flex-wrap:wrap; align-items:center; gap:6px 10px; padding:12px 16px;}
  .brand{margin:0 8px 0 0; padding:4px 0;}
  .ctx{display:none;}
  .nlist{flex-direction:row; flex-wrap:wrap;}
  .ni{width:auto;}
  .grow{display:none;}
  .medd{margin-left:auto;}
  .medd .ddm{left:auto; right:0; bottom:auto; top:calc(100% + 8px); width:220px;}
  .me .l{display:none;}
  .pg{padding:28px 16px 60px;}
  .ph{flex-direction:column; gap:14px;}
  .fiche{padding:18px 16px;}
  .rng label{flex:1 1 140px;}
  .rng input[type="range"]{width:100%;}
  .thread .bu, .thread .ba, .thread .bc{max-width:90%;}
  .imcols{grid-template-columns:1fr;}
  .imcard{padding:26px 22px 22px;}
  .li{gap:12px;}
  .li .when{display:none;}
  .sub, .chaps{display:none;}
  .rhead{padding:16px;}
  .rbody{padding:20px 16px 60px;}
  .grid2{grid-template-columns:1fr;}
  .sigcard{grid-template-columns:1fr;}
  .crs{padding:12px 48px 12px 8px;}
  .opts{grid-template-columns:1fr;}
  .drop{flex-direction:column; align-items:flex-start;}
  .steps li + li::before{width:14px; margin:0 8px;}
  .linkbox{flex-direction:column-reverse; align-items:flex-start;}
  .combox{padding:24px 20px;}
  .sh{flex-direction:column; align-items:flex-start;}
  .ddm.exp{width:min(340px, calc(100vw - 32px));}
  .printbar{flex-wrap:wrap; padding:12px 16px;}
  .regrid{grid-template-columns:1fr;}
  .rcard{padding:20px 18px 6px;}
  .accq, .accp, .accact{margin-left:0;}
  .cgu{grid-template-columns:1fr; gap:24px;}
  .cgnav{display:none;}
  .steps3, .circuit, .rules{grid-template-columns:1fr;}
}
