.pro-floor-canvas{position:relative;min-height:350px;overflow:hidden;background:#fafbf6}.pro-floor-canvas svg{display:block;width:100%;height:100%;min-height:350px;touch-action:none}.pro-floor-controls{position:absolute;right:12px;top:12px;z-index:2;display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fffffff0}.pro-floor-controls button{width:28px;height:28px;border:0;border-radius:5px;background:transparent;color:var(--primary);font-size:19px;cursor:pointer}.pro-floor-controls button:hover{background:var(--primary-soft)}.pro-room-size{font:700 10px sans-serif;fill:#375d42;paint-order:stroke;stroke:#fff;stroke-width:2px;pointer-events:none}.pro-opening{cursor:pointer}.pro-opening-hit{fill:transparent;stroke:none}.pro-opening-cut{fill:#fafbf6;stroke:none}.pro-opening-frame{fill:none;stroke:#345f78;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.pro-window-frame{fill:#e3f5f8;stroke:#218fa8;stroke-width:1;pointer-events:none}.pro-window-lines{fill:none;stroke:#218fa8;stroke-width:1;stroke-linecap:square;pointer-events:none}.pro-opening:hover .pro-opening-cut,.pro-opening:focus-visible .pro-opening-cut{fill:#d8ecf5}.pro-opening:hover .pro-opening-frame,.pro-opening:focus-visible .pro-opening-frame{stroke:#1d74a5;stroke-width:3}.pro-opening:hover .pro-window-lines,.pro-opening:focus-visible .pro-window-lines{stroke:#08748c;stroke-width:1.5}.pro-opening-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pro-opening-fields .note{grid-column:1/-1}@media(max-width:600px){.pro-floor-canvas,.pro-floor-canvas svg{min-height:270px}.pro-opening-fields{grid-template-columns:1fr}}
.pro-opening.selected .pro-opening-frame{stroke:#12618a;stroke-width:2.5}.pro-opening.selected .pro-window-frame{stroke:#12618a;stroke-width:1.8}.pro-opening-grip{fill:#fff;stroke:#146c9b;stroke-width:2;cursor:ew-resize;filter:drop-shadow(0 1px 2px #24415a55)}.pro-opening-grip[data-grip="arc"]{cursor:nwse-resize}.pro-door-flip{cursor:pointer}.pro-door-flip-hit{fill:transparent;stroke:none}.pro-door-flip path{fill:none;stroke:#146c9b;stroke-width:.85;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.pro-door-flip:hover path,.pro-door-flip:focus-visible path{stroke:#075580;stroke-width:1.15}.pro-opening-dimensions{pointer-events:none}.pro-opening-dimensions path{fill:none;stroke:#277ca2;stroke-width:1;stroke-dasharray:3 2}.pro-opening-dimensions text{font:700 10px sans-serif;fill:#165b7a;paint-order:stroke;stroke:#fff;stroke-width:3px}.pro-opening-selection-actions{position:absolute;left:12px;top:2px;z-index:3;display:flex;align-items:center;gap:8px;padding:5px 7px;border:1px solid #bfd6df;border-radius:8px;background:#fffffff0;box-shadow:0 2px 9px #1f4e6518;color:#245a70;font-size:11px}.pro-opening-selection-actions button{border:0;border-radius:5px;background:#eaf4f6;color:#245a70;padding:5px 7px;cursor:pointer}.pro-opening-selection-actions button:hover{background:#d6ebf1}@media(max-width:600px){.pro-opening-selection-actions{top:2px;max-width:calc(100% - 24px);flex-wrap:wrap}}
.pro-opening-fields [hidden]{display:none!important}
.pro-floor-controls svg{display:block;width:17px;height:17px;min-height:0;pointer-events:none}.pro-floor-controls button:has(svg){display:grid;place-items:center}.pro-floor-controls button:disabled{color:#aeb8ba;cursor:default}.pro-floor-controls button:disabled:hover{background:transparent}.pro-floor-controls-divider{width:1px;height:22px;align-self:center;margin:0 2px;background:var(--line)}
.pro-wall{cursor:pointer}.pro-wall-body{fill:none;stroke:#455e3e;pointer-events:none}.pro-wall-junction{fill:#455e3e;pointer-events:none}.pro-wall-highlight{fill:none;stroke:#14739b;opacity:0;pointer-events:none}.pro-wall:hover .pro-wall-highlight,.pro-wall:focus-visible .pro-wall-highlight,.pro-wall.selected .pro-wall-highlight{opacity:1}.pro-wall-hit{fill:none;stroke:transparent;stroke-width:16;pointer-events:stroke}.pro-wall-actions{color:#245a70}
.pro-floor-compass{position:absolute;right:15px;top:54px;z-index:2;width:52px;height:52px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;filter:drop-shadow(0 1px 3px #263b4226)}.pro-floor-compass:hover,.pro-floor-compass:focus-visible{outline:2px solid #a9d0dc;outline-offset:2px}.pro-floor-compass svg{display:block;width:52px;height:52px;min-height:0;pointer-events:none}.pro-floor-compass circle:first-child{fill:#fffefa;stroke:#9aa8a4;stroke-width:1}.pro-compass-ticks{fill:none;stroke:#82918e;stroke-width:1}.pro-compass-north{fill:#c8564a;stroke:#ad4239;stroke-width:.6}.pro-compass-south{fill:#dce4e4;stroke:#657b81;stroke-width:.6}.pro-compass-center{fill:#455b61}.pro-floor-compass text{font:700 8px sans-serif;fill:#c8564a}@media(max-width:600px){.pro-floor-compass{right:10px;top:48px}}
.pro-grip-hit{cursor:ew-resize}.pro-grip-hit[data-grip="arc"]{cursor:nwse-resize}.pro-grip-target{fill:transparent;stroke:none}.pro-grip-hit .pro-opening-grip{pointer-events:none}
.pro-floor-canvas.is-plus .pro-opening{pointer-events:none}.pro-floor-canvas.is-plus .pro-floor-compass{cursor:default}.pro-floor-canvas.is-plus .pro-floor-compass:hover{outline:0}

/* The interactive plan uses a quiet drafting canvas with light material cues. */
.floor-drawing:has(.pro-floor-canvas){background:#f7f9fa}
.floor-drawing:has(.pro-floor-canvas) svg{filter:none}
.pro-floor-canvas{background:#f7f9fa}
.pro-floor-canvas .floor-room>rect.floor-room-surface{transition:stroke .16s ease,filter .16s ease}
.pro-floor-canvas .floor-room:hover>rect.floor-room-surface,.pro-floor-canvas .floor-room:focus>rect.floor-room-surface{fill-opacity:1;stroke:#557da2;stroke-width:1.7;filter:brightness(.975)}
.pro-floor-canvas .floor-room>text{fill:#344657;font-size:11px;font-weight:600;paint-order:stroke;stroke:#f9faf8;stroke-width:2px}
.pro-floor-canvas .floor-room>rect:not(.floor-room-surface),.pro-floor-canvas .floor-room>path{stroke:#9ba6ad;stroke-width:1;fill-opacity:.72}
.pro-floor-canvas .pro-room-size{font:500 9px sans-serif;fill:#68798a;stroke:#f9faf8;stroke-width:2px}
.pro-floor-canvas .pro-wall-surface{fill:url(#floor-wall-hatch);stroke:none;pointer-events:none}
.pro-floor-canvas .pro-wall-edge{fill:none;stroke:#44535e;stroke-width:1.05;pointer-events:none}
.pro-floor-canvas .pro-opening-cut{fill:#fff}
.pro-floor-canvas .pro-window-frame{fill:#e5f2f7;stroke:#337da4;stroke-width:1.2}
.pro-floor-canvas .pro-window-lines{stroke:#337da4;stroke-width:.75}
.pro-floor-canvas .pro-door-leaf,.pro-floor-canvas .pro-door-swing,.pro-floor-canvas .pro-door-jambs{fill:none;stroke:#536776;stroke-width:1.15;pointer-events:none}
.pro-floor-canvas .pro-door-leaf{stroke-width:2}
.pro-floor-canvas .pro-door-swing{stroke:#84929b;stroke-width:.8}
.pro-floor-canvas .pro-opening.selected .pro-door-leaf,.pro-floor-canvas .pro-opening.selected .pro-door-swing,.pro-floor-canvas .pro-opening.selected .pro-door-jambs,.pro-floor-canvas .pro-opening.selected .pro-window-frame{stroke:#ec792c;stroke-width:1.7}
.pro-floor-canvas .pro-opening.selected .pro-door-leaf{stroke-width:2.2}
.pro-floor-canvas .pro-opening.selected .pro-window-lines{stroke:#ec792c}
.pro-floor-canvas .pro-opening-grip{fill:#fff;stroke:#ec792c;stroke-width:1.8;filter:drop-shadow(0 1px 2px #6d7b8540)}
.pro-floor-canvas .pro-opening-dimensions path{stroke:#5d8bc2;stroke-width:.8;stroke-dasharray:0}
.pro-floor-canvas .pro-opening-dimensions text{fill:#326ea8;font-weight:600;stroke:#fff;stroke-width:2.5px}
.pro-floor-canvas .pro-opening-selection-actions{top:8px;left:8px;gap:5px;padding:4px 6px;border-color:#dae1e6;border-radius:9px;box-shadow:0 4px 16px #2337471f;color:#344657}
.pro-floor-canvas .pro-opening-selection-actions strong{font-size:11px;white-space:nowrap;padding:0 5px}
.pro-floor-canvas .pro-opening-selection-actions button{height:27px;min-width:27px;padding:2px 6px;background:transparent;color:#526477;font-size:17px}
.pro-floor-canvas .pro-opening-selection-actions button:hover{background:#edf2f6;color:#1c527a}
.pro-floor-canvas .pro-opening-icon-actions{gap:2px;padding:3px}
.pro-floor-canvas .pro-opening-icon-actions button{display:grid;place-items:center;width:29px;height:29px;padding:4px}
.pro-floor-canvas .pro-opening-icon-actions svg{display:block;width:17px;height:17px;min-height:0;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.pro-floor-canvas .pro-opening-icon-actions svg circle{fill:currentColor;stroke:none}
.pro-door-hand{cursor:pointer}.pro-door-hand path{fill:none;stroke:#146c9b;stroke-width:.85;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.pro-door-hand:hover path,.pro-door-hand:focus-visible path{stroke:#075580;stroke-width:1.15}
@media(max-width:600px){.pro-floor-canvas .pro-opening-selection-actions{right:auto;width:max-content;max-width:calc(100% - 162px);flex-wrap:wrap}.pro-floor-canvas .pro-opening-icon-actions{flex-wrap:nowrap}}
