/* Planungshilfen 0.1.4: Ziehen aus der Liste, Magnet, Türen und Fenster im Grundriss, einklappbare Bereiche */
#floorplan{touch-action:none}
.plan-item{cursor:grab}
.product-card,.part-list button,#addDoor,#addWindow{cursor:grab;position:relative}
.bmb-grip{display:inline-flex;align-items:center;justify-content:center;width:18px;height:28px;touch-action:none;color:#9aa9b2;flex:none}
.bmb-grip svg{width:8px;height:14px;fill:currentColor}
.product-card .bmb-grip{position:absolute;left:3px;top:3px;z-index:2;background:#ffffffd9;border-radius:5px}
.part-list button .bmb-grip,.room-button-grid button .bmb-grip{margin-right:6px;width:14px}
.product-card:hover .bmb-grip,.part-list button:hover .bmb-grip,#addDoor:hover .bmb-grip,#addWindow:hover .bmb-grip{color:#0099cc}
body.bmb-dragging,body.bmb-dragging *{cursor:grabbing!important;-webkit-user-select:none;user-select:none}
.bmb-ghost{position:fixed;left:0;top:0;z-index:2000;pointer-events:none;display:flex;align-items:center;gap:8px;max-width:230px;padding:6px 11px;background:#fff;border:1.5px solid #0099cc;border-radius:8px;box-shadow:0 8px 24px #17374826;font-size:12px;font-weight:600;color:#17394a}
.bmb-ghost img{width:44px;height:34px;object-fit:contain}
.bmb-ghost.off{border-color:#c4ccd1;color:#8a98a1;opacity:.8}

/* Türen und Fenster im Grundriss */
.plan-opening .open-hit{fill:none;pointer-events:all;cursor:grab}
.plan-opening .open-sel{fill:#0099cc14;stroke:#0099cc;stroke-width:2;pointer-events:none}
.plan-opening .open-handle{fill:#fff;stroke:#0099cc;stroke-width:2;cursor:ew-resize;pointer-events:all}
.plan-opening .open-label{pointer-events:none}
.bmb-wallhl{stroke:#0099cc;stroke-width:3.5;stroke-linecap:round;opacity:.85;pointer-events:none}
.bmb-ghostplan rect{fill:#0099cc26;stroke:#0099cc;stroke-width:1.5;stroke-dasharray:5 3}
.bmb-ghostplan,.bmb-dim{pointer-events:none}
.bmb-dim line{stroke:#0099cc;stroke-width:1}
.bmb-dim .pill,.bmb-gap .pill,.open-label .pill{fill:#fff;stroke:#8cc9de;stroke-width:1}
.bmb-dim text,.bmb-gap text,.open-label text{fill:#006b8f;font:700 10px Arial,sans-serif;stroke:none}
.bmb-gap{pointer-events:none}
.bmb-gap path{fill:none;stroke:#0099cc;stroke-width:1;stroke-linecap:round}

/* Inspektor */
.button-pair .outline.active{background:#eaf6fb;border-color:#0099cc;color:#007da8}
.bmb-tips{text-align:left;font-size:12px;line-height:1.55}
.bmb-tips b:first-child{display:block;margin-bottom:6px;font-size:13px}
.bmb-tips ul{margin:0;padding-left:16px}
.bmb-tips li{margin:0 0 7px}

/* Reiter "Bauteile" */
.panel-tabs{gap:14px}
.panel-tabs button{white-space:nowrap}
@media (max-width:1100px){.panel-tabs{gap:9px}.panel-tabs button{font-size:12px}}
.opening-row.is-selected{background:#eaf6fb;border-color:#0099cc}
.bmb-hint{margin:0 0 12px;padding:8px 10px;background:#eef7fb;border-radius:6px;font-size:11px;line-height:1.5;color:#3d6577}
