/* Générateur de plan V4.2.43.8 — styles confinés à la fenêtre. */
#modal:has(.cbj-rg) .modal-card{box-sizing:border-box;width:min(960px,calc(100vw - 32px));max-width:100%;max-height:92vh;overflow:auto}
.cbj-rg{font-size:14px;color:#40383b}
.cbj-rg h2{margin:4px 0 10px}
.cbj-rg-size{display:inline-block;background:#f3eee7;border-radius:8px;padding:8px 12px;margin:9px 0;color:#604b55}
.cbj-rg-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 8px}
.cbj-rg-fields .field{min-width:0}
.cbj-rg-feedback{margin:12px 0 10px;font-weight:600;color:#684459}
.cbj-rg-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.cbj-rg-choice{background:#fcfaf8;border:1.5px solid #ddd1d3;border-radius:12px;padding:13px;text-align:left;display:flex;flex-direction:column;gap:5px;min-height:235px;cursor:pointer;color:#382e35}
.cbj-rg-choice strong{font-size:15px}
.cbj-rg-choice span{font-size:12px;color:#786b70}
.cbj-rg-choice small{font-size:12px;font-weight:600;color:#86516c}
.cbj-rg-choice.selected{border:2px solid #945b70;background:#fff8fa;box-shadow:0 0 0 2px #945b701a}
.cbj-rg-choice:focus-visible{outline:3px solid #8a5571;outline-offset:3px}
.cbj-rg-choice:disabled{opacity:.55;cursor:not-allowed}
.cbj-rg-svg{display:block;width:100%;height:140px;background:#f0eee9;border-radius:7px}
.cbj-rg-unavailable{height:140px;display:flex;align-items:center;justify-content:center;text-align:center;background:#f7f4f1;border-radius:7px;font-size:12px;padding:12px;color:#6f6663}
.cbj-rg-warning{background:#f8f3ed;border-left:3px solid #bc9264;padding:10px 12px;font-size:12px;line-height:1.45}
@media(max-width:720px){.cbj-rg-fields{grid-template-columns:1fr}.cbj-rg-choices{grid-template-columns:1fr}#modal:has(.cbj-rg) .modal-card{max-height:95vh}.cbj-rg-svg{height:180px}}
.cbj-rg,.cbj-rg *{box-sizing:border-box}
.cbj-rg .field input,.cbj-rg .field select{display:block;width:100%;max-width:100%;min-width:0}
.cbj-rg-choice{min-width:0;width:100%;overflow:hidden}
