/* Plannéo — labo visa : plan à gauche (vignettes), planche au centre, remarques et décision à droite */
body.labo{overflow:hidden;height:100vh}
.labo{display:flex;flex-direction:column;height:100vh}#module-visa.labo{height:100%}
.labo header.barre{flex:none;gap:14px;height:auto;min-height:54px;padding:6px 12px;align-items:center;flex-wrap:wrap;overflow:visible}.labo header.barre .logo{flex:none}.labo header.barre .moi{flex:none;margin-left:auto}
.outils{display:flex;align-items:center;gap:4px;flex-wrap:wrap;flex:1 1 600px;min-width:0;row-gap:6px}
.outils button{background:transparent;color:#dbe4ec;border:1px solid transparent;border-radius:6px;padding:4px 6px;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:4px;line-height:1}.outils button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.outils button.bascule.actif{background:#2f7fc1;color:#fff}
.outils button:hover{background:rgba(255,255,255,.08)}.outils button.actif{background:var(--vert);color:#0f1d2b;font-weight:600}
.outils kbd{font:11px ui-monospace,monospace;opacity:.7;margin-left:3px}.outils .sep{width:1px;height:22px;background:rgba(255,255,255,.18);margin:0 6px}
.outils .couleur{color:#dbe4ec;font-size:13px;display:flex;align-items:center;gap:5px}.outils input[type=color]{width:26px;height:22px;border:0;padding:0;background:transparent;cursor:pointer}
.outils select{background:#1c2f42;color:#dbe4ec;border:1px solid #33495e;border-radius:5px;padding:2px 4px;font-size:13px}
.corps{flex:1;display:flex;min-height:0;position:relative}.vignettes{width:130px;flex:none}.planche{flex:1 1 0;min-width:0}.cote{width:380px;flex:none}.corps.sans-pages .vignettes{display:none}.corps.sans-cote .cote{display:none}
.vignettes{background:#dfe6ec;overflow:auto;padding:8px}.vignettes .vig{margin:0 0 8px;cursor:pointer;border:2px solid transparent;border-radius:4px;background:#fff;padding:3px;text-align:center}
.vignettes .vig canvas{max-width:100%;display:block;margin:0 auto}.vignettes .vig .aide{font-size:11px}.vignettes .vig.courante{border-color:var(--vert)}.vignettes .vig.remarquee .aide::after{content:" ●";color:#d62828}
.planche{background:#8a95a0;overflow:auto;position:relative;outline:none;cursor:default}.planche.pan{cursor:grab}.planche.pan.actif{cursor:grabbing}.planche.dessin{cursor:crosshair}.planche.main{cursor:grab}.planche.texte{cursor:text}
#pages{padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:24px;width:max-content;min-width:100%;box-sizing:border-box}.page{margin:0 auto;flex:none}
.page{position:relative;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.35)}.page canvas{display:block}
.page svg.calque{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.page svg.calque .obj{cursor:move}.page svg.calque .obj.sel{filter:drop-shadow(0 0 2px #2f7fc1)}
.page svg.calque .poignee{fill:#fff;stroke:#2f7fc1;stroke-width:1.2;cursor:nwse-resize}.page svg.calque .cadre-sel{fill:none;stroke:#2f7fc1;stroke-width:1;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}
.page svg.calque .repere-n{font:bold 11px "Segoe UI",system-ui,sans-serif;fill:#fff;text-anchor:middle;dominant-baseline:central;pointer-events:none}
.page svg.calque .txt{font-family:"Segoe UI",system-ui,sans-serif;white-space:pre}
.page .saisie-texte{position:absolute;font:14px "Segoe UI",system-ui,sans-serif;border:1px dashed #2f7fc1;background:rgba(255,255,255,.9);padding:2px 4px;min-width:120px;resize:both;outline:none}
.cote{background:var(--blanc);border-left:1px solid var(--ligne);overflow:auto;display:flex;flex-direction:column}
.cote section{padding:12px 14px;border-bottom:1px solid var(--ligne)}.cote h3{margin:0 0 8px;font-size:15px}.cote .remarques{flex:1}
.liste-rem .rem{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:start;padding:8px 0;border-bottom:1px solid #eef2f5}
.liste-rem .num{width:24px;height:24px;border-radius:50%;color:#fff;font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.liste-rem textarea{width:100%;box-sizing:border-box;font:inherit;font-size:13px;padding:6px;border:1px solid #c9d3dc;border-radius:5px;min-height:56px}
.liste-rem .rem .aide{font-size:12px}.liste-rem .rem.sel{background:#f4f7f9}.liste-rem .rem button{border:0;background:transparent;color:var(--gris);cursor:pointer;font-size:16px}
.decision .choix{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.decision .grille{display:grid;grid-template-columns:1fr 130px;gap:8px}
.statut{flex:none;background:#0f1d2b;color:#9fb3c3;font-size:12px;padding:4px 12px;font-family:ui-monospace,monospace}
.page svg.calque .fenetre{fill:rgba(47,127,193,.12);stroke:#2f7fc1;stroke-width:1;vector-effect:non-scaling-stroke}
.page svg.calque .cote-txt{font-family:"Segoe UI",system-ui,sans-serif;text-anchor:middle}
.page svg.calque .bulle-txt{font-family:"Segoe UI",system-ui,sans-serif;white-space:pre}
.echelle .grille{display:grid;grid-template-columns:1fr 90px;gap:8px;margin-bottom:4px}
.languette{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:16px;height:64px;border:0;border-radius:0 6px 6px 0;background:#0f1d2b;color:#dbe4ec;cursor:pointer;font-size:10px;padding:0;opacity:.75}.languette:hover{opacity:1}
.languette.gauche{left:130px}.languette.droite{right:380px;border-radius:6px 0 0 6px}.corps.sans-pages .languette.gauche{left:0}.corps.sans-cote .languette.droite{right:0}
.page svg.calque .accroche{fill:none;stroke:#e6a100;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}.page svg.calque .accroche-txt{font:10px system-ui,sans-serif;fill:#e6a100;pointer-events:none}
.outils .groupe{display:inline-flex;align-items:center;gap:2px}.outils .lib{font-size:11px;opacity:.85}
#saisie{position:fixed;left:50%;bottom:34px;transform:translateX(-50%);width:260px;padding:6px 10px;font:14px ui-monospace,monospace;border:2px solid #e6a100;border-radius:6px;background:#fff;z-index:9}
.couche{border:1px solid var(--ligne);border-radius:8px;padding:8px 10px;margin:0 0 10px;background:#fbfcfd}.couche-tete{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}
.liste-rem .rem.autre,.couche .rem{grid-template-columns:28px 1fr}.couche .rem.ignoree > div > div:first-child{text-decoration:line-through;color:var(--gris)}
.page svg.calque .verrou{opacity:.9}
.module-plein{position:fixed;inset:0;z-index:50;background:var(--fond);display:flex;flex-direction:column}.module-plein > .labo,#module-visa{display:flex;flex-direction:column;height:100%}
.rem.reponse{grid-template-columns:28px 1fr;padding:8px 0;border-bottom:1px solid #eef2f5}.rem.reponse select{width:100%;margin:4px 0;font:inherit;font-size:13px}.rem.reponse textarea{width:100%;box-sizing:border-box;font:inherit;font-size:13px;padding:5px;border:1px solid #c9d3dc;border-radius:5px}.rem.reponse.ignoree .num{opacity:.4}

.page svg.calque .niveau-txt{font-family:"Segoe UI",system-ui,sans-serif;pointer-events:none}

/* V0.10z — volet Remarques vide : on montre l'icône de l'outil à cliquer */
.liste-rem .vide-rem{line-height:1.5}.liste-rem .vide-rem .ico svg,.liste-rem .vide-rem .btn svg{width:18px;height:18px;vertical-align:-4px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.liste-rem .vide-rem .btn{display:inline-flex;align-items:center;gap:6px}
