.plan-editor{margin:20px 0;padding:20px;border:1px solid #d9dfd0;border-radius:22px;background:#f8f9f0;color:#294437}.plan-editor-heading{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.plan-editor h3{margin:0 0 7px;font-size:19px;font-weight:600;letter-spacing:-.02em}.plan-editor-heading p{margin:0;font-size:13px;line-height:1.55;color:#65715f}.plan-concept{display:inline-block;background:#e8ecde;border:1px solid #d7dfc9;padding:5px 9px;border-radius:30px;color:#526448;font-size:11px;white-space:nowrap}.plan-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 12px}.plan-editor button{min-height:38px;font:inherit;font-size:12px;line-height:1.3;padding:9px 12px;color:#2f4c3c;background:#eef2e6;border:1px solid #ced8c2;border-radius:10px;cursor:pointer}.plan-editor button:hover{background:#e2ead7;border-color:#9bb18a}.plan-editor button:focus-visible,.plan-editor input:focus-visible,.plan-wall:focus-visible{outline:3px solid #8ca376;outline-offset:3px}.plan-canvas-wrap{border:1px solid #e1e6d8;background:#fdfdf7;border-radius:14px;overflow:hidden}.plan-canvas{display:block;width:100%;height:auto;max-height:420px;touch-action:none;user-select:none}.plan-outer-wall{fill:none;stroke:#526652;stroke-width:7;stroke-linejoin:round}.plan-bath-area{fill:#e4eee9;stroke:none}.plan-room-label{font:600 12px system-ui,sans-serif;text-anchor:middle;fill:#547666;pointer-events:none}.plan-room-size{font:10px system-ui,sans-serif;text-anchor:middle;fill:#668676;pointer-events:none}.plan-dimension{font:11px system-ui,sans-serif;text-anchor:middle;fill:#67745f;pointer-events:none}.plan-wall{cursor:grab}.plan-wall:active{cursor:grabbing}.plan-wall-line{stroke:#889275;stroke-width:5;stroke-linecap:butt;pointer-events:none}.plan-wall.is-selected .plan-wall-line{stroke:#ac683b;stroke-width:7}.plan-wall.is-locked{cursor:default}.plan-wall.is-locked .plan-wall-line{stroke:#6c8979;stroke-width:5}.plan-hit{stroke:transparent;stroke-width:20;pointer-events:stroke}.plan-door-gap{stroke:#fcfcf4;stroke-width:8;pointer-events:none}.plan-door{fill:none;stroke:#83907b;stroke-width:1.2;pointer-events:none}.plan-handle{stroke:#fff;stroke-width:2;fill:#ae7149;cursor:crosshair}.plan-hint,.plan-footnote{font-size:11px;line-height:1.55;color:#74816a;margin:10px 0}.plan-footnote{border-top:1px solid #dce3d3;padding-top:11px;margin-bottom:0}.plan-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 10px}.plan-selection strong{font-size:12px;font-weight:600}.plan-editor .plan-delete{background:transparent;border-color:#decfc2;color:#98604c;font-size:11px;padding:7px 10px;min-height:32px}.plan-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.plan-field-grid>label{font-size:11px;color:#5a6953;display:grid;gap:5px}.plan-input{display:flex;align-items:center;border:1px solid #d6decb;border-radius:9px;overflow:hidden;background:#fffef7}.plan-input input{width:100%;min-width:0;border:0!important;background:transparent!important;padding:9px 10px!important;color:#314932;font:500 14px system-ui,sans-serif!important;box-sizing:border-box;border-radius:0!important;min-height:37px}.plan-input input:disabled{opacity:.42}.plan-input span{padding-right:10px;font-size:11px;color:#7d896f}.plan-door-toggle{display:flex;align-items:center;gap:9px;font-size:12px;margin:13px 0 0;color:#465e3f}.plan-door-toggle input{accent-color:#5a7549;width:16px!important;height:16px!important;margin:0}.plan-status{font-size:12px;line-height:1.5;min-height:1em;margin:10px 0 0}.plan-status.is-error{color:#a05f3e}.plan-empty{font-size:12px;color:#6b775f;padding:6px 0}@media(max-width:520px){.plan-editor{padding:15px;border-radius:16px}.plan-editor-heading{gap:9px}.plan-editor h3{font-size:17px}.plan-toolbar button{flex:1;min-width:120px}.plan-canvas{max-height:360px}.plan-field-grid{gap:9px}}
.plan-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:11px;color:#5f705f}.plan-legend span{display:inline-flex;align-items:center;gap:7px}.plan-legend i{display:inline-block;width:22px;height:0;border-top:5px solid #526652}.plan-legend .plan-legend-window{border-color:#408499}.plan-legend .plan-legend-entry{border-color:#b46c43}.plan-exterior-opening{pointer-events:none}.plan-opening-gap{stroke:#fcfcf4;stroke-width:12;stroke-linecap:butt}.plan-opening-mark{stroke-width:5;stroke-linecap:butt}.plan-exterior-opening.is-window .plan-opening-mark{stroke:#408499}.plan-exterior-opening.is-entry .plan-opening-mark{stroke:#b46c43}
.opening-editor{margin:1rem 0;padding:1.1rem;background:#f1f3e9;border:1px solid #cfd8c7;border-radius:14px}.opening-editor h3{margin:0 0 .7rem}.opening-editor p{font-size:.85rem;line-height:1.5}.opening-included{background:#e2eadb;padding:.8rem;border-radius:9px;color:#304c37}.opening-editor label{display:grid;gap:.4rem;font-size:.8rem;margin:.65rem 0}.opening-editor input[type=number],.opening-editor select{width:100%;min-width:0;min-height:42px;padding:.6rem;background:#fffdf7;border:1px solid #bbc7b3;border-radius:7px;color:#2e4535}.opening-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1rem}.opening-actions{display:flex;flex-wrap:wrap;gap:.6rem}.opening-editor button{background:#fffdf7;color:#34543c;border:1px solid #aebea5;border-radius:8px;padding:.65rem .8rem;min-height:42px;cursor:pointer}.opening-editor button:hover{background:#e2eadb}.opening-editor button:disabled{opacity:.45;cursor:not-allowed}.opening-editor .opening-check{display:flex;align-items:center;gap:.6rem}.opening-check input{width:18px;height:18px;flex:0 0 auto}.opening-corner,.opening-room-add{border-block:1px solid #d4ddcc;padding:.75rem 0;margin:.8rem 0}.opening-notice{color:#9b4e26;min-height:1.2rem}.opening-help{color:#66785e}.plan-canvas [data-opening-id],.plan-canvas [data-interior-id]{cursor:grab}.plan-canvas [data-openings-layer] path{pointer-events:stroke}@media(max-width:600px){.opening-field-grid{grid-template-columns:1fr}.opening-editor{padding:.8rem}}
