#genplan-stage{border:1px solid var(--line);background:var(--paper);min-width:0}
.genplan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:12px}
.genplan-toolbar>div{display:flex;gap:5px}.genplan-toolbar button{background:var(--paper);color:var(--ink);border:1px solid var(--line);min-width:44px;min-height:44px;padding:8px 12px;cursor:pointer}.genplan-toolbar button:disabled{opacity:.4}.genplan-toolbar button:focus-visible{outline:3px solid #ae7821}
.genplan-viewport{width:100%;height:410px;overflow:hidden;background:#f8f7ef}
#genplan-svg{display:block;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none}#genplan-svg.dragging{cursor:grabbing}
.map-plot{fill:#31855639;stroke:#246443;stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer}.map-plot.sold{fill:#b4615a42;stroke:#93463c}.map-plot.reserved{fill:#bd9d334d;stroke:#866b15}.map-plot.unconfirmed{fill:#efb23466;stroke:#b6750b;stroke-dasharray:5 4}.map-plot:hover,.map-plot:focus-visible{fill:#548ed666;stroke:#203f6e;stroke-width:3;outline:none}.map-plot.selected{fill:#4b8eda99;stroke:#122e51;stroke-width:4}.map-plot.filtered-out{opacity:.12;pointer-events:none}
.map-help{padding:10px 12px;font-size:12px!important;line-height:1.5!important;margin:0!important}.map-legend{display:flex;flex-wrap:wrap;gap:8px 14px;padding:0 12px 12px;font-size:11px}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{width:12px;height:12px;border:1px solid #888;display:inline-block}.map-legend .available{background:#31855688}.map-legend .sold{background:#b4615a88}.map-legend .uncertain{background:#efb234aa;border-style:dashed}.map-legend .unlisted{background:#fff}
.mapping-warning{border-left:4px solid #b6750b;background:#ffedbe;color:#4b360d;padding:12px;font-size:12px!important;line-height:1.5!important}.mapping-warning strong{display:block}
.genplan-dialog{width:calc(100vw - 24px);max-width:1600px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.genplan-dialog-header{display:flex;justify-content:space-between;align-items:center;position:relative;padding-right:40px}.genplan-dialog-header h2{font-size:26px;margin:0 0 15px}.genplan-modal-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.genplan-modal-layout .genplan-viewport{height:calc(100dvh - 250px);min-height:240px}.genplan-modal-layout .plot-panel{max-height:calc(100dvh - 180px);overflow:auto}.genplan-modal-layout #genplan-stage{width:100%}
@media(max-width:680px){.genplan-viewport{height:280px}.genplan-toolbar{font-size:10px}.genplan-toolbar button{padding:6px 8px;font-size:11px}.genplan-dialog{width:100%;height:100dvh;max-height:100dvh;padding:14px;margin:0;border-radius:0}.genplan-modal-layout{grid-template-columns:1fr;gap:12px}.genplan-modal-layout .genplan-viewport{height:43dvh;min-height:220px}.genplan-modal-layout .plot-panel{max-height:none;padding:16px}.genplan-dialog-header h2{font-size:22px}.genplan-modal-layout .map-help{font-size:10px!important}}
