
.piece-page{background:#f6f8fb}.piece-shell{padding:18px 0 40px}
.piece-page .nav nav .active{color:var(--o)}
.piece-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:15px}
.crumb{font-size:11px;color:#748397}.piece-toolbar h1{font-size:25px;color:var(--b);margin:4px 0 0}
.toolbar-actions{display:flex;gap:9px}.ghost-btn,.primary-action{min-height:42px;border-radius:9px;padding:0 15px;font-weight:700;border:1px solid #a8bacb;background:#fff;color:var(--b)}.primary-action{background:linear-gradient(135deg,var(--o),#ff8600);border:0;color:#fff}
.workspace{display:grid;grid-template-columns:305px minmax(0,1fr) 285px;gap:14px;align-items:start}
.panel,.plan-zone{background:#fff;border:1px solid #dde6ee;border-radius:16px;box-shadow:0 8px 24px rgba(18,55,88,.06)}
.panel{padding:16px}.panel-title,.plan-heading{display:flex;align-items:center;gap:10px}.panel-title{border-bottom:1px solid #e8edf2;padding-bottom:12px;margin-bottom:13px}
.panel-step{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--o);color:white;font-size:12px;font-weight:800;flex:none}
.panel-title small,.plan-heading small{font-size:8.5px;letter-spacing:1px;font-weight:800;color:#79899b}.panel-title h2,.plan-heading h2{margin:2px 0 0;font-size:16px;color:var(--b)}
.field{display:flex;flex-direction:column;gap:5px;margin-bottom:11px}.field>span{font-size:10.5px;font-weight:700;color:#42566d}.field input,.field select{min-height:39px;border:1px solid #ccd8e2;border-radius:8px;padding:8px 9px;background:#fff;font-size:13px;color:#20364c}.compact{margin:8px 0}
.unit-input{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid #ccd8e2;border-radius:8px;overflow:hidden;background:#fff}.unit-input input{border:0!important}.unit-input em{font-style:normal;padding:0 9px;font-size:10px;color:#6d7e8f}
.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.shape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.shape{min-height:67px;border:1px solid #dbe4ec;background:#fff;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#3a526b}.shape.active{border:2px solid var(--o);background:#fff8f2;color:var(--o)}.shape b{font-size:10px}.mini{display:block;width:30px;height:24px;border:2px solid currentColor}.mini.l{clip-path:polygon(0 0,45% 0,45% 55%,100% 55%,100% 100%,0 100%)}.mini.u{clip-path:polygon(0 0,32% 0,32% 58%,68% 58%,68% 0,100% 0,100% 100%,0 100%)}.mini.t{clip-path:polygon(0 0,100% 0,100% 38%,64% 38%,64% 100%,36% 100%,36% 38%,0 38%)}.mini.tri{clip-path:polygon(50% 0,100% 100%,0 100%);background:currentColor;border:0}.mini.pan{clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);background:currentColor;border:0}
.special-shape{width:100%;margin-top:7px;min-height:40px;border:1px dashed #9eafbf;border-radius:8px;background:#f8fafc;color:#43586e;font-size:10.5px;font-weight:700}.special-shape span{display:block;color:var(--o);font-size:9px}
.entry-box{display:grid;grid-template-columns:40px 1fr;gap:9px;padding:11px;border:1px solid #ffd1b5;border-radius:11px;background:#fff8f3;margin:4px 0 13px}.entry-badge{width:36px;height:36px;border-radius:8px;background:var(--o);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:800}.entry-box strong{font-size:11.5px}.radio-line{display:block;margin-top:6px;font-size:10.5px;color:#56677b}
.subhead{display:flex;flex-direction:column;gap:2px;margin-bottom:7px}.subhead strong{font-size:11.5px;color:var(--b)}.subhead small{font-size:9px;color:#77889a}
#wall-inputs{display:grid;gap:7px}.wall-row{display:grid;grid-template-columns:52px 1fr 25px;align-items:center;gap:6px}.wall-row span{font-size:10.5px;font-weight:700}.wall-row input{min-height:35px;border:1px solid #ccd8e2;border-radius:7px;padding:6px 8px}.wall-row em{font-style:normal;font-size:9px;color:#718296}
.note-info{margin-top:12px;padding:10px;border-left:4px solid var(--o);background:#fff8f3;border-radius:0 8px 8px 0;font-size:9.7px;line-height:1.45;color:#5b6878}
.plan-zone{overflow:hidden;position:sticky;top:104px}.plan-header{padding:13px 15px;border-bottom:1px solid #e5edf3;display:flex;justify-content:space-between;align-items:center;gap:10px}.scale-chip{display:flex;flex-direction:column;align-items:flex-end}.scale-chip span{font-size:8px;color:#7d8b9a}.scale-chip b{font-size:11px;color:var(--b)}
.plan-canvas{background:#fcfdff}.plan-canvas svg{width:100%;height:auto;display:block;min-height:500px}.plan-tools{display:flex;gap:7px;flex-wrap:wrap;padding:9px;border-top:1px solid #e5edf3}.plan-tools button{min-height:37px;border:1px solid #d3dde7;background:#fff;border-radius:8px;padding:0 11px;font-size:10.5px;font-weight:700;color:var(--b)}
.wall-line{stroke:#0b4e85;stroke-width:7;stroke-linecap:round}.wall-line.active{stroke:#9b4dca}.closure-line{stroke:#e4a86a;stroke-width:3;stroke-dasharray:8 6}.wall-label{font-size:13px;font-weight:800;fill:#0b4e85}.wall-dim{font-size:11px;font-weight:700;fill:#f36c21}.dim-line{stroke:#f36c21;stroke-width:1.8}.entry-e{fill:#f36c21}.entry-text{fill:#fff;font-size:18px;font-weight:800}.entry-link{fill:#0b4e85;font-size:10px;font-weight:700}.obj-window{stroke:#4fa5dc;stroke-width:9;stroke-linecap:round}.obj-radiator{fill:#fff;stroke:#f36c21;stroke-width:3}.obj-floor{fill:#eef7fd;stroke:#0b4e85;stroke-width:2.5}
.mobile-tabs{display:none}
.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.summary-grid div{padding:10px;border:1px solid #e2e9f0;background:#fafcfe;border-radius:9px}.summary-grid small{display:block;font-size:8.5px;color:#75869a}.summary-grid strong{display:block;font-size:14px;color:var(--b);margin-top:4px}
.status-card{display:flex;gap:9px;align-items:center;padding:11px;border-radius:10px;margin:12px 0}.status-card.ok{background:#edf8f0;color:#23793d}.status-card.warn{background:#fff5e7;color:#986316}.status-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;font-weight:800}.status-card strong{display:block;font-size:10.8px}.status-card small{display:block;margin-top:2px;font-size:8.8px;line-height:1.35}
.property-section{border-top:1px solid #e8edf2;padding-top:12px;margin-top:13px}.property-section>strong{display:block;font-size:11.5px;color:var(--b);margin-bottom:7px}.closure-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.closure-grid div{background:#fafcfe;border:1px solid #e3eaf0;border-radius:8px;padding:8px}.closure-grid span{display:block;font-size:8.5px;color:#75869a}.closure-grid b{display:block;margin-top:3px;font-size:12px}
.object-row{width:100%;display:flex;justify-content:space-between;gap:8px;border:0;border-bottom:1px solid #eef2f5;background:#fff;padding:9px 0;text-align:left}.object-row span{font-size:10.5px;font-weight:700}.object-row em{font-style:normal;font-size:8.5px;color:#78899a}.mini-note{font-size:9px;line-height:1.4;color:#6b7a8b}
.selected-info{margin-top:13px;border:1px solid #ded2e7;background:#fbf8fd;border-radius:9px;padding:10px}.selected-info small{font-size:8px;color:#8a5c9d;letter-spacing:1px}.selected-info strong{display:block;margin-top:4px;font-size:11px;color:#593b69}.selected-info p{font-size:8.8px;line-height:1.4;color:#70627a;margin-bottom:0}
.toast{position:fixed;right:18px;bottom:18px;background:var(--b);color:#fff;padding:10px 13px;border-radius:8px;font-size:10.5px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1}
@media(max-width:1120px){.workspace{grid-template-columns:280px minmax(0,1fr)}.panel-right{grid-column:1/-1}.plan-zone{top:88px}}
@media(max-width:780px){
 .piece-toolbar{flex-direction:column;align-items:flex-start}.toolbar-actions{width:100%}.toolbar-actions button{flex:1}
 .workspace{display:block}.panel-left,.panel-right{display:none}.plan-zone{position:relative;top:auto}
 .plan-canvas svg{min-height:390px}.plan-tools{display:none}.mobile-tabs{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #e3eaf0}.mobile-tabs button{min-height:48px;border:0;background:#fff;font-size:8.5px;color:#627386}.mobile-tabs button.active{color:var(--o);font-weight:800;border-top:3px solid var(--o)}
}
@media(max-width:480px){.piece-toolbar h1{font-size:20px}.plan-heading h2{font-size:14px}.plan-canvas svg{min-height:330px}}

.entry-rule{margin-top:8px;padding:9px;border-radius:8px;background:#fff;border:1px solid #ffd8c0}
.entry-rule b{display:block;font-size:9.5px;color:var(--o);margin-bottom:3px}
.entry-rule span{display:block;font-size:8.8px;line-height:1.4;color:#617184}
.wall-row.linked input{background:#f1f5f8;color:#718090}
.wall-row .link-mark{font-size:8px;color:#2d7a46;font-weight:800}
.assist-section{background:#fcfdff;border:1px solid #e4eaf0;border-radius:10px;padding:10px}
.assist-pair{padding:9px;border-radius:9px;background:#f7fafc;margin-top:8px;border:1px solid #e0e7ed}
.assist-pair.warn{background:#fff8ed;border-color:#f0d4a6}
.assist-pair.ok{background:#f1f8f3;border-color:#cfe4d4}
.assist-pair strong{font-size:10px}.assist-pair p{font-size:8.8px;line-height:1.4;margin:5px 0;color:#647487}
.assist-actions{display:grid;gap:5px;margin-top:7px}.assist-actions button{border:1px solid #d2dde6;background:#fff;border-radius:7px;min-height:31px;padding:4px 7px;text-align:left;font-size:8.5px;color:#334c64;font-weight:700}
.assist-actions button.recommended{border-color:#f4a36e;background:#fff5ed;color:#b6541d}
.assist-actions button.parametric{border-style:dashed;color:#6d4b7b}
.link-choice{display:flex;gap:5px;margin-top:5px}.link-choice button{flex:1;min-height:30px;border:1px solid #d6e0e8;background:#fff;border-radius:7px;font-size:8.5px;font-weight:700}.link-choice button.active{border-color:var(--o);background:#fff5ee;color:var(--o)}
.impact{font-size:8px;color:#728295;margin-top:5px}

/* ===== V7 : formes en haut + cotation face au plan ===== */
.shape-strip{margin-top:0;margin-bottom:10px;background:#fff;border:1px solid #dfe6ec;border-radius:12px;padding:8px 10px;display:flex;align-items:center;gap:14px}
.shape-strip-title{min-width:175px}.shape-strip-title small{display:block;font-size:8px;letter-spacing:.1em;color:#8290a0;font-weight:800}.shape-strip-title strong{display:block;font-size:10px;margin-top:2px;color:#26394c}
.shape-grid-top{display:flex!important;flex-wrap:wrap;gap:6px;flex:1}.shape-grid-top .shape{width:auto!important;min-width:74px;height:48px;padding:5px 8px}.shape-grid-top .shape b{font-size:8px}.top-special{margin:0!important;min-height:48px!important;width:auto!important;padding:0 12px!important}
.workspace{grid-template-columns:300px minmax(620px,1fr) 300px;align-items:start}
.panel-left{padding-top:10px}.panel-left .panel-title{margin-bottom:8px}
.walls-form-v7{margin-top:9px;padding-top:8px;border-top:1px solid #e5ebf0}
.entry-box-v7{margin-top:7px;padding:8px;display:grid;grid-template-columns:38px 1fr;gap:8px}
.entry-help{font-size:8.5px;line-height:1.35;color:#687789;margin:3px 0 6px}
.entry-draggable{cursor:grab;user-select:none;touch-action:none;box-shadow:0 3px 8px rgba(243,108,33,.22)}
.entry-draggable:active{cursor:grabbing}
.entry-state{margin-top:5px;padding:6px 7px;background:#f5f8fa;border:1px dashed #bdc9d3;border-radius:7px;font-size:8.5px;font-weight:800;color:#687789}
.entry-state.ready{background:#eff8f1;border-color:#b9d9c2;color:#277342}
.tiny-action{margin-top:5px;padding:5px 7px;border:1px solid #d7e0e7;background:#fff;border-radius:6px;font-size:8px;font-weight:800;color:#536579}
.plan-header-actions{display:flex;gap:7px;align-items:center}.entry-chip{padding:6px 9px;border-radius:999px;background:#fff5ed;border:1px solid #f6c39e;color:#b7531b;font-size:8.5px;font-weight:900}.entry-chip.ready{background:#eff8f1;border-color:#b9d9c2;color:#277342}
.wall-line.entry-target{stroke:#f36c21!important;stroke-width:11!important;opacity:.65}.wall-line.drop-hover{stroke:#ef8c54!important;stroke-width:15!important}
.segment-label{font-size:16px;font-weight:900;fill:#58697a;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.wall-number-label{font-size:15px;font-weight:900;fill:#23384c;paint-order:stroke;stroke:#fff;stroke-width:5px}
.entry-e{pointer-events:none}
.cotation-locked{opacity:.55;filter:grayscale(.15)}.cotation-placeholder{padding:10px;border:1px dashed #cdd8e1;border-radius:8px;background:#f8fafc;font-size:9px;line-height:1.4;color:#6a7988}
.wall-row .identity{display:block;font-size:7px;color:#91a0ad;font-weight:700}
@media(max-width:1180px){.workspace{grid-template-columns:270px minmax(520px,1fr)}.panel-right{grid-column:1/-1}.shape-strip{align-items:flex-start}.shape-strip-title{min-width:150px}}
@media(max-width:780px){.shape-strip{display:block}.shape-strip-title{margin-bottom:7px}.shape-grid-top{display:grid!important;grid-template-columns:repeat(3,1fr)}.workspace{display:block}.panel-left{display:block}.plan-zone{margin-top:10px}}

/* ===== V8 : rectangle corrigé + moteur L ===== */
.wall-row.calc{background:#f4f7fa;border-color:#d5dfe7}
.wall-row.calc input{background:#eef2f5;color:#44586b;font-weight:900}
.wall-row .role{display:block;margin-top:2px;font-size:7px;line-height:1.15;font-weight:800}
.wall-row .role.measure{color:#2477a9}
.wall-row .role.calc{color:#73808c}
.wall-row.invalid{border-color:#e8a4a4;background:#fff5f5}
.l-engine-card{padding:9px;border:1px solid #dce5ec;border-radius:8px;background:#f8fafc;margin-bottom:7px}
.l-engine-card strong{display:block;font-size:9px;color:#293e52}
.l-engine-card p{font-size:8px;line-height:1.4;color:#697989;margin:4px 0 0}
.l-engine-card b{color:#f36c21}
.formula-chip{display:inline-block;margin:4px 3px 0 0;padding:4px 6px;border-radius:6px;background:#fff;border:1px solid #d9e2e9;font-size:8px;font-weight:800;color:#506376}
.formula-chip.done{border-color:#b9d9c2;background:#eff8f1;color:#277342}
.formula-chip.warn{border-color:#efc3c3;background:#fff3f3;color:#a33c3c}
.entry-box-v7.fixed-entry .entry-badge{opacity:.9}

/* ===== V9 corrections terrain ===== */
.room-fill{fill:#fff!important;fill-opacity:1!important;stroke:none!important}
.room-fill::before,.room-fill::after{display:none!important}
.window-object{display:none!important} /* retire le trait/objet noir de démonstration */
.wall-number-label,.segment-label{font-size:12px!important}
.wall-dim{font-size:9px!important}
.entry-e{cursor:grab;pointer-events:all!important}
.entry-e:active{cursor:grabbing}
.entry-hit{stroke:transparent;stroke-width:24;fill:none;pointer-events:stroke;cursor:crosshair}
.metric-volume{grid-column:1/-1}
.metric-volume span{display:block;margin-top:4px;font-size:8px;line-height:1.3;color:#718091;font-weight:700}

/* ===== V9 corrigé : traits du plan visibles ===== */
.room-fill{fill:#fff!important;fill-opacity:1!important;stroke:#173a5e!important;stroke-width:3!important}
.wall-line{stroke:#173a5e!important;stroke-width:4!important;opacity:1!important}
.wall-line.active{stroke:#f36c21!important;stroke-width:6!important}
.wall-line.entry-target{stroke:#173a5e!important;stroke-width:6!important;opacity:1!important}
.wall-line.drop-hover{stroke:#f36c21!important;stroke-width:10!important;opacity:.85!important}
.closure-line{stroke:#173a5e!important}

/* ===== V9 corrigé 2 : correctif réel après contrôle ===== */
#room-layer .room-fill{
  fill:#ffffff!important;
  fill-opacity:1!important;
  stroke:#173a5e!important;
  stroke-width:4!important;
  stroke-linejoin:round!important;
}
#room-layer .wall-line{
  stroke:#173a5e!important;
  stroke-width:5!important;
  stroke-linecap:round!important;
  opacity:1!important;
  vector-effect:non-scaling-stroke;
}
#room-layer .wall-line.active{
  stroke:#f36c21!important;
  stroke-width:6!important;
}
#room-layer .wall-line.entry-target{
  stroke:#173a5e!important;
  stroke-width:6!important;
  opacity:1!important;
}
.metric-volume{
  grid-column:1/-1;
  padding-top:7px;
  margin-top:2px;
  border-top:1px solid #e4e9ee;
}
.metric-volume strong{display:block}
.metric-volume span{
  display:block;
  margin-top:3px;
  font-size:8px;
  line-height:1.35;
  color:#718091;
  font-weight:700;
}


/* ===== V10 : lisibilité des murs/cotations + E = ouverture provisoire ===== */
#room-layer .wall-line{
  stroke:#173a5e!important;
  stroke-width:5!important;
}
.wall-number-label{
  font-size:16px!important;
  font-weight:900!important;
  fill:#173a5e!important;
  paint-order:stroke;
  stroke:#fff;
  stroke-width:5px;
  stroke-linejoin:round;
}
.wall-dim{
  font-size:14px!important;
  font-weight:900!important;
  fill:#173a5e!important;
  paint-order:stroke;
  stroke:#fff;
  stroke-width:6px;
  stroke-linejoin:round;
}
.dim-guide{
  stroke:#8092a3;
  stroke-width:1.5;
  vector-effect:non-scaling-stroke;
}
.dim-tick{
  stroke:#8092a3;
  stroke-width:1.5;
  vector-effect:non-scaling-stroke;
}
.segment-label{
  font-size:16px!important;
  font-weight:900!important;
}
.entry-opening{
  cursor:grab;
  touch-action:none;
}
.entry-opening:active{cursor:grabbing}
.entry-opening rect{
  fill:#fff;
  stroke:#f36c21;
  stroke-width:4;
  rx:2;
  vector-effect:non-scaling-stroke;
}
.entry-opening text{
  fill:#b6531c;
  font-size:15px;
  font-weight:950;
  paint-order:stroke;
  stroke:#fff;
  stroke-width:4px;
  pointer-events:none;
  user-select:none;
}
.entry-position-note{
  margin-top:7px;
  padding:7px 8px;
  border:1px dashed #f2b58d;
  border-radius:7px;
  background:#fff9f4;
  font-size:8.4px;
  line-height:1.4;
  color:#657486;
}
.entry-position-note b{color:#b6531c}


/* ===== V11 : structure Projet -> Pièces -> Validation -> Rappel ===== */
.project-bar{
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto auto;
  gap:14px;
  align-items:end;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #dce4eb;
  border-radius:10px;
  background:#fff;
}
.project-ident small{
  display:block;
  margin-bottom:4px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  color:#748294;
}
#project-name{
  width:100%;
  min-width:0;
  border:0;
  border-bottom:2px solid #173a5e;
  padding:4px 2px;
  font-size:17px;
  font-weight:900;
  color:#173a5e;
  background:transparent;
}
.project-actions{display:flex;gap:8px;flex-wrap:wrap}
.save-state{
  align-self:center;
  justify-self:end;
  font-size:10px;
  font-weight:800;
  color:#4b7b5f;
  white-space:nowrap;
}
.save-state.saving{color:#9a6b21}
.save-state.saved{color:#4b7b5f}
.project-rooms-panel{
  border-bottom:1px solid #e2e8ef;
  padding-bottom:12px;
  margin-bottom:12px;
}
.panel-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.panel-title-row h3{
  margin:0;
  font-size:13px;
  color:#173a5e;
}
#room-count-badge{
  display:inline-flex;
  min-width:24px;
  height:24px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef3f7;
  color:#173a5e;
  font-size:10px;
  font-weight:900;
}
.room-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.room-card{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  width:100%;
  text-align:left;
  padding:8px;
  border:1px solid #dfe6ed;
  border-radius:8px;
  background:#fff;
  cursor:pointer;
}
.room-card:hover{border-color:#aab9c7}
.room-card.active{
  border-color:#f36c21;
  box-shadow:0 0 0 1px #f36c21 inset;
}
.room-card .state-dot{
  display:flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  font-size:11px;
  font-weight:950;
}
.room-card.validated .state-dot{
  background:#e8f5ec;
  color:#36734a;
}
.room-card.in-progress .state-dot{
  background:#fff3e8;
  color:#b35c1e;
}
.room-card strong{
  display:block;
  font-size:11px;
  color:#173a5e;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.room-card small{
  display:block;
  margin-top:2px;
  font-size:8px;
  color:#7b8794;
}
.room-card .shape-tag{
  font-size:8px;
  font-weight:900;
  color:#526374;
  background:#f2f5f7;
  border-radius:999px;
  padding:4px 6px;
}
.active-room-line{
  display:flex;
  justify-content:flex-end;
  margin:-2px 0 5px;
}
.room-status{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 7px;
  border-radius:999px;
  font-size:8px;
  font-weight:900;
}
.room-status.in-progress{background:#fff3e8;color:#a65318}
.room-status.validated{background:#e8f5ec;color:#36734a}
@media(max-width:900px){
  .project-bar{grid-template-columns:1fr}
  .save-state{justify-self:start}
}

.room-list-help{font-size:9px;color:#687789;line-height:1.35;margin:0 0 8px}
.active-room-identity{font-size:10px;font-weight:850;color:#687789;margin-top:3px}
.entry-reset-btn{width:100%;margin-top:8px;border-color:#f36c21!important;color:#a64c15!important;font-weight:900!important}
.entry-preserve-note{margin:6px 0 8px;padding:7px 8px;border:1px solid #f2d4bd;border-radius:7px;background:#fff7ef;font-size:8.5px;font-weight:750;color:#75401d}
#entry-help.attention{padding:9px 10px;border:2px solid #f36c21;border-radius:8px;background:#fff8f2;font-weight:850}
.shape.shape-locked{opacity:.4;cursor:not-allowed}.shape.shape-locked.active{opacity:1}
.room-delete{display:block;margin:4px 0 0 auto;border:0;background:transparent;color:#9a4a3e;font-size:8px;font-weight:850;cursor:pointer}

.entry-fresh-note{
  margin:6px 0 8px;
  padding:7px 8px;
  border:1px solid #d8e0e8;
  border-radius:7px;
  background:#f5f7fa;
  color:#536273;
  font-size:8.5px;
  line-height:1.35;
}


/* ===== V12 CORRIGÉE 2 ===== */
.closure-grid div.closure-alert{
  border:2px solid #d83a3a !important;
  background:#fff3f3 !important;
}
.closure-grid div.closure-alert span{
  color:#9f2929 !important;
  font-weight:800;
}
.closure-grid div.closure-alert b{
  color:#c51f1f !important;
  font-weight:950;
}
#cotation-help b{
  color:#385066;
}
#reset-entry{
  margin:7px 0 8px;
}

/* V12 corrigée 3 — relations propres à chaque pièce */
.entry-connection-help{margin:4px 0 8px;font-size:9px;line-height:1.35;color:#718296}.wall-neighbor-field{margin-top:9px!important}.selected-info select{width:100%;min-height:38px;border:1px solid #ccd8e2;border-radius:8px;padding:7px 8px;background:#fff;color:#20364c}.selected-info .mini-note{margin-top:7px}

/* V12 corrigée 4 — mur mitoyen / destination par segment physique */
.wall-relation-row{margin:-2px 0 5px 58px;padding:6px 7px 7px;border-left:3px solid #f28a2b;background:#fffaf5;border-radius:0 7px 7px 0}.wall-relation-title{display:block;margin-bottom:4px;font-size:8.5px;font-weight:800;color:#6c7783}.wall-relation-select{width:100%;min-height:33px;border:1px solid #ccd8e2;border-radius:7px;padding:5px 7px;background:#fff;color:#20364c;font-size:11px}
