.plan-map polygon{fill:#edf3f8;stroke:#49697d;stroke-width:1.5;cursor:grab;touch-action:none}.plan-map polygon.selected{fill:#dbe9f6;stroke:#1756a0;stroke-width:2}.plan-wall{stroke:transparent;stroke-width:9;cursor:pointer}.plan-wall.selected{stroke:#145cdb;stroke-opacity:.7;stroke-width:3}.plan-notch{display:contents}.plan-feature{margin-top:1rem;max-width:1060px}.plan-feature details{padding:0;border:0}.plan-feature fieldset{margin-top:1rem;min-width:0;border:1px solid var(--line);border-radius:8px}.plan-room-choices{display:flex;flex-wrap:wrap;gap:8px 18px}.plan-room-choices label{display:flex;align-items:center;gap:.4rem;min-height:40px;overflow-wrap:anywhere}.plan-room-choices input{accent-color:var(--navy);width:1.15rem;height:1.15rem}.plan-order-line{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:.4rem 0;border-top:1px solid var(--line)}.blueprint-canvas{position:relative;display:table;max-width:100%;margin:1rem 0}.blueprint-canvas img{display:block;max-width:100%;max-height:480px;cursor:crosshair}.blueprint-canvas [data-blueprint-points]{position:absolute;inset:0;pointer-events:none}.blueprint-canvas span{position:absolute;transform:translate(-50%,-50%);border-radius:100%;padding:0 .35rem;background:var(--navy);color:white;font-weight:700}.plan-feature input[type=file]{max-width:100%}
.plan-map .plan-fixture{fill:#c3a987;stroke:#795f44;pointer-events:none}.plan-panel .mh-face.fixture{fill:#c3a987;stroke:#795f44}.plan-fields input[type=color]{width:100%;height:48px}.plan-wall.selected{stroke-width:7;stroke-opacity:.48}
.blueprint-canvas [data-blueprint-overlay]{position:absolute;inset:0;pointer-events:none}.blueprint-canvas [data-blueprint-overlay] svg{display:block;width:100%;height:100%;overflow:visible}.blueprint-canvas [data-blueprint-overlay] rect,.blueprint-canvas [data-blueprint-overlay] polygon{fill:#145cdb19;stroke:#145cdb;stroke-width:2;vector-effect:non-scaling-stroke}.blueprint-canvas [data-blueprint-overlay] line{stroke:#c9460c;stroke-width:4;vector-effect:non-scaling-stroke}.blueprint-canvas [data-blueprint-overlay] text{fill:#102f46;stroke:white;stroke-width:2;paint-order:stroke;text-anchor:middle;font:bold 18px system-ui}

.plan-budget-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.5rem;margin:.75rem 0}
.plan-budget-totals div{border:1px solid var(--line);border-radius:8px;padding:.55rem .7rem}
.plan-budget-totals dd{margin:0;font-weight:700}
.plan-schedule li{padding:.5rem 0;border-bottom:1px solid var(--line)}
.plan-schedule li>span,.plan-schedule li>label{display:inline-block;margin-inline-start:.65rem}
.plan-schedule input{width:5rem}
.plan-print-sheet{display:none}
@media print{
 body:has(.plan-print-sheet)>:not(.plan-print-sheet){display:none!important}
 .plan-print-sheet{display:block;font-size:10pt}
 .plan-print-sheet table{width:100%}
}
.plan-detail-drawing{display:block;width:100%;max-width:620px;max-height:340px;margin:.75rem 0;background:#f6f8fb}
.plan-detail-drawing :is(rect,polygon){vector-effect:non-scaling-stroke;stroke:#49697d;stroke-width:1}
.plan-detail-drawing .wall,.plan-detail-drawing .whole{fill:#e2ebf4}
.plan-detail-drawing .opening{fill:#fff}
.plan-detail-drawing .cut{fill:#f3d7ac}
.plan-surface{margin-top:.85rem;padding:.75rem;border:1px solid var(--line);border-radius:8px}
.plan-surface label{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .75rem}
.plan-surface p{margin:.5rem 0}
[data-orbit-surface]{cursor:pointer}
.plan-inline-check{display:flex;gap:.55rem;align-items:center;margin:.7rem 0}
.plan-inline-check input{width:1.15rem;height:1.15rem;flex:none}
.plan-schedule li ul{margin-top:.35rem}
@media(max-width:520px){
 .plan-order-line{align-items:flex-start;flex-wrap:wrap}
 .plan-schedule li>label{display:flex;align-items:center;gap:.5rem;margin:.35rem 0}
}
.plan-detail-drawing .trim{fill:#bc9c70;stroke:none}
.plan-corner{fill:#fff;stroke:#1756a0;stroke-width:2;cursor:grab;touch-action:none}

.plan-comparison{max-width:100%;overflow-x:auto}
/* Keep long translated labels inside their track without widening controls. */
.plan-fields>label{grid-template-columns:minmax(0,1fr);overflow-wrap:anywhere}
