/* Office Acolyte — QG : la boutique en 3D, habillage façon poste de commande. */
:root {
  --nuit: #03050A; --verre: rgba(10, 16, 30, .58); --verre-fort: rgba(9, 14, 27, .82); --trait: rgba(150, 180, 255, .13); --trait-fort: rgba(150, 180, 255, .26);
  --texte: #E8EEFA; --texte-2: #9AA7C0; --texte-3: #5E6A82; --bleu: #7FB2FF; --or: #FFCB5C; --vert: #4CE39A; --rouge: #FF5A4D; --ambre: #FFB547; --violet: #C58CFF;
  --acc: 127, 178, 255; --encre: 255, 255, 255; --ligne: 150, 180, 255; --clair: 232, 238, 250; --creux: 0, 0, 0; --cyan: #5CDCFF;
  --prim-bg: #E8EEFA; --prim-tx: #071023; --boite: rgba(9, 14, 27, .96); --barre: rgba(5, 8, 16, .94); --fond-plein: #0A0F1C; --titre: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--nuit); color: var(--texte); font-family: 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: left; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
#ciel { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#voile-intro { position: fixed; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(3, 5, 10, .85) 100%); pointer-events: none; }

/* étiquettes posées sur la 3D */
#etiquettes { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.etq { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; transition: opacity .3s; }
.etq > * { display: block; }
.etq-hub { margin: 22px 0 0 22px; }
.etq-hub b { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--texte); display: inline; }
.etq-hub .num { display: inline; margin-left: 8px; font-size: 13px; color: var(--bleu); }
.etq-hub small { font-size: 11px; color: var(--texte-3); margin-top: 2px; }
.etq-hub::before { content: ''; position: absolute; left: -16px; top: -14px; width: 14px; height: 14px; border-left: 1px solid var(--trait-fort); border-bottom: 1px solid var(--trait-fort); transform: skewX(-30deg); }
.etq-produit, .etq-commande, .etq-sav { margin: 10px 0 0 14px; }
.etq-produit b, .etq-commande b, .etq-sav b { font-size: 11px; font-weight: 500; color: var(--texte-2); }
.etq-produit small, .etq-commande small, .etq-sav small { font-size: 10px; color: var(--texte-3); font-family: var(--mono); }
.etq.souci b { color: #FFD2CC; }
.etq-hub.petit { margin: 12px 0 0 14px; opacity: .8; } .etq-hub.petit b { font-size: 10px; letter-spacing: .12em; color: var(--texte-2); } .etq-hub.petit .num { font-size: 11px; color: var(--texte-3); } .etq-hub.petit small { font-size: 10px; } .etq-hub.petit::before { display: none; }
.etq.souci small { color: var(--rouge); }

#bulle { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; display: flex; gap: 10px; align-items: center; padding: 9px 12px 9px 9px; max-width: 300px;
  background: var(--verre-fort); border: 1px solid var(--trait-fort); border-radius: 10px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
#bulle[hidden] { display: none; }
#bulle img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; background: #fff; }
#bulle b { display: block; font-size: 13px; font-weight: 500; }
#bulle small { display: block; font-size: 11.5px; color: var(--texte-2); margin-top: 1px; }
#bulle em { display: block; font-style: normal; font-size: 11px; margin-top: 3px; font-family: var(--mono); }

/* HUD commun */
.hud { position: fixed; z-index: 20; opacity: 0; transform: translateY(8px); transition: opacity .9s ease, transform .9s ease; }
body.pret .hud { opacity: 1; transform: none; }
body.capture .hud { transition: none !important; }
body.fiche .p-journal { opacity: 0 !important; pointer-events: none; transform: translateY(10px); transition-delay: 0s !important; }
body.pret .h-marque { transition-delay: .4s; } body.pret .h-modes { transition-delay: 1.6s; } body.pret .h-chiffres { transition-delay: 1.9s; }
body.pret .h-salut { transition-delay: 1.1s; } body.pret .p-decider { transition-delay: 2.3s; } body.pret .p-journal { transition-delay: 2.7s; } body.pret .p-legende { transition-delay: 3s; } body.pret .h-question { transition-delay: 2.5s; }
.panneau, .p-journal, .h-chiffres, .h-question .q-champ, .q-reponse, .h-modes { background: var(--verre); border: 1px solid var(--trait); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.p-tete { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--texte-3); padding-bottom: 10px; border-bottom: 1px solid var(--trait); margin-bottom: 6px; }
.p-tete b { color: var(--texte); font-size: 13px; letter-spacing: 0; font-weight: 500; }

.h-marque { top: 22px; left: 26px; }
.marque { display: flex; gap: 12px; align-items: center; }
.marque b { display: block; font-size: 12px; letter-spacing: .3em; font-weight: 500; }
.marque small { display: block; font-size: 11.5px; color: var(--texte-3); margin-top: 3px; }
.m-logo { width: 30px; height: 30px; flex: none; position: relative; } /* l'orbe d'Acolyte, dessinée par orbe.js */
.m-logo canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.h-etat { margin-top: 14px; font-size: 12px; color: var(--texte-2); display: flex; align-items: center; gap: 8px; }
.pt { width: 6px; height: 6px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(76, 227, 154, .15), 0 0 10px var(--vert); }
.pt.souci { background: var(--rouge); box-shadow: 0 0 0 3px rgba(255, 90, 77, .18), 0 0 10px var(--rouge); }

.h-salut { left: 26px; top: 116px; max-width: 360px; pointer-events: none; }
.h-salut small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); }
.h-salut h1 { font-size: 38px; font-weight: 300; letter-spacing: -.035em; margin: 8px 0 8px; line-height: 1.05; }
.h-salut p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--texte-2); }
.h-salut p b { color: var(--texte); font-weight: 500; }

.h-modes { bottom: 96px; left: 26px; display: flex; padding: 3px; border-radius: 999px; gap: 2px; }
.h-modes button { padding: 6px 12px !important; font-size: 11.5px !important; }
.h-nav { top: 22px; left: 292px; display: flex; padding: 4px; border-radius: 999px; gap: 2px; background: var(--verre); border: 1px solid var(--trait); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
body.pret .h-nav { transition-delay: 1.4s; }
.h-nav button { padding: 9px 16px; white-space: nowrap; border-radius: 999px; font-size: 13px; color: var(--texte-2); transition: background .2s, color .2s; }
.h-nav button:hover { color: var(--texte); }
.h-nav button.actif { background: rgba(var(--acc), .14); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(var(--acc), .28); }
.h-modes button { padding: 8px 16px; border-radius: 999px; font-size: 12.5px; color: var(--texte-2); transition: background .2s, color .2s; }
.h-modes button:hover { color: var(--texte); }
.h-modes button.actif { background: rgba(var(--acc), .14); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(var(--acc), .28); }

.h-chiffres { top: 22px; right: 26px; display: grid; grid-template-columns: repeat(4, auto); border-radius: 14px; }
.kpi { padding: 12px 20px 13px; border-left: 1px solid var(--trait); min-width: 128px; text-align: left; transition: background .2s; }
.kpi:hover { background: rgba(var(--acc), .07); }
.h-chiffres { overflow: hidden; }
.kpi:first-child { border-left: 0; }
.kpi small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--texte-3); }
.kpi b { display: block; font-size: 22px; font-weight: 400; margin: 5px 0 2px; }
.kpi span { font-size: 11.5px; color: var(--texte-2); }
.kpi span.pos { color: var(--vert); }

.p-decider { left: 26px; top: 270px; width: 340px; max-height: calc(100vh - 420px); overflow: auto; border-radius: 16px; padding: 16px 14px 12px; scrollbar-width: none; }
.dec { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 8px; border-radius: 10px; position: relative; transition: background .2s; }
.dec:hover, .dec.focus { background: rgba(var(--acc), .09); }
.dec.focus { box-shadow: inset 0 0 0 1px rgba(var(--acc), .3); }
.dec img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; box-shadow: 0 0 0 1px var(--trait-fort); }
.dec-pt { width: 40px; height: 40px; border-radius: 8px; flex: none; border: 1px solid var(--trait-fort); position: relative; }
.dec-pt::after { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.dec.mauvais { color: var(--rouge); } .dec.attention { color: var(--ambre); } .dec.sav { color: var(--violet); }
.dec::before { content: ''; position: absolute; left: -14px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.dec span { min-width: 0; }
.dec b { display: block; font-size: 13.5px; font-weight: 500; color: var(--texte); }
.dec small { display: block; font-size: 12px; color: var(--texte-2); margin-top: 2px; line-height: 1.35; }
.p-pied { margin: 8px 8px 0; font-size: 11px; color: var(--texte-3); font-family: var(--mono); letter-spacing: .04em; }
.vide { color: var(--texte-2); font-size: 13px; padding: 8px; }

.p-journal { right: 26px; bottom: 26px; width: 330px; border-radius: 16px; padding: 14px 16px 10px; }
.j-l { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 6px 0; font-size: 12px; line-height: 1.4; color: var(--texte-2); }
.j-l time { font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); padding-top: 1px; }

.p-legende { left: 26px; bottom: 26px; display: flex; flex-wrap: wrap; gap: 6px 16px; max-width: 360px; font-size: 11.5px; color: var(--texte-2); }
.p-legende i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.p-legende p { width: 100%; margin: 4px 0 0; font-size: 10.5px; color: var(--texte-3); font-family: var(--mono); }

/* question */
.h-question { left: 50%; bottom: 26px; width: min(620px, calc(100vw - 800px)); min-width: 440px; transform: translateX(-50%); }
body.pret .h-question { transform: translateX(-50%); }
.q-champ { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 12px 0 20px; border-radius: 999px; border-color: var(--trait-fort); box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(var(--acc), .05), 0 0 60px rgba(var(--acc), .08); }
.q-pt { width: 8px; height: 8px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 12px var(--bleu); flex: none; }
.q-champ input { flex: 1; background: none; border: 0; outline: 0; color: var(--texte); font: inherit; font-size: 15px; min-width: 0; }
.q-champ input::placeholder { color: var(--texte-3); }
.q-champ kbd { font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); border: 1px solid var(--trait-fort); border-radius: 6px; padding: 3px 7px; }
.q-reponse { position: absolute; left: 0; right: 0; bottom: 66px; border-radius: 16px; padding: 16px 20px; max-height: 46vh; overflow: auto; }
.q-qui { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--texte-3); margin-top: 6px; }
.q-toi { margin: 4px 0 10px; font-size: 14px; color: var(--texte-2); }
.q-rep { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; }
.q-attente { color: var(--texte-2); font-size: 14px; margin: 6px 0 0; }
.q-attente i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--bleu); margin-right: 3px; animation: clign 1.2s infinite; }
.q-attente i:nth-child(2) { animation-delay: .2s; } .q-attente i:nth-child(3) { animation-delay: .4s; margin-right: 8px; }
@keyframes clign { 50% { opacity: .2; } }

/* fiche */
.p-detail { right: 26px; top: 134px; width: 390px; max-height: calc(100vh - 160px); overflow: auto; border-radius: 18px; padding: 20px; background: var(--verre-fort); border-color: var(--trait-fort); scrollbar-width: none; z-index: 25; }
.p-detail.entre { animation: entre .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes entre { from { opacity: 0; transform: translateX(14px); } }
.f-fermer { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; border-radius: 8px; font-size: 20px; color: var(--texte-3); text-align: center; }
.f-fermer:hover { background: rgba(var(--encre), .06); color: var(--texte); }
.f-sur { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--texte-3); margin: 4px 0 6px; }
.p-detail h2 { font-size: 26px; font-weight: 400; letter-spacing: -.03em; margin: 0; }
.f-sous { font-size: 13px; color: var(--texte-2); margin: 4px 0 0; line-height: 1.45; }
.f-gros { font-size: 40px; font-weight: 300; margin-top: 14px; }
.f-trajet { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 14px; position: relative; }
.f-trajet::before { content: ''; position: absolute; left: 6px; right: 12%; top: 4px; height: 1px; background: var(--trait-fort); }
.f-trajet span { position: relative; font-size: 10.5px; color: var(--texte-3); padding-top: 16px; }
.f-trajet i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--nuit); border: 1px solid var(--trait-fort); }
.f-trajet .fait { color: var(--texte-2); } .f-trajet .fait i { background: var(--bleu); border-color: var(--bleu); }
.f-trajet .ici { color: var(--texte); } .f-trajet .ici i { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(var(--acc), .25), 0 0 12px var(--bleu); }
.f-note { border-radius: 10px; padding: 11px 13px; background: rgba(var(--acc), .07); border: 1px solid var(--trait); margin: 12px 0; font-size: 13px; line-height: 1.45; }
.f-note b { display: block; font-weight: 500; margin-bottom: 2px; }
.f-note span { color: var(--texte-2); }
.f-note.souci { background: rgba(255, 90, 77, .09); border-color: rgba(255, 90, 77, .3); } .f-note.souci b { color: #FFC2BA; }
.f-arts { margin: 10px 0; }
.f-art { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--trait); }
.f-art img, .f-art i { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.f-art div { flex: 1; min-width: 0; }
.f-art b { display: block; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-art small { font-size: 11.5px; color: var(--texte-3); }
.f-art .num { font-size: 13px; color: var(--texte-2); }
.f-bloc { border-radius: 12px; border: 1px solid var(--trait); padding: 4px 14px; margin: 12px 0; }
.f-l { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13px; border-top: 1px solid var(--trait); }
.f-l:first-child { border-top: 0; }
.f-l span { color: var(--texte-2); }
.f-l b { font-weight: 500; font-family: var(--mono); font-size: 12.5px; text-align: right; }
.f-l b.pos { color: var(--vert); }
.f-actions { display: grid; gap: 8px; margin-top: 16px; }
.f-btn { display: block; text-align: center; padding: 12px; border-radius: 11px; font-size: 13.5px; font-weight: 500; border: 1px solid var(--trait-fort); text-decoration: none; color: var(--texte); transition: background .2s; }
.f-btn:hover { background: rgba(var(--acc), .08); }
.f-btn.prim { background: var(--prim-bg); color: var(--prim-tx); border-color: transparent; }
.f-btn.prim:hover { filter: brightness(1.08); }
.f-liste { margin-top: 14px; }
.f-liste button { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 100%; padding: 9px 6px; border-top: 1px solid var(--trait); border-radius: 6px; }
.f-liste button:hover { background: rgba(var(--acc), .06); }
.f-liste img { grid-row: span 2; width: 34px; height: 34px; border-radius: 7px; object-fit: cover; background: #fff; }
.f-liste b { font-size: 13px; font-weight: 500; grid-column: 2; }
.f-liste small { font-size: 11.5px; color: var(--texte-3); grid-column: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-liste em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--texte-2); }
.f-liste em.souci { color: var(--rouge); }
.f-image { width: 100%; border-radius: 12px; margin-top: 14px; background: #fff; }
.f-texte { font-size: 13px; line-height: 1.55; color: var(--texte-2); border-left: 2px solid var(--violet); padding: 4px 0 4px 12px; }

/* ================= Pages (PC) ================= */
.tabbar { display: none; }
body:not([data-ecran="qg"]) #ciel, body:not([data-ecran="qg"]) #etiquettes { width: 34vw; }
body:not([data-ecran="qg"]) .h-salut, body:not([data-ecran="qg"]) .p-decider, body:not([data-ecran="qg"]) .p-journal,
body:not([data-ecran="qg"]) .p-legende, body:not([data-ecran="qg"]) .h-modes, body:not([data-ecran="qg"]) .h-chiffres, body:not([data-ecran="qg"]) .h-question { opacity: 0 !important; pointer-events: none; }
body:not([data-ecran="qg"]) .p-detail { left: 26px; right: auto; top: 140px; width: calc(34vw - 52px); max-width: 380px; max-height: calc(100vh - 170px); }
.page { position: fixed; z-index: 22; left: 34vw; right: 26px; top: 84px; bottom: 26px; overflow: auto; border-radius: 22px; padding: 30px 34px 40px;
  background: rgba(8, 12, 24, .86); border: 1px solid var(--trait-fort); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); scrollbar-width: thin; scrollbar-color: rgba(150,180,255,.2) transparent;
  animation: pg-entre .5s cubic-bezier(.2, .8, .2, 1); box-shadow: -30px 0 80px rgba(0, 0, 0, .35); }
.page[hidden] { display: none; }
@keyframes pg-entre { from { opacity: 0; transform: translateX(24px); } }
.pg-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.pg-sur { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--texte-3); margin-bottom: 8px; }
.pg-tete h1 { font-size: 34px; font-weight: 300; letter-spacing: -.035em; margin: 0; }
.pg-tete p { margin: 6px 0 0; color: var(--texte-2); font-size: 14px; }
.pg-doux { color: var(--texte-2); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.pg-vide { color: var(--texte-3); font-size: 14px; padding: 30px 0; text-align: center; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; border: 1px solid var(--trait-fort); color: var(--texte); text-decoration: none; white-space: nowrap; transition: background .2s; }
.pg-btn:hover { background: rgba(var(--acc), .08); }
.pg-btn.prim { background: var(--prim-bg); color: var(--prim-tx); border-color: transparent; }
.pg-btn.prim:hover { filter: brightness(1.08); }
.pg-btn.prim.confirmer { background: var(--or); }
.pg-btn.petit { padding: 7px 12px; font-size: 12px; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pg-retour { color: var(--texte-2); font-size: 14px; padding: 6px 0 14px; }
.pastille { font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; opacity: .9; }
.t-rouge { color: var(--rouge) !important; } .t-ambre { color: var(--ambre) !important; } .t-bleu { color: var(--bleu) !important; } .t-cyan { color: var(--cyan) !important; } .t-vert { color: var(--vert) !important; } .t-gris { color: var(--texte-2) !important; } .t-violet { color: var(--violet) !important; }
.puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.puces button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--trait); font-size: 12.5px; color: var(--texte-2); }
.puces button span { font-family: var(--mono); margin-left: 7px; color: var(--texte-3); }
.puces button.actif { border-color: rgba(var(--acc), .4); background: rgba(var(--acc), .1); color: var(--texte); }

/* colis */
.pc-etapes { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 12px; border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; }
.pc-etape { position: relative; padding: 16px 18px; border-left: 1px solid var(--trait); transition: background .2s; }
.pc-etape:hover { background: rgba(var(--acc), .05); } .pc-etape.actif { background: rgba(var(--acc), .08); }
.pc-etape:first-child { border-left: 0; }
.pc-etape b { display: block; font-size: 28px; font-weight: 300; }
.pc-etape span { font-size: 12px; color: var(--texte-2); }
.pc-etape::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; opacity: .8; }
.pc-etape.ambre { color: var(--ambre); } .pc-etape.bleu { color: var(--bleu); } .pc-etape.gris { color: var(--texte-3); } .pc-etape.cyan { color: var(--cyan); } .pc-etape.vert { color: var(--vert); }
.pc-etape b { color: var(--texte); } .pc-etape.vide::before { opacity: .15; }
.pc-l { border-top: 1px solid var(--trait); }
.pc-l-haut { display: flex; gap: 14px; align-items: center; width: 100%; padding: 12px 8px; border-radius: 10px; }
.pc-l-haut:hover { background: rgba(var(--acc), .05); }
.pc-l-haut img, .vign { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: #fff; flex: none; }
.pc-l-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pc-l-txt > span { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-l-txt b { font-weight: 500; }
.pc-l-txt em { font-style: normal; color: var(--texte-2); }
.pc-l-txt small { font-size: 12.5px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-l-droite { display: grid; justify-items: end; gap: 6px; font-size: 12px; color: var(--texte-2); }
.pc-l.ouvert { background: rgba(var(--acc), .04); border-radius: 12px; }
.pc-l-detail { padding: 4px 16px 18px 68px; }
.frise { list-style: none; margin: 6px 0 0; padding: 0; position: relative; }
.frise::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--trait-fort); }
.frise li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--texte-2); position: relative; }
.frise i { width: 9px; height: 9px; border-radius: 50%; background: var(--nuit); border: 1px solid var(--trait-fort); margin-top: 4px; }
.frise li.der { color: var(--texte); } .frise li.der i { background: var(--bleu); border-color: var(--bleu); box-shadow: 0 0 10px var(--bleu); }
.frise time { font-family: var(--mono); font-size: 11.5px; color: var(--texte-3); }

/* clients */
.sv-grille { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 22px; align-items: start; }
.sv-liste { display: grid; gap: 4px; }
.sv-l { display: flex; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid transparent; }
.sv-l:hover { background: rgba(var(--acc), .05); }
.sv-l.actif { background: rgba(var(--acc), .08); border-color: var(--trait-fort); }
.sv-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(197, 140, 255, .14); color: var(--violet); border: 1px solid rgba(197, 140, 255, .3); }
.sv-l-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sv-l-txt b { font-size: 13.5px; font-weight: 500; }
.sv-l-txt small { font-size: 12px; color: var(--texte-2); }
.sv-l-txt em { font-style: normal; font-size: 12px; color: var(--texte-3); line-height: 1.4; }
.sv-l-droite { display: grid; justify-items: end; align-content: start; gap: 8px; }
.sv-l-droite time { font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); white-space: nowrap; }
.pt-v { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.sv-dossier { border: 1px solid var(--trait); border-radius: 18px; padding: 22px; background: rgba(var(--encre), .015); }
.sv-d-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sv-d-tete h2 { font-size: 24px; font-weight: 400; letter-spacing: -.02em; margin: 0; }
.sv-d-tete .pg-doux { margin-top: 2px; }
.sv-puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.sv-puces span { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: rgba(var(--encre), .05); color: var(--texte-2); }
.sv-bloc { margin-top: 18px; }
.sv-bloc p { margin: 0; font-size: 14px; line-height: 1.55; }
.sv-bloc details summary { cursor: pointer; color: var(--bleu); font-size: 12.5px; margin-top: 8px; }
.sv-msg { color: var(--texte-2) !important; font-size: 13px !important; margin-top: 8px !important; padding-left: 12px; border-left: 2px solid var(--trait-fort); }
.sv-cmd { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--trait); border-radius: 12px; }
.sv-cmd img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff; }
.sv-cmd > div { flex: 1; } .sv-cmd .pg-sur { margin-bottom: 3px; } .sv-cmd b { display: block; font-size: 14px; font-weight: 500; } .sv-cmd small { font-size: 12px; color: var(--texte-2); }
.sv-bloc textarea { width: 100%; resize: vertical; background: rgba(var(--creux), .25); color: var(--texte); border: 1px solid var(--trait-fort); border-radius: 12px; padding: 14px; font: inherit; font-size: 14px; line-height: 1.55; outline: none; }
.sv-bloc textarea:focus { border-color: rgba(var(--acc), .5); }


@media (max-width: 1480px) and (min-width: 821px) { .kpi { min-width: 0; padding: 11px 14px 12px; } .kpi b { font-size: 19px; } .kpi small { letter-spacing: .08em; } .h-nav button { padding: 8px 12px; } }
/* éléments communs */
kbd { font-family: var(--mono); font-size: 10.5px; color: var(--texte-2); border: 1px solid var(--trait-fort); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; margin: 0 1px; background: rgba(var(--encre), .03); }
.lien { color: var(--bleu); font-size: 12px; text-decoration: none; letter-spacing: 0; font-family: 'Geist', sans-serif; }
.lien:hover { text-decoration: underline; }
.lien-cmd { color: var(--texte); font-family: var(--mono); font-size: inherit; border-bottom: 1px dotted var(--texte-3); }
.lien-cmd:hover { color: var(--bleu); border-color: var(--bleu); }
.h-nav .nav-ic { padding: 9px 12px; display: grid; place-items: center; }
.h-nav .nav-ic svg { width: 16px; height: 16px; }
.f-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pg-pied { margin: 22px 0 0; font-size: 11.5px; color: var(--texte-3); line-height: 1.8; }
.pg-tete-d { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pg-btn[disabled] { opacity: .35; cursor: default; }
.pg-btn.carre { width: 34px; height: 34px; padding: 0; font-size: 18px; }
.puces.petites button { padding: 5px 11px; font-size: 12px; }
.pc-cp { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; margin-bottom: 18px; border-radius: 12px; border: 1px dashed var(--trait-fort); font-size: 12.5px; color: var(--texte-3); transition: background .2s; }
.pc-cp:hover, .pc-cp.actif { background: rgba(var(--encre), .03); color: var(--texte-2); }
.pc-cp i { width: 7px; height: 7px; border-radius: 50%; background: #7F8AA3; flex: none; }
.pc-cp b { color: var(--texte-2); font-weight: 500; }
.pc-cp span { flex: 1; } .pc-cp em { font-style: normal; color: var(--bleu); }
.pc-l-haut.focus, .sv-l.focus { box-shadow: inset 0 0 0 1px rgba(var(--acc), .35); background: rgba(var(--acc), .06); }
.sv-attention { margin: 8px 0 0; font-size: 12.5px; color: var(--ambre); }

/* résultats */
.rs-periode { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--trait); border-radius: 16px; background: rgba(var(--encre), .015); }
.rs-nav { display: flex; align-items: center; gap: 10px; }
.rs-lib { min-width: 170px; } .rs-lib b { display: block; font-size: 16px; font-weight: 500; } .rs-lib small { font-family: var(--mono); font-size: 11px; color: var(--texte-3); }
.rs-presets { margin: 0; }
.rs-dates { display: flex; gap: 10px; align-items: center; width: 100%; padding-top: 10px; border-top: 1px solid var(--trait); font-size: 13px; color: var(--texte-2); flex-wrap: wrap; }
.rs-dates input { background: rgba(var(--creux), .3); border: 1px solid var(--trait-fort); color: var(--texte); border-radius: 8px; padding: 7px 9px; font: inherit; color-scheme: dark; margin-left: 6px; }
.rs-charge { display: flex; align-items: center; gap: 6px; padding: 60px 0; justify-content: center; color: var(--texte-2); font-size: 14px; }
.rs-charge i { width: 6px; height: 6px; border-radius: 50%; background: var(--bleu); animation: clign 1.2s infinite; } .rs-charge i:nth-child(2) { animation-delay: .2s; } .rs-charge i:nth-child(3) { animation-delay: .4s; margin-right: 8px; }
.rs-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rs-k { border: 1px solid var(--trait); border-radius: 14px; padding: 13px 14px; transition: background .2s, border-color .2s; min-width: 0; }
.rs-k:not([disabled]):hover { background: rgba(var(--acc), .05); }
.rs-k[disabled] { cursor: default; opacity: 1; }
.rs-k.actif { border-color: rgba(var(--acc), .45); background: rgba(var(--acc), .07); }
.rs-k.fort { border-color: rgba(76, 227, 154, .32); background: rgba(76, 227, 154, .05); } .rs-k.fort b { color: var(--vert); }
.rs-k small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; color: var(--texte-3); white-space: nowrap; }
.rs-k b { display: block; font-size: 21px; font-weight: 300; margin: 6px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-k span { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 11.5px; color: var(--texte-3); }
.rs-k em { font-style: normal; }
.evo { font-family: var(--mono); font-size: 11px; }
.rs-carte { border: 1px solid var(--trait); border-radius: 16px; padding: 16px 18px; margin-top: 14px; min-width: 0; }
.rs-c-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.rs-c-tete .pg-sur { margin: 0; }
.rs-comp { font-size: 12px; color: var(--texte-2); display: flex; align-items: center; gap: 7px; cursor: pointer; }
.rs-comp input { accent-color: var(--bleu); }
.gr-zone { position: relative; margin: 12px 0 0 46px; }
.gr-y { position: absolute; left: -46px; top: 0; bottom: 0; width: 40px; }
.gr-y span { position: absolute; right: 0; transform: translateY(50%); font-family: var(--mono); font-size: 10px; color: var(--texte-3); white-space: nowrap; }
.ar-graphe { width: 100%; height: 240px; display: block; overflow: visible; }
.ar-graphe .grille { stroke: rgba(var(--ligne), .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ar-graphe .b { fill: rgba(var(--acc), .55); }
.ar-graphe.met-marge .b { fill: rgba(76, 227, 154, .6); } .ar-graphe.met-commandes .b { fill: rgba(255, 203, 92, .6); }
.ar-graphe .prec { fill: none; stroke: rgba(var(--clair), .45); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.ar-graphe .curseur { fill: rgba(var(--acc), .08); transition: opacity .15s; }
.gr-bulle { position: absolute; top: -8px; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; padding: 9px 12px; border-radius: 10px; background: var(--boite); border: 1px solid var(--trait-fort); font-size: 12px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.gr-bulle[hidden] { display: none; }
.gr-bulle b { display: block; font-weight: 500; margin-bottom: 3px; } .gr-bulle span { display: block; color: var(--texte-2); } .gr-bulle em { font-style: normal; color: var(--texte); font-family: var(--mono); }
.ar-axe { display: flex; margin: 6px 0 0 46px; font-family: var(--mono); font-size: 10px; color: var(--texte-3); }
.ar-axe span { flex: 1; text-align: center; white-space: nowrap; overflow: visible; }
.rs-pas { font-size: 11.5px; margin-top: 10px; }
.rs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cascade-l { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--trait); font-size: 13px; }
.cascade-l:first-of-type { border-top: 0; }
.cascade-l small { display: block; font-size: 11px; color: var(--texte-3); }
.cascade-l > span { color: var(--texte-2); min-width: 0; }
.cascade-l i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(var(--acc), .55), rgba(var(--acc), .25)); width: var(--w); min-width: 2px; }
.cascade-l.moins i { background: rgba(255, 90, 77, .45); }
.cascade-l.sous-tot > span, .cascade-l.tot > span { color: var(--texte); }
.cascade-l.net { border-top: 1px solid var(--trait-fort); } .cascade-l.net > span { color: var(--texte); font-weight: 500; } .cascade-l.net b { color: var(--vert); font-size: 15px; } .cascade-l.net i { background: var(--vert); box-shadow: 0 0 10px rgba(76, 227, 154, .5); }
.cascade-l b { font-weight: 500; font-size: 13px; text-align: right; }
.rs-fixes { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--trait-fort); }
.rs-vers-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 12px; }
.rs-vers-k div { padding: 10px 12px; border-radius: 12px; background: rgba(var(--encre), .025); }
.rs-vers-k small { display: block; font-size: 11px; color: var(--texte-3); } .rs-vers-k b { display: block; font-size: 17px; font-weight: 400; margin: 4px 0 2px; } .rs-vers-k span { font-size: 11.5px; color: var(--texte-2); }
.rs-vers a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 9px 6px; border-top: 1px solid var(--trait); color: inherit; text-decoration: none; font-size: 13px; border-radius: 6px; }
.rs-vers a:hover { background: rgba(var(--acc), .05); }
.rs-vers b { font-weight: 500; } .rs-vers small { display: block; font-size: 11px; } .rs-vers .pg-doux { margin: 0; font-size: 11.5px; }
.rs-type { display: grid; grid-template-columns: minmax(0, 1fr) 1.2fr auto 40px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--trait); font-size: 13px; }
.rs-type small { display: block; font-size: 11px; color: var(--texte-3); }
.rs-type i { height: 6px; border-radius: 3px; background: var(--or); width: var(--w); box-shadow: 0 0 10px rgba(255, 203, 92, .35); }
.rs-type em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--texte-3); text-align: right; }
.rang { width: 18px; color: var(--texte-3); font-size: 12px; }
.rs-rech { background: rgba(var(--creux), .3); border: 1px solid var(--trait-fort); color: var(--texte); border-radius: 9px; padding: 8px 12px; font: inherit; font-size: 13px; width: 280px; max-width: 100%; outline: none; }
.rs-rech:focus { border-color: rgba(var(--acc), .5); }
.rs-table { margin-top: 8px; }
.rs-tr { display: grid; grid-template-columns: 62px 98px minmax(0, 2fr) minmax(0, 1fr) 84px 74px 64px 84px; gap: 10px; align-items: center; width: 100%; padding: 8px 6px; border-top: 1px solid var(--trait); font-size: 13px; border-radius: 6px; }
button.rs-tr:hover { background: rgba(var(--acc), .05); }
.rs-tr > span:nth-child(n+5) { text-align: right; }
.rs-tr.annulee { opacity: .45; }
.rs-th { border-top: 0; padding-bottom: 4px; }
.rs-th button { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--texte-3); text-transform: uppercase; }
.rs-th button:nth-child(n+5) { text-align: right; } .rs-th button.actif, .rs-th button:hover { color: var(--texte); }
.rs-p { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-p img { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; background: #fff; flex: none; }
.rs-p em { font-style: normal; color: var(--texte-3); }
.rs-tr .pg-doux { margin: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* résultats v3 : un relevé, pas un tableau de bord en cases */
.rs-tete { margin-bottom: 4px; }
.rs-titre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rs-titre h1 { font-size: 40px; font-weight: 300; letter-spacing: -.04em; margin: 0; }
.rs-fl { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait-fort); color: var(--texte-2); font-size: 18px; text-align: center; transition: background .2s; }
.rs-fl:not([disabled]):hover { background: rgba(var(--acc), .1); color: var(--texte); }
.rs-fl[disabled] { opacity: .3; cursor: default; }
.rs-dates-lib { font-family: var(--mono); font-size: 12px; color: var(--texte-3); margin-left: 4px; }
.rs-exp { margin-left: auto; }
.rs-onglets { display: flex; gap: 22px; border-bottom: 1px solid var(--trait); margin: 18px 0 0; overflow-x: auto; scrollbar-width: none; }
.rs-onglets button, .rs-mets button { padding: 10px 0 11px; font-size: 13.5px; color: var(--texte-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s; }
.rs-onglets button:hover, .rs-mets button:hover { color: var(--texte-2); }
.rs-onglets button.actif, .rs-mets button.actif { color: var(--texte); border-color: var(--bleu); }
.rs-mets { display: flex; gap: 18px; }
.rs-mets button { padding: 4px 0 6px; font-size: 13px; }
.rs-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; padding: 30px 0 28px; border-bottom: 1px solid var(--trait); }
.rs-h-l { font-size: 13px; color: var(--texte-2); }
.rs-h-v { display: block; font-size: 66px; font-weight: 200; letter-spacing: -.05em; line-height: 1; margin: 10px 0 16px; color: var(--texte); }
.rs-hero p { font-size: 15px; color: var(--texte-2); line-height: 1.65; margin: 0; max-width: 470px; }
.rs-hero p b { color: var(--texte); font-weight: 500; }
.rs-stats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 0; }
.rs-stats div { padding: 13px 0; border-top: 1px solid var(--trait); }
.rs-stats dt { font-size: 12px; color: var(--texte-3); }
.rs-stats dd { margin: 4px 0 2px; font-size: 22px; font-weight: 300; }
.rs-stats span { font-size: 12px; color: var(--texte-3); }
.evo { font-family: var(--mono); font-size: 12px; }
.rs-bloc { padding: 26px 0; border-bottom: 1px solid var(--trait); min-width: 0; }
.rs-h3 { font-size: 15px; font-weight: 500; margin: 0 0 14px; color: var(--texte); letter-spacing: -.01em; }
.rs-b-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rs-b-tete .rs-h3 { margin: 0; }
.rs-comp .tiret { display: inline-block; width: 16px; border-top: 1.5px dashed rgba(var(--clair), .55); margin: 0 6px 0 2px; vertical-align: middle; }
.rs-duo { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.ar-graphe { color: var(--bleu); height: 220px; }
.ar-graphe.met-marge { color: var(--vert); } .ar-graphe.met-commandes { color: var(--or); }
.ar-graphe .ligne { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px currentColor); }
.ar-graphe .aire { fill: url(#gr-g); }
.ar-graphe .b { fill: currentColor; opacity: .75; }
.ar-graphe .curseur { stroke: rgba(var(--clair), .35); stroke-width: 1; vector-effect: non-scaling-stroke; transition: opacity .15s; }
.gr-pt { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 3px rgba(var(--acc), .35), 0 0 12px var(--bleu); }
.gr-pt[hidden] { display: none; }
.rs-pas { font-size: 11.5px; color: var(--texte-3); margin: 12px 0 0; }
.rs-retenir { list-style: none; padding: 0; margin: 0; }
.rs-retenir li { position: relative; padding: 11px 0 11px 22px; font-size: 14.5px; line-height: 1.55; color: var(--texte-2); border-top: 1px solid var(--trait); }
.rs-retenir li:first-child { border-top: 0; padding-top: 0; } .rs-retenir li:first-child::before { top: 7px; }
.rs-retenir li::before { content: ''; position: absolute; left: 3px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 8px var(--bleu); }
.rs-retenir b { color: var(--texte); font-weight: 500; }
.releve .rl { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--texte-2); text-decoration: none; cursor: default; }
.releve a.rl { cursor: pointer; } .releve a.rl:hover span { color: var(--texte); }
.rl > span { flex: none; max-width: 64%; }
.rl small { display: block; font-size: 11.5px; color: var(--texte-3); margin-top: 1px; }
.rl > i { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(var(--ligne), .28); transform: translateY(-4px); }
.rl > b { font-weight: 400; color: var(--texte); font-size: 14px; white-space: nowrap; }
.rl.moins > b { color: var(--texte-2); }
.rl.sous { border-top: 1px solid var(--trait); margin-top: 4px; padding-top: 12px; } .rl.sous > span, .rl.sous > b { color: var(--texte); font-weight: 500; }
.rl.net { border-top: 1px solid var(--trait-fort); margin-top: 6px; padding-top: 14px; } .rl.net > span { color: var(--texte); font-weight: 500; font-size: 15px; } .rl.net > b { color: var(--vert); font-size: 20px; }
.rl.fixe { font-size: 13px; } .rl.net2 > span { color: var(--texte); } .rl.net2 > b { font-size: 16px; }
.rl small.t-vert, .rl small.t-ambre, .rl small.t-bleu, .rl small.t-rouge, .rl small.t-gris { display: inline; margin-left: 6px; font-family: var(--mono); font-size: 11px; }
.rs-note { font-size: 12.5px; color: var(--texte-3); margin: 12px 0 0; line-height: 1.55; }
.rs-phrase { font-size: 14px; color: var(--texte-2); line-height: 1.65; margin: 0 0 10px; } .rs-phrase b { color: var(--texte); font-weight: 500; }
.rs-top { list-style: none; padding: 0; margin: 0; }
.rs-top li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--trait); }
.rs-top li:first-child { border-top: 0; padding-top: 0; }
.rs-top img, .rs-top li > i { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.rs-top-n { flex: 1; min-width: 0; }
.rs-top-n b { display: block; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-top-n small { font-size: 11.5px; color: var(--texte-3); }
.rs-top-n u { display: block; height: 2px; margin-top: 7px; width: var(--w); background: var(--or); opacity: .75; border-radius: 2px; box-shadow: 0 0 8px rgba(255, 203, 92, .4); }
.rs-top li > b { font-weight: 400; font-size: 13.5px; }
.rs-types { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--trait); font-size: 13px; color: var(--texte-2); }
.rs-types b { color: var(--texte); font-weight: 500; } .rs-types em { font-style: normal; color: var(--texte-3); font-family: var(--mono); font-size: 11.5px; margin-left: 4px; }

/* team */
.tm-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 14px; }
.tm-carte { border: 1px solid var(--trait); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: rgba(var(--encre), .015); }
.tm-carte.souci { border-color: rgba(255, 90, 77, .45); }
.tm-c-tete { display: flex; align-items: center; gap: 12px; }
.tm-c-tete > div { flex: 1; } .tm-c-tete b { display: block; font-size: 16px; font-weight: 500; } .tm-c-tete small { font-size: 12.5px; color: var(--texte-3); }
.tm-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 16px; border: 1px solid currentColor; flex: none; }
.tm-av.petit { width: 32px; height: 32px; font-size: 13px; }
.av-acolyte { color: #DCE6FF; background: rgba(220, 230, 255, .08); } .av-victor { color: var(--bleu); background: rgba(var(--acc), .1); } .av-lea { color: var(--violet); background: rgba(197, 140, 255, .1); } .av-camille { color: var(--or); background: rgba(255, 203, 92, .1); } .av-max { color: var(--vert); background: rgba(76, 227, 154, .1); } .av-toi { color: var(--texte-2); }
.tm-role { margin: 0; font-size: 14px; line-height: 1.55; color: var(--texte-2); }
.tm-ch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.tm-ch b { display: block; font-size: 24px; font-weight: 300; } .tm-ch span { display: block; font-size: 12px; color: var(--texte-3); line-height: 1.35; margin-top: 2px; }
.tm-pied { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; }
.tm-pied .pg-btn { width: 100%; }
.tm-pied > span { font-size: 12px; color: var(--texte-3); line-height: 1.5; }
.tm-chat { display: grid; grid-template-columns: 240px 1fr; margin-top: 22px; border: 1px solid var(--trait-fort); border-radius: 20px; overflow: hidden; min-height: 560px; background: rgba(var(--creux), .18); }
.tm-qui { border-right: 1px solid var(--trait); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.tm-qui button { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; position: relative; }
.tm-qui button:hover { background: rgba(var(--acc), .05); } .tm-qui button.actif { background: rgba(var(--acc), .1); }
.tm-qui b { display: block; font-size: 14px; font-weight: 500; } .tm-qui small { display: block; font-size: 12px; color: var(--texte-3); }
.tm-qui .pt-v { position: absolute; right: 12px; }
.tm-conv { display: flex; flex-direction: column; min-width: 0; }
.tm-conv-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--trait); }
.tm-conv-tete b { display: block; font-size: 17px; font-weight: 500; } .tm-conv-tete small { display: block; font-size: 13px; color: var(--texte-2); margin-top: 3px; line-height: 1.5; }
.tm-fil { flex: 1; overflow: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; max-height: 520px; }
.tm-vide { margin: auto; text-align: center; color: var(--texte-2); font-size: 15px; } .tm-vide .puces { justify-content: center; margin-top: 14px; }
.msg { max-width: 78%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; }
.msg.user { align-self: flex-end; background: rgba(var(--acc), .16); border-bottom-right-radius: 5px; }
.msg.assistant { align-self: flex-start; background: rgba(var(--encre), .045); border: 1px solid var(--trait); border-bottom-left-radius: 5px; }
.tm-champ { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--trait); }
.tm-champ input { flex: 1; min-width: 0; background: rgba(var(--creux), .3); border: 1px solid var(--trait-fort); border-radius: 12px; color: var(--texte); padding: 12px 14px; font: inherit; font-size: 15px; outline: none; }
.tm-champ input:focus { border-color: rgba(var(--acc), .5); }
.prop { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--acc), .07); border: 1px solid rgba(var(--acc), .25); }
.prop.faite { opacity: .6; }
.prop-tete { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; } .prop-tete span { font-family: var(--mono); font-size: 10.5px; color: var(--ambre); } .prop.faite .prop-tete span { color: var(--vert); }
.prop-texte { margin-top: 8px; font-size: 13px; color: var(--texte-2); white-space: pre-wrap; max-height: 160px; overflow: auto; }
.prop .pg-actions { margin-top: 10px; }
.q-suite { display: inline-block; margin-top: 10px; font-size: 12.5px; }
.tm-journal { margin-top: 22px; border: 1px solid var(--trait); border-radius: 18px; padding: 20px 22px; }
.tm-jour h3 { font-size: 13px; font-weight: 500; color: var(--texte-2); margin: 16px 0 6px; }
.tm-j { display: grid; grid-template-columns: 64px 10px 1fr; gap: 12px; align-items: baseline; padding: 7px 0; font-size: 14px; color: var(--texte-2); line-height: 1.5; }
.tm-j time { font-family: var(--mono); font-size: 11.5px; color: var(--texte-3); }
.tm-j i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; border: 0; }

/* réglages et aide */
.rg { max-width: 760px; }
.rg-l { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 6px 0; }
.rg-l b { display: block; font-size: 14px; font-weight: 500; } .rg-l small { display: block; font-size: 12.5px; color: var(--texte-3); margin-top: 3px; line-height: 1.45; }
.rg-l input:not([type=checkbox]) { background: rgba(var(--creux), .3); border: 1px solid var(--trait-fort); color: var(--texte); border-radius: 9px; padding: 10px 12px; font: inherit; width: 240px; outline: none; }
.rg-l input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--bleu); }
.racc { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px 24px; }
.racc div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--trait); font-size: 13px; }
.racc em { font-style: normal; color: var(--texte-2); text-align: right; }
.aide { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(2, 4, 10, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.aide-boite { position: relative; width: min(760px, calc(100vw - 32px)); max-height: 86vh; overflow: auto; padding: 26px 28px; border-radius: 20px; background: var(--boite); border: 1px solid var(--trait-fort); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 16px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--prim-bg); color: var(--prim-tx); font-size: 13.5px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.toast[hidden] { display: none; }
.toast button { font-weight: 600; color: #1D4ED8; }
.badge { position: absolute; top: 2px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--rouge); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; font-style: normal; }
.badge[hidden] { display: none; }
.h-nav button { position: relative; }
.h-nav .badge { position: static; display: inline-grid; margin-left: 6px; vertical-align: 1px; }
.h-nav .badge[hidden] { display: none; }

.mobile-bas { display: none; }

/* ================= Téléphone : que les données, lisibles, une touche à elle (le pouls du jour) ================= */
@media (max-width: 820px) {
  html, body { overflow: auto; height: auto; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); background: radial-gradient(120% 60% at 50% -10%, #0E1A33 0%, var(--nuit) 60%) fixed; min-height: 100vh; }
  #ciel, #voile-intro, #etiquettes, #bulle, .h-question { display: none !important; }
  .h-nav, .h-modes, .h-chiffres, .p-decider, .p-journal, .p-legende { display: none !important; }
  .hud { transition-delay: 0s !important; transition-duration: .5s; }
  .h-marque { position: relative; top: auto; left: auto; padding: calc(16px + env(safe-area-inset-top)) 16px 0; display: flex; justify-content: space-between; align-items: center; }
  .marque b { font-size: 11px; letter-spacing: .24em; white-space: nowrap; } .marque small { display: none; } .marque { gap: 10px; } .m-logo { width: 26px; height: 26px; }
  .h-etat { margin: 0; font-size: 11.5px; }
  .h-etat i { flex: none; }
  .h-salut { position: relative; left: auto; top: auto; margin: 26px 16px 0; max-width: none; }
  .h-salut small { font-size: 10.5px; }
  .h-salut h1 { font-size: 30px; margin: 6px 0 4px; }
  .h-salut p { font-size: 14.5px; }
  .mobile-bas { display: block; position: relative; z-index: 21; padding: 18px 16px 8px; }
  .pouls { display: block; width: 100%; padding: 16px 16px 10px; border-radius: 20px; background: linear-gradient(180deg, rgba(var(--acc), .09), rgba(var(--acc), .02)); border: 1px solid rgba(var(--acc), .2); position: relative; overflow: hidden; }
  .pouls-tete { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--texte-2); }
  .pouls-tete span { display: flex; align-items: center; gap: 8px; } .pouls-tete em { font-style: normal; font-family: var(--mono); font-size: 11.5px; }
  .pouls-live { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 0 rgba(76, 227, 154, .6); animation: live 2.4s infinite; }
  @keyframes live { 0% { box-shadow: 0 0 0 0 rgba(76, 227, 154, .55); } 70% { box-shadow: 0 0 0 8px rgba(76, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 227, 154, 0); } }
  .pouls-ca { display: block; font-size: 38px; font-weight: 300; margin: 8px 0 2px; letter-spacing: -.03em; }
  .pouls-comp { display: block; font-size: 12.5px; color: var(--texte-2); } .pouls-comp b { font-weight: 500; font-family: var(--mono); }
  .pouls-svg { width: 100%; height: 92px; display: block; margin-top: 12px; overflow: visible; }
  .pouls-hier { fill: none; stroke: rgba(var(--clair), .28); stroke-width: 1.2; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
  .pouls-aire { fill: url(#pg); }
  .pouls-ligne { fill: none; stroke: #9CC4FF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(var(--acc), .8)); }
  .pouls-ligne.trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.4s cubic-bezier(.3, .7, .2, 1) forwards; }
  @keyframes trace { to { stroke-dashoffset: 0; } }
  .pouls-pt { fill: #fff; filter: drop-shadow(0 0 5px var(--bleu)); }
  .pouls-axe { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; color: var(--texte-3); margin-top: 4px; }
  .pouls-vide { height: 92px; margin-top: 12px; border-radius: 10px; background: linear-gradient(90deg, rgba(var(--acc), .04), rgba(var(--acc), .1), rgba(var(--acc), .04)); background-size: 200% 100%; animation: charge 1.4s infinite linear; }
  @keyframes charge { to { background-position: -200% 0; } }
  .m-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .m-duo button { padding: 14px; border-radius: 16px; background: var(--verre); border: 1px solid var(--trait); }
  .m-duo small { display: block; font-size: 11.5px; color: var(--texte-3); }
  .m-duo b { display: block; font-size: 22px; font-weight: 400; margin: 6px 0 2px; }
  .m-duo span { font-size: 11.5px; color: var(--texte-2); }
  .m-titre { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 2px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); }
  .m-titre b { color: var(--texte); font-size: 13px; letter-spacing: 0; }
  .m-carte { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; margin-bottom: 8px; border-radius: 16px; background: var(--verre); border: 1px solid var(--trait); position: relative; overflow: hidden; }
  .m-carte::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: currentColor; box-shadow: 0 0 10px currentColor; }
  .m-carte.mauvais { color: var(--rouge); } .m-carte.attention { color: var(--ambre); } .m-carte.sav { color: var(--violet); }
  .m-carte img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #fff; flex: none; }
  .m-carte .dec-pt { width: 44px; height: 44px; flex: none; border-radius: 10px; }
  .m-carte > span:not(.logo-t) { flex: 1; min-width: 0; }
  .m-carte b { display: block; font-size: 14.5px; font-weight: 500; color: var(--texte); line-height: 1.3; }
  .m-carte small { display: block; font-size: 12.5px; color: var(--texte-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-act { flex: none; padding: 10px 14px; border-radius: 11px; background: var(--prim-bg); color: var(--prim-tx); font-size: 13.5px; font-weight: 500; }
  .m-rien { color: var(--texte-2); font-size: 14px; padding: 18px; text-align: center; border-radius: 16px; border: 1px dashed var(--trait-fort); }
  .m-demander { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 18px; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--trait-fort); font-size: 14px; color: var(--texte-2); }
  .m-demander span { flex: 1; } .m-demander .q-orbe { flex: none; } .m-demander b { color: var(--texte); font-weight: 500; } .m-demander em { font-style: normal; font-size: 20px; color: var(--texte-3); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--barre); border-top: 1px solid var(--trait); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .tabbar button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: 10.5px; color: var(--texte-3); text-align: center; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar button.actif { color: var(--texte); }
  .tabbar button.actif svg { color: var(--bleu); filter: drop-shadow(0 0 6px rgba(var(--acc), .7)); }
  .tabbar .badge { right: calc(50% - 20px); }
  body:not([data-ecran="qg"]) .h-marque, body:not([data-ecran="qg"]) .h-salut, body:not([data-ecran="qg"]) .mobile-bas { display: none; }
  .page { position: static; border: 0; border-radius: 0; background: none; padding: calc(20px + env(safe-area-inset-top)) 16px 30px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; overflow: visible; }
  .pg-tete { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .pg-tete h1 { font-size: 28px; } .pg-tete p { font-size: 13.5px; line-height: 1.5; }
  .pg-pied, kbd { display: none; }
  .pc-etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pc-etape { padding: 12px 8px; } .pc-etape b { font-size: 20px; } .pc-etape span { font-size: 10px; display: block; line-height: 1.25; }
  .pc-cp { font-size: 12px; } .pc-cp span { line-height: 1.4; }
  .pc-l-haut { padding: 12px 0; gap: 12px; } .pc-l-haut img, .vign { width: 42px; height: 42px; }
  .pc-l-droite .pastille { display: none; }
  .pc-l-detail { padding: 0 4px 16px; }
  .sv-dossier { padding: 0; border: 0; background: none; }
  .rs-kpis { grid-template-columns: 1fr 1fr; } .rs-k b { font-size: 19px; } .rs-kpis .rs-k:nth-child(3), .rs-kpis .rs-k:nth-child(6) { display: none; }
  .pg-tete-d [data-exporter] { display: none; }
  .rs-duo, .tm-chat { grid-template-columns: 1fr; }
  .rs-periode { padding: 12px; } .rs-lib { min-width: 0; flex: 1; text-align: center; } .rs-nav { width: 100%; }
  .rs-presets { overflow-x: auto; flex-wrap: nowrap; width: 100%; scrollbar-width: none; } .rs-presets button { flex: none; }
  .ar-graphe { height: 170px; } .gr-zone { margin-left: 40px; } .ar-axe { margin-left: 40px; }
  .rs-tr { grid-template-columns: 54px minmax(0, 1fr) 76px 70px; } .rs-tr > :nth-child(2), .rs-tr > :nth-child(4), .rs-tr > :nth-child(6), .rs-tr > :nth-child(7) { display: none; }
  .rs-th button:nth-child(2), .rs-th button:nth-child(4), .rs-th button:nth-child(6), .rs-th button:nth-child(7) { display: none; }
  .rs-vers-k { grid-template-columns: 1fr 1fr; } .rs-vers-k div:last-child { grid-column: span 2; } .rs-rech { width: 100%; }
  .rs-vers a { grid-template-columns: minmax(0, 1fr) auto; } .rs-vers a > .pg-doux { display: none; }
  .rs-plus { margin-top: 14px; border: 1px solid var(--trait); border-radius: 16px; padding: 14px 16px; }
  .rs-plus summary { font-size: 14px; color: var(--texte-2); cursor: pointer; } .rs-plus .rs-carte { border: 0; padding: 8px 0 0; }
  .tm-lignes { display: grid; gap: 8px; }
  .tm-ligne { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--verre); border: 1px solid var(--trait); }
  .tm-ligne > span:nth-child(2) { flex: 1; } .tm-ligne b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; } .tm-ligne small { font-size: 12.5px; color: var(--texte-2); } .tm-ligne em { font-style: normal; color: var(--texte-3); font-size: 20px; }
  .tm-chat { margin-top: 16px; min-height: 0; }
  .tm-qui { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--trait); scrollbar-width: none; } .tm-qui button { flex: none; } .tm-qui small { display: none; }
  .tm-conv-tete small { display: none; } .tm-conv-tete { padding: 12px 16px; }
  .tm-fil { max-height: none; min-height: 240px; padding: 16px; } .msg { max-width: 90%; font-size: 14.5px; }
  .tm-journal { margin-top: 16px; padding: 14px 16px; } .tm-journal summary { font-size: 14px; color: var(--texte-2); cursor: pointer; } .tm-j { grid-template-columns: 48px 6px 1fr; font-size: 13px; } .tm-j i { color: var(--bleu); }
  .rs-titre h1 { font-size: 30px; } .rs-exp { display: none; } .rs-dates-lib { width: 100%; margin: 0; }
  .rs-onglets { gap: 16px; margin-top: 12px; }
  .rs-hero { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
  .rs-h-v { font-size: 48px; margin: 8px 0 12px; }
  .rs-hero p { font-size: 14px; }
  .rs-stats dd { font-size: 19px; }
  .rs-duo { grid-template-columns: 1fr; }
  .ar-graphe { height: 170px; }
  .m-releve { margin-top: 12px; padding: 8px 16px; border-radius: 18px; background: var(--verre); border: 1px solid var(--trait); }
  .m-releve .rl.net { border-top: 0; margin-top: 0; padding-top: 10px; } .m-releve .rl.net > b { font-size: 19px; }
  .rs-plus { border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; padding: 16px 0; margin: 0; }
  .p-detail { left: 10px; right: 10px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; max-height: 70vh; position: fixed; z-index: 45; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); width: calc(100% - 32px); justify-content: space-between; }
  .aide { display: none; }
}

/* ===== v61 : vrais graphiques en barres ===== */
.gr { position: relative; margin-top: 14px; --c: var(--bleu); }
.gr.ton-vert { --c: var(--vert); } .gr.ton-or { --c: var(--or); }
.gr-cadre { display: grid; grid-template-columns: 48px 1fr; height: var(--h); }
.gr-y { position: relative; }
.gr-y span { position: absolute; right: 10px; transform: translateY(50%); font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); white-space: nowrap; }
.gr-plot { position: relative; }
.gr-g { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid rgba(var(--ligne), .07); }
.gr-g.zero { border-top-color: rgba(var(--ligne), .22); }
.gr-moy { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(var(--clair), .3); z-index: 2; pointer-events: none; }
.gr-moy span { position: absolute; right: 0; bottom: 3px; font-size: 10.5px; color: var(--texte-2); background: var(--fond-plein); padding: 1px 6px; border-radius: 4px; }
.gr-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.gr-col { position: relative; height: 100%; cursor: default; }
.gr-col:hover, .gr-col.sur { background: rgba(var(--acc), .05); }
.gr-b, .gr-p { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 3px 3px 0 0; }
.gr-b { width: min(62%, 30px); background: var(--c); opacity: .85; }
.gr-col.sur .gr-b { opacity: 1; }
.gr-p { width: min(86%, 40px); background: rgba(var(--clair), .08); border: 1px solid rgba(var(--clair), .1); border-bottom: 0; }
.gr-col.futur .gr-p { opacity: .55; }
.gr-x { display: grid; grid-template-columns: repeat(var(--n), 1fr); margin-left: 48px; margin-top: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); }
.gr-x span { text-align: center; white-space: nowrap; overflow: visible; }
.gr .gr-bulle { top: 0; }
.rs-comp .tiret { width: 12px; height: 9px; border-radius: 2px 2px 0 0; background: rgba(var(--clair), .12); border: 1px solid rgba(var(--clair), .2); border-bottom: 0; display: inline-block; vertical-align: -1px; margin: 0 2px; }
.pouls-lien { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--texte-2); }
.pouls-lien span { display: flex; align-items: center; gap: 6px; } .pouls-lien em { font-style: normal; color: var(--bleu); }
.leg-b, .leg-p { width: 9px; height: 9px; border-radius: 2px; display: inline-block; background: var(--bleu); } .leg-p { background: rgba(var(--clair), .15); margin-left: 6px; }
@media (max-width: 820px) {
  .gr-cadre { grid-template-columns: 40px 1fr; } .gr-x { margin-left: 40px; font-size: 9.5px; } .gr-y span { font-size: 9.5px; right: 6px; }
  .pouls .gr { margin-top: 12px; }
}
.pc-sect { display: flex; align-items: baseline; gap: 8px; margin: 18px 4px 6px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.pc-sect:first-child { margin-top: 4px; }
.pc-sect em { font-style: normal; font-family: var(--mono); color: var(--texte-3); letter-spacing: 0; }

/* ===== v61 : Clients ===== */
.sv-grille { grid-template-columns: minmax(270px, 330px) 1fr; }
.sv-col { display: grid; gap: 12px; align-content: start; }
.sv-filtres { margin: 0; }
.sv-liste { gap: 2px; max-height: calc(100vh - 330px); overflow: auto; padding-right: 4px; }
.sv-sect { display: flex; gap: 8px; align-items: baseline; margin: 10px 10px 4px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.sv-sect:first-child { margin-top: 0; } .sv-sect em { font-style: normal; font-family: var(--mono); letter-spacing: 0; }
.sv-l { padding: 11px 12px; align-items: flex-start; text-align: left; position: relative; }
.sv-l.attend::before { content: ''; position: absolute; left: 3px; top: 50%; width: 3px; height: 24px; margin-top: -12px; border-radius: 3px; background: var(--violet); }
.sv-l:not(.attend) { opacity: .72; } .sv-l:not(.attend).actif, .sv-l:not(.attend):hover { opacity: 1; }
.sv-l-txt { gap: 4px; }
.sv-l-1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sv-l-1 time { font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); white-space: nowrap; }
.sv-l-2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--texte-2); }
.sv-cat { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 6px; background: rgba(var(--encre), .05); border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.sv-humeur { font-size: 11px; color: var(--rouge); } .sv-humeur.ambre { color: var(--ambre); }
.sv-l-txt em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-dossier { padding: 0; overflow: hidden; }
.sv-d-tete { align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--trait); }
.sv-d-tete > div { flex: 1; min-width: 0; } .sv-d-tete h2 { font-size: 20px; }
.sv-av.grand { width: 44px; height: 44px; font-size: 14px; }
.sv-corps { display: grid; grid-template-columns: 1fr 250px; }
.sv-fil { padding: 20px 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.sv-bref { font-size: 14px; line-height: 1.5; color: var(--texte); padding: 10px 14px; border-radius: 10px; background: rgba(var(--acc), .06); }
.sv-bref b { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); margin-right: 8px; }
.sv-bulle { border: 1px solid var(--trait); border-radius: 14px; overflow: hidden; }
.sv-bulle.client { background: rgba(var(--encre), .025); margin-right: 40px; }
.sv-bulle.moi { border-color: rgba(var(--acc), .3); background: rgba(var(--acc), .03); }
.sv-bulle.moi.parti { border-color: rgba(76, 227, 154, .3); }
.sv-b-tete { display: flex; align-items: baseline; gap: 10px; padding: 11px 14px 0; font-size: 12.5px; color: var(--texte-3); }
.sv-b-tete b { color: var(--texte); font-weight: 500; font-size: 13px; } .sv-b-tete span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sv-b-tete time { font-family: var(--mono); font-size: 10.5px; }
.sv-b-texte { padding: 8px 14px 14px; font-size: 14px; line-height: 1.6; color: var(--texte-2); max-height: 220px; overflow: auto; }
.sv-bulle textarea { display: block; width: 100%; border: 0; background: transparent; color: var(--texte); font: inherit; font-size: 14.5px; line-height: 1.6; padding: 8px 14px 12px; resize: vertical; outline: none; min-height: 200px; }
.sv-bulle .sv-attention { margin: 0 14px 10px; }
.sv-envoi { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--trait); background: rgba(var(--creux), .15); }
.sv-envoi-esp { flex: 1; }
.pg-btn.discret { border-color: transparent; background: none; color: var(--texte-2); }
.pg-btn.discret:hover { color: var(--texte); background: rgba(var(--encre), .04); }
.sv-ctx { border-left: 1px solid var(--trait); padding: 20px 18px; display: grid; gap: 22px; align-content: start; background: rgba(var(--creux), .12); }
.sv-ctx-b { display: grid; gap: 10px; } .sv-ctx-b .pg-sur { margin: 0; }
.sv-ctx-cmd { display: flex; gap: 10px; align-items: center; }
.sv-ctx-cmd img, .sv-ctx-cmd .vign { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: #fff; flex: none; }
.sv-ctx-cmd b { display: block; font-size: 14px; } .sv-ctx-cmd small { display: block; font-size: 12px; color: var(--texte-2); line-height: 1.4; }
.sv-ctx-doux { margin: 0; font-size: 12.5px; color: var(--texte-2); line-height: 1.5; }
.sv-ctx-act { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-ctx-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--texte-2); padding: 6px 8px; border-radius: 8px; background: rgba(var(--encre), .03); }
.sv-ctx-l:hover { color: var(--texte); } .sv-ctx-l time { font-family: var(--mono); font-size: 10.5px; color: var(--texte-3); }
.sv-trajet { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.sv-trajet li { display: grid; justify-items: center; gap: 6px; font-size: 10.5px; color: var(--texte-3); text-align: center; position: relative; }
.sv-trajet li::before { content: ''; position: absolute; top: 4px; left: -50%; width: 100%; height: 1px; background: var(--trait-fort); z-index: 0; }
.sv-trajet li:first-child::before { display: none; }
.sv-trajet li.fait::before, .sv-trajet li.ici::before { background: var(--bleu); }
.sv-trajet i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--trait-fort); background: var(--fond-plein); position: relative; z-index: 1; }
.sv-trajet .fait i { background: var(--bleu); border-color: var(--bleu); }
.sv-trajet .ici i { background: #fff; border-color: #fff; box-shadow: 0 0 0 3px rgba(var(--acc), .3); } .sv-trajet .ici span { color: var(--texte); }
@media (max-width: 1280px) { .sv-corps { grid-template-columns: 1fr; } .sv-ctx { border-left: 0; border-top: 1px solid var(--trait); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (max-width: 820px) {
  .sv-liste { max-height: none; }
  .sv-d-tete { padding: 4px 0 14px; } .sv-fil { padding: 14px 0; } .sv-bulle.client { margin-right: 0; }
  .sv-ctx { padding: 16px 0; background: none; grid-template-columns: 1fr; }
  .sv-envoi { flex-wrap: wrap; } .sv-envoi .prim { flex: 1 1 100%; }
}

/* ===== v61 : Team ===== */
.tm-stats { display: flex; align-items: stretch; border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; }
.tm-stats-l { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); padding: 10px 6px; border-left: 1px solid var(--trait); text-align: center; }
.tm-stats > div { flex: 1; padding: 14px 18px; border-left: 1px solid var(--trait); }
.tm-stats > div b { display: block; font-size: 26px; font-weight: 300; } .tm-stats > div span { font-size: 12.5px; color: var(--texte-2); }
.tm-grille { display: grid; grid-template-columns: 330px 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.tm-equipe { display: grid; gap: 6px; }
.tm-equipe .pg-sur { margin: 0 0 4px 4px; } .tm-sur2 { margin-top: 16px !important; }
.tm-ag { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid transparent; text-align: left; width: 100%; }
.tm-ag:hover { background: rgba(var(--acc), .05); }
.tm-ag.actif { background: rgba(var(--acc), .08); border-color: var(--trait-fort); }
.tm-ag .tm-av { position: relative; }
.tm-etat { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--vert); border: 2px solid var(--fond-plein); }
.tm-ag.souci .tm-etat { background: var(--rouge); }
.tm-ag-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tm-ag-1 { display: flex; align-items: baseline; gap: 8px; } .tm-ag-1 b { font-size: 14.5px; font-weight: 500; } .tm-ag-1 small { font-size: 12px; color: var(--texte-3); }
.tm-ag-etat { font-size: 12px; color: var(--texte-2); line-height: 1.4; }
.tm-barre { height: 3px; border-radius: 3px; background: rgba(var(--ligne), .1); overflow: hidden; margin-top: 3px; }
.tm-barre i { display: block; height: 100%; background: var(--bleu); opacity: .7; }
.tm-ag-ch { text-align: right; max-width: 80px; } .tm-ag-ch b { display: block; font-size: 18px; font-weight: 400; } .tm-ag-ch small { display: block; font-size: 10.5px; color: var(--texte-3); line-height: 1.3; }
.tm-agenda { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 10px; }
.tm-agenda li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 13px; color: var(--texte-2); line-height: 1.4; }
.tm-agenda time { font-family: var(--mono); font-size: 11px; color: var(--texte-3); padding-top: 2px; }
.tm-chat.sans-qui { grid-template-columns: 1fr; margin-top: 0; min-height: 600px; }
.tm-chat.sans-qui .tm-fil { max-height: 560px; }
.tm-bas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.tm-bloc { border: 1px solid var(--trait); border-radius: 18px; padding: 18px 20px; }
.tm-bas .tm-journal { margin-top: 0; max-height: 330px; overflow: auto; }
.tm-note { margin: 10px 0 0; font-size: 12px; color: var(--texte-3); }
@media (max-width: 1280px) { .tm-grille, .tm-bas { grid-template-columns: 1fr; } }
.gr .gr-y { position: relative; left: auto; top: auto; bottom: auto; width: auto; }
.sv-corps { grid-template-columns: 1fr; }
.sv-ctx { border-left: 0; border-bottom: 1px solid var(--trait); grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; padding: 16px 22px; }
.sv-envoi { flex-wrap: wrap; }
@media (max-width: 820px) { .sv-ctx { grid-template-columns: 1fr; padding: 14px 0; border-bottom: 0; } }
@media (max-width: 820px) { .sv-fil { order: 1; } .sv-ctx { order: 2; } }
/* QG PC : ventes du jour dans le panneau du bas */
.j-jour { display: block; width: 100%; text-align: left; }
.j-jour .p-tete b { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--texte); }
.j-comp { margin: 2px 0 0; font-size: 12px; color: var(--texte-2); } .j-comp b { font-weight: 500; font-family: var(--mono); }
.p-journal .gr { margin-top: 8px; } .p-journal .gr-cadre { grid-template-columns: 38px 1fr; } .p-journal .gr-x { margin-left: 38px; font-size: 9.5px; } .p-journal .gr-y span { font-size: 9px; right: 6px; }
.p-journal .gr-moy span { display: none; }
.j-tete2 { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--trait); }
.sv-ctx { align-items: start; } .sv-ctx-b { align-content: start; } .sv-ctx .sv-puces { margin: 0; align-items: flex-start; }
.tm-stats-l { writing-mode: horizontal-tb; transform: none; border-left: 0; display: flex; align-items: center; max-width: 92px; padding: 0 16px; line-height: 1.4; text-align: left; }

/* ===== v62 : fiche client simplifiée ===== */
.sv-dossier { max-width: 760px; }
.sv-fil { padding: 22px; gap: 16px; }
.sv-veut p { margin: 6px 0 0; font-size: 17px; line-height: 1.5; color: var(--texte); }
.sv-veut .pg-sur { margin: 0; }
.sv-msg-d { margin-top: 10px; }
.sv-msg-d summary { cursor: pointer; font-size: 13px; color: var(--bleu); list-style: none; } .sv-msg-d summary::-webkit-details-marker { display: none; }
.sv-msg-d summary::before { content: '› '; display: inline-block; transition: transform .15s; } .sv-msg-d[open] summary::before { transform: rotate(90deg); }
.sv-msg-d .sv-b-texte { margin-top: 8px; padding: 12px 14px; border-left: 2px solid var(--trait-fort); background: rgba(var(--encre), .02); border-radius: 0 10px 10px 0; }
.sv-cmd-l { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--trait); text-align: left; }
.sv-cmd-l:hover { background: rgba(var(--acc), .05); }
.sv-cmd-l img, .sv-cmd-l .vign { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.sv-cmd-l > span { flex: 1; min-width: 0; display: grid; gap: 2px; } .sv-cmd-l b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-cmd-l small { font-size: 12px; }
.sv-cmd-l em { font-style: normal; font-size: 12.5px; color: var(--bleu); white-space: nowrap; }
.sv-rep { border: 1px solid rgba(var(--acc), .3); border-radius: 14px; background: rgba(var(--acc), .03); overflow: hidden; }
.sv-rep.parti { border-color: rgba(76, 227, 154, .3); }
.sv-rep:focus-within { border-color: rgba(var(--acc), .6); }
.sv-rep-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px 0; } .sv-rep-tete .pg-sur { margin: 0; }
.sv-rep-aide { font-size: 12px; color: var(--texte-3); }
.sv-rep textarea { display: block; width: 100%; border: 0; background: transparent; color: var(--texte); font: inherit; font-size: 15px; line-height: 1.6; padding: 8px 14px 14px; resize: vertical; outline: none; min-height: 190px; }
.sv-rep .sv-attention { margin: 0 14px 12px; }
.sv-fil .sv-envoi { padding: 0; border: 0; background: none; display: flex; gap: 8px; }
.sv-fil .sv-envoi .prim { flex: 1; max-width: 280px; }
.sv-secondaire { justify-self: start; font-size: 12.5px; color: var(--texte-3); padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--ligne), .25); }
.sv-secondaire:hover { color: var(--texte-2); }
@media (max-width: 820px) {
  .sv-fil { padding: 6px 0 18px; gap: 14px; }
  .sv-d-tete { padding: 4px 0 14px; }
  .sv-veut p { font-size: 16px; }
  .sv-rep textarea { min-height: 220px; font-size: 16px; }
  .sv-fil .sv-envoi { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 3; padding: 10px; margin: 0 -10px; border-radius: 16px; background: var(--barre); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .sv-fil .sv-envoi .prim { max-width: none; }
  .sv-secondaire { justify-self: center; }
}
.sv-msg-d summary::before { content: '›'; margin-right: 6px; }

/* ===== v63 : idées Dribbble ===== */
.bg-rouge { background: var(--rouge); } .bg-ambre { background: var(--ambre); } .bg-bleu { background: var(--bleu); } .bg-cyan { background: var(--cyan); } .bg-vert { background: var(--vert); } .bg-gris { background: #4A5468; } .bg-violet { background: var(--violet); }
/* Colis : répartition en une barre */
.pc-rep { border: 1px solid var(--trait); border-radius: 16px; padding: 16px 18px 8px; margin-bottom: 14px; background: rgba(var(--encre), .015); }
.pc-rep-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pc-rep-tete b { font-size: 15px; font-weight: 500; } .pc-rep-tete span { font-size: 12px; color: var(--texte-3); }
.pc-barre { display: flex; gap: 3px; height: 8px; margin: 12px 0 8px; }
.pc-barre i { border-radius: 3px; min-width: 6px; opacity: .85; transition: opacity .2s; }
.pc-rep:has(.pc-barre .actif) .pc-barre i:not(.actif) { opacity: .25; }
.pc-rep-l { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
.pc-rep-l button { display: grid; grid-template-columns: 9px 1fr auto 34px; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; text-align: left; font-size: 13.5px; color: var(--texte-2); }
.pc-rep-l button:hover { background: rgba(var(--acc), .05); color: var(--texte); }
.pc-rep-l button.actif { background: rgba(var(--acc), .09); color: var(--texte); }
.pc-rep-l button.vide { opacity: .45; }
.pc-rep-l i { width: 9px; height: 9px; border-radius: 50%; }
.pc-rep-l em { font-style: normal; font-size: 11.5px; color: var(--texte-3); }
.pc-rep-l b { text-align: right; font-size: 15px; font-weight: 500; color: var(--texte); }
/* mini trajet sur chaque colis */
.pc-mini { display: flex; gap: 3px; margin-top: 6px; width: 92px; }
.pc-mini i { flex: 1; height: 4px; border-radius: 2px; background: rgba(var(--ligne), .14); }
.pc-mini i.fait { background: rgba(var(--clair), .45); }
/* infobulle des graphiques : carte claire, plus lisible */
.gr .gr-bulle { background: #EEF2FA; color: #0A1020; border: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.gr .gr-bulle b { color: #0A1020; } .gr .gr-bulle span { color: #4A5468; } .gr .gr-bulle em { color: #0A1020; font-weight: 600; }
.gr .gr-bulle .pg-doux { color: #6B7489 !important; }
.gr .gr-bulle::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: #EEF2FA; transform: translateX(-50%) rotate(45deg); }
@media (max-width: 820px) {
  .pc-rep { padding: 14px 14px 6px; } .pc-rep-l { grid-template-columns: 1fr; } .pc-rep-tete span { display: none; }
}
.rs-cmp { display: grid; gap: 3px; margin: 8px 0 6px; width: 100%; max-width: 180px; }
.rs-cmp u, .rs-cmp s { display: block; height: 3px; border-radius: 2px; text-decoration: none; }
.rs-cmp u { background: var(--bleu); } .rs-cmp s { background: rgba(var(--clair), .18); }
.pc-mini i.ici.bg-rouge { background: var(--rouge); } .pc-mini i.ici.bg-ambre { background: var(--ambre); } .pc-mini i.ici.bg-bleu { background: var(--bleu); } .pc-mini i.ici.bg-cyan { background: var(--cyan); } .pc-mini i.ici.bg-vert { background: var(--vert); }
/* Clients : temps d'attente + boutons d'aide à la réponse */
.sv-attend { font-family: var(--mono); font-size: 10.5px; white-space: nowrap; color: var(--texte-2); padding: 1px 6px; border-radius: 5px; background: rgba(var(--encre), .05); }
.sv-attend.ambre { color: var(--ambre); background: rgba(255, 181, 71, .1); } .sv-attend.rouge { color: var(--rouge); background: rgba(255, 90, 77, .1); }
.sv-aides { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; }
.sv-aides button { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--trait-fort); color: var(--texte-2); }
.sv-aides button:hover { color: var(--texte); border-color: rgba(var(--acc), .5); background: rgba(var(--acc), .06); }
.rg-l textarea { background: rgba(var(--creux), .3); border: 1px solid var(--trait-fort); border-radius: 10px; color: var(--texte); padding: 10px 12px; font: inherit; font-size: 14px; min-width: 260px; resize: vertical; }
/* accueil : ligne d'état + brief du matin */
.salut-etat { margin: 6px 0 0 !important; font-size: 13px !important; color: var(--texte-2); font-family: var(--mono); letter-spacing: -.01em; }
.salut-brief { margin-top: 10px; font-size: 13px; color: var(--bleu); pointer-events: auto; }
.salut-brief:hover { text-decoration: underline; text-underline-offset: 3px; }
.aide-boite.brief { width: min(560px, calc(100vw - 32px)); }
.aide-boite.brief h2 { font-size: 24px; font-weight: 400; margin: 6px 0 14px; letter-spacing: -.02em; }
.aide-boite.brief .rl b { font-family: inherit; font-size: 13.5px; font-weight: 500; text-align: right; }
.brief-af { margin-top: 18px; }
@media (max-width: 820px) { .salut-etat { font-size: 11.5px !important; } }
@media (min-width: 821px) { .p-decider { top: 306px; max-height: calc(100vh - 456px); } }
@media (max-width: 820px) { .m-releve .rl.net > span { font-size: 14.5px; } .m-releve .rl.net > b { font-size: 18px; white-space: nowrap; } .m-releve .rl.net > i { min-width: 8px; } }

/* ===================== THÈMES =====================
   FOCUS (défaut) : la boutique en 3D, nuit.
   ATELIER : crème, terracotta, titres serif. ÉPURE : blanc, noir, un bleu. Les deux sans 3D. */
html[data-theme="atelier"] { /* CORAIL (ex-ATELIER) : verre dépoli sur fond chaud, accent corail */
  --nuit: #F5EEE8; --verre: rgba(255, 255, 255, .58); --verre-fort: rgba(255, 255, 255, .72); --trait: rgba(70, 40, 20, .09); --trait-fort: rgba(70, 40, 20, .18);
  --texte: #24170F; --texte-2: #7A675B; --texte-3: #A8968A; --bleu: #E4572E; --or: #C98A1B; --vert: #2F8A5B; --rouge: #C8372D; --ambre: #D98A1C; --violet: #7C5CC4; --cyan: #2C8C99;
  --acc: 228, 87, 46; --encre: 36, 23, 15; --ligne: 70, 40, 20; --clair: 36, 23, 15; --creux: 255, 255, 255;
  --prim-bg: #E4572E; --prim-tx: #FFFFFF; --boite: #FFFBF8; --barre: rgba(250, 244, 239, .92); --fond-plein: #FBF6F2;
  --titre: 'Geist', system-ui, sans-serif; --chiffres: 'Geist', system-ui, sans-serif; --ombre: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(90, 45, 20, .05), 0 18px 40px -18px rgba(120, 55, 25, .22);
}
html[data-theme="epure"] {
  --nuit: #F6F6F4; --verre: rgba(255, 255, 255, .96); --verre-fort: #FFFFFF; --trait: rgba(17, 17, 17, .08); --trait-fort: rgba(17, 17, 17, .16);
  --texte: #111111; --texte-2: #5F6368; --texte-3: #9AA0A6; --bleu: #2F5BEA; --or: #B88A00; --vert: #1E8E5A; --rouge: #D93025; --ambre: #D98200; --violet: #7B4FD6; --cyan: #0F8FA8;
  --acc: 47, 91, 234; --encre: 17, 17, 17; --ligne: 17, 17, 17; --clair: 17, 17, 17; --creux: 255, 255, 255;
  --prim-bg: #111111; --prim-tx: #FFFFFF; --boite: #FFFFFF; --barre: rgba(255, 255, 255, .97); --fond-plein: #FFFFFF;
  --titre: 'Geist', system-ui, sans-serif; --chiffres: 'Geist', system-ui, sans-serif; --ombre: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 28px rgba(0, 0, 0, .06);
}
/* commun aux thèmes simples : pas de 3D, des cartes posées sur un fond calme */
html.plat #ciel, html.plat #etiquettes, html.plat #bulle, html.plat #voile-intro, html.plat .h-modes, html.plat .p-legende { display: none !important; }
html.plat body { background: var(--nuit); }
html.plat .panneau, html.plat .p-journal, html.plat .h-chiffres, html.plat .h-nav, html.plat .q-champ, html.plat .page, html.plat .q-reponse { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--ombre); }
html.plat .q-champ { box-shadow: var(--ombre); }
html.plat .num, html.plat .mono { font-family: var(--chiffres); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
html.plat .h-salut h1, html.plat .pg-tete h1, html.plat .rs-titre h1, html.plat .aide-boite.brief h2 { font-family: var(--titre); }
html[data-theme="atelier"] .h-salut h1, html[data-theme="atelier"] .pg-tete h1, html[data-theme="atelier"] .rs-titre h1 { font-weight: 600; letter-spacing: -.035em; }
html[data-theme="epure"] .h-salut h1, html[data-theme="epure"] .pg-tete h1, html[data-theme="epure"] .rs-titre h1 { font-weight: 500; letter-spacing: -.045em; }
html.plat .rs-h-v { font-family: var(--titre); font-weight: 300; }
html[data-theme="epure"] .rs-h-v { font-weight: 500; letter-spacing: -.05em; }
html.plat .gr .gr-bulle { background: var(--texte); color: var(--nuit); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
html.plat .gr .gr-bulle b, html.plat .gr .gr-bulle em { color: var(--nuit); } html.plat .gr .gr-bulle span, html.plat .gr .gr-bulle .pg-doux { color: rgba(var(--creux), .7) !important; }
html.plat .gr .gr-bulle::after { background: var(--texte); }
html.plat .gr-b { opacity: 1; }
html.plat .gr-p { background: rgba(var(--encre), .06); border-color: rgba(var(--encre), .1); }
html.plat .pt, html.plat .pouls-live { box-shadow: none; }
html.plat .pc-etape::before { box-shadow: none; }
html.plat .m-act { background: var(--prim-bg); color: var(--prim-tx); }
html.plat .badge { color: #fff; }
/* PC : les pages prennent toute la largeur (plus de 3D à gauche), centrées */
@media (min-width: 821px) {
  html.plat body:not([data-ecran="qg"]) .page { left: max(26px, calc(50vw - 660px)); right: max(26px, calc(50vw - 660px)); }
}
/* ===== chargement entre deux thèmes ===== */
.chg-theme { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--chg-fond, #03050A); opacity: 0; transition: opacity .28s ease; pointer-events: all; }
.chg-theme.on { opacity: 1; }
.chg-theme div { display: grid; justify-items: center; gap: 18px; color: var(--chg-tx, #E8EEFA); }
.chg-theme svg { width: 64px; height: 64px; overflow: visible; }
.chg-theme .cercle { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 176; stroke-dashoffset: 176; animation: chg-trace .9s cubic-bezier(.6, 0, .2, 1) forwards; opacity: .9; }
.chg-theme .point { fill: var(--chg-acc, #7FB2FF); transform-origin: 32px 32px; transform: scale(0); animation: chg-point .45s .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.chg-theme b { font: 500 12px 'Geist Mono', ui-monospace, monospace; letter-spacing: .5em; text-indent: .5em; opacity: 0; animation: chg-mot .4s .55s ease forwards; }
.chg-theme small { font: 400 12.5px 'Geist', sans-serif; opacity: 0; animation: chg-mot .4s .7s ease forwards; color: var(--chg-tx2, #9AA7C0); }
@keyframes chg-trace { to { stroke-dashoffset: 0; } }
@keyframes chg-point { to { transform: scale(1); } }
@keyframes chg-mot { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ===== choix du thème (Réglages) ===== */
.th-choix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.th-carte { border: 1px solid var(--trait); border-radius: 14px; padding: 10px; text-align: left; transition: border-color .2s; }
.th-carte:hover { border-color: var(--trait-fort); } .th-carte.actif { border-color: var(--bleu); box-shadow: 0 0 0 1px var(--bleu); }
.th-apercu { height: 82px; border-radius: 9px; position: relative; overflow: hidden; margin-bottom: 10px; }
.th-apercu i { position: absolute; border-radius: 4px; }
.th-carte b { display: block; font-size: 12px; letter-spacing: .2em; } .th-carte small { display: block; font-size: 12px; color: var(--texte-2); margin-top: 3px; line-height: 1.4; }
@media (max-width: 820px) { .th-choix { grid-template-columns: 1fr 1fr; } .th-apercu { height: 64px; } }
html.plat .page { background: var(--verre-fort); border-color: var(--trait); box-shadow: var(--ombre); scrollbar-color: rgba(var(--ligne), .2) transparent; }
@media (max-width: 820px) { html.plat body { background: var(--nuit); } html.plat .page { background: transparent; box-shadow: none; } }
html.plat .bandeau-demo { background: var(--texte) !important; color: var(--nuit) !important; border-color: transparent !important; }
.rg-l > span { flex: 1; min-width: 0; }
@media (max-width: 820px) {
  .rg-l:has(input:not([type=checkbox])), .rg-l:has(textarea) { flex-direction: column; align-items: stretch; gap: 10px; }
  .rg-l input:not([type=checkbox]), .rg-l textarea { width: 100%; min-width: 0; font-size: 16px; }
}

/* ===================== ACCUEILS DES THÈMES SIMPLES ===================== */
#plat { display: none; }
html.plat body[data-ecran="qg"] .h-salut, html.plat body[data-ecran="qg"] .p-decider, html.plat body[data-ecran="qg"] .h-chiffres, html.plat body[data-ecran="qg"] .p-journal, html.plat #mobile { display: none !important; }
html.plat body[data-ecran="qg"] #plat { display: block; }
@media (min-width: 821px) {
  html.plat body[data-ecran="qg"] #plat { position: fixed; inset: 0; z-index: 15; overflow: auto; padding: 96px 40px 130px; }
  html.plat .h-question { z-index: 30; }
}
@media (max-width: 820px) { html.plat body[data-ecran="qg"] #plat { padding: 4px 16px 24px; } }

/* ---------- ÉPURE : barre latérale + tuiles ---------- */
@media (min-width: 821px) {
  html[data-theme="epure"] .h-nav { top: 92px; left: 20px; bottom: 20px; width: 196px; flex-direction: column; align-items: stretch; border-radius: 18px; padding: 10px; gap: 4px; }
  html[data-theme="epure"] .h-nav button { padding: 11px 14px; border-radius: 10px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
  html[data-theme="epure"] .h-nav .nav-ic { margin-top: auto; justify-content: flex-start; }
  html[data-theme="epure"] .h-nav button.actif { background: var(--prim-bg); color: var(--prim-tx); box-shadow: none; }
  html[data-theme="epure"] .h-marque { left: 30px; }
  html[data-theme="epure"] body[data-ecran="qg"] #plat { padding-left: 252px; padding-top: 32px; }
  html[data-theme="epure"] body:not([data-ecran="qg"]) .page { left: 236px; right: 20px; top: 20px; bottom: 20px; }
  html[data-theme="epure"] .h-question { left: calc(50% + 108px); }
}
.ep { max-width: 1160px; margin: 0 auto; }
.ep-tete small { font-size: 15px; color: var(--texte-2); }
.ep-tete h1 { font-size: 44px; font-weight: 700; letter-spacing: -.045em; margin: 4px 0 8px; }
.ep-tete p { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; color: var(--texte-2); font-size: 15px; }
.ep-tete .pt { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
.ep-grille { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: auto; gap: 16px; }
.ep-t { background: #fff; border: 1px solid var(--trait); border-radius: 22px; padding: 22px 24px; box-shadow: var(--ombre); text-align: left; min-width: 0; }
.ep-t h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.ep-t-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ep-t-tete .lien { color: var(--texte-2); font-size: 14px; }
.ep-decider { grid-row: span 2; background: #0B1020; color: #fff; border: 0; }
.ep-decider h2 { color: #fff; font-size: 24px; }
.ep-rond { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0B1020; display: grid; place-items: center; font-size: 17px; }
.ep-dec { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.ep-dec:first-of-type { border-top: 0; }
.ep-dec img, .ep-dec .ep-ini { width: 50px; height: 50px; border-radius: 13px; object-fit: cover; flex: none; background: #fff; }
.ep-dec > span:nth-child(2) { flex: 1; min-width: 0; } .ep-dec b { display: block; font-size: 16px; font-weight: 600; } .ep-dec small { display: block; font-size: 14px; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.ep-dec em { font-style: normal; color: rgba(255, 255, 255, .4); font-size: 20px; }
.ep-dec:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ep-ini { display: grid; place-items: center; background: #EFE8FF; color: #6A3FD0; font-weight: 600; font-size: 16px; }
.ep-vide { color: rgba(255, 255, 255, .6); }
.ep-colis { grid-column: span 2; }
.ep-etapes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.ep-etapes::before { content: ''; position: absolute; left: 7px; right: 25%; top: 7px; height: 2px; background: var(--trait-fort); }
.ep-etapes li { position: relative; display: grid; gap: 4px; }
.ep-etapes i { width: 16px; height: 16px; border-radius: 50%; background: #0B1020; margin-bottom: 10px; }
.ep-etapes b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; } .ep-etapes span { font-size: 14.5px; color: var(--texte-2); } .ep-etapes em { font-style: normal; font-size: 13.5px; color: var(--rouge); font-weight: 500; }
.ep-alerte { display: block; width: 100%; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FDF1E5; color: #9A4E10; font-size: 14.5px; text-align: left; }
.ep-petit { display: grid; align-content: start; gap: 6px; cursor: pointer; transition: transform .15s; }
.ep-petit:hover { border-color: var(--trait-fort); }
.ep-petit h2 { font-size: 16px; color: var(--texte-2); font-weight: 500; }
.ep-pile { display: flex; margin: 8px 0 4px; min-height: 48px; } .ep-pile > * { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -10px; background: #fff; } .ep-pile > *:first-child { margin-left: 0; }
.ep-pile .ep-ini { border-radius: 50%; font-size: 14px; }
.ep-petit > b { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; } .ep-petit small { font-size: 14px; color: var(--texte-2); font-weight: 500; }
.ep-ventes { grid-column: span 2; }
.ep-gros { margin: 0 0 6px; color: var(--texte-2); font-size: 15px; } .ep-gros b { font-size: 34px; color: var(--texte); font-weight: 700; letter-spacing: -.03em; margin-right: 6px; }
.ep-phrase { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--trait); color: var(--texte-2); font-size: 15px; } .ep-phrase b { color: var(--texte); }
.ep-semaine p { color: var(--texte-2); font-size: 15px; line-height: 1.6; margin: 10px 0 12px; } .ep-semaine b { color: var(--texte); }
.ep-ventes .gr-moy span { display: none; }
@media (max-width: 1250px) and (min-width: 821px) { .ep-grille { grid-template-columns: 1fr 1fr; } .ep-decider { grid-row: auto; grid-column: span 2; } }
@media (max-width: 820px) {
  .ep-tete h1 { font-size: 32px; } .ep-grille { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ep-decider, .ep-colis, .ep-ventes, .ep-semaine { grid-column: span 2; grid-row: auto; } .ep-t { padding: 18px; border-radius: 20px; }
  .ep-etapes b { font-size: 26px; } .ep-etapes span { font-size: 12.5px; }
}

/* ---------- ATELIER : remplacé par CORAIL le 29/11 (voir « Dimanche · Thème CORAIL » en fin de fichier) ---------- */
.ep-pile .ep-ini { background: #EFE8FF; color: #6A3FD0; } .ep-etapes li { align-content: start; }
@media (min-width: 821px) { html.plat .h-etat { display: none; } }

/* ===================== v68 (28/11) : accueil allégé, orbe, logos, suivi cliquable, brief perso ===================== */
/* logos Gmail / La Poste */
.logo-t { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.logo-t svg { width: 58%; height: 58%; display: block; }
.logo-t.logo-laposte { background: #FFCD00; box-shadow: none; } .logo-t.logo-laposte svg { width: 100%; height: 100%; border-radius: inherit; }
.chip-poste { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 999px; background: rgba(255, 205, 0, .12); border: 1px solid rgba(255, 205, 0, .35); color: var(--texte); font: 500 12px var(--police, inherit); letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.chip-poste svg { width: 18px; height: 18px; border-radius: 5px; }
h1 .chip-poste { font-size: 13px; margin-left: 10px; vertical-align: 6px; } h4 .chip-poste { font-size: 11.5px; margin-left: 6px; vertical-align: 3px; font-family: 'Geist', system-ui, sans-serif; }
.lien-poste { display: inline-flex; align-items: center; gap: 6px; } .lien-poste .chip-poste { background: transparent; border-color: var(--trait); }
.ep-dec .logo-t { width: 50px; height: 50px; border-radius: 13px; } .ep-dec .logo-t.logo-gmail svg { width: 56%; }
.m-carte .logo-t { width: 44px; height: 44px; }

/* FOCUS : la gauche respire */
@media (min-width: 821px) {
  .h-nav { left: 336px; }
  .p-decider { top: 252px; max-height: calc(100vh - 430px); }
  .h-salut p { font-size: 15px; }
  /* légende : un peu plus bas et plus aérée, loin des 3 vues */
  .h-modes { bottom: 128px; }
  .p-legende { bottom: 22px; display: block; max-width: 400px; }
  .p-legende .leg-l { display: flex; flex-wrap: wrap; gap: 9px 18px; }
  .p-legende p { margin-top: 12px; }
  .p-legende .leg-vrai { margin-top: 12px; font-family: inherit; font-size: 11px; font-style: italic; color: var(--texte-3); opacity: .85; }
  .p-legende .leg-vrai + p { margin-top: 3px; }
}
.lien-txt { color: inherit; text-align: left; font: inherit; padding: 0; } .lien-txt:hover { color: var(--texte); text-decoration: underline; text-underline-offset: 3px; }

/* l'orbe : la barre de question se replie en un astre qui tourne ; au survol, elle s'ouvre */
.q-orbe { position: relative; width: 30px; height: 30px; flex: none; } /* l'orbe d'Acolyte, dessinée en JS (index.html) sur un canvas plus grand que la case : les anneaux débordent */
.q-orbe canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
@keyframes orbe-tour { to { transform: rotate(360deg); } }
@keyframes orbe-souffle { 50% { transform: scale(.78); opacity: .75; } }
/* desktop : repliée = un rond de 64 px ; .ouvert (posée par le JS, avec un petit délai à la sortie) = la barre entière. Hauteur fixe : rien ne bouge sous la souris. */
@media (min-width: 821px) {
  .h-question, body.pret .h-question { width: 64px; min-width: 0; transition-property: width, opacity, transform; transition-duration: .3s, .6s, .6s; transition-timing-function: cubic-bezier(.2, .8, .2, 1), ease, ease; transition-delay: 0s, .35s, .35s; }
  .h-question .q-champ { height: 64px; padding: 0 0 0 17px; gap: 18px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 50px rgba(var(--acc), .14); }
  .h-question .q-champ input { flex: 1; min-width: 0; opacity: 0; pointer-events: none; transition: opacity .12s; }
  .h-question .q-champ kbd { flex: none; margin-right: 14px; opacity: 0; transition: opacity .12s; }
  .h-question.ouvert, body.pret .h-question.ouvert { width: min(620px, calc(100vw - 820px)); min-width: 440px; }
  .h-question.ouvert .q-champ { cursor: text; }
  .h-question.ouvert .q-champ input, .h-question.ouvert .q-champ kbd { opacity: 1; pointer-events: auto; transition: opacity .18s .1s; }
  .h-question .q-reponse { width: min(620px, calc(100vw - 820px)); min-width: 440px; bottom: 76px; }
}

/* Suivi : la barre de répartition se touche (survol = détail, clic = filtre) */
.pc-barre { height: 14px; gap: 4px; }
.pc-barre button { border-radius: 4px; min-width: 10px; opacity: .85; position: relative; cursor: pointer; transition: opacity .2s, transform .2s; padding: 0; }
.pc-barre:hover button { opacity: .35; } .pc-barre button:hover { opacity: 1; transform: scaleY(1.25); }
.pc-rep:has(.pc-barre .actif) .pc-barre button:not(.actif) { opacity: .25; } .pc-barre button.actif { opacity: 1; }
.pc-barre-bulle { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) scaleY(.8); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--prim-bg); color: var(--prim-tx); font-size: 12px; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 3; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.pc-barre button:hover .pc-barre-bulle { opacity: 1; transform: translateX(-50%) scaleY(.8); }
.pc-barre button:first-child .pc-barre-bulle { left: 0; transform: scaleY(.8); } .pc-barre button:last-child .pc-barre-bulle { left: auto; right: 0; transform: scaleY(.8); }
.pc-rep-l button:hover i { transform: scale(1.4); } .pc-rep-l i { transition: transform .2s; }
/* le colis ouvert : à gauche le trajet La Poste, à droite la commande et ce qu'on peut faire */
.pc-l-detail { padding: 6px 12px 18px 68px; }
.pcd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; }
.pcd-g, .pcd-d { border: 1px solid var(--trait); border-radius: 14px; padding: 14px 16px; background: rgba(var(--creux), .02); min-width: 0; }
.pcd-t { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pcd-t > span:not(.logo-t) { flex: 1; min-width: 0; display: grid; } .pcd-t b { font-size: 13.5px; font-weight: 600; } .pcd-t small { font-size: 12px; color: var(--texte-3); }
.pcd-logo { width: 30px; height: 30px; border-radius: 8px; }
.pcd-prix { font-size: 17px; font-weight: 500; }
.pcd-liens { display: flex; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--trait); font-size: 12.5px; }
.pcd-art { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--trait); }
.pcd-art img, .pcd-art .vign { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.pcd-art span { display: grid; min-width: 0; } .pcd-art b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pcd-art small { font-size: 12px; color: var(--texte-3); }
.pcd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pcd .frise { margin-top: 0; }
.pcd.seul { grid-template-columns: 1fr; }
.pcd-suivi { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--trait); }
.pcd-suivi-t { display: grid; gap: 2px; flex: 1; min-width: 200px; } .pcd-suivi-t b { font-size: 13px; font-weight: 600; } .pcd-suivi-t .pg-doux { margin: 0; }
.pcd-etapes { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--texte-3); }
.pcd-etapes li { display: flex; align-items: center; gap: 6px; }
.pcd-etapes li + li::before { content: ''; width: 26px; height: 1px; background: var(--trait); margin: 0 8px; }
.pcd-etapes i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--texte-3); }
.pcd-etapes li.ici { color: var(--ambre, #e8b04a); } .pcd-etapes li.ici i { background: currentColor; border-color: currentColor; box-shadow: 0 0 8px currentColor; }
@media (max-width: 820px) { .pcd-etapes li + li::before { width: 10px; margin: 0 5px; } }
@media (max-width: 1100px) { .pcd { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .pc-l-detail { padding: 2px 0 16px; } .pcd-g, .pcd-d { padding: 12px 14px; } .pcd-actions .pg-btn { flex: 1; justify-content: center; } }

/* SAV : les messages déjà traités s'effacent davantage */
.sv-l:not(.attend) { opacity: .42; } .sv-l:not(.attend) .sv-av { filter: grayscale(1); }
.sv-l:not(.attend).actif, .sv-l:not(.attend):hover { opacity: .9; }

/* Résultats : squelette pendant le calcul */
.rs-squelette .sq { display: block; height: 14px; width: 60%; margin-top: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(var(--encre), .05), rgba(var(--encre), .11), rgba(var(--encre), .05)); background-size: 200% 100%; animation: sq-luit 1.2s linear infinite; }
.rs-squelette .sq-gros { height: 40px; width: 220px; }
html:not([data-theme]) .rs-squelette .sq, html[data-theme="focus"] .rs-squelette .sq { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); background-size: 200% 100%; }
@keyframes sq-luit { to { background-position: -200% 0; } }
.rs-squelette + .rs-charge { padding: 18px 0; }

/* le brief du jour */
.aide-boite.brief { width: min(600px, calc(100vw - 32px)); }
.aide-boite.brief h2 { font-size: 26px; line-height: 1.2; }
.brief-faits { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.brief-faits li { padding: 10px 14px; border-radius: 12px; background: rgba(var(--acc), .07); font-size: 14px; line-height: 1.5; color: var(--texte-2); }
.brief-faits b { color: var(--texte); font-weight: 600; }
.brief-dec { display: grid; gap: 6px; }
.brief-dec button { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--trait); text-align: left; }
.brief-dec button:hover { border-color: rgba(var(--acc), .45); background: rgba(var(--acc), .05); }
.brief-dec img, .brief-dec .dec-pt { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: #fff; flex: none; }
.brief-dec > span:not(.logo-t) { flex: 1; min-width: 0; display: grid; } .brief-dec .logo-t { width: 40px; height: 40px; } .brief-dec b { font-size: 14px; font-weight: 500; } .brief-dec small { font-size: 12.5px; color: var(--texte-2); }
.brief-dec em { font-style: normal; font-size: 12.5px; color: var(--bleu); white-space: nowrap; }
.brief-rien { color: var(--texte-2); font-size: 14px; }
.brief-pied { margin-top: 18px; }
@media (max-width: 820px) {
  .aide.aide-brief { display: flex; align-items: flex-end; z-index: 80; background: rgba(2, 4, 10, .55); }
  .aide-brief .aide-boite.brief { width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .aide-boite.brief h2 { font-size: 22px; padding-right: 30px; }
  .brief-dec em { display: none; }
  .brief-pied .pg-btn { flex: 1; justify-content: center; }
}
.sv-cat { text-transform: none; }
/* thèmes clairs : l'orbe se range en bas à droite, la barre s'ouvre vers la gauche */
@media (min-width: 821px) { html.plat .h-question, html.plat body.pret .h-question { left: auto !important; right: 28px; transform: none !important; } html.plat .h-question .q-reponse { left: auto; right: 0; } }
.brief-dec b, .brief-dec small { display: block; }
@media (max-width: 820px) {
  .aide-brief .releve .rl { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .aide-brief .releve .rl > i { display: none; }
  .aide-brief .releve .rl > b { text-align: left; font-size: 15px; white-space: normal; }
  .aide-brief .releve .rl small { margin-top: 2px; }
}
.q-orbe.petit { width: 22px; height: 22px; margin: 0 6px 0 4px; }
.brief-dec em { margin-left: auto; padding-left: 12px; } .brief-dec > span:not(.logo-t) { flex: 1 1 auto; }
/* vrai logo La Poste : la marque complète dans une pastille jaune */
.chip-poste { padding: 5px 10px; background: #FFCD00; border: 0; border-radius: 7px; }
.chip-poste svg { width: auto; height: 11px; border-radius: 0; display: block; }
h1 .chip-poste { padding: 6px 11px; } h1 .chip-poste svg { height: 13px; }
h4 .chip-poste { padding: 4px 8px; } h4 .chip-poste svg { height: 9px; }
.lien-poste .chip-poste { background: #FFCD00; }
.logo-t.logo-laposte svg { border-radius: inherit; }

/* FOCUS : le panneau « Ventes du jour » se fait discret */
@media (min-width: 821px) {
  .p-journal { width: 280px; padding: 12px 14px 8px; right: 22px; bottom: 22px; }
  .p-journal .j-jour .p-tete { padding-bottom: 6px; margin-bottom: 2px; font-size: 9.5px; }
  .p-journal .j-jour .p-tete b { font-size: 13px; }
  .p-journal .j-comp { font-size: 11px; }
  .p-journal .gr { margin-top: 4px; } .p-journal .gr-y { display: none; } .p-journal .gr-cadre { grid-template-columns: minmax(0, 1fr); } /* axe masqué = retiré de la grille : une seule colonne, sinon le tracé tombe dans la colonne de 0 px */ .p-journal .gr-x { margin-left: 0; font-size: 9px; }
  .p-journal .j-tete2 { margin-top: 10px; font-size: 9.5px; padding-bottom: 6px; }
  .p-journal .j-l { grid-template-columns: 62px 1fr; font-size: 11.5px; padding: 4px 0; }
}

/* ===== écran de lancement : l'orbe qui charge, puis qui devient celle de la barre de question ===== */
#lancement { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: var(--nuit); transition: background-color 1.4s ease .2s; }
#lancement #l-orbe { width: 360px; height: 360px; margin-bottom: -40px; transition: transform 1.5s cubic-bezier(.65, 0, .2, 1), opacity 1.1s ease 1.2s; }
#lancement.part #l-orbe { opacity: 0; }
#lancement b { font: 500 11px 'Geist Mono', ui-monospace, monospace; letter-spacing: .55em; text-indent: .55em; color: var(--texte-2); animation: l-clign 1.4s ease-in-out infinite; transition: opacity .25s; }
#lancement.part { background-color: transparent; pointer-events: none; } #lancement.part b { opacity: 0; animation: none; }
@keyframes l-clign { 50% { opacity: .35; } }
body.vol #question .q-orbe { visibility: hidden; }
body.capture #lancement { display: none; }

/* ---------- Fil « en direct » : commandes et paiements pas finalisés, qui entrent par la droite ---------- */
.p-journal .flux { position: absolute; right: 0; bottom: calc(100% + 12px); width: 100%; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.flux .fx { pointer-events: auto; display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; text-align: left; font: inherit; color: inherit;
  background: var(--verre); border: 1px solid var(--trait); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
button.fx { cursor: pointer; } button.fx:hover { border-color: rgba(var(--encre), .25); }
.fx img, .fx .vign { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.fx > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fx small { font-size: 11px; color: var(--texte-3); display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.fx small i { width: 6px; height: 6px; border-radius: 50%; background: var(--vert); }
.fx.pai small i { background: var(--ambre); }
.fx > span b { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx em { font-style: normal; font-size: 11.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx > b.num { font-size: 13px; font-weight: 500; }
.fx.pai > b.num { color: var(--texte-3); }
.fx.entre { animation: fxEntre .7s cubic-bezier(.16, .9, .25, 1) both; animation-delay: var(--d, 0s); }
@keyframes fxEntre { from { transform: translateX(calc(100% + 60px)); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
.flux.plat { display: grid; gap: 8px; overflow: hidden; }
.flux.plat .fx { background: rgba(var(--encre), .02); backdrop-filter: none; -webkit-backdrop-filter: none; }
.rs-fx-note { font-size: 12px; }
.rs-h3 .pouls-live { display: inline-block; vertical-align: middle; margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .fx.entre { animation: none; } }

/* versements : une ligne discrète sous les chiffres de l'accueil */
.k-vers { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 7px 20px; border-top: 1px solid var(--trait); font: inherit; font-size: 11.5px; color: var(--texte-3); text-align: left; cursor: pointer; background: none; }
.k-vers b { color: var(--texte-2); font-weight: 500; } .k-vers span { margin-left: auto; }
.k-vers i { width: 6px; height: 6px; border-radius: 50%; background: var(--vert); opacity: .7; }
.k-vers:hover { color: var(--texte-2); }
/* versements plus visibles dans Résultats */
.vs-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 12px; border-radius: 12px; border: 1px solid var(--trait); background: rgba(var(--encre), .03); }
.vs-hero > div > span { display: block; font-size: 12.5px; color: var(--texte-2); }
.vs-hero > div > b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--vert); }
.vs-hero dl { display: flex; gap: 22px; margin: 0; } .vs-hero dt { font-size: 11.5px; color: var(--texte-3); } .vs-hero dd { margin: 0; font-size: 15px; font-weight: 500; }
.rs-toutes { margin-top: 10px; width: 100%; justify-content: center; }
/* date de livraison prévue par La Poste */
.pcd-prevue { display: flex; align-items: center; gap: 8px; margin: -2px 0 12px; padding: 9px 12px; border-radius: 10px; background: rgba(76, 227, 154, .08); color: var(--vert); font-size: 13.5px; font-weight: 500; }
.pcd-prevue i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.rs-h3 .pouls-live { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); }
/* paniers heure par heure dans le fil */
.fx.pan small i { background: var(--bleu); }
.fx.pan > b.num { font-size: 11.5px; color: var(--texte-3); font-weight: 400; }
.fx .fx-panier-ancien { background: rgba(127, 178, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FB2FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h10.2L20 7H6.2'/%3E%3Ccircle cx='9' cy='19' r='1.4'/%3E%3Ccircle cx='17' cy='19' r='1.4'/%3E%3C/svg%3E") center / 18px no-repeat !important; }
.fx-ent { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 12px; font-size: 13px; color: var(--texte-2); }
.fx-ent b { color: var(--texte); font-weight: 500; } .fx-ent i { font-style: normal; color: var(--texte-3); }

/* icône panier : sobre, comme une vignette */
.fx-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(var(--encre), .06); border: 1px solid var(--trait); color: var(--texte-2); }
.fx-ico svg { width: 17px; height: 17px; }
a.k-vers { text-decoration: none; }
.fx > span.fx-ico { flex: none; display: grid; gap: 0; width: 34px; min-width: 34px; }
/* légende cliquable : montre les points concernés dans l'univers */
.p-legende .leg-l button { font: inherit; color: inherit; background: none; border: 0; padding: 3px 6px; margin: -3px -6px; border-radius: 6px; cursor: pointer; transition: opacity .2s, background .2s; }
.p-legende .leg-l button:hover { background: rgba(var(--encre), .06); color: var(--texte); }
.p-legende .leg-l button.actif { background: rgba(var(--encre), .1); color: var(--texte); }
.p-legende .leg-l button.eteint { opacity: .4; }
.leg-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--trait); background: var(--verre); font-size: 12px; }
.leg-info b { width: 100%; font-weight: 500; color: var(--texte); }
.leg-info .lien { font-size: 11.5px; }
.p-legende { position: fixed; } .p-legende .leg-info { position: absolute; left: calc(100% + 18px); bottom: 0; width: 250px; margin: 0; }
/* « Traité » sur chaque décision */
.dec { position: relative; }
.dec-ok { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--trait-fort); background: var(--verre-fort); color: var(--texte-2); font-size: 13px; opacity: 0; transition: opacity .15s, color .15s, border-color .15s; cursor: pointer; }
.dec:hover .dec-ok, .dec:focus-visible .dec-ok { opacity: 1; }
.dec-ok:hover { color: var(--vert); border-color: var(--vert); }
.m-ok { flex: none; width: 32px; height: 32px; margin-left: 6px; border-radius: 50%; border: 1px solid var(--trait-fort); background: none; color: var(--texte-2); font-size: 14px; }
/* Suivi : livrés aujourd'hui / cette semaine */
.pc-livres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 12px 0 4px; font-size: 13.5px; color: var(--texte-2); }
.pc-livres b { color: var(--texte); font-size: 17px; font-weight: 500; margin-right: 4px; }
.pc-livres i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; }
.pc-livres .lien { margin-left: auto; font-size: 12.5px; }
/* SAV : la conversation (mails reçus et réponses envoyées) */
.sv-conv { margin-top: 4px; }
.cv { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.cv-m { display: flex; flex-direction: column; max-width: 82%; }
.cv-m.cli { align-self: flex-start; } .cv-m.moi { align-self: flex-end; align-items: flex-end; }
.cv-b { padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--texte); white-space: normal; overflow-wrap: anywhere; }
.cv-m.cli .cv-b { background: rgba(var(--encre), .06); border: 1px solid var(--trait); border-bottom-left-radius: 4px; }
.cv-m.moi .cv-b { background: rgba(var(--acc), .14); border: 1px solid rgba(var(--acc), .28); border-bottom-right-radius: 4px; }
.cv-b.long { max-height: 9.5em; overflow: hidden; position: relative; padding-bottom: 30px; }
.cv-plus { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 13px 7px; text-align: left; font: inherit; font-size: 12px; color: var(--bleu); border: 0; cursor: pointer; background: linear-gradient(transparent, var(--verre-fort) 55%); }
.cv-m small { margin-top: 4px; font-size: 11px; color: var(--texte-3); padding: 0 4px; }
.cv-avant { display: flex; flex-direction: column; gap: 10px; }
.cv-avant summary { cursor: pointer; font-size: 12px; color: var(--texte-3); text-align: center; list-style: none; padding: 4px; }
.cv-avant[open] { display: flex; } .cv-avant[open] > .cv-m { margin-top: 10px; }
/* le ✓ a sa propre place à droite : il ne passe plus jamais sur le texte */
.dec > span:not(.dec-ok):not(.logo-t) { flex: 1; min-width: 0; }
.dec .dec-ok { position: static; transform: none; flex: none; margin-left: 2px; }

/* Critères « potable » (page Team) */
.pot { margin: 16px 0; }
.pot-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .pot-tete small { font-size: 12px; color: var(--texte-3); }
.pot-crit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pot-c { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--trait); border-radius: 12px; min-width: 0; }
.pot-c > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pot-c small { font-size: 12px; color: var(--texte-2); } .pot-c b { font-size: 17px; font-weight: 400; white-space: nowrap; } .pot-c em { font-style: normal; font-size: 11.5px; color: var(--texte-3); }
.pot-m { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--texte-3); border: 1px solid var(--trait); }
.pot-c.ok .pot-m { color: var(--vert); border-color: rgba(76, 227, 154, .4); } .pot-c.ok b { color: var(--vert); }
.pot-jours { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.pot-jours i { width: 12px; height: 12px; border-radius: 3px; background: rgba(var(--ligne), .12); } .pot-jours i.ok { background: var(--vert); } .pot-jours i.non { background: var(--rouge); opacity: .7; } .pot-jours i.encours { opacity: .45; }
.pot-jours small { margin-left: 8px; font-size: 11px; color: var(--texte-3); }
@media (max-width: 900px) { .pot-crit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pot { margin: 12px 0; } .pot-crit { grid-template-columns: 1fr; } .pot-c b { font-size: 17px; } }

/* chiffres façon Revolut : rouleau par chiffre */
.rl-r { display: inline-flex; vertical-align: bottom; line-height: 1.15em; height: 1.15em; overflow: hidden; }
.rl-s { white-space: pre; }
.rl-c { display: inline-block; height: 1.15em; overflow: hidden; }
.rl-b { display: flex; flex-direction: column; height: 1000%; transition: transform .75s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.rl-b i { display: block; height: 10%; line-height: 1.15em; font-style: normal; text-align: center; }

/* === Dimanche · Coordination (global) === */
/* Écran moyen (821-1200 px) : les chiffres passent sous le menu au lieu de le recouvrir. */
@media (max-width: 1200px) and (min-width: 821px) { html:not(.plat) .h-chiffres { top: 76px; } }
/* Le panneau de détail du QG ne recouvre plus la ligne « Prochain virement » sous les chiffres. */
@media (max-width: 1200px) and (min-width: 821px) { html:not(.plat) body[data-ecran="qg"] .p-detail { top: 210px; max-height: calc(100vh - 236px); } }
/* Menu FOCUS (PC) : voir le bloc « Dimanche · Menu FOCUS » en fin de fichier. */

/* === Dimanche · QG (accueil) === */
/* PC · À décider : un bouton d'action sous chaque décision, place réservée pour le ✓ */
.p-decider .dec { padding-right: 32px; align-items: flex-start; }
.p-decider .dec-ok { right: 4px; top: 22px; transform: none; }
.p-decider .dec > img, .p-decider .dec > .logo-t, .p-decider .dec > .dec-pt { margin-top: 2px; }
.p-decider .dec small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dec-act { display: inline-flex; align-items: center; margin-top: 8px; padding: 5px 11px; border-radius: 8px; border: 1px solid var(--trait-fort); font-size: 12px; font-weight: 500; color: var(--texte); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.dec-act:hover, .dec.focus .dec-act { background: var(--prim-bg); color: var(--prim-tx); border-color: transparent; }
.salut-reessayer { pointer-events: auto; margin-top: 16px; }
/* Téléphone · cartes « À décider » : texte en entier, gros bouton d'action dessous */
@media (max-width: 820px) {
  #mobile > .m-titre:first-child { margin-top: 18px; }
  .m-carte { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 14px 12px 16px; }
  .m-c-haut { display: flex; align-items: flex-start; gap: 12px; }
  .m-c-haut > span:not(.logo-t) { flex: 1; min-width: 0; }
  .m-carte small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
  .m-c-bas { display: flex; gap: 8px; margin-top: 12px; }
  .m-c-bas .m-act { flex: 1; padding: 12px 14px; font-size: 14px; text-align: center; }
  .m-c-bas .m-ok { width: auto; height: auto; margin: 0; padding: 0 14px; border-radius: 11px; font-size: 13px; }
  #mobile > .m-carte:last-of-type { margin-bottom: 0; }
  #mobile .pouls { margin-top: 22px; }
  #mobile > .pouls:first-child { margin-top: 0; }
  .pouls-attente { margin: 14px 0 2px; padding: 14px; border-radius: 12px; border: 1px dashed var(--trait-fort); font-size: 12.5px; line-height: 1.45; color: var(--texte-3); }
}

/* === Dimanche · Résultats === */
.rs-onglets { position: relative; scroll-behavior: smooth; }
.rs-hero p.rs-avant { font-size: 13.5px; margin-top: 8px; color: var(--texte-2); }
.rs-avant .evo { font-size: 12.5px; margin-right: 2px; } .rs-avant .num { color: var(--texte-3); }
.rs-stats .evo { margin-left: 4px; }
/* pastille grise = « avant » (même gris que la barre fantôme du graphique) */
.rs-av { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: rgba(var(--clair), .12); box-shadow: inset 0 0 0 1px rgba(var(--clair), .28); margin-right: 6px; vertical-align: -1px; }
.rs-comp .rs-av { width: 11px; height: 11px; }
.gr-bulle .rs-av { width: 8px; height: 8px; margin-right: 5px; }
.gr-bulle .evo { margin-left: 4px; font-size: 11.5px; }
.gr-bulle { font-size: 12.5px; padding: 10px 13px; }
/* où partent les ventes */
.rs-rep { margin-top: 22px; max-width: 520px; }
.rs-rep-b { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; background: rgba(var(--clair), .06); }
.rs-rep-b i { display: block; height: 100%; min-width: 3px; }
.rs-rep ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.rs-rep li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--texte-2); min-width: 0; }
.rs-rep li > i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.rs-rep li b { margin-left: auto; font-weight: 400; color: var(--texte); font-size: 12.5px; }
.rs-rep li em { font-style: normal; color: var(--texte-3); font-size: 11px; width: 34px; text-align: right; }
.rp-four { background: rgba(var(--clair), .42); } .rp-frais { background: rgba(var(--clair), .22); }
.rp-pub { background: var(--or); opacity: .85; } .rp-net { background: var(--vert); }
.rs-rep li:last-child { color: var(--texte); } .rs-rep li:last-child b { color: var(--vert); }
/* chargement : même hauteur que la page finale, pas de saut */
.rs-squelette .rs-h-g { min-height: 230px; }
.rs-sq-gr { min-height: 330px; display: flex; align-items: center; justify-content: center; }
.rs-sq-gr .rs-charge { padding: 0; }
@media (max-width: 820px) {
  .rs-rep ul { grid-template-columns: 1fr; gap: 7px; }
  .rs-rep { margin-top: 18px; }
  .rs-hero p.rs-avant { font-size: 13px; }
  .rs-sq-gr { min-height: 260px; }
  .rs-stats span { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
}
html.plat .rs-av { background: rgba(var(--encre), .07); box-shadow: inset 0 0 0 1px rgba(var(--encre), .2); }
html.plat .rp-four { background: rgba(var(--encre), .32); } html.plat .rp-frais { background: rgba(var(--encre), .15); } html.plat .rs-rep-b { background: rgba(var(--encre), .05); }

/* === Dimanche · SAV === */
.sv-filtres { flex-wrap: nowrap; }
.sv-filtres button { white-space: nowrap; }
.sv-ok { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--texte-2); background: rgba(76, 227, 154, .06); border: 1px solid rgba(76, 227, 154, .18); }
.sv-ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert, #4CE39A); flex: none; }
.sv-d-tete .sv-attend { font-size: 11.5px; padding: 3px 8px; }
.sv-msg-d .cv { margin-top: 10px; }
.sv-cmd-l .vign.vide { background: rgba(var(--encre), .06); border: 1px dashed var(--trait-fort); }
.sv-envoyee summary { color: var(--texte-2); }
.sv-envoyee .sv-b-texte { max-height: none; }
.sv-fil .sv-envoi .pg-btn:not(.prim) { flex: none; }
.sv-haut-m { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sv-haut-m span { font-family: var(--mono); font-size: 11px; color: var(--texte-3); }
@media (max-width: 820px) {
  .sv-filtres { overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .sv-filtres::-webkit-scrollbar { display: none; }
  .sv-d-tete .pastille, .sv-d-tete .sv-attend { align-self: flex-start; margin-top: 4px; }
  /* Gros bouton Envoyer toujours sous le pouce, juste au-dessus des onglets */
  .sv-fil.a-envoyer { padding-bottom: 96px; }
  .sv-fil.a-envoyer .sv-envoi { position: fixed; left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); margin: 0; z-index: 20; padding: 8px; border: 1px solid var(--trait); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
  .sv-fil.a-envoyer .sv-envoi .prim { min-height: 46px; font-size: 15px; }
}
/* PC · « En direct » : l'heure tient sur une ligne */
.p-journal .j-l { grid-template-columns: 84px 1fr; } .p-journal .j-l time { white-space: nowrap; letter-spacing: -.02em; }
.gr-bulle span.evo { display: inline; }
.gr .gr-bulle .evo.t-vert { color: #0E8A4F !important; } .gr .gr-bulle .evo.t-rouge { color: #C23A2B !important; }
.gr .gr-bulle .rs-av { background: rgba(10, 16, 32, .1); box-shadow: inset 0 0 0 1px rgba(10, 16, 32, .3); }
.gr .gr-bulle::after { left: calc(50% + var(--fl, 0px)); }

/* === Dimanche · Suivi (colis) === */
.pc-rep-tete { flex-wrap: wrap; }
.pc-rep-tete .pc-livres { display: inline-flex; margin: 0; gap: 4px; font-size: 12.5px; color: var(--texte-3); }
.pc-rep-tete .pc-livres b { font-size: 13.5px; margin: 0 2px 0 0; }
.pc-rep-l .pc-tous i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--texte-3); }
.pc-outils { position: sticky; top: -1px; z-index: 4; display: flex; align-items: center; gap: 12px; margin: 0 0 6px; padding: 8px 0; background: var(--verre-fort); box-shadow: 0 8px 12px -10px var(--verre-fort); }
.pc-rech { flex: 1; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--trait-fort); background: rgba(var(--encre), .03); transition: border-color .2s, background .2s; }
.pc-rech:focus-within { border-color: rgba(var(--acc), .6); background: rgba(var(--encre), .05); }
.pc-rech svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--texte-3); stroke-width: 2; stroke-linecap: round; }
.pc-rech input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--texte); font: inherit; font-size: 14px; }
.pc-rech input::placeholder { color: var(--texte-3); }
.pc-rech input::-webkit-search-cancel-button { display: none; }
.pc-trouve { margin: 6px 4px 0; font-size: 12.5px; color: var(--texte-3); }
.pc-vide { display: grid; justify-items: center; gap: 8px; padding: 36px 16px; text-align: center; border: 1px dashed var(--trait-fort); border-radius: 14px; margin-top: 8px; }
.pc-vide p { margin: 0; font-size: 15px; color: var(--texte); } .pc-vide small { font-size: 12.5px; color: var(--texte-3); max-width: 380px; }
.pc-vide .pg-btn { margin-top: 6px; }
.pc-charge { display: grid; gap: 10px; margin-top: 8px; }
.pc-charge i { height: 64px; border-radius: 12px; background: linear-gradient(90deg, rgba(var(--encre), .03), rgba(var(--encre), .07), rgba(var(--encre), .03)); background-size: 200% 100%; animation: pcCharge 1.4s linear infinite; }
.pc-charge i:first-child { height: 150px; }
@keyframes pcCharge { to { background-position: -200% 0; } }
/* Lignes : la ligne entière ouvre, l'action directe reste à droite */
.pc-l-rang { display: flex; align-items: center; gap: 10px; }
.pc-l-rang .pc-l-haut { flex: 1; min-width: 0; }
.pc-l-txt > span { display: flex; align-items: baseline; gap: 6px; }
.pc-l-txt > span em { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pc-autres { flex: none; text-decoration: none; font-family: var(--mono); font-size: 11px; color: var(--texte-3); padding: 1px 5px; border-radius: 5px; border: 1px solid var(--trait-fort); }
.pc-quand { display: grid; justify-items: end; gap: 1px; min-width: 64px; flex: none; }
.pc-quand b { font-size: 14px; font-weight: 500; color: var(--texte); white-space: nowrap; }
.pc-quand small { font-size: 11px; color: var(--texte-3); white-space: nowrap; }
.pc-chev { width: 8px; height: 8px; flex: none; border-right: 1.5px solid var(--texte-3); border-bottom: 1.5px solid var(--texte-3); transform: rotate(-45deg); margin: 0 4px 0 2px; opacity: .6; transition: transform .2s; }
.pc-l.ouvert .pc-chev { transform: rotate(45deg); }
.pc-act { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 108px; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: var(--texte); text-decoration: none; border: 1px solid var(--trait-fort); white-space: nowrap; transition: background .2s; }
.pc-act:hover { background: rgba(var(--acc), .08); }
.pc-act.prim { background: var(--prim-bg); color: var(--prim-tx); border-color: transparent; }
/* colonne d'actions de même largeur sur toutes les lignes : chaque ligne va jusqu'au bord */
.pc-acts { flex: none; width: 148px; display: grid; gap: 6px; }
.pc-acts .pc-act { width: 100%; min-width: 0; }
.pc-act.second { color: var(--texte-2); border-color: var(--trait); }
.pc-act.ok { height: 30px; font-size: 12px; color: var(--vert); border-color: rgba(76, 227, 154, .35); }
.pc-act.ok:hover { background: rgba(76, 227, 154, .08); }
.pc-l.regle .pc-l-haut img { opacity: .6; } .pc-l.regle .pc-mini { opacity: .4; }
/* livrés aujourd'hui / cette semaine : de vrais indicateurs */
.pc-rep-tete { align-items: center; }
.pc-rep-tete > b { font-size: 17px; }
.pc-kpis { display: flex; gap: 10px; margin-left: auto; }
.pc-kpi { display: grid; justify-items: start; gap: 2px; min-width: 132px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--trait); background: rgba(76, 227, 154, .05); text-align: left; transition: background .2s; }
.pc-kpi:hover { background: rgba(76, 227, 154, .1); }
.pc-kpi b { font-size: 28px; line-height: 1; font-weight: 500; color: var(--vert); }
.pc-rep-tete .pc-kpi span { display: block; font-size: 12.5px; color: var(--texte-2); white-space: nowrap; }
.pc-rep .pc-barre { margin-top: 14px; }
.pc-l-haut:focus-visible { outline: 2px solid rgba(var(--acc), .6); outline-offset: -2px; }
@media (max-width: 820px) {
  body[data-ecran="colis"] .pg-tete { flex-wrap: wrap; }
  body[data-ecran="colis"] .pg-tete-d, body[data-ecran="colis"] .pg-tete-d .pg-btn { width: 100%; }
  body[data-ecran="colis"] .pg-tete-d .pg-btn { min-height: 46px; font-size: 14.5px; }
  .pc-rep-tete .pc-livres { display: inline-flex; width: 100%; }
  /* étapes en pastilles qu'on fait défiler : la liste arrive tout de suite */
  .pc-rep { padding: 14px 14px 12px; }
  .pc-rep-l { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px; }
  .pc-rep-l::-webkit-scrollbar { display: none; }
  .pc-rep-l button { display: inline-flex; flex: none; gap: 7px; padding: 0 12px; height: 36px; border-radius: 999px; border: 1px solid var(--trait-fort); font-size: 13px; white-space: nowrap; }
  .pc-rep-l button.actif { border-color: rgba(var(--acc), .5); }
  .pc-rep-l button.vide { display: none; }
  .pc-rep-l em { display: none; }
  .pc-rep-l b { font-size: 13px; }
  .pc-rep-l i { width: 7px; height: 7px; }
  .pc-outils { top: 0; margin: 0 -16px 4px; padding: 8px 16px; background: var(--nuit); }
  .pc-rech { height: 44px; } .pc-rech input { font-size: 16px; } /* 16 px : iPhone ne zoome pas */
  .pc-l-rang { flex-wrap: wrap; gap: 0; }
  .pc-l-rang .pc-l-haut { flex: 1 1 100%; }
  .pc-l-haut { padding: 12px 0; }
  .pc-quand { min-width: 0; }
  .pc-chev { display: none; }
  .pc-acts { width: auto; display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px 54px; }
  .pc-acts:empty, .pc-acts:not(:has(.pc-act:not(.second), [data-pc-regle])) { display: none; }
  .pc-act.second:not([data-pc-regle]) { display: none; } /* téléphone : seulement ce qu'il y a à faire */
  .pc-acts .pc-act { width: auto; height: 40px; padding: 0 16px; }
  .pc-kpis { width: 100%; margin: 10px 0 0; }
  .pc-kpi { flex: 1; min-width: 0; }
  .pc-l-txt > span em { white-space: nowrap; }
}

/* === Dimanche · Team + Réglages === */
.tm-sante { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid rgba(76, 227, 154, .28); border-radius: 16px; background: rgba(76, 227, 154, .05); }
.tm-sante > i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(76, 227, 154, .15); }
.tm-sante > span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tm-sante b { font-size: 15px; font-weight: 500; } .tm-sante small { font-size: 13px; color: var(--texte-2); }
.tm-sante em { font-style: normal; font-size: 11.5px; color: var(--texte-3); white-space: nowrap; }
.tm-sante.souci { border-color: rgba(255, 90, 77, .4); background: rgba(255, 90, 77, .06); }
.tm-sante.souci > i { background: var(--rouge); box-shadow: 0 0 0 4px rgba(255, 90, 77, .15); }
.tm-conv-tete b em { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--texte-3); margin-left: 6px; }
.prop-tete span { flex: none; white-space: nowrap; align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: rgba(255, 181, 71, .12); }
.prop.faite .prop-tete span { background: rgba(76, 227, 154, .12); }
.prop-suite { display: block; margin-top: 8px; font-size: 12px; color: var(--texte-3); line-height: 1.45; }
.pot-pli { padding: 0; } .pot-pli summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.pot-pli summary::-webkit-details-marker { display: none; } .pot-pli summary::after { content: '›'; color: var(--texte-3); font-size: 18px; margin-left: 10px; transition: transform .2s; }
.pot-pli[open] summary::after { transform: rotate(90deg); } .pot-pli summary b { margin-left: auto; font-size: 14px; font-weight: 400; color: var(--texte-2); }
.pot-pli > :not(summary) { margin-left: 16px; margin-right: 16px; } .pot-pli .pot-jours { margin-bottom: 16px; }
.pot-objectif { display: block; font-size: 12px; color: var(--texte-3); margin-bottom: 10px; }
.rg-intro { margin: 0 0 12px; font-size: 13px; color: var(--texte-2); }
.rg-etat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--trait); color: var(--texte-2); margin-bottom: 10px; }
.rg-etat i { width: 8px; height: 8px; border-radius: 50%; background: var(--texte-3); }
.rg-etat.vert { border-color: rgba(76, 227, 154, .35); color: var(--vert); } .rg-etat.vert i { background: var(--vert); }
.rg-etat.ambre { border-color: rgba(255, 181, 71, .35); color: var(--ambre); } .rg-etat.ambre i { background: var(--ambre); }
.rg-etat.rouge { border-color: rgba(255, 90, 77, .4); color: var(--rouge); } .rg-etat.rouge i { background: var(--rouge); }
.rg-etapes { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: etape; display: grid; gap: 10px; }
.rg-etapes li { counter-increment: etape; position: relative; padding: 2px 0 0 36px; min-height: 26px; font-size: 14px; color: var(--texte-2); line-height: 1.45; }
.rg-etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--texte); border: 1px solid var(--trait-fort); }
.rg .rg-etapes li b { display: inline; font-size: inherit; color: var(--texte); font-weight: 500; }
.rg-ok, .rg-manque { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 400; vertical-align: 1px; }
.rg-ok { color: var(--vert); } .rg-manque { color: var(--ambre); }
.rg .rg-l + .rg-l { border-top: 1px solid var(--trait); padding-top: 14px; margin-top: 8px; }
.rg-sep { border-top: 1px solid var(--trait); padding-top: 14px !important; margin-top: 14px; }
.rg-pli summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; } .rg-pli summary::-webkit-details-marker { display: none; }
.rg-pli summary .pg-sur { margin: 0; } .rg-pli summary small { font-size: 12px; color: var(--texte-3); } .rg-pli summary::after { content: '›'; margin-left: auto; color: var(--texte-3); }
.rg-pli[open] summary { margin-bottom: 12px; } .rg-pli[open] summary::after { transform: rotate(90deg); }
.th-carte b em { font-style: normal; color: var(--bleu); letter-spacing: 0; }
@media (max-width: 820px) {
  .tm-sante { margin: 4px 0 12px; padding: 12px 14px; }
  .tm-ligne.actif { border-color: rgba(var(--acc), .45); background: rgba(var(--acc), .08); }
  .tm-ligne em { font-size: 12px !important; } .tm-ligne:not(.actif) em { font-size: 20px !important; }
  .tm-ligne .pt-v { margin-left: 2px; }
  .tm-chat.sans-qui { min-height: 0; margin-top: 16px; scroll-margin-top: 12px; } .tm-chat.sans-qui .tm-fil { max-height: none; }
  .tm-conv-tete small { display: block !important; font-size: 12.5px; }
  .pot-pli { margin: 16px 0 0; }
  .msg.assistant:has(.prop) { max-width: 100%; }
  .rg-etapes li { font-size: 15px; }
}
.pc-l.ouvert a.pc-act.second { visibility: hidden; } /* le lien est déjà dans le détail ouvert */
@media (min-width: 821px) { .pc-rep-l .pc-tous { display: none; } .pc-tout { margin-right: auto; margin-left: 14px; font-size: 12.5px; } }
@media (max-width: 820px) { .pc-tout { display: none; } }
/* === Dimanche · SAV · fiche colis dans le dossier === */
.sv-cmd-bloc { border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; }
.sv-cmd-bloc .sv-cmd-l { border: 0; border-radius: 0; }
.sv-cmd-bloc.ouvert { border-color: var(--trait-fort); background: rgba(var(--encre), .015); }
.sv-cmd-bloc.ouvert .sv-cmd-l { border-bottom: 1px solid var(--trait); }
.sv-cmd-l em { display: inline-flex; align-items: center; gap: 6px; }
.sv-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.sv-cmd-l.ouvert .sv-chev { transform: rotate(-135deg) translate(-2px, -2px); }
.sv-colis { padding: 16px 14px 12px; display: grid; gap: 14px; }
.sv-colis .sv-trajet { margin: 0; }
.sv-colis .pcd-prevue { margin: 0; }
.sv-colis .frise { margin: 0; }
.sv-colis .sv-ctx-doux { margin: 0; }
.sv-colis-plus summary { cursor: pointer; font-size: 12.5px; color: var(--texte-3); list-style: none; padding-left: 30px; }
.sv-colis-plus summary::-webkit-details-marker { display: none; }
.sv-colis-num { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--texte-2); }
.sv-colis-num .mono { font-family: var(--mono); color: var(--texte); }
.sv-colis-logo { width: 22px; height: 22px; border-radius: 6px; }
.sv-colis-arts { display: grid; gap: 8px; }
.sv-colis-arts span { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; }
.sv-colis-arts img, .sv-colis-arts .vign { grid-row: span 2; width: 34px; height: 34px; border-radius: 7px; object-fit: cover; background: #fff; }
.sv-colis-arts .vign.vide { background: rgba(var(--encre), .06); }
.sv-colis-arts b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-colis-arts small { font-size: 11.5px; color: var(--texte-3); }
.sv-colis-pied { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--texte-3); border-top: 1px solid var(--trait); padding-top: 10px; }
/* Résultats · courbe (vagues) : trait net, aire très légère, avant en gris pointillé */
.vg-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vg-ligne { fill: none; stroke: var(--c); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.vg-aire { fill: var(--c); opacity: .09; stroke: none; }
.vg-avant { fill: none; stroke: rgba(var(--clair), .38); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
html.plat .vg-avant { stroke: rgba(var(--encre), .35); }
.vg .gr-col:hover, .vg .gr-col.sur { background: none; }
.vg .gr-col.sur::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid rgba(var(--clair), .22); }
html.plat .vg .gr-col.sur::before { border-left-color: rgba(var(--encre), .2); }
.vg-pt, .vg-ptp { position: absolute; left: 50%; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; opacity: 0; pointer-events: none; }
.vg-pt { background: var(--c); box-shadow: 0 0 0 3px var(--fond-plein, #0b0f19); }
.vg-ptp { width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; background: rgba(var(--clair), .5); }
.gr-col.sur .vg-pt, .gr-col.sur .vg-ptp { opacity: 1; }
.rs-forme { display: inline-flex; border: 1px solid var(--trait); border-radius: 8px; padding: 2px; margin-right: 14px; }
.rs-forme button { width: 30px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: var(--texte-3); }
.rs-forme button.actif { background: rgba(var(--acc), .12); color: var(--texte); }
.fo-b { width: 12px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 100% / 3px 50% no-repeat, linear-gradient(currentColor, currentColor) 4.5px 100% / 3px 100% no-repeat, linear-gradient(currentColor, currentColor) 9px 100% / 3px 70% no-repeat; }
.fo-c { width: 14px; height: 10px; border-bottom: 2px solid currentColor; border-radius: 0 0 50% 50% / 0 0 100% 100%; transform: rotate(180deg) translateY(2px); }
.rs-b-tete > .rs-forme { margin-left: auto; }

/* === Dimanche · Thème CORAIL (ex-ATELIER, clé « atelier ») ===
   Verre dépoli sur un fond chaud, une grande carte corail pour la journée, puis les mêmes données que FOCUS. */
html[data-theme="atelier"] body { background: radial-gradient(1100px 720px at 92% -8%, rgba(247, 150, 110, .42), transparent 62%), radial-gradient(900px 640px at -8% 108%, rgba(255, 196, 160, .5), transparent 60%), radial-gradient(700px 500px at 40% 45%, rgba(255, 255, 255, .55), transparent 70%), #F3EBE4; background-attachment: fixed; }
html[data-theme="atelier"] :is(.h-nav, .q-champ, .page, .q-reponse, .co-c, .co-k) { background: var(--verre); border: 1px solid rgba(255, 255, 255, .75); backdrop-filter: blur(22px) saturate(1.35); -webkit-backdrop-filter: blur(22px) saturate(1.35); box-shadow: var(--ombre); }
html[data-theme="atelier"] .page { background: var(--verre-fort); }
html[data-theme="atelier"] .h-nav button.actif { background: #24170F; color: #fff; box-shadow: none; }
html[data-theme="atelier"] .h-nav button.actif .badge { background: #fff; color: #24170F; }
html[data-theme="atelier"] .pg-btn.prim, html[data-theme="atelier"] .f-btn.prim, html[data-theme="atelier"] .m-act { background: var(--bleu); color: #fff; }
html[data-theme="atelier"] .rl.net > b { color: var(--bleu); font-weight: 600; }
html[data-theme="atelier"] .rs-h-v { font-weight: 600; letter-spacing: -.045em; }
html[data-theme="atelier"] .gr .gr-b { border-radius: 4px 4px 0 0; }
html[data-theme="atelier"] .gr .gr-bulle { background: #24170F; }
html[data-theme="atelier"] .gr .gr-bulle::after { background: #24170F; }
html[data-theme="atelier"] .gr .gr-bulle b, html[data-theme="atelier"] .gr .gr-bulle em { color: #fff; }
@media (min-width: 821px) {
  html[data-theme="atelier"] body[data-ecran="qg"] #plat { padding: 88px 32px 120px; }
}

.co { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; color: var(--texte); align-items: start; }
.co .num { font-variant-numeric: tabular-nums; }
/* la carte du jour */
.co-hero { grid-column: 1 / 9; grid-row: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 30px; padding: 26px 28px 22px; border-radius: 26px; color: #fff;
  background: radial-gradient(130% 150% at 0% 0%, #F58058 0%, #E85C33 42%, #D8492A 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 50px -24px rgba(200, 70, 30, .55); }
.co-date { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .8); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.co-date span { display: inline-flex; align-items: center; gap: 6px; } .co-date .pt { background: #fff; box-shadow: none; }
.co-hero h1 { margin: 10px 0 6px; font-size: 32px; line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.co-resume { margin: 0 0 18px; font-size: 14px; color: rgba(255, 255, 255, .88); line-height: 1.45; } .co-resume b { color: #fff; font-weight: 600; }
.co-brief { color: #fff; font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }
.co-auj { display: grid; gap: 2px; text-align: left; color: #fff; }
.co-auj small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .78); }
.co-auj b { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.co-auj span { font-size: 13px; color: rgba(255, 255, 255, .85); }
.co-auj em { font-style: normal; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; }
.co-auj:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.co-stats { display: flex; gap: 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
.co-stat { display: grid; gap: 1px; } .co-stat b { font-size: 17px; font-weight: 600; } .co-stat small { font-size: 11.5px; color: rgba(255, 255, 255, .75); }
.co-hero-d { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.co-leg { margin: 0 0 8px; display: flex; gap: 14px; justify-content: flex-end; font-size: 11.5px; color: rgba(255, 255, 255, .8); }
.co-leg span { display: inline-flex; align-items: center; gap: 6px; } .co-leg i { width: 10px; height: 10px; border-radius: 3px; background: #fff; } .co-leg i.l-h { background: rgba(255, 255, 255, .3); }
.co-attente { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); padding: 40px 0; text-align: center; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 14px; }
/* la date en tuile calendrier, façon widget Apple : noir, jour et mois en petit, le quantième en grand */
.co-tete { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.co-tete h1 { margin: 4px 0 0; }
.co-cal { flex: none; width: 78px; height: 78px; border-radius: 20px; display: grid; align-content: center; justify-items: center; gap: 0; position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, .97), rgba(255, 244, 238, .9) 55%, rgba(255, 226, 212, .88));
  box-shadow: inset 0 1.5px 0 #fff, inset 0 -6px 12px -6px rgba(228, 87, 46, .25), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 28px -12px rgba(120, 30, 5, .55); font-family: 'Geist', -apple-system, system-ui, sans-serif; }
.co-cal::after { content: ''; position: absolute; left: -30%; right: -30%; top: -60%; height: 90%; background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .9), transparent 60%); opacity: .55; pointer-events: none; }
.co-cal small { font-size: 13.5px; font-weight: 600; color: #E4572E; letter-spacing: -.01em; line-height: 1; margin-top: 3px; position: relative; z-index: 1; }
.co-cal b { font-size: 44px; font-weight: 500; color: #24170F; letter-spacing: -.045em; line-height: 1; margin-top: 1px; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
@media (max-width: 820px) { .co-cal { width: 64px; height: 64px; border-radius: 16px; } .co-cal small { font-size: 11.5px; } .co-cal b { font-size: 36px; } .co-tete { gap: 13px; } }
.co-attente-l { margin: 0 0 6px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.co-hero .gr.ton-blanc { --c: #FFFFFF; }
.co-hero .gr-b { opacity: 1; }
.co-hero .gr-p { background: rgba(255, 255, 255, .26) !important; border: 0 !important; }
.co-hero .gr-g { border-color: rgba(255, 255, 255, .18) !important; background: rgba(255, 255, 255, .18); }
.co-hero .gr-y span, .co-hero .gr-x span { color: rgba(255, 255, 255, .78) !important; }
.co-hero .gr-col.futur .gr-p { opacity: .55; }
/* cartes en verre */
.co-c { border-radius: 22px; padding: 18px 20px; min-width: 0; }
.co-c-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.co-c-t h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.co-note { font-size: 11.5px; color: var(--texte-3); }
.co-lien { font: inherit; font-size: 12.5px; color: var(--texte-2); display: inline-flex; align-items: center; gap: 6px; } .co-lien:hover { color: var(--bleu); }
.co-lien .chip-poste { height: 16px; }
.co-rond { font-style: normal; display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--bleu); color: #fff; font-size: 12.5px; font-weight: 600; }
.co-vide { margin: 0; font-size: 13.5px; color: var(--texte-2); }
/* À décider */
.co-decider { grid-column: 9 / 13; grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; }
.co-decs { display: grid; gap: 8px; overflow: auto; max-height: 520px; margin: 0 -6px; padding: 0 6px; }
.co-dec { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); position: relative; }
.co-dec::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ambre); }
.co-dec.mauvais::before { background: var(--rouge); } .co-dec.sav::before { background: var(--bleu); }
.co-dec > img, .co-dec > .logo-t, .co-dec > .dec-pt { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #fff; }
.co-dec-t { display: grid; gap: 2px; min-width: 0; } .co-dec-t b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .co-dec-t small { font-size: 12px; color: var(--texte-2); line-height: 1.35; }
.co-dec-b { grid-column: 2; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.co-btn { padding: 7px 14px; border-radius: 999px; background: #24170F; color: #fff; font-size: 12.5px; font-weight: 500; }
.co-dec.sav .co-btn, .co-dec.mauvais .co-btn { background: var(--bleu); }
.co-btn:hover { filter: brightness(1.12); }
.co-ok { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--trait-fort); color: var(--texte-2); font-size: 13px; display: grid; place-items: center; } .co-ok:hover { color: var(--vert); border-color: var(--vert); }
/* les 4 tuiles chiffrées */
.co-kpis { grid-column: 1 / 9; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.co-k { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border-radius: 20px; text-align: left; color: var(--texte); min-height: 148px; transition: transform .2s; }
.co-k:hover { border-color: rgba(var(--acc), .45) !important; }
.co-k small { font-size: 12px; color: var(--texte-2); } .co-k > b { font-size: 28px; font-weight: 600; letter-spacing: -.035em; margin-top: 4px; } .co-k > span { font-size: 12px; color: var(--texte-2); }
.co-k.co-net { background: #24170F !important; border-color: #24170F !important; color: #fff; }
.co-k.co-net small, .co-k.co-net > span { color: rgba(255, 255, 255, .7); }
.co-k.co-att > b { color: var(--bleu); }
.co-mini { margin-top: auto; height: 34px; display: flex; align-items: flex-end; gap: 3px; padding-top: 10px; }
.co-mini i { flex: 1; background: rgba(var(--acc), .28); border-radius: 2px 2px 0 0; } .co-mini i.der { background: var(--bleu); }
.co-part { margin-top: auto; height: 8px; display: flex; gap: 2px; border-radius: 999px; overflow: hidden; }
.co-part i { min-width: 3px; } .co-part .p-x { background: rgba(255, 255, 255, .3); } .co-part .p-f { background: rgba(255, 255, 255, .45); } .co-part .p-c { background: rgba(255, 255, 255, .6); } .co-part .p-n { background: var(--bleu); }
.co-ini { margin-top: auto; display: flex; } .co-ini i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 600; background: #FFE2D6; color: #B23D1B; border: 2px solid #FFF6F1; margin-left: -6px; } .co-ini i:first-child { margin-left: 0; }
/* ventes, colis, direct, compte, équipe */
.co-ventes { grid-column: 1 / 8; } .co-colis { grid-column: 8 / 13; }
.co-direct { grid-column: 1 / 5; } .co-compte { grid-column: 5 / 9; } .co-journal { grid-column: 9 / 13; }
.co-etapes { display: grid; gap: 2px; }
.co-etapes button { display: grid; grid-template-columns: 128px minmax(0, 1fr) 36px; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; font-size: 13px; color: var(--texte); text-align: left; }
.co-etapes button:hover { background: rgba(255, 255, 255, .6); } .co-etapes button.vide { color: var(--texte-3); }
.co-etapes i { height: 8px; border-radius: 999px; background: rgba(var(--encre), .06); overflow: hidden; } .co-etapes u { display: block; height: 100%; border-radius: 999px; }
.co-etapes b { text-align: right; font-weight: 600; }
.co-alerte { display: block; width: 100%; margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(200, 55, 45, .08); color: var(--rouge); font-size: 12.5px; text-align: left; }
.co-alerte b { font-weight: 600; }
.co-live { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(47, 138, 91, .16); }
.co-direct .fx-ent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12px; color: var(--texte-2); margin-bottom: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .55); }
.co-direct .fx-ent b { color: var(--texte); font-weight: 600; } .co-direct .fx-ent i { font-style: normal; color: var(--texte-3); } .co-direct .fx-ent .pg-doux { display: none; }
.co-direct .flux { display: grid; gap: 6px; }
.co-direct .flux .fx { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .8); backdrop-filter: none; -webkit-backdrop-filter: none; }
.co-compte .k-vers { padding: 10px 0 0; margin-top: 8px; }
.co-fil p { margin: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--trait); font-size: 13px; line-height: 1.45; color: var(--texte-2); }
.co-fil p:first-child { border-top: 0; } .co-fil time { font-size: 12px; color: var(--texte-3); }
/* téléphone : une colonne, la journée et les décisions d'abord */
@media (max-width: 820px) {
  html[data-theme="atelier"] body { background-attachment: scroll; }
  .co { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .co > * { grid-column: 1 !important; grid-row: auto !important; }
  .co-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 18px 16px; border-radius: 22px; }
  .co-hero h1 { font-size: 24px; } .co-auj b { font-size: 36px; } .co-resume { margin-bottom: 14px; font-size: 13.5px; }
  .co-stats { gap: 16px; margin-top: 12px; padding-top: 12px; } .co-stat b { font-size: 15px; }
  .co-decs { max-height: none; overflow: visible; }
  .co-dec-b { grid-column: 1 / -1; } .co-dec-b .co-btn { flex: 1; padding: 11px 14px; font-size: 14px; } .co-ok { width: 42px; height: 42px; }
  .co-kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .co-k { min-height: 128px; padding: 14px; } .co-k > b { font-size: 23px; }
  .co-etapes button { grid-template-columns: 112px minmax(0, 1fr) 30px; }
  .co-c { padding: 16px; border-radius: 20px; }
  .co-direct { order: 3; } .co-colis { order: 4; } .co-compte { order: 5; } .co-ventes { order: 6; } .co-journal { order: 7; } .co-demander { order: 8; }
  .co-hero { order: 0; } .co-decider { order: 1; } .co-kpis { order: 2; }
}
/* --- CORAIL premium : verre liquide, reflets, entrée flou → net, fond qui respire --- */
/* fond : deux nappes de lumière chaude qui dérivent très lentement derrière le verre */
html[data-theme="atelier"] body::before, html[data-theme="atelier"] body::after { content: ''; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(60px); will-change: transform; }
html[data-theme="atelier"] body::before { width: 62vw; height: 62vw; right: -18vw; top: -26vw; background: radial-gradient(circle, rgba(250, 128, 88, .5), rgba(250, 128, 88, 0) 65%); animation: coNappe1 26s ease-in-out infinite alternate; }
html[data-theme="atelier"] body::after { width: 54vw; height: 54vw; left: -16vw; bottom: -24vw; background: radial-gradient(circle, rgba(255, 186, 140, .6), rgba(255, 186, 140, 0) 65%); animation: coNappe2 32s ease-in-out infinite alternate; }
@keyframes coNappe1 { to { transform: translate(-14vw, 10vw) scale(1.12); } }
@keyframes coNappe2 { to { transform: translate(12vw, -8vw) scale(1.08); } }
/* verre liquide : plus de flou et de saturation, un liseré de lumière en haut à gauche, un reflet qui suit la souris */
html[data-theme="atelier"] :is(.co-c, .co-k, .page, .h-nav, .q-champ) { backdrop-filter: blur(28px) saturate(1.6) brightness(1.04); -webkit-backdrop-filter: blur(28px) saturate(1.6) brightness(1.04); }
html[data-theme="atelier"] :is(.co-c, .co-k) { position: relative; isolation: isolate; border-color: rgba(255, 255, 255, .55) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42) 55%, rgba(255, 255, 255, .55)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .25), inset 1px 0 0 rgba(255, 255, 255, .4), 0 1px 1px rgba(120, 55, 25, .04), 0 22px 46px -22px rgba(130, 55, 20, .28) !important; }
.co :is(.co-c, .co-k, .co-hero)::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .1) 38%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.co :is(.co-c, .co-k)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .75), rgba(255, 236, 225, .25) 40%, transparent 70%); }
.co :is(.co-c, .co-k):hover::after { opacity: 1; }
.co .co-k.co-net::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 140, 100, .28), transparent 70%); }
.co .co-k.co-net::before { background: linear-gradient(135deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .12)); }
.co .co-k.co-net { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 22px 46px -20px rgba(36, 23, 15, .55) !important; background: linear-gradient(160deg, #3A2A20, #1E130C) !important; }
/* la carte corail : relief, liseré, et un reflet qui la traverse de temps en temps */
.co-hero { position: relative; isolation: isolate; }
.co-hero::before { background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, .3)); }
.co-hero::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(520px circle at var(--mx, 85%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 65%); }
.co-brille { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.co-brille::before { content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; transform: translateX(-160%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16) 35%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, .16) 65%, transparent); animation: coReflet 9s cubic-bezier(.45, 0, .2, 1) 1.6s infinite; }
@keyframes coReflet { 0% { transform: translateX(-160%) skewX(-18deg); } 22%, 100% { transform: translateX(330%) skewX(-18deg); } }
.co-hero > :not(.co-brille) { position: relative; z-index: 3; }
/* boutons : un peu de lumière sur le dessus, comme du verre poli */
.co .co-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 14px -6px rgba(200, 70, 30, .55); }
.co .co-dec:not(.sav):not(.mauvais) .co-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 14px -6px rgba(36, 23, 15, .45); }
.co .co-dec { background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55)); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -14px rgba(130, 55, 20, .3); }
.co .co-rond { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px -3px rgba(228, 87, 46, .6); }
.co .co-live { animation: coPouls 2.4s ease-out infinite; }
@keyframes coPouls { 0% { box-shadow: 0 0 0 0 rgba(47, 138, 91, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47, 138, 91, 0); } }
/* entrée : chaque section arrive floue et un peu basculée, puis se pose (une seule fois, à l'ouverture) */
.co.entre > * { animation: coEntre .95s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--t, 0ms) + var(--d, 0ms)); transform-origin: 50% 0; }
.co.entre > :nth-child(1) { --d: 60ms; } .co.entre > :nth-child(2) { --d: 180ms; } .co.entre > :nth-child(3) { --d: 270ms; } .co.entre > :nth-child(4) { --d: 360ms; }
.co.entre > :nth-child(5) { --d: 440ms; } .co.entre > :nth-child(6) { --d: 520ms; } .co.entre > :nth-child(7) { --d: 590ms; } .co.entre > :nth-child(8) { --d: 660ms; } .co.entre > :nth-child(9) { --d: 720ms; }
@keyframes coEntre { from { opacity: 0; transform: perspective(1200px) rotateX(14deg) translateY(18px); filter: blur(16px); } to { opacity: 1; transform: none; filter: blur(0); } }
.co.entre .co-kpis > * { animation: coEntre .9s cubic-bezier(.16, 1, .3, 1) both; }
.co.entre .co-kpis > :nth-child(1) { animation-delay: calc(var(--t, 0ms) + 300ms); } .co.entre .co-kpis > :nth-child(2) { animation-delay: calc(var(--t, 0ms) + 370ms); }
.co.entre .co-kpis > :nth-child(3) { animation-delay: calc(var(--t, 0ms) + 440ms); } .co.entre .co-kpis > :nth-child(4) { animation-delay: calc(var(--t, 0ms) + 510ms); }
.co.entre .co-kpis { animation: none; }
/* les barres montent depuis l'axe, les décisions glissent en place */
.co.entre .gr-b { animation: coBarre 1.1s cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(var(--t, 0ms) + 520ms); }
.co.entre .gr-col:nth-child(3n+2) .gr-b { animation-delay: calc(var(--t, 0ms) + 580ms); } .co.entre .gr-col:nth-child(3n) .gr-b { animation-delay: calc(var(--t, 0ms) + 640ms); }
@keyframes coBarre { from { transform: translateX(-50%) scaleY(0); } to { transform: translateX(-50%) scaleY(1); } }
.co .gr-b { transform-origin: 50% 100%; }
.co.entre .co-mini i, .co.entre .co-part i, .co.entre .co-etapes u { animation: coPousse 1s cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(var(--t, 0ms) + 650ms); }
.co .co-mini i { transform-origin: 50% 100%; } .co .co-part i, .co .co-etapes u { transform-origin: 0 50%; }
.co.entre .co-mini i { animation-name: coMonte; }
@keyframes coMonte { from { transform: scaleY(0); } to { transform: none; } }
@keyframes coPousse { from { transform: scaleX(0); } to { transform: none; } }
.co.entre .co-dec { animation: coGlisse .7s cubic-bezier(.16, 1, .3, 1) both; }
.co.entre .co-dec:nth-child(1) { animation-delay: calc(var(--t, 0ms) + 380ms); } .co.entre .co-dec:nth-child(2) { animation-delay: calc(var(--t, 0ms) + 460ms); }
.co.entre .co-dec:nth-child(3) { animation-delay: calc(var(--t, 0ms) + 540ms); } .co.entre .co-dec:nth-child(n+4) { animation-delay: calc(var(--t, 0ms) + 620ms); }
@keyframes coGlisse { from { opacity: 0; transform: translateX(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* téléphone : on garde la lumière, on allège le flou (batterie) */
@media (max-width: 820px) {
  html[data-theme="atelier"] :is(.co-c, .co-k) { backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
  html[data-theme="atelier"] body::before { width: 120vw; height: 120vw; right: -50vw; top: -40vw; } html[data-theme="atelier"] body::after { width: 110vw; height: 110vw; left: -50vw; bottom: -30vw; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="atelier"] body::before, html[data-theme="atelier"] body::after, .co-brille::before, .co .co-live { animation: none; }
}
/* --- CORAIL · verre liquide : un fond de formes qui coulent, un verre qui les plie (réfraction) --- */
#co-fond { display: none; }
html[data-theme="atelier"] body::before, html[data-theme="atelier"] body::after { display: none; }
html[data-theme="atelier"] #co-fond { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#co-fond i { position: absolute; display: block; will-change: transform, border-radius; box-shadow: inset -2vmax -3vmax 6vmax rgba(150, 30, 10, .18), inset 2vmax 2vmax 5vmax rgba(255, 255, 255, .35); }
#co-fond .f1 { width: 60vmax; height: 50vmax; left: 44%; top: -24vmax; background: radial-gradient(circle at 30% 30%, #FFB08A, #F0683E 55%, #D9452A); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: coF1 26s ease-in-out infinite alternate, coMorph 13s ease-in-out infinite alternate; }
#co-fond .f2 { width: 46vmax; height: 46vmax; left: -16vmax; top: 30%; background: radial-gradient(circle at 60% 40%, #FFD9B4, #FFA066 60%, #F27A3A); border-radius: 58% 42% 37% 63% / 55% 61% 39% 45%; animation: coF2 30s ease-in-out infinite alternate, coMorph 16s ease-in-out -5s infinite alternate; }
#co-fond .f3 { width: 24vmax; height: 24vmax; left: 30%; top: 44%; background: radial-gradient(circle at 35% 30%, #FFF1E8, #F79A78 70%); border-radius: 50% 50% 46% 54% / 60% 40% 60% 40%; animation: coF3 20s ease-in-out infinite alternate, coMorph 11s ease-in-out -2s infinite alternate; }
#co-fond .f4 { width: 34vmax; height: 26vmax; right: -10vmax; bottom: -8vmax; background: radial-gradient(circle at 40% 35%, #FFD27A, #F29A3A 65%, #E4572E); border-radius: 63% 37% 54% 46% / 45% 55% 45% 55%; animation: coF4 24s ease-in-out infinite alternate, coMorph 14s ease-in-out -7s infinite alternate; }
#co-fond .f5 { width: 15vmax; height: 15vmax; left: 64%; top: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF, #FFC9B3 55%, #F07A57); border-radius: 50%; animation: coF5 17s ease-in-out infinite alternate, coMorph 9s ease-in-out -3s infinite alternate; }
#co-fond .f6 { width: 11vmax; height: 11vmax; left: 12%; top: 6%; background: radial-gradient(circle at 35% 30%, #FFE6D8, #EF6F49 70%); border-radius: 50%; animation: coF6 21s ease-in-out infinite alternate, coMorph 10s ease-in-out -6s infinite alternate; }
#co-fond .co-grain { position: absolute; inset: 0; background: radial-gradient(1100px 760px at 35% 35%, rgba(255, 249, 244, .42), transparent 72%); }
@keyframes coMorph { 0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 50% { border-radius: 61% 39% 45% 55% / 52% 63% 37% 48%; } 100% { border-radius: 37% 63% 51% 49% / 63% 38% 62% 37%; } }
@keyframes coF1 { to { transform: translate(-20vmax, 14vmax) rotate(50deg) scale(1.08); } }
@keyframes coF2 { to { transform: translate(22vmax, -10vmax) rotate(-40deg) scale(1.12); } }
@keyframes coF3 { to { transform: translate(18vmax, 12vmax) rotate(80deg) scale(.9); } }
@keyframes coF4 { to { transform: translate(-26vmax, -16vmax) rotate(-30deg) scale(1.1); } }
@keyframes coF5 { to { transform: translate(-30vmax, -26vmax) scale(1.3); } }
@keyframes coF6 { to { transform: translate(40vmax, 30vmax) scale(.8); } }
/* le verre : peu de flou, beaucoup de réfraction ; Safari garde le flou classique (la ligne url() y est ignorée) */
html[data-theme="atelier"] :is(.co-c, .co-k, .h-nav, .q-champ, .tabbar) { -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: url(#co-verre) saturate(1.75) brightness(1.07); }
html[data-theme="atelier"] .page { -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: url(#co-verre-fin) blur(8px) saturate(1.6) brightness(1.05); background: rgba(255, 252, 249, .7); }
html[data-theme="atelier"] :is(.co-c, .co-k) {
  background: linear-gradient(160deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .3) 52%, rgba(255, 255, 255, .44)) !important;
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .55), inset 0 -22px 34px -26px rgba(255, 255, 255, .95), inset 20px 0 34px -30px rgba(255, 255, 255, .85),
    0 1px 1px rgba(120, 55, 25, .05), 0 28px 54px -26px rgba(140, 45, 12, .38) !important; }
.co .co-hero { background: linear-gradient(155deg, rgba(247, 130, 92, .8), rgba(230, 88, 47, .84) 45%, rgba(206, 62, 34, .9));
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: url(#co-verre) saturate(1.6) brightness(1.04);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .65), inset 0 -26px 44px -32px rgba(255, 255, 255, .6), inset 24px 0 40px -34px rgba(255, 255, 255, .5), 0 34px 64px -30px rgba(200, 60, 20, .65); }
.co .co-k.co-net { background: linear-gradient(160deg, rgba(58, 40, 30, .84), rgba(24, 15, 10, .9)) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); backdrop-filter: url(#co-verre) saturate(1.4) brightness(.9);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .22), inset 0 -20px 30px -24px rgba(255, 140, 100, .35), 0 26px 50px -22px rgba(36, 23, 15, .6) !important; }
/* le bord du verre s'allume là où passe la souris */
.co :is(.co-c, .co-k, .co-hero)::before { padding: 1.5px;
  background: radial-gradient(220px circle at var(--mx, 25%) var(--my, 0%), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 70%), linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .1) 38%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .6)); }
/* la barre de navigation : une goutte de verre clair pour l'onglet ouvert */
html[data-theme="atelier"] .h-nav { background: rgba(255, 255, 255, .34); box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .9), inset 0 -10px 20px -14px rgba(255, 255, 255, .9), 0 18px 40px -20px rgba(140, 45, 12, .35); }
html[data-theme="atelier"] .h-nav button.actif { background: linear-gradient(170deg, rgba(255, 255, 255, .95), rgba(255, 240, 232, .8)); color: #D94A24; font-weight: 500;
  box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px -2px rgba(228, 87, 46, .18), 0 6px 16px -6px rgba(200, 70, 30, .45); }
html[data-theme="atelier"] .h-nav button.actif .badge { background: var(--rouge); color: #fff; }
html[data-theme="atelier"] .tabbar { background: rgba(255, 250, 246, .4); border-top: 1px solid rgba(255, 255, 255, .75); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .8); }
html[data-theme="atelier"] .tabbar button.actif { color: var(--bleu); }
/* boutons en goutte : reflet sur le dessus, ils s'enfoncent au clic puis rebondissent */
.co .co-btn { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.3, 1.7, .5, 1), filter .2s;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%); }
.co .co-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .45), transparent 70%); }
.co .co-btn:hover::after { opacity: 1; }
.co .co-btn:active, .co .co-ok:active, html[data-theme="atelier"] .h-nav button:active { transform: scale(.93); transition-duration: .08s; }
.co .co-ok { transition: transform .35s cubic-bezier(.3, 1.7, .5, 1), color .2s, border-color .2s; background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 #fff; }
@media (prefers-reduced-motion: reduce) { #co-fond i { animation: none; } }
@media (max-width: 820px) { .rs-tr .rs-p img { display: none; } .rs-tr { grid-template-columns: 50px minmax(0, 1fr) 70px 62px; gap: 8px; } .rs-forme { margin-right: 0; } }
@media (max-width: 820px) { .rs-tr .rs-p { display: block; } }
.rs-top li > i { background: rgba(var(--clair), .06); border: 1px solid var(--trait); }
html.plat .rs-top li > i { background: rgba(var(--encre), .05); }

/* === Dimanche · ÉPURE · GLACE (29/11 nuit, remplace tous les blocs ÉPURE ci-dessus) ===
   Bleus clairs et blanc. Fond : la lumière qui danse sous la glace (canvas WebGL #gl-fond). Cartes en verre givré,
   reflet qui suit la souris, une seule carte « glace profonde » (bleu nuit) pour l'argent du mois. */
/* socle repris des anciens blocs ÉPURE (supprimés le 29/11) : l'infobulle [data-pt] et la légende « avant » */
#pt-bulle { display: none; }
html[data-theme="epure"] #pt-bulle { display: block; position: fixed; z-index: 300; transform: translate(-50%, -100%); padding: 6px 10px; color: #fff; font: 500 12px/1.3 'Geist', system-ui, sans-serif; white-space: nowrap; pointer-events: none; max-width: 80vw; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="epure"] #pt-bulle[hidden] { display: none; }
html[data-theme="epure"] .leg-p { background: rgba(46, 107, 240, .18); }
html[data-theme="epure"] {
  --nuit: #E6F0FC; --verre: rgba(255, 255, 255, .62); --verre-fort: rgba(255, 255, 255, .8); --trait: rgba(40, 90, 160, .12); --trait-fort: rgba(40, 90, 160, .22);
  --texte: #0B1F3A; --texte-2: #4A6584; --texte-3: #8BA2BD; --bleu: #2E6BF0; --acc: 46, 107, 240; --encre: 11, 31, 58; --ligne: 40, 90, 160; --clair: 11, 31, 58;
  --vert: #138A6B; --rouge: #E0533A; --ambre: #D98A1E;
  --gl-b0: #B9C7D8; --gl-b1: #A9CDF7; --gl-b2: #63A2F2; --gl-b3: #2E6BF0; --gl-b4: #0F3E9C; --gl-alerte: #F0694A; --gl-nuit: #0B2A5B;
  --prim-bg: #2E6BF0; --prim-tx: #FFFFFF; --boite: #FFFFFF; --ombre: 0 24px 60px -30px rgba(20, 70, 150, .35);
}
html[data-theme="epure"] #pt-fond, html[data-theme="epure"] #co-fond { display: none !important; }
#gl-fond { display: none; }
html[data-theme="epure"] #gl-fond { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
html[data-theme="epure"] body { background: linear-gradient(180deg, #C7E0FF 0%, #5C99FC 100%) fixed; }
html[data-theme="epure"] #pt-bulle { background: var(--gl-nuit); border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(11, 42, 91, .5); }
html[data-theme="epure"] .gr-b { background: var(--gl-b3); } html[data-theme="epure"] .gr-p { background: rgba(255, 255, 255, .7); border-color: var(--trait); }
/* le verre givré, partagé par les cartes, la barre latérale et les pages */
html[data-theme="epure"] .gl-c, html[data-theme="epure"] .h-nav, html[data-theme="epure"] body:not([data-ecran="qg"]) .page, html[data-theme="epure"] .tabbar, html[data-theme="epure"] .q-champ {
  background: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46)); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(120, 170, 235, .25), 0 26px 60px -30px rgba(20, 70, 150, .38);
}
@media (min-width: 821px) {
  html[data-theme="epure"] .h-marque { top: 24px; left: 24px; width: 192px; padding: 14px 16px 0; z-index: 41; }
  html[data-theme="epure"] .h-marque .marque b { color: var(--texte); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; }
  html[data-theme="epure"] .h-marque .marque small { color: var(--texte-3); font-size: 11px; letter-spacing: 0; }
  html[data-theme="epure"] .h-nav { top: 20px; left: 20px; bottom: 20px; width: 200px; padding: 88px 10px 12px; gap: 3px; border-radius: 28px; }
  html[data-theme="epure"] .h-nav button { position: relative; padding: 11px 14px; border-radius: 14px; font-size: 14px; font-weight: 400; color: var(--texte-2); background: transparent; letter-spacing: 0; text-transform: none; }
  html[data-theme="epure"] .h-nav button::before { display: none; }
  html[data-theme="epure"] .h-nav button:hover { color: var(--texte); background: rgba(255, 255, 255, .5); }
  html[data-theme="epure"] .h-nav button.actif { color: var(--texte); font-weight: 500; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px -8px rgba(30, 90, 190, .45), inset 0 0 0 1px rgba(46, 107, 240, .18); }
  html[data-theme="epure"] .h-nav button.actif::after { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 18px; margin-top: -9px; border-radius: 3px; background: var(--gl-b3); }
  html[data-theme="epure"] .h-nav .badge { background: var(--gl-b3); color: #fff; }
  html[data-theme="epure"] body[data-ecran="qg"] #plat { padding: 22px 30px 120px 246px; background: transparent; }
  html[data-theme="epure"] body:not([data-ecran="qg"]) .page { left: 238px; right: 20px; top: 20px; bottom: 20px; border-radius: 28px; }
}
html[data-theme="epure"] .gl { max-width: 1400px; margin: 0 auto; color: var(--texte); display: grid; gap: 16px; }
html[data-theme="epure"] .gl-c { border-radius: 28px; padding: 22px 24px; min-width: 0; text-align: left; position: relative; overflow: hidden; isolation: isolate; }
/* le reflet : une tache de lumière qui suit la souris, et le givre au bord haut */
html[data-theme="epure"] .gl-c::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .75), transparent 45%); }
html[data-theme="epure"] .gl-c:hover::after { opacity: 1; }
html[data-theme="epure"] .gl-c::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent); }
html[data-theme="epure"] .gl-c-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
html[data-theme="epure"] .gl-c-tete h2 { margin: 0; font-size: 15.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
html[data-theme="epure"] .gl-c-tete h2 .num { color: var(--texte-3); font-weight: 400; }
html[data-theme="epure"] .gl-lien { font-size: 13px; color: var(--texte-2); display: inline-flex; align-items: center; gap: 8px; }
html[data-theme="epure"] button.gl-lien:hover { color: var(--gl-b3); } html[data-theme="epure"] .gl-lien b { color: var(--texte); font-weight: 500; }
html[data-theme="epure"] .gl-btn { position: relative; flex: none; padding: 10px 16px; border-radius: 999px; background: linear-gradient(180deg, #4A84F6, #2A62E6); color: #fff; font-size: 13px; font-weight: 500; font-style: normal; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(46, 107, 240, .7); transition: transform .15s, box-shadow .2s; }
html[data-theme="epure"] .gl-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -8px rgba(46, 107, 240, .85); }
html[data-theme="epure"] .gl-btn.clair { background: rgba(255, 255, 255, .8); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 8px 20px -10px rgba(20, 70, 150, .4); }
html[data-theme="epure"] .gl-vide { margin: 6px 0; font-size: 14px; color: var(--texte-2); }
html[data-theme="epure"] .gl-live { width: 8px; height: 8px; border-radius: 50%; background: #2FC48D; box-shadow: 0 0 0 0 rgba(47, 196, 141, .5); animation: glPouls 2.2s infinite; flex: none; }
html[data-theme="epure"] .gl-live.souci { background: var(--rouge); }
@keyframes glPouls { 70% { box-shadow: 0 0 0 7px rgba(47, 196, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 196, 141, 0); } }
/* l'entrée : chaque bloc « dégèle », du givre flou au net */
html[data-theme="epure"] .gl.entre > *, html[data-theme="epure"] .gl.entre > div > * { animation: glDegel 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--e, 0) * 90ms); }
@keyframes glDegel { from { opacity: 0; filter: blur(14px) brightness(1.25); transform: translateY(16px) scale(.985); } to { opacity: 1; filter: none; transform: none; } }
/* en-tête */
html[data-theme="epure"] .gl-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 6px 4px 4px; }
html[data-theme="epure"] .gl-puce { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texte-2); padding: 7px 13px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
html[data-theme="epure"] .gl-tete h1 { margin: 14px 0 0; font-size: 48px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--texte); }
html[data-theme="epure"] .gl-tete-d { display: flex; gap: 10px; align-items: center; flex: none; }
html[data-theme="epure"] .gl-cal { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 0; background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: 0 12px 28px -14px rgba(20, 70, 150, .5); }
html[data-theme="epure"] .gl-cal small { font-size: 10.5px; font-weight: 600; color: var(--gl-b3); text-transform: uppercase; letter-spacing: .08em; } html[data-theme="epure"] .gl-cal b { font-size: 26px; font-weight: 500; line-height: 1; }
/* rangées PC */
html[data-theme="epure"] .gl-r1 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
html[data-theme="epure"] .gl-r2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; align-items: stretch; }
html[data-theme="epure"] .gl-r3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
/* la journée */
html[data-theme="epure"] .gl-jour { display: flex; flex-direction: column; }
html[data-theme="epure"] .gl-jour-haut { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
html[data-theme="epure"] .gl-gros b { display: block; font-size: 60px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
html[data-theme="epure"] .gl-gros span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--texte-2); } html[data-theme="epure"] .gl-gros em { font-style: normal; font-weight: 600; } html[data-theme="epure"] .gl-gros em.haut { color: var(--vert); } html[data-theme="epure"] .gl-gros em.bas { color: var(--rouge); }
html[data-theme="epure"] .gl-minis { display: flex; gap: 8px; }
html[data-theme="epure"] .gl-mini { padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); min-width: 86px; }
html[data-theme="epure"] .gl-mini small { display: block; font-size: 11.5px; color: var(--texte-3); } html[data-theme="epure"] .gl-mini b { font-size: 19px; font-weight: 500; }
html[data-theme="epure"] .gl-heures { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; height: 150px; margin-top: auto; padding-top: 22px; }
html[data-theme="epure"] .gl-bh { position: relative; border-radius: 8px; background: rgba(255, 255, 255, .28); }
html[data-theme="epure"] .gl-bh i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 8px; display: block; }
html[data-theme="epure"] .gl-bh i.h { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(120, 170, 235, .35); }
html[data-theme="epure"] .gl-bh i.a { left: 18%; right: 18%; background: linear-gradient(180deg, #5C94F5, #2A62E6); box-shadow: 0 6px 14px -6px rgba(46, 107, 240, .8); }
html[data-theme="epure"] .gl-bh.ici { background: rgba(46, 107, 240, .1); box-shadow: inset 0 0 0 1px rgba(46, 107, 240, .35); }
html[data-theme="epure"] .gl-bh.ici i.a { background: linear-gradient(180deg, #2A62E6, #0F3E9C); }
html[data-theme="epure"] .gl-bh.futur { background: rgba(255, 255, 255, .14); }
html[data-theme="epure"] .gl-bh:hover { background: rgba(255, 255, 255, .55); }
html[data-theme="epure"] .gl-heures-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--texte-3); }
/* à décider */
html[data-theme="epure"] .gl-decider { display: flex; flex-direction: column; }
html[data-theme="epure"] .gl-nb { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: linear-gradient(180deg, #4A84F6, #2A62E6); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 500; box-shadow: 0 8px 18px -8px rgba(46, 107, 240, .8); }
html[data-theme="epure"] .gl-dec { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border-radius: 20px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); }
html[data-theme="epure"] .gl-dec > img, html[data-theme="epure"] .gl-dec > .logo-t, html[data-theme="epure"] .gl-dec > .dec-pt { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; flex: none; background: #fff; }
html[data-theme="epure"] .gl-dec-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html[data-theme="epure"] .gl-dec-t b { font-size: 14px; font-weight: 500; line-height: 1.3; }
html[data-theme="epure"] .gl-dec-t small { font-size: 12.5px; color: var(--texte-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-theme="epure"] .gl-dec.mauvais { box-shadow: inset 3px 0 0 var(--gl-alerte); }
html[data-theme="epure"] .gl-ok { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .8); border: 1px solid rgba(46, 107, 240, .2); font-size: 13px; display: grid; place-items: center; color: var(--texte-2); }
html[data-theme="epure"] .gl-ok:hover { background: var(--gl-b3); color: #fff; }
html[data-theme="epure"] .gl-pied { margin: auto 0 0; padding-top: 8px; font-size: 12px; color: var(--texte-3); }
/* la glace profonde : l'argent du mois */
html[data-theme="epure"] .gl-c.gl-profond { color: #fff; background: radial-gradient(120% 90% at 0% 0%, #2E6BF0 0%, #123E8F 45%, #0B2A5B 100%); border-color: rgba(160, 200, 255, .35); box-shadow: inset 0 1px 0 rgba(190, 220, 255, .55), 0 30px 60px -28px rgba(11, 42, 91, .7); }
html[data-theme="epure"] .gl-profond::after { background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(170, 210, 255, .28), transparent 50%); }
html[data-theme="epure"] .gl-profond .gl-lien { color: rgba(220, 235, 255, .75); } html[data-theme="epure"] .gl-profond button.gl-lien:hover { color: #fff; }
html[data-theme="epure"] .gl-geant { display: block; font-size: 64px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
html[data-theme="epure"] .gl-sous { margin: 8px 0 14px; font-size: 13px; color: rgba(220, 235, 255, .8); }
html[data-theme="epure"] .gl-jauge { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); margin-bottom: 12px; overflow: hidden; }
html[data-theme="epure"] .gl-jauge i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #A9CDF7, #FFFFFF); }
html[data-theme="epure"] .gl-profond .releve .rl { padding: 6px 0; font-size: 13px; color: rgba(220, 235, 255, .8); }
html[data-theme="epure"] .gl-profond .rl > b, html[data-theme="epure"] .gl-profond .rl.moins > b { color: #fff; } html[data-theme="epure"] .gl-profond .rl > i { border-bottom-color: rgba(220, 235, 255, .3); }
html[data-theme="epure"] .gl-profond .rl.net { border-top-color: rgba(220, 235, 255, .3); } html[data-theme="epure"] .gl-profond .rl.net > span { color: #fff; } html[data-theme="epure"] .gl-profond .rl.net > b { color: #fff; font-size: 20px; }
/* les colis */
html[data-theme="epure"] .gl-piste { display: flex; gap: 4px; height: 16px; margin-bottom: 14px; }
html[data-theme="epure"] .gl-piste button { border-radius: 999px; min-width: 10px; transition: transform .2s; } html[data-theme="epure"] .gl-piste button:hover { transform: scaleY(1.4); }
html[data-theme="epure"] .gl-piste .alerte, html[data-theme="epure"] .gl-etapes i.alerte { background: var(--gl-alerte); }
html[data-theme="epure"] .gl-piste .b0, html[data-theme="epure"] .gl-etapes i.b0 { background: var(--gl-b0); } html[data-theme="epure"] .gl-piste .b1, html[data-theme="epure"] .gl-etapes i.b1 { background: var(--gl-b1); }
html[data-theme="epure"] .gl-piste .b2, html[data-theme="epure"] .gl-etapes i.b2 { background: var(--gl-b2); } html[data-theme="epure"] .gl-piste .b3, html[data-theme="epure"] .gl-etapes i.b3 { background: var(--gl-b3); } html[data-theme="epure"] .gl-piste .b4, html[data-theme="epure"] .gl-etapes i.b4 { background: var(--gl-b4); }
html[data-theme="epure"] .gl-etapes { display: grid; gap: 2px; }
html[data-theme="epure"] .gl-etapes button { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; font-size: 13px; color: var(--texte-2); text-align: left; }
html[data-theme="epure"] .gl-etapes button:hover { background: rgba(255, 255, 255, .55); color: var(--texte); }
html[data-theme="epure"] .gl-etapes i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
html[data-theme="epure"] .gl-etapes span { flex: 1; } html[data-theme="epure"] .gl-etapes em { font-style: normal; color: var(--gl-alerte); font-weight: 500; }
html[data-theme="epure"] .gl-etapes b { color: var(--texte); font-weight: 500; font-size: 14px; } html[data-theme="epure"] .gl-etapes .zero { opacity: .45; }
/* la semaine */
html[data-theme="epure"] .gl-sem { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 220px; padding-top: 8px; }
html[data-theme="epure"] .gl-sem button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
html[data-theme="epure"] .gl-sem i { display: block; width: 100%; max-width: 40px; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(169, 205, 247, .85)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 20px -12px rgba(20, 70, 150, .5); transition: transform .2s; }
html[data-theme="epure"] .gl-sem .ici i { background: linear-gradient(180deg, #5C94F5, #2A62E6); border-color: rgba(255, 255, 255, .5); }
html[data-theme="epure"] .gl-sem button:hover i { transform: translateY(-3px); }
html[data-theme="epure"] .gl-sem em { font-style: normal; font-size: 11px; color: var(--texte-2); } html[data-theme="epure"] .gl-sem small { font-size: 11.5px; color: var(--texte-3); } html[data-theme="epure"] .gl-sem .ici small { color: var(--gl-b3); font-weight: 600; }
/* clients, direct, équipe */
html[data-theme="epure"] .gl-cl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; margin-bottom: 6px; border-radius: 18px; background: rgba(255, 255, 255, .5); text-align: left; }
html[data-theme="epure"] .gl-cl > span:nth-child(2) { flex: 1; min-width: 0; display: grid; } html[data-theme="epure"] .gl-cl b { font-size: 14px; font-weight: 500; } html[data-theme="epure"] .gl-cl small { font-size: 12.5px; color: var(--texte-2); }
html[data-theme="epure"] .gl-30 { margin-top: 14px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(135deg, rgba(169, 205, 247, .55), rgba(255, 255, 255, .45)); border: 1px solid rgba(255, 255, 255, .9); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; }
html[data-theme="epure"] .gl-30 small { font-size: 12px; color: var(--texte-2); grid-column: 1 / -1; } html[data-theme="epure"] .gl-30 b { font-size: 28px; font-weight: 500; letter-spacing: -.03em; } html[data-theme="epure"] .gl-30 span { font-size: 12.5px; color: var(--texte-2); }
html[data-theme="epure"] .gl-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; color: var(--gl-b4); background: linear-gradient(180deg, #fff, #D6E7FC); border: 1px solid #fff; box-shadow: 0 6px 14px -8px rgba(20, 70, 150, .6); }
html[data-theme="epure"] .gl-av.veilleur { color: #fff; background: linear-gradient(180deg, #5C94F5, #2A62E6); } html[data-theme="epure"] .gl-av.sav { color: #fff; background: linear-gradient(180deg, #2A62E6, #0F3E9C); } html[data-theme="epure"] .gl-av.brief { color: #fff; background: linear-gradient(180deg, #8DBBF5, #4E8BEA); }
html[data-theme="epure"] .gl-fx { display: grid; gap: 6px; }
html[data-theme="epure"] .gl-fx .fx { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 16px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .85); text-align: left; backdrop-filter: none; }
html[data-theme="epure"] .gl-fx button.fx:hover { background: rgba(255, 255, 255, .85); }
html[data-theme="epure"] .gl-fx .fx img, html[data-theme="epure"] .gl-fx .fx .vign, html[data-theme="epure"] .gl-fx .fx-ico { width: 38px; height: 38px; min-width: 38px; border-radius: 12px; background: #fff; border: 0; }
html[data-theme="epure"] .gl-fx .fx > b.num { font-size: 13.5px; font-weight: 500; }
html[data-theme="epure"] .gl-fil { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 13.5px; line-height: 1.45; color: var(--texte-2); }
html[data-theme="epure"] .gl-fil small { display: block; font-size: 11.5px; color: var(--texte-3); }
@media (max-width: 1360px) and (min-width: 821px) {
  html[data-theme="epure"] .gl-r2 { grid-template-columns: 1fr 1fr; } html[data-theme="epure"] .gl-r2 > .gl-semaine { grid-column: span 2; }
  html[data-theme="epure"] .gl-r3 { grid-template-columns: 1fr 1fr; } html[data-theme="epure"] .gl-r3 > :last-child { grid-column: span 2; }
  html[data-theme="epure"] .gl-minis { flex-wrap: wrap; }
}
@media (max-width: 1080px) and (min-width: 821px) { html[data-theme="epure"] .gl-r1 { grid-template-columns: 1fr; } }
/* téléphone */
@media (max-width: 820px) {
  html[data-theme="epure"] body { background: linear-gradient(180deg, #C7E0FF 0%, #5C99FC 100%) fixed; }
  html[data-theme="epure"] .gl { gap: 12px; }
  html[data-theme="epure"] .gl-tete { flex-direction: row; align-items: flex-end; gap: 12px; padding: 6px 0 2px; }
  html[data-theme="epure"] .gl-puce { display: none; } html[data-theme="epure"] .gl-tete-d .gl-btn { display: none; }
  html[data-theme="epure"] .gl-tete h1 { font-size: 30px; margin-top: 0; }
  html[data-theme="epure"] .gl-cal { width: 54px; height: 54px; border-radius: 16px; } html[data-theme="epure"] .gl-cal b { font-size: 22px; }
  html[data-theme="epure"] .gl-c { padding: 18px 16px; border-radius: 24px; }
  html[data-theme="epure"] .gl-gros b { font-size: 46px; } html[data-theme="epure"] .gl-geant { font-size: 50px; }
  html[data-theme="epure"] .gl-minis { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } html[data-theme="epure"] .gl-mini { min-width: 0; padding: 8px 10px; } html[data-theme="epure"] .gl-mini b { font-size: 16px; } html[data-theme="epure"] .gl-mini small { font-size: 10.5px; }
  html[data-theme="epure"] .gl-heures { gap: 3px; height: 120px; } html[data-theme="epure"] .gl-bh, html[data-theme="epure"] .gl-bh i { border-radius: 5px; }
  html[data-theme="epure"] .gl-dec { flex-wrap: wrap; } html[data-theme="epure"] .gl-dec-t { flex-basis: calc(100% - 58px); }
  html[data-theme="epure"] .gl-dec .gl-btn { flex: 1; padding: 13px 15px; font-size: 14px; text-align: center; } html[data-theme="epure"] .gl-ok { width: 46px; height: 46px; }
  html[data-theme="epure"] .gl-sem { height: 180px; gap: 6px; }
  html[data-theme="epure"] .gl-demander { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 22px; color: #fff; font-size: 14px; text-align: left; background: radial-gradient(120% 120% at 0% 0%, #2E6BF0, #0B2A5B); box-shadow: 0 20px 40px -20px rgba(11, 42, 91, .8); }
  html[data-theme="epure"] .gl-demander span:nth-child(2) { flex: 1; color: rgba(220, 235, 255, .8); } html[data-theme="epure"] .gl-demander b { color: #fff; font-weight: 500; } html[data-theme="epure"] .gl-demander em { font-style: normal; font-size: 20px; }
  html[data-theme="epure"] .tabbar { border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
  html[data-theme="epure"] .tabbar button { color: var(--texte-3); }
  html[data-theme="epure"] .tabbar button.actif { color: var(--texte); } html[data-theme="epure"] .tabbar button.actif svg { color: var(--gl-b3); filter: none; }
}

/* === Dimanche · Résultats · graphiques v3 (façon tableau de bord) + chiffres qui roulent à la bonne taille === */
/* les chiffres qui roulent gardent la taille et la couleur du nombre (avant : « .rs-stats span » les passait en 12 px pendant le défilement) */
[data-compte] .rl-r, [data-compte] .rl-r span, [data-compte] .rl-r i { font-size: inherit; color: inherit; font-weight: inherit; letter-spacing: inherit; }
/* le défilement passe par-dessus le nombre final, déjà en place mais invisible : rien ne bouge autour, ni pendant ni à la fin */
[data-compte] { position: relative; white-space: nowrap; }
[data-compte] .rl-fin { visibility: hidden; white-space: pre; }
[data-compte] .rl-r { position: absolute; top: 0; display: flex; gap: 0; height: 1lh; line-height: inherit; overflow: hidden; white-space: pre; vertical-align: baseline; }
[data-compte] .rl-s { display: block; white-space: pre; }
[data-compte] .rl-c { display: block; position: relative; height: 1lh; overflow: hidden; }
[data-compte] .rl-f { visibility: hidden; }
[data-compte] .rl-b { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 0; height: 1000%; }
[data-compte] .rl-b i { height: 10%; line-height: inherit; text-align: center; }
.rs-h-v { white-space: nowrap; }
/* cadre : axe en chiffres tabulaires, grille fine, pas de moyenne */
.gp { --gris: var(--texte-3); margin-top: 18px; }
.gp .gr-cadre { grid-template-columns: 52px 1fr; }
.gp .gr-y span, .gp .gr-x span { font-family: inherit; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--texte-3); }
.gp .gr-y span { right: 12px; }
.gp .gr-x { margin-left: 52px; margin-top: 9px; font-family: inherit; }
.gp .gr-x span { text-align: left; overflow: visible; }
.gp .gr-g { border-top: 1px solid var(--trait); opacity: .7; }
.gp .gr-g.zero { border-top-color: var(--trait-fort); opacity: 1; }
.gp .gr-col:hover, .gp .gr-col.sur { background: none; }
/* courbe : un trait net, la période d'avant en gris pointillé, rien d'autre */
.gp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gp-ligne { fill: none; stroke: var(--c); stroke-width: 1.75; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.gp-avant { fill: none; stroke: var(--gris); stroke-width: 1.25; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .8; }
.gp-c .gr-col.sur::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid var(--trait-fort); }
.gp-pt, .gp-ptp { position: absolute; left: 50%; width: 8px; height: 8px; margin: 0 0 -4px -4px; border-radius: 50%; opacity: 0; pointer-events: none; z-index: 1; }
.gp-pt { background: var(--c); box-shadow: 0 0 0 2px var(--fond-plein, #0b0f19); }
.gp-ptp { width: 6px; height: 6px; margin: 0 0 -3px -3px; background: var(--gris); }
.gr-col.sur .gp-pt, .gr-col.sur .gp-ptp, .gr-col.seul .gp-pt { opacity: 1; }
/* barres : la période d'avant à côté, en gris, coins à peine arrondis */
.gp-paire { position: absolute; left: 50%; bottom: 0; height: 100%; width: min(56%, 22px); transform: translateX(-50%); display: flex; align-items: flex-end; gap: 2px; }
.gp-paire.duo { width: min(74%, 34px); }
.gp-b, .gp-p { flex: 1; min-width: 1px; border-radius: 2px 2px 0 0; }
.gp-b { background: var(--c); }
.gp-p { background: var(--gris); opacity: .35; }
.gp-bar .gr-col:not(.sur) .gp-b { opacity: .88; }
.gp-bar .gr-cols:hover .gr-col:not(.sur) .gp-b { opacity: .45; }
/* infobulle sobre : pas de pointe, juste au-dessus du graphique */
.gp .gr-bulle { top: -6px; border-radius: 8px; padding: 9px 12px; }
.gp .gr-bulle::after { display: none; }
@media (max-width: 820px) {
  .gp .gr-cadre { grid-template-columns: 42px 1fr; } .gp .gr-x { margin-left: 42px; } .gp .gr-y span { right: 8px; font-size: 10px; } .gp .gr-x span { font-size: 10px; }
  .gp-paire.duo { gap: 1px; }
}

/* === Dimanche · Menu FOCUS v3 (29/11) ===
   QG : menu un peu à gauche (après le logo, pas centré), chiffres en haut à droite ; s'ils touchent le menu
   (mesuré par placerHaut() dans qg.js → body.ch-dessous), ils passent dessous. La fiche de détail se cale sous les chiffres (--ch-bas).
   Autres pages : menu centré (centre ≥ 510 px, jamais sur le logo), au-dessus de la page.
   Changement QG ↔ page (navGlisse() dans qg.js) : body.nav-sort = le QG s'estompe (panneaux + 3D, 0,2 s) et le menu glisse au milieu (0,25 s),
   puis la page arrive ; body.nav-retour = la page s'estompe et le menu revient à gauche, puis le QG revient. */
@media (min-width: 821px) {
  html:not(.plat) .h-nav { left: clamp(270px, 19vw, 330px); }
  html:not(.plat) body:not([data-ecran="qg"]):not(.nav-retour) .h-nav, html:not(.plat) body.nav-sort .h-nav { left: max(50%, 510px); transform: translateX(-50%) translateY(8px); z-index: 23; }
  html:not(.plat) body.pret:not([data-ecran="qg"]):not(.nav-retour) .h-nav, html:not(.plat) body.pret.nav-sort .h-nav { transform: translateX(-50%); }
  html:not(.plat) body.nav-vite .h-nav { transition: opacity .9s ease, left .25s cubic-bezier(.3, .7, .2, 1), transform .25s cubic-bezier(.3, .7, .2, 1), --fo-r .3s ease; transition-delay: 0s !important; }
  html:not(.plat) .h-chiffres { top: 22px; }
  html:not(.plat) body.ch-dessous .h-chiffres { top: 76px; }
  html:not(.plat) body[data-ecran="qg"] .p-detail { top: calc(var(--ch-bas, 150px) + 12px); max-height: calc(100vh - var(--ch-bas, 150px) - 38px); }
  /* changer de page : le reste s'efface et revient en moins de 0,2 s (l'entrée lente reste réservée au lancement) */
  html:not(.plat) body.nav-vite :is(.h-salut, .p-decider, .p-journal, .p-legende, .h-modes, .h-chiffres, .h-question) { transition-duration: .18s !important; transition-delay: 0s !important; }
  html:not(.plat) .page { animation-duration: .2s; }
  /* fondu QG → page : panneaux et 3D s'estompent ; la 3D change de largeur pendant qu'elle est invisible (pas de saut) */
  html:not(.plat) body.nav-sort :is(.h-salut, .p-decider, .p-journal, .p-legende, .h-modes, .h-chiffres, .h-question, .p-detail) { opacity: 0 !important; pointer-events: none; }
  html:not(.plat) body.nav-vite :is(#ciel, #etiquettes) { transition: opacity .2s ease; }
  html:not(.plat) body:is(.nav-sort, .nav-retour) :is(#ciel, #etiquettes) { opacity: 0; }
  /* page → QG : la page s'estompe avant de disparaître */
  html:not(.plat) body.nav-vite .page { transition: opacity .2s ease, transform .2s ease; }
  html:not(.plat) body.nav-retour .page { opacity: 0; transform: translateX(16px); pointer-events: none; }
}
@media (min-width: 821px) and (prefers-reduced-motion: reduce) { html:not(.plat) body.nav-vite .h-nav { transition-duration: 0s; } }
/* Chiffres sous le menu (écran étroit) : plus compacts ; le titre du QG reste à leur gauche ; la colonne de droite (paniers, commandes, ventes, en direct)
   ne remonte jamais sous les chiffres (--ch-bas, --ch-gauche posés par placerHaut() dans qg.js) et défile si l'écran est court. */
@media (min-width: 821px) {
  html:not(.plat) body.ch-dessous[data-ecran="qg"] .p-journal { max-height: calc(100vh - var(--ch-bas, 150px) - 38px); overflow-y: auto; scrollbar-width: none; }
  html:not(.plat) body.ch-dessous .h-salut { max-width: min(360px, calc(var(--ch-gauche, 400px) - 50px)); }
}
@media (min-width: 821px) and (max-width: 1000px) {
  html:not(.plat) body.ch-dessous .kpi { padding: 10px 12px 11px; }
  html:not(.plat) body.ch-dessous .kpi b { font-size: 17px; }
  html:not(.plat) body.ch-dessous .h-salut h1 { font-size: 32px; }
}
@media (min-width: 821px) and (max-width: 1200px) { .rs-h-v { font-size: 50px; } .rs-stats dd { font-size: 19px; } }

/* === Dimanche · Thème CORAIL v2 (retours du 29/11 soir) ===
   Carte corail : fils au lieu des barres + bénéfice du jour ; « En direct » sous la carte ; pages lisibles (Suivi, SAV, fiche). */
@media (min-width: 821px) {
  .co-hero { grid-column: 1 / 9; grid-row: 1; }
  .co-decider { grid-column: 9 / 13; grid-row: 1 / 3; }
  .co-direct { grid-column: 1 / 9; grid-row: 2; }
  .co-kpis { grid-column: 1 / 13; grid-row: 3; }
  .co-ventes { grid-column: 1 / 8; grid-row: 4; } .co-colis { grid-column: 8 / 13; grid-row: 4; }
  .co-compte { grid-column: 1 / 7; grid-row: 5; } .co-journal { grid-column: 7 / 13; grid-row: 5; }
  .co-direct { display: grid; grid-template-columns: minmax(0, 1fr); }
  .co-direct .flux { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .co-hero { order: 0; } .co-decider { order: 1; } .co-direct { order: 2; } .co-kpis { order: 3; }
}
/* ventes + bénéfice du jour côte à côte */
.co-duo { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0 26px; }
.co-duo .co-auj b { font-size: 38px; }
.co-benef { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .28); }
.co-benef span { color: rgba(255, 255, 255, .78); }
@media (max-width: 820px) { .co-duo { gap: 0 16px; } .co-duo .co-auj b { font-size: 29px; } .co-benef { padding-left: 15px; } .co-duo .co-auj span { font-size: 12px; } }
/* graphique en fils */
.co-leg em { font-style: normal; margin-right: auto; color: rgba(255, 255, 255, .82); }
.co-leg i.l-a { height: 2px; border-radius: 2px; width: 14px; } .co-leg i.l-h { height: 0; width: 14px; border-radius: 0; background: none !important; border-top: 1.5px dashed rgba(255, 255, 255, .6); }
.co-fils .vg-svg { overflow: visible; }
.co-fils .cf-ligne { fill: none; stroke: #fff; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 2px 4px rgba(150, 40, 10, .35)); }
.co-fils .cf-brin { fill: none; stroke: #fff; stroke-width: .9; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.co-fils .cf-brin.b1 { opacity: .55; } .co-fils .cf-brin.b2 { opacity: .4; } .co-fils .cf-brin.b3 { opacity: .3; } .co-fils .cf-brin.b4 { opacity: .22; }
.co-fils .cf-aire { fill: rgba(255, 255, 255, .1); stroke: none; }
.co-fils .cf-avant { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.3; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.co-fils .cf-bout { position: absolute; width: 11px; height: 11px; margin: 0 0 -5.5px -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); pointer-events: none; }
.co-fils .gr-col.sur::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid rgba(255, 255, 255, .45); }
.co-fils .gr-col:hover, .co-fils .gr-col.sur { background: none; }
@keyframes cfOnde1 { to { transform: translateY(1.2px); } } @keyframes cfOnde2 { to { transform: translateY(-1.2px); } }
.co-fils .cf-brin.b1, .co-fils .cf-brin.b3 { animation: cfOnde1 5.5s ease-in-out infinite alternate; }
.co-fils .cf-brin.b2, .co-fils .cf-brin.b4 { animation: cfOnde2 6.5s ease-in-out infinite alternate; }
@keyframes cfTrace { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.co.entre .co-fils .vg-svg { animation: cfTrace 1.5s cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc(var(--t, 0ms) + 350ms); }
@keyframes cfPouls { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.co-fils .cf-bout { animation: cfPouls 2.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .co-fils .cf-brin, .co-fils .cf-bout, .co.entre .co-fils .vg-svg { animation: none; } }
/* pages lisibles : verre presque plein, le fond ne traverse plus le texte */
html[data-theme="atelier"] .page { background: rgba(255, 252, 249, .95); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); }
/* Suivi : champ de recherche plein, sans le cadre natif d'iPhone */
html[data-theme="atelier"] .pc-rech { background: #fff; border: 1px solid rgba(36, 23, 15, .14); box-shadow: 0 1px 2px rgba(36, 23, 15, .05); }
html[data-theme="atelier"] .pc-rech:focus-within { background: #fff; border-color: rgba(228, 87, 46, .55); box-shadow: 0 0 0 3px rgba(228, 87, 46, .12); }
html[data-theme="atelier"] .pc-rech input { -webkit-appearance: none; appearance: none; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; }
html[data-theme="atelier"] .pc-rech input::-webkit-search-decoration { -webkit-appearance: none; }
/* SAV : dossiers traités lisibles (gris, pas transparents) */
html[data-theme="atelier"] .sv-l:not(.attend) { opacity: 1; }
html[data-theme="atelier"] .sv-l:not(.attend) :is(b, strong) { color: var(--texte); }
html[data-theme="atelier"] .sv-l { background: #fff; border-color: rgba(36, 23, 15, .08); }
/* fiche commande ouverte à gauche : fond blanc plein */
html[data-theme="atelier"] .p-detail { background: #fff !important; opacity: 1 !important; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid rgba(36, 23, 15, .1); box-shadow: 0 24px 60px -24px rgba(80, 30, 10, .35); }
@media (min-width: 821px) { .co .co-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 26px; } .co-duo .co-auj b { font-size: 34px; } .co-duo .co-auj span { white-space: nowrap; } }
.rs-forme button svg { display: block; }
.rs-comp.en-courbe .rs-av { width: 16px; height: 0; border: 0; border-top: 1.5px dashed var(--texte-3); border-radius: 0; background: none; box-shadow: none; }
.gp-c .gr-bulle .rs-av { width: 12px; height: 0; border-top: 1.5px dashed currentColor; border-radius: 0; background: none; box-shadow: none; vertical-align: 3px; }
.rs-comp.en-courbe .rs-av { vertical-align: 3px; }
.co-auj em { white-space: nowrap; display: inline-block; margin-top: 2px; }
html[data-theme="atelier"] .gr .gr-bulle .rs-av { background: rgba(255, 255, 255, .28); box-shadow: none; }
html[data-theme="atelier"] .gp-c .gr-bulle .rs-av { background: none; }
/* === Dimanche · SAV · pleine page sur PC === */
@media (min-width: 821px) {
  html:not([data-theme="epure"]) body[data-ecran="clients"] .page { left: 26px; right: 26px; }
  body[data-ecran="clients"] .p-detail { visibility: hidden !important; }
  body[data-ecran="clients"] .page { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 18px; }
  body[data-ecran="clients"] .page > .pg-tete { flex: none; margin-bottom: 14px; }
  body[data-ecran="clients"] .page > .pg-pied { flex: none; margin: 10px 0 0; }
  body[data-ecran="clients"] .sv-grille { flex: 1; min-height: 0; grid-template-columns: minmax(300px, 360px) 1fr; align-items: stretch; }
  body[data-ecran="clients"] .sv-col { min-height: 0; display: flex; flex-direction: column; }
  body[data-ecran="clients"] .sv-liste { flex: 1; max-height: none; overflow: auto; }
  body[data-ecran="clients"] .sv-dossier { max-width: none; overflow: auto; min-height: 0; }
}
@media (min-width: 1280px) {
  /* Conversation à gauche, colis toujours visible à droite */
  body[data-ecran="clients"] .sv-fil { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 26px; align-items: start; }
  body[data-ecran="clients"] .sv-fil > * { grid-column: 1; }
  body[data-ecran="clients"] .sv-fil > .sv-cmd-bloc { grid-column: 2; grid-row: 1 / span 6; position: sticky; top: 0; }
  body[data-ecran="clients"] .sv-fil > .sv-cmd-bloc .sv-cmd-l b { white-space: normal; }
  body[data-ecran="clients"] .sv-colis .sv-trajet li span { font-size: 10px; }
  body[data-ecran="clients"] .sv-msg-d[open] .cv { max-width: 760px; }
}

/* === Dimanche · FOCUS · verre liquide (léger) ===
   Panneaux FOCUS en verre liquide façon Apple, en restant lisibles : flou + saturation de ce qui passe derrière,
   un liseré de lumière en haut, un dégradé froid très doux, un reflet qui suit la souris (PC).
   Réfraction (filtre SVG fo-verre) seulement sur le menu et la barre de question : petites surfaces, la 3D reste fluide.
   Téléphone : pas de flou en plus, juste le liseré. */
@property --fo-r { syntax: '<number>'; inherits: false; initial-value: 0; }
@media (min-width: 821px) {
  html:not(.plat) :is(.panneau, .p-journal, .h-chiffres, .h-nav, .h-modes, .h-question .q-champ, .q-reponse, .page) {
    background-color: rgba(10, 16, 32, .5);
    background-image: radial-gradient(360px circle at var(--mx, 30%) var(--my, -40%), rgba(175, 205, 255, calc(var(--fo-r) * .09)), transparent 70%),
      linear-gradient(180deg, rgba(170, 200, 255, .07), rgba(170, 200, 255, 0) 42%);
    border: 1px solid rgba(175, 200, 255, .14); border-top-color: rgba(205, 222, 255, .24);
    box-shadow: inset 0 1px 0 rgba(225, 236, 255, .1), inset 0 -1px 0 rgba(120, 150, 220, .05), 0 22px 50px -26px rgba(0, 0, 0, .7);
    -webkit-backdrop-filter: blur(22px) saturate(1.6) brightness(1.06); backdrop-filter: blur(22px) saturate(1.6) brightness(1.06); }
  html:not(.plat) :is(.panneau, .p-journal, .h-chiffres, .h-nav, .h-modes) { transition-property: opacity, transform, --fo-r; }
  html:not(.plat) :is(.panneau, .p-journal, .h-chiffres, .h-nav, .h-modes, .h-question .q-champ, .q-reponse, .page):hover { --fo-r: 1; }
  /* lisibilité : la fiche de détail et les pages restent plus couvrantes (texte long) */
  html:not(.plat) .p-detail { background-color: rgba(9, 14, 28, .74); }
  html:not(.plat) .page { background-color: rgba(8, 12, 24, .76); -webkit-backdrop-filter: blur(28px) saturate(1.5) brightness(1.04); backdrop-filter: blur(28px) saturate(1.5) brightness(1.04); }
  /* réfraction légère (Chrome) ; Safari garde la ligne d'avant (verre dépoli) */
  html:not(.plat) :is(.h-nav, .h-question .q-champ) { backdrop-filter: url(#fo-verre) saturate(1.7) brightness(1.08); }
  html:not(.plat) .h-nav button.actif { background: linear-gradient(180deg, rgba(190, 212, 255, .2), rgba(150, 180, 255, .1)); box-shadow: inset 0 1px 0 rgba(230, 240, 255, .22), inset 0 0 0 1px rgba(170, 200, 255, .22); }
}
@media (max-width: 820px) {
  html:not(.plat) :is(.m-carte, .m-releve, .pouls) { box-shadow: inset 0 1px 0 rgba(225, 236, 255, .1); border-top-color: rgba(205, 222, 255, .22); }
}

/* === Dimanche · Résultats · v4 : courbe premium, infobulle riche, calendrier === */
.gp-ligne { stroke-width: 2; }
.gp-aire { stroke: none; }
.gp-dg-h { stop-color: var(--c); stop-opacity: .2; } .gp-dg-b { stop-color: var(--c); stop-opacity: 0; }
html.plat .gp-dg-h { stop-opacity: .14; }
.gp-fin { position: absolute; z-index: 1; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: var(--c); pointer-events: none;
  box-shadow: 0 0 0 3px var(--fond-plein, #0b0f19), 0 0 0 7px color-mix(in srgb, var(--c) 16%, transparent); transition: opacity .15s; }
.gp:has(.gr-col.sur) .gp-fin { opacity: 0; }
.gp-c .gr-col.sur::before { border-left: 1px solid color-mix(in srgb, var(--texte) 28%, transparent); }
/* tracé de gauche à droite quand la période, la mesure ou la forme change */
.gp-entre .gp-svg { animation: gp-trace .7s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--gd, 0ms); }
.gp-entre .gp-fin { animation: gp-fondu .25s both; animation-delay: calc(var(--gd, 0ms) + 550ms); }
.gp-entre .gp-b, .gp-entre .gp-p { animation: gp-monte .5s cubic-bezier(.3, .7, .2, 1) both; animation-delay: var(--gd, 0ms); transform-origin: bottom; }
@keyframes gp-trace { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gp-fondu { from { opacity: 0; } }
@keyframes gp-monte { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .gp-entre .gp-svg, .gp-entre .gp-fin, .gp-entre .gp-b, .gp-entre .gp-p { animation: none; } }
/* infobulle riche : date, ventes, commandes, marge, avant et écart */
.gr .gp-bulle { top: 6px; transform: none; min-width: 200px; padding: 11px 13px 10px; border-radius: 10px; font-size: 12.5px; z-index: 3; }
.gr .gp-bulle::after { display: none; }
.gp-bulle .bu-t { display: block; font-weight: 600; margin-bottom: 7px; }
.gp-bulle .bu-l { display: flex; align-items: center; gap: 8px; line-height: 1.7; }
.gp-bulle .bu-l span { display: inline; flex: 1; }
.gp-bulle .bu-l em { font-style: normal; font-variant-numeric: tabular-nums; }
.gp-bulle .bu-l.fort em { font-weight: 600; }
.gp-bulle .bu-k { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.gp-bulle .bu-k.cur { background: var(--c); } .gp-bulle .bu-k.vide { background: none; }
.gp-bulle .bu-k.av { width: 10px; height: 0; border-radius: 0; border-top: 1.5px dashed currentColor; opacity: .6; }
.gp-bulle .bu-sep { height: 1px; margin: 6px 0; background: currentColor; opacity: .12; }
.gp-bulle .bu-e { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; }
.gp-bulle .bu-e span:not(.evo) { display: inline; opacity: .65; }
@media (min-width: 821px) {
  /* Envoyer toujours visible en bas de la conversation ; en-tête plus court pour laisser la place à la lecture */
  body[data-ecran="clients"] .sv-fil.a-envoyer .sv-envoi { position: sticky; bottom: 0; z-index: 2; margin: 0 -22px -20px; padding: 12px 22px 14px; background: var(--barre); border-top: 1px solid var(--trait); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  body[data-ecran="clients"] .page > .pg-tete h1 { font-size: 30px; }
  body[data-ecran="clients"] .page > .pg-tete p { margin-top: 4px; }
}

/* === Dimanche · ÉPURE v2 (30/11, retours de Tiemoko) ===
   Brief du jour en tête, prochain virement, calendrier qui change le jour, barres façon « Ta semaine », À décider en corail,
   bénéfice comparé au mois d'avant, anneau « Ce qui se vend ». Puis la DA Glace sur Suivi, SAV, Résultats, Team. */
/* en-tête */
html[data-theme="epure"] .gl-tete { align-items: flex-end; }
html[data-theme="epure"] .gl-tete-g { min-width: 0; flex: 1; display: grid; gap: 12px; justify-items: start; }
html[data-theme="epure"] .gl-tete-g h1 { margin: 0; }
html[data-theme="epure"] .gl-brief { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 9px 10px 9px 16px; border-radius: 999px; text-align: left; background: rgba(255, 255, 255, .62); border: 1px solid #fff; box-shadow: 0 10px 26px -16px rgba(20, 70, 150, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s; }
html[data-theme="epure"] .gl-brief:hover { background: rgba(255, 255, 255, .85); }
html[data-theme="epure"] .gl-brief-q { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="epure"] .gl-brief-t { min-width: 0; font-size: 13.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } html[data-theme="epure"] .gl-brief-t b { color: var(--texte); font-weight: 600; }
html[data-theme="epure"] .gl-brief em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 500; color: #fff; padding: 6px 12px; border-radius: 999px; background: linear-gradient(180deg, #4A84F6, #2A62E6); }
html[data-theme="epure"] .gl-tete-d { align-items: stretch; }
html[data-theme="epure"] .gl-vers { display: grid; align-content: center; gap: 1px; padding: 8px 16px; min-width: 150px; border-radius: 18px; background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: 0 12px 26px -16px rgba(20, 70, 150, .5); color: var(--texte); text-decoration: none; transition: transform .2s; }
html[data-theme="epure"] .gl-vers:hover { transform: translateY(-2px); }
html[data-theme="epure"] .gl-vers small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="epure"] .gl-vers b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; } html[data-theme="epure"] .gl-vers span { font-size: 12px; color: var(--texte-2); }
/* calendrier */
html[data-theme="epure"] .gl-cal-z { position: relative; }
html[data-theme="epure"] .gl-cal { cursor: pointer; transition: transform .2s, box-shadow .2s; } html[data-theme="epure"] .gl-cal:hover { transform: translateY(-2px); }
html[data-theme="epure"] .gl-cal.choisi { background: linear-gradient(180deg, #4A84F6, #2A62E6); border-color: rgba(255, 255, 255, .6); } html[data-theme="epure"] .gl-cal.choisi small, html[data-theme="epure"] .gl-cal.choisi b { color: #fff; }
html[data-theme="epure"] .gl-calr { width: 100%; margin-top: 10px; text-align: center; }
html[data-theme="epure"] .gl-puce-j { margin-left: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--gl-b3); background: rgba(46, 107, 240, .1); }
/* la journée : petits blocs bien détachés, barres par 2 h façon « Ta semaine » */
html[data-theme="epure"] .gl-mini { background: linear-gradient(180deg, rgba(232, 241, 254, .95), rgba(214, 230, 252, .8)); border: 1px solid rgba(46, 107, 240, .18); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(20, 70, 150, .45); }
html[data-theme="epure"] .gl-mini small { color: var(--texte-2); }
html[data-theme="epure"] .gl-heures { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; height: 210px; padding-top: 18px; }
html[data-theme="epure"] .gl-heures > button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
html[data-theme="epure"] .gl-heures em { font-style: normal; font-size: 11px; color: var(--texte-2); white-space: nowrap; min-height: 14px; }
html[data-theme="epure"] .gl-heures small { font-size: 11px; color: var(--texte-3); }
html[data-theme="epure"] .gl-col { position: relative; flex: 1; width: 100%; max-width: 40px; }
html[data-theme="epure"] .gl-col i { position: absolute; left: 0; right: 0; bottom: 0; display: block; border-radius: 12px; transition: transform .2s; }
html[data-theme="epure"] .gl-col i.h { background: rgba(255, 255, 255, .55); border: 1px dashed rgba(46, 107, 240, .35); }
html[data-theme="epure"] .gl-col i.a { left: 4px; right: 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(169, 205, 247, .9)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 22px -12px rgba(46, 107, 240, .6); }
html[data-theme="epure"] .gl-heures .ici i.a { background: linear-gradient(180deg, #5C94F5, #2A62E6); border-color: rgba(255, 255, 255, .5); } html[data-theme="epure"] .gl-heures .ici small { color: var(--gl-b3); font-weight: 600; }
html[data-theme="epure"] .gl-heures .futur { opacity: .4; }
html[data-theme="epure"] .gl-heures > button:hover i.a { transform: translateY(-3px); }
html[data-theme="epure"] .gl-leg { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--texte-3); }
html[data-theme="epure"] .gl-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } html[data-theme="epure"] .gl-leg i.a { background: #A9CDF7; } html[data-theme="epure"] .gl-leg i.h { margin-left: 10px; border: 1px dashed rgba(46, 107, 240, .5); background: #fff; }
html[data-theme="epure"] .gl-jour.attend .gl-heures { opacity: .35; }
/* le basculement des chiffres quand on change de jour */
html[data-theme="epure"] .gl-jour.bascule .gl-gros, html[data-theme="epure"] .gl-jour.bascule .gl-minis { perspective: 600px; }
html[data-theme="epure"] .gl-jour.bascule .gl-gros b, html[data-theme="epure"] .gl-jour.bascule .gl-mini b { display: inline-block; transform-origin: 50% 60%; animation: glFlip .55s cubic-bezier(.2, .8, .2, 1) both; }
html[data-theme="epure"] .gl-jour.bascule .gl-gros b { display: block; }
html[data-theme="epure"] .gl-jour.bascule .gl-mini:nth-child(2) b { animation-delay: .05s; } html[data-theme="epure"] .gl-jour.bascule .gl-mini:nth-child(3) b { animation-delay: .1s; } html[data-theme="epure"] .gl-jour.bascule .gl-mini:nth-child(4) b { animation-delay: .15s; }
html[data-theme="epure"] .gl-jour.bascule .gl-col i.a { transform-origin: bottom; animation: glMonte .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes glFlip { from { opacity: 0; transform: rotateX(-88deg) translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes glMonte { from { transform: scaleY(0); } }
/* à décider : du corail, posé proprement */
html[data-theme="epure"] .gl-dec.mauvais { box-shadow: none; background: linear-gradient(100deg, rgba(240, 105, 74, .13), rgba(255, 255, 255, .6) 55%); border-color: rgba(240, 105, 74, .3); }
html[data-theme="epure"] .gl-dec.mauvais > img, html[data-theme="epure"] .gl-dec.mauvais > .logo-t, html[data-theme="epure"] .gl-dec.mauvais > .dec-pt { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(240, 105, 74, .55); }
html[data-theme="epure"] .gl-urg { justify-self: start; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #C8452A; background: rgba(240, 105, 74, .14); padding: 2px 8px; border-radius: 999px; margin-bottom: 2px; }
/* bénéfice : comparaison avec le mois d'avant */
html[data-theme="epure"] .gl-comp { margin: 10px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; color: rgba(220, 235, 255, .8); }
html[data-theme="epure"] .gl-comp b { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
html[data-theme="epure"] .gl-comp.haut b { color: #9BEBC8; } html[data-theme="epure"] .gl-comp.bas b { color: #FFB7A6; }
/* disposition : clients | colis | (direct + semaine), puis bénéfice | anneau | équipe */
html[data-theme="epure"] .gl-r2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); }
html[data-theme="epure"] .gl-r3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; }
html[data-theme="epure"] .gl-pile { display: grid; gap: 16px; align-content: start; min-width: 0; }
html[data-theme="epure"] .gl-pile .gl-sem { height: 140px; } html[data-theme="epure"] .gl-pile .gl-sem i { border-radius: 10px; }
/* clients : les chiffres des 30 jours calés en bas de la carte */
html[data-theme="epure"] .gl-clients { display: flex; flex-direction: column; }
html[data-theme="epure"] .gl-30s { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html[data-theme="epure"] .gl-30s .gl-30 { margin-top: 0; } html[data-theme="epure"] .gl-30s .gl-30:first-child { grid-column: 1 / -1; }
html[data-theme="epure"] .gl-30.petit { padding: 10px 14px; background: rgba(255, 255, 255, .6); } html[data-theme="epure"] .gl-30.petit b { font-size: 18px; }
/* l'anneau « Ce qui se vend » */
html[data-theme="epure"] .gl-an { display: flex; align-items: center; gap: 20px; }
html[data-theme="epure"] .gl-an svg { width: 160px; height: 160px; flex: none; filter: drop-shadow(0 12px 18px rgba(20, 70, 150, .18)); }
html[data-theme="epure"] .gl-an svg circle { transition: stroke-width .2s; } html[data-theme="epure"] .gl-an svg circle:hover { stroke-width: 22; }
html[data-theme="epure"] .gl-an-v { font: 500 19px 'Geist', system-ui, sans-serif; fill: var(--texte); letter-spacing: -.02em; } html[data-theme="epure"] .gl-an-l { font: 400 10.5px 'Geist', system-ui, sans-serif; fill: var(--texte-3); }
html[data-theme="epure"] .gl-an ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; gap: 7px; }
html[data-theme="epure"] .gl-an li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--texte-2); }
html[data-theme="epure"] .gl-an li i { width: 10px; height: 10px; border-radius: 3px; flex: none; } html[data-theme="epure"] .gl-an li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } html[data-theme="epure"] .gl-an li b { font-weight: 500; color: var(--texte); }
@media (max-width: 1360px) and (min-width: 821px) {
  html[data-theme="epure"] .gl-r2 { grid-template-columns: 1fr 1fr; } html[data-theme="epure"] .gl-r2 > .gl-pile { grid-column: span 2; grid-template-columns: 1fr 1fr; }
  html[data-theme="epure"] .gl-r3 { grid-template-columns: 1fr 1fr; }
  html[data-theme="epure"] .gl-brief-q { display: none; }
}
@media (max-width: 820px) {
  html[data-theme="epure"] #plat { position: relative; z-index: 1; } /* sinon le fond animé passe devant le titre et tout ce qui n'est pas en verre */
  html[data-theme="epure"] .gl-tete { flex-wrap: wrap; align-items: stretch; }
  html[data-theme="epure"] .gl-tete-g { flex-basis: 100%; }
  html[data-theme="epure"] .gl-brief { max-width: 100%; width: 100%; border-radius: 18px; flex-wrap: wrap; row-gap: 4px; padding: 10px 12px 10px 14px; }
  html[data-theme="epure"] .gl-brief-t { white-space: normal; flex-basis: 100%; order: 3; }
  html[data-theme="epure"] .gl-brief em { margin-left: auto; padding: 4px 10px; }
  html[data-theme="epure"] .gl-tete-d { width: 100%; } html[data-theme="epure"] .gl-vers { flex: 1; }
  html[data-theme="epure"] .gl-heures { gap: 4px; height: 160px; } html[data-theme="epure"] .gl-heures em { display: none; } html[data-theme="epure"] .gl-heures small { font-size: 9.5px; }
  html[data-theme="epure"] .gl-col i { border-radius: 7px; } html[data-theme="epure"] .gl-col i.a { left: 2px; right: 2px; }
  html[data-theme="epure"] .gl-an svg { width: 150px; height: 150px; } html[data-theme="epure"] .gl-an { flex-direction: column; align-items: stretch; gap: 16px; } html[data-theme="epure"] .gl-an svg { align-self: center; } html[data-theme="epure"] .gl-an li { font-size: 13.5px; }
}

/* === Dimanche · Thème CORAIL v3 (retours du 29/11 nuit) ===
   Carte plus étroite avec le bénéfice du jour, courbe simple, calendrier, En direct en 2 colonnes, À décider (3 max) + Versements,
   une seule police (Geist) partout, pages en verre liquide lisible. */
html[data-theme="atelier"] { --mono: 'Geist', system-ui, -apple-system, sans-serif; }
@media (min-width: 821px) {
  .co-hero { grid-column: 1 / 8; grid-row: 1; }
  .co .co-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  .co-decider { grid-column: 8 / 13; grid-row: 1; align-self: stretch; }
  .co-direct { grid-column: 1 / 8; grid-row: 2; }
  .co-vers { grid-column: 8 / 13; grid-row: 2; align-self: stretch; }
  .co-kpis { grid-column: 1 / 13; grid-row: 3; }
}
@media (max-width: 820px) {
  .co-hero { order: 0; } .co-decider { order: 1; } .co-direct { order: 2; } .co-kpis { order: 3; } .co-vers { order: 4; }
}
/* bénéfice du jour : un seul grand chiffre */
.co-benef { padding-left: 0; border-left: 0; }
.co .co-benef b { font-size: 46px; }
.co-benef span .evo { font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff !important; white-space: nowrap; }
.co-stats { flex-wrap: wrap; gap: 10px 22px; }
@media (max-width: 820px) { .co .co-benef b { font-size: 38px; } .co-stats { gap: 10px 16px; } }
/* courbe : un trait blanc net, une aire légère, la veille en pointillé ; rien ne bouge */
.co-fils .cf-ligne { fill: none; stroke: #fff; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; filter: none; }
.co-fils .cf-aire { fill: rgba(255, 255, 255, .14); }
.co-fils .cf-avant { stroke: rgba(255, 255, 255, .6); stroke-width: 1.4; stroke-dasharray: 3 4; }
.co-fils .cf-bout { animation: none; width: 10px; height: 10px; margin: 0 0 -5px -5px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.co-fils .cf-pt, .co-fils .cf-ptp { position: absolute; left: 50%; width: 10px; height: 10px; margin: 0 0 -5px -5px; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .12s; }
.co-fils .cf-pt { background: #fff; box-shadow: 0 0 0 3px rgba(228, 87, 46, .9), 0 2px 6px rgba(120, 30, 5, .4); z-index: 2; }
.co-fils .cf-ptp { background: rgba(255, 255, 255, .85); width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; }
.co-fils .gr-col.sur .cf-pt, .co-fils .gr-col.sur .cf-ptp { opacity: 1; }
.co-fils .gr-col.sur::before { border-left: 1px solid rgba(255, 255, 255, .55); }
.co.entre .co-fils .vg-svg { animation: cfTrace 1.1s cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc(var(--t, 0ms) + 300ms); }
.co-hero .gr-bulle { min-width: 190px; }
/* tuile date = bouton qui ouvre le calendrier ; les chiffres basculent quand le jour change */
.co-cal { border: 0; cursor: pointer; font: inherit; padding: 0; perspective: 300px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.co-cal:hover { transform: translateY(-1px) scale(1.03); } .co-cal:active { transform: scale(.96); }
.co-cal[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 10px 24px -8px rgba(120, 30, 5, .45); }
@keyframes coFlip { 0% { transform: rotateX(-90deg); opacity: 0; } 60% { transform: rotateX(12deg); opacity: 1; } 100% { transform: rotateX(0); } }
.co-cal.flip b, .co-cal.flip small { animation: coFlip .55s cubic-bezier(.3, .9, .4, 1) both; transform-origin: 50% 0; }
.co-cal.flip small { animation-delay: .06s; }
.co-retour { border: 0; background: none; padding: 0; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* En direct : paniers et paiements à gauche, commandes à droite */
.co-dir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.co-dir-col { display: grid; gap: 6px; align-content: start; }
.co-dir-col h3 { margin: 0 0 2px; font-size: 11.5px; font-weight: 500; color: var(--texte-3); letter-spacing: .02em; }
.co-dir .fx { background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .85); border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 820px) { .co-dir { grid-template-columns: minmax(0, 1fr); } }
/* À décider : 3 cartes, puis un bouton */
.co-plus { margin-top: 4px; height: 38px; border-radius: 12px; border: 1px dashed rgba(36, 23, 15, .18); background: rgba(255, 255, 255, .4); font: inherit; font-size: 13px; font-weight: 500; color: var(--texte-2); cursor: pointer; }
.co-plus:hover { background: rgba(255, 255, 255, .75); color: var(--texte); }
/* Versements */
.co-vers { display: flex; flex-direction: column; }
.co-v-pro { display: grid; gap: 2px; padding: 14px 16px; margin-bottom: 10px; border-radius: 16px; text-decoration: none; color: #24170F;
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 244, 236, .7)); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -14px rgba(130, 55, 20, .35); }
.co-v-pro small { font-size: 12px; color: var(--texte-2); } .co-v-pro b { font-size: 30px; font-weight: 600; letter-spacing: -.035em; color: #E4572E; }
.co-v-pro:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* bénéfice du mois : comparaison lisible sur fond sombre */
.co-k.co-net span .evo { font-weight: 600; } .co-k.co-net .evo.t-vert { color: #8EE3B0; } .co-k.co-net .evo.t-rouge { color: #FFB199; }
.co-date span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.co-date .pt { display: inline-block; vertical-align: middle; margin-right: 6px; }
.co-tete > div { min-width: 0; }
@media (min-width: 821px) { .co-stats { flex-wrap: nowrap; gap: 18px; } .co-stat b { font-size: 16px; } .co-hero h1 { font-size: 30px; } }
.rs-tete { position: relative; }
.co-direct .co-dir-col.flux { grid-template-columns: minmax(0, 1fr); }
.co-stat b { white-space: nowrap; }
@media (min-width: 821px) { .co .co-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .co-stats { gap: 16px; } }
@media (min-width: 1280px) { body[data-ecran="clients"] .sv-fil.a-envoyer > .sv-envoi { grid-column: 1 / -1; } }
/* --- CORAIL v3 · pages : une feuille de verre liquide (on voit le fond couler), et chaque bloc posé dessus en carte de verre blanc lisible --- */
@media (min-width: 821px) {
  html[data-theme="atelier"] .page { background: rgba(255, 250, 246, .3); border: 1px solid rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: url(#co-verre-fin) blur(10px) saturate(1.5) brightness(1.04);
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .9), inset 0 -1px 1px rgba(255, 255, 255, .5), 0 30px 70px -34px rgba(140, 45, 12, .45); }
  html[data-theme="atelier"] body[data-ecran="colis"] .page { left: 26px; right: 26px; } /* Suivi prend toute la largeur, comme SAV */
}
html[data-theme="atelier"] :is(.pc-rep, .pc-liste, .rs-hero, .rs-bloc, .sv-col, .sv-dossier) {
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .74)); border: 1px solid rgba(255, 255, 255, .95); border-radius: 22px;
  box-shadow: inset 0 1px 0 #fff, 0 18px 40px -26px rgba(140, 45, 12, .38); }
html[data-theme="atelier"] :is(.rs-hero, .rs-bloc) { padding-left: 26px; padding-right: 26px; margin-bottom: 16px; }
html[data-theme="atelier"] .rs-duo { gap: 16px; } html[data-theme="atelier"] .rs-duo > .rs-bloc { margin-bottom: 0; }
html[data-theme="atelier"] .rs-duo { margin-bottom: 16px; }
html[data-theme="atelier"] .pc-rep { padding: 18px 20px 10px; }
html[data-theme="atelier"] .pc-liste { padding: 6px 20px 10px; }
html[data-theme="atelier"] .pg-tete h1, html[data-theme="atelier"] .rs-tete h1 { letter-spacing: -.035em; }
/* Suivi : la barre de recherche flotte en verre (plus de bande blanche), le champ est une goutte blanche */
html[data-theme="atelier"] .pc-outils { background: transparent; padding: 10px 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-theme="atelier"] .pc-rech { height: 48px; border-radius: 16px; padding: 0 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8));
  border: 1px solid #fff; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px -18px rgba(140, 45, 12, .45), 0 1px 2px rgba(36, 23, 15, .05); }
html[data-theme="atelier"] .pc-rech:focus-within { border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(228, 87, 46, .22), 0 12px 28px -18px rgba(140, 45, 12, .45); }
html[data-theme="atelier"] .pc-rech svg { stroke: #E4572E; }
html[data-theme="atelier"] .pc-rech input { font-size: 15px; }
/* téléphone : pas de feuille, les cartes suffisent */
@media (max-width: 820px) {
  html[data-theme="atelier"] :is(.rs-hero, .rs-bloc) { padding-left: 16px; padding-right: 16px; }
  html[data-theme="atelier"] .pc-liste { padding: 4px 12px 8px; } html[data-theme="atelier"] .pc-rep { padding: 14px 14px 8px; }
}
/* --- ÉPURE v2 · la DA Glace dans les pages (Suivi, SAV, Résultats, Team) : même typo que l'accueil, verre, pilules, bleus --- */
html[data-theme="epure"] { --mono: 'Geist', system-ui, sans-serif; }
html[data-theme="epure"] .page .pg-sur { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--gl-b3); }
html[data-theme="epure"] .page .pg-tete h1, html[data-theme="epure"] .page .rs-titre h1 { font-weight: 500; letter-spacing: -.04em; }
html[data-theme="epure"] .page .pc-sect, html[data-theme="epure"] .page .sv-sect { font-weight: 600; letter-spacing: .1em; }
/* boutons : pilule bleue en dégradé, pilule de verre pour le reste */
html[data-theme="epure"] .page .pg-btn.prim, html[data-theme="epure"] .page .pc-act:not(.ok):not(.second) { border-radius: 999px; border-color: transparent; background: linear-gradient(180deg, #4A84F6, #2A62E6); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px rgba(46, 107, 240, .75); transition: transform .2s, box-shadow .2s; }
html[data-theme="epure"] .page .pg-btn.prim:hover, html[data-theme="epure"] .page .pc-act:not(.ok):not(.second):hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 24px -8px rgba(46, 107, 240, .85); }
html[data-theme="epure"] .page .pg-btn:not(.prim), html[data-theme="epure"] .page .pc-act.second, html[data-theme="epure"] .page .pc-act.ok { border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 6px 16px -10px rgba(20, 70, 150, .45); }
html[data-theme="epure"] .page .pc-act.ok { color: var(--vert); }
/* cartes et tuiles internes en verre */
html[data-theme="epure"] .page .pc-rep, html[data-theme="epure"] .page .tm-sante, html[data-theme="epure"] .page .rs-bloc, html[data-theme="epure"] .page .tm-bloc, html[data-theme="epure"] .page .tm-chat, html[data-theme="epure"] .page .tm-lignes .tm-ligne.actif { border-radius: 24px; background: linear-gradient(165deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .45)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 18px 40px -26px rgba(20, 70, 150, .4); }
html[data-theme="epure"] .page .pc-kpi { border-radius: 18px; background: linear-gradient(180deg, rgba(232, 241, 254, .95), rgba(214, 230, 252, .8)); border: 1px solid rgba(46, 107, 240, .18); box-shadow: inset 0 1px 0 #fff; }
html[data-theme="epure"] .page .pc-kpi b, html[data-theme="epure"] .page .pc-kpi .num { color: var(--texte); }
html[data-theme="epure"] .page .tm-sante { background: linear-gradient(100deg, rgba(47, 196, 141, .12), rgba(255, 255, 255, .6) 60%); }
/* Suivi : les étapes dans les bleus de l'accueil (corail pour ce qui coince) */
html[data-theme="epure"] .page .pc-barre > *, html[data-theme="epure"] .page .pc-rep-l i { border-radius: 999px; }
html[data-theme="epure"] .page .bg-rouge { background: var(--gl-alerte) !important; } html[data-theme="epure"] .page .bg-ambre { background: #A9CDF7 !important; } html[data-theme="epure"] .page .bg-bleu { background: #63A2F2 !important; }
html[data-theme="epure"] .page .bg-cyan { background: #2E6BF0 !important; } html[data-theme="epure"] .page .bg-vert { background: #0F3E9C !important; } html[data-theme="epure"] .page .bg-gris { background: #B9C7D8 !important; }
html[data-theme="epure"] .page .pc-sect.t-ambre { color: #4E8FE8; } html[data-theme="epure"] .page .pc-sect.t-bleu { color: #2E6BF0; } html[data-theme="epure"] .page .pc-sect.t-cyan { color: #1F55C8; } html[data-theme="epure"] .page .pc-sect.t-vert { color: #0F3E9C; }
html[data-theme="epure"] .page .pc-l-rang .t-l-ambre, html[data-theme="epure"] .page .pc-l-rang i.t-l-ambre { background: #A9CDF7; }
/* la recherche de « Tes colis » (et celle de Résultats) : une pilule de verre, plus de bande blanche */
html[data-theme="epure"] .page .pc-outils { background: transparent; padding-top: 10px; padding-bottom: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 0; }
html[data-theme="epure"] .page .pc-rech, html[data-theme="epure"] .page .rs-rech { border-radius: 999px; min-height: 48px; padding-left: 18px; background: rgba(255, 255, 255, .78); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 14px 30px -18px rgba(20, 70, 150, .5); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: box-shadow .2s; }
html[data-theme="epure"] .page .pc-rech:focus-within, html[data-theme="epure"] .page .rs-rech:focus-within { box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(46, 107, 240, .22), 0 14px 30px -18px rgba(20, 70, 150, .5); }
html[data-theme="epure"] .page .pc-rech svg { color: var(--gl-b3); }
/* onglets et filtres en pilules */
html[data-theme="epure"] .page .sv-filtres button, html[data-theme="epure"] .page .pc-tous { border-radius: 999px; }
html[data-theme="epure"] .page .sv-filtres button.actif, html[data-theme="epure"] .page .rs-onglets button.actif { color: var(--gl-b3); }
html[data-theme="epure"] .page .sv-filtres button.actif { background: rgba(255, 255, 255, .9); border-color: rgba(46, 107, 240, .35); box-shadow: 0 6px 14px -8px rgba(46, 107, 240, .6); }
html[data-theme="epure"] .page .tm-champ input, html[data-theme="epure"] .page .tm-champ textarea { border-radius: 999px; padding-left: 18px; background: rgba(255, 255, 255, .78); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(20, 70, 150, .45); }
html[data-theme="epure"] .page .tm-champ .pg-btn, html[data-theme="epure"] .page .tm-champ button { border-radius: 999px; }
html[data-theme="epure"] .page .rp-four { background: #B9C7D8; } html[data-theme="epure"] .page .rp-frais { background: #CFE2FA; } html[data-theme="epure"] .page .rp-pub { background: #63A2F2; } html[data-theme="epure"] .page .rp-net { background: #2E6BF0; }
html[data-theme="epure"] .page .rs-rep-b > * { border-radius: 999px; }
/* ÉPURE v2 · cartes de la 2e rangée bien remplies */
html[data-theme="epure"] .gl-sous-t { margin: 14px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3); }
html[data-theme="epure"] .gl-cl.regle { opacity: .85; } html[data-theme="epure"] .gl-coche { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--vert); background: rgba(47, 196, 141, .14); flex: none; }
html[data-theme="epure"] .gl-colis { display: flex; flex-direction: column; }
html[data-theme="epure"] .gl-colis .gl-etapes { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 4px; margin-top: 8px; }
html[data-theme="epure"] .gl-colis .gl-etapes button { flex-wrap: wrap; row-gap: 7px; padding: 8px 8px 10px; }
html[data-theme="epure"] .gl-et-b { display: block; flex-basis: auto; height: 6px; border-radius: 999px; margin-left: 20px; max-width: calc(100% - 20px); text-decoration: none; background: var(--gl-b2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); order: 5; }
html[data-theme="epure"] .gl-colis .gl-etapes button::after { content: ''; order: 4; flex-basis: 100%; height: 0; }
html[data-theme="epure"] .gl-et-b.alerte { background: var(--gl-alerte); } html[data-theme="epure"] .gl-et-b.b0 { background: var(--gl-b0); } html[data-theme="epure"] .gl-et-b.b1 { background: var(--gl-b1); } html[data-theme="epure"] .gl-et-b.b2 { background: var(--gl-b2); } html[data-theme="epure"] .gl-et-b.b3 { background: var(--gl-b3); } html[data-theme="epure"] .gl-et-b.b4 { background: var(--gl-b4); }

/* === Dimanche · ÉPURE v3 accueil (30/11, retours de Tiemoko : brief court, barres lisibles, bénéfice remonté, colis raccourci) === */
/* 1. le brief : seulement « Camille · le brief du jour » + Lire */
html[data-theme="epure"] .gl-brief { gap: 14px; padding: 8px 8px 8px 18px; }
html[data-theme="epure"] .gl-brief .gl-brief-q { display: inline; }
/* 2. barres bien lisibles, même les heures passées et la veille */
html[data-theme="epure"] .gl-col i.a { background: linear-gradient(180deg, #8DB6F6, #4F86EE); border-color: rgba(255, 255, 255, .7); box-shadow: 0 10px 22px -12px rgba(46, 107, 240, .75); }
html[data-theme="epure"] .gl-heures .ici i.a { background: linear-gradient(180deg, #3F7BF0, #1D4FC4); }
html[data-theme="epure"] .gl-col i.h { background: rgba(46, 107, 240, .1); border: 1.5px dashed rgba(46, 107, 240, .55); }
html[data-theme="epure"] .gl-heures .futur { opacity: .8; }
html[data-theme="epure"] .gl-heures em { color: var(--texte); font-weight: 500; } html[data-theme="epure"] .gl-heures small { color: var(--texte-2); }
html[data-theme="epure"] .gl-leg i.a { background: #6A9CF1; } html[data-theme="epure"] .gl-leg i.h { background: rgba(46, 107, 240, .1); border-color: rgba(46, 107, 240, .55); }
html[data-theme="epure"] .gl-sem i { background: linear-gradient(180deg, #8DB6F6, #4F86EE); border-color: rgba(255, 255, 255, .7); }
html[data-theme="epure"] .gl-sem .ici i { background: linear-gradient(180deg, #3F7BF0, #1D4FC4); }
html[data-theme="epure"] .gl-sem em { color: var(--texte); font-weight: 500; }
/* 3-6. trois colonnes : bénéfice + 30 jours + ventes | colis + clients | direct + semaine + équipe */
html[data-theme="epure"] .gl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; align-items: stretch; }
html[data-theme="epure"] .gl-colA, html[data-theme="epure"] .gl-colB, html[data-theme="epure"] .gl-colC { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
html[data-theme="epure"] .gl-cols .gl-c { flex: none; }
html[data-theme="epure"] .gl-cols .gl-colA > :last-child, html[data-theme="epure"] .gl-cols .gl-colB > :last-child, html[data-theme="epure"] .gl-cols .gl-colC > :last-child { flex: 1 0 auto; }
html[data-theme="epure"] .gl-cols .gl-sem { height: 150px; } html[data-theme="epure"] .gl-cols .gl-sem i { border-radius: 10px; }
/* colis compact : la hauteur est posée par glCaler (mi-hauteur de « Ta semaine ») */
html[data-theme="epure"] .gl-cols .gl-colis .gl-etapes { justify-content: space-between; gap: 0; margin-top: 10px; }
html[data-theme="epure"] .gl-cols .gl-colis .gl-etapes button { padding: 6px 8px 8px; row-gap: 5px; }
/* 30 derniers jours : carte à part sous le bénéfice */
html[data-theme="epure"] .gl-trente .gl-30s { margin-top: 4px; padding-top: 0; }
html[data-theme="epure"] .gl-trente .gl-30:first-child { grid-template-columns: 1fr auto; padding: 14px 16px; }
html[data-theme="epure"] .gl-trente .gl-30:first-child b { font-size: 30px; }
/* « Ce qui se vend » dans la colonne de gauche : anneau un peu plus petit, % jamais coupés */
html[data-theme="epure"] .gl-cols .gl-an { gap: 16px; } html[data-theme="epure"] .gl-cols .gl-an svg { width: 140px; height: 140px; }
html[data-theme="epure"] .gl-cols .gl-an li b { flex: none; } html[data-theme="epure"] .gl-cols .gl-an ul { min-width: 0; }
/* clients : plus de chiffres en bas, la liste reste en haut */
html[data-theme="epure"] .gl-cols .gl-clients { justify-content: flex-start; }
@media (max-width: 1360px) and (min-width: 1081px) {
  html[data-theme="epure"] .gl-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  html[data-theme="epure"] .gl-colA, html[data-theme="epure"] .gl-colB, html[data-theme="epure"] .gl-colC { gap: 14px; }
  html[data-theme="epure"] .gl-cols .gl-an { flex-direction: column; align-items: stretch; gap: 14px; } html[data-theme="epure"] .gl-cols .gl-an svg { align-self: center; width: 140px; height: 140px; }
  html[data-theme="epure"] .gl-cols .gl-geant { font-size: 56px; }
}
@media (max-width: 1360px) and (min-width: 821px) { /* À décider : le bouton passe sous le texte, plus de chevauchement */
  html[data-theme="epure"] .gl-dec { flex-wrap: wrap; row-gap: 10px; } html[data-theme="epure"] .gl-dec-t { flex-basis: calc(100% - 58px); }
  html[data-theme="epure"] .gl-dec .gl-btn { flex: 1; text-align: center; }
}
@media (max-width: 1080px) and (min-width: 821px) {
  html[data-theme="epure"] .gl-cols { grid-template-columns: 1fr 1fr; }
  html[data-theme="epure"] .gl-colC { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  html[data-theme="epure"] .gl-brief { width: auto; flex-wrap: nowrap; border-radius: 999px; padding: 8px 8px 8px 14px; }
  html[data-theme="epure"] .gl-brief em { margin-left: auto; }
  html[data-theme="epure"] .gl-trente .gl-30:first-child b { font-size: 26px; }
}
/* === Calendrier unique (Résultats + accueils, tous thèmes) · session calendrier === */
/* Chaque case = un bouton plein (la bande de la période, ::before) + une pastille carrée centrée (<span>) :
   le fond suit toujours le chiffre (avant : texte calé à gauche par la règle globale button { text-align: left }). */
.cal { --cal-c: 40px; --cal-r: 10px; --cal-bande: rgba(var(--acc), .14);
  position: fixed; z-index: 95; left: 0; top: 0; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow: auto; overscroll-behavior: contain;
  color: var(--texte); background: linear-gradient(var(--boite), var(--boite)), var(--fond-plein, var(--boite)); border: 1px solid var(--trait-fort); border-radius: 18px; text-align: left;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .12); font-variant-numeric: tabular-nums; animation: calOuvre .18s cubic-bezier(.2, .8, .2, 1); }
.cal.deja { animation: none; }
html.plat .cal { box-shadow: 0 30px 70px -24px rgba(30, 20, 10, .28), 0 2px 8px rgba(30, 20, 10, .06); }
@keyframes calOuvre { from { opacity: 0; transform: translateY(-6px); } }
.cal-corps { display: flex; }
.cal-raccourcis { list-style: none; margin: 0; padding: 14px 10px; width: 158px; flex: none; border-right: 1px solid var(--trait); display: grid; align-content: start; gap: 2px; }
.cal-raccourcis button { width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--texte-2); white-space: nowrap; }
.cal-raccourcis button:hover { background: rgba(var(--acc), .08); color: var(--texte); }
.cal-raccourcis button.actif { background: rgba(var(--acc), .14); color: var(--texte); font-weight: 500; }
.cal-mois-l { position: relative; display: grid; grid-template-columns: auto; gap: 24px; padding: 14px 16px 12px; }
.cal-mois-l.deux { grid-template-columns: auto auto; }
.cal-nav { position: absolute; z-index: 2; top: 14px; width: 32px; height: 32px; border-radius: 9px; font-size: 18px; line-height: 1; text-align: center; color: var(--texte-2); display: grid; place-items: center; }
.cal-nav.prec { left: 14px; } .cal-nav.suiv { right: 14px; }
.cal-nav:hover:not([disabled]) { background: rgba(var(--acc), .1); color: var(--texte); }
.cal-nav[disabled] { opacity: .25; cursor: default; }
.cal-t { text-align: center; font-size: 14px; font-weight: 600; letter-spacing: -.01em; height: 32px; line-height: 32px; margin-bottom: 4px; }
html.plat .cal-t { font-family: var(--titre); }
.cal-g { display: grid; grid-template-columns: repeat(7, var(--cal-c)); row-gap: 2px; }
.cal-js { height: 24px; line-height: 24px; text-align: center; font-size: 11px; color: var(--texte-3); }
.cal-j { position: relative; display: grid; place-items: center; width: 100%; height: var(--cal-c); margin: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font-size: 13px; color: var(--texte); }
.cal-j::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 0; right: 0; pointer-events: none; }
.cal-j.dans::before, .cal-j.apercu::before { background: var(--cal-bande); }
.cal-j.bd::before { left: 50%; background: var(--cal-bande); }
.cal-j.bg::before { right: 50%; background: var(--cal-bande); }
.cal-j.dans.lun::before, .cal-j.apercu.lun::before, .cal-j.dans.prem::before, .cal-j.apercu.prem::before { left: 3px; border-radius: var(--cal-r) 0 0 var(--cal-r); }
.cal-j.dans.dim::before, .cal-j.apercu.dim::before, .cal-j.dans.dern::before, .cal-j.apercu.dern::before { right: 3px; border-radius: 0 var(--cal-r) var(--cal-r) 0; }
.cal-j > span { position: relative; z-index: 1; display: grid; place-items: center; width: calc(var(--cal-c) - 6px); height: calc(var(--cal-c) - 6px); border-radius: var(--cal-r); line-height: 1; transition: background .12s; }
.cal-j:hover:not([disabled]):not(.sel) > span { background: rgba(var(--acc), .12); }
.cal-j.sel > span { background: var(--prim-bg); color: var(--prim-tx); font-weight: 600; }
.cal-j.vise > span { box-shadow: inset 0 0 0 1.5px var(--prim-bg); }
.cal-j.auj > span::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .6; }
.cal-j.off { opacity: .3; cursor: default; }
.cal-pied { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--trait); }
.cal-res { flex: 1; min-width: 0; margin: 0; font-size: 13px; color: var(--texte-2); } .cal-res b { color: var(--texte); font-weight: 600; } .cal-res span { color: var(--texte-3); }
.cal-pied .pg-btn[disabled] { opacity: .4; cursor: default; filter: none; }
/* téléphone : feuille du bas */
.cal-voile { position: fixed; inset: 0; z-index: 94; background: rgba(0, 0, 0, .45); animation: calVoile .2s ease-out; }
.cal.feuille { --cal-c: 44px; left: 0 !important; right: 0; top: auto !important; bottom: 0; max-width: none; max-height: 88vh; border-radius: 22px 22px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); animation: calMonte .24s cubic-bezier(.2, .8, .2, 1); }
.cal.feuille.deja { animation: none; }
.cal.feuille .cal-corps { flex-direction: column; }
.cal.feuille .cal-raccourcis { width: auto; display: flex; gap: 6px; overflow-x: auto; padding: 14px 16px 10px; border-right: 0; border-bottom: 1px solid var(--trait); scrollbar-width: none; }
.cal.feuille .cal-raccourcis li { flex: none; } .cal.feuille .cal-raccourcis button { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--trait-fort); }
.cal.feuille .cal-mois-l { padding: 12px 12px 6px; }
.cal.feuille .cal-g { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal.feuille .cal-j { font-size: 15px; }
.cal.feuille .cal-pied { flex-wrap: wrap; padding: 12px 16px 14px; } .cal.feuille .cal-res { flex-basis: 100%; margin-bottom: 2px; } .cal.feuille .cal-pied .pg-btn { flex: 1; padding: 12px; font-size: 14px; }
@keyframes calMonte { from { transform: translateY(100%); } } @keyframes calVoile { from { opacity: 0; } }
/* habillage par thème (mêmes classes partout) */
html[data-theme="atelier"] .cal { background: rgba(255, 255, 255, .93); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border-color: #fff; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(110, 35, 8, .45), inset 0 1px 0 #fff; }
html[data-theme="atelier"] .cal-j.sel > span { box-shadow: 0 4px 10px -3px rgba(228, 87, 46, .6); }
html[data-theme="epure"] .cal { background: rgba(250, 252, 255, .95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-color: #fff; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(11, 42, 91, .45); }
html[data-theme="epure"] .cal-j.sel > span { background: linear-gradient(180deg, #4A84F6, #2A62E6); box-shadow: 0 6px 14px -6px rgba(46, 107, 240, .8); }
html[data-theme="atelier"] .cal.feuille, html[data-theme="epure"] .cal.feuille { border-radius: 22px 22px 0 0; }
/* tuile date des accueils : période (« 3–12 ») plus petite, chiffres qui basculent après « Valider » */
.co-cal b.plage { font-size: 25px; letter-spacing: -.03em; } @media (max-width: 820px) { .co-cal b.plage { font-size: 20px; } }
html[data-theme="epure"] .gl-cal b.plage { font-size: 16px; letter-spacing: -.02em; }
html[data-theme="epure"] .gl-cal { perspective: 300px; }
html[data-theme="epure"] .gl-cal.flip small, html[data-theme="epure"] .gl-cal.flip b { display: block; transform-origin: 50% 0; animation: glFlip .5s cubic-bezier(.2, .8, .2, 1) both; }
html[data-theme="epure"] .gl-cal.flip small { animation-delay: .05s; }
/* ÉPURE : une période s'affiche jour par jour (au lieu des tranches de 2 h) */
html[data-theme="epure"] .gl-heures.gl-jours { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(2px, calc(40px / var(--n)), 8px); }
@media (prefers-reduced-motion: reduce) { .cal, .cal.feuille, .cal-voile, html[data-theme="epure"] .gl-cal.flip b, html[data-theme="epure"] .gl-cal.flip small { animation: none; } }

/* === Dimanche · Pages 4 : SAV + Suivi dans la DA des accueils (CORAIL, ÉPURE) ===
   Plus de grande feuille autour de la page : les blocs flottent sur le fond comme les cartes de l'accueil (même verre, même opacité,
   même typo). Conversation façon messagerie (client à gauche, nous à droite). Suivi : le colis ouvert prend toute la largeur. */
:is(html[data-theme="atelier"], html[data-theme="epure"]) body:is([data-ecran="clients"], [data-ecran="colis"]) .page {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body:is([data-ecran="clients"], [data-ecran="colis"]) .page::before,
:is(html[data-theme="atelier"], html[data-theme="epure"]) body:is([data-ecran="clients"], [data-ecran="colis"]) .page::after { display: none; }
/* -- CORAIL : la carte de verre de l'accueil (.co-c) -- */
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.sv-col, .sv-dossier, .pc-rep, .pc-liste) {
  position: relative; isolation: isolate; border: 1px solid rgba(255, 255, 255, .55); border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .3) 52%, rgba(255, 255, 255, .44));
  -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: url(#co-verre) saturate(1.75) brightness(1.07);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .55), inset 0 -22px 34px -26px rgba(255, 255, 255, .95), inset 20px 0 34px -30px rgba(255, 255, 255, .85),
    0 1px 1px rgba(120, 55, 25, .05), 0 28px 54px -26px rgba(140, 45, 12, .38); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-col { padding: 14px; }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete p { font-size: 13.5px; color: var(--texte-2); }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-sur { font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--texte-2); }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.pc-rep-tete > b, .sv-d-tete h2) { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 18px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-d-tete { border-bottom-color: rgba(36, 23, 15, .08); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-veut p { font-size: 15px; line-height: 1.55; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l { background: rgba(255, 255, 255, .58); border-color: rgba(255, 255, 255, .8); border-radius: 14px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.actif { background: rgba(255, 255, 255, .92); border-color: rgba(228, 87, 46, .35); box-shadow: 0 8px 20px -12px rgba(140, 45, 12, .4); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l-txt b { font-weight: 600; }
html[data-theme="atelier"] body[data-ecran="clients"] :is(.sv-cmd-bloc, .sv-colis) { background: rgba(255, 255, 255, .58); border-color: rgba(255, 255, 255, .85); }
/* -- ÉPURE : la carte givrée de l'accueil (.gl-c) -- */
html[data-theme="epure"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.sv-col, .sv-dossier, .pc-rep, .pc-liste) {
  position: relative; border: 1px solid rgba(255, 255, 255, .85); border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46));
  -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(120, 170, 235, .25), 0 26px 60px -30px rgba(20, 70, 150, .38); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-col { padding: 16px; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-rep { padding: 22px 24px 14px; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-liste { padding: 8px 24px 12px; }
html[data-theme="epure"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
html[data-theme="epure"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete p { font-size: 14px; color: var(--texte-2); }
html[data-theme="epure"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.pc-rep-tete > b, .sv-d-tete h2) { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 19px; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-veut p { font-size: 15px; line-height: 1.55; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l { border-radius: 18px; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l.actif { background: rgba(255, 255, 255, .92); border-color: rgba(46, 107, 240, .3); box-shadow: 0 8px 22px -12px rgba(30, 90, 190, .45); }
html[data-theme="epure"] body[data-ecran="clients"] :is(.sv-cmd-bloc, .sv-colis) { background: rgba(255, 255, 255, .6); border-color: #fff; border-radius: 20px; }
@media (min-width: 821px) {
  html[data-theme="epure"] body:is([data-ecran="clients"], [data-ecran="colis"]) .page { left: 238px; right: 20px; top: 20px; bottom: 20px; padding: 22px 12px 120px 8px; }
  html[data-theme="epure"] body[data-ecran="clients"] .page { padding-bottom: 18px; }
  html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .page { left: 26px; right: 26px; }
}
/* -- Conversation : bulles de messagerie (client à gauche, nous à droite) -- */
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv { gap: 14px; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m { max-width: min(78%, 620px); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-b { padding: 11px 15px; font-size: 14px; line-height: 1.55; border-radius: 20px; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m.cli .cv-b { background: rgba(255, 255, 255, .9); border: 1px solid #fff; border-bottom-left-radius: 6px; color: var(--texte); box-shadow: 0 6px 16px -10px rgba(var(--encre), .25); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m.moi .cv-b { border: 0; border-bottom-right-radius: 6px; color: #fff; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(160deg, #F2825C, #E4572E 60%, #D44A24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(200, 70, 30, .6); }
html[data-theme="epure"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(180deg, #4A84F6, #2A62E6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(46, 107, 240, .7); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m.moi .cv-b a { color: #fff; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m.moi .cv-b.long::after { background: linear-gradient(transparent, rgba(var(--acc), 1)); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m.moi .cv-plus { color: #fff; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m small { font-size: 11.5px; color: var(--texte-3); }
/* la réponse à relire : la prochaine bulle, côté droit, en brouillon */
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-rep { margin-left: auto; width: min(100%, 680px); border-radius: 20px; border-bottom-right-radius: 6px; background: rgba(255, 255, 255, .82); border: 1.5px dashed rgba(var(--acc), .45); box-shadow: 0 10px 26px -16px rgba(var(--acc), .55); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-rep:focus-within { border-style: solid; border-color: rgba(var(--acc), .7); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-rep textarea { font-size: 14px; line-height: 1.6; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-envoi { justify-content: flex-end; }
/* -- Suivi : la ligne ouverte et son détail prennent toute la largeur de la carte -- */
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-l.ouvert .pc-acts:not(:has(.pc-act:not(.second))) { display: none; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-l.ouvert { background: rgba(255, 255, 255, .55); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-l-detail { padding: 4px 12px 14px; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pcd { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] :is(.pcd-g, .pcd-d) { background: rgba(255, 255, 255, .78); border: 1px solid #fff; border-radius: 18px; display: flex; flex-direction: column; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pcd-actions { margin-top: auto; padding-top: 12px; }
@media (max-width: 1100px) { :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pcd { grid-template-columns: minmax(0, 1fr); } }
/* -- Suivi : la recherche dans la DA (pilule de verre comme les champs de l'accueil) -- */
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-outils { position: sticky; top: 0; z-index: 3; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 12px 0; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-rech { height: 50px; min-height: 50px; border-radius: 999px; padding: 0 20px; gap: 12px;
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-rech input { font-size: 15px; font-family: inherit; -webkit-appearance: none; appearance: none; background: transparent; border: 0; box-shadow: none; outline: 0; }
:is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-rech input::-webkit-search-cancel-button { -webkit-appearance: none; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech { background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8)); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1.5px 1px #fff, 0 18px 36px -22px rgba(140, 45, 12, .45); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech:focus-within { background: rgba(255, 255, 255, .94); box-shadow: inset 0 1.5px 1px #fff, 0 0 0 3px rgba(228, 87, 46, .2), 0 18px 36px -22px rgba(140, 45, 12, .45); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech svg { stroke: #E4572E; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech input::placeholder { color: #9A8476; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-rech { background: linear-gradient(165deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8)); border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 18px 36px -22px rgba(20, 70, 150, .5); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-rech:focus-within { background: rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(46, 107, 240, .2), 0 18px 36px -22px rgba(20, 70, 150, .5); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-rech svg { stroke: #2E6BF0; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-rech input::placeholder { color: #8BA2BD; }
@media (max-width: 820px) {
  :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-dossier { padding: 0; }
  :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-d-tete { padding: 16px 16px 12px; }
  :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .sv-fil { padding: 14px 14px 18px; }
  :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m { max-width: 86%; }
  html[data-theme="epure"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 34px; }
  html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 26px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-liste { padding: 4px 12px 8px; } html[data-theme="epure"] body[data-ecran="colis"] .pc-rep { padding: 16px 16px 10px; }
  :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="colis"] .pc-l-detail { padding: 2px 8px 12px; }
}
/* === fin Pages 4 === */
/* Pages 4 · ÉPURE : les messages déjà traités restent lisibles (plus de voile à 42 %) */
html[data-theme="epure"] body[data-ecran="clients"] .sv-l:not(.attend) { opacity: .78; } html[data-theme="epure"] body[data-ecran="clients"] .sv-l:not(.attend) .sv-av { filter: none; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l:not(.attend):is(.actif, :hover) { opacity: 1; }
/* === Dimanche · Thème CORAIL v4 (retours du 29/11 nuit : accueil) ===
   Deux colonnes indépendantes (plus de trou sous la carte corail), En direct sur 2 lignes, courbe soignée,
   un seul bloc « Prochain versement », À décider qui crie quand c'est urgent. Rien n'anime le verre au lancement (la bande venait de là). */
.co.co4 { display: flex; flex-direction: column; gap: 16px; }
.co4 .co-haut, .co4 .co-bas { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.co4 .co-bas { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.co4 .co-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co4 .co-bas .co-col.d { padding-top: 26px; } /* léger décalage, comme une pile de feuilles */
.co4 :is(.co-hero, .co-c, .co-kpis, .co-k) { grid-column: auto; grid-row: auto; }
.co4 .co-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.co4 .co-kpis > :nth-child(even) { margin-top: 10px; }
.co4 .co-decider { align-self: auto; }
.co4 .co-decs { max-height: none; overflow: visible; }
/* 1. La bande au lancement : plus de reflet qui traverse la carte, plus d'entrée floue / basculée en 3D sur du verre
   (Chrome recalcule mal le backdrop-filter d'un bloc flouté ou basculé : une bande apparaît), l'orbe de lancement s'efface tout de suite. */
.co4 .co-brille { display: none; }
.co.co4.entre > *, .co.co4.entre .co-kpis > *, .co.co4.entre .co-dec, .co.co4.entre .co-fils .vg-svg { animation: none; }
.co.co4.entre :is(.co-hero, .co-c, .co-k) { animation: co4Entre .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--t, 0ms) + var(--d, 0ms)); }
@keyframes co4Entre { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html[data-theme="atelier"] #lancement.part #l-orbe { opacity: 0; transition: opacity .35s ease, transform .5s ease; }
/* 3. La courbe : trait net, aire douce, repères fins, bulle blanche */
.co-f4 .gr-cadre { position: relative; }
.co-f4 .gr-y span { font-size: 10.5px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, .62) !important; font-variant-numeric: tabular-nums; }
.co-f4 .gr-x span { font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .62) !important; overflow: visible; white-space: nowrap; }
.co-hero .co-f4 .gr-g { background: none !important; border: 0 !important; border-top: 1px dashed rgba(255, 255, 255, .16) !important; height: 0; }
.co-hero .co-f4 .gr-g.zero { border-top: 1px solid rgba(255, 255, 255, .34) !important; }
.co-f4 .cf-ligne { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; filter: none; }
.co-f4 .cf-aire { stroke: none; }
.co-f4 .cf-avant { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; stroke-dasharray: 2 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.co-f4 .cf-bout { animation: none; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .22), 0 1px 4px rgba(120, 30, 5, .35); border-radius: 50%; position: absolute; pointer-events: none; }
.co-f4 .gr-col.sur::before { border-left: 1px solid rgba(255, 255, 255, .7); }
.co-f4 .cf-pt { width: 10px; height: 10px; margin: 0 0 -5px -5px; background: #fff; box-shadow: 0 0 0 3px #E4572E, 0 2px 6px rgba(120, 30, 5, .45); }
.co-f4 .cf-ptp { width: 6px; height: 6px; margin: 0 0 -3px -3px; background: rgba(255, 255, 255, .9); }
.co-hero .co-f4 .gr-bulle { background: #fff !important; color: #24170F; min-width: 0; width: max-content; max-width: 240px; padding: 10px 12px; border-radius: 12px; display: grid; gap: 3px; text-align: left;
  box-shadow: 0 14px 30px -12px rgba(110, 30, 5, .55), 0 1px 2px rgba(36, 23, 15, .1); top: 0; transform: none; pointer-events: none; }
.co-hero .co-f4 .gr-bulle::after { display: none; }
.co-hero .co-f4 .gr-bulle b { color: #7A675B !important; font-size: 11.5px; font-weight: 500; }
.co-hero .co-f4 .gr-bulle .cb-v { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: #24170F; font-variant-numeric: tabular-nums; }
.co-hero .co-f4 .gr-bulle .cb-v small { font-size: 11.5px; font-weight: 400; color: #7A675B; letter-spacing: 0; }
.co-hero .co-f4 .gr-bulle .cb-l { font-size: 11.5px; color: #5C4A3F; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.co-hero .co-f4 .gr-bulle .cb-pt { width: 12px; height: 0; border-top: 1.5px dashed #B9A79B; }
.co-leg i.l-h { border-top-style: dotted !important; }
/* 2. En direct : une ligne pour le parcours du jour, une ligne pour les 3 dernières commandes */
.co4 .co-direct4 { padding: 14px 18px 16px; }
.co4 .co-direct4 .co-c-t { margin-bottom: 10px; }
.co-ent { margin: 0; display: flex; align-items: center; gap: 4px 9px; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; color: var(--texte-2); }
.co-ent b { color: var(--texte); font-weight: 600; } .co-ent i { font-style: normal; color: var(--texte-3); }
.co-dir4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.co-cmd { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 8px; border-radius: 14px; text-align: left; font: inherit; color: var(--texte); cursor: pointer;
  background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff; transition: background .15s; }
.co-cmd:hover { background: rgba(255, 255, 255, .9); }
.co-cmd img, .co-cmd .vign { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: #fff; flex: none; }
.co-cmd > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.co-cmd b { font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.co-cmd time { font-size: 11px; font-weight: 400; color: var(--texte-3); }
.co-cmd small { font-size: 11.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-cmd em { font-style: normal; font-size: 13px; font-weight: 600; flex: none; }
/* 4. Prochain versement : un seul bloc */
.co4 .co-vers4 { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: var(--texte); position: relative; }
.co-v-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #2F8A5B; background: rgba(47, 138, 91, .12); }
.co-v-ico svg { width: 20px; height: 20px; }
.co-v-t { flex: 1; display: grid; gap: 1px; min-width: 0; }
.co-v-t small { font-size: 12.5px; color: var(--texte-2); } .co-v-t b { font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.co-v-f { font-style: normal; font-size: 12px; color: var(--texte-3); align-self: flex-start; }
.co4 .co-vers4:hover .co-v-t b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* 5. À décider : le rouge veut dire « maintenant » */
.co4 .co-rond.rouge { background: #D7341F; box-shadow: 0 0 0 4px rgba(215, 52, 31, .14), 0 4px 10px -3px rgba(215, 52, 31, .6); }
.co-urg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #C02A17; }
.co-urg svg, .co-age svg { width: 13px; height: 13px; flex: none; }
html[data-theme="atelier"] .co4 .co-decider.a-urgent { background: linear-gradient(180deg, rgba(255, 228, 220, .82), rgba(255, 255, 255, .5) 34%, rgba(255, 255, 255, .42)) !important; }
.co4 .co-dec { grid-template-columns: 44px minmax(0, 1fr); padding: 12px 12px 12px 14px; overflow: hidden; }
.co4 .co-dec::before { top: 0; bottom: 0; width: 4px; border-radius: 0; }
.co4 .co-dec.urgent { background: linear-gradient(100deg, rgba(255, 236, 230, .96), rgba(255, 255, 255, .86) 60%); border-color: rgba(215, 52, 31, .28); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(200, 40, 20, .55); }
.co4 .co-dec.urgent::before { background: #D7341F; }
.co4 .co-dec:not(.urgent)::before { background: #E9A23B; }
.co-dec-v { position: relative; width: 44px; height: 44px; }
.co-dec-v > img, .co-dec-v > .logo-t, .co-dec-v > .dec-pt { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: #fff; display: block; }
.co-dec-pastille { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #D7341F; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(200, 40, 20, .45); }
.co-age { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .01em; color: #A86A12; text-transform: none; }
.co-dec.urgent .co-age { color: #C02A17; }
.co4 .co-dec.urgent .co-btn { background: #D7341F; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -6px rgba(200, 40, 20, .7); }
.co4 .co-dec:not(.urgent) .co-btn { background: #24170F; }
.co4 .co-dec-b { margin-top: 8px; }
/* 6. Le bas : ventes et compte à gauche, colis et équipe à droite */
.co4 .co-ventes, .co4 .co-colis, .co4 .co-compte, .co4 .co-journal { grid-column: auto; }
/* téléphone : une seule colonne, la journée puis les décisions */
@media (max-width: 820px) {
  .co.co4 { gap: 12px; }
  .co4 .co-haut, .co4 .co-bas, .co4 .co-col { display: contents; }
  .co4 .co-bas .co-col.d { padding-top: 0; }
  .co4 .co-kpis > :nth-child(even) { margin-top: 0; }
  .co4 .co-kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .co4 .co-hero { order: 0; } .co4 .co-decider { order: 1; } .co4 .co-direct4 { order: 2; } .co4 .co-vers4 { order: 3; } .co4 .co-kpis { order: 4; }
  .co4 .co-colis { order: 5; } .co4 .co-ventes { order: 6; } .co4 .co-compte { order: 7; } .co4 .co-journal { order: 8; } .co4 .co-demander { order: 9; }
  .co4 .co-direct4 .co-c-t { flex-wrap: wrap; } .co-ent { justify-content: flex-start; font-size: 11.5px; gap: 3px 7px; }
  .co-dir4 { gap: 8px; }
  .co-cmd { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; }
  .co-cmd small { display: none; } .co-cmd b { font-size: 12.5px; } .co-cmd time { display: none; } .co-cmd em { font-size: 12.5px; }
  .co-cmd img, .co-cmd .vign { width: 30px; height: 30px; }
  .co-v-t b { font-size: 22px; }
}
/* CORAIL v4 · corrections : pleine largeur, 5 tuiles (le prochain versement en est une), bulle cachée quand elle doit l'être */
.co.co4 { align-items: stretch; }
.co-hero .co-f4 .gr-bulle[hidden] { display: none; }
.co4 .co-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.co4 .co-kpis > :nth-child(even) { margin-top: 0; }
.co4 .co-kpis > .co-k { order: 3; } .co4 .co-kpis > .co-k:nth-child(1) { order: 0; } .co4 .co-kpis > .co-k:nth-child(2) { order: 1; } .co4 .co-kpis > .co-vk { order: 2; }
.co4 .co-vk { text-decoration: none; }
.co4 .co-vk > b { color: #1F7A4C; }
.co4 .co-vk > span { line-height: 1.35; }
.co4 .co-vk .co-v-f { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--texte-3); align-self: stretch; }
.co4 .co-vk .co-v-ico { width: 26px; height: 26px; border-radius: 8px; } .co4 .co-vk .co-v-ico svg { width: 15px; height: 15px; }
.co4 .co-vk:hover > b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 820px) { .co4 .co-kpis { grid-template-columns: 1fr 1fr; } .co4 .co-kpis > .co-vk { grid-column: 1 / -1; min-height: 0; } }
.co4 .co-plus { text-align: center; width: 100%; }
html[data-theme="atelier"] .co-hero .co-f4 .gr-bulle .cb-v { color: #24170F !important; }
html[data-theme="atelier"] .co-hero .co-f4 .gr-bulle .cb-v small, html[data-theme="atelier"] .co-hero .co-f4 .gr-bulle b { color: #7A675B !important; }
html[data-theme="atelier"] .co-hero .co-f4 .gr-bulle .cb-l { color: #5C4A3F !important; }
html[data-theme="atelier"] .co-hero .co-f4 .gr-bulle { width: max-content !important; max-width: 250px; }
/* Pages 4 · téléphone : sans le flou, la page n'avait plus de couche à elle et le fond liquide passait devant */
:is(html[data-theme="atelier"], html[data-theme="epure"]) body:is([data-ecran="clients"], [data-ecran="colis"]) .page { isolation: isolate; }
@media (max-width: 820px) { :is(html[data-theme="atelier"], html[data-theme="epure"]) body:is([data-ecran="clients"], [data-ecran="colis"]) .page { position: relative; z-index: 1; inset: auto; } }
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="clients"] .sv-fil > .sv-veut { padding: 14px 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .55);
    background: linear-gradient(160deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .3) 52%, rgba(255, 255, 255, .44)); -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7);
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), 0 22px 46px -26px rgba(140, 45, 12, .38); }
  html[data-theme="epure"] body[data-ecran="clients"] .sv-fil > .sv-veut { padding: 14px 16px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .85);
    background: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46)); -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 26px 60px -30px rgba(20, 70, 150, .38); }
}
/* === fin Pages 4 (suite) === */

/* === Dimanche · Lancement sur fond animé (CORAIL, ÉPURE) ===
   Le fond du thème (#co-fond liquide corail, #gl-fond lumière sous la glace) est créé dès le chargement et bouge derrière l'orbe.
   #lancement devient transparent ; le contenu reste caché (visibility, jamais d'opacité sur un parent de verre : c'est ce qui faisait la bande)
   tant que l'orbe n'est pas partie, puis les cartes rejouent leur entrée sur le même fond, sans redémarrage. FOCUS inchangé. */
html.plat #lancement, html.plat #lancement.part { background: transparent; transition: none; }
html.plat body:has(> #lancement:not(.part)) :is(#plat, #page, .tabbar, .mobile-bas, .hud) { visibility: hidden; }
html.plat #lancement.part #l-orbe { opacity: 0; transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
html[data-theme="atelier"] #co-fond, html[data-theme="epure"] #gl-fond { animation: lFondVient .6s ease both; }
@keyframes lFondVient { from { opacity: 0; } }

/* === Recette · ÉPURE · À décider urgent (29/11) ===
   Même règle que CORAIL (coUrgent) : rouge = ce qui presse, ambre = à surveiller. Rouge froid (cramoisi) qui tient avec les bleus de la Glace.
   Vignettes (photo, La Poste, Gmail) dans le même carré de 44 px. */
html[data-theme="epure"] { --gl-rouge: #E0314B; --gl-rouge-f: #B81F37; --gl-ambre: #A9650A; }
html[data-theme="epure"] .gl-urg-n { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--gl-rouge-f); background: rgba(224, 49, 75, .1); border: 1px solid rgba(224, 49, 75, .22); white-space: nowrap; }
html[data-theme="epure"] .gl-urg-n svg { width: 13px; height: 13px; flex: none; }
html[data-theme="epure"] .gl-decider.a-urgent .gl-nb { background: linear-gradient(180deg, #F0566A, var(--gl-rouge)); box-shadow: 0 8px 18px -8px rgba(224, 49, 75, .75); }
html[data-theme="epure"] .gl-dec-v { position: relative; flex: none; width: 44px; height: 44px; }
html[data-theme="epure"] .gl-dec-v > img, html[data-theme="epure"] .gl-dec-v > .logo-t, html[data-theme="epure"] .gl-dec-v > .dec-pt { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; display: block; background: #fff; box-shadow: 0 0 0 1px rgba(20, 70, 150, .08); }
html[data-theme="epure"] .gl-dec-v > .logo-t.logo-laposte { background: #FFCD00; }
html[data-theme="epure"] .gl-dec-pastille { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--gl-rouge); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(184, 31, 55, .45); }
html[data-theme="epure"] .gl-age { justify-self: start; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--gl-ambre); margin-bottom: 1px; }
html[data-theme="epure"] .gl-age svg { width: 12px; height: 12px; flex: none; }
html[data-theme="epure"] .gl-dec.urgent .gl-age { color: var(--gl-rouge-f); }
/* carte urgente : bord plein cramoisi, voile rouge à gauche qui se fond dans le verre */
html[data-theme="epure"] .gl-dec.urgent, html[data-theme="epure"] .gl-dec.mauvais.urgent { background: linear-gradient(100deg, rgba(224, 49, 75, .11), rgba(255, 255, 255, .66) 60%); border: 1.5px solid rgba(224, 49, 75, .55); box-shadow: 0 12px 26px -18px rgba(184, 31, 55, .5); }
html[data-theme="epure"] .gl-dec.mauvais:not(.urgent) { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .9); }
html[data-theme="epure"] .gl-dec.urgent .gl-btn { background: linear-gradient(180deg, #F0566A, var(--gl-rouge)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(224, 49, 75, .7); }
html[data-theme="epure"] .gl-dec.urgent .gl-btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -8px rgba(224, 49, 75, .85); }
html[data-theme="epure"] .gl-dec.urgent .gl-ok { border-color: rgba(224, 49, 75, .25); }
html[data-theme="epure"] .gl-dec .gl-urg { display: none; }
@media (max-width: 820px) {
  html[data-theme="epure"] .gl-dec-t { flex-basis: calc(100% - 58px); }
  html[data-theme="epure"] .gl-urg-n { padding: 5px 10px; font-size: 11.5px; }
}
/* Barre transparente : un bloc en verre (backdrop-filter) qu'on anime en opacité, en flou ou en échelle laisse passer une bande
   de verre sur l'écran (même cause qu'en CORAIL). En ÉPURE : la page arrive sans animation, les cartes du QG en simple fondu + 10 px. */
html[data-theme="epure"] .page, html[data-theme="epure"] body.nav-vite .page { animation: none; }
html[data-theme="epure"] .gl.entre > *, html[data-theme="epure"] .gl.entre > div > * { animation: none; }
html[data-theme="epure"] .gl.entre :is(.gl-tete, .gl-c, .gl-demander) { animation: glVient .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--e, 0) * 70ms - var(--gl-t, 0ms)); }
@keyframes glVient { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Recette ÉPURE · détails */
/* Team : l'avatar d'Acolyte gardait la couleur de FOCUS (presque blanc sur blanc) */
html[data-theme="epure"] .av-acolyte { color: var(--gl-nuit); background: linear-gradient(160deg, #E6F0FC, #CFE0F8); box-shadow: inset 0 0 0 1px rgba(46, 107, 240, .18); }
/* une ligne sans photo (frais d'expédition…) : un petit colis bleu plutôt qu'un carré blanc vide */
html[data-theme="epure"] i.vign:not(.vide) { background: #EAF2FD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363A2F2' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5z'/%3E%3Cpath d='M3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E") center / 52% no-repeat; box-shadow: inset 0 0 0 1px rgba(46, 107, 240, .12); }
@media (max-width: 820px) {
  /* Suivi : la recherche collait aux bords de l'écran (marge négative héritée de FOCUS) */
  html[data-theme="epure"] body[data-ecran="colis"] .pc-outils { margin-left: 0; margin-right: 0; }
  /* la barre d'onglets ne laisse plus le contenu transparaître dessous (illisible au-dessus de la carte bleu nuit) */
  html[data-theme="epure"] .tabbar { background: rgba(246, 250, 255, .94); }
}
/* la barre de question ouverte (survol de l'orbe) passait en verre presque transparent par-dessus les cartes : texte des cartes visible
   au travers, phrase illisible. Elle devient une vraie barre givrée, opaque, qui se détache. */
html[data-theme="epure"] .h-question.ouvert .q-champ { background: rgba(248, 251, 255, .97); border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(46, 107, 240, .14), 0 24px 50px -18px rgba(20, 70, 150, .45); }
/* message de confirmation : « Annuler » était bleu sur fond bleu (illisible) */
html[data-theme="epure"] .toast button { color: #fff; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
html[data-theme="epure"] .toast button:hover { background: rgba(255, 255, 255, .28); }
@media (max-width: 820px) {
  /* Suivi, colis ouvert : les 4 étapes en ligne débordaient de ~12 px et se coupaient en deux lignes → 4 colonnes égales, point au-dessus du nom */
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 11.5px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-etapes li { position: relative; flex-direction: column; gap: 6px; text-align: center; line-height: 1.25; }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-etapes li + li::before { position: absolute; top: 4px; left: calc(-50% + 9px); right: calc(50% + 9px); width: auto; margin: 0; }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-etapes i { flex: none; }
}
/* === fin Recette · ÉPURE · À décider urgent === */

/* === Recette · FOCUS · À décider urgent (29/11 nuit) ===
   Même règle que CORAIL (coAge / coUrgent dans qg.js, via decUrgence()) : rouge = maintenant (relance fournisseur, client qui attend ≥ 24 h,
   problème ≥ 7 j), ambre = à surveiller. Urgentes en premier, ancienneté calculée sur les vraies dates. Panneau PC (#decider) et cartes téléphone (.m-carte). */
html:not(.plat) { --urg: #FF5A4D; --urg-fonce: #E5483B; --surv: #FFB547; }
html:not(.plat) :is(.dec, .m-c-haut) > .dec-v { position: relative; flex: none; width: 40px; height: 40px; }
html:not(.plat) .dec-v > :is(img, .logo-t, .dec-pt) { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; object-fit: cover; margin: 0; }
html:not(.plat) .m-c-haut > .dec-v, html:not(.plat) .m-c-haut .dec-v > :is(img, .logo-t, .dec-pt) { width: 44px; height: 44px; border-radius: 10px; }
html:not(.plat) .p-decider .dec > .dec-v { margin-top: 2px; }
html:not(.plat) .dec-pastille { position: absolute; top: -5px; right: -5px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font: 700 10.5px/1 Geist, system-ui, sans-serif;
  color: #fff; background: var(--urg-fonce); border: 2px solid #0B1122; box-shadow: 0 2px 8px rgba(229, 72, 59, .55); }
html:not(.plat) .dec-age { display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .01em; margin-bottom: 3px; color: var(--surv); }
html:not(.plat) .dec-age svg { width: 12px; height: 12px; flex: none; }
html:not(.plat) :is(.dec, .m-carte).urgent .dec-age { color: var(--urg); }
/* bord gauche : plein et sans halo, rouge ou ambre */
html:not(.plat) .dec.urgent, html:not(.plat) .m-carte.urgent { color: var(--urg); }
html:not(.plat) .dec.surveiller, html:not(.plat) .m-carte.surveiller { color: var(--surv); }
html:not(.plat) .p-decider .dec { padding-left: 15px; overflow: hidden; }
html:not(.plat) .p-decider .dec::before { left: 0; top: 0; bottom: 0; width: 3px; border-radius: 0; box-shadow: none; }
html:not(.plat) .m-carte::before { top: 0; bottom: 0; width: 3px; border-radius: 0; box-shadow: none; }
html:not(.plat) .m-carte { overflow: hidden; }
html:not(.plat) .p-decider .dec.urgent { background: linear-gradient(95deg, rgba(255, 90, 77, .11), rgba(255, 90, 77, .02) 70%); }
html:not(.plat) .p-decider .dec.urgent:hover, html:not(.plat) .p-decider .dec.urgent.focus { background: linear-gradient(95deg, rgba(255, 90, 77, .17), rgba(255, 90, 77, .05) 70%); }
html:not(.plat) .p-decider .dec + .dec { margin-top: 4px; }
html:not(.plat) .m-carte.urgent { background: linear-gradient(160deg, rgba(255, 90, 77, .13), rgba(255, 90, 77, .03) 55%), var(--verre); border-color: rgba(255, 90, 77, .3); }
/* bouton d'action rouge pour ce qui presse */
html:not(.plat) .dec.urgent .dec-act { background: var(--urg-fonce); border-color: transparent; color: #fff; }
html:not(.plat) .dec.urgent .dec-act:hover, html:not(.plat) .dec.urgent.focus .dec-act { background: #F05A4C; color: #fff; }
html:not(.plat) .m-carte.urgent .m-act { background: var(--urg-fonce); color: #fff; }
/* en-tête : compteur rouge + « N urgentes » */
html:not(.plat) :is(.p-tete, .m-titre) .dec-urg { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; margin-right: 10px; font: 600 11px Geist, system-ui, sans-serif; letter-spacing: .01em; text-transform: none; color: var(--urg); }
html:not(.plat) :is(.p-tete, .m-titre) .dec-urg svg { width: 12px; height: 12px; }
html:not(.plat) :is(.p-tete, .m-titre) b.rouge { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11.5px; color: #fff; background: var(--urg-fonce); box-shadow: 0 0 0 3px rgba(229, 72, 59, .16); }
html:not(.plat) .p-tete:has(.dec-urg), html:not(.plat) .m-titre.a-urgent { align-items: center; }
html:not(.plat) .p-decider.a-urgent { border-top-color: rgba(255, 120, 105, .38); }
/* écran étroit (chiffres sous le menu) : la colonne de droite défile ; « paniers / dernières commandes » étaient posés au-dessus
   du journal et coupés par ce défilement (invisibles entre 821 et ~1200 px). Ils passent dans la colonne. */
@media (min-width: 821px) {
  html:not(.plat) body.ch-dessous[data-ecran="qg"] .p-journal { overflow-x: hidden; }
  html:not(.plat) body.ch-dessous[data-ecran="qg"] .p-journal .flux { position: static; width: auto; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--trait); }
  html:not(.plat) body.ch-dessous[data-ecran="qg"] .p-journal .fx { background: rgba(170, 200, 255, .04); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html:not(.plat) body.ch-dessous[data-ecran="qg"] .p-journal .fx.entre { animation-name: fxEntreCol; }
}
@keyframes fxEntreCol { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
/* LA « barre transparente » (FOCUS, PC) : la recherche de Suivi reste collée en haut quand on défile, mais son fond laissait passer
   les lignes (texte lisible à travers) et laissait défiler des lignes au-dessus d'elle (dans la marge haute de la page).
   Collée tout en haut de la page, sur toute sa largeur ; fond couvrant seulement quand elle est collée (classe colle, qg.js). */
@media (min-width: 821px) {
  html:not(.plat) body[data-ecran="colis"] .pc-outils { top: -30px; margin: 0 -34px 6px; padding: 8px 34px; background: transparent; box-shadow: none; transition: background-color .15s, box-shadow .15s; }
  html:not(.plat) body[data-ecran="colis"] .pc-outils.colle { background: rgba(9, 14, 27, .96); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 1px 0 var(--trait), 0 14px 18px -14px rgba(0, 0, 0, .7); }
}
/* téléphone : l'en-tête (logo, titre) arrivait 1 à 2 s après les cartes « À décider » ; il arrive avec elles */
@media (max-width: 820px) { html:not(.plat) body.pret :is(.h-marque, .h-salut) { transition-delay: 0s; transition-duration: .4s; } }
/* Commun (demande coordinatrice) : vignette de repli quand une ligne n'a pas de photo (ex. #3849 « frais d'expédition ») :
   plus de carré blanc vide, une icône colis dans la couleur d'accent du thème. ÉPURE garde la sienne (bloc ÉPURE). */
html:not([data-theme="epure"]) :is(i.vign, .f-art > i):not(.vide) { position: relative; background: rgba(var(--acc), .1); box-shadow: inset 0 0 0 1px rgba(var(--acc), .2); }
html:not([data-theme="epure"]) :is(i.vign, .f-art > i):not(.vide)::before { content: ''; position: absolute; inset: 25%; background: rgb(var(--acc));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5z'/%3E%3Cpath d='M3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5z'/%3E%3Cpath d='M3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Commun : « Annuler » du toast lisible sur tous les fonds (il était bleu #1D4ED8, illisible sur un toast foncé) ; ÉPURE garde le sien */
html:not([data-theme="epure"]) .toast button { color: inherit; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 32%, transparent); }
html:not([data-theme="epure"]) .toast button:hover { background: color-mix(in srgb, currentColor 18%, transparent); }
/* === fin Recette · FOCUS · À décider urgent === */

/* === Recette · CORAIL · finitions (30/11) ===
   1. La « barre transparente » : les barres qui flottent au-dessus du contenu (menu PC, onglets du téléphone, barre de question)
      étaient en verre presque transparent avec la réfraction SVG (url(#co-verre)) : en défilant, les boutons rouges passaient dessous
      déformés et les libellés devenaient illisibles. Ces barres gardent un vrai flou, sans réfraction, et deviennent presque opaques.
      Le nom de l'app (en haut à gauche) s'efface dès qu'on fait défiler le QG : il ne passe plus sur les cartes.
      Téléphone : le fond de page (dégradés posés sur un body de 3 300 px qui défile) faisait une bande teintée en haut au lancement
      puis une bande claire au milieu en défilant : couleur unie, le fond liquide fixe (#co-fond) donne la lumière. */
html[data-theme="atelier"] :is(.h-nav, .tabbar, .q-champ) { -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); }
html[data-theme="atelier"] .h-nav { background: rgba(255, 251, 248, .8); }
html[data-theme="atelier"] .tabbar { background: rgba(255, 250, 246, .9); border-top: 1px solid rgba(36, 23, 15, .06); box-shadow: 0 -10px 30px -18px rgba(140, 45, 12, .25); }
html[data-theme="atelier"] .h-question .q-champ { background: rgba(255, 251, 248, .86); }
html[data-theme="atelier"] .h-marque { transition: opacity .25s ease, transform .25s ease; }
html[data-theme="atelier"] body.co-defile .h-marque { opacity: 0; transform: translateY(-6px); pointer-events: none; }
@media (max-width: 820px) {
  html[data-theme="atelier"] body { background: #F3EBE4; }
  html[data-theme="atelier"] body.co-defile .h-marque { opacity: 1; transform: none; pointer-events: auto; }
}
/* 2. À décider : toutes les vignettes au même carré, contenu centré (le logo Gmail restait collé en haut à gauche : display:block
      écrasait la grille de .logo-t). Photo = recouvre le carré ; La Poste = carré jaune plein ; Gmail = logo centré à 56 %. */
.co-dec-v > .logo-t { display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(36, 23, 15, .07); }
.co-dec-v > .logo-t.logo-gmail svg { width: 56%; height: 56%; }
.co-dec-v > .logo-t.logo-laposte { box-shadow: none; }
.co-dec-v > img { box-shadow: inset 0 0 0 1px rgba(36, 23, 15, .07); }
.co4 .co-dec { align-items: start; }
.co4 .co-dec-v { margin-top: 2px; }
/* 3. Largeurs moyennes (821 – 1279 px) : En direct ne se chevauche plus, les chiffres de la carte restent alignés */
@media (min-width: 821px) and (max-width: 1279px) {
  .co-cmd time { display: none; }
  .co-cmd { padding: 8px 10px 8px 8px; gap: 8px; }
  .co-cmd b { overflow: hidden; }
  .co-cmd em { font-size: 12.5px; }
  .co-stats { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 26px; }
  .co-stat small { white-space: nowrap; }
}
@media (min-width: 821px) and (max-width: 1099px) {
  .co-cmd { flex-wrap: wrap; row-gap: 4px; }
  .co-cmd > span { flex-basis: calc(100% - 46px); }
  .co-cmd em { margin-left: 44px; }
}
/* 4. Téléphone : les 4 chiffres de la carte en 2 × 2 (le 4e partait seul sur une ligne) */
@media (max-width: 820px) { .co-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; } }
/* 5. Téléphone : le fond liquide (#co-fond, fixe, z-index 0) passait DEVANT tout ce qui n'est pas en verre
      (la pilule « Une question ? Demande à Acolyte » en bas de l'accueil était recouverte par une forme jaune) */
@media (max-width: 820px) { html[data-theme="atelier"] #plat { position: relative; z-index: 1; } }
/* 6. Suivi téléphone : la recherche débordait de 16 px à droite et à gauche (marge négative héritée de l'ancienne bande collante) */
@media (max-width: 820px) { html[data-theme="atelier"] body[data-ecran="colis"] .pc-outils { margin-left: 0; margin-right: 0; } }
/* 7. Suivi téléphone, colis ouvert : « hier / commandé » collé au bord et coupé, étapes du trajet qui débordaient de 13 px */
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l.ouvert .pc-l-haut { padding-right: 12px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-etapes { flex-wrap: wrap; row-gap: 6px; }
}
/* 8. Résultats téléphone : la flèche « › » partait seule sous le titre (titre à 30 px trop large) */
@media (max-width: 820px) { html[data-theme="atelier"] .rs-titre h1 { font-size: 23px; flex: 1 1 0; min-width: 0; text-align: center; } }
/* 9. SAV : le trait « à relire » collé contre le bord de la carte, sur toute sa hauteur (il flottait à 3 px du bord) */
html[data-theme="atelier"] .sv-l.attend::before { left: 0; top: 14px; bottom: 14px; height: auto; margin-top: 0; border-radius: 0 3px 3px 0; }
/* 10. Team : l'avatar « A » d'Acolyte restait dans le bleu pâle de FOCUS (illisible sur le crème) */
html[data-theme="atelier"] .av-acolyte { color: #24170F; border-color: rgba(36, 23, 15, .3); background: rgba(255, 255, 255, .75); }
/* 11. Jour ou période choisi : « Aujourd'hui › » (seul moyen de revenir) était mangé par les points de suspension dès que la carte rétrécit.
       La ligne passe sur deux lignes quand elle contient le bouton de retour. */
.co-date span:has(.co-retour) { white-space: normal; overflow: visible; text-overflow: clip; }
.co-retour { white-space: nowrap; }
/* 12. ~1000 px : le titre de la carte tombait sur 4 lignes */
@media (min-width: 821px) and (max-width: 1099px) { .co4 .co-hero h1 { font-size: 25px; line-height: 1.12; } }
/* === fin Recette · CORAIL · finitions === */

/* === Coordination · recherche du Suivi collée en CORAIL / ÉPURE (30/11) === */
/* Collée en haut, la barre était transparente : les lignes défilaient à travers. Fond givré du thème quand elle colle. */
html[data-theme="atelier"] body[data-ecran="colis"] .pc-outils.colle { background: rgba(250, 240, 232, .92); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 -24px 0 0 rgba(250, 240, 232, .92), 0 10px 18px -14px rgba(36, 23, 15, .35); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-outils.colle { background: rgba(234, 242, 253, .92); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 -24px 0 0 rgba(234, 242, 253, .92), 0 10px 18px -14px rgba(11, 31, 58, .3); }

/* === 30/11 · retours téléphone === */
/* CORAIL : dernier versement en haut à droite de la tuile du prochain */
.co4 .co-vk { position: relative; }
.co4 .co-vk .co-v-der { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; line-height: 1.2; }
.co4 .co-vk .co-v-der small { font-size: 10.5px; color: var(--texte-3); }
.co4 .co-vk .co-v-der b { font-size: 13px; font-weight: 600; color: var(--texte-2, var(--texte)); }

/* Barre d'onglets téléphone : capsule en verre liquide, surélevée et arrondie (tous thèmes) */
@media (max-width: 820px) {
  body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  html[data-theme] .tabbar { left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 6px; gap: 2px;
    border-radius: 30px; border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(14, 20, 34, .62);
    -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 14px 34px -10px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .2); }
  html[data-theme] .tabbar button { padding: 7px 0 6px; border-radius: 24px; transition: background .2s, color .2s; }
  html[data-theme] .tabbar button.actif { background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
  html[data-theme] .tabbar button.actif svg { filter: none; }
  html[data-theme="atelier"] .tabbar, html[data-theme="epure"] .tabbar { border: 1px solid rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
    box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .4), 0 14px 34px -12px rgba(40, 30, 60, .3), 0 2px 8px rgba(40, 30, 60, .08); }
  html[data-theme="atelier"] .tabbar { background: rgba(255, 250, 246, .72); }
  html[data-theme="epure"] .tabbar { background: rgba(246, 250, 255, .72); }
  html[data-theme="atelier"] .tabbar button.actif, html[data-theme="epure"] .tabbar button.actif { background: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 30, 60, .1), inset 0 1px 0 #fff; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .p-detail { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sv-fil .sv-envoi { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sv-fil.a-envoyer .sv-envoi { bottom: calc(94px + env(safe-area-inset-bottom)); }
}
/* Suivi : la ligne ouverte déborde de 10 px de chaque côté pour que la photo reste dans son fond */
@media (max-width: 820px) {
  body[data-ecran="colis"] .pc-l.ouvert { margin: 0 -10px; padding: 0 10px 10px; }
}
/* Fiche complète sur téléphone : pleine largeur au-dessus de la barre d'onglets (la règle PC « hors QG » la réduisait à 70 px) */
@media (max-width: 820px) {
  html body .p-detail, html body:not([data-ecran="qg"]) .p-detail { left: 10px; right: 10px; width: auto; max-width: none; top: auto;
    bottom: calc(92px + env(safe-area-inset-bottom)); max-height: calc(100vh - 150px - env(safe-area-inset-bottom)); max-height: calc(100dvh - 150px - env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
}
/* ÉPURE : le brief du jour en petit, en haut à droite de l'en-tête */
html[data-theme="epure"] .gl-tete { position: relative; padding-top: 44px; }
html[data-theme="epure"] .gl-brief.gl-brief-mini { position: absolute; top: 0; right: 4px; width: auto; max-width: none; flex-wrap: nowrap; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; }
html[data-theme="epure"] .gl-brief-mini .gl-av { width: 24px; height: 24px; font-size: 11px; flex: none; }
html[data-theme="epure"] .gl-brief-mini .gl-brief-q { display: inline; font-size: 10.5px; letter-spacing: .07em; }
html[data-theme="epure"] .gl-brief-mini em { margin: 0; padding: 0; background: none; color: var(--gl-b3); font-size: 15px; line-height: 1; }
@media (max-width: 820px) { html[data-theme="epure"] .gl-tete { padding-top: 38px; } html[data-theme="epure"] .gl-brief.gl-brief-mini { right: 0; } }
/* Photos : pendant le chargement, un gris doux plutôt qu'un carré blanc ; si la photo ne vient pas, elle disparaît derrière son fond */
img[src*="cdn.shopify"]:not(.charge) { background-color: rgba(127, 135, 150, .14) !important; }
img.ko { color: transparent; font-size: 0; }
/* PC : la tuile est étroite, le dernier versement passe en une ligne sous la date */
@media (min-width: 821px) {
  .co4 .co-vk .co-v-der { position: static; flex-direction: row; align-items: baseline; gap: 6px; order: 1; text-align: left; }
  .co4 .co-vk .co-v-f { order: 2; }
  .co4 .co-vk .co-v-der b { font-size: 12px; }
}
/* Fiche complète : opaque en ÉPURE (la page se voyait à travers) ; titre d'alerte lisible sur les thèmes clairs */
html[data-theme="epure"] .p-detail { background: #F8FBFF !important; opacity: 1 !important; border: 1px solid rgba(20, 70, 150, .12); box-shadow: 0 24px 60px -24px rgba(20, 70, 150, .35); }
:is(html[data-theme="atelier"], html[data-theme="epure"]) .f-note.souci b { color: #B3261E; }

/* === 30/11 tard · ÉPURE téléphone : en-tête essentiel, widgets, virements dans Ta journée === */
@media (max-width: 820px) {
  html[data-theme="epure"] .gl-tete.gl-tete-m { flex-wrap: nowrap; align-items: flex-start; padding-top: 4px; gap: 14px; }
  html[data-theme="epure"] .gl-tete-m .gl-tete-g { flex: 1; flex-basis: auto; }
  html[data-theme="epure"] .gl-tete-m .gl-tete-d { width: auto; flex: none; }
  html[data-theme="epure"] .gl-tete-m h1 { font-size: 28px; }
  html[data-theme="epure"] #etat .gl-brief-haut { position: static; padding: 3px 11px 3px 3px; }
  html[data-theme="epure"] #etat .gl-brief-haut .gl-av { width: 22px; height: 22px; font-size: 10.5px; }
  /* Ta journée : 8 barres de 3 h, plus larges, sans montants au-dessus */
  html[data-theme="epure"] .gl-heures:not(.gl-jours) { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; height: 170px; padding-top: 10px; }
  html[data-theme="epure"] .gl-heures:not(.gl-jours) .gl-col { max-width: none; }
  html[data-theme="epure"] .gl-heures:not(.gl-jours) small { font-size: 10.5px; min-height: 13px; }
  html[data-theme="epure"] .gl-heures:not(.gl-jours) .gl-col i { border-radius: 9px; }
  html[data-theme="epure"] .gl-heures:not(.gl-jours) .gl-col i.a { left: 3px; right: 3px; }
  html[data-theme="epure"] .gl-minis { gap: 6px; }
  /* virements en bas de Ta journée */
  html[data-theme="epure"] .gl-vj { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--texte);
    background: rgba(255, 255, 255, .7); border: 1px solid #fff; box-shadow: 0 8px 20px -14px rgba(20, 70, 150, .45); }
  html[data-theme="epure"] .gl-vj span { display: grid; gap: 2px; }
  html[data-theme="epure"] .gl-vj small { font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-b3); }
  html[data-theme="epure"] .gl-vj b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
  html[data-theme="epure"] .gl-vj .der { text-align: right; justify-items: end; }
  html[data-theme="epure"] .gl-vj .der small { color: var(--texte-3); }
  html[data-theme="epure"] .gl-vj .der b { font-size: 15px; color: var(--texte-2); }
  /* widgets carrés : bénéfice du mois | 30 jours */
  html[data-theme="epure"] .gl-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  html[data-theme="epure"] .gl-w { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1 / .82; padding: 16px; text-align: left; margin: 0; }
  html[data-theme="epure"] .gl-w small { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-b3); line-height: 1.3; }
  html[data-theme="epure"] .gl-w b { font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--texte); }
  html[data-theme="epure"] .gl-w span { font-size: 12px; color: var(--texte-2); }
  html[data-theme="epure"] .gl-w.profond { background: linear-gradient(160deg, #1D4FC4, #0B2A72) !important; border-color: rgba(255, 255, 255, .18) !important; }
  html[data-theme="epure"] .gl-w.profond small { color: rgba(255, 255, 255, .7); } html[data-theme="epure"] .gl-w.profond b { color: #fff; }
  html[data-theme="epure"] .gl-w.profond span { color: rgba(255, 255, 255, .8); } html[data-theme="epure"] .gl-w.profond span.haut { color: #9FE3BE; } html[data-theme="epure"] .gl-w.profond span.bas { color: #FFB4A8; }
}
/* Barre d'onglets : ne bouge plus quand on glisse (pas de rebond de page sur iPhone, couche fixe à part) */
@media (max-width: 820px) {
  html, body { overscroll-behavior-y: none; }
  html[data-theme] .tabbar { transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); will-change: transform; transition: none; }
}
/* SAV sur PC : une seule colonne sur toute la largeur — la commande (pliée) en haut, puis la conversation dépliée */
@media (min-width: 1280px) {
  body[data-ecran="clients"] .sv-fil { grid-template-columns: minmax(0, 1fr); }
  body[data-ecran="clients"] .sv-fil > .sv-cmd-bloc { grid-column: 1; grid-row: auto; position: static; }
  body[data-ecran="clients"] .sv-msg-d[open] .cv { max-width: none; }
  body[data-ecran="clients"] .cv-m, :is(html[data-theme="atelier"], html[data-theme="epure"]) body[data-ecran="clients"] .cv-m { max-width: min(72%, 860px); }
}

/* === 30/11 tard · ÉPURE · Résultats refait dans la DA de l'accueil (resultatsEpure) === */
html[data-theme="epure"] body[data-ecran="resultats"] .page { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="epure"] .gr { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px; }
html[data-theme="epure"] .gr-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 4px 4px 2px; }
html[data-theme="epure"] .gr-sur { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="epure"] .gr-titre { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
html[data-theme="epure"] .gr-titre h1 { margin: 0; font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--texte); }
html[data-theme="epure"] .gr-fl { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--gl-b3); background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 8px 18px -12px rgba(20, 70, 150, .5); flex: none; }
html[data-theme="epure"] .gr-fl:disabled { opacity: .35; }
html[data-theme="epure"] .gr-dates { margin: 6px 0 0; font-size: 13.5px; color: var(--texte-2); }
html[data-theme="epure"] .gr-ong { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid #fff; box-shadow: 0 12px 28px -18px rgba(20, 70, 150, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
html[data-theme="epure"] .gr-ong::-webkit-scrollbar { display: none; }
html[data-theme="epure"] .gr-ong button { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--texte-2); white-space: nowrap; border: 0; background: none; }
html[data-theme="epure"] .gr-ong button.actif { color: #fff; background: linear-gradient(180deg, #4A84F6, #2A62E6); box-shadow: 0 6px 14px -8px rgba(42, 98, 230, .8); }
/* rangée 1 : la carte bleu nuit + 4 tuiles */
html[data-theme="epure"] .gr-r1 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
html[data-theme="epure"] .gr-hero .gl-geant { display: block; margin-top: 4px; }
html[data-theme="epure"] .gr-part { font-size: 12.5px; color: rgba(220, 235, 255, .75); }
html[data-theme="epure"] .gr-rep { margin-top: 18px; }
html[data-theme="epure"] .gr-rep-b { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; background: rgba(255, 255, 255, .1); }
html[data-theme="epure"] .gr-rep-b i { display: block; height: 100%; }
html[data-theme="epure"] .gr-rep i.r-f { background: #8FB3E8; } html[data-theme="epure"] .gr-rep i.r-r { background: #C9D9F2; } html[data-theme="epure"] .gr-rep i.r-p { background: #F2C46B; } html[data-theme="epure"] .gr-rep i.r-n { background: #7BE0A9; }
html[data-theme="epure"] .gr-rep ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
html[data-theme="epure"] .gr-rep li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(220, 235, 255, .85); }
html[data-theme="epure"] .gr-rep li i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
html[data-theme="epure"] .gr-rep li span { flex: 1; min-width: 0; } html[data-theme="epure"] .gr-rep li b { color: #fff; font-weight: 500; } html[data-theme="epure"] .gr-rep li em { font-style: normal; font-size: 11.5px; color: rgba(220, 235, 255, .6); min-width: 34px; text-align: right; }
html[data-theme="epure"] .gr-perte { margin: 12px 0 0; font-size: 13px; color: #FFB4A8; }
html[data-theme="epure"] .gr-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
html[data-theme="epure"] .gr-k { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 18px 20px; }
html[data-theme="epure"] .gr-k small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="epure"] .gr-k > b { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; color: var(--texte); }
html[data-theme="epure"] .gr-k > span { font-size: 12.5px; color: var(--texte-2); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
html[data-theme="epure"] .gr-k > span i { font-style: normal; color: var(--texte-3); }
html[data-theme="epure"] .gr em.haut, html[data-theme="epure"] .gr-k em.haut { font-style: normal; font-weight: 600; color: #1F8A57; }
html[data-theme="epure"] .gr em.bas { font-style: normal; font-weight: 600; color: #C2412D; }
/* le graphique */
html[data-theme="epure"] .gr-graphe .gl-c-tete { flex-wrap: wrap; }
html[data-theme="epure"] .gr-mets { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(46, 107, 240, .07); }
html[data-theme="epure"] .gr-mets button { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--texte-2); border: 0; background: none; }
html[data-theme="epure"] .gr-mets button.actif { background: #fff; color: var(--texte); box-shadow: 0 2px 8px -2px rgba(20, 70, 150, .25); }
html[data-theme="epure"] .gr-tot { font-size: 13px; color: var(--texte-2); } html[data-theme="epure"] .gr-tot b { color: var(--texte); font-weight: 600; }
html[data-theme="epure"] .gr-barres { height: 240px; position: relative; }
html[data-theme="epure"] .gr-barres > button { cursor: default; }
/* rangées du bas */
html[data-theme="epure"] .gr-r3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
html[data-theme="epure"] .gr-r4 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
html[data-theme="epure"] .gr-retenir ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html[data-theme="epure"] .gr-retenir li { position: relative; padding: 10px 12px 10px 30px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--texte-2); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); }
html[data-theme="epure"] .gr-retenir li::before { content: ''; position: absolute; left: 13px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(180deg, #5C94F5, #2A62E6); }
html[data-theme="epure"] .gr-retenir li b { color: var(--texte); font-weight: 600; }
html[data-theme="epure"] .gr-releve .rl { padding: 7px 0; font-size: 13.5px; } html[data-theme="epure"] .gr-releve .rl.net > b { color: var(--gl-b3); font-size: 17px; }
html[data-theme="epure"] .gr-note { margin: 10px 0 0; font-size: 12px; color: var(--texte-3); }
html[data-theme="epure"] .gr-v-haut { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(232, 241, 254, .95), rgba(214, 230, 252, .8)); border: 1px solid rgba(46, 107, 240, .18); }
html[data-theme="epure"] .gr-v-haut span { display: grid; gap: 2px; } html[data-theme="epure"] .gr-v-haut small { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="epure"] .gr-v-haut b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--texte); }
html[data-theme="epure"] .gr-v-haut .der { text-align: right; justify-items: end; } html[data-theme="epure"] .gr-v-haut .der small { color: var(--texte-3); } html[data-theme="epure"] .gr-v-haut .der b { font-size: 16px; color: var(--texte-2); }
html[data-theme="epure"] .gr-litige { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; color: #B3261E; background: rgba(255, 235, 232, .8); }
html[data-theme="epure"] .gr-v-l { display: grid; margin-top: 8px; }
html[data-theme="epure"] .gr-v-l a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 13.5px; color: var(--texte); text-decoration: none; border-bottom: 1px solid rgba(46, 107, 240, .08); }
html[data-theme="epure"] .gr-v-l a:last-child { border-bottom: 0; }
html[data-theme="epure"] .gr-v-l a span { flex: 1; } html[data-theme="epure"] .gr-v-l a b { font-weight: 500; }
html[data-theme="epure"] .gr-v-l em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
html[data-theme="epure"] .gr-v-l .s-v { color: #1F7A4C; background: rgba(47, 138, 91, .1); } html[data-theme="epure"] .gr-v-l .s-b { color: #2A62E6; background: rgba(46, 107, 240, .1); } html[data-theme="epure"] .gr-v-l .s-r { color: #B3261E; background: rgba(194, 65, 45, .1); } html[data-theme="epure"] .gr-v-l .s-g { color: var(--texte-3); background: rgba(0, 0, 0, .05); }
html[data-theme="epure"] .gr-rech { flex: 1; max-width: 320px; min-width: 0; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--texte); background: rgba(255, 255, 255, .75); border: 1px solid #fff; outline: none; }
html[data-theme="epure"] .gr-rech:focus { border-color: rgba(46, 107, 240, .45); box-shadow: 0 0 0 3px rgba(46, 107, 240, .12); }
html[data-theme="epure"] .gr-cmd { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border-radius: 14px; text-align: left; border: 0; background: none; color: var(--texte); }
html[data-theme="epure"] .gr-cmd:hover { background: rgba(255, 255, 255, .6); }
html[data-theme="epure"] .gr-cmd img, html[data-theme="epure"] .gr-cmd .vign { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; background: #fff; }
html[data-theme="epure"] .gr-cmd-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html[data-theme="epure"] .gr-cmd-t b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } html[data-theme="epure"] .gr-cmd-t b .num { font-weight: 600; }
html[data-theme="epure"] .gr-cmd-t b u { text-decoration: none; font-size: 11px; padding: 1px 6px; border-radius: 999px; color: var(--gl-b3); background: rgba(46, 107, 240, .1); }
html[data-theme="epure"] .gr-cmd-t small { font-size: 12px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="epure"] .gr-cmd-m { display: grid; justify-items: end; gap: 2px; flex: none; } html[data-theme="epure"] .gr-cmd-m b { font-size: 14px; font-weight: 500; } html[data-theme="epure"] .gr-cmd-m small { font-size: 11.5px; color: #1F7A4C; }
html[data-theme="epure"] .gr-cmd.annulee { opacity: .5; } html[data-theme="epure"] .gr-cmd.annulee .gr-cmd-m b { text-decoration: line-through; }
html[data-theme="epure"] .gr-toutes { width: 100%; margin-top: 8px; padding: 11px; border-radius: 999px; font-size: 13.5px; color: var(--gl-b3); background: rgba(255, 255, 255, .7); border: 1px solid #fff; }
html[data-theme="epure"] .gr-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
html[data-theme="epure"] .gr-types span { font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--texte-2); background: rgba(255, 255, 255, .6); border: 1px solid #fff; } html[data-theme="epure"] .gr-types b { color: var(--texte); font-weight: 500; }
html[data-theme="epure"] .gr-pied { margin: 0; font-size: 11.5px; color: var(--texte-3); text-align: center; }
html[data-theme="epure"] .gr-attend { min-height: 300px; display: grid; place-items: center; }
@media (max-width: 1180px) and (min-width: 821px) { html[data-theme="epure"] .gr-r3 { grid-template-columns: 1fr 1fr; } html[data-theme="epure"] .gr-r1 { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  html[data-theme="epure"] .gr { gap: 14px; }
  html[data-theme="epure"] .gr-tete { flex-direction: column; align-items: stretch; gap: 14px; padding: 0; }
  html[data-theme="epure"] .gr-titre h1 { font-size: 30px; flex: 1; text-align: center; }
  html[data-theme="epure"] .gr-dates { text-align: center; }
  html[data-theme="epure"] .gr-ong { margin: 0 -16px; border-radius: 0; padding: 5px 16px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme="epure"] .gr-ong button { background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
  html[data-theme="epure"] .gr-kpis { gap: 12px; } html[data-theme="epure"] .gr-k { padding: 14px 16px; border-radius: 22px; } html[data-theme="epure"] .gr-k > b { font-size: 24px; }
  html[data-theme="epure"] .gr-rep ul { grid-template-columns: 1fr; gap: 7px; }
  html[data-theme="epure"] .gr-barres { height: 190px; }
  html[data-theme="epure"] .gr-graphe .gl-c-tete { gap: 8px; } html[data-theme="epure"] .gr-tot { width: 100%; }
  html[data-theme="epure"] .gr-cmds .gl-c-tete { flex-direction: column; align-items: stretch; } html[data-theme="epure"] .gr-rech { max-width: none; }
}
html[data-theme="epure"] .page .gr-ong button.actif { color: #fff; border-color: transparent; }
html[data-theme="epure"] .page .gr-ong button { border-bottom: 0; margin: 0; }
html[data-theme="epure"] .gr-vendus .gl-an li b { flex: none; } html[data-theme="epure"] .gr-vendus .gl-an svg { width: 140px; height: 140px; }
@media (max-width: 820px) {
  html[data-theme="epure"] .gr-barres { gap: 3px !important; }
  html[data-theme="epure"] .gr-barres small { font-size: 10px; white-space: nowrap; overflow: visible; }
  html[data-theme="epure"] .gr-barres .gl-col i { border-radius: 5px; } html[data-theme="epure"] .gr-barres .gl-col i.a { left: 1px; right: 1px; }
  html[data-theme="epure"] .gr-cmd-t b u { display: none; }
}
html[data-theme="epure"] .gr-barres { padding-top: 26px; }
html[data-theme="epure"] .gr-barres .gl-col { max-width: 56px; }
html[data-theme="epure"] .gr-barres .gr-val { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--texte); white-space: nowrap; min-height: 0; }
html[data-theme="epure"] .gr-barres em.gr-val { display: block !important; }

/* === 30/11 nuit · téléphone : l'écran ne défile plus, c'est le corps de page qui défile (la barre d'onglets ne peut plus bouger sur iPhone) === */
@media (max-width: 820px) {
  html { height: 100%; overflow: hidden !important; }
  body { height: 100% !important; min-height: 0 !important; overflow-x: hidden; overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: none; }
  /* le fond animé déborde sous la barre d'état et sous la barre d'accueil */
  html[data-theme="epure"] #gl-fond, html[data-theme="atelier"] #co-fond { top: calc(-40px - env(safe-area-inset-top)); bottom: calc(-40px - env(safe-area-inset-bottom)); left: 0; right: 0; height: auto; width: 100%; }
  html[data-theme="epure"] { background: #DCEBFB; } html[data-theme="atelier"] { background: #F6EEE8; }
}
/* ÉPURE téléphone : plus de « OFFICE ACOLYTE », le brief du jour prend sa place ; phrase principale un peu plus grande */
@media (max-width: 820px) {
  html[data-theme="epure"] .h-marque .marque { display: none; }
  html[data-theme="epure"] .h-marque { justify-content: flex-start; padding-top: calc(12px + env(safe-area-inset-top)); }
  html[data-theme="epure"] #etat .gl-brief-haut { padding: 5px 14px 5px 5px; }
  html[data-theme="epure"] #etat .gl-brief-haut .gl-av { width: 26px; height: 26px; font-size: 11.5px; }
  html[data-theme="epure"] #etat .gl-brief-haut .gl-brief-q { font-size: 11.5px; }
  html[data-theme="epure"] .gl-tete-m h1 { font-size: 32px; letter-spacing: -.035em; }
  html[data-theme="epure"] .gl-tete.gl-tete-m { padding-top: 8px; gap: 16px; }
  /* recherche du Suivi : pas collante sur téléphone (sinon l'iPhone place mal le curseur au premier appui) */
  .pc-outils, html[data-theme] .page .pc-outils { position: relative !important; top: auto !important; }
}
/* SAV : les mails à traiter ressortent (plus gros, en gras, résumé plus foncé) */
.sv-l.attend .sv-l-txt b { font-size: 16px; font-weight: 650; color: var(--texte); }
.sv-l.attend .sv-l-txt em { color: var(--texte); font-size: 13.5px; }
@media (max-width: 820px) { .sv-l.attend .sv-l-txt b { font-size: 17px; } .sv-l.attend .sv-l-txt em { font-size: 14px; } }
/* ÉPURE : les étapes du trajet reprennent les couleurs de la barre du haut de Suivi */
html[data-theme="epure"] .pcd-etapes li:nth-child(1) { --et: #A9CDF7; --et-t: #3F74C2; } html[data-theme="epure"] .pcd-etapes li:nth-child(2) { --et: #63A2F2; --et-t: #2F6FD0; }
html[data-theme="epure"] .pcd-etapes li:nth-child(3) { --et: #2E6BF0; --et-t: #2E6BF0; } html[data-theme="epure"] .pcd-etapes li:nth-child(4) { --et: #0F3E9C; --et-t: #0F3E9C; }
html[data-theme="epure"] .pcd-etapes li.ici { color: var(--et-t); font-weight: 600; } html[data-theme="epure"] .pcd-etapes li.ici i { background: var(--et); border-color: var(--et); box-shadow: 0 0 0 4px color-mix(in srgb, var(--et) 30%, transparent); }
html[data-theme="epure"] .sv-trajet li:nth-child(1) { --et: #A9CDF7; } html[data-theme="epure"] .sv-trajet li:nth-child(2) { --et: #63A2F2; } html[data-theme="epure"] .sv-trajet li:nth-child(3) { --et: #2E6BF0; } html[data-theme="epure"] .sv-trajet li:nth-child(4) { --et: #0F3E9C; }
html[data-theme="epure"] .sv-trajet li.ici i, html[data-theme="epure"] .sv-trajet li.fait i { background: var(--et) !important; border-color: var(--et) !important; }

/* === 30/11 nuit · ÉPURE · Suivi : chaque commande dans sa carte de verre, couleurs des étapes de la barre du haut === */
@media (hover: none) { .pc-l-haut:hover, html[data-theme] .pc-l-haut:hover { background: none !important; } }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l { border-top: 0 !important; margin: 0 0 10px !important; padding: 0 !important; border-radius: 22px; background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 10px 24px -18px rgba(20, 70, 150, .45); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l.ouvert { background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px #fff, 0 16px 34px -20px rgba(20, 70, 150, .5); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut { padding: 12px 14px !important; gap: 12px; border-radius: 22px; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut img, html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut .vign { width: 52px; height: 52px; border-radius: 15px; border: 2px solid #fff; box-shadow: 0 8px 16px -10px rgba(20, 70, 150, .55); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l-txt b.num { font-weight: 650; color: var(--texte); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l-txt em { color: var(--texte-2); font-style: normal; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-autres { text-decoration: none; font-size: 11px; padding: 1px 7px; border-radius: 999px; color: var(--gl-b3); background: rgba(46, 107, 240, .1); border: 0; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-quand b { font-weight: 600; color: var(--texte); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-quand small { color: var(--texte-3); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-acts { padding: 0 14px 14px 78px; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l-detail { padding: 0 12px 14px !important; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-mini { gap: 4px; } html[data-theme="epure"] body[data-ecran="colis"] .pc-mini i { height: 4px; border-radius: 999px; background: rgba(46, 107, 240, .13); }
html[data-theme="epure"] body[data-ecran="colis"] .pc-mini i:nth-child(1).fait { background: #A9CDF7; } html[data-theme="epure"] body[data-ecran="colis"] .pc-mini i:nth-child(2).fait { background: #63A2F2; } html[data-theme="epure"] body[data-ecran="colis"] .pc-mini i:nth-child(3).fait { background: #2E6BF0; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect { display: flex; align-items: center; gap: 8px; border: 0 !important; margin: 18px 4px 10px; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-ambre::before { background: #A9CDF7; } html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-bleu::before { background: #63A2F2; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-cyan::before { background: #2E6BF0; } html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-vert::before { background: #0F3E9C; }
@media (max-width: 820px) {
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut { padding: 11px 12px !important; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut img, html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut .vign { width: 48px; height: 48px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-acts { padding: 0 12px 12px 72px; }
}
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-ambre { color: #3F74C2 !important; } html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-bleu { color: #2F6FD0 !important; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-cyan { color: #2E6BF0 !important; } html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-vert { color: #0F3E9C !important; }
@media (max-width: 820px) {
  html[data-theme="epure"] body[data-ecran="colis"] .pc-acts { padding: 0 12px 12px 12px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-quand { min-width: 0; flex: none; max-width: 96px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-quand b { font-size: 13px; } html[data-theme="epure"] body[data-ecran="colis"] .pc-quand small { font-size: 11px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l-txt small { font-size: 12.5px; }
}

/* === 30/11 nuit · ÉPURE · Résultats v2 : période en cours = calendrier, tuile Commandes qui ouvre la liste, ventilation, conversion === */
html[data-theme="epure"] .gr-ong .gr-cal-i { width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; }
html[data-theme="epure"] .gr-k.clic { text-align: left; cursor: pointer; font: inherit; color: inherit; }
html[data-theme="epure"] .gr-k.clic:hover { transform: translateY(-2px); }
html[data-theme="epure"] .gr-k small { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
html[data-theme="epure"] .gr-voir { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 500; color: #fff; padding: 3px 9px; border-radius: 999px; background: linear-gradient(180deg, #4A84F6, #2A62E6); }
html[data-theme="epure"] .gr-r2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
html[data-theme="epure"] .gr-r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-theme="epure"] .gr-r4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html[data-theme="epure"] .gr-ventil-b { display: flex; height: 14px; gap: 3px; border-radius: 999px; overflow: hidden; }
html[data-theme="epure"] .gr-ventil-b i { display: block; height: 100%; border-radius: 4px; }
html[data-theme="epure"] .gr-ventil ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
html[data-theme="epure"] .gr-ventil li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
html[data-theme="epure"] .gr-ventil li > i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
html[data-theme="epure"] .gr-ventil li span { flex: 1; min-width: 0; color: var(--texte); } html[data-theme="epure"] .gr-ventil li small { color: var(--texte-3); font-size: 12px; }
html[data-theme="epure"] .gr-ventil li b { font-weight: 500; min-width: 64px; text-align: right; } html[data-theme="epure"] .gr-ventil li em { font-style: normal; font-size: 12px; color: var(--texte-3); min-width: 36px; text-align: right; }
html[data-theme="epure"] .gr-ratios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
html[data-theme="epure"] .gr-ratios span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
html[data-theme="epure"] .gr-ratios small { font-size: 11px; color: var(--texte-3); } html[data-theme="epure"] .gr-ratios b { font-size: 17px; font-weight: 500; color: var(--texte); }
html[data-theme="epure"] .gr-conv-l { display: grid; gap: 14px; }
html[data-theme="epure"] .gr-conv-l > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
html[data-theme="epure"] .gr-conv-l span { font-size: 13.5px; color: var(--texte-2); } html[data-theme="epure"] .gr-conv-l span b { color: var(--texte); font-weight: 600; font-size: 15px; }
html[data-theme="epure"] .gr-conv-l i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(46, 107, 240, .08); overflow: hidden; display: block; }
html[data-theme="epure"] .gr-conv-l i u { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #63A2F2, #2E6BF0); }
html[data-theme="epure"] .gr-conv-l > div:last-child i u { background: linear-gradient(90deg, #22A39A, #1F8A57); }
html[data-theme="epure"] .gr-conv-l em { font-style: normal; font-size: 12px; color: var(--texte-3); grid-row: 1; grid-column: 2; }
html[data-theme="epure"] .gr-vendus .gl-an { justify-content: center; }
html[data-theme="epure"] .gr-vendus-l { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
html[data-theme="epure"] .gr-vendus-l li { display: flex; align-items: center; gap: 10px; }
html[data-theme="epure"] .gr-vendus-l img, html[data-theme="epure"] .gr-vendus-l .vign { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 6px 12px -8px rgba(20, 70, 150, .5); background: #fff; }
html[data-theme="epure"] .gr-vendus-l .pt { width: 8px; height: 8px; border-radius: 50%; flex: none; }
html[data-theme="epure"] .gr-vendus-l span { flex: 1; min-width: 0; display: grid; } html[data-theme="epure"] .gr-vendus-l span b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="epure"] .gr-vendus-l span small { font-size: 11.5px; color: var(--texte-3); } html[data-theme="epure"] .gr-vendus-l em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--texte); }
@media (max-width: 1180px) and (min-width: 821px) { html[data-theme="epure"] .gr-r2 { grid-template-columns: 1fr; } html[data-theme="epure"] .gr-r3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { html[data-theme="epure"] .gr-r2, html[data-theme="epure"] .gr-r3, html[data-theme="epure"] .gr-r4 { display: contents; } }
html[data-theme="epure"] .gr-voir { white-space: nowrap; flex: none; }

/* === 1/12 · iPhone : plus de bande nette sous l'heure et en bas — le fond de page ne se voit plus, et un givre en fondu couvre la barre d'état === */
@media (max-width: 820px) {
  html[data-theme="epure"] body { background: transparent !important; }
  html[data-theme="epure"] { background: linear-gradient(180deg, #C7E0FF 0%, #8DB8FD 45%, #5C99FC 100%) fixed !important; }
  html[data-theme="epure"] body::before, html[data-theme="epure"] body::after { content: ''; position: fixed; left: 0; right: 0; z-index: 39; pointer-events: none;
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
  html[data-theme="epure"] body::before { top: 0; height: calc(env(safe-area-inset-top) + 18px); background: linear-gradient(180deg, rgba(233, 242, 253, .55), rgba(233, 242, 253, 0));
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  html[data-theme="epure"] body::after { bottom: 0; height: calc(env(safe-area-inset-bottom) + 30px); background: linear-gradient(0deg, rgba(220, 235, 251, .5), rgba(220, 235, 251, 0));
    -webkit-mask-image: linear-gradient(0deg, #000 50%, transparent); mask-image: linear-gradient(0deg, #000 50%, transparent); }
}
/* le givre sous la barre d'état ne servait à rien (Safari garde cette zone pour lui) : retiré */
@media (max-width: 820px) { html[data-theme="epure"] body::before, html[data-theme="epure"] body::after { content: none; } }
html[data-theme="epure"] .gr-r3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* === 1/12 · ÉPURE · fiche d'une commande (ficheCommandeEpure) === */
html[data-theme="epure"] .p-detail:has(.fe) { background: linear-gradient(180deg, #F7FAFF, #EEF5FE) !important; border: 1px solid #fff !important; border-radius: 28px; padding: 22px 20px 20px; box-shadow: 0 30px 70px -28px rgba(20, 70, 150, .45) !important; }
.fe { display: grid; gap: 16px; color: var(--texte); }
.fe-tete { position: relative; display: grid; gap: 8px; padding-right: 40px; }
.fe-fermer { position: absolute; top: 0; right: 0; z-index: 2; display: grid; place-items: center; line-height: 1; padding: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--texte-2); background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: 0 6px 14px -8px rgba(20, 70, 150, .45); }
.fe-pastille { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.fe-pastille i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fe .t-vert { color: #1B7F4E; background: rgba(34, 163, 100, .12); } .fe .t-rouge { color: #C2412D; background: rgba(228, 103, 90, .12); }
.fe .t-b1 { color: #3F74C2; background: rgba(169, 205, 247, .35); } .fe .t-b2 { color: #2F6FD0; background: rgba(99, 162, 242, .18); } .fe .t-b3 { color: #2E6BF0; background: rgba(46, 107, 240, .12); }
.fe-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fe-titre h2 { margin: 0; font-size: 34px; font-weight: 500; letter-spacing: -.035em; } .fe-titre b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.fe-tete p { margin: 0; font-size: 13.5px; color: var(--texte-2); }
.fe-trajet { list-style: none; margin: 0; padding: 14px 12px 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px solid #fff; }
.fe-trajet li { position: relative; display: grid; justify-items: center; gap: 7px; text-align: center; font-size: 11.5px; line-height: 1.25; color: var(--texte-3); }
.fe-trajet li + li::before { content: ''; position: absolute; top: 5px; right: calc(50% + 9px); left: calc(-50% + 9px); height: 2px; border-radius: 2px; background: rgba(46, 107, 240, .12); }
.fe-trajet i { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid rgba(46, 107, 240, .25); position: relative; z-index: 1; }
.fe-trajet .e1 { --c: #A9CDF7; } .fe-trajet .e2 { --c: #63A2F2; } .fe-trajet .e3 { --c: #2E6BF0; } .fe-trajet .e4 { --c: #22A364; }
.fe-trajet li.fait i, .fe-trajet li.ici i { background: var(--c); border-color: var(--c); } .fe-trajet li.fait + li::before, .fe-trajet li.ici::before { background: var(--c); }
.fe-trajet li.ici { color: var(--texte); font-weight: 600; } .fe-trajet li.ici i { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 25%, transparent); }
.fe-trajet.livre li i { background: #22A364; border-color: #22A364; } .fe-trajet.livre li + li::before { background: #22A364; } .fe-trajet.livre li.ici { color: #1B7F4E; }
.fe-etat { display: grid; gap: 3px; padding: 13px 16px; border-radius: 18px; font-size: 14px; }
.fe-etat b { font-weight: 600; } .fe-etat span { font-size: 13px; opacity: .85; }
.fe-etat.t-vert { border: 1px solid rgba(34, 163, 100, .25); } .fe-etat.t-rouge { border: 1px solid rgba(228, 103, 90, .3); }
.fe-bloc { padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 10px 24px -18px rgba(20, 70, 150, .4); }
.fe-bloc h3 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gl-b3, #2E6BF0); }
.fe-art { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.fe-art + .fe-art { border-top: 1px solid rgba(46, 107, 240, .08); padding-top: 10px; }
.fe-art img, .fe-art .vign { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 8px 16px -10px rgba(20, 70, 150, .55); background: #fff; }
.fe-art span { flex: 1; min-width: 0; display: grid; gap: 3px; } .fe-art b { font-size: 14px; font-weight: 500; line-height: 1.3; } .fe-art small { font-size: 12px; color: var(--texte-3); }
.fe-art em { font-style: normal; font-size: 14px; font-weight: 500; }
.fe .releve .rl { padding: 7px 0; font-size: 14px; } .fe .releve .rl.net > b { color: #1B7F4E; font-size: 17px; }
.fe-num { display: flex; align-items: center; gap: 12px; } .fe-num span { flex: 1; min-width: 0; display: grid; gap: 2px; } .fe-num b { font-size: 14px; font-weight: 500; } .fe-num small { font-size: 12.5px; color: var(--texte-2); }
.fe-copier { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; color: var(--gl-b3, #2E6BF0); background: rgba(46, 107, 240, .08); border: 0; }
.fe-lien { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--gl-b3, #2E6BF0); }
.fe-actions { display: grid; gap: 10px; }
.fe-btn { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--texte); text-decoration: none; background: rgba(255, 255, 255, .9); border: 1px solid #fff; box-shadow: 0 8px 18px -12px rgba(20, 70, 150, .45); }
.fe-btn.prim { color: #fff; border-color: transparent; background: linear-gradient(180deg, #4A84F6, #2A62E6); box-shadow: 0 12px 24px -12px rgba(42, 98, 230, .8); }
.fe-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 820px) {
  html[data-theme="epure"] body .p-detail:has(.fe) { top: calc(12px + env(safe-area-inset-top)) !important; max-height: none !important; bottom: calc(92px + env(safe-area-inset-bottom)) !important; padding: 18px 16px 16px; }
  .fe-titre h2 { font-size: 30px; }
}
/* Suivi : « livré » en vert (étape, mini-trajet, encart du suivi) */
html[data-theme="epure"] .pcd-etapes li:nth-child(4) { --et: #22A364; --et-t: #1B7F4E; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-l.t-l-vert .pc-mini i { background: #22A364 !important; }
html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-vert { color: #1B7F4E !important; } html[data-theme="epure"] body[data-ecran="colis"] .pc-sect.t-vert::before { background: #22A364; }
html[data-theme="epure"] .page .bg-vert { background: #22A364 !important; }

/* === 1/12 · ÉPURE · le brief du jour en blocs de verre === */
html[data-theme="epure"] .aide-brief { background: rgba(20, 50, 100, .28); }
html[data-theme="epure"] .aide-boite.brief.bf { position: relative; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; display: grid; gap: 14px; padding: 22px 20px 20px; border-radius: 30px; color: var(--texte);
  background: linear-gradient(180deg, #F7FAFF, #EAF2FD); border: 1px solid #fff; box-shadow: 0 40px 90px -30px rgba(15, 50, 110, .55); }
.bf-tete { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.bf-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 600; color: #fff; background: linear-gradient(180deg, #5C94F5, #2A62E6); box-shadow: 0 8px 18px -8px rgba(42, 98, 230, .8); }
.bf-tete small { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #2E6BF0; }
html[data-theme="epure"] .bf-tete h2 { margin: 2px 0 0; font-family: inherit; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.bf-tuiles { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.bf-t { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 20px; text-align: left; font: inherit; color: var(--texte); background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 10px 22px -16px rgba(20, 70, 150, .45); }
.bf-t small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2E6BF0; }
.bf-t b { font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.bf-t span { font-size: 12px; color: var(--texte-2); line-height: 1.4; display: grid; gap: 3px; }
.bf-t em { font-style: normal; font-weight: 600; } .bf-t em.haut { color: #1B7F4E; } .bf-t em.bas { color: #C2412D; }
.bf-t.profond { color: #fff; background: radial-gradient(120% 90% at 0% 0%, #2E6BF0 0%, #123E8F 50%, #0B2A5B 100%); border-color: rgba(160, 200, 255, .35); }
.bf-t.profond small { color: rgba(220, 235, 255, .8); } .bf-t.profond span { color: rgba(220, 235, 255, .85); } .bf-t.profond em.haut { color: #9FE3BE; } .bf-t.profond em.bas { color: #FFB4A8; }
.bf-bloc { padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; }
.bf-bloc h3 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #2E6BF0; }
.bf-bloc p { margin: 0; padding: 6px 0; font-size: 14.5px; line-height: 1.5; color: var(--texte-2); } .bf-bloc p + p { border-top: 1px solid rgba(46, 107, 240, .08); } .bf-bloc p b { color: var(--texte); font-weight: 600; }
.bf-dec { display: flex; align-items: center; gap: 12px; padding: 8px 0; } .bf-dec + .bf-dec { border-top: 1px solid rgba(46, 107, 240, .08); }
.bf-dec .vign, .bf-dec img, .bf-dec .logo-t { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.bf-dec span { flex: 1; min-width: 0; display: grid; gap: 2px; } .bf-dec b { font-size: 14px; font-weight: 500; } .bf-dec small { font-size: 12px; color: var(--texte-3); }
.bf-btn { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; border: 0; background: linear-gradient(180deg, #4A84F6, #2A62E6); }
.bf-pied { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 820px) {
  html[data-theme="epure"] .aide.aide-brief { display: grid !important; align-items: end; padding: 0; }
  html[data-theme="epure"] .aide-boite.brief.bf { width: 100%; max-height: calc(100dvh - env(safe-area-inset-top) - 16px); border-radius: 28px 28px 0 0; padding: 20px 16px calc(18px + env(safe-area-inset-bottom)); }
  .bf-tuiles { grid-template-columns: 1fr 1fr; } .bf-t.profond { grid-column: 1 / -1; } .bf-t b { font-size: 24px; }
  html[data-theme="epure"] .bf-tete h2 { font-size: 20px; }
}

/* === 1/12 · ÉPURE · SAV dans la DA (cartes de verre, pastilles, blocs du dossier) === */
html[data-theme="epure"] body[data-ecran="clients"] .sv-col, html[data-theme="epure"] body[data-ecran="clients"] .sv-dossier { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-filtres { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid #fff; box-shadow: 0 12px 28px -18px rgba(20, 70, 150, .5); overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-filtres::-webkit-scrollbar { display: none; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-filtres button { flex: none; padding: 8px 14px; border-radius: 999px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 13.5px; color: var(--texte-2); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-filtres button.actif { color: #fff !important; background: linear-gradient(180deg, #4A84F6, #2A62E6) !important; box-shadow: 0 6px 14px -8px rgba(42, 98, 230, .8) !important; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-filtres button.actif * { color: rgba(255, 255, 255, .85) !important; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-sect { display: flex; align-items: center; gap: 8px; margin: 16px 4px 10px; border: 0; font-size: 11px; color: var(--gl-b3); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l { display: flex; gap: 12px; width: 100%; margin: 0 0 10px; padding: 14px; border-radius: 22px; text-align: left; border: 0 !important;
  background: rgba(255, 255, 255, .55) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 10px 24px -18px rgba(20, 70, 150, .45); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l.actif { background: rgba(255, 255, 255, .9) !important; box-shadow: inset 0 0 0 1.5px rgba(46, 107, 240, .45), 0 14px 30px -18px rgba(20, 70, 150, .5); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l.attend { background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(225, 237, 253, .9)) !important; box-shadow: inset 0 0 0 1.5px rgba(46, 107, 240, .35), 0 14px 30px -16px rgba(42, 98, 230, .45); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l::before { display: none; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l .sv-av { width: 44px; height: 44px; font-size: 14px; font-weight: 600; color: #2A62E6; background: linear-gradient(180deg, #fff, #D6E7FC); border: 1px solid #fff; box-shadow: 0 6px 14px -8px rgba(20, 70, 150, .45); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l.attend .sv-av { color: #fff; background: linear-gradient(180deg, #5C94F5, #2A62E6); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l-txt b { font-size: 15px; font-weight: 600; color: var(--texte); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l-txt em { font-size: 13px; color: var(--texte-2); line-height: 1.45; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-l.attend .sv-l-txt b { font-size: 17px; } html[data-theme="epure"] body[data-ecran="clients"] .sv-l.attend .sv-l-txt em { font-size: 14px; color: var(--texte); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-cat { border-radius: 999px; padding: 2px 9px; font-style: normal; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-ok { padding: 12px 14px; border-radius: 18px; background: rgba(34, 163, 100, .1); color: #1B7F4E; border: 1px solid rgba(34, 163, 100, .2); }
/* le dossier */
html[data-theme="epure"] body[data-ecran="clients"] .sv-d-tete { padding: 16px; border-radius: 24px; background: rgba(255, 255, 255, .75); border: 1px solid #fff; box-shadow: 0 10px 24px -18px rgba(20, 70, 150, .45); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-av.grand { color: #fff; background: linear-gradient(180deg, #5C94F5, #2A62E6); border: 0; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-fil { gap: 14px; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-fil > .sv-veut, html[data-theme="epure"] body[data-ecran="clients"] .sv-rep { padding: 16px; border-radius: 24px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 10px 24px -18px rgba(20, 70, 150, .45); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-veut .pg-sur, html[data-theme="epure"] body[data-ecran="clients"] .sv-rep .pg-sur { font-size: 11px; font-weight: 600; letter-spacing: .09em; color: #2E6BF0; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-veut p { font-size: 16.5px; line-height: 1.5; color: var(--texte); font-weight: 450; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-cmd-bloc { border-radius: 22px !important; background: rgba(255, 255, 255, .75) !important; border: 1px solid #fff !important; box-shadow: 0 10px 24px -18px rgba(20, 70, 150, .45); }
html[data-theme="epure"] body[data-ecran="clients"] .sv-cmd-l img, html[data-theme="epure"] body[data-ecran="clients"] .sv-cmd-l .vign { width: 48px; height: 48px; border-radius: 14px; border: 2px solid #fff; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-msg-d summary { font-size: 13.5px; font-weight: 500; color: #2E6BF0; }
html[data-theme="epure"] body[data-ecran="clients"] .cv-b { font-size: 15px !important; line-height: 1.55 !important; }
html[data-theme="epure"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(180deg, #4A84F6, #2A62E6) !important; color: #fff !important; border: 0 !important; }
html[data-theme="epure"] body[data-ecran="clients"] #sv-texte { font-size: 15.5px; line-height: 1.55; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(46, 107, 240, .18); padding: 12px 14px; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-envoi .pg-btn.prim { border-radius: 999px; background: linear-gradient(180deg, #4A84F6, #2A62E6); color: #fff; border: 0; min-height: 48px; }
html[data-theme="epure"] body[data-ecran="clients"] .sv-envoi .pg-btn:not(.prim) { border-radius: 999px; background: #fff; }

/* === 1/12 · ÉPURE · Suivi PC : survol sur toute la carte, actions en ligne, plus de « Shopify ↗ » sur chaque ligne, ligne ouverte en deux cartes === */
@media (min-width: 821px) {
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut:hover { background: none !important; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l:not(.ouvert):hover { background: rgba(255, 255, 255, .72); }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l-rang { gap: 0; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-acts { width: auto; padding: 0 18px 0 6px; display: flex; align-items: center; gap: 8px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-acts .pc-act { width: auto; min-width: 0; height: 36px; padding: 0 18px; font-size: 13px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-act.second:not([data-pc-regle]) { display: none; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-acts:not(:has(.pc-act:not(.second), [data-pc-regle])) { display: none; }
  html[data-theme="epure"] body[data-ecran="colis"] .pc-l-haut { padding-right: 18px !important; }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-g-seul .pcd-suivi-t, html[data-theme="epure"] body[data-ecran="colis"] .pcd-g-seul .pg-doux { margin: 0 0 14px; color: var(--texte-2); font-size: 13.5px; }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12px; padding-top: 14px; border-top: 1px solid rgba(46, 107, 240, .1); }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes li { position: relative; flex-direction: column; gap: 7px; text-align: center; }
  html[data-theme="epure"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes li + li::before { position: absolute; top: 4px; left: calc(-50% + 10px); right: calc(50% + 10px); width: auto; margin: 0; }
}

/* === 2/12 · CORAIL : mêmes refontes que ÉPURE (Résultats, fiche commande, brief, Suivi, SAV) aux couleurs corail — généré depuis les règles ÉPURE (bleus → corail) === */
html[data-theme="atelier"] { --gl-b0: #D9C7BC; --gl-b1: #F6C3AE; --gl-b2: #EE9572; --gl-b3: #E4572E; --gl-b4: #8E2C12; --gl-alerte: #C8372D; --gl-nuit: #3B2016; }
html[data-theme="atelier"] .gr-b { background: var(--gl-b3); }
html[data-theme="atelier"] .gr-p { background: rgba(255, 255, 255, .7); border-color: var(--trait); }
html[data-theme="atelier"] .gl-c { background: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46)); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(235, 160, 120, .25), 0 26px 60px -30px rgba(120, 55, 25, .38); }
html[data-theme="atelier"] .gl { max-width: 1400px; margin: 0 auto; color: var(--texte); display: grid; gap: 16px; }
html[data-theme="atelier"] .gl-c { border-radius: 28px; padding: 22px 24px; min-width: 0; text-align: left; position: relative; overflow: hidden; isolation: isolate; }
html[data-theme="atelier"] .gl-c::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .75), transparent 45%); }
html[data-theme="atelier"] .gl-c:hover::after { opacity: 1; }
html[data-theme="atelier"] .gl-c::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent); }
html[data-theme="atelier"] .gl-c-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
html[data-theme="atelier"] .gl-c-tete h2 { margin: 0; font-size: 15.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
html[data-theme="atelier"] .gl-c-tete h2 .num { color: var(--texte-3); font-weight: 400; }
html[data-theme="atelier"] .gl-lien { font-size: 13px; color: var(--texte-2); display: inline-flex; align-items: center; gap: 8px; }
html[data-theme="atelier"] button.gl-lien:hover { color: var(--gl-b3); }
html[data-theme="atelier"] .gl-lien b { color: var(--texte); font-weight: 500; }
html[data-theme="atelier"] .gl-btn { position: relative; flex: none; padding: 10px 16px; border-radius: 999px; background: linear-gradient(180deg, #F07A52, #D9481F); color: #fff; font-size: 13px; font-weight: 500; font-style: normal; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(228, 87, 46, .7); transition: transform .15s, box-shadow .2s; }
html[data-theme="atelier"] .gl-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -8px rgba(228, 87, 46, .85); }
html[data-theme="atelier"] .gl-btn.clair { background: rgba(255, 255, 255, .8); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 8px 20px -10px rgba(120, 55, 25, .4); }
html[data-theme="atelier"] .gl-vide { margin: 6px 0; font-size: 14px; color: var(--texte-2); }
html[data-theme="atelier"] .gl.entre > *, html[data-theme="atelier"] .gl.entre > div > * { animation: glDegel 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--e, 0) * 90ms); }
html[data-theme="atelier"] .gl-cal { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 0; background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: 0 12px 28px -14px rgba(120, 55, 25, .5); }
html[data-theme="atelier"] .gl-cal small { font-size: 10.5px; font-weight: 600; color: var(--gl-b3); text-transform: uppercase; letter-spacing: .08em; }
html[data-theme="atelier"] .gl-cal b { font-size: 26px; font-weight: 500; line-height: 1; }
html[data-theme="atelier"] .gl-heures { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; height: 150px; margin-top: auto; padding-top: 22px; }
html[data-theme="atelier"] .gl-heures-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--texte-3); }
html[data-theme="atelier"] .gl-c.gl-profond { color: #fff; background: radial-gradient(120% 90% at 0% 0%, #E4572E 0%, #A33A18 45%, #3B2016 100%); border-color: rgba(250, 190, 165, .35); box-shadow: inset 0 1px 0 rgba(255, 210, 190, .55), 0 30px 60px -28px rgba(59, 32, 22, .7); }
html[data-theme="atelier"] .gl-profond .gl-lien { color: rgba(255, 232, 220, .75); }
html[data-theme="atelier"] .gl-profond button.gl-lien:hover { color: #fff; }
html[data-theme="atelier"] .gl-geant { display: block; font-size: 64px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
html[data-theme="atelier"] .gl-sous { margin: 8px 0 14px; font-size: 13px; color: rgba(255, 232, 220, .8); }
html[data-theme="atelier"] .gl-profond .releve .rl { padding: 6px 0; font-size: 13px; color: rgba(255, 232, 220, .8); }
html[data-theme="atelier"] .gl-profond .rl > b, html[data-theme="atelier"] .gl-profond .rl.moins > b { color: #fff; }
html[data-theme="atelier"] .gl-profond .rl > i { border-bottom-color: rgba(255, 232, 220, .3); }
html[data-theme="atelier"] .gl-profond .rl.net { border-top-color: rgba(255, 232, 220, .3); }
html[data-theme="atelier"] .gl-profond .rl.net > span { color: #fff; }
html[data-theme="atelier"] .gl-profond .rl.net > b { color: #fff; font-size: 20px; }
html[data-theme="atelier"] .gl-cl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; margin-bottom: 6px; border-radius: 18px; background: rgba(255, 255, 255, .5); text-align: left; }
html[data-theme="atelier"] .gl-cl > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
html[data-theme="atelier"] .gl-cl b { font-size: 14px; font-weight: 500; }
html[data-theme="atelier"] .gl-cl small { font-size: 12.5px; color: var(--texte-2); }
html[data-theme="atelier"] .gl-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; color: var(--gl-b4); background: linear-gradient(180deg, #fff, #FADFD2); border: 1px solid #fff; box-shadow: 0 6px 14px -8px rgba(120, 55, 25, .6); }
html[data-theme="atelier"] .gl-av.veilleur { color: #fff; background: linear-gradient(180deg, #F28A66, #D9481F); }
html[data-theme="atelier"] .gl-av.sav { color: #fff; background: linear-gradient(180deg, #D9481F, #8E2C12); }
html[data-theme="atelier"] .gl-av.brief { color: #fff; background: linear-gradient(180deg, #F4B095, #EC7C55); }
@media (max-width: 820px) {
  html[data-theme="atelier"] .gl { gap: 12px; }
  html[data-theme="atelier"] .gl-cal { width: 54px; height: 54px; border-radius: 16px; }
  html[data-theme="atelier"] .gl-cal b { font-size: 22px; }
  html[data-theme="atelier"] .gl-c { padding: 18px 16px; border-radius: 24px; }
  html[data-theme="atelier"] .gl-geant { font-size: 50px; }
  html[data-theme="atelier"] .gl-heures { gap: 3px; height: 120px; }
}
html[data-theme="atelier"] .gl-cal-z { position: relative; }
html[data-theme="atelier"] .gl-cal { cursor: pointer; transition: transform .2s, box-shadow .2s; }
html[data-theme="atelier"] .gl-cal:hover { transform: translateY(-2px); }
html[data-theme="atelier"] .gl-cal.choisi { background: linear-gradient(180deg, #F07A52, #D9481F); border-color: rgba(255, 255, 255, .6); }
html[data-theme="atelier"] .gl-cal.choisi small, html[data-theme="atelier"] .gl-cal.choisi b { color: #fff; }
html[data-theme="atelier"] .gl-calr { width: 100%; margin-top: 10px; text-align: center; }
html[data-theme="atelier"] .gl-heures { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; height: 210px; padding-top: 18px; }
html[data-theme="atelier"] .gl-heures > button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
html[data-theme="atelier"] .gl-heures em { font-style: normal; font-size: 11px; color: var(--texte-2); white-space: nowrap; min-height: 14px; }
html[data-theme="atelier"] .gl-heures small { font-size: 11px; color: var(--texte-3); }
html[data-theme="atelier"] .gl-col { position: relative; flex: 1; width: 100%; max-width: 40px; }
html[data-theme="atelier"] .gl-col i { position: absolute; left: 0; right: 0; bottom: 0; display: block; border-radius: 12px; transition: transform .2s; }
html[data-theme="atelier"] .gl-col i.h { background: rgba(255, 255, 255, .55); border: 1px dashed rgba(228, 87, 46, .35); }
html[data-theme="atelier"] .gl-col i.a { left: 4px; right: 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(246, 195, 174, .9)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 22px -12px rgba(228, 87, 46, .6); }
html[data-theme="atelier"] .gl-heures .ici i.a { background: linear-gradient(180deg, #F28A66, #D9481F); border-color: rgba(255, 255, 255, .5); }
html[data-theme="atelier"] .gl-heures .ici small { color: var(--gl-b3); font-weight: 600; }
html[data-theme="atelier"] .gl-heures .futur { opacity: .4; }
html[data-theme="atelier"] .gl-heures > button:hover i.a { transform: translateY(-3px); }
html[data-theme="atelier"] .gl-leg { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--texte-3); }
html[data-theme="atelier"] .gl-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
html[data-theme="atelier"] .gl-leg i.a { background: #F6C3AE; }
html[data-theme="atelier"] .gl-leg i.h { margin-left: 10px; border: 1px dashed rgba(228, 87, 46, .5); background: #fff; }
html[data-theme="atelier"] .gl-comp { margin: 10px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; color: rgba(255, 232, 220, .8); }
html[data-theme="atelier"] .gl-comp b { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
html[data-theme="atelier"] .gl-comp.haut b { color: #9BEBC8; }
html[data-theme="atelier"] .gl-comp.bas b { color: #FFB7A6; }
html[data-theme="atelier"] .gl-clients { display: flex; flex-direction: column; }
html[data-theme="atelier"] .gl-an { display: flex; align-items: center; gap: 20px; }
html[data-theme="atelier"] .gl-an svg { width: 160px; height: 160px; flex: none; filter: drop-shadow(0 12px 18px rgba(120, 55, 25, .18)); }
html[data-theme="atelier"] .gl-an svg circle { transition: stroke-width .2s; }
html[data-theme="atelier"] .gl-an svg circle:hover { stroke-width: 22; }
html[data-theme="atelier"] .gl-an-v { font: 500 19px 'Geist', system-ui, sans-serif; fill: var(--texte); letter-spacing: -.02em; }
html[data-theme="atelier"] .gl-an-l { font: 400 10.5px 'Geist', system-ui, sans-serif; fill: var(--texte-3); }
html[data-theme="atelier"] .gl-an ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; gap: 7px; }
html[data-theme="atelier"] .gl-an li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--texte-2); }
html[data-theme="atelier"] .gl-an li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
html[data-theme="atelier"] .gl-an li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="atelier"] .gl-an li b { font-weight: 500; color: var(--texte); }
@media (max-width: 820px) {
  html[data-theme="atelier"] .gl-heures { gap: 4px; height: 160px; }
  html[data-theme="atelier"] .gl-heures em { display: none; }
  html[data-theme="atelier"] .gl-heures small { font-size: 9.5px; }
  html[data-theme="atelier"] .gl-col i { border-radius: 7px; }
  html[data-theme="atelier"] .gl-col i.a { left: 2px; right: 2px; }
  html[data-theme="atelier"] .gl-an svg { width: 150px; height: 150px; }
  html[data-theme="atelier"] .gl-an { flex-direction: column; align-items: stretch; gap: 16px; }
  html[data-theme="atelier"] .gl-an svg { align-self: center; }
  html[data-theme="atelier"] .gl-an li { font-size: 13.5px; }
}
html[data-theme="atelier"] .page .pc-sect, html[data-theme="atelier"] .page .sv-sect { font-weight: 600; letter-spacing: .1em; }
html[data-theme="atelier"] .page .pg-btn.prim, html[data-theme="atelier"] .page .pc-act:not(.ok):not(.second) { border-radius: 999px; border-color: transparent; background: linear-gradient(180deg, #F07A52, #D9481F); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px rgba(228, 87, 46, .75); transition: transform .2s, box-shadow .2s; }
html[data-theme="atelier"] .page .pg-btn.prim:hover, html[data-theme="atelier"] .page .pc-act:not(.ok):not(.second):hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 24px -8px rgba(228, 87, 46, .85); }
html[data-theme="atelier"] .page .pg-btn:not(.prim), html[data-theme="atelier"] .page .pc-act.second, html[data-theme="atelier"] .page .pc-act.ok { border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 6px 16px -10px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] .page .pc-act.ok { color: var(--vert); }
html[data-theme="atelier"] .page .pc-rep { border-radius: 24px; background: linear-gradient(165deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .45)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 18px 40px -26px rgba(120, 55, 25, .4); }
html[data-theme="atelier"] .page .pc-kpi { border-radius: 18px; background: linear-gradient(180deg, rgba(253, 236, 227, .95), rgba(250, 220, 205, .8)); border: 1px solid rgba(228, 87, 46, .18); box-shadow: inset 0 1px 0 #fff; }
html[data-theme="atelier"] .page .pc-kpi b, html[data-theme="atelier"] .page .pc-kpi .num { color: var(--texte); }
html[data-theme="atelier"] .page .pc-barre > *, html[data-theme="atelier"] .page .pc-rep-l i { border-radius: 999px; }
html[data-theme="atelier"] .page .bg-rouge { background: var(--gl-alerte) !important; }
html[data-theme="atelier"] .page .bg-ambre { background: #F6C3AE !important; }
html[data-theme="atelier"] .page .bg-bleu { background: #EE9572 !important; }
html[data-theme="atelier"] .page .bg-cyan { background: #E4572E !important; }
html[data-theme="atelier"] .page .bg-vert { background: #8E2C12 !important; }
html[data-theme="atelier"] .page .bg-gris { background: #D9C7BC !important; }
html[data-theme="atelier"] .page .pc-sect.t-ambre { color: #EC8058; }
html[data-theme="atelier"] .page .pc-sect.t-bleu { color: #E4572E; }
html[data-theme="atelier"] .page .pc-sect.t-cyan { color: #B83A16; }
html[data-theme="atelier"] .page .pc-sect.t-vert { color: #8E2C12; }
html[data-theme="atelier"] .page .pc-l-rang .t-l-ambre, html[data-theme="atelier"] .page .pc-l-rang i.t-l-ambre { background: #F6C3AE; }
html[data-theme="atelier"] .page .pc-outils { background: transparent; padding-top: 10px; padding-bottom: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 0; }
html[data-theme="atelier"] .page .pc-rech { border-radius: 999px; min-height: 48px; padding-left: 18px; background: rgba(255, 255, 255, .78); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 14px 30px -18px rgba(120, 55, 25, .5); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: box-shadow .2s; }
html[data-theme="atelier"] .page .pc-rech:focus-within { box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(228, 87, 46, .22), 0 14px 30px -18px rgba(120, 55, 25, .5); }
html[data-theme="atelier"] .page .pc-rech svg { color: var(--gl-b3); }
html[data-theme="atelier"] .page .sv-filtres button, html[data-theme="atelier"] .page .pc-tous { border-radius: 999px; }
html[data-theme="atelier"] .page .sv-filtres button.actif { color: var(--gl-b3); }
html[data-theme="atelier"] .page .sv-filtres button.actif { background: rgba(255, 255, 255, .9); border-color: rgba(228, 87, 46, .35); box-shadow: 0 6px 14px -8px rgba(228, 87, 46, .6); }
html[data-theme="atelier"] .page .tm-champ .pg-btn { border-radius: 999px; }
html[data-theme="atelier"] .gl-sous-t { margin: 14px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3); }
html[data-theme="atelier"] .gl-cl.regle { opacity: .85; }
html[data-theme="atelier"] .gl-coche { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--vert); background: rgba(47, 196, 141, .14); flex: none; }
html[data-theme="atelier"] .gl-col i.a { background: linear-gradient(180deg, #F4AC90, #EE7A52); border-color: rgba(255, 255, 255, .7); box-shadow: 0 10px 22px -12px rgba(228, 87, 46, .75); }
html[data-theme="atelier"] .gl-heures .ici i.a { background: linear-gradient(180deg, #E86440, #C8431E); }
html[data-theme="atelier"] .gl-col i.h { background: rgba(228, 87, 46, .1); border: 1.5px dashed rgba(228, 87, 46, .55); }
html[data-theme="atelier"] .gl-heures .futur { opacity: .8; }
html[data-theme="atelier"] .gl-heures em { color: var(--texte); font-weight: 500; }
html[data-theme="atelier"] .gl-heures small { color: var(--texte-2); }
html[data-theme="atelier"] .gl-leg i.a { background: #EE8A63; }
html[data-theme="atelier"] .gl-leg i.h { background: rgba(228, 87, 46, .1); border-color: rgba(228, 87, 46, .55); }
html[data-theme="atelier"] .gl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; align-items: stretch; }
html[data-theme="atelier"] .gl-colA, html[data-theme="atelier"] .gl-colB, html[data-theme="atelier"] .gl-colC { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
html[data-theme="atelier"] .gl-cols .gl-c { flex: none; }
html[data-theme="atelier"] .gl-cols .gl-colA > :last-child, html[data-theme="atelier"] .gl-cols .gl-colB > :last-child, html[data-theme="atelier"] .gl-cols .gl-colC > :last-child { flex: 1 0 auto; }
html[data-theme="atelier"] .gl-cols .gl-sem { height: 150px; }
html[data-theme="atelier"] .gl-cols .gl-sem i { border-radius: 10px; }
html[data-theme="atelier"] .gl-cols .gl-an { gap: 16px; }
html[data-theme="atelier"] .gl-cols .gl-an svg { width: 140px; height: 140px; }
html[data-theme="atelier"] .gl-cols .gl-an li b { flex: none; }
html[data-theme="atelier"] .gl-cols .gl-an ul { min-width: 0; }
html[data-theme="atelier"] .gl-cols .gl-clients { justify-content: flex-start; }
@media (max-width: 1360px) and (min-width: 1081px) {
  html[data-theme="atelier"] .gl-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  html[data-theme="atelier"] .gl-colA, html[data-theme="atelier"] .gl-colB, html[data-theme="atelier"] .gl-colC { gap: 14px; }
  html[data-theme="atelier"] .gl-cols .gl-an { flex-direction: column; align-items: stretch; gap: 14px; }
  html[data-theme="atelier"] .gl-cols .gl-an svg { align-self: center; width: 140px; height: 140px; }
  html[data-theme="atelier"] .gl-cols .gl-geant { font-size: 56px; }
}
@media (max-width: 1080px) and (min-width: 821px) {
  html[data-theme="atelier"] .gl-cols { grid-template-columns: 1fr 1fr; }
  html[data-theme="atelier"] .gl-colC { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
}
html[data-theme="atelier"] .cal.feuille { border-radius: 22px 22px 0 0; }
html[data-theme="atelier"] .gl-cal b.plage { font-size: 16px; letter-spacing: -.02em; }
html[data-theme="atelier"] .gl-cal { perspective: 300px; }
html[data-theme="atelier"] .gl-cal.flip small, html[data-theme="atelier"] .gl-cal.flip b { display: block; transform-origin: 50% 0; animation: glFlip .5s cubic-bezier(.2, .8, .2, 1) both; }
html[data-theme="atelier"] .gl-cal.flip small { animation-delay: .05s; }
html[data-theme="atelier"] .gl-heures.gl-jours { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(2px, calc(40px / var(--n)), 8px); }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="atelier"] .gl-cal.flip b, html[data-theme="atelier"] .gl-cal.flip small { animation: none; }
}
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.sv-col, .sv-dossier, .pc-rep, .pc-liste) { position: relative; border: 1px solid rgba(255, 255, 255, .85); border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46));
  -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(235, 160, 120, .25), 0 26px 60px -30px rgba(120, 55, 25, .38); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-col { padding: 16px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rep { padding: 22px 24px 14px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-liste { padding: 8px 24px 12px; }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete p { font-size: 14px; color: var(--texte-2); }
html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.pc-rep-tete > b, .sv-d-tete h2) { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 19px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-veut p { font-size: 15px; line-height: 1.55; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l { border-radius: 18px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.actif { background: rgba(255, 255, 255, .92); border-color: rgba(228, 87, 46, .3); box-shadow: 0 8px 22px -12px rgba(150, 60, 25, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] :is(.sv-cmd-bloc, .sv-colis) { background: rgba(255, 255, 255, .6); border-color: #fff; border-radius: 20px; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv { gap: 14px; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m { max-width: min(78%, 620px); }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-b { padding: 11px 15px; font-size: 14px; line-height: 1.55; border-radius: 20px; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.cli .cv-b { background: rgba(255, 255, 255, .9); border: 1px solid #fff; border-bottom-left-radius: 6px; color: var(--texte); box-shadow: 0 6px 16px -10px rgba(var(--encre), .25); }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-b { border: 0; border-bottom-right-radius: 6px; color: #fff; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(180deg, #F07A52, #D9481F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(228, 87, 46, .7); }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-b a { color: #fff; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-b.long::after { background: linear-gradient(transparent, rgba(var(--acc), 1)); }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-plus { color: #fff; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m small { font-size: 11.5px; color: var(--texte-3); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-rep { margin-left: auto; width: min(100%, 680px); border-radius: 20px; border-bottom-right-radius: 6px; background: rgba(255, 255, 255, .82); border: 1.5px dashed rgba(var(--acc), .45); box-shadow: 0 10px 26px -16px rgba(var(--acc), .55); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-rep:focus-within { border-style: solid; border-color: rgba(var(--acc), .7); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-rep textarea { font-size: 14px; line-height: 1.6; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-envoi { justify-content: flex-end; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l.ouvert .pc-acts:not(:has(.pc-act:not(.second))) { display: none; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l.ouvert { background: rgba(255, 255, 255, .55); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-detail { padding: 4px 12px 14px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pcd { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
html[data-theme="atelier"] body[data-ecran="colis"] :is(.pcd-g, .pcd-d) { background: rgba(255, 255, 255, .78); border: 1px solid #fff; border-radius: 18px; display: flex; flex-direction: column; }
html[data-theme="atelier"] body[data-ecran="colis"] .pcd-actions { margin-top: auto; padding-top: 12px; }
@media (max-width: 1100px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd { grid-template-columns: minmax(0, 1fr); }
}
html[data-theme="atelier"] body[data-ecran="colis"] .pc-outils { position: sticky; top: 0; z-index: 3; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 12px 0; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech { height: 50px; min-height: 50px; border-radius: 999px; padding: 0 20px; gap: 12px;
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech input { font-size: 15px; font-family: inherit; -webkit-appearance: none; appearance: none; background: transparent; border: 0; box-shadow: none; outline: 0; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech input::-webkit-search-cancel-button { -webkit-appearance: none; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech { background: linear-gradient(165deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8)); border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 18px 36px -22px rgba(120, 55, 25, .5); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech:focus-within { background: rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(228, 87, 46, .2), 0 18px 36px -22px rgba(120, 55, 25, .5); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech svg { stroke: #E4572E; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-rech input::placeholder { color: #A8968A; }
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="clients"] .sv-dossier { padding: 0; }
  html[data-theme="atelier"] body[data-ecran="clients"] .sv-d-tete { padding: 16px 16px 12px; }
  html[data-theme="atelier"] body[data-ecran="clients"] .sv-fil { padding: 14px 14px 18px; }
  html[data-theme="atelier"] body[data-ecran="clients"] .cv-m { max-width: 86%; }
  html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 34px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-liste { padding: 4px 12px 8px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-rep { padding: 16px 16px 10px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-detail { padding: 2px 8px 12px; }
}
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l:not(.attend) { opacity: .78; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l:not(.attend) .sv-av { filter: none; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l:not(.attend):is(.actif, :hover) { opacity: 1; }
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="clients"] .sv-fil > .sv-veut { padding: 14px 16px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .85);
    background: linear-gradient(165deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46)); -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 26px 60px -30px rgba(120, 55, 25, .38); }
}
html[data-theme="atelier"] .gl.entre > *, html[data-theme="atelier"] .gl.entre > div > * { animation: none; }
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-outils { margin-left: 0; margin-right: 0; }
}
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 11.5px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-etapes li { position: relative; flex-direction: column; gap: 6px; text-align: center; line-height: 1.25; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-etapes li + li::before { position: absolute; top: 4px; left: calc(-50% + 9px); right: calc(50% + 9px); width: auto; margin: 0; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-etapes i { flex: none; }
}
html[data-theme="atelier"] body[data-ecran="colis"] .pc-outils.colle { background: rgba(250, 240, 232, .92); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 -24px 0 0 rgba(250, 240, 232, .92), 0 10px 18px -14px rgba(36, 23, 15, .3); }
html[data-theme="atelier"] .p-detail { background: #FFFBF8 !important; opacity: 1 !important; border: 1px solid rgba(120, 55, 25, .12); box-shadow: 0 24px 60px -24px rgba(120, 55, 25, .35); }
@media (max-width: 820px) {
  html[data-theme="atelier"] .gl-heures:not(.gl-jours) { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; height: 170px; padding-top: 10px; }
  html[data-theme="atelier"] .gl-heures:not(.gl-jours) .gl-col { max-width: none; }
  html[data-theme="atelier"] .gl-heures:not(.gl-jours) small { font-size: 10.5px; min-height: 13px; }
  html[data-theme="atelier"] .gl-heures:not(.gl-jours) .gl-col i { border-radius: 9px; }
  html[data-theme="atelier"] .gl-heures:not(.gl-jours) .gl-col i.a { left: 3px; right: 3px; }
}
@media (min-width: 1280px) {
  html[data-theme="atelier"] body[data-ecran="clients"] .cv-m { max-width: min(72%, 860px); }
}
html[data-theme="atelier"] .gr { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px; }
html[data-theme="atelier"] .gr-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 4px 4px 2px; }
html[data-theme="atelier"] .gr-sur { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="atelier"] .gr-titre { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
html[data-theme="atelier"] .gr-titre h1 { margin: 0; font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--texte); }
html[data-theme="atelier"] .gr-fl { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--gl-b3); background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 8px 18px -12px rgba(120, 55, 25, .5); flex: none; }
html[data-theme="atelier"] .gr-fl:disabled { opacity: .35; }
html[data-theme="atelier"] .gr-dates { margin: 6px 0 0; font-size: 13.5px; color: var(--texte-2); }
html[data-theme="atelier"] .gr-ong { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid #fff; box-shadow: 0 12px 28px -18px rgba(120, 55, 25, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
html[data-theme="atelier"] .gr-ong::-webkit-scrollbar { display: none; }
html[data-theme="atelier"] .gr-ong button { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--texte-2); white-space: nowrap; border: 0; background: none; }
html[data-theme="atelier"] .gr-ong button.actif { color: #fff; background: linear-gradient(180deg, #F07A52, #D9481F); box-shadow: 0 6px 14px -8px rgba(217, 72, 31, .8); }
html[data-theme="atelier"] .gr-r1 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
html[data-theme="atelier"] .gr-hero .gl-geant { display: block; margin-top: 4px; }
html[data-theme="atelier"] .gr-part { font-size: 12.5px; color: rgba(255, 232, 220, .75); }
html[data-theme="atelier"] .gr-rep { margin-top: 18px; }
html[data-theme="atelier"] .gr-rep-b { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; background: rgba(255, 255, 255, .1); }
html[data-theme="atelier"] .gr-rep-b i { display: block; height: 100%; }
html[data-theme="atelier"] .gr-rep i.r-f { background: #F2A285; }
html[data-theme="atelier"] .gr-rep i.r-r { background: #F6D5C6; }
html[data-theme="atelier"] .gr-rep i.r-p { background: #F2C46B; }
html[data-theme="atelier"] .gr-rep i.r-n { background: #7BE0A9; }
html[data-theme="atelier"] .gr-rep ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
html[data-theme="atelier"] .gr-rep li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 232, 220, .85); }
html[data-theme="atelier"] .gr-rep li i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
html[data-theme="atelier"] .gr-rep li span { flex: 1; min-width: 0; }
html[data-theme="atelier"] .gr-rep li b { color: #fff; font-weight: 500; }
html[data-theme="atelier"] .gr-rep li em { font-style: normal; font-size: 11.5px; color: rgba(255, 232, 220, .6); min-width: 34px; text-align: right; }
html[data-theme="atelier"] .gr-perte { margin: 12px 0 0; font-size: 13px; color: #FFB4A8; }
html[data-theme="atelier"] .gr-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
html[data-theme="atelier"] .gr-k { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 18px 20px; }
html[data-theme="atelier"] .gr-k small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="atelier"] .gr-k > b { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; color: var(--texte); }
html[data-theme="atelier"] .gr-k > span { font-size: 12.5px; color: var(--texte-2); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
html[data-theme="atelier"] .gr-k > span i { font-style: normal; color: var(--texte-3); }
html[data-theme="atelier"] .gr em.haut, html[data-theme="atelier"] .gr-k em.haut { font-style: normal; font-weight: 600; color: #1F8A57; }
html[data-theme="atelier"] .gr em.bas { font-style: normal; font-weight: 600; color: #C2412D; }
html[data-theme="atelier"] .gr-graphe .gl-c-tete { flex-wrap: wrap; }
html[data-theme="atelier"] .gr-mets { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(228, 87, 46, .07); }
html[data-theme="atelier"] .gr-mets button { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--texte-2); border: 0; background: none; }
html[data-theme="atelier"] .gr-mets button.actif { background: #fff; color: var(--texte); box-shadow: 0 2px 8px -2px rgba(120, 55, 25, .25); }
html[data-theme="atelier"] .gr-tot { font-size: 13px; color: var(--texte-2); }
html[data-theme="atelier"] .gr-tot b { color: var(--texte); font-weight: 600; }
html[data-theme="atelier"] .gr-barres { height: 240px; position: relative; }
html[data-theme="atelier"] .gr-barres > button { cursor: default; }
html[data-theme="atelier"] .gr-r3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
html[data-theme="atelier"] .gr-r4 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
html[data-theme="atelier"] .gr-retenir ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
html[data-theme="atelier"] .gr-retenir li { position: relative; padding: 10px 12px 10px 30px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--texte-2); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); }
html[data-theme="atelier"] .gr-retenir li::before { content: ''; position: absolute; left: 13px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(180deg, #F28A66, #D9481F); }
html[data-theme="atelier"] .gr-retenir li b { color: var(--texte); font-weight: 600; }
html[data-theme="atelier"] .gr-releve .rl { padding: 7px 0; font-size: 13.5px; }
html[data-theme="atelier"] .gr-releve .rl.net > b { color: var(--gl-b3); font-size: 17px; }
html[data-theme="atelier"] .gr-note { margin: 10px 0 0; font-size: 12px; color: var(--texte-3); }
html[data-theme="atelier"] .gr-v-haut { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(253, 236, 227, .95), rgba(250, 220, 205, .8)); border: 1px solid rgba(228, 87, 46, .18); }
html[data-theme="atelier"] .gr-v-haut span { display: grid; gap: 2px; }
html[data-theme="atelier"] .gr-v-haut small { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-b3); }
html[data-theme="atelier"] .gr-v-haut b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--texte); }
html[data-theme="atelier"] .gr-v-haut .der { text-align: right; justify-items: end; }
html[data-theme="atelier"] .gr-v-haut .der small { color: var(--texte-3); }
html[data-theme="atelier"] .gr-v-haut .der b { font-size: 16px; color: var(--texte-2); }
html[data-theme="atelier"] .gr-litige { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; color: #B3261E; background: rgba(255, 235, 232, .8); }
html[data-theme="atelier"] .gr-v-l { display: grid; margin-top: 8px; }
html[data-theme="atelier"] .gr-v-l a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 13.5px; color: var(--texte); text-decoration: none; border-bottom: 1px solid rgba(228, 87, 46, .08); }
html[data-theme="atelier"] .gr-v-l a:last-child { border-bottom: 0; }
html[data-theme="atelier"] .gr-v-l a span { flex: 1; }
html[data-theme="atelier"] .gr-v-l a b { font-weight: 500; }
html[data-theme="atelier"] .gr-v-l em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
html[data-theme="atelier"] .gr-v-l .s-v { color: #1F7A4C; background: rgba(47, 138, 91, .1); }
html[data-theme="atelier"] .gr-v-l .s-b { color: #D9481F; background: rgba(228, 87, 46, .1); }
html[data-theme="atelier"] .gr-v-l .s-r { color: #B3261E; background: rgba(194, 65, 45, .1); }
html[data-theme="atelier"] .gr-v-l .s-g { color: var(--texte-3); background: rgba(0, 0, 0, .05); }
html[data-theme="atelier"] .gr-rech { flex: 1; max-width: 320px; min-width: 0; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--texte); background: rgba(255, 255, 255, .75); border: 1px solid #fff; outline: none; }
html[data-theme="atelier"] .gr-rech:focus { border-color: rgba(228, 87, 46, .45); box-shadow: 0 0 0 3px rgba(228, 87, 46, .12); }
html[data-theme="atelier"] .gr-cmd { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border-radius: 14px; text-align: left; border: 0; background: none; color: var(--texte); }
html[data-theme="atelier"] .gr-cmd:hover { background: rgba(255, 255, 255, .6); }
html[data-theme="atelier"] .gr-cmd img, html[data-theme="atelier"] .gr-cmd .vign { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; background: #fff; }
html[data-theme="atelier"] .gr-cmd-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
html[data-theme="atelier"] .gr-cmd-t b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="atelier"] .gr-cmd-t b .num { font-weight: 600; }
html[data-theme="atelier"] .gr-cmd-t b u { text-decoration: none; font-size: 11px; padding: 1px 6px; border-radius: 999px; color: var(--gl-b3); background: rgba(228, 87, 46, .1); }
html[data-theme="atelier"] .gr-cmd-t small { font-size: 12px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="atelier"] .gr-cmd-m { display: grid; justify-items: end; gap: 2px; flex: none; }
html[data-theme="atelier"] .gr-cmd-m b { font-size: 14px; font-weight: 500; }
html[data-theme="atelier"] .gr-cmd-m small { font-size: 11.5px; color: #1F7A4C; }
html[data-theme="atelier"] .gr-cmd.annulee { opacity: .5; }
html[data-theme="atelier"] .gr-cmd.annulee .gr-cmd-m b { text-decoration: line-through; }
html[data-theme="atelier"] .gr-toutes { width: 100%; margin-top: 8px; padding: 11px; border-radius: 999px; font-size: 13.5px; color: var(--gl-b3); background: rgba(255, 255, 255, .7); border: 1px solid #fff; }
html[data-theme="atelier"] .gr-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
html[data-theme="atelier"] .gr-types span { font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--texte-2); background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
html[data-theme="atelier"] .gr-types b { color: var(--texte); font-weight: 500; }
html[data-theme="atelier"] .gr-pied { margin: 0; font-size: 11.5px; color: var(--texte-3); text-align: center; }
html[data-theme="atelier"] .gr-attend { min-height: 300px; display: grid; place-items: center; }
@media (max-width: 1180px) and (min-width: 821px) {
  html[data-theme="atelier"] .gr-r3 { grid-template-columns: 1fr 1fr; }
  html[data-theme="atelier"] .gr-r1 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  html[data-theme="atelier"] .gr { gap: 14px; }
  html[data-theme="atelier"] .gr-tete { flex-direction: column; align-items: stretch; gap: 14px; padding: 0; }
  html[data-theme="atelier"] .gr-titre h1 { font-size: 30px; flex: 1; text-align: center; }
  html[data-theme="atelier"] .gr-dates { text-align: center; }
  html[data-theme="atelier"] .gr-ong { margin: 0 -16px; border-radius: 0; padding: 5px 16px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme="atelier"] .gr-ong button { background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
  html[data-theme="atelier"] .gr-kpis { gap: 12px; }
  html[data-theme="atelier"] .gr-k { padding: 14px 16px; border-radius: 22px; }
  html[data-theme="atelier"] .gr-k > b { font-size: 24px; }
  html[data-theme="atelier"] .gr-rep ul { grid-template-columns: 1fr; gap: 7px; }
  html[data-theme="atelier"] .gr-barres { height: 190px; }
  html[data-theme="atelier"] .gr-graphe .gl-c-tete { gap: 8px; }
  html[data-theme="atelier"] .gr-tot { width: 100%; }
  html[data-theme="atelier"] .gr-cmds .gl-c-tete { flex-direction: column; align-items: stretch; }
  html[data-theme="atelier"] .gr-rech { max-width: none; }
}
html[data-theme="atelier"] .page .gr-ong button.actif { color: #fff; border-color: transparent; }
html[data-theme="atelier"] .page .gr-ong button { border-bottom: 0; margin: 0; }
html[data-theme="atelier"] .gr-vendus .gl-an li b { flex: none; }
html[data-theme="atelier"] .gr-vendus .gl-an svg { width: 140px; height: 140px; }
@media (max-width: 820px) {
  html[data-theme="atelier"] .gr-barres { gap: 3px !important; }
  html[data-theme="atelier"] .gr-barres small { font-size: 10px; white-space: nowrap; overflow: visible; }
  html[data-theme="atelier"] .gr-barres .gl-col i { border-radius: 5px; }
  html[data-theme="atelier"] .gr-barres .gl-col i.a { left: 1px; right: 1px; }
  html[data-theme="atelier"] .gr-cmd-t b u { display: none; }
}
html[data-theme="atelier"] .gr-barres { padding-top: 26px; }
html[data-theme="atelier"] .gr-barres .gl-col { max-width: 56px; }
html[data-theme="atelier"] .gr-barres .gr-val { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--texte); white-space: nowrap; min-height: 0; }
html[data-theme="atelier"] .gr-barres em.gr-val { display: block !important; }
html[data-theme="atelier"] .pcd-etapes li:nth-child(1) { --et: #F6C3AE; --et-t: #C25A38; }
html[data-theme="atelier"] .pcd-etapes li:nth-child(2) { --et: #EE9572; --et-t: #C8431E; }
html[data-theme="atelier"] .pcd-etapes li:nth-child(3) { --et: #E4572E; --et-t: #E4572E; }
html[data-theme="atelier"] .pcd-etapes li:nth-child(4) { --et: #8E2C12; --et-t: #8E2C12; }
html[data-theme="atelier"] .pcd-etapes li.ici { color: var(--et-t); font-weight: 600; }
html[data-theme="atelier"] .pcd-etapes li.ici i { background: var(--et); border-color: var(--et); box-shadow: 0 0 0 4px color-mix(in srgb, var(--et) 30%, transparent); }
html[data-theme="atelier"] .sv-trajet li:nth-child(1) { --et: #F6C3AE; }
html[data-theme="atelier"] .sv-trajet li:nth-child(2) { --et: #EE9572; }
html[data-theme="atelier"] .sv-trajet li:nth-child(3) { --et: #E4572E; }
html[data-theme="atelier"] .sv-trajet li:nth-child(4) { --et: #8E2C12; }
html[data-theme="atelier"] .sv-trajet li.ici i, html[data-theme="atelier"] .sv-trajet li.fait i { background: var(--et) !important; border-color: var(--et) !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l { border-top: 0 !important; margin: 0 0 10px !important; padding: 0 !important; border-radius: 22px; background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 10px 24px -18px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l.ouvert { background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px #fff, 0 16px 34px -20px rgba(120, 55, 25, .5); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut { padding: 12px 14px !important; gap: 12px; border-radius: 22px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut img, html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut .vign { width: 52px; height: 52px; border-radius: 15px; border: 2px solid #fff; box-shadow: 0 8px 16px -10px rgba(120, 55, 25, .55); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-txt b.num { font-weight: 650; color: var(--texte); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-txt em { color: var(--texte-2); font-style: normal; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-autres { text-decoration: none; font-size: 11px; padding: 1px 7px; border-radius: 999px; color: var(--gl-b3); background: rgba(228, 87, 46, .1); border: 0; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-quand b { font-weight: 600; color: var(--texte); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-quand small { color: var(--texte-3); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-acts { padding: 0 14px 14px 78px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-detail { padding: 0 12px 14px !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-mini { gap: 4px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-mini i { height: 4px; border-radius: 999px; background: rgba(228, 87, 46, .13); }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-mini i:nth-child(1).fait { background: #F6C3AE; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-mini i:nth-child(2).fait { background: #EE9572; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-mini i:nth-child(3).fait { background: #E4572E; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect { display: flex; align-items: center; gap: 8px; border: 0 !important; margin: 18px 4px 10px; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-ambre::before { background: #F6C3AE; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-bleu::before { background: #EE9572; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-cyan::before { background: #E4572E; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-vert::before { background: #8E2C12; }
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut { padding: 11px 12px !important; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut img, html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut .vign { width: 48px; height: 48px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-acts { padding: 0 12px 12px 72px; }
}
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-ambre { color: #C25A38 !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-bleu { color: #C8431E !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-cyan { color: #E4572E !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-vert { color: #8E2C12 !important; }
@media (max-width: 820px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-acts { padding: 0 12px 12px 12px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-quand { min-width: 0; flex: none; max-width: 96px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-quand b { font-size: 13px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-quand small { font-size: 11px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-txt small { font-size: 12.5px; }
}
html[data-theme="atelier"] .gr-ong .gr-cal-i { width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; }
html[data-theme="atelier"] .gr-k.clic { text-align: left; cursor: pointer; font: inherit; color: inherit; }
html[data-theme="atelier"] .gr-k.clic:hover { transform: translateY(-2px); }
html[data-theme="atelier"] .gr-k small { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
html[data-theme="atelier"] .gr-voir { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 500; color: #fff; padding: 3px 9px; border-radius: 999px; background: linear-gradient(180deg, #F07A52, #D9481F); }
html[data-theme="atelier"] .gr-r2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
html[data-theme="atelier"] .gr-r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-theme="atelier"] .gr-r4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html[data-theme="atelier"] .gr-ventil-b { display: flex; height: 14px; gap: 3px; border-radius: 999px; overflow: hidden; }
html[data-theme="atelier"] .gr-ventil-b i { display: block; height: 100%; border-radius: 4px; }
html[data-theme="atelier"] .gr-ventil ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
html[data-theme="atelier"] .gr-ventil li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
html[data-theme="atelier"] .gr-ventil li > i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
html[data-theme="atelier"] .gr-ventil li span { flex: 1; min-width: 0; color: var(--texte); }
html[data-theme="atelier"] .gr-ventil li small { color: var(--texte-3); font-size: 12px; }
html[data-theme="atelier"] .gr-ventil li b { font-weight: 500; min-width: 64px; text-align: right; }
html[data-theme="atelier"] .gr-ventil li em { font-style: normal; font-size: 12px; color: var(--texte-3); min-width: 36px; text-align: right; }
html[data-theme="atelier"] .gr-ratios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
html[data-theme="atelier"] .gr-ratios span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
html[data-theme="atelier"] .gr-ratios small { font-size: 11px; color: var(--texte-3); }
html[data-theme="atelier"] .gr-ratios b { font-size: 17px; font-weight: 500; color: var(--texte); }
html[data-theme="atelier"] .gr-conv-l { display: grid; gap: 14px; }
html[data-theme="atelier"] .gr-conv-l > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
html[data-theme="atelier"] .gr-conv-l span { font-size: 13.5px; color: var(--texte-2); }
html[data-theme="atelier"] .gr-conv-l span b { color: var(--texte); font-weight: 600; font-size: 15px; }
html[data-theme="atelier"] .gr-conv-l i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(228, 87, 46, .08); overflow: hidden; display: block; }
html[data-theme="atelier"] .gr-conv-l i u { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #EE9572, #E4572E); }
html[data-theme="atelier"] .gr-conv-l > div:last-child i u { background: linear-gradient(90deg, #22A39A, #1F8A57); }
html[data-theme="atelier"] .gr-conv-l em { font-style: normal; font-size: 12px; color: var(--texte-3); grid-row: 1; grid-column: 2; }
html[data-theme="atelier"] .gr-vendus .gl-an { justify-content: center; }
html[data-theme="atelier"] .gr-vendus-l { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
html[data-theme="atelier"] .gr-vendus-l li { display: flex; align-items: center; gap: 10px; }
html[data-theme="atelier"] .gr-vendus-l img, html[data-theme="atelier"] .gr-vendus-l .vign { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 6px 12px -8px rgba(120, 55, 25, .5); background: #fff; }
html[data-theme="atelier"] .gr-vendus-l .pt { width: 8px; height: 8px; border-radius: 50%; flex: none; }
html[data-theme="atelier"] .gr-vendus-l span { flex: 1; min-width: 0; display: grid; }
html[data-theme="atelier"] .gr-vendus-l span b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-theme="atelier"] .gr-vendus-l span small { font-size: 11.5px; color: var(--texte-3); }
html[data-theme="atelier"] .gr-vendus-l em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--texte); }
@media (max-width: 1180px) and (min-width: 821px) {
  html[data-theme="atelier"] .gr-r2 { grid-template-columns: 1fr; }
  html[data-theme="atelier"] .gr-r3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  html[data-theme="atelier"] .gr-r2, html[data-theme="atelier"] .gr-r3, html[data-theme="atelier"] .gr-r4 { display: contents; }
}
html[data-theme="atelier"] .gr-voir { white-space: nowrap; flex: none; }
html[data-theme="atelier"] .gr-r3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html[data-theme="atelier"] .p-detail:has(.fe) { background: linear-gradient(180deg, #FFFAF6, #FBF4EF) !important; border: 1px solid #fff !important; border-radius: 28px; padding: 22px 20px 20px; box-shadow: 0 30px 70px -28px rgba(120, 55, 25, .45) !important; }
html[data-theme="atelier"] .fe-fermer { position: absolute; top: 0; right: 0; z-index: 2; display: grid; place-items: center; line-height: 1; padding: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--texte-2); background: rgba(255, 255, 255, .85); border: 1px solid #fff; box-shadow: 0 6px 14px -8px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] .fe .t-b1 { color: #C25A38; background: rgba(246, 195, 174, .35); }
html[data-theme="atelier"] .fe .t-b2 { color: #C8431E; background: rgba(238, 149, 114, .18); }
html[data-theme="atelier"] .fe .t-b3 { color: #E4572E; background: rgba(228, 87, 46, .12); }
html[data-theme="atelier"] .fe-trajet li + li::before { content: ''; position: absolute; top: 5px; right: calc(50% + 9px); left: calc(-50% + 9px); height: 2px; border-radius: 2px; background: rgba(228, 87, 46, .12); }
html[data-theme="atelier"] .fe-trajet i { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid rgba(228, 87, 46, .25); position: relative; z-index: 1; }
html[data-theme="atelier"] .fe-trajet .e1 { --c: #F6C3AE; }
html[data-theme="atelier"] .fe-trajet .e2 { --c: #EE9572; }
html[data-theme="atelier"] .fe-trajet .e3 { --c: #E4572E; }
html[data-theme="atelier"] .fe-bloc { padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 10px 24px -18px rgba(120, 55, 25, .4); }
html[data-theme="atelier"] .fe-bloc h3 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gl-b3, #E4572E); }
html[data-theme="atelier"] .fe-art + .fe-art { border-top: 1px solid rgba(228, 87, 46, .08); padding-top: 10px; }
html[data-theme="atelier"] .fe-art img, html[data-theme="atelier"] .fe-art .vign { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 8px 16px -10px rgba(120, 55, 25, .55); background: #fff; }
html[data-theme="atelier"] .fe-copier { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; color: var(--gl-b3, #E4572E); background: rgba(228, 87, 46, .08); border: 0; }
html[data-theme="atelier"] .fe-lien { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--gl-b3, #E4572E); }
html[data-theme="atelier"] .fe-btn { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--texte); text-decoration: none; background: rgba(255, 255, 255, .9); border: 1px solid #fff; box-shadow: 0 8px 18px -12px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] .fe-btn.prim { color: #fff; border-color: transparent; background: linear-gradient(180deg, #F07A52, #D9481F); box-shadow: 0 12px 24px -12px rgba(217, 72, 31, .8); }
@media (max-width: 820px) {
  html[data-theme="atelier"] body .p-detail:has(.fe) { top: calc(12px + env(safe-area-inset-top)) !important; max-height: none !important; bottom: calc(92px + env(safe-area-inset-bottom)) !important; padding: 18px 16px 16px; }
}
html[data-theme="atelier"] .pcd-etapes li:nth-child(4) { --et: #22A364; --et-t: #1B7F4E; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-l.t-l-vert .pc-mini i { background: #22A364 !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-vert { color: #1B7F4E !important; }
html[data-theme="atelier"] body[data-ecran="colis"] .pc-sect.t-vert::before { background: #22A364; }
html[data-theme="atelier"] .page .bg-vert { background: #22A364 !important; }
html[data-theme="atelier"] .aide-boite.brief.bf { position: relative; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; display: grid; gap: 14px; padding: 22px 20px 20px; border-radius: 30px; color: var(--texte);
  background: linear-gradient(180deg, #FFFAF6, #FCEDE5); border: 1px solid #fff; box-shadow: 0 40px 90px -30px rgba(80, 35, 15, .55); }
html[data-theme="atelier"] .bf-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 600; color: #fff; background: linear-gradient(180deg, #F28A66, #D9481F); box-shadow: 0 8px 18px -8px rgba(217, 72, 31, .8); }
html[data-theme="atelier"] .bf-tete small { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #E4572E; }
html[data-theme="atelier"] .bf-tete h2 { margin: 2px 0 0; font-family: inherit; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
html[data-theme="atelier"] .bf-t { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 20px; text-align: left; font: inherit; color: var(--texte); background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 10px 22px -16px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] .bf-t small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #E4572E; }
html[data-theme="atelier"] .bf-t.profond { color: #fff; background: radial-gradient(120% 90% at 0% 0%, #E4572E 0%, #A33A18 50%, #3B2016 100%); border-color: rgba(250, 190, 165, .35); }
html[data-theme="atelier"] .bf-t.profond small { color: rgba(255, 232, 220, .8); }
html[data-theme="atelier"] .bf-t.profond span { color: rgba(255, 232, 220, .85); }
html[data-theme="atelier"] .bf-bloc h3 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #E4572E; }
html[data-theme="atelier"] .bf-bloc p + p { border-top: 1px solid rgba(228, 87, 46, .08); }
html[data-theme="atelier"] .bf-dec + .bf-dec { border-top: 1px solid rgba(228, 87, 46, .08); }
html[data-theme="atelier"] .bf-btn { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; border: 0; background: linear-gradient(180deg, #F07A52, #D9481F); }
@media (max-width: 820px) {
  html[data-theme="atelier"] .aide-boite.brief.bf { width: 100%; max-height: calc(100dvh - env(safe-area-inset-top) - 16px); border-radius: 28px 28px 0 0; padding: 20px 16px calc(18px + env(safe-area-inset-bottom)); }
  html[data-theme="atelier"] .bf-tete h2 { font-size: 20px; }
}
html[data-theme="atelier"] body[data-ecran="clients"] .sv-col, html[data-theme="atelier"] body[data-ecran="clients"] .sv-dossier { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-filtres { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid #fff; box-shadow: 0 12px 28px -18px rgba(120, 55, 25, .5); overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-filtres::-webkit-scrollbar { display: none; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-filtres button { flex: none; padding: 8px 14px; border-radius: 999px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 13.5px; color: var(--texte-2); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-filtres button.actif { color: #fff !important; background: linear-gradient(180deg, #F07A52, #D9481F) !important; box-shadow: 0 6px 14px -8px rgba(217, 72, 31, .8) !important; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-filtres button.actif * { color: rgba(255, 255, 255, .85) !important; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-sect { display: flex; align-items: center; gap: 8px; margin: 16px 4px 10px; border: 0; font-size: 11px; color: var(--gl-b3); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l { display: flex; gap: 12px; width: 100%; margin: 0 0 10px; padding: 14px; border-radius: 22px; text-align: left; border: 0 !important;
  background: rgba(255, 255, 255, .55) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 10px 24px -18px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.actif { background: rgba(255, 255, 255, .9) !important; box-shadow: inset 0 0 0 1.5px rgba(228, 87, 46, .45), 0 14px 30px -18px rgba(120, 55, 25, .5); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.attend { background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(252, 232, 222, .9)) !important; box-shadow: inset 0 0 0 1.5px rgba(228, 87, 46, .35), 0 14px 30px -16px rgba(217, 72, 31, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l::before { display: none; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l .sv-av { width: 44px; height: 44px; font-size: 14px; font-weight: 600; color: #D9481F; background: linear-gradient(180deg, #fff, #FADFD2); border: 1px solid #fff; box-shadow: 0 6px 14px -8px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.attend .sv-av { color: #fff; background: linear-gradient(180deg, #F28A66, #D9481F); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l-txt b { font-size: 15px; font-weight: 600; color: var(--texte); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l-txt em { font-size: 13px; color: var(--texte-2); line-height: 1.45; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.attend .sv-l-txt b { font-size: 17px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-l.attend .sv-l-txt em { font-size: 14px; color: var(--texte); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-cat { border-radius: 999px; padding: 2px 9px; font-style: normal; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-ok { padding: 12px 14px; border-radius: 18px; background: rgba(34, 163, 100, .1); color: #1B7F4E; border: 1px solid rgba(34, 163, 100, .2); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-d-tete { padding: 16px; border-radius: 24px; background: rgba(255, 255, 255, .75); border: 1px solid #fff; box-shadow: 0 10px 24px -18px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-av.grand { color: #fff; background: linear-gradient(180deg, #F28A66, #D9481F); border: 0; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-fil { gap: 14px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-fil > .sv-veut, html[data-theme="atelier"] body[data-ecran="clients"] .sv-rep { padding: 16px; border-radius: 24px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 10px 24px -18px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-veut .pg-sur, html[data-theme="atelier"] body[data-ecran="clients"] .sv-rep .pg-sur { font-size: 11px; font-weight: 600; letter-spacing: .09em; color: #E4572E; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-veut p { font-size: 16.5px; line-height: 1.5; color: var(--texte); font-weight: 450; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-cmd-bloc { border-radius: 22px !important; background: rgba(255, 255, 255, .75) !important; border: 1px solid #fff !important; box-shadow: 0 10px 24px -18px rgba(120, 55, 25, .45); }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-cmd-l img, html[data-theme="atelier"] body[data-ecran="clients"] .sv-cmd-l .vign { width: 48px; height: 48px; border-radius: 14px; border: 2px solid #fff; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-msg-d summary { font-size: 13.5px; font-weight: 500; color: #E4572E; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-b { font-size: 15px !important; line-height: 1.55 !important; }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(180deg, #F07A52, #D9481F) !important; color: #fff !important; border: 0 !important; }
html[data-theme="atelier"] body[data-ecran="clients"] #sv-texte { font-size: 15.5px; line-height: 1.55; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(228, 87, 46, .18); padding: 12px 14px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-envoi .pg-btn.prim { border-radius: 999px; background: linear-gradient(180deg, #F07A52, #D9481F); color: #fff; border: 0; min-height: 48px; }
html[data-theme="atelier"] body[data-ecran="clients"] .sv-envoi .pg-btn:not(.prim) { border-radius: 999px; background: #fff; }
@media (min-width: 821px) {
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut:hover { background: none !important; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l:not(.ouvert):hover { background: rgba(255, 255, 255, .72); }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-rang { gap: 0; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-acts { width: auto; padding: 0 18px 0 6px; display: flex; align-items: center; gap: 8px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-acts .pc-act { width: auto; min-width: 0; height: 36px; padding: 0 18px; font-size: 13px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-act.second:not([data-pc-regle]) { display: none; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-acts:not(:has(.pc-act:not(.second), [data-pc-regle])) { display: none; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pc-l-haut { padding-right: 18px !important; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-g-seul .pcd-suivi-t, html[data-theme="atelier"] body[data-ecran="colis"] .pcd-g-seul .pg-doux { margin: 0 0 14px; color: var(--texte-2); font-size: 13.5px; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12px; padding-top: 14px; border-top: 1px solid rgba(228, 87, 46, .1); }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes li { position: relative; flex-direction: column; gap: 7px; text-align: center; }
  html[data-theme="atelier"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes li + li::before { position: absolute; top: 4px; left: calc(-50% + 10px); right: calc(50% + 10px); width: auto; margin: 0; }
}
/* === fin CORAIL · refontes === */

/* === 2/12 · FOCUS : mêmes refontes que ÉPURE (Résultats, fiche commande, brief, Suivi, SAV) en verre sombre et bleu FOCUS — généré depuis les règles ÉPURE === */
html[data-theme="focus"] { --gl-b0: rgba(150, 180, 255, .16); --gl-b1: #2B4C86; --gl-b2: #3F72C8; --gl-b3: #5C94F5; --gl-b4: #9CC4FF; --gl-alerte: #FF5A4D; --gl-nuit: #0E1C3A; }
html[data-theme="focus"] .gr-bulle { position: absolute; top: -8px; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; padding: 9px 12px; border-radius: 10px; background: var(--boite); border: 1px solid var(--trait-fort); font-size: 12px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.98) }
html[data-theme="focus"] .gr-pt { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: rgba(14, 28, 58, 0.66); transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 3px rgba(var(--acc), .35), 0 0 12px var(--bleu) }
html[data-theme="focus"] .gr-b { background: var(--gl-b3) }
html[data-theme="focus"] .gr-p { background: rgba(18, 26, 46, 0.5); border-color: var(--trait) }
html[data-theme="focus"] .gl-c { background: linear-gradient(165deg, rgba(18, 26, 46, 0.56), rgba(18, 26, 46, 0.33)); border: 1px solid rgba(150, 180, 255, 0.17); backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.33), 0 26px 60px -30px rgba(0, 0, 0, 0.49) }
html[data-theme="focus"] .gl { max-width: 1400px; margin: 0 auto; color: var(--texte); display: grid; gap: 16px }
html[data-theme="focus"] .gl-c { border-radius: 28px; padding: 22px 24px; min-width: 0; text-align: left; position: relative; overflow: hidden; isolation: isolate }
html[data-theme="focus"] .gl-c::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(18, 26, 46, 0.54), transparent 45%) }
html[data-theme="focus"] .gl-c:hover::after { opacity: 1 }
html[data-theme="focus"] .gl-c::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(18, 26, 46, 0.66), transparent) }
html[data-theme="focus"] .gl-c-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px }
html[data-theme="focus"] .gl-c-tete h2 { margin: 0; font-size: 15.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em }
html[data-theme="focus"] .gl-c-tete h2 .num { color: var(--texte-3); font-weight: 400 }
html[data-theme="focus"] .gl-lien { font-size: 13px; color: var(--texte-2); display: inline-flex; align-items: center; gap: 8px }
html[data-theme="focus"] button.gl-lien:hover { color: var(--gl-b3) }
html[data-theme="focus"] .gl-lien b { color: var(--texte); font-weight: 500 }
html[data-theme="focus"] .gl-btn { position: relative; flex: none; padding: 10px 16px; border-radius: 999px; background: linear-gradient(180deg, #609FFF, #3083FF); color: #FFFFFF; font-size: 13px; font-weight: 500; font-style: normal; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 20px -8px rgba(0, 0, 0, 0.91); transition: transform .15s, box-shadow .2s }
html[data-theme="focus"] .gl-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 26px -8px #000000 }
html[data-theme="focus"] .gl-btn.clair { background: rgba(18, 26, 46, 0.58); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 20px -10px rgba(0, 0, 0, 0.52) }
html[data-theme="focus"] .gl-vide { margin: 6px 0; font-size: 14px; color: var(--texte-2) }
html[data-theme="focus"] .gl.entre > *, html[data-theme="focus"] .gl.entre > div > * { animation: glDegel 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--e, 0) * 90ms) }
html[data-theme="focus"] .gl-cal { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 0; background: rgba(18, 26, 46, 0.61); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.65) }
html[data-theme="focus"] .gl-cal small { font-size: 10.5px; font-weight: 600; color: var(--gl-b3); text-transform: uppercase; letter-spacing: .08em }
html[data-theme="focus"] .gl-cal b { font-size: 26px; font-weight: 500; line-height: 1 }
html[data-theme="focus"] .gl-heures { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; height: 150px; margin-top: auto; padding-top: 22px }
html[data-theme="focus"] .gl-heures-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--texte-3) }
html[data-theme="focus"] .gl-c.gl-profond { color: #FFFFFF; background: radial-gradient(120% 90% at 0% 0%, #3E8BFF 0%, #1F78FF 45%, #0E1C3A 100%); border-color: rgba(112, 169, 255, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -28px rgba(0, 0, 0, 0.98) }
html[data-theme="focus"] .gl-profond .gl-lien { color: rgba(190, 209, 239, 0.75) }
html[data-theme="focus"] .gl-profond button.gl-lien:hover { color: #FFFFFF }
html[data-theme="focus"] .gl-geant { display: block; font-size: 64px; font-weight: 500; letter-spacing: -.045em; line-height: 1 }
html[data-theme="focus"] .gl-sous { margin: 8px 0 14px; font-size: 13px; color: rgba(190, 209, 239, 0.8) }
html[data-theme="focus"] .gl-profond .releve .rl { padding: 6px 0; font-size: 13px; color: rgba(190, 209, 239, 0.8) }
html[data-theme="focus"] .gl-profond .rl > b, html[data-theme="focus"] .gl-profond .rl.moins > b { color: #FFFFFF }
html[data-theme="focus"] .gl-profond .rl > i { border-bottom-color: rgba(150, 180, 255, 0.06) }
html[data-theme="focus"] .gl-profond .rl.net { border-top-color: rgba(150, 180, 255, 0.06) }
html[data-theme="focus"] .gl-profond .rl.net > span { color: #FFFFFF }
html[data-theme="focus"] .gl-profond .rl.net > b { color: #FFFFFF; font-size: 20px }
html[data-theme="focus"] .gl-cl { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; margin-bottom: 6px; border-radius: 18px; background: rgba(18, 26, 46, 0.36); text-align: left }
html[data-theme="focus"] .gl-cl > span:nth-child(2) { flex: 1; min-width: 0; display: grid }
html[data-theme="focus"] .gl-cl b { font-size: 14px; font-weight: 500 }
html[data-theme="focus"] .gl-cl small { font-size: 12.5px; color: var(--texte-2) }
html[data-theme="focus"] .gl-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; color: var(--gl-b4); background: linear-gradient(180deg, rgba(18, 26, 46, 0.66), rgba(127, 178, 255, 0.07)); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.78) }
html[data-theme="focus"] .gl-av.veilleur { color: #FFFFFF; background: linear-gradient(180deg, #70A9FF, #3083FF) }
html[data-theme="focus"] .gl-av.sav { color: #FFFFFF; background: linear-gradient(180deg, #3083FF, #1F78FF) }
html[data-theme="focus"] .gl-av.brief { color: #FFFFFF; background: linear-gradient(180deg, #70A9FF, #589BFF) }
@media (max-width: 820px) {
  html[data-theme="focus"] .gl { gap: 12px }
  html[data-theme="focus"] .gl-cal { width: 54px; height: 54px; border-radius: 16px }
  html[data-theme="focus"] .gl-cal b { font-size: 22px }
  html[data-theme="focus"] .gl-c { padding: 18px 16px; border-radius: 24px }
  html[data-theme="focus"] .gl-geant { font-size: 50px }
  html[data-theme="focus"] .gl-heures { gap: 3px; height: 120px }
}
html[data-theme="focus"] .gl-cal-z { position: relative }
html[data-theme="focus"] .gl-cal { cursor: pointer; transition: transform .2s, box-shadow .2s }
html[data-theme="focus"] .gl-cal:hover { transform: translateY(-2px) }
html[data-theme="focus"] .gl-cal.choisi { background: linear-gradient(180deg, #609FFF, #3083FF); border-color: rgba(150, 180, 255, 0.12) }
html[data-theme="focus"] .gl-cal.choisi small, html[data-theme="focus"] .gl-cal.choisi b { color: #FFFFFF }
html[data-theme="focus"] .gl-calr { width: 100%; margin-top: 10px; text-align: center }
html[data-theme="focus"] .gl-heures { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; height: 210px; padding-top: 18px }
html[data-theme="focus"] .gl-heures > button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0 }
html[data-theme="focus"] .gl-heures em { font-style: normal; font-size: 11px; color: var(--texte-2); white-space: nowrap; min-height: 14px }
html[data-theme="focus"] .gl-heures small { font-size: 11px; color: var(--texte-3) }
html[data-theme="focus"] .gl-col { position: relative; flex: 1; width: 100%; max-width: 40px }
html[data-theme="focus"] .gl-col i { position: absolute; left: 0; right: 0; bottom: 0; display: block; border-radius: 12px; transition: transform .2s }
html[data-theme="focus"] .gl-col i.h { background: rgba(18, 26, 46, 0.4); border: 1px dashed rgba(62, 139, 255, 0.35) }
html[data-theme="focus"] .gl-col i.a { left: 4px; right: 4px; background: linear-gradient(180deg, rgba(18, 26, 46, 0.68), rgba(112, 169, 255, 0.9)); border: 1px solid rgba(150, 180, 255, 0.19); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.78) }
html[data-theme="focus"] .gl-heures .ici i.a { background: linear-gradient(180deg, #70A9FF, #3083FF); border-color: rgba(150, 180, 255, 0.1) }
html[data-theme="focus"] .gl-heures .ici small { color: var(--gl-b3); font-weight: 600 }
html[data-theme="focus"] .gl-heures .futur { opacity: .4 }
html[data-theme="focus"] .gl-heures > button:hover i.a { transform: translateY(-3px) }
html[data-theme="focus"] .gl-leg { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--texte-3) }
html[data-theme="focus"] .gl-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block }
html[data-theme="focus"] .gl-leg i.a { background: #70A9FF }
html[data-theme="focus"] .gl-leg i.h { margin-left: 10px; border: 1px dashed rgba(62, 139, 255, 0.5); background: rgba(18, 26, 46, 0.66) }
html[data-theme="focus"] .gl-comp { margin: 10px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; color: rgba(190, 209, 239, 0.8) }
html[data-theme="focus"] .gl-comp b { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(18, 26, 46, 0.09) }
html[data-theme="focus"] .gl-comp.haut b { color: #4CE39A }
html[data-theme="focus"] .gl-comp.bas b { color: #FF5A4D }
html[data-theme="focus"] .gl-clients { display: flex; flex-direction: column }
html[data-theme="focus"] .gl-an { display: flex; align-items: center; gap: 20px }
html[data-theme="focus"] .gl-an svg { width: 160px; height: 160px; flex: none; filter: drop-shadow(0 12px 18px rgba(31, 120, 255, 0.18)) }
html[data-theme="focus"] .gl-an svg circle { transition: stroke-width .2s }
html[data-theme="focus"] .gl-an svg circle:hover { stroke-width: 22 }
html[data-theme="focus"] .gl-an-v { font: 500 19px 'Geist', system-ui, sans-serif; fill: var(--texte); letter-spacing: -.02em }
html[data-theme="focus"] .gl-an-l { font: 400 10.5px 'Geist', system-ui, sans-serif; fill: var(--texte-3) }
html[data-theme="focus"] .gl-an ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; gap: 7px }
html[data-theme="focus"] .gl-an li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--texte-2) }
html[data-theme="focus"] .gl-an li i { width: 10px; height: 10px; border-radius: 3px; flex: none }
html[data-theme="focus"] .gl-an li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
html[data-theme="focus"] .gl-an li b { font-weight: 500; color: var(--texte) }
@media (max-width: 820px) {
  html[data-theme="focus"] .gl-heures { gap: 4px; height: 160px }
  html[data-theme="focus"] .gl-heures em { display: none }
  html[data-theme="focus"] .gl-heures small { font-size: 9.5px }
  html[data-theme="focus"] .gl-col i { border-radius: 7px }
  html[data-theme="focus"] .gl-col i.a { left: 2px; right: 2px }
  html[data-theme="focus"] .gl-an svg { width: 150px; height: 150px }
  html[data-theme="focus"] .gl-an { flex-direction: column; align-items: stretch; gap: 16px }
  html[data-theme="focus"] .gl-an svg { align-self: center }
  html[data-theme="focus"] .gl-an li { font-size: 13.5px }
}
html[data-theme="focus"] .page .pc-sect, html[data-theme="focus"] .page .sv-sect { font-weight: 600; letter-spacing: .1em }
html[data-theme="focus"] .page .pg-btn.prim, html[data-theme="focus"] .page .pc-act:not(.ok):not(.second) { border-radius: 999px; border-color: transparent; background: linear-gradient(180deg, #609FFF, #3083FF); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 18px -8px rgba(0, 0, 0, 0.98); transition: transform .2s, box-shadow .2s }
html[data-theme="focus"] .page .pg-btn.prim:hover, html[data-theme="focus"] .page .pc-act:not(.ok):not(.second):hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 24px -8px #000000 }
html[data-theme="focus"] .page .pg-btn:not(.prim), html[data-theme="focus"] .page .pc-act.second, html[data-theme="focus"] .page .pc-act.ok { border-radius: 999px; background: rgba(18, 26, 46, 0.52); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] .page .pc-act.ok { color: var(--vert) }
html[data-theme="focus"] .page .pc-rep { border-radius: 24px; background: linear-gradient(165deg, rgba(18, 26, 46, 0.54), rgba(18, 26, 46, 0.32)); border: 1px solid rgba(150, 180, 255, 0.19); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 40px -26px rgba(0, 0, 0, 0.52) }
html[data-theme="focus"] .page .pc-kpi { border-radius: 18px; background: linear-gradient(180deg, rgba(18, 26, 46, 0.68), rgba(127, 178, 255, 0.08)); border: 1px solid rgba(62, 139, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09) }
html[data-theme="focus"] .page .pc-kpi b, html[data-theme="focus"] .page .pc-kpi .num { color: var(--texte) }
html[data-theme="focus"] .page .pc-barre > *, html[data-theme="focus"] .page .pc-rep-l i { border-radius: 999px }
html[data-theme="focus"] .page .bg-rouge { background: var(--gl-alerte) !important }
html[data-theme="focus"] .page .bg-ambre { background: #70A9FF !important }
html[data-theme="focus"] .page .bg-bleu { background: #70A9FF !important }
html[data-theme="focus"] .page .bg-cyan { background: #3E8BFF !important }
html[data-theme="focus"] .page .bg-vert { background: #1F78FF !important }
html[data-theme="focus"] .page .bg-gris { background: rgba(94, 106, 130, 0.6) !important }
html[data-theme="focus"] .page .pc-sect.t-ambre { color: #93BEFF }
html[data-theme="focus"] .page .pc-sect.t-bleu { color: #7BB0FF }
html[data-theme="focus"] .page .pc-sect.t-cyan { color: #5C9DFF }
html[data-theme="focus"] .page .pc-sect.t-vert { color: #5C9DFF }
html[data-theme="focus"] .page .pc-l-rang .t-l-ambre, html[data-theme="focus"] .page .pc-l-rang i.t-l-ambre { background: #70A9FF }
html[data-theme="focus"] .page .pc-outils { background: transparent; padding-top: 10px; padding-bottom: 10px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 0 }
html[data-theme="focus"] .page .pc-rech { border-radius: 999px; min-height: 48px; padding-left: 18px; background: rgba(18, 26, 46, 0.56); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 30px -18px rgba(0, 0, 0, 0.65); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: box-shadow .2s }
html[data-theme="focus"] .page .pc-rech:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 0 3px rgba(0, 0, 0, 0.29), 0 14px 30px -18px rgba(0, 0, 0, 0.65) }
html[data-theme="focus"] .page .pc-rech svg { color: var(--gl-b3) }
html[data-theme="focus"] .page .sv-filtres button, html[data-theme="focus"] .page .pc-tous { border-radius: 999px }
html[data-theme="focus"] .page .sv-filtres button.actif { color: var(--gl-b3) }
html[data-theme="focus"] .page .sv-filtres button.actif { background: rgba(18, 26, 46, 0.65); border-color: rgba(62, 139, 255, 0.35); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.78) }
html[data-theme="focus"] .page .tm-champ .pg-btn { border-radius: 999px }
html[data-theme="focus"] .gl-sous-t { margin: 14px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3) }
html[data-theme="focus"] .gl-cl.regle { opacity: .85 }
html[data-theme="focus"] .gl-coche { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--vert); background: rgba(76, 227, 154, 0.14); flex: none }
html[data-theme="focus"] .gl-col i.a { background: linear-gradient(180deg, #70A9FF, #5D9EFF); border-color: rgba(150, 180, 255, 0.14); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.98) }
html[data-theme="focus"] .gl-heures .ici i.a { background: linear-gradient(180deg, #4F95FF, #1F78FF) }
html[data-theme="focus"] .gl-col i.h { background: rgba(62, 139, 255, 0.1); border: 1.5px dashed rgba(62, 139, 255, 0.55) }
html[data-theme="focus"] .gl-heures .futur { opacity: .8 }
html[data-theme="focus"] .gl-heures em { color: var(--texte); font-weight: 500 }
html[data-theme="focus"] .gl-heures small { color: var(--texte-2) }
html[data-theme="focus"] .gl-leg i.a { background: #70A9FF }
html[data-theme="focus"] .gl-leg i.h { background: rgba(62, 139, 255, 0.1); border-color: rgba(62, 139, 255, 0.55) }
html[data-theme="focus"] .gl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; align-items: stretch }
html[data-theme="focus"] .gl-colA, html[data-theme="focus"] .gl-colB, html[data-theme="focus"] .gl-colC { display: flex; flex-direction: column; gap: 16px; min-width: 0 }
html[data-theme="focus"] .gl-cols .gl-c { flex: none }
html[data-theme="focus"] .gl-cols .gl-colA > :last-child, html[data-theme="focus"] .gl-cols .gl-colB > :last-child, html[data-theme="focus"] .gl-cols .gl-colC > :last-child { flex: 1 0 auto }
html[data-theme="focus"] .gl-cols .gl-sem { height: 150px }
html[data-theme="focus"] .gl-cols .gl-sem i { border-radius: 10px }
html[data-theme="focus"] .gl-cols .gl-an { gap: 16px }
html[data-theme="focus"] .gl-cols .gl-an svg { width: 140px; height: 140px }
html[data-theme="focus"] .gl-cols .gl-an li b { flex: none }
html[data-theme="focus"] .gl-cols .gl-an ul { min-width: 0 }
html[data-theme="focus"] .gl-cols .gl-clients { justify-content: flex-start }
@media (max-width: 1360px) and (min-width: 1081px) {
  html[data-theme="focus"] .gl-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px }
  html[data-theme="focus"] .gl-colA, html[data-theme="focus"] .gl-colB, html[data-theme="focus"] .gl-colC { gap: 14px }
  html[data-theme="focus"] .gl-cols .gl-an { flex-direction: column; align-items: stretch; gap: 14px }
  html[data-theme="focus"] .gl-cols .gl-an svg { align-self: center; width: 140px; height: 140px }
  html[data-theme="focus"] .gl-cols .gl-geant { font-size: 56px }
}
@media (max-width: 1080px) and (min-width: 821px) {
  html[data-theme="focus"] .gl-cols { grid-template-columns: 1fr 1fr }
  html[data-theme="focus"] .gl-colC { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr }
}
html[data-theme="focus"] .cal.feuille { border-radius: 22px 22px 0 0 }
html[data-theme="focus"] .gl-cal b.plage { font-size: 16px; letter-spacing: -.02em }
html[data-theme="focus"] .gl-cal { perspective: 300px }
html[data-theme="focus"] .gl-cal.flip small, html[data-theme="focus"] .gl-cal.flip b { display: block; transform-origin: 50% 0; animation: glFlip .5s cubic-bezier(.2, .8, .2, 1) both }
html[data-theme="focus"] .gl-cal.flip small { animation-delay: .05s }
html[data-theme="focus"] .gl-heures.gl-jours { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(2px, calc(40px / var(--n)), 8px) }
@media (prefers-reduced-motion: reduce) {
  html[data-theme="focus"] .gl-cal.flip b, html[data-theme="focus"] .gl-cal.flip small { animation: none }
}
html[data-theme="focus"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.sv-col, .sv-dossier, .pc-rep, .pc-liste) { position: relative; border: 1px solid rgba(150, 180, 255, 0.17); border-radius: 28px; background: linear-gradient(165deg, rgba(18, 26, 46, 0.56), rgba(18, 26, 46, 0.33)); -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.33), 0 26px 60px -30px rgba(0, 0, 0, 0.49) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-col { padding: 16px }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rep { padding: 22px 24px 14px }
html[data-theme="focus"] body[data-ecran="colis"] .pc-liste { padding: 8px 24px 12px }
html[data-theme="focus"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1.02 }
html[data-theme="focus"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete p { font-size: 14px; color: var(--texte-2) }
html[data-theme="focus"] body:is([data-ecran="clients"], [data-ecran="colis"]) :is(.pc-rep-tete > b, .sv-d-tete h2) { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em }
html[data-theme="focus"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 19px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-veut p { font-size: 15px; line-height: 1.55 }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l { border-radius: 18px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l.actif { background: rgba(18, 26, 46, 0.66); border-color: rgba(62, 139, 255, 0.3); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] :is(.sv-cmd-bloc, .sv-colis) { background: rgba(18, 26, 46, 0.43); border-color: rgba(150, 180, 255, 0.16); border-radius: 20px }
html[data-theme="focus"] body[data-ecran="clients"] .cv { gap: 14px }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m { max-width: min(78%, 620px) }
html[data-theme="focus"] body[data-ecran="clients"] .cv-b { padding: 11px 15px; font-size: 14px; line-height: 1.55; border-radius: 20px }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.cli .cv-b { background: rgba(18, 26, 46, 0.65); border: 1px solid rgba(150, 180, 255, 0.16); border-bottom-left-radius: 6px; color: var(--texte); box-shadow: 0 6px 16px -10px rgba(var(--encre), .25) }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.moi .cv-b { border: 0; border-bottom-right-radius: 6px; color: #FFFFFF }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(180deg, #609FFF, #3083FF); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 22px -12px rgba(0, 0, 0, 0.91) }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.moi .cv-b a { color: #FFFFFF }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.moi .cv-b.long::after { background: linear-gradient(transparent, rgba(var(--acc), 1)) }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.moi .cv-plus { color: #FFFFFF }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m small { font-size: 11.5px; color: var(--texte-3) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-rep { margin-left: auto; width: min(100%, 680px); border-radius: 20px; border-bottom-right-radius: 6px; background: rgba(18, 26, 46, 0.59); border: 1.5px dashed rgba(var(--acc), .45); box-shadow: 0 10px 26px -16px rgba(var(--acc), .55) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-rep:focus-within { border-style: solid; border-color: rgba(var(--acc), .7) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-rep textarea { font-size: 14px; line-height: 1.6 }
html[data-theme="focus"] body[data-ecran="clients"] .sv-envoi { justify-content: flex-end }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l.ouvert .pc-acts:not(:has(.pc-act:not(.second))) { display: none }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l.ouvert { background: rgba(18, 26, 46, 0.4); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l-detail { padding: 4px 12px 14px }
html[data-theme="focus"] body[data-ecran="colis"] .pcd { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: stretch }
html[data-theme="focus"] body[data-ecran="colis"] :is(.pcd-g, .pcd-d) { background: rgba(18, 26, 46, 0.56); border: 1px solid rgba(150, 180, 255, 0.16); border-radius: 18px; display: flex; flex-direction: column }
html[data-theme="focus"] body[data-ecran="colis"] .pcd-actions { margin-top: auto; padding-top: 12px }
@media (max-width: 1100px) {
  html[data-theme="focus"] body[data-ecran="colis"] .pcd { grid-template-columns: minmax(0, 1fr) }
}
html[data-theme="focus"] body[data-ecran="colis"] .pc-outils { position: sticky; top: 0; z-index: 3; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 12px 0 }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech { height: 50px; min-height: 50px; border-radius: 999px; padding: 0 20px; gap: 12px; -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech input { font-size: 15px; font-family: inherit; -webkit-appearance: none; appearance: none; background: transparent; border: 0; box-shadow: none; outline: 0 }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech input::-webkit-search-cancel-button { -webkit-appearance: none }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech { background: linear-gradient(165deg, rgba(18, 26, 46, 0.68), rgba(18, 26, 46, 0.58)); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 36px -22px rgba(0, 0, 0, 0.65) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech:focus-within { background: rgba(18, 26, 46, 0.68); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 0 3px rgba(0, 0, 0, 0.26), 0 18px 36px -22px rgba(0, 0, 0, 0.65) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech svg { stroke: #7BB0FF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-rech input::placeholder { color: #6E7A92 }
@media (max-width: 820px) {
  html[data-theme="focus"] body[data-ecran="clients"] .sv-dossier { padding: 0 }
  html[data-theme="focus"] body[data-ecran="clients"] .sv-d-tete { padding: 16px 16px 12px }
  html[data-theme="focus"] body[data-ecran="clients"] .sv-fil { padding: 14px 14px 18px }
  html[data-theme="focus"] body[data-ecran="clients"] .cv-m { max-width: 86% }
  html[data-theme="focus"] body:is([data-ecran="clients"], [data-ecran="colis"]) .pg-tete h1 { font-size: 34px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-liste { padding: 4px 12px 8px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-rep { padding: 16px 16px 10px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-detail { padding: 2px 8px 12px }
}
html[data-theme="focus"] body[data-ecran="clients"] .sv-l:not(.attend) { opacity: .78 }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l:not(.attend) .sv-av { filter: none }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l:not(.attend):is(.actif, :hover) { opacity: 1 }
@media (max-width: 820px) {
  html[data-theme="focus"] body[data-ecran="clients"] .sv-fil > .sv-veut { padding: 14px 16px; border-radius: 24px; border: 1px solid rgba(150, 180, 255, 0.17); background: linear-gradient(165deg, rgba(18, 26, 46, 0.56), rgba(18, 26, 46, 0.33)); -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 60px -30px rgba(0, 0, 0, 0.49) }
}
html[data-theme="focus"] .gl.entre > *, html[data-theme="focus"] .gl.entre > div > * { animation: none }
@media (max-width: 820px) {
  html[data-theme="focus"] body[data-ecran="colis"] .pc-outils { margin-left: 0; margin-right: 0 }
}
@media (max-width: 820px) {
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 11.5px }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-etapes li { position: relative; flex-direction: column; gap: 6px; text-align: center; line-height: 1.25 }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-etapes li + li::before { position: absolute; top: 4px; left: calc(-50% + 9px); right: calc(50% + 9px); width: auto; margin: 0 }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-etapes i { flex: none }
}
html[data-theme="focus"] body[data-ecran="colis"] .pc-outils.colle { background: rgba(18, 26, 46, 0.66); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 -24px 0 0 rgba(255, 255, 255, 0.08), 0 10px 18px -14px rgba(0, 0, 0, 0.42) }
html[data-theme="focus"] .p-detail { background: rgba(18, 26, 46, 0.66) !important; opacity: 1 !important; border: 1px solid rgba(31, 120, 255, 0.12); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45) }
@media (max-width: 820px) {
  html[data-theme="focus"] .gl-heures:not(.gl-jours) { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; height: 170px; padding-top: 10px }
  html[data-theme="focus"] .gl-heures:not(.gl-jours) .gl-col { max-width: none }
  html[data-theme="focus"] .gl-heures:not(.gl-jours) small { font-size: 10.5px; min-height: 13px }
  html[data-theme="focus"] .gl-heures:not(.gl-jours) .gl-col i { border-radius: 9px }
  html[data-theme="focus"] .gl-heures:not(.gl-jours) .gl-col i.a { left: 3px; right: 3px }
}
@media (min-width: 1280px) {
  html[data-theme="focus"] body[data-ecran="clients"] .cv-m { max-width: min(72%, 860px) }
}
html[data-theme="focus"] .gr { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px }
html[data-theme="focus"] .gr-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 4px 4px 2px }
html[data-theme="focus"] .gr-sur { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gl-b3) }
html[data-theme="focus"] .gr-titre { display: flex; align-items: center; gap: 10px; margin-top: 6px }
html[data-theme="focus"] .gr-titre h1 { margin: 0; font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--texte) }
html[data-theme="focus"] .gr-fl { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--gl-b3); background: rgba(18, 26, 46, 0.58); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.65); flex: none }
html[data-theme="focus"] .gr-fl:disabled { opacity: .35 }
html[data-theme="focus"] .gr-dates { margin: 6px 0 0; font-size: 13.5px; color: var(--texte-2) }
html[data-theme="focus"] .gr-ong { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(18, 26, 46, 0.45); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow-x: auto; scrollbar-width: none; max-width: 100% }
html[data-theme="focus"] .gr-ong::-webkit-scrollbar { display: none }
html[data-theme="focus"] .gr-ong button { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--texte-2); white-space: nowrap; border: 0; background: none }
html[data-theme="focus"] .gr-ong button.actif { color: #FFFFFF; background: linear-gradient(180deg, #609FFF, #3083FF); box-shadow: 0 6px 14px -8px #000000 }
html[data-theme="focus"] .gr-r1 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px }
html[data-theme="focus"] .gr-hero .gl-geant { display: block; margin-top: 4px }
html[data-theme="focus"] .gr-part { font-size: 12.5px; color: rgba(190, 209, 239, 0.75) }
html[data-theme="focus"] .gr-rep { margin-top: 18px }
html[data-theme="focus"] .gr-rep-b { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; background: rgba(18, 26, 46, 0.07) }
html[data-theme="focus"] .gr-rep-b i { display: block; height: 100% }
html[data-theme="focus"] .gr-rep i.r-f { background: #70A9FF }
html[data-theme="focus"] .gr-rep i.r-r { background: rgba(127, 178, 255, 0.07) }
html[data-theme="focus"] .gr-rep i.r-p { background: #FFB547 }
html[data-theme="focus"] .gr-rep i.r-n { background: #4CE39A }
html[data-theme="focus"] .gr-rep ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px }
html[data-theme="focus"] .gr-rep li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(190, 209, 239, 0.85) }
html[data-theme="focus"] .gr-rep li i { width: 9px; height: 9px; border-radius: 3px; flex: none }
html[data-theme="focus"] .gr-rep li span { flex: 1; min-width: 0 }
html[data-theme="focus"] .gr-rep li b { color: #FFFFFF; font-weight: 500 }
html[data-theme="focus"] .gr-rep li em { font-style: normal; font-size: 11.5px; color: rgba(190, 209, 239, 0.6); min-width: 34px; text-align: right }
html[data-theme="focus"] .gr-perte { margin: 12px 0 0; font-size: 13px; color: #FF5A4D }
html[data-theme="focus"] .gr-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
html[data-theme="focus"] .gr-k { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 18px 20px }
html[data-theme="focus"] .gr-k small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gl-b3) }
html[data-theme="focus"] .gr-k > b { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; color: var(--texte) }
html[data-theme="focus"] .gr-k > span { font-size: 12.5px; color: var(--texte-2); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline }
html[data-theme="focus"] .gr-k > span i { font-style: normal; color: var(--texte-3) }
html[data-theme="focus"] .gr em.haut, html[data-theme="focus"] .gr-k em.haut { font-style: normal; font-weight: 600; color: #4CE39A }
html[data-theme="focus"] .gr em.bas { font-style: normal; font-weight: 600; color: #FF5A4D }
html[data-theme="focus"] .gr-graphe .gl-c-tete { flex-wrap: wrap }
html[data-theme="focus"] .gr-mets { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(62, 139, 255, 0.07) }
html[data-theme="focus"] .gr-mets button { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--texte-2); border: 0; background: none }
html[data-theme="focus"] .gr-mets button.actif { background: rgba(18, 26, 46, 0.66); color: var(--texte); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.33) }
html[data-theme="focus"] .gr-tot { font-size: 13px; color: var(--texte-2) }
html[data-theme="focus"] .gr-tot b { color: var(--texte); font-weight: 600 }
html[data-theme="focus"] .gr-barres { height: 240px; position: relative }
html[data-theme="focus"] .gr-barres > button { cursor: default }
html[data-theme="focus"] .gr-r3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start }
html[data-theme="focus"] .gr-r4 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start }
html[data-theme="focus"] .gr-retenir ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
html[data-theme="focus"] .gr-retenir li { position: relative; padding: 10px 12px 10px 30px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--texte-2); background: rgba(18, 26, 46, 0.4); border: 1px solid rgba(150, 180, 255, 0.18) }
html[data-theme="focus"] .gr-retenir li::before { content: ''; position: absolute; left: 13px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(180deg, #70A9FF, #3083FF) }
html[data-theme="focus"] .gr-retenir li b { color: var(--texte); font-weight: 600 }
html[data-theme="focus"] .gr-releve .rl { padding: 7px 0; font-size: 13.5px }
html[data-theme="focus"] .gr-releve .rl.net > b { color: var(--gl-b3); font-size: 17px }
html[data-theme="focus"] .gr-note { margin: 10px 0 0; font-size: 12px; color: var(--texte-3) }
html[data-theme="focus"] .gr-v-haut { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(18, 26, 46, 0.68), rgba(127, 178, 255, 0.08)); border: 1px solid rgba(62, 139, 255, 0.18) }
html[data-theme="focus"] .gr-v-haut span { display: grid; gap: 2px }
html[data-theme="focus"] .gr-v-haut small { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-b3) }
html[data-theme="focus"] .gr-v-haut b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--texte) }
html[data-theme="focus"] .gr-v-haut .der { text-align: right; justify-items: end }
html[data-theme="focus"] .gr-v-haut .der small { color: var(--texte-3) }
html[data-theme="focus"] .gr-v-haut .der b { font-size: 16px; color: var(--texte-2) }
html[data-theme="focus"] .gr-litige { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; color: #FF5A4D; background: rgba(18, 26, 46, 0.58) }
html[data-theme="focus"] .gr-v-l { display: grid; margin-top: 8px }
html[data-theme="focus"] .gr-v-l a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 13.5px; color: var(--texte); text-decoration: none; border-bottom: 1px solid rgba(62, 139, 255, 0.08) }
html[data-theme="focus"] .gr-v-l a:last-child { border-bottom: 0 }
html[data-theme="focus"] .gr-v-l a span { flex: 1 }
html[data-theme="focus"] .gr-v-l a b { font-weight: 500 }
html[data-theme="focus"] .gr-v-l em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px }
html[data-theme="focus"] .gr-v-l .s-v { color: #4CE39A; background: rgba(76, 227, 154, 0.1) }
html[data-theme="focus"] .gr-v-l .s-b { color: #6DA7FF; background: rgba(62, 139, 255, 0.1) }
html[data-theme="focus"] .gr-v-l .s-r { color: #FF5A4D; background: rgba(255, 90, 77, 0.1) }
html[data-theme="focus"] .gr-v-l .s-g { color: var(--texte-3); background: rgba(14, 28, 58, 0.05) }
html[data-theme="focus"] .gr-rech { flex: 1; max-width: 320px; min-width: 0; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--texte); background: rgba(18, 26, 46, 0.54); border: 1px solid rgba(150, 180, 255, 0.16); outline: none }
html[data-theme="focus"] .gr-rech:focus { border-color: rgba(62, 139, 255, 0.45); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.16) }
html[data-theme="focus"] .gr-cmd { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border-radius: 14px; text-align: left; border: 0; background: none; color: var(--texte) }
html[data-theme="focus"] .gr-cmd:hover { background: rgba(18, 26, 46, 0.43) }
html[data-theme="focus"] .gr-cmd img, html[data-theme="focus"] .gr-cmd .vign { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; background: rgba(18, 26, 46, 0.66) }
html[data-theme="focus"] .gr-cmd-t { flex: 1; min-width: 0; display: grid; gap: 2px }
html[data-theme="focus"] .gr-cmd-t b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
html[data-theme="focus"] .gr-cmd-t b .num { font-weight: 600 }
html[data-theme="focus"] .gr-cmd-t b u { text-decoration: none; font-size: 11px; padding: 1px 6px; border-radius: 999px; color: var(--gl-b3); background: rgba(62, 139, 255, 0.1) }
html[data-theme="focus"] .gr-cmd-t small { font-size: 12px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
html[data-theme="focus"] .gr-cmd-m { display: grid; justify-items: end; gap: 2px; flex: none }
html[data-theme="focus"] .gr-cmd-m b { font-size: 14px; font-weight: 500 }
html[data-theme="focus"] .gr-cmd-m small { font-size: 11.5px; color: #4CE39A }
html[data-theme="focus"] .gr-cmd.annulee { opacity: .5 }
html[data-theme="focus"] .gr-cmd.annulee .gr-cmd-m b { text-decoration: line-through }
html[data-theme="focus"] .gr-toutes { width: 100%; margin-top: 8px; padding: 11px; border-radius: 999px; font-size: 13.5px; color: var(--gl-b3); background: rgba(18, 26, 46, 0.5); border: 1px solid rgba(150, 180, 255, 0.16) }
html[data-theme="focus"] .gr-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px }
html[data-theme="focus"] .gr-types span { font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--texte-2); background: rgba(18, 26, 46, 0.43); border: 1px solid rgba(150, 180, 255, 0.16) }
html[data-theme="focus"] .gr-types b { color: var(--texte); font-weight: 500 }
html[data-theme="focus"] .gr-pied { margin: 0; font-size: 11.5px; color: var(--texte-3); text-align: center }
html[data-theme="focus"] .gr-attend { min-height: 300px; display: grid; place-items: center }
@media (max-width: 1180px) and (min-width: 821px) {
  html[data-theme="focus"] .gr-r3 { grid-template-columns: 1fr 1fr }
  html[data-theme="focus"] .gr-r1 { grid-template-columns: 1fr }
}
@media (max-width: 820px) {
  html[data-theme="focus"] .gr { gap: 14px }
  html[data-theme="focus"] .gr-tete { flex-direction: column; align-items: stretch; gap: 14px; padding: 0 }
  html[data-theme="focus"] .gr-titre h1 { font-size: 30px; flex: 1; text-align: center }
  html[data-theme="focus"] .gr-dates { text-align: center }
  html[data-theme="focus"] .gr-ong { margin: 0 -16px; border-radius: 0; padding: 5px 16px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none }
  html[data-theme="focus"] .gr-ong button { background: rgba(18, 26, 46, 0.43); border: 1px solid rgba(150, 180, 255, 0.16) }
  html[data-theme="focus"] .gr-kpis { gap: 12px }
  html[data-theme="focus"] .gr-k { padding: 14px 16px; border-radius: 22px }
  html[data-theme="focus"] .gr-k > b { font-size: 24px }
  html[data-theme="focus"] .gr-rep ul { grid-template-columns: 1fr; gap: 7px }
  html[data-theme="focus"] .gr-barres { height: 190px }
  html[data-theme="focus"] .gr-graphe .gl-c-tete { gap: 8px }
  html[data-theme="focus"] .gr-tot { width: 100% }
  html[data-theme="focus"] .gr-cmds .gl-c-tete { flex-direction: column; align-items: stretch }
  html[data-theme="focus"] .gr-rech { max-width: none }
}
html[data-theme="focus"] .page .gr-ong button.actif { color: #FFFFFF; border-color: transparent }
html[data-theme="focus"] .page .gr-ong button { border-bottom: 0; margin: 0 }
html[data-theme="focus"] .gr-vendus .gl-an li b { flex: none }
html[data-theme="focus"] .gr-vendus .gl-an svg { width: 140px; height: 140px }
@media (max-width: 820px) {
  html[data-theme="focus"] .gr-barres { gap: 3px !important }
  html[data-theme="focus"] .gr-barres small { font-size: 10px; white-space: nowrap; overflow: visible }
  html[data-theme="focus"] .gr-barres .gl-col i { border-radius: 5px }
  html[data-theme="focus"] .gr-barres .gl-col i.a { left: 1px; right: 1px }
  html[data-theme="focus"] .gr-cmd-t b u { display: none }
}
html[data-theme="focus"] .gr-barres { padding-top: 26px }
html[data-theme="focus"] .gr-barres .gl-col { max-width: 56px }
html[data-theme="focus"] .gr-barres .gr-val { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--texte); white-space: nowrap; min-height: 0 }
html[data-theme="focus"] .gr-barres em.gr-val { display: block !important }
html[data-theme="focus"] .pcd-etapes li:nth-child(1) { --et: #70A9FF; --et-t: #217AFF }
html[data-theme="focus"] .pcd-etapes li:nth-child(2) { --et: #70A9FF; --et-t: #1F78FF }
html[data-theme="focus"] .pcd-etapes li:nth-child(3) { --et: #3E8BFF; --et-t: #3E8BFF }
html[data-theme="focus"] .pcd-etapes li:nth-child(4) { --et: #1F78FF; --et-t: #1F78FF }
html[data-theme="focus"] .pcd-etapes li.ici { color: var(--et-t); font-weight: 600 }
html[data-theme="focus"] .pcd-etapes li.ici i { background: var(--et); border-color: var(--et); box-shadow: 0 0 0 4px color-mix(in srgb, var(--et) 30%, transparent) }
html[data-theme="focus"] .sv-trajet li:nth-child(1) { --et: #70A9FF }
html[data-theme="focus"] .sv-trajet li:nth-child(2) { --et: #70A9FF }
html[data-theme="focus"] .sv-trajet li:nth-child(3) { --et: #3E8BFF }
html[data-theme="focus"] .sv-trajet li:nth-child(4) { --et: #1F78FF }
html[data-theme="focus"] .sv-trajet li.ici i, html[data-theme="focus"] .sv-trajet li.fait i { background: var(--et) !important; border-color: var(--et) !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l { border-top: 0 !important; margin: 0 0 10px !important; padding: 0 !important; border-radius: 22px; background: rgba(18, 26, 46, 0.36); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 10px 24px -18px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l.ouvert { background: rgba(18, 26, 46, 0.56); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 16px 34px -20px rgba(0, 0, 0, 0.65) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut { padding: 12px 14px !important; gap: 12px; border-radius: 22px }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut img, html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut .vign { width: 52px; height: 52px; border-radius: 15px; border: 2px solid rgba(150, 180, 255, 0.16); box-shadow: 0 8px 16px -10px rgba(0, 0, 0, 0.72) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l-txt b.num { font-weight: 650; color: var(--texte) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l-txt em { color: var(--texte-2); font-style: normal }
html[data-theme="focus"] body[data-ecran="colis"] .pc-autres { text-decoration: none; font-size: 11px; padding: 1px 7px; border-radius: 999px; color: var(--gl-b3); background: rgba(62, 139, 255, 0.1); border: 0 }
html[data-theme="focus"] body[data-ecran="colis"] .pc-quand b { font-weight: 600; color: var(--texte) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-quand small { color: var(--texte-3) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-acts { padding: 0 14px 14px 78px }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l-detail { padding: 0 12px 14px !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-mini { gap: 4px }
html[data-theme="focus"] body[data-ecran="colis"] .pc-mini i { height: 4px; border-radius: 999px; background: rgba(62, 139, 255, 0.13) }
html[data-theme="focus"] body[data-ecran="colis"] .pc-mini i:nth-child(1).fait { background: #70A9FF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-mini i:nth-child(2).fait { background: #70A9FF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-mini i:nth-child(3).fait { background: #3E8BFF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect { display: flex; align-items: center; gap: 8px; border: 0 !important; margin: 18px 4px 10px }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-ambre::before { background: #70A9FF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-bleu::before { background: #70A9FF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-cyan::before { background: #3E8BFF }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-vert::before { background: #1F78FF }
@media (max-width: 820px) {
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut { padding: 11px 12px !important }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut img, html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut .vign { width: 48px; height: 48px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-acts { padding: 0 12px 12px 72px }
}
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-ambre { color: #5E9EFF !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-bleu { color: #5C9DFF !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-cyan { color: #7BB0FF !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-vert { color: #5C9DFF !important }
@media (max-width: 820px) {
  html[data-theme="focus"] body[data-ecran="colis"] .pc-acts { padding: 0 12px 12px 12px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-quand { min-width: 0; flex: none; max-width: 96px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-quand b { font-size: 13px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-quand small { font-size: 11px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-txt small { font-size: 12.5px }
}
html[data-theme="focus"] .gr-ong .gr-cal-i { width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px }
html[data-theme="focus"] .gr-k.clic { text-align: left; cursor: pointer; font: inherit; color: inherit }
html[data-theme="focus"] .gr-k.clic:hover { transform: translateY(-2px) }
html[data-theme="focus"] .gr-k small { display: flex; justify-content: space-between; align-items: center; gap: 6px }
html[data-theme="focus"] .gr-voir { font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 500; color: #FFFFFF; padding: 3px 9px; border-radius: 999px; background: linear-gradient(180deg, #609FFF, #3083FF) }
html[data-theme="focus"] .gr-r2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: stretch }
html[data-theme="focus"] .gr-r3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
html[data-theme="focus"] .gr-r4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
html[data-theme="focus"] .gr-ventil-b { display: flex; height: 14px; gap: 3px; border-radius: 999px; overflow: hidden }
html[data-theme="focus"] .gr-ventil-b i { display: block; height: 100%; border-radius: 4px }
html[data-theme="focus"] .gr-ventil ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px }
html[data-theme="focus"] .gr-ventil li { display: flex; align-items: center; gap: 10px; font-size: 13.5px }
html[data-theme="focus"] .gr-ventil li > i { width: 10px; height: 10px; border-radius: 3px; flex: none }
html[data-theme="focus"] .gr-ventil li span { flex: 1; min-width: 0; color: var(--texte) }
html[data-theme="focus"] .gr-ventil li small { color: var(--texte-3); font-size: 12px }
html[data-theme="focus"] .gr-ventil li b { font-weight: 500; min-width: 64px; text-align: right }
html[data-theme="focus"] .gr-ventil li em { font-style: normal; font-size: 12px; color: var(--texte-3); min-width: 36px; text-align: right }
html[data-theme="focus"] .gr-ratios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px }
html[data-theme="focus"] .gr-ratios span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(18, 26, 46, 0.43); border: 1px solid rgba(150, 180, 255, 0.16) }
html[data-theme="focus"] .gr-ratios small { font-size: 11px; color: var(--texte-3) }
html[data-theme="focus"] .gr-ratios b { font-size: 17px; font-weight: 500; color: var(--texte) }
html[data-theme="focus"] .gr-conv-l { display: grid; gap: 14px }
html[data-theme="focus"] .gr-conv-l > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center }
html[data-theme="focus"] .gr-conv-l span { font-size: 13.5px; color: var(--texte-2) }
html[data-theme="focus"] .gr-conv-l span b { color: var(--texte); font-weight: 600; font-size: 15px }
html[data-theme="focus"] .gr-conv-l i { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(62, 139, 255, 0.08); overflow: hidden; display: block }
html[data-theme="focus"] .gr-conv-l i u { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #70A9FF, #3E8BFF) }
html[data-theme="focus"] .gr-conv-l > div:last-child i u { background: linear-gradient(90deg, #4CE39A, #4CE39A) }
html[data-theme="focus"] .gr-conv-l em { font-style: normal; font-size: 12px; color: var(--texte-3); grid-row: 1; grid-column: 2 }
html[data-theme="focus"] .gr-vendus .gl-an { justify-content: center }
html[data-theme="focus"] .gr-vendus-l { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px }
html[data-theme="focus"] .gr-vendus-l li { display: flex; align-items: center; gap: 10px }
html[data-theme="focus"] .gr-vendus-l img, html[data-theme="focus"] .gr-vendus-l .vign { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; border: 2px solid rgba(150, 180, 255, 0.16); box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.65); background: rgba(18, 26, 46, 0.66) }
html[data-theme="focus"] .gr-vendus-l .pt { width: 8px; height: 8px; border-radius: 50%; flex: none }
html[data-theme="focus"] .gr-vendus-l span { flex: 1; min-width: 0; display: grid }
html[data-theme="focus"] .gr-vendus-l span b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
html[data-theme="focus"] .gr-vendus-l span small { font-size: 11.5px; color: var(--texte-3) }
html[data-theme="focus"] .gr-vendus-l em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--texte) }
@media (max-width: 1180px) and (min-width: 821px) {
  html[data-theme="focus"] .gr-r2 { grid-template-columns: 1fr }
  html[data-theme="focus"] .gr-r3 { grid-template-columns: 1fr 1fr }
}
@media (max-width: 820px) {
  html[data-theme="focus"] .gr-r2, html[data-theme="focus"] .gr-r3, html[data-theme="focus"] .gr-r4 { display: contents }
}
html[data-theme="focus"] .gr-voir { white-space: nowrap; flex: none }
html[data-theme="focus"] .gr-r3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
html[data-theme="focus"] .p-detail:has(.fe) { background: linear-gradient(180deg, rgba(18, 26, 46, 0.66), rgba(18, 26, 46, 0.66)) !important; border: 1px solid rgba(150, 180, 255, 0.16) !important; border-radius: 28px; padding: 22px 20px 20px; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.59) !important }
html[data-theme="focus"] .fe-fermer { position: absolute; top: 0; right: 0; z-index: 2; display: grid; place-items: center; line-height: 1; padding: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--texte-2); background: rgba(14, 28, 58, 0.61); border: 1px solid rgba(112, 169, 255, 0.16); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.83) }
html[data-theme="focus"] .fe .t-b1 { color: #A3C8FF; background: rgba(112, 169, 255, 0.35) }
html[data-theme="focus"] .fe .t-b2 { color: #A3C8FF; background: rgba(112, 169, 255, 0.18) }
html[data-theme="focus"] .fe .t-b3 { color: #A3C8FF; background: rgba(93, 158, 255, 0.12) }
html[data-theme="focus"] .fe-trajet { list-style: none; margin: 0; padding: 14px 12px 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; background: rgba(14, 28, 58, 0.5); border: 1px solid rgba(112, 169, 255, 0.16) }
html[data-theme="focus"] .fe-trajet li + li::before { content: ''; position: absolute; top: 5px; right: calc(50% + 9px); left: calc(-50% + 9px); height: 2px; border-radius: 2px; background: rgba(93, 158, 255, 0.12) }
html[data-theme="focus"] .fe-trajet i { width: 12px; height: 12px; border-radius: 50%; background: rgba(14, 28, 58, 0.66); border: 2px solid rgba(93, 158, 255, 0.25); position: relative; z-index: 1 }
html[data-theme="focus"] .fe-trajet .e3 { --c: #5D9EFF }
html[data-theme="focus"] .fe-bloc { padding: 16px; border-radius: 22px; background: rgba(14, 28, 58, 0.52); border: 1px solid rgba(112, 169, 255, 0.16); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.73) }
html[data-theme="focus"] .fe-bloc h3 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gl-b3, #A3C8FF) }
html[data-theme="focus"] .fe-art + .fe-art { border-top: 1px solid rgba(93, 158, 255, 0.08); padding-top: 10px }
html[data-theme="focus"] .fe-art img, html[data-theme="focus"] .fe-art .vign { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; flex: none; border: 2px solid rgba(112, 169, 255, 0.16); box-shadow: 0 8px 16px -10px #000000; background: rgba(14, 28, 58, 0.66) }
html[data-theme="focus"] .fe-copier { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; color: var(--gl-b3, #A3C8FF); background: rgba(93, 158, 255, 0.08); border: 0 }
html[data-theme="focus"] .fe-lien { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--gl-b3, #A3C8FF) }
html[data-theme="focus"] .fe-btn { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--texte); text-decoration: none; background: rgba(14, 28, 58, 0.65); border: 1px solid rgba(112, 169, 255, 0.16); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.83) }
html[data-theme="focus"] .fe-btn.prim { color: #FFFFFF; border-color: transparent; background: linear-gradient(180deg, #70A9FF, #4F95FF); box-shadow: 0 12px 24px -12px #000000 }
@media (max-width: 820px) {
  html[data-theme="focus"] body .p-detail:has(.fe) { top: calc(12px + env(safe-area-inset-top)) !important; max-height: none !important; bottom: calc(92px + env(safe-area-inset-bottom)) !important; padding: 18px 16px 16px }
}
html[data-theme="focus"] .pcd-etapes li:nth-child(4) { --et: #4CE39A; --et-t: #4CE39A }
html[data-theme="focus"] body[data-ecran="colis"] .pc-l.t-l-vert .pc-mini i { background: #4CE39A !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-vert { color: #4CE39A !important }
html[data-theme="focus"] body[data-ecran="colis"] .pc-sect.t-vert::before { background: #4CE39A }
html[data-theme="focus"] .page .bg-vert { background: #4CE39A !important }
html[data-theme="focus"] .aide-boite.brief.bf { position: relative; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; display: grid; gap: 14px; padding: 22px 20px 20px; border-radius: 30px; color: var(--texte); background: linear-gradient(180deg, rgba(18, 26, 46, 0.66), rgba(18, 26, 46, 0.66)); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.72) }
html[data-theme="focus"] .bf-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 600; color: #FFFFFF; background: linear-gradient(180deg, #70A9FF, #4F95FF); box-shadow: 0 8px 18px -8px #000000 }
html[data-theme="focus"] .bf-tete small { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #A3C8FF }
html[data-theme="focus"] .bf-tete h2 { margin: 2px 0 0; font-family: inherit; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2 }
html[data-theme="focus"] .bf-t { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 20px; text-align: left; font: inherit; color: var(--texte); background: rgba(14, 28, 58, 0.58); border: 1px solid rgba(112, 169, 255, 0.16); box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.83) }
html[data-theme="focus"] .bf-t small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A3C8FF }
html[data-theme="focus"] .bf-t.profond { color: #FFFFFF; background: radial-gradient(120% 90% at 0% 0%, #5D9EFF 0%, #3E8BFF 50%, #0E1C3A 100%); border-color: rgba(112, 169, 255, 0.35) }
html[data-theme="focus"] .bf-t.profond small { color: rgba(163, 200, 255, 0.8) }
html[data-theme="focus"] .bf-t.profond span { color: rgba(163, 200, 255, 0.85) }
html[data-theme="focus"] .bf-bloc { padding: 14px 16px; border-radius: 22px; background: rgba(14, 28, 58, 0.52); border: 1px solid rgba(112, 169, 255, 0.16) }
html[data-theme="focus"] .bf-bloc h3 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #A3C8FF }
html[data-theme="focus"] .bf-bloc p + p { border-top: 1px solid rgba(93, 158, 255, 0.08) }
html[data-theme="focus"] .bf-dec + .bf-dec { border-top: 1px solid rgba(93, 158, 255, 0.08) }
html[data-theme="focus"] .bf-btn { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #FFFFFF; border: 0; background: linear-gradient(180deg, #70A9FF, #4F95FF) }
@media (max-width: 820px) {
  html[data-theme="focus"] .aide-boite.brief.bf { width: 100%; max-height: calc(100dvh - env(safe-area-inset-top) - 16px); border-radius: 28px 28px 0 0; padding: 20px 16px calc(18px + env(safe-area-inset-bottom)) }
  html[data-theme="focus"] .bf-tete h2 { font-size: 20px }
}
html[data-theme="focus"] body[data-ecran="clients"] .sv-col, html[data-theme="focus"] body[data-ecran="clients"] .sv-dossier { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important }
html[data-theme="focus"] body[data-ecran="clients"] .sv-filtres { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(18, 26, 46, 0.45); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.65); overflow-x: auto; scrollbar-width: none; margin-bottom: 12px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-filtres::-webkit-scrollbar { display: none }
html[data-theme="focus"] body[data-ecran="clients"] .sv-filtres button { flex: none; padding: 8px 14px; border-radius: 999px; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 13.5px; color: var(--texte-2) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-filtres button.actif { color: #FFFFFF !important; background: linear-gradient(180deg, #609FFF, #3083FF) !important; box-shadow: 0 6px 14px -8px #000000 !important }
html[data-theme="focus"] body[data-ecran="clients"] .sv-filtres button.actif * { color: rgba(255, 255, 255, 0.85) !important }
html[data-theme="focus"] body[data-ecran="clients"] .sv-sect { display: flex; align-items: center; gap: 8px; margin: 16px 4px 10px; border: 0; font-size: 11px; color: var(--gl-b3) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l { display: flex; gap: 12px; width: 100%; margin: 0 0 10px; padding: 14px; border-radius: 22px; text-align: left; border: 0 !important; background: rgba(18, 26, 46, 0.4) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 10px 24px -18px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l.actif { background: rgba(18, 26, 46, 0.65) !important; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.59), 0 14px 30px -18px rgba(0, 0, 0, 0.65) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l.attend { background: linear-gradient(135deg, rgba(18, 26, 46, 0.68), rgba(18, 26, 46, 0.65)) !important; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.45), 0 14px 30px -16px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l::before { display: none }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l .sv-av { width: 44px; height: 44px; font-size: 14px; font-weight: 600; color: #6DA7FF; background: linear-gradient(180deg, rgba(18, 26, 46, 0.66), rgba(127, 178, 255, 0.07)); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l.attend .sv-av { color: #FFFFFF; background: linear-gradient(180deg, #70A9FF, #3083FF) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l-txt b { font-size: 15px; font-weight: 600; color: var(--texte) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l-txt em { font-size: 13px; color: var(--texte-2); line-height: 1.45 }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l.attend .sv-l-txt b { font-size: 17px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-l.attend .sv-l-txt em { font-size: 14px; color: var(--texte) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-cat { border-radius: 999px; padding: 2px 9px; font-style: normal }
html[data-theme="focus"] body[data-ecran="clients"] .sv-ok { padding: 12px 14px; border-radius: 18px; background: rgba(76, 227, 154, 0.1); color: #4CE39A; border: 1px solid rgba(76, 227, 154, 0.2) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-d-tete { padding: 16px; border-radius: 24px; background: rgba(18, 26, 46, 0.54); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 24px; font-weight: 500; letter-spacing: -.03em }
html[data-theme="focus"] body[data-ecran="clients"] .sv-av.grand { color: #FFFFFF; background: linear-gradient(180deg, #70A9FF, #3083FF); border: 0 }
html[data-theme="focus"] body[data-ecran="clients"] .sv-fil { gap: 14px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-fil > .sv-veut, html[data-theme="focus"] body[data-ecran="clients"] .sv-rep { padding: 16px; border-radius: 24px; background: rgba(18, 26, 46, 0.52); border: 1px solid rgba(150, 180, 255, 0.16); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-veut .pg-sur, html[data-theme="focus"] body[data-ecran="clients"] .sv-rep .pg-sur { font-size: 11px; font-weight: 600; letter-spacing: .09em; color: #7BB0FF }
html[data-theme="focus"] body[data-ecran="clients"] .sv-veut p { font-size: 16.5px; line-height: 1.5; color: var(--texte); font-weight: 450 }
html[data-theme="focus"] body[data-ecran="clients"] .sv-cmd-bloc { border-radius: 22px !important; background: rgba(18, 26, 46, 0.54) !important; border: 1px solid rgba(150, 180, 255, 0.16) !important; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.59) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-cmd-l img, html[data-theme="focus"] body[data-ecran="clients"] .sv-cmd-l .vign { width: 48px; height: 48px; border-radius: 14px; border: 2px solid rgba(150, 180, 255, 0.16) }
html[data-theme="focus"] body[data-ecran="clients"] .sv-msg-d summary { font-size: 13.5px; font-weight: 500; color: #7BB0FF }
html[data-theme="focus"] body[data-ecran="clients"] .cv-b { font-size: 15px !important; line-height: 1.55 !important }
html[data-theme="focus"] body[data-ecran="clients"] .cv-m.moi .cv-b { background: linear-gradient(180deg, #609FFF, #3083FF) !important; color: #FFFFFF !important; border: 0 !important }
html[data-theme="focus"] body[data-ecran="clients"] #sv-texte { font-size: 15.5px; line-height: 1.55; border-radius: 18px; background: rgba(18, 26, 46, 0.65); border: 1px solid rgba(62, 139, 255, 0.18); padding: 12px 14px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-envoi .pg-btn.prim { border-radius: 999px; background: linear-gradient(180deg, #609FFF, #3083FF); color: #FFFFFF; border: 0; min-height: 48px }
html[data-theme="focus"] body[data-ecran="clients"] .sv-envoi .pg-btn:not(.prim) { border-radius: 999px; background: rgba(18, 26, 46, 0.66) }
@media (min-width: 821px) {
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut:hover { background: none !important }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l:not(.ouvert):hover { background: rgba(18, 26, 46, 0.52) }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-rang { gap: 0 }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-acts { width: auto; padding: 0 18px 0 6px; display: flex; align-items: center; gap: 8px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-acts .pc-act { width: auto; min-width: 0; height: 36px; padding: 0 18px; font-size: 13px }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-act.second:not([data-pc-regle]) { display: none }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-acts:not(:has(.pc-act:not(.second), [data-pc-regle])) { display: none }
  html[data-theme="focus"] body[data-ecran="colis"] .pc-l-haut { padding-right: 18px !important }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-g-seul .pcd-suivi-t, html[data-theme="focus"] body[data-ecran="colis"] .pcd-g-seul .pg-doux { margin: 0 0 14px; color: var(--texte-2); font-size: 13.5px }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12px; padding-top: 14px; border-top: 1px solid rgba(62, 139, 255, 0.1) }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes li { position: relative; flex-direction: column; gap: 7px; text-align: center }
  html[data-theme="focus"] body[data-ecran="colis"] .pcd-g-seul .pcd-etapes li + li::before { position: absolute; top: 4px; left: calc(-50% + 10px); right: calc(50% + 10px); width: auto; margin: 0 }
}

/* === fin FOCUS · refontes === */
/* 2/12 · brief (ÉPURE, CORAIL) : le × dans le coin de la carte, pas sur son bord */
.aide-boite.bf > .fe-fermer { top: 14px; right: 14px; }

/* 2/12 · barre d'onglets téléphone : 6 onglets (Réglages), l'orbe d'Acolyte à la place de la maison du QG */
@media (max-width: 820px) {
  .tabbar { grid-template-columns: repeat(6, 1fr); }
  .tabbar .tb-orbe { width: 14px; height: 14px; margin: 4px; } /* les anneaux débordent (canvas 2,1×) : 14 px donne une orbe de ~30 px, à la taille des icônes */
  html[data-theme] .tabbar button span:not(.q-orbe) { font-size: 10px; white-space: nowrap; }
}

/* === 1/12 soir · iPhone, app de l'écran d'accueil : la page doit couvrir TOUT l'écran ===
   Bug iOS 26 (WebKit 301108) : avec viewport-fit=cover + barre d'état translucide, l'app installée reçoit un écran
   plus court de la hauteur de la barre d'état (~62 pt) quand la page n'est pas plus haute que l'écran → bande blanche en bas.
   Une page au moins aussi haute que l'écran récupère l'écran entier ; min() évite qu'elle défile là où le bug n'existe pas. */
@media (max-width: 820px) and (display-mode: standalone) {
  html { height: min(100lvh, calc(100% + env(safe-area-inset-top, 0px))) !important; min-height: min(100lvh, calc(100% + env(safe-area-inset-top, 0px))); }
}

/* === 1/12 soir · retours captures de Tiemoko === */
/* SAV : les 4 onglets tiennent sur la largeur, plus besoin de glisser pour voir « Anciens » */
html body[data-ecran="clients"] .sv-filtres { overflow: visible !important; flex-wrap: nowrap !important; margin-left: 0 !important; margin-right: 0 !important; }
html body[data-ecran="clients"] .sv-filtres button { flex: 1 1 0 !important; min-width: 0 !important; justify-content: center; text-align: center; padding-left: 6px !important; padding-right: 6px !important; white-space: nowrap; }
@media (max-width: 420px) { html body[data-ecran="clients"] .sv-filtres button { font-size: 12.5px !important; } html body[data-ecran="clients"] .sv-filtres button span { margin-left: 3px; } }

/* Versements : « À venir » puis « Déjà arrivés » */
.gr-v-l .gr-v-g { margin: 10px 2px 2px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-3); }
.gr-v-l .gr-v-g:first-child { margin-top: 2px; }

/* Résultats : la colonne de gauche (entonnoir + chiffres clés) a la même hauteur que « Ce qui se vend » */
@media (min-width: 821px) {
  html[data-theme] .gr-r3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) !important; align-items: stretch !important; }
  .gr-r3-g { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .gr-r3-g > .gr-cles { flex: 1 0 auto; }
}
@media (max-width: 820px) { .gr-r3-g { display: contents; } }
.gr-cles-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; height: calc(100% - 40px); align-content: stretch; }
.gr-cles-g > span { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 14px 16px; border-radius: 16px; min-width: 0; }
.gr-cles-g small { font-size: 12px; color: var(--texte-3); }
.gr-cles-g b { font-size: 24px; font-weight: 500; color: var(--texte); letter-spacing: -.01em; }
.gr-cles-g em { font-style: normal; font-size: 11.5px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 820px) { .gr-cles-g { grid-template-columns: 1fr 1fr; } .gr-cles-g b { font-size: 20px; } }
html[data-theme="epure"] .gr-cles-g > span { background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
html[data-theme="atelier"] .gr-cles-g > span { background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
html[data-theme="focus"] .gr-cles-g > span { background: rgba(255, 255, 255, .04); border: 1px solid rgba(150, 180, 255, .12); }

/* CORAIL · Résultats : bénéfice net en verre corail clair (plus d'orange-noir) */
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, rgba(255, 196, 170, .92) 0%, rgba(245, 140, 104, .9) 45%, rgba(231, 98, 62, .92) 100%);
  border: 1px solid rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .85), inset 0 -18px 40px -24px rgba(170, 50, 15, .35), 0 30px 60px -30px rgba(200, 75, 35, .55); }
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(70% 55% at 18% 0%, rgba(255, 255, 255, .55), transparent 70%), linear-gradient(115deg, transparent 52%, rgba(255, 255, 255, .16) 60%, transparent 68%); }
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero > * { position: relative; }
html[data-theme="atelier"] .gr-hero .gl-c-tete h2, html[data-theme="atelier"] .gr-hero .gr-part { color: #fff; text-shadow: 0 1px 2px rgba(150, 45, 10, .25); }
html[data-theme="atelier"] .gr-hero .gl-geant { text-shadow: 0 2px 10px rgba(150, 45, 10, .25); }
html[data-theme="atelier"] .gr-hero .gl-comp { color: rgba(255, 255, 255, .92); }
html[data-theme="atelier"] .gr-hero .gl-comp b { background: rgba(255, 255, 255, .9); }
html[data-theme="atelier"] .gr-hero .gl-comp.bas b { color: #B8341A; } html[data-theme="atelier"] .gr-hero .gl-comp.haut b { color: #1F7A4C; }
html[data-theme="atelier"] .gr-hero .gr-rep-b { background: rgba(255, 255, 255, .2); }
html[data-theme="atelier"] .gr-hero .gr-rep i.r-f { background: rgba(255, 255, 255, .5); }
html[data-theme="atelier"] .gr-hero .gr-rep i.r-r { background: rgba(255, 255, 255, .75); }
html[data-theme="atelier"] .gr-hero .gr-rep i.r-p { background: #FFE08A; }
html[data-theme="atelier"] .gr-hero .gr-rep i.r-n { background: #fff; }
html[data-theme="atelier"] .gr-hero .gr-rep li { color: rgba(255, 255, 255, .95); }
html[data-theme="atelier"] .gr-hero .gr-rep li em { color: rgba(255, 255, 255, .78); }
html[data-theme="atelier"] .gr-hero .gr-rep li i.r-n { box-shadow: 0 0 0 1px rgba(170, 50, 15, .2); }

/* FOCUS · Résultats : bénéfice net en verre sombre (plus le grand bleu vif) */
html[data-theme="focus"] .gl-c.gl-profond.gr-hero { position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(96, 146, 255, .22) 0%, rgba(30, 48, 92, .5) 45%, rgba(10, 16, 32, .72) 100%);
  border: 1px solid rgba(170, 200, 255, .22); -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 70px -30px rgba(0, 0, 0, .9); }
html[data-theme="focus"] .gl-c.gl-profond.gr-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 50% at 12% 0%, rgba(140, 185, 255, .28), transparent 70%), radial-gradient(45% 60% at 100% 100%, rgba(92, 220, 255, .1), transparent 70%), linear-gradient(115deg, transparent 50%, rgba(255, 255, 255, .06) 58%, transparent 66%); }
html[data-theme="focus"] .gl-c.gl-profond.gr-hero > * { position: relative; }
html[data-theme="focus"] .gr-hero .gl-comp b { background: rgba(255, 255, 255, .07); }
html[data-theme="focus"] .gr-hero .gr-rep-b { background: rgba(255, 255, 255, .06); }

/* CORAIL et FOCUS · graphique de Résultats : barres pleines, plus de contours pointillés ni de traits pointillés sous les heures vides */
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-barres .gl-col { max-width: none; border-bottom: 1px solid var(--gr-base); }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-barres .gl-col i { border: 0 !important; box-shadow: none !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; border-radius: 6px 6px 2px 2px !important; }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-barres .gl-col i.h { width: min(78%, 36px); background: var(--gr-avant) !important; }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-barres .gl-col i.a { width: min(52%, 24px); background: var(--gr-bar) !important; }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-barres > button:hover .gl-col i.a { filter: brightness(1.08); }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-barres .futur { opacity: 1 !important; }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-graphe .gl-leg i { border: 0 !important; border-radius: 3px; }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-graphe .gl-leg i.a { background: var(--gr-bar) !important; }
:is(html[data-theme="atelier"], html[data-theme="focus"]) .gr-graphe .gl-leg i.h { background: var(--gr-avant) !important; }
html[data-theme="atelier"] .gr-graphe { --gr-bar: linear-gradient(180deg, #F39A76, #E4572E); --gr-avant: rgba(228, 87, 46, .14); --gr-base: rgba(120, 55, 25, .14); }
html[data-theme="focus"] .gr-graphe { --gr-bar: linear-gradient(180deg, #8EC0FF, #3B82F6); --gr-avant: rgba(127, 178, 255, .14); --gr-base: rgba(255, 255, 255, .1); }

/* CORAIL · accueil : courbe en marches nettes, montant au bout, plus de halo */
.co-fils .cf-ligne { stroke-linejoin: miter; stroke-linecap: butt; stroke-width: 2; filter: none; }
.co-fils .cf-avant { stroke-linejoin: miter; stroke: rgba(255, 255, 255, .5); stroke-dasharray: 2 4; stroke-width: 1.2; }
.co-fils .cf-aire { fill: rgba(255, 255, 255, .12) !important; }
.co-fils .cf-bout { animation: none !important; width: 8px !important; height: 8px !important; margin: 0 0 -4px -4px !important; box-shadow: 0 0 0 2px rgba(214, 80, 40, .9) !important; }
.co-fils .cf-val { position: absolute; transform: translate(-100%, -10px); margin-left: -8px; padding: 2px 7px; border-radius: 6px; background: #fff; color: #C8431E; font-size: 11.5px; font-weight: 600; white-space: nowrap; pointer-events: none; }

/* CORAIL · À décider : quand il y a moins de 3 décisions, l'équipe remplit la place */
.co-decider { display: flex; flex-direction: column; }
.co-veille { margin-top: auto; padding-top: 12px; display: grid; gap: 6px; }
.co-decs + .co-veille, .co-vide + .co-veille { margin-top: 12px; }
.co-veille-t { margin: 0 2px 2px; font-size: 11.5px; color: var(--texte-3); }
.co-veille-l { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .5); text-align: left; cursor: pointer; font: inherit; color: var(--texte); }
.co-veille-l:hover { background: rgba(255, 255, 255, .8); }
.co-veille-l > span:nth-child(2) { flex: 1; min-width: 0; display: grid; } .co-veille-l b { font-size: 13px; font-weight: 600; } .co-veille-l small { font-size: 11.5px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-veille-l em { font-style: normal; font-size: 11.5px; color: var(--texte-2); white-space: nowrap; } .co-veille-l em.souci { color: #B8341A; }
.co-veille-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(160deg, #F39A76, #D9481F); }

/* FOCUS : Suivi et Résultats prennent toute la page, comme les autres thèmes ; la recherche reste dans le cadre */
@media (min-width: 821px) {
  html[data-theme="focus"] body:is([data-ecran="colis"], [data-ecran="resultats"]) .page { left: 26px; right: 26px; }
  html[data-theme="focus"]:not(.plat) body[data-ecran="colis"] .pc-outils { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero .gl-c-tete h2 { color: #fff !important; font-weight: 600; }
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero .gr-part { color: rgba(255, 255, 255, .9) !important; }
html[data-theme="atelier"] .gr-hero .gr-rep i.r-f { background: rgba(130, 35, 8, .32) !important; }
html[data-theme="atelier"] .gr-hero .gr-rep i.r-r { background: rgba(255, 255, 255, .55) !important; }
html[data-theme="atelier"] .gr-hero .gr-rep li i.r-f { background: rgba(130, 35, 8, .4) !important; }
/* le graphique remplit sa carte (plus de vide sous les barres à côté des versements) */
@media (min-width: 821px) {
  html[data-theme] .gr-r2 .gr-graphe { display: flex; flex-direction: column; }
  html[data-theme] .gr-r2 .gr-barres { flex: 1 1 auto; height: auto !important; min-height: 240px; }
}
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero { background: linear-gradient(150deg, rgba(246, 160, 124, .94) 0%, rgba(240, 124, 88, .92) 45%, rgba(226, 90, 54, .94) 100%); }
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero::before { background: radial-gradient(60% 50% at 80% 0%, rgba(255, 255, 255, .4), transparent 70%), linear-gradient(115deg, transparent 52%, rgba(255, 255, 255, .14) 60%, transparent 68%); }
@media (min-width: 821px) { html[data-theme="focus"] body:is([data-ecran="colis"], [data-ecran="resultats"]) .page { top: 100px; } }
/* CORAIL · accueil (v2 du 1/12 soir) : une courbe de tendance douce, sans axe ni montants */
.co-tend .gr-cadre { display: block !important; height: var(--h); }
.co-tend .gr-plot { height: 100%; }
.co-tend .cf-ligne { stroke: #fff; stroke-width: 2.8; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 3px 6px rgba(150, 40, 10, .25)); }
.co-tend .cf-avant { stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; stroke-dasharray: none; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.co-tend .cf-aire { fill: url(#cf-deg-gr-co-jour) !important; }
.co-tend .cf-bout { width: 12px !important; height: 12px !important; margin: 0 0 -6px -6px !important; box-shadow: 0 0 0 5px rgba(255, 255, 255, .25) !important; }
.co-tend-x { display: flex !important; justify-content: space-between; margin: 10px 0 0 !important; font-family: inherit !important; font-size: 11px; color: rgba(255, 255, 255, .7) !important; }

/* === 1/12 soir · SAV plus aéré (tous les thèmes) === */
html[data-theme] body[data-ecran="clients"] .page .pg-tete { margin-bottom: 26px; }
html[data-theme] body[data-ecran="clients"] .sv-liste { display: grid; gap: 12px; }
html[data-theme] body[data-ecran="clients"] .sv-l { padding: 18px 20px !important; gap: 14px !important; border-radius: 20px !important; }
html[data-theme] body[data-ecran="clients"] .sv-l-txt { gap: 6px !important; }
html[data-theme] body[data-ecran="clients"] .sv-l-1 b { font-size: 15px; }
html[data-theme] body[data-ecran="clients"] .sv-l-2 { gap: 8px !important; }
html[data-theme] body[data-ecran="clients"] .sv-l-3, html[data-theme] body[data-ecran="clients"] .sv-l p { line-height: 1.55 !important; }
html[data-theme] body[data-ecran="clients"] .sv-sect { margin: 22px 4px 10px !important; }
html[data-theme] body[data-ecran="clients"] .sv-ok { margin-bottom: 6px; padding: 14px 18px !important; }
html[data-theme] body[data-ecran="clients"] .sv-fil { display: flex; flex-direction: column; gap: 20px !important; }
html[data-theme] body[data-ecran="clients"] .sv-veut, html[data-theme] body[data-ecran="clients"] .sv-rep { padding: 26px 30px !important; }
html[data-theme] body[data-ecran="clients"] .sv-veut > p { font-size: 17px !important; line-height: 1.55 !important; margin: 8px 0 4px !important; max-width: 72ch; }
html[data-theme] body[data-ecran="clients"] .sv-cmd-l { padding: 16px 20px !important; }
html[data-theme] body[data-ecran="clients"] .sv-msg-d > summary { margin: 14px 0 4px; }
html[data-theme] body[data-ecran="clients"] .cv { display: grid; gap: 18px !important; margin-top: 12px; }
html[data-theme] body[data-ecran="clients"] .cv-b { padding: 18px 22px !important; line-height: 1.65 !important; font-size: 15px !important; max-width: min(100%, 640px); }
html[data-theme] body[data-ecran="clients"] .cv-m small { display: block; margin-top: 8px !important; }
html[data-theme] body[data-ecran="clients"] .sv-rep textarea { line-height: 1.7 !important; font-size: 15px !important; padding: 14px 16px !important; }
html[data-theme] body[data-ecran="clients"] .sv-envoi { margin-top: 4px; gap: 12px !important; }
@media (min-width: 821px) {
  html[data-theme] body[data-ecran="clients"] .sv-grille { gap: 32px !important; grid-template-columns: minmax(330px, 400px) minmax(0, 1fr) !important; }
  html[data-theme] body[data-ecran="clients"] .sv-col { padding: 20px !important; }
  html[data-theme] body[data-ecran="clients"] .sv-d-tete { padding: 22px 28px !important; margin-bottom: 20px; gap: 16px !important; }
  html[data-theme] body[data-ecran="clients"] .sv-d-tete h2 { font-size: 26px !important; }
}
@media (max-width: 820px) {
  html[data-theme] body[data-ecran="clients"] .sv-veut, html[data-theme] body[data-ecran="clients"] .sv-rep { padding: 20px 18px !important; }
  html[data-theme] body[data-ecran="clients"] .cv-b { padding: 14px 16px !important; }
  html[data-theme] body[data-ecran="clients"] .sv-veut > p { font-size: 16px !important; }
}
html[data-theme] body[data-ecran="clients"] .sv-fil { display: grid !important; grid-template-columns: minmax(0, 1fr); }
html[data-theme] body[data-ecran="clients"] .sv-fil > * { width: auto !important; max-width: none !important; }
@media (min-width: 821px) { html[data-theme] body[data-ecran="clients"] .sv-d-tete { margin-bottom: 0; } }
html[data-theme="atelier"] body[data-ecran="clients"] .cv-m.cli .cv-b { background: rgba(255, 255, 255, .92) !important; color: var(--texte) !important; border: 1px solid #fff !important; }

/* === 1/12 soir · ÉPURE et CORAIL : barre latérale qu'on peut masquer === */
#barre-repli { display: none; }
@media (min-width: 821px) {
  /* CORAIL : le menu passe sur le côté, comme ÉPURE */
  html[data-theme="atelier"] .h-marque { top: 24px; left: 24px; width: 192px; padding: 14px 16px 0; z-index: 41; }
  html[data-theme="atelier"] body.co-defile .h-marque { opacity: 1; transform: none; pointer-events: auto; }
  html[data-theme="atelier"] .h-marque .marque b { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; }
  html[data-theme="atelier"] .h-marque .marque small { font-size: 11px; letter-spacing: 0; }
  html[data-theme="atelier"] .h-nav { top: 20px; left: 20px !important; right: auto; bottom: 20px; width: 200px; padding: 88px 10px 12px; gap: 3px; border-radius: 28px; flex-direction: column; align-items: stretch; transform: none !important; }
  html[data-theme="atelier"] .h-nav button { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 14px; font-size: 14px; font-weight: 400; text-align: left; color: var(--texte-2); background: transparent; }
  html[data-theme="atelier"] .h-nav button:hover { color: var(--texte); background: rgba(255, 255, 255, .55); }
  html[data-theme="atelier"] .h-nav .nav-ic { margin-top: auto; justify-content: flex-start; }
  html[data-theme="atelier"] .h-nav button.actif { color: #C8431E; font-weight: 500; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px -8px rgba(200, 75, 35, .45), inset 0 0 0 1px rgba(228, 87, 46, .18); }
  html[data-theme="atelier"] .h-nav button.actif::after { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 18px; margin-top: -9px; border-radius: 3px; background: #E4572E; }
  html[data-theme="atelier"] body[data-ecran="qg"] #plat { padding: 28px 30px 120px 246px !important; }
  html[data-theme="atelier"] body:not([data-ecran="qg"]) .page, html[data-theme="atelier"] body:is([data-ecran="clients"], [data-ecran="colis"]) .page { left: 238px !important; right: 20px !important; top: 20px !important; bottom: 20px !important; border-radius: 28px; }
  html[data-theme="atelier"] .h-question { left: calc(50% + 108px); }

  /* le bouton (en haut à droite de la barre) */
  :is(html[data-theme="epure"], html[data-theme="atelier"]) #barre-repli { display: grid; place-items: center; position: fixed; z-index: 60; top: 34px; left: 182px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--texte-3); cursor: pointer; transition: left .28s cubic-bezier(.3, .7, .2, 1), top .28s cubic-bezier(.3, .7, .2, 1), background .15s, color .15s; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) #barre-repli svg { width: 19px; height: 19px; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) #barre-repli:hover { background: rgba(255, 255, 255, .7); color: var(--texte); }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) :is(.h-nav, .h-marque) { transition: transform .28s cubic-bezier(.3, .7, .2, 1), opacity .2s; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) :is(.page, #plat) { transition: left .28s cubic-bezier(.3, .7, .2, 1), padding-left .28s cubic-bezier(.3, .7, .2, 1); }
  /* barre masquée : la page prend toute la largeur */
  :is(html[data-theme="epure"], html[data-theme="atelier"]).sans-barre :is(.h-nav, .h-marque) { transform: translateX(-240px) !important; opacity: 0 !important; pointer-events: none !important; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]).sans-barre #barre-repli { left: 18px; top: 24px; background: rgba(255, 255, 255, .72); color: var(--texte-2); box-shadow: 0 6px 18px -10px rgba(20, 70, 150, .5), inset 0 0 0 1px #fff; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]).sans-barre body:not([data-ecran="qg"]) .page { left: 62px !important; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]).sans-barre body[data-ecran="qg"] #plat { padding-left: 62px !important; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]).sans-barre .h-question { left: 50% !important; }
}

/* === 1/12 nuit · barre d'onglets téléphone : l'onglet choisi n'est plus un bloc blanc en relief, il prend juste la couleur du thème === */
@media (max-width: 820px) {
  html[data-theme] .tabbar button.actif { background: none !important; box-shadow: none !important; color: rgb(var(--acc)); }
  html[data-theme] .tabbar button.actif svg { color: rgb(var(--acc)); filter: none; }
  html[data-theme] .tabbar button.actif span:not(.q-orbe) { color: rgb(var(--acc)); font-weight: 600; }
}

/* === 1/12 nuit · iPhone, lancement : le fond animé (ÉPURE, CORAIL) couvrait seulement l'écran raccourci par le bug iOS 26
   (canvas dimensionné sur innerHeight au démarrage, hauteur CSS auto) → bande en bas pendant le chargement. Hauteur imposée = écran entier + marges. */
@media (max-width: 820px) {
  html[data-theme="epure"] #gl-fond, html[data-theme="atelier"] #co-fond { height: calc(100lvh + 80px + env(safe-area-inset-top) + env(safe-area-inset-bottom)) !important; }
}
@media (min-width: 821px) { :is(html[data-theme="epure"], html[data-theme="atelier"]).sans-barre body:not([data-ecran="qg"]) .page .gl { max-width: none; } }
html.barre-init :is(.page, #plat, .h-nav, .h-marque, #barre-repli) { transition: none !important; }

/* === 1/12 soir · barre latérale : nom plus marquant, plus de trait de couleur sur l'onglet actif === */
.marque b { text-transform: uppercase; } /* FOCUS et téléphone : inchangés (capitales espacées) */
.marque .m-pt { display: none; }
@media (min-width: 821px) {
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-marque .marque { flex-direction: column; align-items: flex-start; gap: 14px; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-marque .m-logo { width: 36px; height: 36px; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-marque .marque b { text-transform: none; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; color: var(--texte); }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-marque .marque small { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 12.5px; color: var(--texte-2); letter-spacing: 0; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-marque .m-dir { display: none; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-marque .m-pt { display: block; width: 7px; height: 7px; border-radius: 50%; background: #22B07D; box-shadow: 0 0 0 3px rgba(34, 176, 125, .18); }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav { padding-top: 140px !important; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]):not(.sans-barre) #barre-repli { top: 44px; }
  /* onglet actif : la pastille blanche suffit, plus de petit trait coloré à gauche */
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button.actif::after { content: none !important; display: none !important; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button.actif { font-weight: 600; }
}

/* === 1/12 soir · barre latérale : icônes + onglet actif teinté (plus d'ombre) === */
.h-nav .nav-i, .h-nav .nav-t { display: none; }
@media (min-width: 821px) {
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button { justify-content: flex-start !important; gap: 12px; padding: 10px 12px !important; border-radius: 12px !important; box-shadow: none !important; border: 0 !important; transition: background .15s, color .15s; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-i { display: grid; place-items: center; width: 20px; height: 20px; flex: none; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-i svg, :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-ic svg { width: 19px; height: 19px; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-t { display: inline; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .badge { margin-left: auto; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:hover:not(.actif) { background: rgba(255, 255, 255, .5) !important; color: var(--texte) !important; }
  html[data-theme="epure"] .h-nav button.actif { background: rgba(46, 107, 240, .11) !important; color: #1E56D6 !important; font-weight: 600; }
  html[data-theme="atelier"] .h-nav button.actif { background: rgba(228, 87, 46, .12) !important; color: #C23F1B !important; font-weight: 600; }
  html[data-theme="epure"] .h-nav button.actif .nav-i svg { stroke-width: 2; }
  html[data-theme="atelier"] .h-nav button.actif .nav-i svg { stroke-width: 2; }
}

/* === 1/12 nuit · fiche d'une commande (3 thèmes) : en-tête et boutons toujours visibles, contenu compact,
   sur téléphone une feuille par-dessus tout avec un voile (le fond ne défile plus) === */
html[data-theme] .p-detail:has(.fe) { display: flex; flex-direction: column; overflow: hidden !important; padding: 0 !important; overscroll-behavior: contain; }
html[data-theme] .p-detail .fe { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; }
html[data-theme] .fe-tete { flex: none; gap: 6px; padding: 18px 64px 12px 20px; }
html[data-theme] .fe-fermer { top: 15px; right: 16px; width: 34px; height: 34px; font-size: 20px; line-height: 1; padding: 0 0 2px; }
html[data-theme] .fe-titre h2 { font-size: 30px; } html[data-theme] .fe-titre b { font-size: 20px; }
html[data-theme] .fe-titre { margin-right: -44px; }
html[data-theme] .fe-corps { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; display: grid; gap: 10px; padding: 2px 20px 14px; }
html[data-theme] .fe-corps::-webkit-scrollbar { display: none; }
html[data-theme] .fe-trajet { padding: 11px 8px 9px; border-radius: 18px; }
html[data-theme] .fe-trajet li { font-size: 11px; gap: 6px; }
html[data-theme] .fe-etat { padding: 10px 14px; border-radius: 16px; font-size: 13.5px; }
html[data-theme] .fe-etat span { font-size: 12.5px; }
html[data-theme] .fe-bloc { padding: 12px 14px; border-radius: 18px; }
html[data-theme] .fe-bloc h3 { margin: 0 0 6px; }
html[data-theme] .fe-art { padding: 3px 0; gap: 11px; } html[data-theme] .fe-art + .fe-art { padding-top: 7px; }
html[data-theme] .fe-art img, html[data-theme] .fe-art .vign { width: 46px; height: 46px; border-radius: 12px; }
html[data-theme] .fe .releve .rl { padding: 4px 0; font-size: 13.5px; }
html[data-theme] .fe .releve .rl.net > b { font-size: 16px; }
html[data-theme] .fe-num { gap: 10px; } html[data-theme] .fe-num .fe-copier { flex: none; text-decoration: none; }
html[data-theme] .fe-actions { flex: none; display: grid; gap: 8px; padding: 12px 20px 18px; border-top: 1px solid rgba(128, 128, 128, .14); }
html[data-theme] .fe-btn { min-height: 44px; font-size: 14px; padding: 0 12px; white-space: nowrap; }
html[data-theme] .fe-duo.un { grid-template-columns: 1fr; }
#voile-fiche { display: none; }
@media (max-width: 820px) {
  html[data-theme] body .p-detail:has(.fe) { left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: auto !important; max-width: none !important;
    max-height: calc(100vh - env(safe-area-inset-top) - 12px) !important; max-height: calc(100dvh - env(safe-area-inset-top) - 12px) !important;
    border-radius: 28px 28px 0 0 !important; padding: 0 !important; z-index: 86 !important; border-bottom: 0 !important; }
  html[data-theme] .fe-actions { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  html[data-theme] .fe-tete { padding: 16px 60px 10px 16px; } html[data-theme] .fe-fermer { top: 13px; right: 14px; }
  html[data-theme] .fe-corps { padding: 2px 16px 12px; } html[data-theme] .fe-actions { padding-left: 16px; padding-right: 16px; }
  html[data-theme] .fe-titre h2 { font-size: 28px; }
  /* le fond ne bouge plus tant qu'une fiche est ouverte */
  html body.fiche { overflow: hidden !important; touch-action: none; }
  html body.fiche .p-detail { touch-action: pan-y; z-index: 86 !important; }
  body.fiche #voile-fiche { display: block; position: fixed; left: 0; right: 0; top: -100px; bottom: -100px; z-index: 85; background: rgba(12, 16, 28, .38); touch-action: none; animation: calVoile .2s ease-out; }
}
html[data-theme] .fe-art b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* PC : la fiche d'une commande s'ouvre au centre avec un voile (plus de fiche posée sur la barre latérale) — sauf sur l'accueil 3D FOCUS, où elle reste à côté de l'univers */
@media (min-width: 821px) {
  :is(html.plat body, html:not(.plat) body:not([data-ecran="qg"])) .p-detail:has(.fe) { position: fixed !important; inset: 0 !important; margin: auto !important; width: 460px !important; max-width: calc(100vw - 48px) !important;
    height: fit-content !important; max-height: calc(100vh - 64px) !important; z-index: 86 !important; }
  :is(html.plat body, html:not(.plat) body:not([data-ecran="qg"])) .p-detail.entre:has(.fe) { animation: feEntre .28s cubic-bezier(.2, .8, .2, 1); }
  :is(html.plat body.fiche, html:not(.plat) body.fiche:not([data-ecran="qg"])):has(.p-detail:not([hidden]) .fe) #voile-fiche { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(12, 16, 28, .32); animation: calVoile .2s ease-out; }
}
@keyframes feEntre { from { opacity: 0; transform: translateY(12px) scale(.98); } }
/* pendant l'écran de chargement, le bouton qui plie la barre latérale ne flotte plus seul en haut à gauche */
body:not(.pret) #barre-repli { visibility: hidden !important; }
html[data-theme] .fe-num .fe-logo { width: 40px !important; height: 40px !important; min-width: 0; padding: 0 !important; border-radius: 12px; overflow: hidden; flex: none; background: #FFCD00; display: grid; place-items: center; }
html[data-theme] .fe-num .fe-logo svg { width: 100%; height: 100%; display: block; }
html[data-theme] .fe-corps { gap: 8px; }
/* la croix : centrée sur la pastille, alignée à droite avec le montant */
html[data-theme] .fe-fermer { top: 14px; right: 20px; }
@media (max-width: 820px) { html[data-theme] .fe-fermer { top: 12px; right: 16px; } }
/* CORAIL PC (accueil) : plus de colonne décalée « pile de feuilles » ; les deux colonnes tombent pile sur les tuiles du milieu (3 + 2) et finissent à la même hauteur */
@media (min-width: 821px) {
  .co4 .co-haut, .co4 .co-bas { grid-template-columns: minmax(0, calc((100% - 64px) * .6 + 32px)) minmax(0, 1fr); align-items: stretch; }
  .co4 .co-bas .co-col.d { padding-top: 0; }
  .co4 :is(.co-haut, .co-bas) .co-col > :last-child { flex: 1 1 auto; }
}
/* ÉPURE PC (accueil) : le haut tombe pile sur les 3 colonnes du bas (Ta journée = 2 colonnes, À décider = 1) ; dans À décider, le bouton passe sous le texte */
@media (min-width: 1081px) {
  html[data-theme="epure"] .gl-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-theme="epure"] .gl-r1 { grid-template-columns: minmax(0, calc((100% - 32px) * 2 / 3 + 16px)) minmax(0, 1fr); }
}
@media (min-width: 1361px) {
  html[data-theme="epure"] .gl-dec { flex-wrap: wrap; row-gap: 10px; } html[data-theme="epure"] .gl-dec-t { flex-basis: calc(100% - 58px); }
  html[data-theme="epure"] .gl-dec .gl-btn { flex: 1; text-align: center; }
}
/* SAV PC : l'aide clavier du bas passait sous les cartes de la liste (texte illisible) */
body[data-ecran="clients"] .pg-pied { display: none; }
/* Résultats PC (3 thèmes) : toutes les rangées sur le même partage que la carte du haut, les cartes tombent les unes sous les autres */
@media (min-width: 1181px) {
  html[data-theme] :is(.gr-r1, .gr-r2, .gr-r3, .gr-r4) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important; }
}
/* Résultats : la note du bas était presque invisible sur les fonds clairs */
:is(html[data-theme="epure"], html[data-theme="atelier"]) .gr-pied { color: var(--texte-2) !important; opacity: 1 !important; }
:is(html[data-theme="epure"], html[data-theme="atelier"]) .gr-cles small, :is(html[data-theme="epure"], html[data-theme="atelier"]) .gr-cles span { white-space: normal; }
.p-detail[hidden] { display: none !important; }
/* FOCUS : voile plus marqué et fiche plus opaque quand elle s'ouvre au centre (le contenu derrière ne transparaît plus) */
html[data-theme="focus"] #voile-fiche { background: rgba(2, 4, 10, .6) !important; }
@media (min-width: 821px) { html[data-theme="focus"] body:not([data-ecran="qg"]) .p-detail:has(.fe) { background: rgba(12, 18, 34, .96) !important; } }
@media (max-width: 820px) { html[data-theme="focus"] body .p-detail:has(.fe) { background: rgba(12, 18, 34, .97) !important; } }
/* téléphone : le logo débordait de 9 px à gauche de la marge (le dessin est plus large que sa case) — il s'aligne maintenant sur le bord des cartes */
@media (max-width: 820px) { .h-marque .m-logo { margin-left: 5px; } .h-marque .marque { gap: 14px; } }
/* SAV téléphone : la liste était décalée de 16 px par rapport au titre (colonne sans fond mais avec marge intérieure) */
@media (max-width: 820px) { html[data-theme] body[data-ecran="clients"] .sv-col { padding-left: 0 !important; padding-right: 0 !important; } }
/* « Ta journée » : les 4 petits chiffres restent sur la même ligne même quand un libellé passe sur 2 lignes (« Au paiement » sur téléphone) */
html[data-theme] .gl-mini { display: flex !important; flex-direction: column; justify-content: space-between; }
html[data-theme] .gl-mini b { margin-top: auto; }
/* « Tes colis » sur téléphone : plus de mini-barres sous chaque étape (1 colis sur 44 = un point qui flottait seul ; la barre du haut montre déjà la répartition) */
@media (max-width: 820px) { html[data-theme] .gl-colis .gl-etapes .gl-et-b { display: none; } }

/* === 2/12 · le logo d'Acolyte (arche + point) remplace l'orbe en haut à gauche de la barre, dans les 3 thèmes ===
   Couleur du thème : arche = --acc (bleu en FOCUS et ÉPURE, corail en CORAIL), point = même teinte plus claire. */
.m-logo .marque-ac { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; pointer-events: none; }
.m-logo .marque-ac .ma-arche { stroke: rgb(var(--acc)); }
.m-logo .marque-ac .ma-point { fill: color-mix(in srgb, rgb(var(--acc)) 55%, #fff); }
/* onglet QG du téléphone : comme les autres icônes (gris), à la couleur du thème quand il est choisi */
.tabbar .tb-orbe { width: 24px !important; height: 24px !important; margin: 0 !important; position: relative; }
.tabbar .tb-orbe .marque-ac { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; pointer-events: none; }
.tabbar .tb-orbe .ma-arche { stroke: currentColor; }
.tabbar .tb-orbe .ma-point { fill: currentColor; opacity: .55; }
.tabbar button.actif .tb-orbe .ma-arche { stroke: rgb(var(--acc)); }
.tabbar button.actif .tb-orbe .ma-point { opacity: 1; fill: color-mix(in srgb, rgb(var(--acc)) 55%, #fff); }

/* === 2/12 · barre latérale PC (ÉPURE / CORAIL) : nouvelles icônes ICO_PC + survol plus travaillé === */
.h-nav .nav-k { display: none; }
@media (min-width: 821px) {
  html[data-theme="epure"] { --nav-acc: 46, 107, 240; --nav-fort: #1E56D6; }
  html[data-theme="atelier"] { --nav-acc: 228, 87, 46; --nav-fort: #C23F1B; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-i > svg:first-child:not(:last-child), :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-ic > svg { display: none; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-i svg { width: 20px !important; height: 20px !important; stroke-width: 1.6; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), color .15s; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-i .f { fill: currentColor; fill-opacity: 0; stroke: none; transition: fill-opacity .2s; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button { position: relative; color: var(--texte-2); }
  /* survol : pastille blanche bordée de la couleur du thème, icône teintée qui se remplit, petit décalage, raccourci clavier à droite */
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:hover:not(.actif) { background: rgba(255, 255, 255, .78) !important; color: var(--texte) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--nav-acc), .16), 0 6px 16px -10px rgba(var(--nav-acc), .55) !important; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:hover .nav-i { color: rgb(var(--nav-acc)); }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:hover .nav-i svg { transform: translateX(1px) scale(1.06); }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:hover .nav-i .f { fill-opacity: .16; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .nav-k { display: inline-grid; place-items: center; margin-left: auto; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; font: 500 11px/1 var(--police, inherit);
    color: rgba(var(--nav-acc), .9); background: rgba(var(--nav-acc), .08); border: 1px solid rgba(var(--nav-acc), .18); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav .badge:not([hidden]) + .nav-k { margin-left: 6px; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:hover .nav-k { opacity: 1; transform: none; }
  /* onglet actif : icône remplie à la couleur du thème */
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button.actif .nav-i { color: var(--nav-fort); }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button.actif .nav-i .f { fill-opacity: .22; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button.actif .nav-i svg { stroke-width: 1.9; }
  :is(html[data-theme="epure"], html[data-theme="atelier"]) .h-nav button:active { transform: scale(.98); }
}

/* === 2/12 · CORAIL : ventes du jour = courbe des ventes cumulées depuis minuit (façon Stripe : trait net, grille discrète) === */
.co-gr { --h: 170px; }
.cg-plot { position: relative; height: var(--h); margin-top: 8px; }
.cg-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cg-l { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.cg-l.z { bottom: 0; border-top-color: rgba(255, 255, 255, .38); }
.cg-l em { position: absolute; right: 0; bottom: 4px; font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .68); }
.cg-ligne { fill: none; stroke: #fff; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cg-avant { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.25; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.cg-aire { fill: rgba(255, 255, 255, .1); stroke: none; }
.cg-bout { position: absolute; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .28); }
.cg-z { position: absolute; top: 0; bottom: 0; width: calc(100% / 24); cursor: default; z-index: 2; }
.cg-v { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid rgba(255, 255, 255, .55); opacity: 0; }
.cg-p { position: absolute; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(217, 72, 31, .5); opacity: 0; }
.cg-b { position: absolute; top: -6px; left: 100%; margin-left: 10px; z-index: 3; display: grid; gap: 1px; padding: 8px 11px; border-radius: 10px; background: #fff; color: #24170F; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(90, 30, 10, .45); opacity: 0; pointer-events: none; transition: opacity .12s; }
.cg-b.g { left: auto; right: 0; margin: 0 10px 0 0; }
.cg-b b { font-size: 15px; font-weight: 600; } .cg-b small { font-size: 11px; color: #7A5E50; }
.cg-z:hover .cg-v, .cg-z:hover .cg-p, .cg-z:hover .cg-b { opacity: 1; }
.cg-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, .7); }
.co-leg i.l-a { width: 14px !important; height: 2px !important; border-radius: 2px !important; background: #fff !important; border: 0 !important; }
.co-leg i.l-h { width: 14px !important; height: 0 !important; border: 0 !important; border-top: 1.5px dashed rgba(255, 255, 255, .7) !important; border-radius: 0 !important; background: none !important; }

/* === 2/12 · CORAIL : « À décider » sur le modèle d'ÉPURE (urgent en rouge foncé, pas rose) === */
html[data-theme="atelier"] { --co-rouge: #D63A33; --co-rouge-f: #B8291F; }
.co-dec-d { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.co4 .co-decider .co-c-t { display: flex; align-items: center; gap: 10px; }
.co-nb { min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, #F07A52, #D9481F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px rgba(217, 72, 31, .75); }
.co-decider.a-urgent .co-nb { background: linear-gradient(180deg, #E04A40, var(--co-rouge-f)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 18px -8px rgba(184, 41, 31, .7); }
.co-urg-n { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--co-rouge-f); background: rgba(214, 58, 51, .08); border: 1px solid rgba(214, 58, 51, .22); white-space: nowrap; }
.co-urg-n svg { width: 13px; height: 13px; flex: none; }
.co4 .co-decs { gap: 10px; }
.co4 .co-dec { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 14px; border-radius: 20px; align-items: center;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -18px rgba(130, 55, 20, .35); }
.co4 .co-dec::before { display: none; }
.co4 .co-dec-v { margin-top: 0; }
.co4 .co-dec-v > img, .co4 .co-dec-v > .logo-t, .co4 .co-dec-v > .dec-pt { border-radius: 13px; }
.co4 .co-dec-t b { font-size: 14px; font-weight: 600; white-space: normal; line-height: 1.3; }
.co4 .co-dec-t small { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co4 .co-dec-b { grid-column: 1 / -1; margin-top: 10px; gap: 10px; }
.co4 .co-dec-b .co-btn { flex: 1; padding: 11px 16px; font-size: 13.5px; text-align: center; background: linear-gradient(180deg, #F07A52, #D9481F) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(217, 72, 31, .7) !important; }
.co4 .co-dec .co-ok { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .85); border: 1px solid rgba(217, 72, 31, .2); }
.co4 .co-dec .co-ok:hover { background: #D9481F; color: #fff; border-color: #D9481F; }
.co-age { color: #A9650A; font-size: 11.5px; }
.co4 .co-dec.urgent { background: linear-gradient(100deg, rgba(214, 58, 51, .08), rgba(255, 255, 255, .72) 60%); border: 1.5px solid rgba(214, 58, 51, .5); box-shadow: 0 12px 26px -18px rgba(184, 41, 31, .5); }
.co4 .co-dec.urgent .co-age { color: var(--co-rouge-f); }
.co4 .co-dec.urgent .co-btn { background: linear-gradient(180deg, #E04A40, var(--co-rouge-f)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px rgba(184, 41, 31, .7) !important; }
.co4 .co-dec.urgent .co-ok { border-color: rgba(214, 58, 51, .25); }
.co-dec-pastille { background: var(--co-rouge, #D63A33) !important; box-shadow: 0 2px 6px rgba(184, 41, 31, .45) !important; }
html[data-theme="atelier"] .co4 .co-decider.a-urgent { background: linear-gradient(180deg, rgba(255, 236, 230, .7), rgba(255, 255, 255, .5) 30%, rgba(255, 255, 255, .42)) !important; }

/* === 2/12 · ÉPURE : rouge urgent : vrai rouge, ni rose ni trop foncé === */
html[data-theme="epure"] { --gl-rouge: #D63A33; --gl-rouge-f: #B8291F; }
html[data-theme="epure"] .gl-urg-n { background: rgba(214, 58, 51, .08); border-color: rgba(214, 58, 51, .22); }
html[data-theme="epure"] .gl-decider.a-urgent .gl-nb { background: linear-gradient(180deg, #E04A40, var(--gl-rouge-f)); box-shadow: 0 8px 18px -8px rgba(184, 41, 31, .7); }
html[data-theme="epure"] .gl-dec-pastille { box-shadow: 0 2px 6px rgba(184, 41, 31, .45); }
html[data-theme="epure"] .gl-dec.urgent, html[data-theme="epure"] .gl-dec.mauvais.urgent { background: linear-gradient(100deg, rgba(214, 58, 51, .08), rgba(255, 255, 255, .66) 60%); border-color: rgba(214, 58, 51, .5); box-shadow: 0 12px 26px -18px rgba(184, 41, 31, .5); }
html[data-theme="epure"] .gl-dec.urgent .gl-btn { background: linear-gradient(180deg, #E04A40, var(--gl-rouge-f)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px rgba(184, 41, 31, .7); }
html[data-theme="epure"] .gl-dec.urgent .gl-btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 26px -8px rgba(184, 41, 31, .85); }
html[data-theme="epure"] .gl-dec.urgent .gl-ok { border-color: rgba(214, 58, 51, .25); }
.cg-plot { margin: 18px 46px 0 0; }
.cg-l em { right: -46px; bottom: auto; top: -7px; width: 40px; text-align: right; }
.cg-x { margin-right: 46px; }

/* === 2/12 · Lancement : le logo se dessine sur le bleu de l'icône, puis on plonge dans l'arche (lancement.js) ===
   Le bleu et le logo sont dans un seul SVG ; le trou dans l'arche laisse voir l'app. Le SVG déborde en bas (bug iOS 26 de l'écran raccourci). */
#lancement.logo, html.plat #lancement.logo, #lancement.logo.part { display: block; background: none !important; transition: none; }
#lancement.logo svg { position: absolute; left: 0; top: 0; overflow: visible; display: block; }

/* === 2/12 · SAV : vue d'ensemble en blocs + téléphone façon messagerie === */
/* la page devient transparente : ce sont les blocs qui portent le verre */
@media (min-width: 821px) {
  html:root body[data-ecran="clients"].sav-blocs .page { background: none !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 14px 6px 40px; }
}
.sh-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.sh-b { grid-column: span 4; min-width: 0; display: flex; flex-direction: column; text-align: left; font: inherit; color: var(--texte); border-radius: 26px; padding: 20px 22px;
  background: var(--verre-fort); border: 1px solid var(--trait); box-shadow: var(--ombre, 0 20px 50px -30px rgba(0, 0, 0, .6)); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); }
html[data-theme="epure"] .sh-b { background: linear-gradient(165deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(120, 170, 235, .25), 0 26px 60px -30px rgba(20, 70, 150, .38); }
html[data-theme="atelier"] .sh-b { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .9); }
button.sh-b { cursor: pointer; } button.sh-b:hover .sh-voir { color: var(--gl-b3); }
.sh-relire { grid-column: span 7; min-height: 290px; } .sh-nuit { grid-column: span 5; } .sh-suivre { grid-column: span 7; } .sh-anc { grid-column: span 5; }
.sh-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sh-t h2 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; } .sh-t h2 em { font-style: normal; font-weight: 400; color: var(--texte-3); margin-left: 4px; }
.sh-voir { font: inherit; font-size: 12.5px; color: var(--texte-2); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; } .sh-voir:hover { color: var(--gl-b3); }
.sh-p { font-size: 12px; color: var(--texte-3); white-space: nowrap; }
.sh-doux { margin: 0; color: var(--texte-2); font-size: 13.5px; line-height: 1.5; } .sh-doux b { color: var(--texte); font-weight: 500; }
.sh-note { margin: auto 0 0; padding-top: 14px; font-size: 12.5px; color: var(--texte-2); line-height: 1.45; } .sh-note b { font-weight: 500; color: var(--texte); }
.sh-gros { font-size: 60px; font-weight: 500; letter-spacing: -.05em; line-height: 1; } .sh-moyen { font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.sh-b .sv-av { width: 36px; height: 36px; flex: none; }
/* À relire */
.sh-rl { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 11px 14px; border-radius: 16px; margin-bottom: 8px; background: rgba(var(--creux, 255, 255, 255), .55); border: 1px solid var(--trait); }
html[data-theme="focus"] .sh-rl { background: rgba(255, 255, 255, .04); }
.sh-rl.urg { box-shadow: inset 3px 0 0 var(--gl-alerte); } .sh-rl:hover { border-color: rgba(var(--acc), .4); }
.sh-rl-t { flex: 1; min-width: 0; display: grid; gap: 2px; } .sh-rl-t b { font-weight: 500; font-size: 14px; } .sh-rl-t small { font-size: 12.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-tag { font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 20px; background: rgba(var(--acc), .12); color: var(--gl-b3); margin-left: 8px; vertical-align: 1px; white-space: nowrap; }
.sh-btn { margin-top: auto; width: 100%; padding: 13px; border: 0; border-radius: 14px; font: inherit; font-weight: 500; cursor: pointer; background: var(--prim-bg); color: var(--prim-tx); }
html:is([data-theme="epure"], [data-theme="atelier"]) .sh-btn { background: var(--gl-b3); color: #fff; box-shadow: 0 10px 24px -12px var(--gl-b3); }
.sh-calme { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.sh-ok { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.sh-ok i { width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgba(var(--acc), .1); display: grid; place-items: center; } .sh-ok i::after { content: ''; width: 12px; height: 7px; border-left: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: rotate(-45deg) translate(1px, -1px); }
/* carte profonde : temps de réponse */
html:root .sh-b.sh-nuit { background: linear-gradient(160deg, var(--gl-b3) -20%, var(--gl-nuit) 75%); color: #fff; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 70px -30px var(--gl-nuit); }
.sh-nuit .sh-t h2 { color: rgba(255, 255, 255, .9); } .sh-nuit .sh-p, .sh-nuit .sh-doux { color: rgba(255, 255, 255, .72); }
.sh-evol { align-self: flex-start; margin: 12px 0 8px; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 20px; background: rgba(255, 255, 255, .14); color: #fff; }
.sh-rel { margin-top: auto; padding-top: 14px; } .sh-rel div { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 13.5px; }
.sh-rel span { color: rgba(255, 255, 255, .8); white-space: nowrap; } .sh-rel i { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .3); } .sh-rel b { font-weight: 500; }
.sh-rel .tot { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 4px; padding-top: 11px; } .sh-rel .tot span { color: #fff; font-weight: 500; }
/* mails par semaine */
.sh-chif { display: flex; gap: 24px; margin-bottom: 10px; } .sh-chif b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.03em; } .sh-chif span { font-size: 12px; color: var(--texte-2); }
.sh-barres { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.sh-barres button { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.sh-duo { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.sh-duo i { width: 40%; max-width: 16px; min-height: 3px; border-radius: 5px 5px 2px 2px; background: var(--gl-b3); } .sh-duo i.r { background: var(--gl-b2); opacity: .75; }
.sh-barres small { font-size: 10.5px; color: var(--texte-3); white-space: nowrap; height: 13px; } .sh-barres .ici small { color: var(--gl-b3); font-weight: 600; }
.sh-leg { display: flex; gap: 14px; margin: 12px 0 0; font-size: 12px; color: var(--texte-2); } .sh-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: var(--gl-b3); } .sh-leg i.r { background: var(--gl-b2); opacity: .75; }
/* motifs */
.sh-motif { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; align-items: center; width: 100%; padding: 7px 0; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.sh-motif b { font-weight: 500; font-size: 13.5px; } .sh-motif span { font-size: 13px; color: var(--texte-2); } .sh-motif:hover b { color: var(--gl-b3); }
.sh-motif s { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(var(--acc), .1); overflow: hidden; text-decoration: none; } .sh-motif s i { display: block; height: 100%; border-radius: 4px; background: var(--gl-b3); }
/* Léa */
.sh-anneau { display: flex; align-items: center; gap: 18px; } .sh-anneau svg { width: 92px; height: 92px; flex: none; } .sh-anneau .sh-fond { stroke: rgba(var(--acc), .1); }
.sh-anneau text { font: 500 20px 'Geist', system-ui, sans-serif; fill: var(--texte); }
.sh-l { flex: 1; min-width: 0; } .sh-l div { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; } .sh-l i { width: 9px; height: 9px; border-radius: 3px; flex: none; } .sh-l b { margin-left: auto; font-weight: 500; padding-left: 10px; }
/* listes */
.sh-li { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--trait); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sh-t + .sh-li { border-top: 0; } .sh-li span:not(.sv-av) { flex: 1; min-width: 0; display: grid; gap: 1px; } .sh-li b { font-weight: 500; } .sh-li small { font-size: 12.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-li time { font-size: 12px; color: var(--texte-3); white-space: nowrap; } .sh-li:hover b { color: var(--gl-b3); }
.sh-retour { font: inherit; font-size: 13px; color: var(--texte-2); background: none; border: 0; padding: 0; margin: 0 0 10px; cursor: pointer; } .sh-retour:hover { color: var(--gl-b3); }
@media (min-width: 821px) and (max-width: 1180px) { .sh-grille > .sh-b { grid-column: span 6; } .sh-grille > .sh-relire, .sh-grille > .sh-nuit { grid-column: span 12; } }

/* ---------- téléphone ---------- */
@media (max-width: 820px) {
  .sh-grille { grid-template-columns: 1fr; gap: 12px; } .sh-grille > .sh-b { grid-column: auto; border-radius: 22px; padding: 16px; }
  .sh-relire { min-height: 0; } .sh-gros { font-size: 46px; } .sh-barres { height: 110px; gap: 5px; }
  .sh-rl { padding: 10px 12px; } .sh-rl-t b .sh-tag { display: none; }

  /* la liste des messages : lignes serrées comme une boîte mail, plus de grosses cartes */
  .sm-titre { margin: 0 0 12px; font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
  html:root body[data-ecran="clients"] .sv-liste { gap: 0; padding: 0; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l { background: none !important; border: 0 !important; border-bottom: 1px solid var(--trait) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    margin: 0 !important; padding: 11px 2px !important; gap: 12px; align-items: center; opacity: 1 !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l::before { display: none; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l .sv-av { width: 40px; height: 40px; font-size: 13px; filter: none; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sv-av { opacity: .7; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-txt { gap: 2px; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 b { font-size: 15px; font-weight: 600; } html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sv-l-1 b { font-weight: 500; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-2 { gap: 6px; font-size: 12px; } html:root body[data-ecran="clients"] .sv-liste .sv-l-2 .sv-cat { padding: 1px 7px; font-size: 11px; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 time { color: var(--texte-2); font-size: 11px; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-2 { display: none; } /* le motif se voit dans la conversation : ici, nom + une ligne, comme une boîte mail */
  html:root body[data-ecran="clients"] .sv-liste .sv-l-txt em { -webkit-line-clamp: 1; font-size: 13px; color: var(--texte-2); }
  html:root body[data-ecran="clients"] .sv-liste .sv-sect { margin: 16px 0 2px; }
  html:root body[data-ecran="clients"] .sv-filtres { margin-bottom: 6px; }

  /* une conversation : en-tête fin collé en haut, le fil en pleine largeur, la réponse en bas */
  .sm { margin: calc(-6px - env(safe-area-inset-top)) -16px 0; padding: 0 12px; }
  .sm-tete { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 10px; margin: 0 -12px; padding: calc(8px + env(safe-area-inset-top)) 12px 10px;
    background: var(--barre); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--trait); }
  .sm-dos { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--gl-b3); font: 400 30px/1 'Geist', system-ui, sans-serif; padding: 0 0 4px; cursor: pointer; }
  .sm-tete .sv-av { width: 36px; height: 36px; font-size: 12px; flex: none; }
  .sm-qui { flex: 1; min-width: 0; display: grid; } .sm-qui b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-qui small { font-size: 12px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-tete .sv-attend, .sm-tete .pastille { flex: none; font-size: 11.5px; }
  .sm-rang { margin: 8px 2px 0; font-size: 11.5px; color: var(--texte-3); text-align: center; }
  .sm-veut { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(var(--acc), .08); font-size: 13.5px; line-height: 1.45; color: var(--texte); }
  .sm-veut span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-b3); margin-bottom: 2px; }
  html:root body[data-ecran="clients"] .sm .sv-cmd-bloc { margin: 8px 0 0; border-radius: 14px; }
  html:root body[data-ecran="clients"] .sm .sv-cmd-l { padding: 8px 10px; min-height: 0; }
  /* les bulles : le client à gauche, toi à droite, texte lisible */
  .sm-conv { margin-top: 14px; }
  html:root body[data-ecran="clients"] .sm-conv .cv { gap: 12px; margin: 0; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m { max-width: 86%; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.cli { align-self: flex-start; align-items: flex-start; margin-right: auto; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.moi { align-self: flex-end; align-items: flex-end; margin-left: auto; }
  html:root body[data-ecran="clients"] .sm-conv .cv-b { font-size: 15px; line-height: 1.45; padding: 10px 13px; border-radius: 18px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.cli .cv-b { border-bottom-left-radius: 5px; } html:root body[data-ecran="clients"] .sm-conv .cv-m.moi .cv-b { border-bottom-right-radius: 5px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m small { font-size: 11px; margin-top: 3px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-avant summary { font-size: 12.5px; text-align: center; color: var(--gl-b3); padding: 4px 0 8px; list-style: none; }
  /* la réponse de Léa : un brouillon à droite, à relire puis envoyer */
  .sm-rep { margin: 16px 0 0 8%; }
  .sm-rep-t { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--gl-b3); margin: 0 4px 5px; } .sm-rep-t span { font-weight: 400; color: var(--texte-3); }
  html:root body[data-ecran="clients"] .sm-rep textarea { display: block; width: 100%; min-height: 220px; font: 15px/1.45 'Geist', system-ui, sans-serif; color: var(--texte); padding: 11px 13px; border-radius: 18px 18px 5px 18px;
    background: rgba(var(--acc), .07); border: 1.5px dashed rgba(var(--acc), .45); box-shadow: none; resize: vertical; }
  html:root body[data-ecran="clients"] .sm-rep textarea:focus { outline: none; border-style: solid; background: var(--boite); }
  html:root body[data-ecran="clients"] .sm-rep .sv-aides { justify-content: flex-end; margin: 0 0 6px; }
  .sm-envoi { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 5; display: flex; gap: 8px; margin: 12px -4px 0; padding: 8px; border-radius: 20px;
    background: var(--barre); border: 1px solid var(--trait); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .35); }
  .sm-envoi .pg-btn { margin: 0; } .sm-envoi .prim { flex: 1; } html:is([data-theme="epure"], [data-theme="atelier"]) .sm-envoi .prim { background: var(--gl-b3); color: #fff; border-color: transparent; }
  html:root body[data-ecran="clients"] .sm .sm-sec { display: block; margin: 14px auto 0; font-size: 12.5px; color: var(--texte-2); opacity: 1; background: none; border: 0; }
  .sm-note { margin: 14px 0 0; font-size: 12px; color: var(--texte-3); text-align: center; }
}

/* === 2/12 · SAV téléphone lisible : tout sur des blocs calmes, Envoyer collé au-dessus des onglets === */
@media (max-width: 820px) {
  html { --sm-fond: rgba(12, 18, 34, .86); --sm-bulle: rgba(255, 255, 255, .08); }
  html[data-theme="epure"] { --sm-fond: rgba(255, 255, 255, .86); --sm-bulle: #EAF1FC; }
  html[data-theme="atelier"] { --sm-fond: rgba(255, 252, 249, .88); --sm-bulle: #F4EAE3; }
  /* la liste des messages dans un bloc, comme une boîte mail */
  html:root body[data-ecran="clients"] .sv-liste { background: var(--sm-fond); border: 1px solid var(--trait); border-radius: 22px; padding: 2px 14px; backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:last-child { border-bottom: 0 !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-sect { margin: 14px 0 0; }
  html:root body[data-ecran="clients"] .sv-liste .sv-ok { margin: 12px 0; }
  /* la conversation et la réponse sur un même panneau, à l'abri du fond animé */
  .sm-panneau { margin-top: 10px; padding: 14px 12px 16px; border-radius: 22px; background: var(--sm-fond); border: 1px solid var(--trait); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); }
  .sm-panneau .sm-conv { margin-top: 0; }
  html:root body[data-ecran="clients"] .sm-panneau .cv-m.cli .cv-b { background: var(--sm-bulle) !important; border: 0 !important; box-shadow: none !important; color: var(--texte) !important; }
  html:root body[data-ecran="clients"] .sm-panneau .cv-m small { color: var(--texte-2); }
  .sm-panneau .sm-rep { margin: 18px 0 0 6%; padding-top: 14px; border-top: 1px solid var(--trait); }
  .sm-veut { background: var(--sm-fond); border: 1px solid var(--trait); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  /* Envoyer / Copier : toujours juste au-dessus des onglets, sous le pouce */
  .sm.a-envoyer { padding-bottom: 86px; }
  .sm-envoi { position: fixed; left: 14px; right: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); margin: 0; z-index: 39; background: var(--sm-fond); }
}

/* === 2/12 · SAV téléphone : blocs presque bord à bord (6 px du bord) === */
@media (max-width: 820px) {
  body[data-ecran="clients"] .sh-grille { margin-left: -10px; margin-right: -10px; }
  html:root body[data-ecran="clients"] .sv-liste { margin-left: -10px; margin-right: -10px; }
  .sm { padding: 0 6px; }
  .sm-tete { margin: 0 -6px; padding-left: 12px; padding-right: 12px; }
  .sm-envoi { left: 6px; right: 6px; }
}

/* === 2/12 · SAV téléphone : 10 px du bord, barre du haut fixe, réponse de Léa en entier avec Envoyer dessous === */
@media (max-width: 820px) {
  body[data-ecran="clients"] .sh-grille { margin-left: -6px; margin-right: -6px; }
  html:root body[data-ecran="clients"] .sv-liste { margin-left: -6px; margin-right: -6px; }
  .sm { padding: calc(52px + env(safe-area-inset-top)) 10px 0; }
  /* la barre du client reste collée tout en haut de l'écran, elle ne descend plus */
  .sm-tete { position: fixed; top: 0; left: 0; right: 0; z-index: 45; margin: 0; padding: calc(8px + env(safe-area-inset-top)) 12px 10px; }
  html[data-theme="epure"] .sm-tete { background: rgba(246, 250, 255, .96); }
  html[data-theme="atelier"] .sm-tete { background: rgba(255, 250, 246, .96); }
  html[data-theme="focus"] .sm-tete { background: rgba(8, 12, 24, .96); }
  /* la réponse de Léa en entier, sans défiler dedans */
  html:root body[data-ecran="clients"] .sm-rep textarea { min-height: 120px; overflow: hidden; resize: none; }
  /* Envoyer / Copier juste sous la réponse */
  .sm.a-envoyer { padding-bottom: 0; }
  .sm .sm-envoi { position: static; margin: 10px 0 0 6%; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sm .sm-envoi .prim { padding-top: 13px; padding-bottom: 13px; }
  .sm .sm-sec { margin-bottom: 24px; }
}

/* === 2/12 · SAV : le sujet en titre, le client dessous ; boutons retour centrés === */
.sh-retour { display: inline-flex; align-items: center; gap: 4px; -webkit-tap-highlight-color: transparent; }
.sh-retour svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 820px) {
  .sh-retour { margin: 0 0 8px -6px; padding: 6px 12px 6px 6px; border-radius: 20px; font-size: 14px; color: var(--gl-b3); }
  .sh-retour:active { background: rgba(var(--acc), .1); }
  .sm-dos { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; margin-left: -6px; -webkit-tap-highlight-color: transparent; }
  .sm-dos svg { width: 22px; height: 22px; display: block; }
  .sm-dos:active { background: rgba(var(--acc), .12); }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 b { flex: 1; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 :is(time, .sv-attend) { flex: none; }
  .sm-l-qui { display: block; font-size: 13px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-l-qui .num { font-size: 12px; }
  .sm-l-qui .sv-attend { margin-left: 4px; font-size: 11px; vertical-align: 1px; }
}

/* === 2/12 · SAV téléphone : messages déjà traités grisés, ceux à relire bien visibles === */
@media (max-width: 820px) {
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) { opacity: 1 !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sv-l-1 b { color: var(--texte-3); font-weight: 500; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sm-l-qui, html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) time { color: var(--texte-3); }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sv-av { opacity: .45; filter: grayscale(1); box-shadow: none; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .t-rouge { color: var(--texte-3) !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l.attend .sv-l-1 b { color: var(--texte); font-weight: 600; }
}

/* === 2/12 · logos (Gmail, La Poste) toujours centrés dans leur carré, dans tous les thèmes et toutes les tailles ===
   Des règles de vignette (.gl-dec-v en ÉPURE, .co-dec-v en CORAIL…) mettaient le carré en display: block : le logo partait en haut à gauche.
   Ici, plus aucune règle ne peut casser le centrage. */
html:root .logo-t { display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; padding: 0 !important; line-height: 0 !important; flex: none !important; box-sizing: border-box; }
html:root .logo-t > svg { flex: none !important; margin: 0 !important; position: static !important; display: block !important; transform: none !important; }
html:root .logo-t.logo-gmail > svg { width: 56% !important; height: 56% !important; }
html:root .logo-t.logo-laposte > svg { width: 100% !important; height: 100% !important; }

/* === 2/12 · Barre latérale PC : sections du SAV sous « SAV » (ÉPURE et CORAIL) === */
.nav-sous { display: none; }
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous { display: flex; flex-direction: column; gap: 1px; margin: 0 0 6px 30px; padding-left: 10px; border-left: 1px solid var(--trait); }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous button { display: block; width: 100%; text-align: left; padding: 6px 10px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--texte-2) !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous button::after { display: none !important; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous button:hover { color: var(--texte) !important; background: rgba(var(--acc), .06) !important; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous button.actif { color: rgb(var(--acc)) !important; font-weight: 500 !important; }
  /* hors de la page SAV, les sections restent discrètes */
  html:is([data-theme="epure"], [data-theme="atelier"]) body:not([data-ecran="clients"]) .h-nav .nav-sous button.actif { color: var(--texte-2) !important; font-weight: 400 !important; }
}

/* === 2/12 · GRILLE ÉPURE : 12 colonnes, gouttière 16 px, mêmes bords sur toutes les pages (246 → 1410 px sur un écran de 1440), espaces en multiples de 8 — vérifié aux règles et repères (maquettes/regles/) === */
:root { --pas: 8px; --gout: 16px; }

@media (min-width: 821px) {
  /* 1. Toutes les pages ont les mêmes bords que l'accueil */
  html[data-theme="epure"] #page { padding-left: 8px !important; padding-right: 10px !important; }
  html[data-theme="epure"] #page > * { margin-left: 0 !important; margin-right: 0 !important; }
  /* barre latérale pliée : l'accueil commence à 62 px, les pages aussi (54 + 8) */
  html[data-theme="epure"].sans-barre body:not([data-ecran="qg"]) .page { left: 54px !important; }
  /* Team et Réglages : la page entière est un panneau de verre → c'est le panneau qui se cale sur 246 / 1410, le texte garde 24 px d'air */
  html[data-theme="epure"] body:is([data-ecran="team"], [data-ecran="reglages"]) #page { left: 246px !important; right: 30px !important; padding: 24px 24px 40px !important; }
  html[data-theme="epure"].sans-barre body:is([data-ecran="team"], [data-ecran="reglages"]) #page { left: 62px !important; }

  /* 2. En-tête de l'accueil : la pastille du brief, le virement et le calendrier touchent le bord des cartes */
  html[data-theme="epure"] .gl-tete { padding-left: 0 !important; padding-right: 0 !important; }
  html[data-theme="epure"] .gl-brief-mini { right: 0 !important; }
  html[data-theme="epure"] .gr-tete { padding-left: 0 !important; padding-right: 0 !important; }
  /* le haut du contenu au même niveau que le haut de la barre latérale (20 px) */
  html[data-theme="epure"] #plat { padding-top: 20px !important; }
  html[data-theme="epure"] #page { padding-top: 20px !important; }

  /* 3. Résultats : mêmes colonnes que l'accueil (8 + 4) et même gouttière partout */
  html[data-theme="epure"] .gl.gr { gap: var(--gout) !important; }
  html[data-theme="epure"] :is(.gr-r1, .gr-r2, .gr-r3, .gr-r4, .gr-r3-g) { gap: var(--gout) !important; }
  html[data-theme="epure"] .gr-kpis { gap: var(--gout) !important; }

  /* 4. SAV, Team, Réglages : même gouttière de 16 px */
  html[data-theme="epure"] :is(.sh-grille, .tm-grille, .tm-bas) { gap: var(--gout) !important; }
  html[data-theme="epure"] .rs-carte.rg { margin-top: var(--gout) !important; }
}
/* Résultats sur grand écran : les rangées posées sur les 12 colonnes, 7 + 5 (le partage d'avant, mais sur la grille) */
@media (min-width: 1181px) {
  html[data-theme="epure"] :is(.gr-r1, .gr-r2, .gr-r3, .gr-r4) { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  html[data-theme="epure"] :is(.gr-r1, .gr-r2, .gr-r3, .gr-r4) > :first-child { grid-column: span 7; }
  html[data-theme="epure"] :is(.gr-r1, .gr-r2, .gr-r3, .gr-r4) > :last-child:not(:first-child) { grid-column: span 5; }
  html[data-theme="epure"] :is(.gr-r1, .gr-r2, .gr-r3, .gr-r4) > :only-child { grid-column: 1 / -1; }
}

/* 5. Boutons d'une décision : le bouton et la coche ont la même hauteur (40 px = 5 pas) */
html[data-theme="epure"] .gl-dec .gl-btn { height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
html[data-theme="epure"] .gl-dec .gl-ok { width: 40px !important; height: 40px !important; }

/* 6. Téléphone : un seul espace entre les blocs (16 px), 12 px dans les grilles de tuiles */
@media (max-width: 820px) {
  html[data-theme="epure"] .gl.gr { gap: var(--gout) !important; }
  html[data-theme="epure"] .gr-kpis { gap: 12px !important; }
}

/* === 2/12 · SAV ordinateur : la fiche du téléphone, en deux colonnes — liste à gauche, conversation à droite === */
@media (min-width: 821px) {
  html { --sm-fond: rgba(12, 18, 34, .84); --sm-bulle: rgba(255, 255, 255, .08); }
  html[data-theme="epure"] { --sm-fond: rgba(255, 255, 255, .84); --sm-bulle: #EAF1FC; }
  html[data-theme="atelier"] { --sm-fond: rgba(255, 252, 249, .86); --sm-bulle: #F4EAE3; }
  html:root body[data-ecran="clients"] .pg-pied { display: none; }
  html:root body[data-ecran="clients"] .sh-retour + .pg-tete { margin-bottom: 14px; } html:root body[data-ecran="clients"] .sh-retour + .pg-tete h1 { font-size: 32px; }
  html:root body[data-ecran="clients"] .sv-grille { display: grid !important; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) !important; gap: 20px !important; align-items: start; height: auto !important; }
  html:root body[data-ecran="clients"] .sv-col { position: sticky; top: 0; max-height: calc(100vh - 150px); display: flex; flex-direction: column; min-height: 0; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  html:root body[data-ecran="clients"] .sv-filtres { margin: 0 0 10px; flex: none; }
  /* la liste : un bloc, une ligne par client, comme une boîte mail */
  html:root body[data-ecran="clients"] .sv-liste { flex: 1; min-height: 0; overflow: auto; background: var(--sm-fond) !important; border: 1px solid var(--trait) !important; border-radius: 22px; padding: 4px 12px !important; gap: 0 !important;
    backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .35); scrollbar-width: thin; }
  html:root body[data-ecran="clients"] .sv-liste .sv-sect { margin: 14px 6px 4px; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: 0 !important; padding: 11px 8px !important; border: 0 !important; border-bottom: 1px solid var(--trait) !important;
    border-radius: 12px !important; background: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; opacity: 1 !important; cursor: pointer; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l::before { display: none !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:last-child { border-bottom: 0 !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:hover { background: rgba(var(--acc), .05) !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l.actif { background: rgba(var(--acc), .1) !important; border-bottom-color: transparent !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-av { width: 38px; height: 38px; font-size: 12.5px; flex: none; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 b { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l-1 time { flex: none; font-size: 11.5px; color: var(--texte-2); font-family: inherit; }
  .sm-l-qui { display: block; font-size: 12.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sm-l-qui .sv-attend { margin-left: 4px; font-size: 11px; }
  /* déjà traités : en gris */
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sv-l-1 b { color: var(--texte-3); font-weight: 500; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) :is(.sm-l-qui, time, .t-rouge) { color: var(--texte-3) !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l:not(.attend) .sv-av { opacity: .45; filter: grayscale(1); box-shadow: none; }
  html:root body[data-ecran="clients"] .sv-liste .sv-l.actif:not(.attend) .sv-l-1 b { color: var(--texte); }

  /* la conversation : une colonne posée, rien autour */
  html:root body[data-ecran="clients"] .sv-dossier { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; overflow: visible !important; max-height: none !important; }
  .sm { padding: 0; }
  .sm-tete { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 20px; background: var(--sm-fond); border: 1px solid var(--trait);
    backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .35); }
  .sm-dos { display: none; }
  .sm-tete .sv-av { width: 44px; height: 44px; font-size: 14px; flex: none; }
  .sm-qui { flex: 1; min-width: 0; display: grid; gap: 1px; } .sm-qui b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; } .sm-qui small { font-size: 13px; color: var(--texte-2); }
  .sm-tete .sv-attend, .sm-tete .pastille { flex: none; }
  .sm-rang { display: none; }
  .sm-veut { margin: 12px 0 0; padding: 14px 18px; border-radius: 18px; background: var(--sm-fond); border: 1px solid var(--trait); font-size: 14.5px; line-height: 1.5; color: var(--texte); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .sm-veut span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gl-b3); margin-bottom: 3px; }
  html:root body[data-ecran="clients"] .sm .sv-cmd-bloc { margin: 10px 0 0; border-radius: 18px; }
  .sm-panneau { margin-top: 12px; padding: 22px 24px 24px; border-radius: 22px; background: var(--sm-fond); border: 1px solid var(--trait); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .35); }
  /* client à gauche, nous tout à droite */
  html:root body[data-ecran="clients"] .sm-conv .cv { display: flex; flex-direction: column; gap: 14px; margin: 0; max-width: none !important; width: 100%; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m { max-width: min(68%, 640px) !important; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.cli { align-self: flex-start; align-items: flex-start; margin-right: auto; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.moi { align-self: flex-end; align-items: flex-end; margin-left: auto; }
  html:root body[data-ecran="clients"] .sm-conv .cv-b { font-size: 14.5px; line-height: 1.55; padding: 12px 16px; border-radius: 18px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.cli .cv-b { background: var(--sm-bulle) !important; border: 0 !important; box-shadow: none !important; color: var(--texte) !important; border-bottom-left-radius: 5px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m.moi .cv-b { border-bottom-right-radius: 5px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-m small { font-size: 11.5px; color: var(--texte-2); margin-top: 4px; }
  html:root body[data-ecran="clients"] .sm-conv .cv-avant summary { font-size: 12.5px; text-align: center; color: var(--gl-b3); padding: 4px 0 10px; list-style: none; cursor: pointer; }
  /* la réponse de Léa : à droite, en entier, avec Envoyer juste dessous */
  .sm-rep { width: min(68%, 640px); margin: 22px 0 0 auto; padding-top: 0; border: 0; }
  .sm-panneau .sm-conv + .sm-rep { border-top: 0; }
  .sm-rep-t { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; font-size: 12px; font-weight: 600; color: var(--gl-b3); margin: 0 4px 6px; } .sm-rep-t span { font-weight: 400; color: var(--texte-3); }
  html:root body[data-ecran="clients"] .sm-rep textarea { display: block; width: 100%; min-height: 140px; overflow: hidden; resize: none; font: 14.5px/1.55 'Geist', system-ui, sans-serif; color: var(--texte); padding: 14px 16px;
    border-radius: 18px 18px 5px 18px; background: rgba(var(--acc), .06); border: 1.5px dashed rgba(var(--acc), .45); box-shadow: none; }
  html:root body[data-ecran="clients"] .sm-rep textarea:focus { outline: none; border-style: solid; background: var(--boite); }
  html:root body[data-ecran="clients"] .sm-rep .sv-aides { justify-content: flex-end; margin: 0 0 8px; }
  .sm .sm-envoi { position: static; width: min(68%, 640px); margin: 10px 0 0 auto; display: flex; gap: 8px; padding: 0; background: none; border: 0; box-shadow: none; }
  .sm .sm-envoi .pg-btn { margin: 0; } .sm .sm-envoi .prim { flex: 1; padding-top: 12px; padding-bottom: 12px; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .sm-envoi .prim { background: var(--gl-b3); color: #fff; border-color: transparent; }
  html:root body[data-ecran="clients"] .sm .sm-sec { display: block; margin: 14px 0 24px auto; font-size: 12.5px; color: var(--texte-2); background: none; border: 0; }
  .sm-note { margin: 14px 0 0; font-size: 12px; color: var(--texte-3); text-align: center; }
}

/* === 2/12 · CORAIL : courbes douces (plus de barres sur l'accueil) et un seul orange pour les blocs pleins === */
/* courbe : pas de grille ni de montants, juste la tendance ; le montant au survol */
.co-gr.cc .cg-plot { margin: 14px 0 0; }
.co-gr.cc .cg-x { margin-right: 0; }
.co-gr .cg-plot { margin-right: 0; }
.co-gr .cg-x { margin-right: 0; }
.co-gr.cc .cg-ligne { stroke-width: 2.5; }
.co-gr.cc.blanc .cc-s1 { stop-color: #fff; stop-opacity: .3; } .co-gr.cc.blanc .cc-s2 { stop-color: #fff; stop-opacity: 0; }
.co-gr.cc.corail .cg-ligne { stroke: #E4572E; }
.co-gr.cc.corail .cc-s1 { stop-color: #EE7A52; stop-opacity: .26; } .co-gr.cc.corail .cc-s2 { stop-color: #EE7A52; stop-opacity: 0; }
.co-gr.cc.corail .cg-bout { background: #E4572E; box-shadow: 0 0 0 4px rgba(228, 87, 46, .18); }
.co-gr.cc.corail .cg-v { border-left-color: rgba(228, 87, 46, .35); }
.co-gr.cc.corail .cg-p { background: #E4572E; box-shadow: 0 0 0 3px #fff; }
.co-gr.cc.corail .cg-x { color: #8A6E60; }
.co-gr.cc .cg-x { font-size: 11.5px; }
.cc-z { position: absolute; top: 0; bottom: 0; z-index: 2; }
.cc-z .cg-v, .cc-z .cg-p { left: 50%; }
.cc-z .cg-b { left: 50%; } .cc-z .cg-b.g { left: auto; right: 50%; }
.cc-z:hover .cg-v, .cc-z:hover .cg-p, .cc-z:hover .cg-b { opacity: 1; }
.co-mini.c { display: block; height: 34px; gap: 0; }
.co-mini-c { display: block; width: 100%; height: 100%; overflow: visible; }
.co-mini-c .l { fill: none; stroke: #E4572E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.co-mini-c .a { fill: rgba(238, 122, 82, .16); stroke: none; }

/* un seul orange : celui du grand bloc du QG, partout (QG, Résultats, SAV, brief) — plus d'orange-noir */
html[data-theme="atelier"] {
  --co-plein: linear-gradient(155deg, #F48A63 0%, #EB6A42 45%, #DD5430 100%);
  --co-plein-ombre: inset 0 1.5px 1px rgba(255, 255, 255, .55), inset 0 -26px 44px -32px rgba(255, 255, 255, .45), 0 30px 60px -30px rgba(200, 60, 20, .55);
}
html[data-theme="atelier"] .co .co-hero,
html[data-theme="atelier"] .co .co-k.co-net,
html[data-theme="atelier"] .gl-c.gl-profond,
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero,
html[data-theme="atelier"] .bf-t.profond,
html:root[data-theme="atelier"] .sh-b.sh-nuit {
  background: var(--co-plein) !important; color: #fff; border-color: rgba(255, 255, 255, .55) !important;
  box-shadow: var(--co-plein-ombre) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
}
html[data-theme="atelier"] .gl-c.gl-profond.gr-hero::before { background: radial-gradient(60% 50% at 80% 0%, rgba(255, 255, 255, .22), transparent 70%); }
html[data-theme="atelier"] .co .co-k.co-net::before { background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, .3)); }
html[data-theme="atelier"] .co .co-k.co-net::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .2), transparent 70%); }
.co-gr.cc.blanc .cc-s1 { stop-opacity: .38; } .co-gr.cc.corail .cc-s1 { stop-opacity: .32; }
.co .co-k.co-net .co-part .p-n { background: #fff; }
.co .co-k.co-net .co-part .p-x { background: rgba(255, 255, 255, .28); } .co .co-k.co-net .co-part .p-f { background: rgba(255, 255, 255, .4); } .co .co-k.co-net .co-part .p-c { background: rgba(255, 255, 255, .55); }
html[data-theme="atelier"] .co-k.co-net :is(.evo.t-vert, .evo.t-rouge) { color: #fff; }
html[data-theme="atelier"] .co-k.co-net small, html[data-theme="atelier"] .co-k.co-net > span { color: rgba(255, 255, 255, .9); }

/* === 2/12 · SAV ordinateur en vraie page : la liste et la conversation défilent chacune, tout commence en haut ; réponses prêtes en orange === */
html { --sh-orange: #E8740C; } html[data-theme="focus"] { --sh-orange: #FFB547; }
@media (min-width: 821px) {
  .sh-pret-t { color: var(--sh-orange) !important; }
  /* vue d'ensemble : la page défile */
  html:root body[data-ecran="clients"].sav-blocs:not(.sav-boite) #page { overflow-y: auto !important; }
  /* boîte : la page ne bouge pas, chaque colonne défile */
  html:root body[data-ecran="clients"].sav-boite #page { display: flex !important; flex-direction: column; overflow: hidden !important; padding-top: 6px !important; padding-bottom: 0 !important; }
  .sh-barre { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
  .sh-barre .sh-retour { margin: 0; padding: 7px 14px 7px 10px; border-radius: 20px; font-size: 13.5px; color: var(--texte-2); background: var(--sm-fond); border: 1px solid var(--trait); }
  .sh-barre .sh-retour:hover { color: var(--gl-b3); }
  .sh-pret { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 20px; font-size: 13.5px; font-weight: 600; color: var(--sh-orange); background: color-mix(in srgb, var(--sh-orange) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sh-orange) 30%, transparent); }
  .sh-pret::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sh-orange); }
  .sh-calme-t { font-size: 13px; color: var(--texte-2); }
  html:root body[data-ecran="clients"].sav-boite .sv-grille { flex: 1 1 auto; min-height: 0; height: auto !important; grid-template-rows: minmax(0, 1fr); margin: 0; padding-bottom: 14px; }
  html:root body[data-ecran="clients"].sav-boite .sv-col { position: static; height: 100%; max-height: none; }
  html:root body[data-ecran="clients"].sav-boite .sv-dossier { height: 100%; min-height: 0; overflow-y: auto !important; overscroll-behavior: contain; padding-right: 6px !important; scrollbar-width: thin; scrollbar-color: rgba(var(--ligne), .25) transparent; }
  html:root body[data-ecran="clients"].sav-boite .sv-dossier .sm-tete { top: 0; }
  /* dans la liste, les réponses prêtes ressortent en orange */
  html:root body[data-ecran="clients"] .sv-liste .sv-l.attend { box-shadow: inset 3px 0 0 var(--sh-orange) !important; }
  html:root body[data-ecran="clients"] .sv-liste .sv-sect:first-child { color: var(--sh-orange); }
}
/* CORAIL · « 7 derniers jours » = le même graphique qu'ÉPURE, en corail */
.co .co-sem { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 220px; padding-top: 8px; margin-top: 6px; }
.co .co-sem button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.co .co-sem i { display: block; width: 100%; max-width: 40px; border-radius: 12px; background: linear-gradient(180deg, #F4AC90, #EE7A52); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 22px -12px rgba(228, 87, 46, .75); transition: transform .2s; }
.co .co-sem .ici i { background: linear-gradient(180deg, #E86440, #C8431E); }
.co .co-sem button:hover i { transform: translateY(-3px); }
.co .co-sem em { font-style: normal; font-size: 11px; font-weight: 500; color: #24170F; }
.co .co-sem small { font-size: 11.5px; color: #8A6E60; } .co .co-sem .ici small { color: #E4572E; font-weight: 600; }
@media (max-width: 820px) { .co .co-sem { height: 180px; gap: 6px; } }
/* sur l'orange plein : les écarts en blanc (le vert ne se lit pas) */
html[data-theme="atelier"] :is(.co-k.co-net, .bf-t.profond) :is(.evo, .t-vert, .t-rouge, em.haut, em.bas, em) { color: #fff !important; font-weight: 600; }

/* === 2/12 · SAV ordinateur : le nom · la commande ouvre la commande (plus de bloc commande à part) === */
@media (min-width: 821px) {
  .sm-qui-b { font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 4px 10px 4px 8px; margin: -4px 0 -4px -8px; border-radius: 12px; cursor: pointer; justify-self: start; width: auto; max-width: 100%; }
  .sm-qui-b:hover { background: rgba(var(--acc), .07); }
  .sm-qui-b b { display: inline-flex; align-items: center; gap: 8px; }
  .sm-chev { width: 8px; height: 8px; border-right: 2px solid var(--gl-b3); border-bottom: 2px solid var(--gl-b3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; flex: none; }
  .sm-qui-b.ouvert .sm-chev { transform: rotate(-135deg) translate(-2px, -2px); }
  .sm-qui-b small::after { content: ' · voir la commande'; color: var(--gl-b3); }
  .sm-qui-b.ouvert small::after { content: ' · replier'; }
  .sm-tete { flex-wrap: nowrap; }
  .sm-cmd-pc { margin-top: 10px; padding: 16px 20px; border-radius: 20px; background: var(--sm-fond); border: 1px solid var(--trait); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .sm-cmd-pc .sv-colis { margin: 0; padding: 0; border: 0; background: none; }
}
/* 14 jours : mêmes barres, plus serrées ; montants cachés sur téléphone (au toucher) */
.co .co-sem { grid-template-columns: repeat(var(--n, 7), 1fr); gap: 6px; }
.co .co-sem i { max-width: 34px; border-radius: 10px; }
.co .co-sem em { font-size: 10.5px; white-space: nowrap; }
@media (max-width: 820px) { .co .co-sem { gap: 3px; } .co .co-sem i { border-radius: 6px; } .co .co-sem em { display: none; } .co .co-sem small { font-size: 10px; } }
/* ligne du grand bloc : vrais points, jours sous chaque point, montant du dernier jour */
.co-gr.cc .cg-plot { margin-top: 26px; }
.co-gr.cc .cg-ligne { stroke-width: 2; }
.co-gr.cc .cc-base { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.co-gr.cc.blanc .cc-s1 { stop-opacity: .16; }
.cc-pt { position: absolute; width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; border-radius: 50%; background: #E8603A; border: 1.5px solid #fff; z-index: 1; }
.cc-pt.der { width: 11px; height: 11px; margin: 0 0 -5.5px -5.5px; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.cc-val { position: absolute; transform: translate(-100%, -14px); margin-left: -6px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; z-index: 1; }
.cc-x { position: relative; height: 16px; margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, .75); }
.cc-x span { position: absolute; transform: translateX(-50%); white-space: nowrap; } .cc-x span.der { color: #fff; font-weight: 600; }
.cc-z:hover ~ .cc-val { opacity: 0; }
/* courbe souple du grand bloc : trait plus présent, aire en fondu, pas de points */
.co-gr.cc .cg-ligne { stroke-width: 2.75; }
.co-gr.cc.blanc .cc-s1 { stop-opacity: .3; }
.co-gr.cc .cc-base { stroke: rgba(255, 255, 255, .22); }
.co-gr.cc .cc-val { transform: translate(-100%, -16px); margin-left: -8px; }
/* 2/12 · CORAIL PC : « En direct » commence par son titre, tout en haut ; sans commande, le bloc reste à sa taille et le grand bloc prend la place */
@media (min-width: 821px) {
  .co .co-direct4 { align-content: start; grid-template-rows: auto; }
  .co .co-direct4 > .co-vide { margin: 0; padding: 2px 0 0; }
}

/* === 2/12 · SAV ordinateur : « à relire » à la couleur du thème (bleu en ÉPURE et FOCUS, orange seulement en CORAIL) === */
html, html[data-theme="epure"], html[data-theme="focus"] { --sh-orange: var(--gl-b3); }
html[data-theme="atelier"] { --sh-orange: #E8740C; }

/* === 2/12 · Barre latérale : survol des sections du SAV en blanc (comme les autres onglets) + vue d'ensemble SAV resserrée === */
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous button:hover:not(.actif) { background: rgba(255, 255, 255, .78) !important; color: var(--texte) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--nav-acc), .16), 0 6px 16px -10px rgba(var(--nav-acc), .55) !important; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous button.actif:hover { background: rgba(255, 255, 255, .78) !important; }
  /* À relire : plus de hauteur imposée ; avec 1 ou 2 mails, la réponse de Léa s'affiche juste dessous et occupe la place, le bouton suit */
  .sh-relire { min-height: 0; }
  .sh-apercu { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 0; margin: 2px 0 14px; padding: 12px 14px; text-align: left; font: inherit; color: inherit; cursor: pointer;
    border-radius: 16px; border: 1px dashed rgba(var(--acc), .3); background: rgba(var(--acc), .04); }
  .sh-apercu:hover { border-color: rgba(var(--acc), .55); }
  .sh-apercu-t { font-size: 12px; color: var(--texte-3); }
  .sh-apercu-x { font-size: 13.5px; line-height: 1.5; color: var(--texte-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .sh-relire .sh-btn { margin-top: 0; }
  .sh-relire .sh-rl:last-of-type { margin-bottom: 12px; }
  /* Les réponses de Léa : l'anneau occupe le bloc au lieu de laisser un trou */
  .sh-lea .sh-anneau { flex: 1; } .sh-lea .sh-anneau svg { width: 124px; height: 124px; }
}

/* === 2/12 · Barre latérale PC : un onglet par agent, Team descend au-dessus de Réglages (ÉPURE et CORAIL) === */
.nav-ags { display: none; }
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags-t { padding: 0 14px 4px; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--texte-3, var(--texte-2)); }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags button { justify-content: flex-start !important; gap: 10px; padding: 8px 12px !important; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-av { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; line-height: 1; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-pt { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: #2DB36F; box-shadow: 0 0 0 2px var(--fond-nav, #fff); }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-pt.souci { background: #D63A33; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ag-t { display: flex; flex-direction: column; min-width: 0; text-align: left; line-height: 1.2; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ag-t b { font-weight: inherit; font-size: 14px; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ag-t small { font-size: 11.5px; font-weight: 400; color: var(--texte-2); }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-team { margin-top: auto; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-team ~ .nav-ic { margin-top: 0; }
}

/* === 2/12 · SAV : barre d'actions (Réécrire, Léa), décision de Léa, nouveau message dans le fil, rien à répondre (tous thèmes, PC et téléphone) === */
html:root body[data-ecran="clients"] .sm .sm-envoi { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 6px; }
html:root body[data-ecran="clients"] .sm .sm-envoi .prim { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html:root body[data-ecran="clients"] .sm .sm-envoi .pg-btn:not(.prim) { padding-left: 12px; padding-right: 12px; }
html:root body[data-ecran="clients"] .sm .sm-envoi .pg-btn.actif { background: rgba(var(--acc), .12); border-color: rgba(var(--acc), .5); color: rgb(var(--acc)); }
.sm-outil { margin: 8px 0 0 6%; display: grid; gap: 8px; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.sm-chips button { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--trait-fort); color: var(--texte-2); background: var(--boite); }
.sm-chips button:hover { color: rgb(var(--acc)); border-color: rgba(var(--acc), .5); }
.sm-consigne { display: flex; gap: 6px; }
.sm-consigne input { flex: 1; min-width: 0; font: 14px/1.3 'Geist', system-ui, sans-serif; color: var(--texte); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--trait-fort); background: var(--boite); }
.sm-consigne input:focus { outline: none; border-color: rgba(var(--acc), .6); }
.sm-ecrit { margin: 6px 4px 0; font-size: 12.5px; color: rgb(var(--acc)); text-align: right; }
html:root body[data-ecran="clients"] .sm-rep textarea[disabled] { opacity: .45; }
.sm-toi { margin: 18px 0 0 6%; padding: 10px 14px; border-radius: 14px; background: var(--boite); border: 1px solid var(--trait); border-left: 3px solid rgb(var(--acc)); display: grid; gap: 3px; font-size: 13px; line-height: 1.4; color: var(--texte); }
.sm-toi b { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: rgb(var(--acc)); }
.sm-ctl { margin: 8px 4px 0 6%; font-size: 12px; color: var(--texte-2); text-align: right; }
.sm-rien { margin: 18px 0 0 auto; width: min(100%, 520px); padding: 12px 14px; border-radius: 14px; background: var(--boite); border: 1px solid var(--trait); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; font-size: 13px; color: var(--texte-2); }
.sm-rien b { grid-column: 1; color: var(--texte); font-weight: 600; } .sm-rien span { grid-column: 1; } .sm-rien .pg-btn { grid-column: 2; grid-row: 1 / span 2; }
.sm-nouveau { display: flex; align-items: center; gap: 8px; margin: 18px 0 0 auto; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: rgb(var(--acc)); border: 1px dashed rgba(var(--acc), .45); background: rgba(var(--acc), .05); }
.sm-nouveau i { font-style: normal; font-size: 17px; line-height: 1; }
.sm-nouveau:hover { background: rgba(var(--acc), .1); }
.sm-suite .sm-rep-t { color: rgb(var(--acc)); }
@media (min-width: 821px) {
  .sm-toi, .sm-outil, .sm-ctl { width: min(68%, 640px); margin-left: auto; }
  .sm-toi { margin-top: 22px; }
}
@media (max-width: 820px) {
  html:root body[data-ecran="clients"] .sm .sm-envoi .pg-btn { font-size: 13.5px; }
  html:root body[data-ecran="clients"] .sm .sm-envoi .pg-btn:not(.prim) { padding-left: 10px; padding-right: 10px; }
  .sm-chips { justify-content: flex-start; }
  .sm-rien { grid-template-columns: 1fr; } .sm-rien .pg-btn { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .sm-nouveau { width: 100%; justify-content: center; }
}

/* === 2/12 · Barre latérale PC : Acolyte en tête de l'équipe + le « au travail » animé de chaque agent (ÉPURE et CORAIL ; FOCUS plus tard) === */
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) :is(.h-nav .nav-ags, .ag-zone) { --ag-2: var(--gl-b2); --ag-3: var(--gl-b3); --ag-4: var(--gl-b4); --ag-piste: rgba(var(--nav-acc), .16);
    --ag-bac: color-mix(in srgb, rgb(var(--nav-acc)) 11%, #fff); --ag-bac-on: color-mix(in srgb, rgb(var(--nav-acc)) 26%, #fff); }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags button { align-items: center; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ag-t { flex: 1; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ag-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-anim { flex: none; width: 30px; height: 22px; display: grid; place-items: center; margin-left: auto; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-anim svg { display: block; overflow: visible; }
  /* le rond d'Acolyte : son logo, centré sur sa vraie forme, sur le dégradé de l'icône du thème */
  html[data-theme="epure"] .h-nav .nav-av.av-acolyte { background: linear-gradient(135deg, #5A79FF, #3B5BF0 55%, #2440D8); box-shadow: none; --ag-pt-logo: #BFD0FF; }
  html[data-theme="atelier"] .h-nav .nav-av.av-acolyte { background: linear-gradient(135deg, #FF9466, #F0643A 55%, #D2431C); border: 0; --ag-pt-logo: #FFD3C0; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-logo { width: 58%; height: 58%; display: block; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-logo path { fill: none; stroke: #fff; stroke-width: 120; stroke-linecap: round; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-logo circle { fill: var(--ag-pt-logo); }

  /* Acolyte : l'arche du logo s'écrit, le point tombe avec un petit rebond, puis tout se retire */
  :is(.nav-ags, .ag-zone) .ag-ac .piste { fill: none; stroke: var(--ag-piste); stroke-width: 84; stroke-linecap: round; }
  :is(.nav-ags, .ag-zone) .ag-ac .trait { fill: none; stroke: var(--ag-3); stroke-width: 84; stroke-linecap: round; stroke-dasharray: 100 110; stroke-dashoffset: 105; animation: agAcT 3.6s infinite; }
  :is(.nav-ags, .ag-zone) .ag-ac .pt { fill: var(--ag-2); transform-box: fill-box; transform-origin: 50% 100%; animation: agAcP 3.6s infinite; }
  /* Victor : le colis saute fournisseur → France → client, l'arrivée passe au vert */
  :is(.nav-ags, .ag-zone) .ag-vi .etape { fill: var(--ag-piste); } :is(.nav-ags, .ag-zone) .ag-vi .fil { stroke: var(--ag-piste); stroke-width: 1.4; }
  :is(.nav-ags, .ag-zone) .ag-vi .colis { fill: var(--ag-3); animation: agViC 3.2s cubic-bezier(.5, 0, .3, 1) infinite; } :is(.nav-ags, .ag-zone) .ag-vi .e3 { animation: agViOk 3.2s infinite; }
  /* Léa : un message descend dans la boîte de réception, le bac s'éclaire, une pastille apparaît */
  :is(.nav-ags, .ag-zone) .ag-le .t { fill: none; stroke: var(--ag-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  :is(.nav-ags, .ag-zone) .ag-le .carte-m { fill: #fff; stroke: var(--ag-3); stroke-width: 1.5; stroke-linejoin: round; } :is(.nav-ags, .ag-zone) .ag-le .carte-l { stroke: var(--ag-2); stroke-width: 1.4; stroke-linecap: round; }
  :is(.nav-ags, .ag-zone) .ag-le .fond-bac { fill: var(--ag-bac); animation: agLeF 3.6s infinite; } :is(.nav-ags, .ag-zone) .ag-le .msg { animation: agLeM 3.6s infinite; }
  :is(.nav-ags, .ag-zone) .ag-le .point { fill: var(--ag-3); transform-box: fill-box; transform-origin: center; animation: agLeP 3.6s infinite; }
  /* Camille : les barres montent en cascade */
  :is(.nav-ags, .ag-zone) .ag-ca .sol { stroke: var(--ag-piste); stroke-width: 1.2; stroke-linecap: round; }
  :is(.nav-ags, .ag-zone) .ag-ca rect { fill: var(--ag-3); transform-box: fill-box; transform-origin: 50% 100%; animation: agCaB 3s infinite; }
  :is(.nav-ags, .ag-zone) .ag-ca .r2 { fill: var(--ag-2); animation-delay: .21s; } :is(.nav-ags, .ag-zone) .ag-ca .r3 { animation-delay: .42s; } :is(.nav-ags, .ag-zone) .ag-ca .r4 { fill: var(--ag-4); animation-delay: .63s; }

  /* agent arrêté : l'animation s'arrête et passe au rouge */
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags button.souci { --ag-2: #E8837E; --ag-3: #D63A33; --ag-4: #A8231D; --ag-piste: rgba(214, 58, 51, .2); --ag-bac: #FBE3E1; --ag-bac-on: #FBE3E1; }
  .nav-ags button.souci .nav-anim * { animation-play-state: paused !important; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags button.souci .nav-ag-t small { color: #D63A33; }
  @media (prefers-reduced-motion: reduce) { .nav-ags .nav-anim * { animation-duration: 0s !important; animation-iteration-count: 1 !important; } }
}
@keyframes agAcT { 0% { stroke-dashoffset: 105; animation-timing-function: cubic-bezier(.55, 0, .25, 1); } 42% { stroke-dashoffset: 0; } 76% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.6, 0, .4, 1); } 100% { stroke-dashoffset: -105; } }
@keyframes agAcP { 0%, 36% { transform: translateY(-34%) scale(.6); opacity: 0; animation-timing-function: cubic-bezier(.5, 0, .9, .5); } 48% { transform: translateY(0) scale(1.08, .86); opacity: 1; animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 55% { transform: translateY(-8%) scale(.96, 1.04); } 61% { transform: translateY(0) scale(1); } 80% { transform: translateY(0) scale(1); opacity: 1; animation-timing-function: ease-in; } 96%, 100% { transform: translateY(0) scale(.3); opacity: 0; } }
@keyframes agViC { 0%, 12% { transform: translate(0, 0); } 22% { transform: translate(6px, -4px); } 30%, 42% { transform: translate(12px, 0); } 52% { transform: translate(18px, -4px); } 60%, 92% { transform: translate(24px, 0); opacity: 1; } 100% { transform: translate(24px, 0); opacity: 0; } }
@keyframes agViOk { 0%, 58% { fill: var(--ag-piste); } 62%, 92% { fill: #2FBF71; } 100% { fill: var(--ag-piste); } }
@keyframes agLeM { 0% { transform: translateY(-6px); opacity: 0; animation-timing-function: cubic-bezier(.35, 0, .2, 1); } 10% { opacity: 1; } 42% { transform: translateY(2px); animation-timing-function: cubic-bezier(.2, .6, .4, 1); } 48% { transform: translateY(1.3px); } 54%, 82% { transform: translateY(2px); opacity: 1; } 96%, 100% { transform: translateY(2px); opacity: 0; } }
@keyframes agLeF { 0%, 40% { fill: var(--ag-bac); } 50%, 82% { fill: var(--ag-bac-on); } 96%, 100% { fill: var(--ag-bac); } }
@keyframes agLeP { 0%, 44% { transform: scale(0); animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); } 56%, 82% { transform: scale(1); } 94%, 100% { transform: scale(0); } }
@keyframes agCaB { 0% { transform: scaleY(.12); animation-timing-function: cubic-bezier(.3, .9, .35, 1.12); } 34% { transform: scaleY(1); } 62% { transform: scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .4, 1); } 88%, 100% { transform: scaleY(.12); } }

/* === 2/12 · Barre latérale PC : les sections du SAV (Vue d'ensemble, Messages, Anciens échanges) n'apparaissent que dans le SAV === */
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) body:not([data-ecran="clients"]) .h-nav .nav-sous { display: none; }
}

/* === 2/12 · PC ÉPURE / CORAIL : « Ton équipe » collée à Team, page de chaque agent, Team en organigramme === */
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags { margin-top: auto; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-ags ~ .nav-team { margin-top: 4px; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .ag-zone { display: inline-flex; align-items: center; gap: 9px; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .ag-zone .nav-anim { flex: none; width: 30px; height: 22px; display: grid; place-items: center; }
  html:is([data-theme="epure"], [data-theme="atelier"]) .ag-zone .nav-anim svg { display: block; overflow: visible; }
  .nav-anim.arrete { --ag-2: #E8837E; --ag-3: #D63A33; --ag-4: #A8231D; --ag-piste: rgba(214, 58, 51, .2); --ag-bac: #FBE3E1; --ag-bac-on: #FBE3E1; }
  .nav-anim.arrete * { animation-play-state: paused !important; }

  /* avatars des pages */
  .ag-av { flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; line-height: 1; }
  html[data-theme="epure"] .ag-av.av-acolyte { background: linear-gradient(135deg, #5A79FF, #3B5BF0 55%, #2440D8); --ag-pt-logo: #BFD0FF; box-shadow: none; }
  html[data-theme="atelier"] .ag-av.av-acolyte { background: linear-gradient(135deg, #FF9466, #F0643A 55%, #D2431C); --ag-pt-logo: #FFD3C0; border: 0; }
  .ag-av .nav-logo { width: 58%; height: 58%; display: block; } .ag-av .nav-logo path { fill: none; stroke: #fff; stroke-width: 120; stroke-linecap: round; } .ag-av .nav-logo circle { fill: var(--ag-pt-logo); }

  /* page d'un agent */
  .ag-page { margin-top: 4px; }
  .sh-b.ag-tete { flex-direction: row; align-items: center; gap: 24px; padding: 24px 28px; }
  .ag-tete > .ag-av { box-shadow: 0 0 0 6px rgba(255, 255, 255, .14) !important; }
  .ag-tete-t { flex: 1; min-width: 0; }
  .ag-nom { display: flex; align-items: baseline; gap: 12px; } .ag-nom b { font-size: 34px; font-weight: 500; letter-spacing: -.04em; } .ag-nom em { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, .72); }
  .ag-tete-t p { margin: 4px 0 12px; font-size: 14px; color: rgba(255, 255, 255, .78); }
  .ag-vit { padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--texte); font-size: 13.5px; font-weight: 500; }
  .ag-prochain { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
  .ag-prochain i { width: 220px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; } .ag-prochain i b { display: block; height: 100%; background: #fff; border-radius: 4px; }
  .ag-chif { display: flex; gap: 32px; } .ag-chif div { min-width: 90px; } .ag-chif b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; } .ag-chif span { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .75); max-width: 130px; }
  .ag-b .sh-t h2 em { font-style: normal; color: var(--texte-3); font-weight: 400; margin-left: 4px; }
  .ag-dec { margin-bottom: 8px; } .ag-dec .sh-rl-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ag-vign { width: 40px; height: 40px; flex: none; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: rgba(var(--acc), .08); }
  .ag-vign img { width: 100%; height: 100%; object-fit: cover; } .ag-vign .logo-t { width: 100%; height: 100%; }
  .ag-btn { flex: none; border: 0; border-radius: 12px; padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; background: var(--gl-b3); color: #fff; white-space: nowrap; }
  .ag-dec:not(.urg) .ag-btn { background: rgba(255, 255, 255, .9); color: var(--texte); box-shadow: inset 0 0 0 1px rgba(var(--acc), .25); }
  .ag-h3 { margin: 18px 0 10px; font-size: 15px; font-weight: 500; } .ag-h3 em { font-style: normal; color: var(--texte-3); font-weight: 400; margin-left: 4px; }
  .ag-trajet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .ag-trajet div { padding: 12px 14px; border-radius: 16px; background: rgba(var(--creux, 255, 255, 255), .55); border: 1px solid var(--trait); }
  .ag-trajet i { display: block; height: 4px; border-radius: 4px; margin-bottom: 10px; } .ag-trajet b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.04em; } .ag-trajet span { font-size: 12.5px; color: var(--texte-2); }
  .ag-ck div { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--trait); font-size: 13.5px; } .ag-ck div:first-child { border-top: 0; }
  .ag-ck i { width: 8px; height: 8px; border-radius: 50%; background: var(--gl-b3); flex: none; box-shadow: 0 0 0 4px rgba(var(--acc), .12); }
  .ag-ck em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--texte-3); white-space: nowrap; }
  .ag-jr { display: grid; } .ag-j { display: grid; grid-template-columns: 46px 24px 1fr; align-items: start; gap: 8px; padding: 9px 0; border-top: 1px solid var(--trait); font-size: 13.5px; line-height: 1.45; }
  .ag-j:first-child { border-top: 0; } .ag-j time { font-size: 12px; color: var(--texte-3); padding-top: 2px; } .ag-j .ag-av { margin-top: 0; }
  .ag-jr2 { grid-template-columns: 1fr 1fr; column-gap: 32px; } .ag-jr2 .ag-j:nth-child(2) { border-top: 0; }
  .ag-cor { padding: 11px 14px; border-radius: 14px; margin-top: 8px; font-size: 13px; line-height: 1.45; background: rgba(var(--creux, 255, 255, 255), .55); border: 1px solid var(--trait); }
  .ag-cor small { display: block; font-size: 11.5px; color: var(--texte-3); margin-bottom: 3px; } .ag-cor ins { text-decoration: none; color: var(--gl-b4); font-weight: 500; }
  .ag-rl div { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 13.5px; } .ag-rl span { white-space: nowrap; } .ag-rl i { flex: 1; border-bottom: 1px dotted var(--trait-fort, rgba(0, 0, 0, .25)); } .ag-rl b { font-weight: 500; }
  .ag-br div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--trait); } .ag-br div:first-child { border-top: 0; }
  .ag-br span { font-size: 12.5px; color: var(--texte-3); padding-top: 2px; } .ag-br p { margin: 0; } .ag-br b { font-weight: 500; } .ag-br small { display: block; font-size: 12.5px; color: var(--texte-2); margin-top: 2px; }
  .ag-rdv div { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--trait); font-size: 13.5px; } .ag-rdv div:first-child { border-top: 0; } .ag-rdv time { width: 96px; font-size: 12.5px; color: var(--gl-b3); }
  .ag-eq .ag-poste { font-weight: 400; color: var(--texte-3); font-size: 12px; margin-left: 6px; }
  .ag-eq .ag-mini { margin-left: auto; } .ag-eq.souci small { color: #D63A33; }
  /* discussion dans la page d'un agent */
  .ag-chat { padding-bottom: 16px; } .ag-chat .tm-chat { flex: 1; display: flex; min-height: 0; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .ag-chat .tm-conv { flex: 1; display: flex; flex-direction: column; min-height: 300px; background: none; border: 0; box-shadow: none; padding: 0; }
  .ag-chat .tm-conv-tete { display: none; } .ag-chat .tm-fil { flex: 1; max-height: 340px; overflow: auto; }

  /* Team : l'organigramme */
  .eqo-toi { color: var(--gl-b3); font-weight: 500; }
  .sh-b.eqo-orga { padding: 26px; }
  .eqo-chef { display: flex; align-items: center; gap: 18px; width: min(640px, 100%); margin: 0 auto; padding: 16px 20px; border: 0; border-radius: 22px; font: inherit; text-align: left; cursor: pointer; color: #fff;
    background: linear-gradient(160deg, var(--gl-b3) -20%, var(--gl-nuit) 75%); box-shadow: 0 24px 50px -24px var(--gl-nuit); }
  .eqo-chef-t { flex: 1; min-width: 0; display: grid; gap: 3px; } .eqo-chef-t b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; } .eqo-chef-t small { font-size: 13px; color: rgba(255, 255, 255, .75); }
  .eqo-chef .eqo-vit { background: rgba(255, 255, 255, .95); color: var(--texte); }
  .eqo-parler { font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); white-space: nowrap; } .eqo-chef:hover .eqo-parler { background: rgba(255, 255, 255, .24); }
  .eqo-fils { display: block; width: 100%; height: 56px; } .eqo-fils path { fill: none; stroke: rgba(var(--acc), .35); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
  .eqo-ags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .eqo-ag { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; font: inherit; color: inherit; text-align: left; cursor: pointer; background: rgba(var(--creux, 255, 255, 255), .7); border: 1px solid var(--trait); }
  .eqo-ag:hover { border-color: rgba(var(--acc), .45); }
  .eqo-1 { display: flex; align-items: center; gap: 12px; } .eqo-1 > span:last-child { display: grid; gap: 2px; } .eqo-1 b { font-size: 16px; font-weight: 500; } .eqo-1 small { font-size: 12.5px; color: var(--texte-3); }
  .eqo-vit { padding: 6px 12px 6px 6px; border-radius: 12px; background: rgba(var(--acc), .07); font-size: 13px; }
  .eqo-ag.souci .eqo-vit { color: #D63A33; background: rgba(214, 58, 51, .08); }
  .eqo-ch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .eqo-ch b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.03em; } .eqo-ch small { display: block; font-size: 12px; color: var(--texte-2); line-height: 1.3; }
  .eqo-der { display: block; padding-top: 10px; border-top: 1px solid var(--trait); font-size: 12.5px; color: var(--texte-2); } .eqo-der time { color: var(--texte-3); margin-right: 6px; }
  .eqo-act { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 170px; }
  .eqo-act > div { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; } .eqo-act > div > span { flex: 1; width: 100%; display: flex; flex-direction: column-reverse; gap: 2px; }
  .eqo-act i { display: block; border-radius: 4px; } .eqo-act small { font-size: 11px; color: var(--texte-3); }
  .eqo-act .v, .eqo-leg .v { background: var(--gl-b4); } .eqo-act .l, .eqo-leg .l { background: var(--gl-b3); } .eqo-act .c, .eqo-leg .c { background: var(--gl-b2); } .eqo-act .a, .eqo-leg .a { background: var(--gl-b1); }
  .eqo-leg { display: flex; gap: 16px; margin: 12px 0 0; font-size: 12px; color: var(--texte-2); } .eqo-leg span { display: flex; align-items: center; gap: 6px; } .eqo-leg i { width: 9px; height: 9px; border-radius: 3px; }
}
@media (min-width: 821px) { .sh-li.ag-eq > span.ag-av, .sh-li.ag-eq > span.ag-zone { flex: none; } .sh-li.ag-eq { padding: 12px 0; } }
@media (min-width: 821px) { .ag-tete > .ag-av:not(.av-acolyte) { background: #fff !important; color: var(--gl-b3) !important; border: 0 !important; } .ag-chat .tm-conv { min-height: 0; } }

/* === 2/12 soir · Pages agents refaites : la discussion en bloc principal, « Confier une tâche » chez Acolyte (PC ÉPURE / CORAIL) === */
@media (min-width: 821px) {
  .ag-page { align-items: stretch; }
  /* la discussion */
  .sh-b.agc { padding: 0; overflow: hidden; min-height: 470px; max-height: 560px; }
  .agc-tete { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--trait); }
  .agc-qui { flex: 1; min-width: 0; display: grid; gap: 2px; } .agc-qui b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; } .agc-qui small { font-size: 12.5px; color: var(--texte-3); }
  .agc-tete .ag-vit { background: rgba(var(--acc), .07); box-shadow: inset 0 0 0 1px rgba(var(--acc), .12); }
  .agc-eff { border: 0; background: none; font: inherit; font-size: 12px; color: var(--texte-3); cursor: pointer; padding: 6px 4px; } .agc-eff:hover { color: var(--gl-b3); }
  .agc-fil { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
  .agc-fil .msg { max-width: 82%; font-size: 14px; line-height: 1.55; padding: 11px 15px; }
  .agc-fil .msg.user { background: var(--gl-b3); color: #fff; border-radius: 18px 18px 5px 18px; }
  .agc-fil .msg.assistant { background: rgba(255, 255, 255, .85); border: 1px solid var(--trait); border-radius: 18px 18px 18px 5px; }
  .agc-fil .msg.user.tache { background: rgba(var(--acc), .1); color: var(--texte); border: 1px dashed rgba(var(--acc), .4); }
  .agc-de { display: block; font-size: 11px; font-weight: 500; color: var(--gl-b3); margin-bottom: 2px; }
  .agc-vide { margin: auto; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--texte-2); font-size: 14.5px; } .agc-vide p { margin: 0; max-width: 340px; }
  .agc-puces { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 10px; }
  .agc-puces button { font: inherit; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--texte-2); background: rgba(255, 255, 255, .75); border: 1px solid rgba(var(--acc), .16); }
  .agc-puces button:hover { color: var(--gl-b3); border-color: rgba(var(--acc), .4); }
  .agc-champ { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--trait); }
  .agc-champ input { flex: 1; min-width: 0; font: 14px 'Geist', system-ui, sans-serif; color: var(--texte); padding: 12px 15px; border-radius: 14px; border: 1px solid var(--trait); background: rgba(255, 255, 255, .9); }
  .agc-champ input:focus { outline: none; border-color: rgba(var(--acc), .55); box-shadow: 0 0 0 4px rgba(var(--acc), .1); }
  .agc-champ .ag-btn { padding: 0 18px; border-radius: 14px; }
  /* colonne de droite */
  .ag-col { grid-column: span 4; display: flex; flex-direction: column; gap: var(--gout, 16px); min-width: 0; }
  .ag-col > .sh-b { flex: none; } .ag-col > .agx { flex: 1; }
  .sh-b.sh-nuit.ags { grid-column: auto; }
  .ags-ch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .ags-ch b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1; } .ags-ch span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .78); }
  .ags-pro { margin-top: 16px; display: grid; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .78); } .ags-pro i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; } .ags-pro b { display: block; height: 100%; border-radius: 4px; background: #fff; }
  .ags-role { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
  .ag-etapes div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--trait); font-size: 13.5px; } .ag-etapes div:first-child { border-top: 0; }
  .ag-etapes i { width: 4px; height: 18px; border-radius: 4px; flex: none; } .ag-etapes span { flex: 1; } .ag-etapes b { font-size: 18px; font-weight: 500; }
  .ag-decs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .ag-br2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; } .ag-br2 > div:nth-child(2) { border-top: 0; }
  .ag-gros { font-size: 54px !important; margin: 4px 0 6px; } .ag-b .ag-rl { margin-top: auto; padding-top: 12px; }
  /* Confier une tâche */
  .sh-b.agt { gap: 12px; }
  .sh-b.agt .sh-t { margin-bottom: 0; }
  .agt-qui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .agt-qui button { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; font: inherit; font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; color: var(--texte); background: rgba(255, 255, 255, .6); border: 1px solid var(--trait); }
  .agt-qui button small { display: block; font-size: 11px; font-weight: 400; color: var(--texte-3); }
  .agt-qui button.on { background: #fff; border-color: rgba(var(--acc), .55); box-shadow: 0 0 0 3px rgba(var(--acc), .12); }
  .agt-idees { display: grid; gap: 6px; }
  .agt-idees button { font: inherit; font-size: 12.5px; text-align: left; padding: 8px 12px; border-radius: 12px; cursor: pointer; color: var(--texte-2); background: rgba(255, 255, 255, .55); border: 1px dashed rgba(var(--acc), .25); }
  .agt-idees button:hover { color: var(--gl-b3); border-color: rgba(var(--acc), .5); }
  .agt-form { display: grid; gap: 8px; }
  .agt-form textarea { resize: none; font: 14px/1.45 'Geist', system-ui, sans-serif; color: var(--texte); padding: 11px 14px; border-radius: 14px; border: 1px solid var(--trait); background: rgba(255, 255, 255, .9); }
  .agt-form textarea:focus { outline: none; border-color: rgba(var(--acc), .55); box-shadow: 0 0 0 4px rgba(var(--acc), .1); }
  .agt-form .ag-btn { padding: 12px; border-radius: 14px; }
  .sh-b.agt .sh-note { margin-top: 0; padding-top: 0; }
  /* Tâches confiées */
  .agt-t { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--trait); } .agt-liste .sh-t + .agt-t { border-top: 0; padding-top: 4px; }
  .agt-t-c { flex: 1; min-width: 0; display: grid; gap: 8px; justify-items: start; }
  .agt-t-1 { display: flex; align-items: center; gap: 10px; width: 100%; } .agt-t-1 b { flex: 1; min-width: 0; font-weight: 500; font-size: 14px; }
  .ag-vit.petit { padding: 3px 10px 3px 4px; font-size: 12px; background: rgba(var(--acc), .07); } .ag-vit.petit .nav-anim { transform: scale(.8); }
  .agt-ok { font-size: 12px; font-weight: 500; color: #1E9E5A; white-space: nowrap; } .agt-err { font-size: 12px; color: #D63A33; }
  .agt-rep { font-size: 13.5px; line-height: 1.55; color: var(--texte-2); padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--trait); width: 100%; }
  .agt-t .prop { width: 100%; margin-top: 0; }
}
@media (min-width: 821px) {
  .agt-vide { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: center; }
  .agt-vide div { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .55); border: 1px solid var(--trait); }
  .agt-vide i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; color: #fff; background: var(--gl-b3); margin-bottom: 4px; }
  .agt-vide b { font-weight: 500; font-size: 14px; } .agt-vide small { font-size: 12.5px; line-height: 1.45; color: var(--texte-2); }
}

/* === 2/12 soir · Confier une tâche : les consignes toutes prêtes en lignes (icône, titre, ce qu'on obtient) === */
@media (min-width: 821px) {
  .agt-idees { display: grid; gap: 0; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .6); border: 1px solid var(--trait); }
  html:root .agt-idees button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-top: 1px solid var(--trait); border-radius: 0; background: none; text-align: left; color: var(--texte); cursor: pointer; }
  html:root .agt-idees button:first-child { border-top: 0; }
  html:root .agt-idees button:hover { background: rgba(255, 255, 255, .9); }
  html:root .agt-idees button.on { background: #fff; box-shadow: inset 3px 0 0 var(--gl-b3); }
  .agt-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--acc), .1); color: var(--gl-b3); }
  .agt-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .agt-id-t { flex: 1; min-width: 0; display: grid; gap: 1px; } .agt-id-t b { font-size: 13.5px; font-weight: 500; } .agt-id-t small { font-size: 12px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .agt-idees em { font-style: normal; color: var(--texte-3); font-size: 16px; } .agt-idees button:hover em, .agt-idees button.on em { color: var(--gl-b3); }
}

/* === 2/12 soir · Acolyte : une seule discussion pour poser une question ou confier une tâche (« Pour » au-dessus du champ) === */
@media (min-width: 821px) {
  .sh-b.agc.agc-chef { min-height: 540px; max-height: 640px; }
  .agc-vide-chef { width: min(460px, 100%); gap: 12px; } .agc-vide-chef .agt-idees { width: 100%; text-align: left; }
  .agc-fil .msg .agc-de { display: flex; align-items: center; gap: 6px; } .agc-fil .msg .agc-de .ag-av { font-size: 9px !important; }
  .agc-fil .msg.assistant.de-agent { border-left: 3px solid var(--gl-b3); }
  .agc-fil .msg.user.tache { align-self: flex-end; }
  .agc-plus { padding: 0 20px 8px; } .agc-plus summary { cursor: pointer; font-size: 12.5px; color: var(--texte-2); list-style: none; padding: 4px 0 8px; } .agc-plus summary::-webkit-details-marker { display: none; }
  .agc-plus summary::after { content: ' ›'; } .agc-plus[open] summary::after { content: ' ⌄'; } .agc-plus summary:hover { color: var(--gl-b3); }
  .agc-pour { display: flex; align-items: center; gap: 6px; padding: 10px 16px 0; border-top: 1px solid var(--trait); }
  .agc-pour > span { font-size: 12px; color: var(--texte-3); margin-right: 4px; }
  .agc-pour button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 4px; border-radius: 999px; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--texte-2); background: rgba(255, 255, 255, .6); border: 1px solid var(--trait); }
  .agc-pour button .ag-av { font-size: 9px !important; }
  .agc-pour button.on { color: var(--texte); font-weight: 500; background: #fff; border-color: rgba(var(--acc), .55); box-shadow: 0 0 0 3px rgba(var(--acc), .12); }
  .agc-pour + .agc-champ { border-top: 0; padding-top: 10px; }
}

/* === 2/12 soir · Mail écrit de A à Z (fenêtre « Nouveau mail ») + « Acolyte confie à… » dans le fil === */
.mail-voile { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(10, 20, 40, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mail-boite { width: min(680px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: grid; gap: 12px; padding: 20px 22px; border-radius: 24px; color: var(--texte);
  background: linear-gradient(165deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 40px 90px -30px rgba(10, 30, 70, .55); }
.mail-tete { display: flex; align-items: center; gap: 12px; } .mail-tete > span:not(.ag-av) { flex: 1; display: grid; gap: 2px; } .mail-tete b { font-size: 17px; font-weight: 500; } .mail-tete small { font-size: 12.5px; color: var(--texte-3); }
.mail-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(var(--acc), .08); font-size: 20px; line-height: 1; cursor: pointer; color: var(--texte-2); }
.mail-lea { display: flex; gap: 8px; padding: 10px; border-radius: 16px; background: rgba(var(--acc), .06); border: 1px dashed rgba(var(--acc), .3); }
.mail-lea input { flex: 1; min-width: 0; font: 13.5px 'Geist', system-ui, sans-serif; color: var(--texte); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--trait); background: #fff; }
.ag-btn.clair { background: #fff; color: var(--gl-b3, rgb(var(--acc))); box-shadow: inset 0 0 0 1px rgba(var(--acc), .35); }
.mail-etat { margin: 0; font-size: 13px; color: var(--texte-2); line-height: 1.45; }
.mail-l { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--trait); background: #fff; }
.mail-l span { width: 48px; font-size: 12.5px; color: var(--texte-3); } .mail-l input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 11px 0; font: 14px 'Geist', system-ui, sans-serif; color: var(--texte); }
.mail-boite textarea { resize: vertical; font: 14px/1.55 'Geist', system-ui, sans-serif; color: var(--texte); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--trait); background: #fff; }
.mail-boite :is(input, textarea):focus { outline: none; border-color: rgba(var(--acc), .55); }
.mail-pied { display: flex; align-items: center; gap: 8px; } .mail-pied small { flex: 1; font-size: 12px; color: var(--texte-3); } .mail-pied .ag-btn { padding: 11px 20px; border-radius: 12px; }
html:not([data-theme="epure"]):not([data-theme="atelier"]) .mail-pied .ag-btn { background: rgb(var(--acc)); color: #fff; border: 0; }
.agc-confie { align-self: center; display: flex; align-items: center; gap: 8px; max-width: 90%; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--texte-2); background: rgba(var(--acc), .07); border: 1px solid rgba(var(--acc), .14); }
.agc-confie .ag-av { font-size: 8px !important; } .agc-confie b { font-weight: 500; color: var(--texte); }

/* === 2/12 soir · Téléphone : barre à 5 onglets façon capsule (QG · Suivi · Acolyte · SAV · Résultats) + Réglages dans le rond de la boutique === */
.moi-rond { display: none; }
@media (max-width: 820px) {
  html[data-theme] .tabbar { grid-template-columns: repeat(5, 1fr) !important; left: 12px !important; right: 12px !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    height: 70px; padding: 5px !important; gap: 0 !important; border-radius: 36px !important; align-items: center; }
  html[data-theme] .tabbar button { height: 60px; padding: 0 !important; border-radius: 30px !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; position: relative; }
  html[data-theme] .tabbar button svg { width: 25px; height: 25px; stroke-width: 1.7; }
  html[data-theme] .tabbar button span:not(.q-orbe) { font-size: 11px !important; font-weight: 600; letter-spacing: -.01em; }
  html[data-theme] .tabbar svg .f { fill: currentColor; fill-opacity: 0; stroke: none; }
  html[data-theme] .tabbar button.actif svg .f { fill-opacity: .18; }
  /* l'onglet ouvert : une capsule plus claire, à la couleur du thème */
  html[data-theme] .tabbar button.actif { background: rgba(var(--acc), .13) !important; box-shadow: none !important; color: rgb(var(--acc)); }
  html[data-theme="focus"] .tabbar button.actif { background: rgba(255, 255, 255, .13) !important; color: #fff; }
  html[data-theme="focus"] .tabbar button.actif svg, html[data-theme="focus"] .tabbar button.actif span:not(.q-orbe) { color: #fff !important; }
  html[data-theme="focus"] .tabbar { background: rgba(28, 30, 36, .92) !important; border: 1px solid rgba(255, 255, 255, .08) !important; }
  html[data-theme="focus"] .tabbar button { color: #F2F4F8; }
  /* Acolyte au centre : le logo de l'app */
  .tabbar .tb-logo { width: 26px; height: 26px; overflow: visible; } .tabbar .tb-logo path { fill: none; stroke: currentColor; stroke-width: 96; stroke-linecap: round; } .tabbar .tb-logo circle { fill: currentColor; }
  /* pastilles de chiffres : rond plein à la couleur du thème */
  html[data-theme] .tabbar .badge { position: absolute; top: 3px; left: 50%; margin-left: 5px; right: auto; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center;
    font: 600 11.5px/1 'Geist', system-ui, sans-serif; font-style: normal; color: #fff; background: rgb(var(--acc)); box-shadow: 0 0 0 2.5px var(--tb-bord, #fff); }
  html[data-theme] .tabbar .badge[hidden] { display: none; }
  html[data-theme="focus"] .tabbar .badge { color: #03050A; --tb-bord: #1C1E24; }
  /* Réglages : le rond de la boutique, en haut à droite de l'accueil */
  body[data-ecran="qg"] .h-marque .moi-rond { display: grid; place-items: center; flex: none; width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 50%; cursor: pointer;
    font: 600 13px 'Geist', system-ui, sans-serif; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, rgb(var(--acc)) 70%, #fff), rgb(var(--acc))); box-shadow: 0 6px 16px -8px rgba(var(--acc), .8); }
  html[data-theme="focus"] body[data-ecran="qg"] .h-marque .moi-rond { color: #7FB2FF; background: linear-gradient(135deg, #1A2B52, #0A1428); box-shadow: inset 0 0 0 1.5px rgba(127, 178, 255, .5); }
  /* « Tout tourne » ne sert pas à l'utilisateur : masqué ; un vrai problème (agent arrêté) reste affiché */
  html:is([data-theme="atelier"], [data-theme="focus"]) .h-marque #etat:not(:has(.souci)) { display: none; }
}
@media (max-width: 820px) {
  html[data-theme="epure"] .tabbar button:not(.actif), html[data-theme="epure"] .tabbar button:not(.actif) :is(svg, span) { color: #3B4A63 !important; }
  html[data-theme="atelier"] .tabbar button:not(.actif), html[data-theme="atelier"] .tabbar button:not(.actif) :is(svg, span) { color: #5E463B !important; }
}

/* === 2/12 soir · UN SEUL ACOLYTE : bandeau de l'équipe, « Ton équipe », colonne équipe sur PC, pastille du prénom (tous thèmes) === */
.ac-av { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; position: relative; }
.ac-av.grand { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
.ac-bandeau { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 100%; padding: 10px 6px; margin: 0 0 10px; border-radius: 18px; background: var(--boite); border: 1px solid var(--trait); text-align: center; }
.ac-mini { display: grid; justify-items: center; gap: 1px; font-size: 11px; color: var(--texte-2); line-height: 1.25; min-width: 0; }
.ac-mini b { font-size: 12.5px; font-weight: 600; color: var(--texte); }
.ac-mini small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ac-mini .ac-av { margin-bottom: 3px; }
.ac-mini .ac-av::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #1F9D63; border: 2px solid var(--boite); }
.ac-mini.souci .ac-av::after { background: #D63A33; } .ac-mini.souci small { color: #D63A33; }
.ac-eq-tete { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; }
.ac-eq-tete b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; } .ac-eq-tete small { font-size: 13px; color: var(--texte-2); }
.ac-retour { width: 36px; height: 36px; display: grid; place-items: center; color: rgb(var(--acc)); } .ac-retour svg { width: 22px; height: 22px; }
.ac-sur { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-2); margin: 14px 4px 6px; }
.ac-sur:first-child { margin-top: 0; }
.ac-taches, .ac-boite { border-radius: 18px; background: var(--boite); border: 1px solid var(--trait); }
.ac-tache { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 11px 12px; }
.ac-tache + .ac-tache { border-top: 1px solid var(--trait); }
.ac-tache b { display: block; font-size: 14px; font-weight: 600; } .ac-tache small { display: block; font-size: 12.5px; color: var(--texte-2); line-height: 1.35; }
.ac-tache em { font-style: normal; font-size: 11.5px; color: var(--texte-3); text-align: right; max-width: 92px; line-height: 1.3; }
.ac-tache.souci small, .ac-tache.souci em { color: #D63A33; }
.ac-jr { padding: 4px 12px; } .ac-jr div { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 8px 0; font-size: 13px; line-height: 1.4; border-bottom: 1px solid var(--trait); } .ac-jr div:last-child { border-bottom: 0; }
.ac-jr time { font-size: 11.5px; color: var(--texte-3); padding-top: 1px; } .ac-jr em { font-style: normal; color: var(--texte-3); } .ac-jr .toi span { color: #1F9D63; }
.ac-doux { padding: 12px; font-size: 13px; color: var(--texte-3); }
.ac-sem { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 6px; text-align: center; } .ac-sem b { display: block; font-size: 20px; font-weight: 600; } .ac-sem small { font-size: 11.5px; color: var(--texte-2); }
.ac-page .pot-pli, .ac-droite .pot-pli { margin-top: 14px; }
.prop-qui { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 600; margin-right: 7px; flex: none; vertical-align: middle; }
.prop-tete { align-items: center; }
/* ordinateur : la discussion au centre, l'équipe à droite */
@media (min-width: 821px) {
  .ac-pc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
  .ac-pc .ac-chat { margin: 0; min-width: 0; }
  .ac-droite { position: sticky; top: 16px; min-width: 0; }
}
@media (min-width: 821px) and (max-width: 1100px) { .ac-pc { grid-template-columns: 1fr; } .ac-droite { position: static; } }

/* === 2/12 soir · ACOLYTE TÉLÉPHONE (maquettes/acolyte-unique) : en-tête + état de l'équipe, bandeau, bulles, suggestions et saisie (PC aussi depuis le 2/12 nuit) === */
@media all {
  /* la page remplit tout l'écran (sinon le fond s'arrête net) et la discussion descend jusqu'à la saisie ; le bas garde la place de la saisie + des onglets */
  .acm { display: flex; flex-direction: column; padding-bottom: calc(178px + env(safe-area-inset-bottom)); } /* hauteur et marge du bas recalculées en JS (dessinerPage) */
  .acm .acm-conv { flex: 1; }
  .acm-tete { display: flex; align-items: center; gap: 11px; width: 100%; padding: 2px 4px 12px; text-align: left; }
  .acm-orbe { width: 38px; height: 38px; border-radius: 50%; flex: none; background: radial-gradient(circle at 34% 30%, #fff 0%, rgba(var(--acc), .45) 34%, rgb(var(--acc)) 72%, rgba(0, 0, 0, .35) 130%); box-shadow: 0 6px 16px -6px rgba(var(--acc), .7); }
  .acm-nom { flex: 1; min-width: 0; } .acm-nom b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--texte); } .acm-nom small { font-size: 13px; color: var(--texte-2); }
  .acm-etat { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #1F9D63; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--boite); border: 1px solid var(--trait); }
  .acm-etat i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .acm-etat.souci { color: #D63A33; }
  .acm .ac-bandeau { margin-bottom: 12px; }
  .acm-conv { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 16px; border-radius: 22px; background: var(--boite); border: 1px solid var(--trait); min-height: 220px; }
  .acm-m { max-width: 86%; font-size: 15px; line-height: 1.45; padding: 10px 14px; border-radius: 20px; word-wrap: break-word; }
  .acm-m.moi { align-self: flex-end; background: rgb(var(--acc)); color: #fff; border-bottom-right-radius: 6px; }
  .acm-m.lui { align-self: flex-start; background: var(--sm-bulle, rgba(var(--acc), .06)); color: var(--texte); border-bottom-left-radius: 6px; }
  .acm-m.lui .lien-cmd { color: rgb(var(--acc)); }
  .acm .prop { align-self: flex-start; width: 90%; margin: 0; border-left: 3px solid rgb(var(--acc)); border-radius: 14px; }
  .acm-nouv { align-self: center; font-size: 12px; color: var(--texte-3); padding: 2px 8px 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 127, 127, .3); }
  .acm-vide p { font-size: 14.5px; line-height: 1.5; color: var(--texte-2); padding: 6px 4px; } .acm-vide b { display: block; font-size: 17px; color: var(--texte); margin-bottom: 4px; }
  .acm-ecrit { display: flex; gap: 5px; padding: 14px 16px; } .acm-ecrit i { width: 7px; height: 7px; border-radius: 50%; background: var(--texte-3); animation: acmPoint 1.2s infinite ease-in-out; } .acm-ecrit i:nth-child(2) { animation-delay: .15s; } .acm-ecrit i:nth-child(3) { animation-delay: .3s; }
  @keyframes acmPoint { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
  /* le bas : suggestions sur une ligne qui défile + la saisie, fixés juste au-dessus des onglets */
  /* aucune délimitation : pas de cadre derrière, la saisie flotte sur le fond comme la barre d'onglets */
  #acm-hote .acm-bas { position: fixed; left: 10px; right: 10px; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 38; display: grid; gap: 8px; }
  .acm-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 2px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .acm-chips::-webkit-scrollbar { display: none; }
  .acm-chips button { flex: none; display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 8px 12px; border-radius: 999px; color: var(--texte); background: var(--boite); border: 1px solid var(--trait); box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .25); white-space: nowrap; }
  .acm-chips button b { font-size: 11px; font-weight: 600; color: #fff; background: rgb(var(--acc)); border-radius: 999px; padding: 2px 7px; }
  .acm-chips button[disabled] { opacity: .5; }
  .acm-champ { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 999px; background: var(--boite); border: 1px solid var(--trait); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
  .acm-champ input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 16px/1.3 'Geist', system-ui, sans-serif; color: var(--texte); padding: 10px 0; }
  .acm-champ input::placeholder { color: var(--texte-3); }
  .acm-micro, .acm-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
  .acm-micro { color: var(--texte-2); } .acm-micro svg, .acm-go svg { width: 20px; height: 20px; }
  .acm-micro.ecoute { color: #fff; background: #D63A33; animation: acmEcoute 1.2s infinite; }
  @keyframes acmEcoute { 50% { box-shadow: 0 0 0 6px rgba(214, 58, 51, .2); } }
  .acm-go { background: rgb(var(--acc)); color: #fff; } .acm-go[disabled] { opacity: .45; }
}
@media all {
  .acm-idees { display: grid; margin-top: 14px; border-top: 1px solid var(--trait); }
  .acm-idees button { display: flex; align-items: center; gap: 10px; padding: 14px 4px; text-align: left; font-size: 15px; color: var(--texte); border-bottom: 1px solid var(--trait); }
  .acm-idees button span { flex: 1; }
  .acm-idees button b { font-size: 11px; font-weight: 600; color: #fff; background: rgb(var(--acc)); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
  .acm-idees button i { font-style: normal; font-size: 20px; color: var(--texte-3); }
  .acm-chips[hidden] { display: none; }
}
/* 2/12 soir · Acolyte écrit sous tes yeux : curseur + étapes d'attente (tous thèmes) */
.ac-curseur { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: rgb(var(--acc)); animation: acCurseur .8s steps(2) infinite; }
@keyframes acCurseur { 50% { opacity: 0; } }
@media all {
  .acm-m.acm-ecrit { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13.5px; color: var(--texte-2); }
  .acm-pts { display: flex; gap: 4px; } .acm-pts i { width: 6px; height: 6px; border-radius: 50%; background: var(--texte-3); animation: acmPoint 1.2s infinite ease-in-out; } .acm-pts i:nth-child(2) { animation-delay: .15s; } .acm-pts i:nth-child(3) { animation-delay: .3s; }
}
/* 2/12 soir · en-tête Acolyte : le vrai logo (arche + point, comme l'icône de l'app) aux couleurs du thème */
@media all {
  .acm-logo { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(var(--acc), .78), rgb(var(--acc))); box-shadow: 0 8px 18px -8px rgba(var(--acc), .8); }
  .acm-logo svg { width: 26px; height: 26px; }
  .acm-logo svg path { fill: none; stroke: #fff; stroke-width: 120; stroke-linecap: round; }
  .acm-logo svg circle { fill: rgba(255, 255, 255, .62); stroke: none; }
}
/* 2/12 nuit · Acolyte : page figée quand la discussion est vide (téléphone) ; suggestions qui réagissent au premier toucher sur iPhone */
@media all {
  html body.acm-fixe { overflow-y: hidden !important; }
  .acm-idees button, .acm-chips button, .acm-go, .acm-micro, .ac-bandeau, .acm-tete { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .acm-idees button:active { background: rgba(var(--acc), .08); }
  .acm-chips button:active, .ac-bandeau:active { transform: scale(.98); }
}
/* 2/12 nuit · Acolyte : la saisie et les suggestions sont posées en bas de la page (elles ne flottent plus quand on fait défiler) */
@media all {
  .acm .acm-bas { display: grid; gap: 8px; margin-top: 10px; }
  .acm .acm-champ { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
}

/* === 2/12 · SAV téléphone : en-tête sur le modèle de « Tes colis » (logo Gmail, heure de lecture, une action) === */
@media (max-width: 820px) {
  .sh-tete-m { display: block; margin-bottom: 14px; }
  .sh-tete-m h1 { white-space: nowrap; }
  .sh-tete-m p { margin-top: 6px; }
  .chip-gmail { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); color: #3C4043; font: 600 13px 'Geist', system-ui, sans-serif; letter-spacing: 0; vertical-align: 6px; margin-left: 10px; }
  .chip-gmail svg { width: 17px; height: 13px; display: block; }
  .sh-tete-btn { display: flex; justify-content: center; width: 100%; margin-top: 14px; }
}

/* === 2/12 nuit · PC : la page Acolyte (même composant que le téléphone, centrée, la discussion défile dans sa carte) et la page Team === */
@media (min-width: 821px) {
  body[data-ecran="team"] .acm { width: 100%; max-width: 880px; margin-left: auto !important; margin-right: auto !important; justify-self: center; align-self: center; height: 100%; min-height: 0; padding-bottom: 0; }
  body[data-ecran="team"] .acm .acm-conv { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px 20px; }
  body[data-ecran="team"] .acm-tete { padding: 2px 2px 14px; }
  body[data-ecran="team"] .acm .ac-bandeau { padding: 12px 10px; }
  body[data-ecran="team"] .acm-m { max-width: 72%; font-size: 14.5px; }
  body[data-ecran="team"] .acm .prop { width: 72%; }
  body[data-ecran="team"] .acm .acm-bas { margin-top: 12px; }
  body[data-ecran="team"] .acm-idees button { font-size: 14.5px; padding: 13px 6px; }
  body[data-ecran="team"] .acm-idees button:hover { background: rgba(var(--acc), .06); }
  .eq-pc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 14px; }
  .eq-col { min-width: 0; }
  .eq-col .ac-sur:first-child { margin-top: 0; }
}
@media (max-width: 820px) {
  .ac-vue-eq { padding-bottom: calc(140px + env(safe-area-inset-bottom)); } /* « Ton équipe » : rien ne reste caché sous les onglets */
}
/* 3/12 · PC ÉPURE / CORAIL : l'ancien onglet Acolyte (bloc « Ton équipe ») remplace le bouton Acolyte ; Team en bas, puis Réglages. FOCUS garde ses boutons. */
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav > button.nav-acolyte { display: none !important; }
}
/* 3/12 · PC : l'ancienne page Acolyte remise au goût du jour (idées tirées de l'état réel, pastille du nombre, ligne d'idées sous la discussion, dictée) */
.agc-n { flex: none; font-size: 11px; font-weight: 600; color: #fff; background: rgb(var(--acc)); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.agc-vide-chef p b { font-size: 16px; color: var(--texte); }
.agc-puces-ac { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 14px 0; }
.agc-puces-ac::-webkit-scrollbar { display: none; }
.agc-puces-ac button { flex: none; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.agc-puces-ac button b { font-size: 11px; font-weight: 600; color: #fff; background: rgb(var(--acc)); border-radius: 999px; padding: 2px 7px; }
.agc-champ .acm-micro { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--texte-2); }
.agc-champ .acm-micro svg { width: 20px; height: 20px; }
.agc-champ .acm-micro.ecoute { color: #fff; background: #D63A33; }

/* === 3/12 · Chiffres qui roulent : à la taille du nombre partout === */
/* « .gl-gros span » (ÉPURE, petit texte sous les ventes du jour) passait le défilement en 13,5 px, en bloc et grisé : on ne voyait pas l'animation. Plus aucune règle « … span » d'un bloc ne touche le défilement. */
html:root [data-compte] :is(.rl-fin, .rl-r, .rl-r span, .rl-r i) { font-size: inherit !important; color: inherit !important; font-weight: inherit !important; letter-spacing: inherit !important; margin: 0 !important; padding: 0 !important; line-height: inherit !important; }
html:root [data-compte] .rl-fin { display: inline !important; }
html:root [data-compte] .rl-r, html:root [data-compte] .rl-b { display: flex !important; }
html:root [data-compte] :is(.rl-s, .rl-c, .rl-b i) { display: block !important; }
/* 3/12 · PC : la réponse probable de Tiemoko en gris dans la barre de message, Tab pour l'écrire (comme dans Claude) */
.agc-champ, .tm-champ { position: relative; }
.agc-tab { position: absolute; right: 118px; top: 50%; transform: translateY(-50%); font: 500 11px/1 'Geist', system-ui, sans-serif; color: var(--texte-3); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--trait-fort); background: var(--boite); pointer-events: none; }
.agc-champ:has(.acm-micro) .agc-tab { right: 164px; }
/* 3/12 · PC : les idées sous la discussion d'Acolyte tiennent sur UNE ligne (3 au plus) */
.agc-puces.agc-puces-ac { flex-wrap: wrap; overflow: hidden; height: 44px; align-content: flex-start; padding: 8px 20px 4px; } /* une seule ligne : une suggestion qui ne tient pas passe dessous, cachée (jamais coupée) */
.agc-puces.agc-puces-ac > * { flex-shrink: 0; }
/* 3/12 · PC ÉPURE / CORAIL : le trait des sous-catégories du SAV passe au milieu des icônes de la barre */
@media (min-width: 821px) {
  html:is([data-theme="epure"], [data-theme="atelier"]) .h-nav .nav-sous { margin-left: 21.5px; padding-left: 12px; }
}
/* 3/12 · calendrier : une période qui finit un lundi (ou commence un dimanche) ne laisse plus un bout de bande coupé à côté de la date */
.cal-j.bg.lun::before, .cal-j.bg.prem::before, .cal-j.bd.dim::before, .cal-j.bd.dern::before { display: none; }
/* === 3/12 · Team (PC) : cases plus lisibles, « Qui fait quoi » clair, un clic sur un agent n'affiche que ses chiffres === */
@media (min-width: 821px) {
  .eqo-ag { transition: opacity .2s, box-shadow .2s, transform .2s; }
  .eqo-ag.choisi { box-shadow: 0 0 0 2px rgb(var(--acc)), 0 18px 40px -24px rgba(var(--acc), .6); }
  .eqo-ag.pale { opacity: .55; }
  .eqo-ch b { font-size: 28px !important; font-weight: 600 !important; color: var(--texte); }
  .eqo-ch small { font-size: 12.5px !important; color: var(--texte-2) !important; line-height: 1.3; }
  .eqo-der { font-size: 13px; color: var(--texte); } .eqo-der time { font-weight: 500; }
  .eqo-act2 { display: grid; grid-template-columns: repeat(14, 1fr); gap: 8px; align-items: end; height: 220px; padding-top: 6px; }
  .eqo-j { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
  .eqo-j em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--texte-2); min-height: 15px; }
  .eqo-j span { flex: 1; width: 100%; max-width: 40px; display: flex; flex-direction: column-reverse; justify-content: flex-start; gap: 2px; }
  .eqo-j span i { display: block; width: 100%; border-radius: 7px; min-height: 3px; }
  .eqo-j small { font-size: 11.5px; color: var(--texte-2); white-space: nowrap; }
  .eqo-j.auj small { color: rgb(var(--acc)); font-weight: 600; }
  .eqo-j:hover span i { filter: brightness(1.12); }
  .eqo-leg { flex-wrap: wrap; gap: 8px !important; margin-top: 14px !important; }
  .eqo-leg button { display: flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; color: var(--texte); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--trait); background: var(--boite); cursor: pointer; }
  .eqo-leg button small { color: var(--texte-3); font-size: 12px; }
  .eqo-leg button:hover { border-color: rgba(var(--acc), .45); }
  .eqo-leg button.on { border-color: rgb(var(--acc)); box-shadow: 0 0 0 1px rgb(var(--acc)); }
  .eqo-leg button.pale { opacity: .5; }
  .eqo-leg .eqo-tout { color: rgb(var(--acc)); font-weight: 500; }
  .eqo-leg i { width: 10px !important; height: 10px !important; border-radius: 3px; }
}
@media (min-width: 821px) {
  .eqo-act2 .v { background: var(--gl-b4); } .eqo-act2 .l { background: var(--gl-b3); } .eqo-act2 .c { background: var(--gl-b2); }
}
@media (min-width: 821px) {
  .eqo-j span { flex-direction: column !important; justify-content: flex-end !important; align-items: stretch; }
  .eqo-j span em { text-align: center; margin-bottom: 4px; }
}
/* === 3/12 · « Ce qui t'attend » (page Acolyte, PC) : cartes de verre aux couleurs du thème === */
@media (min-width: 821px) {
  .sh-b.at { padding: 18px 20px 20px; }
  .at-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .at-tete h2 { font-size: 16px; font-weight: 600; margin: 0; }
  .at-n { font-size: 12px; font-weight: 600; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(var(--acc), .12); color: rgb(var(--acc)); }
  .at-urg { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #D63A33; padding: 4px 10px; border-radius: 999px; background: rgba(214, 58, 51, .09); }
  .at-urg svg { width: 13px; height: 13px; }
  .at-pied { margin-left: auto; font-size: 12px; color: var(--texte-3); }
  .at-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
  .at-c { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border-radius: 20px; background: var(--boite); border: 1px solid var(--trait); box-shadow: 0 14px 32px -24px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
  .at-c:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .4); }
  .at-c.urgent { box-shadow: inset 3px 0 0 #D63A33, 0 14px 32px -24px rgba(214, 58, 51, .5); }
  .at-haut { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
  .at-v { width: 44px; height: 44px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: rgba(var(--acc), .08); }
  .at-v img { width: 100%; height: 100%; object-fit: cover; }
  .at-age { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--texte-2); padding: 4px 9px; border-radius: 999px; background: rgba(var(--acc), .07); }
  .at-age svg { width: 12px; height: 12px; }
  .at-c.urgent .at-age { color: #D63A33; background: rgba(214, 58, 51, .09); }
  .at-t { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--texte); }
  .at-s { font-size: 13px; color: var(--texte-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .at-act { display: flex; gap: 8px; margin-top: 8px; }
  .at-btn { flex: 1; font: inherit; font-size: 13.5px; font-weight: 500; padding: 10px 14px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: rgb(var(--acc)); box-shadow: 0 8px 18px -10px rgba(var(--acc), .9); }
  .at-c.urgent .at-btn { background: #D63A33; box-shadow: 0 8px 18px -10px rgba(214, 58, 51, .9); }
  .at-btn:hover { filter: brightness(1.07); }
  .at-ok { width: 42px; flex: none; font-size: 16px; border-radius: 12px; cursor: pointer; color: var(--texte-2); background: transparent; border: 1px solid var(--trait-fort); }
  .at-ok:hover { color: #1F9D63; border-color: rgba(31, 157, 99, .5); }
  .at-vide { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--texte-2); margin: 0; }
  .at-vide i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #1F9D63; background: rgba(31, 157, 99, .1); }
  /* ÉPURE : vrai verre liquide */
  html[data-theme="epure"] .at-c { background: rgba(255, 255, 255, .58); border-color: rgba(255, 255, 255, .9); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
}
/* === 3/12 · Résultats (PC) : graphique dans le style « 7 derniers jours » du QG === */
@media (min-width: 821px) {
  .rb { position: relative; padding-top: 22px; }
  .rb-cols { height: var(--h); display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: clamp(3px, .6vw, 10px); align-items: end; }
  .rb-col { height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; min-width: 0; }
  .rb-b { position: relative; height: 100%; width: 100%; max-width: 56px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
  .rb-b i { display: block; width: 100%; border-radius: 12px 12px 8px 8px; background: rgba(var(--acc), .26); transition: background .2s; min-height: 0; }
  .rb-b em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--texte-2); margin-bottom: 5px; white-space: nowrap; }
  .rb-col.ici .rb-b i { background: rgb(var(--acc)); box-shadow: 0 10px 20px -12px rgba(var(--acc), .9); }
  .rb-col.ici .rb-b em { color: rgb(var(--acc)); }
  .rb-col:hover .rb-b i, .rb-col.sur .rb-b i { background: rgba(var(--acc), .5); }
  .rb-col.ici:hover .rb-b i { background: rgb(var(--acc)); filter: brightness(1.08); }
  .rb-col.futur .rb-b i { background: transparent; border: 1px dashed rgba(var(--acc), .25); height: 6px !important; }
  .rb-x { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: clamp(3px, .6vw, 10px); margin-top: 8px; }
  .rb-x span { text-align: center; font-size: 11.5px; color: var(--texte-2); white-space: nowrap; overflow: visible; }
  .rb-x span.ici { color: rgb(var(--acc)); font-weight: 600; }
  html[data-theme="epure"] .rb-b i { background: linear-gradient(180deg, rgba(99, 162, 242, .55), rgba(46, 107, 240, .32)); }
  html[data-theme="epure"] .rb-col.ici .rb-b i { background: linear-gradient(180deg, #4A84F6, #2A62E6); }
}

/* === 3/12 · Résultats (PC et téléphone) : graphique vide = un message, plus de barres « avant » à 0 en pointillé === */
@media all {
  html[data-theme] .gr-barres.vide .gl-col { border-bottom: 1px solid var(--trait, rgba(46, 107, 240, .18)); }
  html[data-theme] .gr-barres.vide .gl-col i { display: none; }
  html[data-theme] .gr-barres.vide small { min-height: 1.4em; display: block; }
  .gr-barres .gr-vide { position: absolute; left: 0; right: 0; top: 38%; transform: translateY(-50%); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; pointer-events: none; }
  .gr-barres .gr-vide b { font-size: 17px; font-weight: 600; color: var(--texte); }
  .gr-barres .gr-vide span { font-size: 13.5px; color: var(--texte-2); }
}
@media (max-width: 820px) {
  .gr-barres .gr-vide { top: 42%; padding: 0 16px; }
  .gr-barres .gr-vide b { font-size: 16px; }
  .gr-barres .gr-vide span { font-size: 13px; }
}

/* === 3/12 · Résultats : graphique en barres sur le modèle « 7 derniers jours » du QG (PC et téléphone, 3 thèmes) === */
.rg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: clamp(3px, .7vw, 10px); padding-top: 26px; }
.rg-c { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: default; }
.rg-z { position: relative; display: block; width: 100%; height: 240px; border-bottom: 0; }
.rg-z i { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 40px; border-radius: 12px; transition: transform .2s;
  background: linear-gradient(180deg, #8DB6F6, #4F86EE); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 22px -12px rgba(46, 107, 240, .6); }
.rg-c.ici .rg-z i { background: linear-gradient(180deg, #3F7BF0, #1D4FC4); }
.rg-c:hover .rg-z i { transform: translateX(-50%) translateY(-3px); }
.rg-z em { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--texte); white-space: nowrap; }
.rg-c small { display: block; height: 15px; line-height: 15px; font-size: 11.5px; color: var(--texte-3, var(--texte-2)); white-space: nowrap; overflow: visible; }
.rg-c.ici small { color: var(--gl-b3, rgb(var(--acc))); font-weight: 600; }
.rg-c.futur small { opacity: .6; }
.rg.vide .rg-z { border-bottom: 1px solid var(--trait, rgba(46, 107, 240, .18)); }
.rg .gr-vide { position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; pointer-events: none; padding: 0 16px; }
.rg .gr-vide b { font-size: 17px; font-weight: 600; color: var(--texte); }
.rg .gr-vide span { font-size: 13.5px; color: var(--texte-2); }
html[data-theme="atelier"] .rg-z i { background: linear-gradient(180deg, #F4AC90, #EE7A52); box-shadow: 0 10px 22px -12px rgba(228, 87, 46, .6); }
html[data-theme="atelier"] .rg-c.ici .rg-z i { background: linear-gradient(180deg, #E86440, #C8431E); }
html[data-theme="atelier"] .rg-c.ici small { color: #E4572E; }
html[data-theme="focus"] .rg-z i { background: linear-gradient(180deg, #5C9BFF, #2F6FE0); border-color: rgba(255, 255, 255, .18); box-shadow: 0 10px 22px -12px rgba(62, 139, 255, .7); }
html[data-theme="focus"] .rg-c.ici .rg-z i { background: linear-gradient(180deg, #8FBBFF, #3E8BFF); }
html[data-theme="focus"] .rg-c.ici small { color: #7FB2FF; }
@media (max-width: 820px) {
  .rg { gap: 6px; padding-top: 22px; }
  .rg-z { height: 170px; }
  .rg-z i { max-width: 34px; border-radius: 10px; }
  .rg-z em { font-size: 11px; }
  .rg-c small { font-size: 11px; }
  .rg .gr-vide b { font-size: 16px; } .rg .gr-vide span { font-size: 13px; }
}
.rg-note { margin: 10px 0 0; font-size: 12px; color: var(--texte-3, var(--texte-2)); }
/* === 3/12 soir · Page Acolyte (PC) : « Le point » en blocs de verre + bouton « Nouvelle conversation » === */
@media (min-width: 821px) {
  .agc-nouv { display: inline-flex; align-items: center; gap: 6px; flex: none; font: inherit; font-size: 13px; font-weight: 600; padding: 9px 15px 9px 12px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; background: rgb(var(--acc)); box-shadow: 0 10px 22px -12px rgba(var(--acc), .9); transition: filter .15s, transform .15s; }
  .agc-nouv svg { width: 15px; height: 15px; }
  .agc-nouv:hover { filter: brightness(1.08); transform: translateY(-1px); }
  .ap-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; min-width: 0; }
  .ap-bento > .sh-b { grid-column: auto; margin: 0; }
  .ap-veille { grid-column: 1 / 6 !important; }
  .ap-decide { grid-column: 6 / 10 !important; }
  .ap-pass { grid-column: 10 / 13 !important; }
  button.ap { cursor: pointer; transition: transform .2s, box-shadow .2s; }
  button.ap:hover { transform: translateY(-2px); }
  .ap .sh-t { display: flex; align-items: center; gap: 8px; }
  .ap .sh-t h2 { display: flex; align-items: center; gap: 8px; }
  .ap .sh-t h2 em { font-style: normal; font-size: 12px; font-weight: 600; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(var(--acc), .12); color: rgb(var(--acc)); }
  .ap .sh-voir { margin-left: auto; }
  .ap-gros { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; }
  .ap-gros.acc { color: rgb(var(--acc)); }
  .ap-sous { margin: 6px 0 0; font-size: 13px; color: var(--texte-2); }
  .ap-sous em { font-style: normal; font-weight: 600; } .ap-sous em.haut { color: #1F9D63; } .ap-sous em.bas { color: #D63A33; }
  .ap-barres { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 70px; margin-top: auto; padding-top: 16px; }
  .ap-barres span { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
  .ap-barres i { position: absolute; bottom: 0; width: 70%; border-radius: 6px 6px 3px 3px; }
  .ap-barres i.b { background: rgba(var(--acc), .13); }
  .ap-barres i.a { width: 46%; background: rgba(var(--acc), .55); } .ap-barres i.a.now { background: rgb(var(--acc)); }
  .ap-axe { display: flex; justify-content: space-between; font-size: 11px; color: var(--texte-3); margin-top: 6px; }
  .ap-comp { margin: 8px 0 0; font-size: 13px; font-weight: 600; } .ap-comp span { font-weight: 400; opacity: .72; }
  .ap-mini { display: flex; gap: 18px; margin-top: auto; padding-top: 16px; }
  .ap-mini span { display: flex; flex-direction: column; gap: 2px; } .ap-mini small { font-size: 11.5px; opacity: .7; } .ap-mini b { font-size: 16px; font-weight: 600; }
  .sh-nuit .ap-mini { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: auto; }
  .ap-dec { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--trait); }
  .ap-dec:first-of-type { border-top: 0; padding-top: 6px; }
  .ap-v { width: 46px; height: 46px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: rgba(var(--acc), .08); }
  .ap-v img { width: 100%; height: 100%; object-fit: cover; }
  .ap-dec-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .ap-dec-t b { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ap-dec-t small { font-size: 12.5px; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap-dec.urgent .ap-dec-t small { color: #D63A33; font-weight: 500; }
  .ap-btn { flex: none; font: inherit; font-size: 13px; font-weight: 600; padding: 9px 14px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: rgb(var(--acc)); max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap-dec.urgent .ap-btn { background: #D63A33; }
  .ap-btn:hover { filter: brightness(1.07); }
  .ap-ok { width: 40px; height: 40px; flex: none; padding: 0; display: grid; place-items: center; line-height: 1; text-align: center; font-size: 16px; border-radius: 11px; cursor: pointer; color: var(--texte-2); background: transparent; border: 1px solid var(--trait-fort); }
  .ap-ok:hover { color: #1F9D63; border-color: rgba(31, 157, 99, .5); }
  .ap-urg { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #D63A33; padding: 4px 10px; border-radius: 999px; background: rgba(214, 58, 51, .09); }
  .ap-urg svg, .ap-alerte svg { width: 13px; height: 13px; }
  .ap-plus { align-self: flex-start; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; color: rgb(var(--acc)); cursor: pointer; padding: 6px 0 0; }
  .ap-pied { margin: auto 0 0; padding-top: 14px; font-size: 12px; color: var(--texte-3); }
  .ap-rien { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--texte-2); margin: 8px 0 0; }
  .ap-rien i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #1F9D63; background: rgba(31, 157, 99, .1); }
  .ap-flux { display: flex; gap: 3px; height: 12px; border-radius: 999px; overflow: hidden; margin: 12px 0 14px; }
  .ap-flux i { min-width: 6px; }
  .ap-etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .ap-etapes span { display: flex; flex-direction: column; gap: 3px; } .ap-etapes span i { width: 8px; height: 8px; border-radius: 50%; }
  .ap-etapes small { font-size: 11.5px; color: var(--texte-2); line-height: 1.25; } .ap-etapes b { font-size: 20px; font-weight: 600; }
  .ap-alerte { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; font-weight: 500; color: #D63A33; }
  .ap-fil { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
  .ap-fil .ag-j { padding: 8px 0; border-top: 1px solid var(--trait); }
  .ap-fil .ag-j:nth-child(-n+2) { border-top: 0; }
  /* la veille */
  .ap-veille h2 { display: flex; align-items: center; gap: 9px; }
  .ap-pouls { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: apPouls 2.4s ease-out infinite; }
  .ap-pouls.souci { background: #FF6B5E; box-shadow: 0 0 0 0 rgba(255, 107, 94, .6); }
  @keyframes apPouls { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
  @media (prefers-reduced-motion: reduce) { .ap-pouls { animation: none; } }
  .ap-ronde { margin-left: auto; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
  .ap-titre { margin: 12px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
  .ap-prog { display: block; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .16); margin-top: 14px; overflow: hidden; }
  .ap-prog b { display: block; height: 100%; border-radius: inherit; background: rgba(255, 255, 255, .85); }
  .ap-chif { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
  .ap-chif span { display: flex; flex-direction: column; gap: 3px; } .ap-chif b { font-size: 26px; font-weight: 600; color: #fff; line-height: 1; } .ap-chif small { font-size: 12px; color: rgba(255, 255, 255, .7); line-height: 1.3; }
  .ap-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
  .ap-points button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 12.5px; color: #fff; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
  .ap-points button:hover { background: rgba(255, 255, 255, .18); }
  .ap-points i { font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(74, 222, 128, .2); color: #86EFAC; }
  .ap-points button.alerte { background: rgba(255, 255, 255, .95); color: #1a1a1a; border-color: transparent; font-weight: 500; }
  .ap-points button.alerte i { background: #D63A33; color: #fff; }
  /* prochains passages */
  .ap-pas > div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--trait); }
  .ap-pas > div:first-child { border-top: 0; padding-top: 4px; }
  .ap-pas time { width: 82px; flex: none; font-size: 12.5px; font-weight: 600; color: rgb(var(--acc)); }
  .ap-pas span { display: flex; flex-direction: column; min-width: 0; } .ap-pas b { font-size: 13.5px; font-weight: 600; } .ap-pas small { font-size: 12px; color: var(--texte-2); }
  .ap-fait .ap-fil { grid-template-columns: 1fr 1fr; }
  .ap-chif b { font-size: 22px; } .ap-titre { font-size: 21px; } .ap-pas time { width: 70px; }
  .ap-dec { flex-direction: column; align-items: stretch; gap: 10px; }
  .ap-dec-h { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .ap-dec-a { display: flex; gap: 8px; } .ap-dec-a .ap-btn { flex: 1; max-width: none; }
  .ap-pas time { width: 78px; font-size: 12px; }
  @media (max-width: 1180px) {
    .ap-veille, .ap-decide { grid-column: span 6 !important; } .ap-pass { grid-column: 1 / 13 !important; }
  }
  /* verre liquide sur toute la page d'Acolyte : pas de blocs blancs, le fond du thème passe à travers */
  .ag-verre > .sh-b:not(.sh-nuit), .ag-verre .ag-col > .sh-b:not(.sh-nuit), .ag-verre .ap-bento > .sh-b:not(.sh-nuit) {
    background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12)) !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(255, 255, 255, .12), 0 24px 50px -30px rgba(20, 40, 110, .35) !important; }
  html[data-theme="atelier"] .ag-verre > .sh-b:not(.sh-nuit), html[data-theme="atelier"] .ag-verre .ag-col > .sh-b:not(.sh-nuit), html[data-theme="atelier"] .ag-verre .ap-bento > .sh-b:not(.sh-nuit) {
    background: linear-gradient(160deg, rgba(255, 250, 246, .42), rgba(255, 240, 230, .16)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 24px 50px -30px rgba(150, 60, 20, .35) !important; }
  .ag-verre .agc-tete, .ag-verre .agc-champ { background: transparent !important; }
  .ag-verre .agt-idees, .ag-verre .agt-idees button, .ag-verre .agc-champ input { background: rgba(255, 255, 255, .28) !important; border-color: rgba(255, 255, 255, .55) !important; }
  .ag-verre .agt-idees button:hover { background: rgba(255, 255, 255, .5) !important; }
  .ag-verre .ap-v, .ag-verre .ap-ok { background: rgba(255, 255, 255, .3); }
}

/* === 3/12 · Les règles de Léa : questionnaire de la boutique (Réglages + premier lancement) — PC fenêtre, téléphone plein écran === */
.qr-voile { z-index: 250; }
.qr-boite { width: min(620px, 100%); gap: 14px; }
.qr-barre { height: 4px; border-radius: 4px; background: rgba(var(--acc), .12); overflow: hidden; } .qr-barre i { display: block; height: 100%; border-radius: 4px; background: rgb(var(--acc)); transition: width .25s; }
.qr-q { margin: 2px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.qr-aide { margin: -4px 0 0; font-size: 13.5px; color: var(--texte-2); line-height: 1.5; }
.qr-corps { display: grid; gap: 12px; }
.qr-champ { display: grid; gap: 6px; } .qr-champ > span { font-size: 12.5px; color: var(--texte-3); }
.qr-champ :is(input, textarea) { font: 15px/1.45 'Geist', system-ui, sans-serif; color: var(--texte); padding: 11px 12px; border-radius: 12px; border: 1px solid var(--trait); background: #fff; resize: vertical; min-width: 0; }
.qr-champ :is(input, textarea):focus { outline: none; border-color: rgba(var(--acc), .55); box-shadow: 0 0 0 3px rgba(var(--acc), .1); }
.qr-ligne { display: flex; gap: 10px; } .qr-ligne > .qr-champ { flex: 1; min-width: 0; }
.qr-dit { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: var(--texte-2); background: rgba(var(--acc), .06); }
.qr-choix { display: grid; gap: 8px; } .qr-choix.duo { grid-template-columns: 1fr 1fr; }
.qr-choix button { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--trait); background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--texte); transition: border-color .15s, box-shadow .15s; }
.qr-choix button:hover { border-color: rgba(var(--acc), .35); }
.qr-choix button i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--trait-fort); }
.qr-choix button b { display: block; font-size: 14.5px; font-weight: 500; } .qr-choix button small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--texte-3); line-height: 1.4; }
.qr-choix button.on { border-color: rgba(var(--acc), .6); box-shadow: 0 0 0 3px rgba(var(--acc), .12); }
.qr-choix button.on i { border-color: rgb(var(--acc)); background: radial-gradient(circle, rgb(var(--acc)) 0 4px, transparent 4.5px); }
.qr-case { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; } .qr-case input { width: 18px; height: 18px; margin-top: 1px; accent-color: rgb(var(--acc)); flex: none; }
.qr-case small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--texte-3); }
.qr-recap { display: grid; gap: 6px; }
.qr-recap button { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--trait); background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--texte); }
.qr-recap button:hover { border-color: rgba(var(--acc), .35); }
.qr-recap span { flex: 1; min-width: 0; display: grid; gap: 2px; } .qr-recap b { font-size: 14px; font-weight: 500; } .qr-recap small { font-size: 12.5px; color: var(--texte-3); line-height: 1.4; }
.qr-recap em { flex: none; font-style: normal; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--acc), .1); color: rgb(var(--acc)); }
.qr-recap i { font-style: normal; font-size: 18px; color: var(--texte-3); }
.qr-pied small { flex: 1; }
.qr-mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.qr-mini button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--trait); background: none; font: inherit; font-size: 12.5px; color: var(--texte-2); cursor: pointer; }
.qr-mini button i { font-style: normal; color: var(--texte-3); }
/* FOCUS : la fenêtre en sombre (le texte du thème est clair) */
html[data-theme="focus"] .qr-boite { background: linear-gradient(165deg, rgba(22, 30, 50, .98), rgba(12, 18, 32, .97)); border-color: rgba(255, 255, 255, .08); }
html[data-theme="focus"] .qr-boite :is(.qr-champ input, .qr-champ textarea, .qr-choix button, .qr-recap button) { background: rgba(255, 255, 255, .04); }
html[data-theme="focus"] .qr-boite .mail-pied .ag-btn { background: rgb(var(--acc)); color: #03050A; }
/* Téléphone : plein écran, boutons toujours visibles en bas */
@media (max-width: 820px) {
  .qr-voile { padding: 0; place-items: stretch; }
  .qr-boite { width: 100%; max-height: none; height: 100dvh; border-radius: 0; border: 0; align-content: start; padding: calc(14px + env(safe-area-inset-top)) 16px 0; background: #fff; }
  html[data-theme="focus"] .qr-boite { background: #0C1220; }
  .qr-champ :is(input, textarea) { font-size: 16px; }
  .qr-q { font-size: 21px; }
  .qr-pied { position: sticky; bottom: 0; margin: 4px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: inherit; border-top: 1px solid var(--trait); }
  .qr-boite > .qr-pied { background: #fff; } html[data-theme="focus"] .qr-boite > .qr-pied { background: #0C1220; }
  .qr-pied .ag-btn { flex: 1; }
  .qr-choix.duo { grid-template-columns: 1fr; }
}
.qr-aide b { font-weight: 600; color: var(--texte); }
.qr-boite .ag-av { border-radius: 50% !important; }
.qr-pied .ag-btn { background: rgb(var(--acc)) !important; color: #fff !important; border: 0 !important; padding: 12px 20px; border-radius: 12px; font: 500 14px 'Geist', system-ui, sans-serif; cursor: pointer; box-shadow: none !important; }
.qr-pied .ag-btn[disabled] { opacity: .6; }
html[data-theme="focus"] .qr-pied .ag-btn { color: #03050A !important; }
@media (max-width: 820px) {
  .qr-boite { display: flex; flex-direction: column; gap: 14px; }
  .qr-boite > .qr-pied { margin-top: auto; }
}

/* === 4/12 · ÉPURE PC : accueil à sa hauteur d'origine ===
   « À décider » n'affiche que 3 décisions sur PC (qg.js : decA.slice(0, 3)) et ne doit pas étirer « Aujourd'hui ». */
@media (min-width: 1081px) {
  html[data-theme="epure"] .gl-decider:has(.gl-dec) .gl-pied { display: none; }
  html[data-theme="epure"] .gl-decider .gl-ok { width: 34px; height: 34px; }
  html[data-theme="epure"] .gl-decider .gl-dec-t small { -webkit-line-clamp: 1; }
}
@media (min-width: 1081px) and (max-width: 1360px) { /* colonne étroite : bouton sous le texte, carte resserrée */
  html[data-theme="epure"] .gl-decider .gl-dec { padding: 10px 12px; row-gap: 8px; }
  html[data-theme="epure"] .gl-decider .gl-dec .gl-btn { padding: 8px 14px; }
}
@media (min-width: 1361px) { /* une ligne par décision : image · texte · bouton · coche */
  html[data-theme="epure"] .gl-decider .gl-dec { flex-wrap: nowrap; padding: 10px 12px; gap: 10px; }
  html[data-theme="epure"] .gl-decider .gl-dec-t { flex: 1 1 auto; flex-basis: auto; }
  html[data-theme="epure"] .gl-decider .gl-dec-t :is(small, .gl-age) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html[data-theme="epure"] .gl-decider .gl-dec-t b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html[data-theme="epure"] .gl-decider .gl-dec .gl-btn { flex: none; padding: 9px 14px; }
}
