/* ════════════════════════════════════════════════════════════════════════════
   SITES ET DEMANDES · L'APPLI (29/11/2026, repris selon la charte d'ergonomie commune)
   Couleur signature : cuivre #e1e1e7. Socle commun : fond noir, verre .045, filet .14, rayon 22, police système.
   Cinq tailles de texte seulement : 12 (13 sous 768 px), 14, 16, 22, 32/40. Boutons tactiles 44 px, champs en 16 px.
   Une seule surface vedette (noir teinté à 8 % du cuivre), un seul bouton blanc par écran (« Traiter les demandes »).
   Tout est rangé sous .dq : rien ne déborde sur les autres modules.
   ════════════════════════════════════════════════════════════════════════════ */
.dq{--cu:#e1e1e7;--app-accent:#e1e1e7;--cu2:#efeff5;--cu3:#7d7d83;--rouge:#ff453a;--cu-l:rgba(225,225,231,.08);--verre:rgba(255,255,255,.045);--filet:rgba(255,255,255,.14);--filet2:rgba(255,255,255,.08);
  --t1:#f5f5f7;--t2:rgba(245,245,247,.68);--t3:rgba(245,245,247,.48);--fond:#07080b;--h:36px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif;color:var(--t1);
  position:relative;isolation:isolate;display:flex;flex-direction:column;gap:14px;container-type:inline-size;max-width:1240px;padding-bottom:calc(104px + env(safe-area-inset-bottom));font-size:14px}
.dq *{box-sizing:border-box}
.dq::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(620px 420px at 78% 8%,rgba(225,225,231,.08),transparent 70%),radial-gradient(520px 380px at 18% 92%,rgba(225,225,231,.04),transparent 70%)}
.dq button,.dq input{font-family:inherit}
.dq button:focus-visible,.dq a:focus-visible,.dq summary:focus-visible{outline:2px solid rgba(255,255,255,.55);outline-offset:2px}

/* ── le bandeau d'une ligne : le tri à l'arrêt, au travail, ou une lecture en panne ── */
.dq-bandeau{order:1;display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 6px 4px 14px;border-radius:14px;border:1px solid var(--filet2);background:rgba(255,255,255,.04);font-size:14px;min-width:0}
.dq-bandeau[hidden]{display:none}
.dq-bandeau.alerte{border-color:rgba(255,69,58,.4);background:rgba(255,69,58,.08);color:#ffd9d6}
.dq-bt{border:0;background:none;color:inherit;font-size:14px;padding:0;text-align:left;cursor:pointer;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
span.dq-bt{cursor:default}
.dq-bt:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.3)}
.dq-orbe{width:8px;height:8px;border-radius:50%;flex:none;background:var(--cu)}
.dq-bandeau.alerte .dq-orbe{background:var(--rouge);animation:dqPoulsR 1.8s ease-out infinite}
.dq-bandeau.cours .dq-orbe{width:18px;height:18px;background:conic-gradient(from 20deg,var(--cu3),var(--cu),var(--cu2),#6a6f7c,var(--cu3));
  -webkit-mask:radial-gradient(circle,transparent 5px,#000 6px);mask:radial-gradient(circle,transparent 5px,#000 6px);animation:dqTour 2.4s linear infinite}

/* ── téléphone : « ‹ Accueil · Sites et demandes », puis les sous-pages en puces ── */
.dq-mob,.dq-puces{display:none}
.dq-mob{order:0;align-items:center;gap:6px;font-size:14px;color:var(--t2);min-width:0}
.dq-mob i{font-style:normal;color:var(--t3)}
.dq-mob b{font-weight:600;color:var(--t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-retour{display:inline-flex;align-items:center;gap:2px;height:44px;padding:0 6px 0 0;border:0;background:none;color:var(--t2);font-size:14px;cursor:pointer}
.dq-retour svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dq-puces{order:3;gap:8px;overflow-x:auto;scrollbar-width:none;position:sticky;top:0;z-index:6;padding:6px 32px 6px 0;margin:-4px 0;
  -webkit-mask:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
.dq-puces::-webkit-scrollbar{display:none}
.dq-puces button{flex:none;height:44px;padding:0 16px;border-radius:99px;border:1px solid var(--filet2);background:rgba(20,21,26,.92);color:var(--t2);font-size:14px;cursor:pointer;white-space:nowrap}
.dq-puces button.on{background:rgba(255,255,255,.14);color:var(--t1);border-color:rgba(255,255,255,.2)}

/* ── l'en-tête unique : nom de l'appli, une ligne de contexte, le choix du site, chercher, un seul bouton ── */
.dq-tete{order:2;display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;padding:10px 12px 10px 10px;border-radius:22px;background:var(--verre);border:1px solid var(--filet);min-width:0}
.dq-logo{width:44px;height:44px;border-radius:14px;flex:none;display:grid;place-items:center;background:linear-gradient(150deg,#e7e7ed,#cfcfd5);color:#1d1d23;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.dq-logo svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dq-tt{min-width:0;flex:0 1 auto}
body.s3 #view .ecx-page.dq.dq .dq-tt h1,.dq .dq-tt h1{margin:0;font-size:22px;color:var(--t1);font-weight:650;letter-spacing:-.02em;line-height:1.15;white-space:nowrap}
.dq-tt p{margin:2px 0 0;font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60ch}
.dq-filtres{display:flex;align-items:center;gap:8px;min-width:0}
.dq-seg{display:flex;gap:2px;padding:3px;border-radius:99px;background:rgba(0,0,0,.28);border:1px solid var(--filet2)}
.dq-seg button{display:inline-flex;align-items:center;gap:6px;height:calc(var(--h) - 6px);padding:0 10px;border-radius:99px;border:0;background:none;color:var(--t2);font-size:12px;cursor:pointer;white-space:nowrap}
.dq-seg button:hover{color:var(--t1)}
.dq-seg button.on{background:rgba(255,255,255,.12);color:var(--t1)}
.dq-seg .dq-pt{width:6px;height:6px;background:transparent}
.dq-seg .dq-pt.vif{background:var(--cu)}
.dq-cherche{display:flex;align-items:center;gap:8px;height:var(--h);padding:0 12px;border-radius:99px;background:rgba(0,0,0,.28);border:1px solid var(--filet2);width:282px;min-width:0;color:var(--t3);cursor:text}
.dq-cherche:focus-within{border-color:rgba(255,255,255,.3)}
.dq-cherche svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;display:block}
.dq .dq-cherche input{flex:1;min-width:0;height:100%;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0;margin:0;color:var(--t1);font-size:16px;outline:none;padding:0;-webkit-appearance:none;appearance:none}
.dq-cherche input::placeholder{color:var(--t3);font-size:14px}
.dq-cherche input::-webkit-search-cancel-button{-webkit-appearance:none}
.dq-lance{flex:none}
.dq-lance svg{width:14px;height:14px}
.dq-maj{order:9;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:12px;color:var(--t3);white-space:nowrap}
.dq-maj button{height:var(--h);padding:0 14px;border-radius:99px;border:1px solid var(--filet2);background:rgba(255,255,255,.05);color:var(--t2);font-size:12px;cursor:pointer}
.dq-maj button:hover{color:var(--t1);background:rgba(255,255,255,.09)}

/* ── les boutons : monochromes ; un seul blanc par écran ── */
.dq-b{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--h);padding:0 16px;border-radius:99px;border:0;background:rgba(255,255,255,.08);color:var(--t1);font-size:14px;font-weight:560;cursor:pointer;text-decoration:none;white-space:nowrap;flex:none}
.dq-b:hover{background:rgba(255,255,255,.13)}
.dq-b:disabled{opacity:.6;cursor:default}
.dq-b svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dq-b.blanc{background:#fff;color:#0b0b0d;font-weight:650}
.dq-b.blanc:hover{background:#e9e9ec}
.dq-b.oui{background:rgba(255,255,255,.2);color:#fff;font-weight:650;min-width:64px}
.dq-b.oui:hover{background:rgba(255,255,255,.28)}
.dq-lien{border:0;background:none;color:var(--t2);font-size:12px;cursor:pointer;padding:0;min-height:var(--h);white-space:nowrap}
.dq-lien:hover{color:var(--t1)}

/* ── la grille ── */
#swCorps{order:4;min-width:0}
.dq-grille{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.dq-kpis{order:1;grid-column:span 12;display:flex;gap:14px;min-width:0}
.dq-gg{order:2;grid-column:span 8;display:flex;min-width:0}
.dq-gv{order:3;grid-column:span 4;display:flex;min-width:0}
.dq-gs{order:5;grid-column:span 12;min-width:0}
.dq-ge{order:4;grid-column:span 12;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:14px}
.dq-gf{order:6;grid-column:span 12;min-width:0}
.dq-c{border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));border:1px solid var(--filet);padding:18px 20px;min-width:0;width:100%;color:var(--t1)}
.dq-ch{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px}
.dq-ch h2{margin:0;font-size:16px;font-weight:620;letter-spacing:-.01em;display:flex;align-items:center;gap:8px}
.dq-ch small{display:block;margin-top:2px;font-size:12px;color:var(--t2)}
.dq-ch .dq-lien{min-height:24px}
.dq-nb{font-style:normal;font-size:12px;font-weight:650;min-width:22px;height:22px;padding:0 7px;border-radius:99px;display:inline-grid;place-items:center;background:rgba(255,255,255,.1);color:var(--t1)}
.dq-calme{margin:4px 0;font-size:12px;color:var(--t3)}
.dq-vide{display:flex;flex-direction:column;gap:3px;padding:14px 4px;font-size:14px}
.dq-vide b{font-weight:600}.dq-vide small{font-size:12px;color:var(--t2)}
.dq-charge{display:grid;grid-template-columns:8fr 4fr;gap:14px}
.dq-charge i{height:120px;border-radius:22px;background:var(--verre);border:1px solid var(--filet2);animation:dqRespire 1.4s ease-in-out infinite alternate}
.dq-charge i:first-child{grid-column:1/-1;height:96px}
.dq-charge i:nth-child(2){height:380px}.dq-charge i:nth-child(3){height:380px}
/* l'état vide positif : une coche dans l'accent, une phrase courte, une action facultative */
.dq-ok{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px 12px;text-align:center}
.dq-ok>i{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(225,225,231,.12);color:var(--cu2);margin-bottom:4px}
.dq-ok>i svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dq-ok b{font-size:14px;font-weight:600}
.dq-ok small{font-size:12px;color:var(--t2);max-width:34ch;line-height:1.45}

/* ── les chiffres : une rangée, un seul en vedette ── */
.dq-k{flex:1 1 0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;min-height:96px;padding:14px 18px;border-radius:22px;border:1px solid var(--filet);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));color:var(--t1);text-align:left;cursor:pointer;transition:transform .2s cubic-bezier(.23,1,.32,1),border-color .15s}
.dq-k:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.24)}
.dq-k small{font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dq-k b{font-size:32px;font-weight:600;letter-spacing:-.03em;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.dq-k span{font-size:12px;color:var(--t3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dq-k.vedette{background:var(--cu-l);border-color:rgba(225,225,231,.5)}
.dq-k.vedette small{color:var(--cu2)}
.dq-k-ok{flex-direction:row;align-items:center;gap:10px;cursor:default}
.dq-k-ok:hover{transform:none}
.dq-k-ok i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(225,225,231,.12);color:var(--cu2);flex:none}
.dq-k-ok i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dq-k-ok b{font-size:14px;letter-spacing:0;white-space:normal}

/* ── le grand bloc : ce qui attend aujourd'hui ── */
.dq-grand{display:flex;flex-direction:column}
.dq-focus{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:18px;background:rgba(0,0,0,.22);border:1px solid var(--filet2)}
.dq-chh{display:flex;align-items:center;gap:14px;min-width:0}
.dq-cht{min-width:0;flex:1}
.dq-pochette{position:relative;border-radius:16px;width:56px;height:56px;flex:none;display:grid;place-items:center;overflow:hidden;
  background:radial-gradient(90px 70px at 50% 80%,rgba(225,225,231,.38),transparent 75%),linear-gradient(170deg,#1b1b21,#0b0908);border:1px solid rgba(255,255,255,.06)}
.dq-pochette b{font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--cu2)}
.dq-live{position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--cu);animation:dqPouls 1.8s ease-out infinite}
.dq-sur{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:12px;color:var(--t3);flex-wrap:wrap}
.dq-cht h3{margin:0;font-size:16px;font-weight:620;letter-spacing:-.01em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dq-org{margin:2px 0 0;font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-next{margin:0;font-size:14px;line-height:1.45;color:var(--t2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dq-postes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dq-postes li{display:flex;flex-direction:column;gap:2px;min-width:0}
.dq-postes li i{display:block;height:4px;border-radius:99px;background:rgba(255,255,255,.1);margin-bottom:6px;overflow:hidden;position:relative}
.dq-postes li.fait i{background:var(--cu)}
.dq-postes li.cours i{background:rgba(225,225,231,.25)}
.dq-postes li.cours i::after{content:"";position:absolute;inset:0;width:40%;background:var(--cu);border-radius:99px;animation:dqCourse 1.2s ease-in-out infinite}
.dq-postes li.sans i{background:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 4px,transparent 4px 8px)}
.dq-postes b{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-postes small{font-size:12px;color:var(--t3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-postes li.cours small{color:var(--cu2)}
.dq-postes li.sans b{color:var(--t3)}
.dq-ctrl{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dq-pas{width:var(--h);height:var(--h);border-radius:50%;border:1px solid var(--filet2);background:none;color:var(--t1);display:grid;place-items:center;cursor:pointer;flex:none}
.dq-pas:hover:not(:disabled){background:rgba(255,255,255,.08)}
.dq-pas:disabled{opacity:.28;cursor:default}
.dq-pas svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dq-num{font-size:12px;color:var(--t3);white-space:nowrap;font-variant-numeric:tabular-nums}
.dq-spin{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;animation:dqTour .8s linear infinite}
.dq-suite{display:flex;flex-direction:column;margin-top:10px}
.dq-vg{display:flex;align-items:center;gap:8px;margin:2px 0 2px;font-size:12px;color:var(--t3)}
.dq-s{display:grid;grid-template-columns:minmax(0,1fr) auto 72px;align-items:center;gap:8px 12px;min-height:52px;padding:4px 0;border-top:1px solid var(--filet2)}
.dq-vg+.dq-s{border-top-color:transparent}
.dq-st{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:none;color:var(--t1);text-align:left;padding:4px 0;cursor:pointer;min-width:0}
.dq-st b{font-size:14px;font-weight:560;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-st small{font-size:12px;color:var(--t2);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-st:hover b{text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:3px}
.dq-s time{font-size:12px;color:var(--t3);text-align:right;white-space:nowrap}
.dq-s.vieille{grid-template-columns:minmax(0,1fr) auto auto}
.dq-sq{font-size:12px;color:var(--cu2);white-space:nowrap}
.dq-sb{display:flex;gap:8px}
.dq-nat{font-style:normal;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:99px;font-size:12px;color:var(--t2);border:1px solid rgba(255,255,255,.14);white-space:nowrap}
.dq-nat.chaude{color:var(--cu2);border-color:rgba(225,225,231,.45)}
.dq-nat.prete{color:var(--t1);border-color:rgba(255,255,255,.32)}

/* ── à valider : quoi, pour qui, échéance ; Ouvrir à gauche, Oui à droite ── */
.dq-valider{display:flex;flex-direction:column}
.dq-vl{display:flex;flex-direction:column}
.dq-ov{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--filet2)}
.dq-ov:first-child{border-top:0;padding-top:4px}
.dq-ovq{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:none;color:var(--t1);text-align:left;padding:0;cursor:pointer;min-width:0}
.dq-ovq small{font-size:12px;color:var(--t3)}
.dq-ovq b{font-size:14px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dq-ovq span{font-size:12px;color:var(--t2);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-ovb{display:flex;justify-content:space-between;gap:8px}

/* ── les sites : chacun sa pièce (sous la ligne de flottaison) ── */
.dq-sites{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}
.dq-site{display:flex;flex-direction:column;gap:10px;text-align:left;cursor:pointer;padding:16px 18px 14px;min-height:170px;transition:transform .2s cubic-bezier(.23,1,.32,1),border-color .15s}
.dq-site:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.24)}
.dq-site.choisi{border-color:rgba(225,225,231,.6)}
.dq-sh{display:flex;align-items:baseline;gap:8px;min-width:0}
.dq-sh b{font-size:16px;font-weight:620;letter-spacing:-.01em;white-space:nowrap}
.dq-sh small{font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.dq-pt{width:8px;height:8px;border-radius:50%;flex:none;background:rgba(255,255,255,.25);align-self:center;display:inline-block}
.dq-pt.vif{background:var(--cu);animation:dqPouls 1.8s ease-out infinite}
.dq-sc{display:flex;gap:10px 22px;flex-wrap:wrap}
.dq-sc>span{display:flex;flex-direction:column;gap:1px;min-width:0}
.dq-sc b{font-size:22px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}
.dq-sc small{font-size:12px;color:var(--t2)}
.dq-mb{display:flex;align-items:flex-end;gap:3px;flex:1 1 40px;min-height:40px;max-height:84px;margin-top:4px}
.dq-mb i{flex:1;min-width:0;border-radius:3px 3px 1px 1px;background:rgba(255,255,255,.42)}
.dq-mb i.zero{background:rgba(255,255,255,.1)}
.dq-mb i.auj{background:var(--cu)}
.dq-mb i.auj.zero{background:rgba(225,225,231,.35)}
.dq-sp{display:flex;justify-content:space-between;flex-wrap:wrap;gap:2px 10px}
.dq-sp small{font-size:12px;color:var(--t3);white-space:nowrap}

/* ── fait pour toi : un seul bloc, replié sur une ligne, en dernier ── */
.dq-fpt{padding:0}
.dq-fpt>summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 18px;cursor:pointer;list-style:none;border-radius:22px}
.dq-fpt>summary::-webkit-details-marker{display:none}
.dq-fpt>summary:hover{background:rgba(255,255,255,.03)}
.dq-fpi{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:var(--t2);flex:none}
.dq-fpi svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dq-fpt>summary b{font-size:14px;font-weight:620}
.dq-fps{font-size:12px;color:var(--t2);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-fpc{font-style:normal;font-size:16px;color:var(--t3);transition:transform .2s}
.dq-fpt[open] .dq-fpc{transform:rotate(90deg)}
.dq-fpt[open]>summary{border-bottom:1px solid var(--filet2);border-radius:22px 22px 0 0}
.dq-fpt>.dq-agg,.dq-fpt>.dq-agb{margin:14px 18px}
.dq-agg{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.dq-ag{display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:12px 12px 10px;border-radius:18px;border:1px solid var(--filet2);background:rgba(255,255,255,.04);color:var(--t1);text-align:left;cursor:pointer;min-width:0;transition:background .15s}
.dq-ag:hover{background:rgba(255,255,255,.07)}
.dq-agh{display:flex;align-items:center;gap:6px;margin-bottom:8px;min-width:0}
.dq-agi{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:var(--t2);flex:none}
.dq-agi svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dq-ags{display:inline-flex;align-items:center;gap:6px;height:22px;flex:none;font-size:12px;color:var(--t3);white-space:nowrap}
.dq-ags i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.28)}
.dq-ag.vif .dq-agi{background:rgba(225,225,231,.22);color:var(--cu2)}
.dq-ag.vif .dq-ags{color:var(--t1)}
.dq-ag.vif .dq-ags i{background:var(--cu);animation:dqPouls 1.8s ease-out infinite}
.dq-ag b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-agr{font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-agf{font-size:12px;color:var(--t2);line-height:1.4;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dq-ag time{font-size:12px;color:var(--t3);margin-top:auto;padding-top:6px}
.dq-agb{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;padding-top:14px;border-top:1px solid var(--filet2)}
.dq-agb>div>small{display:block;font-size:12px;color:var(--t3);margin-bottom:6px}
.dq-fil{min-width:0}
.dq-ev{display:flex;align-items:flex-start;gap:8px;width:100%;min-height:44px;border:0;background:none;color:var(--t1);padding:5px 0;text-align:left;cursor:pointer;min-width:0}
.dq-ev i{width:6px;height:6px;border-radius:50%;background:var(--cu);flex:none;opacity:.8;margin-top:7px}
.dq-ev span{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.dq-ev span b{font-size:14px;color:var(--t1);font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-ev span small{font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-ev time{font-size:12px;color:var(--t3);white-space:nowrap;margin-top:2px}
.dq-ev:hover span small{color:var(--t1)}

/* ── les dernières demandes et leurs canaux ── */
.dq-rl{display:flex;flex-direction:column}
.dq-r{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto 72px;align-items:center;gap:12px;min-height:48px;padding:4px 6px;margin:0 -6px;border:0;border-top:1px solid var(--filet2);background:none;color:var(--t1);text-align:left;cursor:pointer;border-radius:10px}
.dq-r:first-child{border-top-color:transparent}
.dq-r:hover{background:rgba(255,255,255,.05)}
.dq-rn{display:flex;align-items:baseline;gap:8px;min-width:0}
.dq-rn b{font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none;max-width:60%}
.dq-rn small{font-size:12px;color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-r time{font-size:12px;color:var(--t3);text-align:right;white-space:nowrap}
.dq .dm-site{font-size:12px;color:var(--t2);border:1px solid rgba(255,255,255,.14);border-radius:99px;padding:2px 8px}
.dq-bar{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.dq-bar li{display:grid;grid-template-columns:minmax(0,130px) minmax(0,1fr) 28px;align-items:center;gap:10px;font-size:12px}
.dq-bar span{color:var(--t2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-bar i{display:block;height:8px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden}
.dq-bar u{display:block;height:100%;border-radius:99px;background:rgba(255,255,255,.7)}
.dq-bar li:first-child u{background:var(--cu)}
.dq-bar b{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}

/* ── les autres écrans de l'appli (boîte, visites, sociétés) prennent le même verre ── */
.dq .sw-card,.dq .sw-fiche,.dq .sw-col{border-radius:22px;background:var(--verre);border-color:var(--filet)}
.dq .sw-outils{margin-bottom:12px}
.dq .sw-outils .stu-cherche{display:none}   /* on cherche depuis l'en-tête : un seul champ */
.dq .sw-card{margin-bottom:14px;padding:18px 20px}
.dq .dm-2.sw-2{gap:14px;margin-bottom:0}
body.s3 #view .dq .sw-card h2,body.s3 #view .dq .sw-fiche h2{font-size:16px;font-weight:620;letter-spacing:-.01em}
.dq .sw-d b{font-size:14px}.dq .sw-d small,.dq .sw-d time{font-size:12px}.dq .sw-d em{font-size:12px}
.dq .sw-onglets button{font-size:14px}
.dq .sw-msg p,.dq .sw-champs dd,.dq .sw-eq p{font-size:14px;line-height:1.5}
.dq .sw-msg small,.dq .sw-champs dt,.dq .sw-eq p small{font-size:12px}
.dq .sw-contact .sw-b,.dq .sw-equipe .sw-b{font-size:14px}
.dq .sw-pt.nouvelle{background:var(--cu);box-shadow:0 0 0 4px rgba(225,225,231,.16)}
.dq .sw-pt.qualifiee{background:#f5f5f7}
.dq .sw-pt.devis_envoye{background:var(--cu2)}
.dq .sw-pt.signee{background:#5ee08f}
.dq .sw-b.plein{background:#fff;color:#0b0b0d}
.dq .sw-equipe .sw-b.plein{background:rgba(255,255,255,.14);color:var(--t1)}   /* un seul blanc dans la fiche : « Répondre par mail » */
.dq-demandes .dq-lance{background:rgba(255,255,255,.1);color:var(--t1)}   /* dans la boîte, le bouton blanc est « Répondre par mail » */
.dq .sw-serie i{background:rgba(255,255,255,.55)}
.dq .dm-barres li i{background:rgba(225,225,231,.16)}

/* ── le menu de l'appli en rail (iPad) : libellé court toujours visible, pastille hors de l'icône ── */
@media (min-width:861px) and (max-width:1180px){
  body[data-page="demandes"].stu-on.lin.rail-on #stuSide.stu-side,body[data-page="demandes"].stu-on.lin.verre.stu2.s3.rail-on #stuSide.stu-side{width:88px!important;max-width:88px!important}
  body[data-page="demandes"].stu-on.lin.rail-on .stu-side[data-mode="projet"] .ecx-nav>button{position:relative;width:70px;min-height:60px;padding:6px 2px}
  body[data-page="demandes"].stu-on.lin.rail-on .stu-side[data-mode="projet"] .ecx-nav>button>span.stu-long{max-width:68px;white-space:normal;overflow:visible;text-overflow:clip;font-size:12px;line-height:1.15;overflow-wrap:normal}
  body[data-page="demandes"].stu-on.lin.rail-on .stu-side[data-mode="projet"] .ecx-nav>button>.ecx-nb{position:absolute;top:-2px;right:0;margin:0;font-size:12px;min-width:20px;height:18px;padding:0 5px;border-radius:99px;display:grid;place-items:center;background:rgba(225,225,231,.24);color:#f8f8fe}
}

/* ── mouvement ── */
@keyframes dqTour{to{transform:rotate(360deg)}}
@keyframes dqPouls{0%{box-shadow:0 0 0 0 rgba(225,225,231,.6)}100%{box-shadow:0 0 0 9px rgba(225,225,231,0)}}
@keyframes dqPoulsR{0%{box-shadow:0 0 0 0 rgba(255,69,58,.6)}100%{box-shadow:0 0 0 9px rgba(255,69,58,0)}}
@keyframes dqCourse{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
@keyframes dqRespire{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.dq *,.dq *::after{animation:none!important;transition:none!important}}

/* ── tactile : boutons et champs à 44 px ── */
@media (pointer:coarse),(max-width:1180px){.dq{--h:44px}}

/* ── tablette ── */
@container (max-width:1000px){
  .dq-cherche{width:200px}
}
@container (max-width:900px){
  .dq-filtres{order:5;flex-basis:100%}
  .dq-tete>.ecx-sp{display:none}
  .dq-cherche{flex:1 1 200px;width:auto}
}
@container (max-width:840px){
  .dq-gg,.dq-gv{grid-column:span 12}
  .dq-ge{grid-template-columns:minmax(0,1fr)}
}
/* ── téléphone : en-tête, à valider, grand bloc, chiffres, puis le reste et les agents repliés ── */
@container (max-width:760px){
  .dq-mob{display:flex}
  .dq-puces{display:flex}
  .dq-tete{padding:12px;gap:10px}
  .dq-tete .ecx-sp{display:none}
  .dq-tt{flex:1}
  .dq-filtres{order:5;flex-basis:100%;overflow-x:auto;scrollbar-width:none}
  .dq-filtres::-webkit-scrollbar{display:none}
  .dq-seg{flex:none}
  .dq-cherche{order:6;flex-basis:100%;width:auto}
  .dq-lance{order:7;flex-basis:100%}
  .dq-bandeau{align-items:center}
  .dq-bt{white-space:normal;line-height:1.35}
  .dq-gv{order:1}.dq-gg{order:2}.dq-kpis{order:3}.dq-ge{order:4}.dq-gs{order:5}.dq-gf{order:6}
  .dq-kpis{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
  .dq-k{min-height:88px;padding:12px}
  .dq-k small{white-space:normal;line-height:1.25}
  .dq-k span{display:none}
  .dq-k b{font-size:22px}
  .dq-r{grid-template-columns:10px minmax(0,1fr) 64px}
  .dq-r .dm-site,.dq-r .dq-rv{display:none}
  .dq-rn{flex-direction:column;gap:0}.dq-rn b{max-width:100%}
  .dq-postes{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}
  .dq-mb{flex:none;height:44px}
  .dq-site{min-height:0}
  .dq-s{grid-template-columns:minmax(0,1fr) auto}
  .dq-s time{display:none}
  .dq-s.vieille{grid-template-columns:minmax(0,1fr)}
  .dq-s.vieille .dq-sq{margin-top:-4px}
  .dq-ctrl .ecx-sp{flex-basis:100%;height:0}
  .dq-ctrl .dq-b{flex:1}
  .dq-valider .dq-ch{margin-bottom:6px}
  .dq-valider .dq-ok{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;text-align:left;gap:4px 12px;padding:4px 0 0}
  .dq-valider .dq-ok>i{width:32px;height:32px;margin:0}
  .dq-valider .dq-ok small{display:none}
  .dq-valider .dq-ok .dq-lien{margin-left:auto}
}
@container (max-width:420px){
  .dq-c{padding:16px}
  .dq-focus{padding:12px}
  .dq-agg{grid-template-columns:minmax(0,1fr)}
  .dq-ag{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"i n s" "i r r" "i f t";column-gap:10px;row-gap:1px;padding:10px 12px}
  .dq-agh{display:contents}
  .dq-agi{grid-area:i;align-self:start}.dq-ags{grid-area:s;justify-self:end}.dq-ag b{grid-area:n;align-self:center}.dq-agr{grid-area:r}.dq-agf{grid-area:f;-webkit-line-clamp:1;margin-top:2px}.dq-ag time{grid-area:t;margin-top:2px;padding-top:0;align-self:end}
  .dq-sc{gap:16px}
  .dq-fpt>summary{flex-wrap:wrap;row-gap:0}
  .dq-fps{order:5;flex-basis:100%;padding-left:42px;white-space:normal}
}
/* sous 768 px, rien sous 13 px */
@media (max-width:767px){
  .dq small,.dq .dq-tt p,.dq .dq-nat,.dq .dq-num,.dq time,.dq .dq-lien,.dq .dq-seg button,.dq .dq-maj,.dq .dq-maj button,.dq .dq-sq,.dq .dq-k span,.dq .dq-postes b,.dq .dq-bar li,.dq .dm-site,.dq .dq-fps,.dq .dq-ags,.dq .dq-agf,.dq .dq-agr,.dq .dq-vg,.dq .dq-nb{font-size:13px}
}
/* 29/11 (vérification finale) : la carte « À valider » commune remplit sa colonne (elle tombait à 42 px sur téléphone) */
.dq-gv>.dq-valider{flex:1 1 auto;min-width:0;width:100%}
