.prop-editor{--prop-bg:#f8fafb;--prop-surface:#fff;--prop-stage:#f0f5f6;--prop-text:#183c47;--prop-muted:#7b8e98;--prop-border:#dbe6ea;--prop-accent:#197f8b;--prop-accent-soft:#e7f3f4;--prop-wall:#73848c;--prop-wall-edge:#526873;--prop-grid:#d9e5e9;display:flex;flex-direction:column;min-height:620px;height:100%;color:var(--prop-text);background:var(--prop-bg);font:13px/1.5 Inter,system-ui,sans-serif;border-radius:16px;overflow:hidden;border:1px solid var(--prop-border)}
[data-theme=dark] .prop-editor,.dark .prop-editor{--prop-bg:#101923;--prop-surface:#16222e;--prop-stage:#0d1822;--prop-text:#d6e5eb;--prop-muted:#8ba2af;--prop-border:#293d4c;--prop-accent:#4ec4cf;--prop-accent-soft:#173b43;--prop-wall:#77929f;--prop-wall-edge:#a0b3bc;--prop-grid:#1f3443}
.prop-editor *{box-sizing:border-box}.prop-editor button,.prop-editor input,.prop-editor select{font:inherit}.prop-editor button,.prop-editor select,.prop-export>summary{border:1px solid var(--prop-border);border-radius:7px;background:var(--prop-surface);color:var(--prop-text);padding:7px 11px;cursor:pointer;line-height:1.4}.prop-editor button:hover,.prop-export>summary:hover{border-color:var(--prop-accent);background:var(--prop-accent-soft)}.prop-editor button:focus-visible,.prop-editor input:focus-visible,.prop-editor select:focus-visible,.prop-editor summary:focus-visible{outline:2px solid var(--prop-accent);outline-offset:2px}.prop-editor button:disabled{opacity:.35;cursor:default}.prop-editor button.is-active{color:var(--prop-accent);background:var(--prop-accent-soft);border-color:var(--prop-accent)}
.prop-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;gap:16px;background:var(--prop-surface);border-bottom:1px solid var(--prop-border)}.prop-eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:700;color:var(--prop-muted)}.prop-header h2{font-size:20px;letter-spacing:-.45px;line-height:1.2;margin:5px 0}.prop-header p{margin:0;color:var(--prop-muted);font-size:12px}.prop-view-switch{display:flex;gap:5px;padding:4px;border-radius:10px;background:var(--prop-bg);border:1px solid var(--prop-border);white-space:nowrap}.prop-view-switch button{border:0;font-size:12px;padding:8px 13px}.prop-view-switch button.is-active{box-shadow:0 1px 4px #1233}
.prop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--prop-border);background:var(--prop-surface);z-index:5}.prop-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.prop-tools button,.prop-tools select,.prop-export>summary{font-size:11px;white-space:nowrap}.prop-export{position:relative}.prop-export>summary{list-style:none}.prop-export>div{position:absolute;right:0;top:37px;min-width:190px;display:grid;padding:7px;gap:4px;background:var(--prop-surface);border:1px solid var(--prop-border);border-radius:9px;box-shadow:0 12px 35px #0002;z-index:10}.prop-export button{text-align:left}
.prop-workspace{display:grid;grid-template-columns:minmax(0,1fr) 282px;flex:1;min-height:420px;overflow:hidden}.prop-stage{position:relative;overflow:hidden;min-height:420px;background:var(--prop-stage);outline:none}.prop-plan,.prop-scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none;user-select:none}.prop-plan[hidden],.prop-scene[hidden]{display:none}.prop-plan{cursor:default}.prop-scene canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.prop-room,.prop-furniture{cursor:grab}.prop-wall,.prop-opening{cursor:pointer}.prop-room-name{font-weight:700;fill:var(--prop-text);text-anchor:middle;pointer-events:none}.prop-room-size{fill:var(--prop-muted);text-anchor:middle;pointer-events:none}.prop-dimensions text{fill:var(--prop-muted)}.prop-canvas-help{position:absolute;left:16px;top:14px;max-width:calc(100% - 32px);font-size:10px;line-height:1.5;padding:6px 10px;color:var(--prop-muted);background:var(--prop-surface);border:1px solid var(--prop-border);border-radius:6px;pointer-events:none;box-shadow:0 2px 8px #00004}.prop-scale{position:absolute;bottom:14px;left:16px;font-size:10px;color:var(--prop-muted);background:var(--prop-surface);padding:4px 8px;border-radius:5px;pointer-events:none}
.prop-inspector{background:var(--prop-surface);border-left:1px solid var(--prop-border);overflow:auto;max-height:100%;scrollbar-width:thin;scrollbar-color:var(--prop-border) transparent}.prop-stat-row{display:grid;grid-template-columns:1fr 1fr;padding:16px 14px;gap:10px;border-bottom:1px solid var(--prop-border)}.prop-stat-row strong{font-size:17px;display:block}.prop-stat-row span{font-size:10px;color:var(--prop-muted)}.prop-panel{padding:16px 14px;border-bottom:1px solid var(--prop-border)}.prop-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:12px}.prop-panel-heading button{padding:0 6px;border:0;font-size:20px;line-height:1}.prop-field{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;min-width:0}.prop-field>span{font-size:10px;color:var(--prop-muted)}.prop-field input{width:100%;background:var(--prop-bg);color:var(--prop-text);border:1px solid var(--prop-border);border-radius:6px;padding:7px 8px;min-width:0}.prop-fields{display:grid;grid-template-columns:1fr 1fr;column-gap:10px}.prop-field-full{grid-column:1/-1}.prop-subtle{font-size:10px;line-height:1.7;color:var(--prop-muted);margin:4px 0 10px}.prop-item-actions{display:flex;flex-wrap:wrap;gap:5px}.prop-item-actions button{font-size:10px;padding:6px 10px}.prop-editor .prop-danger{color:#bd6262}.prop-selection-empty{text-align:center;padding:25px 20px}.prop-select-icon{display:block;font-size:26px;line-height:1.6;color:var(--prop-accent)}.prop-selection-empty strong{display:block;font-size:12px}.prop-selection-empty p{font-size:11px;color:var(--prop-muted);margin:7px 0 0}.prop-count{font-size:10px;background:var(--prop-bg);padding:1px 6px;border-radius:4px;color:var(--prop-muted)}
.prop-item-list details{margin-top:6px}.prop-item-list summary,.prop-panel>summary{font-size:11px;font-weight:600;cursor:pointer;list-style:none;padding:6px 0;color:var(--prop-text)}.prop-item-list summary:before,.prop-panel>summary:before{content:'›';display:inline-block;margin-right:7px;font-size:14px;transition:transform .15s}.prop-item-list details[open]>summary:before,.prop-panel[open]>summary:before{transform:rotate(90deg)}.prop-item-list summary>span{float:right;color:var(--prop-muted);font-size:10px;font-weight:400}.prop-list-row{display:flex;align-items:center;border-radius:5px}.prop-list-row.is-active{background:var(--prop-accent-soft)}.prop-list-row.is-hidden{opacity:.5}.prop-list-row button{background:transparent;border:0;font-size:10px;padding:5px 7px}.prop-list-row button:first-child{text-align:left;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prop-list-row button:last-child{color:var(--prop-muted);width:25px;padding:4px}.prop-list-row.is-active button:first-child{color:var(--prop-accent);font-weight:600}.prop-settings{margin-top:10px}.prop-quantity{display:grid;grid-template-columns:1fr auto;font-size:10px;gap:8px;margin:14px 0}.prop-quantity dt{color:var(--prop-muted)}.prop-quantity dd{margin:0;font-weight:600}.prop-reference{background:color-mix(in srgb,var(--prop-surface) 95%,#e4b75c 5%)}.prop-review-dot{display:inline-block;background:#d6ac5a;width:6px;height:6px;border-radius:50%;margin-left:5px}.prop-reference-row{display:flex;flex-direction:column;margin:11px 0;font-size:10px}.prop-reference-row span{color:var(--prop-accent);font-variant-numeric:tabular-nums}.prop-reference-row small{color:var(--prop-muted);font-size:9px}.prop-reference ul{font-size:10px;line-height:1.65;color:var(--prop-muted);padding-left:16px;margin-bottom:0}.prop-reference li{margin-bottom:9px}.prop-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 15px;border-top:1px solid var(--prop-border);background:var(--prop-surface);font-size:10px;color:var(--prop-muted);min-height:44px}.prop-footer label{display:flex;align-items:center;gap:8px;white-space:nowrap}.prop-footer select{font-size:10px;padding:3px 7px}.prop-footer [role=status]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1000px){.prop-workspace{grid-template-columns:minmax(0,1fr) 245px}.prop-header{padding:14px}.prop-header h2{font-size:17px}.prop-tools button,.prop-tools select{font-size:10px;padding:6px 8px}.prop-toolbar{gap:6px;padding:8px}.prop-view-switch button{font-size:10px;padding:7px 8px}}
@media(max-width:650px){.prop-editor{height:auto;min-height:760px;border-radius:10px}.prop-header{align-items:flex-start;gap:8px}.prop-header p{display:none}.prop-header h2{font-size:15px;max-width:220px}.prop-view-switch{padding:2px;gap:2px}.prop-view-switch button{font-size:9px;padding:7px}.prop-workspace{display:flex;flex-direction:column;overflow:visible}.prop-stage{height:480px;flex:none}.prop-inspector{border-left:0;border-top:1px solid var(--prop-border);max-height:420px}.prop-stat-row{padding:12px 16px}.prop-panel{padding:12px 16px}.prop-canvas-help{font-size:9px;top:10px;left:10px}.prop-toolbar{padding:8px}.prop-tools{gap:4px}.prop-toolbar .prop-tools{flex-wrap:wrap}.prop-footer{font-size:9px}.prop-footer [role=status]{white-space:normal;max-width:70%}}
.prop-editor .prop-cutaway{position:absolute;right:14px;bottom:14px;font-size:10px;z-index:2;box-shadow:0 2px 10px #0002}.prop-editor .prop-cutaway[hidden]{display:none}
@media(max-width:650px){.prop-plan,.prop-scene{top:44px;height:calc(100% - 44px)}.prop-canvas-help{top:9px;left:9px;right:9px;max-width:none}}
