/* Harnais patronal — compléments au thème « néon » commun (theme.css, copie du Harnais Entreprise v2.19). */
[hidden]{display:none!important}
.wall{position:fixed;inset:0;z-index:100;background:var(--bg);overflow:auto;padding:calc(1rem + env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom))}
.wallin{max-width:460px;margin:0 auto;text-align:left}.wallin h2{justify-content:center}
.wlogo{display:block;width:84px;height:84px;margin:0 auto .4rem;border-radius:18px;filter:drop-shadow(0 0 10px #2f8cffaa)}
.wallin ol li{margin:.4rem 0}
.check{display:flex!important;gap:.55rem;align-items:flex-start;margin:.45rem 0}.check input{width:1.25rem;height:1.25rem;flex:none;margin-top:.1rem}
.wide{width:100%;display:block}
.center{text-align:center}
.langrow{display:flex;gap:.4rem;justify-content:center;margin-top:1rem}.chipl{min-width:52px}.chipl.sel{border-color:var(--gold);box-shadow:0 0 10px #f2c14e88}
.demo{background:rgba(61,220,132,.12);border:1px solid var(--ok);color:#c9ffe0;border-radius:12px;margin:.6rem .8rem 0;padding:.45rem .7rem;font-size:.78rem;font-weight:700;max-width:540px}
@media(min-width:580px){.demo{margin:.6rem auto 0}}
label{display:block}label input,label select,label textarea{display:block;width:100%}
.inline label,.inline input{display:inline-block;width:auto}
form input:not([type=checkbox]):not([type=radio]),form select,form textarea{width:100%}
.inline input:not([type=checkbox]):not([type=radio]){width:auto;flex:1}
.inline{display:flex;flex-wrap:wrap;gap:.3rem;align-items:center}
textarea{min-height:4.5rem;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:.95rem}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:linear-gradient(180deg,#3d9bff,#1660d8);color:#fff;border:1px solid #6fb8ff;border-radius:12px;padding:.6rem .9rem;margin:.2rem;font-weight:600;box-shadow:0 0 10px #2f8cff55;font-size:.95rem;flex:1}
.btn.alt{background:#132a5c;border-color:#2c4f94;box-shadow:none}
.btn.wide{display:flex;width:auto}
.actions.wrap{flex-wrap:wrap}.actions.wrap>*{flex:1 1 40%}
.tile.red,.card.red{border-color:var(--red)!important;box-shadow:0 0 12px #ff4d5e55!important}
.pill.warn{background:#3b2a0d;border-color:var(--gold);color:#ffe7a8}
.emp .emph{display:flex;align-items:center;gap:.4rem;justify-content:space-between}
.ws{position:relative}
.wsh{display:flex;align-items:center;gap:.5rem;position:sticky;top:64px;z-index:15;background:rgba(5,11,31,.95);padding:.4rem 0}.wsh b{flex:1;font-size:1.05rem}
#wsSeg{display:flex;gap:0;border:1px solid #2c4f94;border-radius:12px;overflow:hidden;margin:.4rem 0}
#wsSeg button{flex:1;margin:0;border-radius:0;background:#0b1d48;border:0;box-shadow:none;font-size:.85rem}
#wsSeg button.on{background:linear-gradient(180deg,#3d9bff,#1660d8)}
.order .oh{display:flex;flex-wrap:wrap;gap:.3rem;align-items:center}
.pre{white-space:pre-wrap;word-break:break-word}
.proof{background:rgba(61,220,132,.08);border-left:3px solid var(--ok);padding:.4rem .6rem;border-radius:6px;margin:.4rem 0;font-size:.88rem}
.rep{background:rgba(242,193,78,.08);border-left:3px solid var(--gold);padding:.4rem .6rem;border-radius:6px;margin:.4rem 0;font-size:.88rem}
.subform{border-top:1px dashed #2c4f94;margin-top:.5rem;padding-top:.5rem}
.evrow{display:flex;gap:.3rem}.evrow select{flex:0 0 7rem;width:7rem}.evrow input{flex:1}
.chipc{display:inline-flex!important;gap:.3rem;align-items:center;background:#0b1d48;border:1px solid #2c4f94;border-radius:10px;padding:.3rem .55rem;font-size:.85rem}
.chipc input{width:auto!important;display:inline!important}
.thread{max-height:50vh;overflow:auto;display:flex;flex-direction:column;gap:.4rem;margin:.4rem 0}
.msg{background:#0b1d48;border:1px solid #2c4f94;border-radius:12px;padding:.45rem .6rem;max-width:88%}
.msg.me{align-self:flex-end;background:#123a8a;border-color:#3d9bff}
.chatform textarea{min-height:3.5rem}
.bigcode{font-family:ui-monospace,monospace;font-size:1.6rem;letter-spacing:.12em;text-align:center;color:var(--gold);margin:.3rem 0}
.codebox{text-align:center}
.qr{background:#fff;border-radius:12px;padding:8px;width:220px;margin:.4rem auto}.qr svg{display:block;width:100%;height:auto}
pre.policy{white-space:pre-wrap;word-break:break-word;background:#071331;border:1px solid #2c4f94;border-radius:10px;padding:.6rem;font-size:.8rem;max-height:55vh;overflow:auto}
.dl{display:flex;flex-wrap:wrap;gap:.35rem;padding:.35rem 0;border-bottom:1px solid #1c3a78;font-size:.88rem}.dl.late{color:#ffc9cf}.dl.soon{color:#ffe7a8}
.bar{height:8px;border-radius:99px;background:#1c2c55;overflow:hidden;margin:.3rem 0}.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--neon),var(--neon2))}
.bar i.w0{width:0}.bar i.w10{width:10%}.bar i.w20{width:20%}.bar i.w30{width:30%}.bar i.w40{width:40%}.bar i.w50{width:50%}.bar i.w60{width:60%}.bar i.w70{width:70%}.bar i.w80{width:80%}.bar i.w90{width:90%}.bar i.w100{width:100%}
.rrow{display:flex;align-items:center;gap:.4rem;border-bottom:1px dashed #2c4f94}.rrow .check{flex:1}
.auditlist{max-height:14rem;overflow:auto}
.grid .card.sel{border-color:var(--gold);box-shadow:0 0 12px #f2c14e77}
.vslot{border:1px dashed #7d8aa5;border-radius:12px;padding:.5rem .7rem;margin:.5rem 0}.vsoon{opacity:.85;font-size:.85rem}.vslot video{width:100%;border-radius:12px;background:#050b1f}
.sheet{position:fixed;inset:0;z-index:60;background:rgba(2,6,20,.94);overflow:auto;padding:calc(1rem + env(safe-area-inset-top)) .7rem 6rem}.sheet .card{max-width:520px;margin:auto}
code{word-break:break-all;background:#071331;border:1px solid #2c4f94;border-radius:8px;padding:.15rem .35rem;font-size:.82rem}
.flash{position:fixed;left:50%;bottom:5.6rem;transform:translateX(-50%);z-index:90;background:#0b1a3a;color:#e8f4ff;border:1px solid #3cf;box-shadow:0 0 12px #3cf8;padding:.65rem 1rem;border-radius:12px;max-width:90vw;text-align:center}
.flash.bad{border-color:var(--red);box-shadow:0 0 12px #ff4d5e88}
details summary{cursor:pointer;color:var(--neon2);margin:.4rem 0}

/* Logo officiel du Harnais patronal (Popol, 10/11/2026) : emblème carré = cavalier sur cheval cabré */
header h1 img.plogo{width:34px;height:34px;border-radius:8px;object-fit:cover}
.wlogo{object-fit:cover}
.hero img.pfull{width:100%;max-width:420px;height:auto;border-radius:16px;display:block;margin:0 auto .5rem}

/* v0.4 : fiches modèles */
.modelcard{margin:.5rem 0}.modelcard summary{font-size:.95rem}.modelcard ul{margin:.3rem 0 .3rem 1.1rem}

/* v0.5 : tableau de bord Dépenses et gains */
#finDemoBanner{margin:.4rem 0}
.finlist{list-style:none;padding:0;margin:.3rem 0}
.finlist li{display:flex;flex-wrap:wrap;gap:.35rem;align-items:baseline;border-bottom:1px solid #1c3a78;padding:.35rem 0;font-size:.88rem}
.finlist li b{margin-left:auto}
.findate{color:#9db4d8;font-variant-numeric:tabular-nums}
.stair{width:100%;height:auto;background:#071331;border:1px solid #2c4f94;border-radius:12px;display:block}
.stair-exp{stroke:#ff8a9a;fill:none;stroke-width:2;stroke-linejoin:miter;stroke-linecap:butt}
.stair-gain{stroke:#3ddc84;fill:none;stroke-width:2;stroke-linejoin:miter;stroke-linecap:butt}
.stair-grid{stroke:#1c3a78;stroke-width:1;fill:none}
.stair-label{fill:#c5d0e6;font-size:9px;font-family:inherit}
.fin-legend{margin:.3rem 0}
.leg-exp{color:#ff8a9a}
.leg-gain{color:#3ddc84}
#secFinances h3,#secFinUsage h3{font-size:1rem;margin:.7rem 0 .3rem}

/* Constats de test 11/11 : écran figé (nº 4), libellés dans le cadre (nº 13) */
html,body,#app{overflow-x:hidden;max-width:100%}
body{overflow-x:hidden;touch-action:pan-y}
header{width:100%;max-width:100%}
#app{padding-top:0}
.wall,#app:has(#wallInstall),#app:has(#wallReco){padding-top:0}
.demo,.honest{max-width:100%}
main,.card,section,form,.ws,.hero,.tiles,.actions,.emph,.wsh,.seg,#wsSeg,.evrow,.rrow,.dl,.phonerow{max-width:100%;min-width:0}
img,svg,video,canvas{max-width:100%;height:auto}
.wsh{top:calc(3.4rem + env(safe-area-inset-top));max-width:100%;flex-wrap:wrap}
.wsh>button,.wsh .pill{flex:none}
.wsh b{flex:1 1 10rem;min-width:10rem;overflow-wrap:anywhere}
#wsSeg{flex-wrap:wrap;overflow:hidden;max-width:100%}
#wsSeg button{flex:1 1 5.5rem;min-width:0;padding:.45rem .3rem;font-size:.78rem;overflow-wrap:normal;word-break:normal}
.check{max-width:100%;min-width:0}
.check span{flex:1 1 0;min-width:0;overflow-wrap:anywhere;word-break:break-word}
#secPlan .check,#formulaNow .check,label.check{width:100%}
.bigcode,code,pre,.pre{overflow-wrap:anywhere;word-break:break-word}
.qr{max-width:100%;width:min(220px,100%)}
.actions{flex-wrap:wrap;max-width:100%}
.phonerow{display:flex;gap:.4rem;align-items:stretch;width:100%}
.phonerow .phone-ctry{flex:0 1 42%;min-width:0}
.phonerow .phone-num{flex:1 1 58%;min-width:0}
.microw{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin:.3rem 0}
.microw button{margin:0;min-height:44px;min-width:44px}
.sendmode{display:flex;flex-direction:column;gap:.4rem;margin:.35rem 0;max-width:100%}
.sendmode>p{flex:1 1 100%;margin:.1rem 0}
.sendmode .check{flex:none;width:100%;margin:0;align-items:center;border:1px solid #2c4f94;border-radius:.6rem;padding:.35rem .45rem}
.sendmode .check input[type=radio]{width:1.15rem;height:1.15rem;flex:none}
.sendmode .check span{flex:1 1 0;min-width:0;overflow-wrap:normal;word-break:normal}
.msg .audience{display:inline-block;border-radius:999px;padding:.05rem .45rem;font-size:.7rem;margin-right:.25rem;border:1px solid #3d9bff;color:#cfe6ff}
.msg .audience.all{border-color:var(--gold);color:#ffe7a8}
.msg audio{width:100%;margin-top:.3rem}
.emp.lead,.ws.lead .wsh{border-color:#f2c14e;box-shadow:0 0 12px #f2c14e55}
.emp.lead .emph b,.pill.lead{color:#ffe7a8}
.pill.lead{background:#3b2a0d;border-color:var(--gold)}
#pauseSheet .picks{display:flex;flex-wrap:wrap;gap:.35rem;margin:.4rem 0}
#pauseSheet .picks button{min-height:44px}
.vslot figcaption{display:flex;flex-wrap:wrap;gap:.35rem;align-items:baseline;margin:0 0 .25rem}
.vslot figcaption b{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
/* nº 13 / nº 4 : largeur 100 % + marges, et grille des paliers trop large sur 390 px */
form input:not([type=checkbox]),form select,form textarea,label input,label select,label textarea{margin-left:0;margin-right:0;max-width:100%}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}
#secPlan,.card,#planForm{overflow-x:clip;width:100%}

/* Point 15 (11/11), REMPLACÉ au retest du 12/11 : voir le bloc « Retest 12/11 » en fin de fichier — le bouton pause est maintenant petit, vert, au coin droit sous le bouton des langues. */

/* ===== Retest du 12/11/2026 — constats de Popol =====
   1) Bouton pause : petit, VERT, au coin droit de l'écran, sous le bouton
      des langues (colonne .hright dans l'en-tête). Remplace la grande
      pilule rouge pleine largeur du point 15 (11/11).
   2) L'en-tête redevient « sticky » (theme.css) au lieu de fixe : il ne
      recouvre plus jamais le haut du contenu (avant : 136 px d'en-tête
      fixe contre 54 px de réserve — le haut de la page était masqué).
   3) Cadre centré : le contenu tient dans une colonne de 640 px centrée,
      avec marges latérales constantes ; l'en-tête suit la même colonne.
   4) Carte du chef de projet : titre et pastille ne se chevauchent plus
      (retour à la ligne propre), textes lisibles et stables. */
main{max-width:640px;margin:0 auto;padding:0 .8rem;width:100%;box-sizing:border-box}
header{padding-inline:max(.8rem,calc((100% - 640px)/2 + .8rem))}
.tabbar{padding-inline:.4rem;box-sizing:border-box}
.hright{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem;margin-left:auto}
header #stopall{flex:0 0 auto;width:auto;max-width:48vw;min-height:36px;margin:0;padding:.38rem .75rem;border-radius:999px;background:linear-gradient(180deg,#2bd576,#0d8a4c);border:1.5px solid #57e89b;color:#fff;font-size:.8rem;font-weight:800;letter-spacing:.01em;text-align:center;white-space:nowrap;box-shadow:0 0 10px #2bd57655}
button.tile{font:inherit;cursor:pointer;width:100%}
.emp .emph{flex-wrap:wrap;row-gap:.3rem}
.emp .emph b{flex:1 1 55%;min-width:0;overflow-wrap:anywhere;line-height:1.3}
.emp .emph .pill{flex:0 0 auto}
.emp .leadhint{margin:.45rem 0;line-height:1.45}
