.mbdc .mbdc-room{margin:14px 0;padding:14px;background:#f6f8fa;border:1px solid #d8e1e8;border-radius:9px;scroll-margin-top:110px}.mbdc .mbdc-room h3{margin:0 0 12px;font-size:19px;line-height:1.25}.mbdc .mbdc-room-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}.mbdc .mbdc-room-preview{min-width:0;align-self:start;padding:22px;box-sizing:border-box}.mbdc .mbdc-room:not(.mbdc-room-has-photo) .mbdc-room-layout{display:block}.mbdc .mbdc-room-panel{display:flex;flex-direction:column;gap:10px;min-width:0}.mbdc .mbdc-room-head{display:flex;flex-direction:column;align-items:stretch;gap:8px}.mbdc .mbdc-room p{margin:4px 0;line-height:1.4;font-size:13px}.mbdc .mbdc-room-privacy{font-size:12px;color:#526574}.mbdc .mbdc-room-privacy summary{cursor:pointer;line-height:1.4}.mbdc .mbdc-room-hint{line-height:1.35;color:#526574}.mbdc .mbdc-room-view{position:relative;max-width:100%;margin:0 auto;background:#e5eaee;line-height:0}.mbdc .mbdc-room-view canvas{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}.mbdc .mbdc-room-view svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;touch-action:none}.mbdc .mbdc-room-view polygon{fill:none;stroke:#e58120;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}.mbdc .mbdc-room-view circle{fill:#fff;fill-opacity:.88;stroke:#bb6011;stroke-width:3;vector-effect:non-scaling-stroke;cursor:move;touch-action:none}.mbdc .mbdc-room-view circle:focus{fill:#ffdfb6;stroke:#123e66;outline:none}.mbdc .mbdc-room-actions{display:grid;gap:8px;grid-template-columns:1fr}.mbdc .mbdc-room [aria-pressed=true]{background:#ffe3bd}.mbdc #mbdc-room-status{min-height:1.4em;font-size:12px;line-height:1.4}.mbdc #mbdc-room-open{border-color:#c46b17;color:#8c4700}.mbdc .mbdc-room button{min-height:40px;white-space:normal;line-height:1.25}.mbdc [hidden]{display:none!important}@media(max-width:780px){.mbdc .mbdc-room{padding:10px}.mbdc .mbdc-room-layout{grid-template-columns:minmax(0,1fr);gap:8px}.mbdc .mbdc-room-panel{display:contents}.mbdc .mbdc-room-head{order:1;flex-direction:row;align-items:center;gap:8px}.mbdc .mbdc-room-head strong{flex:1;font-size:13px}.mbdc #mbdc-room-upload{flex:0 1 155px}.mbdc #mbdc-room-two{order:2;font-size:13px}.mbdc .mbdc-room-preview{order:3}.mbdc .mbdc-room-actions{order:4;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.mbdc #mbdc-room-status{order:5;margin:0}.mbdc .mbdc-room-privacy{order:6}.mbdc .mbdc-room-hint{order:7;font-size:11px}.mbdc #mbdc-room-close{order:8}.mbdc .mbdc-room button{min-height:44px;padding:6px;font-size:12px}.mbdc .mbdc-bottom-actions{flex-wrap:wrap}}
.mbdc .mbdc-room-result{display:flex;flex-direction:column;gap:10px;min-width:0}.mbdc .mbdc-room-result p{overflow-wrap:anywhere}.mbdc .mbdc-room-result-price{font-size:17px!important;font-weight:700;color:#17364a}.mbdc .mbdc-room-result input{width:100%;min-width:0;font-size:12px;padding:8px}.mbdc .mbdc-room-final .mbdc-room-preview{padding:4px}.mbdc .mbdc-room-final #mbdc-room-handles{display:none!important;pointer-events:none}.mbdc .mbdc-room-final .mbdc-room-view{background:transparent}.mbdc #mbdc-room-finish{border-color:#c46b17;background:#c46b17;color:white}.mbdc #mbdc-room-result-copy{border-color:#c46b17}.mbdc #mbdc-room-result-order{background:#c46b17;color:white}.mbdc #mbdc-room-wait{padding:12px;background:#fff3df;color:#7a4b13}.mbdc .mbdc-room-result details{font-size:13px}.mbdc .mbdc-room-result details summary{cursor:pointer}@media(max-width:780px){.mbdc #mbdc-room-finish{order:5}.mbdc .mbdc-room-result{order:4}.mbdc .mbdc-room-result #mbdc-room-result-info{margin:0}.mbdc .mbdc-room-final #mbdc-room-status{order:5}.mbdc .mbdc-room-final .mbdc-room-preview{order:1}.mbdc .mbdc-room-result button{min-height:44px}}
.mbdc.mbdc-room-presenting>.mbdc-controls,.mbdc.mbdc-room-presenting>.mbdc-workspace,.mbdc.mbdc-room-presenting>.mbdc-bottom,.mbdc.mbdc-room-presenting>#mbdc-share-loaded,.mbdc.mbdc-room-presenting>#mbdc-share-box,.mbdc.mbdc-room-presenting>#mbdc-price-detail,.mbdc.mbdc-room-presenting>.mbdc-guide,.mbdc.mbdc-room-presenting>.mbdc-help,.mbdc.mbdc-room-presenting>.mbdc-page-link{display:none!important}
.mbdc .mbdc-room-view .mbdc-corner-hit,.mbdc .mbdc-room-view .mbdc-corner-hit:focus{fill:transparent;stroke:none;outline:none;pointer-events:all;cursor:crosshair}.mbdc .mbdc-room-view .mbdc-corner-mark{stroke:#b95b0d;stroke-width:1.25;fill:none;pointer-events:none}.mbdc .mbdc-room-view [data-active=true] .mbdc-corner-mark,.mbdc .mbdc-room-view [data-corner-group]:focus-within .mbdc-corner-mark{stroke:#164c73;stroke-width:1.7}.mbdc #mbdc-room-precise{display:grid;grid-template-columns:minmax(90px,1fr) repeat(4,36px);gap:4px;align-items:center}.mbdc #mbdc-room-precise label{grid-column:1/-1;font-size:12px;margin:0}.mbdc #mbdc-room-precise select{width:100%;min-width:0;font-size:12px;min-height:36px}.mbdc #mbdc-room-precise button{font-size:18px;padding:3px;min-height:36px;line-height:1}.mbdc #mbdc-room-result-adjust{border-color:#c46b17}@media(max-width:780px){.mbdc #mbdc-room-precise{order:4;grid-template-columns:minmax(80px,1fr) repeat(4,44px)}.mbdc #mbdc-room-precise button,.mbdc #mbdc-room-precise select{min-height:44px}.mbdc .mbdc-room-actions{order:5}.mbdc #mbdc-room-finish{order:6}.mbdc #mbdc-room-status{order:7}.mbdc .mbdc-room-privacy{order:8}.mbdc .mbdc-room-hint{order:9}.mbdc #mbdc-room-close{order:10}}
.mbdc .mbdc-room-view .mbdc-corner-hit,.mbdc .mbdc-room-view .mbdc-corner-hit:focus{fill:transparent!important;stroke:none!important}@media(max-width:380px){.mbdc #mbdc-room-precise{grid-template-columns:repeat(4,minmax(44px,1fr))}.mbdc #mbdc-room-precise select{grid-column:1/-1}}

/* Compact system selector, visible in configuration and hidden in client presentation. */
.mbdc-system-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0}
.mbdc-system-controls button{min-height:38px;border:1px solid #bdcbd6;border-radius:5px;background:#fff;color:#143d58;padding:7px 12px}
.mbdc-system-controls button[aria-pressed="true"]{background:#bf6919;border-color:#bf6919;color:#fff}
.mbdc-system-controls span{font-size:12px;flex:1 1 220px;color:#405562}
.mbdc-room-presenting .mbdc-system-controls{display:none}

.mbdc-system-controls label{display:flex;align-items:center;gap:6px;margin:0;font-weight:normal;font-size:13px}
.mbdc-system-controls select{min-height:38px;padding:6px;border:1px solid #bdcbd6;border-radius:5px;background:#fff;color:#143d58;max-width:100%}
@media(max-width:600px){.mbdc-system-controls label{flex:1 1 100%;flex-wrap:wrap}.mbdc-system-controls select{flex:1;min-width:150px}}

.mbdc-system-controls [hidden]{display:none!important}

/* Opening control belongs to the preview panel; its row reserves space above the SVG. */
.mbdc .stage{flex-direction:column}
.mbdc .mbdc-stage-actions{flex:0 0 auto;align-self:stretch;display:flex;align-items:center;padding:6px 8px;gap:6px}
.mbdc .mbdc-stage-actions[hidden]{display:none!important}
.mbdc .stage>#mbdc-doors{flex:1 1 0;min-height:0;height:auto}
.mbdc .mbdc-stage-actions button{min-height:38px;padding:7px 12px;background:#fff;border:1px solid #bdcbd6;color:#143d58;border-radius:5px}
.mbdc .mbdc-stage-actions button[aria-pressed="true"]{background:#bf6919;border-color:#bf6919;color:#fff}
@media(max-width:420px){.mbdc .mbdc-stage-actions{padding:5px 6px}.mbdc .mbdc-stage-actions button{min-height:36px;padding:6px 10px}}

.mbdc .mbdc-stage-actions{justify-content:space-between;flex-wrap:wrap}
.mbdc .mbdc-fold-plan{display:block;flex:0 1 160px;width:160px;height:62px;max-width:100%;overflow:visible}
@media(max-width:600px){.mbdc .mbdc-fold-plan{flex-basis:116px;width:116px;height:50px}.mbdc .mbdc-stage-actions{gap:4px}.mbdc .mbdc-stage-actions button{font-size:11px;padding:6px 8px}}

.mbdc-material-description{margin:6px 0 2px;padding:7px 9px;background:#f7f9fa;border:1px solid #e1e7eb;border-radius:5px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.mbdc-material-description>ol{margin:4px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:4px 16px}
.mbdc-material-description li{flex:1 1 220px;min-width:0}
