/* Software workspace, scoped to the shared house-plan module. */
.hp-workspace:has(.hp-studio){max-width:1280px}.hp-studio{padding:14px;background:#f4f7fb}.hp-studio-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px;padding:10px;background:#fff;border:1px solid #d5e1ee;border-radius:12px}.hp-studio-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.hp-studio-tools button{font-size:13px;padding:8px 10px}.hp-studio-tools button[aria-pressed=true],.hp-studio-tabs button[aria-pressed=true],.hp-studio-tree button[aria-pressed=true]{background:#175b9c;color:#fff;border-color:#175b9c}.hp-studio-zoom{min-width:42px;text-align:center;font-size:12px}.hp-studio-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 280px;gap:12px}.hp-studio-catalog,.hp-studio-inspector{min-width:0;background:#fff;border:1px solid #d5e1ee;border-radius:12px;padding:12px;max-height:700px;overflow:auto;overscroll-behavior:contain}.hp-studio h3{font-size:15px;margin:12px 0 10px}.hp-studio-center{min-width:0;background:#fff;border:1px solid #d5e1ee;border-radius:12px;padding:10px}.hp-studio-selection{font-size:13px;font-weight:700;overflow-wrap:anywhere;color:#175b9c;margin-bottom:10px;border-left:3px solid #ed781b;padding:8px;background:#f5faff}.hp-studio-cards{display:grid;grid-template-columns:1fr 1fr;gap:6px}.hp-studio-card{min-width:0;overflow-wrap:anywhere;font-size:12px!important;padding:8px 5px!important;min-height:56px!important}.hp-studio-template,.hp-studio-tree-item,.hp-studio-catalog>#hp-change-setup,.hp-studio-catalog>#hp-another{display:block;width:100%;margin-bottom:7px;overflow-wrap:anywhere}.hp-studio-tree-item{text-align:left!important;font-size:13px!important}.hp-studio-inspector #hp-advanced,.hp-studio-inspector .hp-room-tools,.hp-studio-inspector .hp-opening-tools{padding:8px;margin:8px 0}.hp-studio-inspector .hp-turn-buttons{gap:4px}.hp-studio-inspector .hp-turn-buttons button{font-size:12px;padding:8px 4px}.hp-studio-inspector .hp-actions button{flex:1 1 100px;font-size:12px}.hp-studio-inspector .hp-nudges{grid-template-columns:1fr 1fr}.hp-studio-inspector .hp-nudges button{font-size:12px}.hp-studio-tabs{display:none}.hp-studio-surfaces{min-width:0}.hp-studio-surfaces .hp-plan-scroll{max-width:100%;max-height:620px;margin:0;overflow:auto}.hp-studio #hp-canvas{min-height:180px}.hp-studio #hp-canvas svg{max-height:none;width:100%;height:auto}.hp-studio #hp-zoom-tools{display:none!important}.hp-studio #hp-3d-panel{margin:0;padding:8px}.hp-studio #hp-3d-panel h3{margin:4px 0}.hp-studio #hp-3d-panel>p:first-of-type{font-size:12px}.hp-studio #hp-3d-canvas svg{height:380px;max-height:none}.hp-studio-draft{display:block;font-size:12px;color:#476879;margin:8px 0}.hp-studio-help p{font-size:13px;line-height:1.6}.hp-studio-readonly{grid-template-columns:1fr}.hp-studio-surfaces[data-view=both]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hp-studio-surfaces[data-view=both] #hp-3d-panel .hp-actions{display:grid;grid-template-columns:1fr 1fr}.hp-studio-surfaces[data-view=both] #hp-3d-panel button{padding:8px;font-size:12px}.hp-studio-inspector label{overflow-wrap:anywhere}
@media(min-width:1101px){.hp-studio #hp-edit-mode{max-width:200px}.hp-studio-catalog,.hp-studio-inspector{position:sticky;top:12px;align-self:start}}
@media(max-width:1100px){.hp-studio-layout{grid-template-columns:180px minmax(0,1fr)}.hp-studio-inspector{grid-column:1 / -1;max-height:none}.hp-studio-inspector #hp-room-tools,.hp-studio-inspector #hp-advanced,.hp-studio-inspector #hp-opening-tools{display:inline-block;vertical-align:top;width:calc(33.333% - 12px);box-sizing:border-box}.hp-studio-inspector .hp-nudges{grid-template-columns:1fr 1fr}.hp-studio-surfaces[data-view=both]{grid-template-columns:1fr}}
@media(max-width:700px){.hp-page{padding:12px 8px 105px}.hp-studio{padding:8px}.hp-studio-toolbar{padding:7px}.hp-studio-tools{gap:5px}.hp-studio-tools button{font-size:12px;min-height:44px;padding:8px}.hp-studio-tabs{display:flex;gap:6px;margin-bottom:10px}.hp-studio-tabs button{flex:1;min-width:0;font-size:13px}.hp-studio-layout{display:block}.hp-studio-catalog,.hp-studio-inspector{max-height:none}.hp-studio-layout[data-panel=plan]>.hp-studio-catalog,.hp-studio-layout[data-panel=plan]>.hp-studio-inspector,.hp-studio-layout[data-panel=catalog]>.hp-studio-center,.hp-studio-layout[data-panel=catalog]>.hp-studio-inspector,.hp-studio-layout[data-panel=inspect]>.hp-studio-catalog,.hp-studio-layout[data-panel=inspect]>.hp-studio-center{display:none}.hp-studio-inspector #hp-room-tools,.hp-studio-inspector #hp-advanced,.hp-studio-inspector #hp-opening-tools{display:block;width:100%;margin:8px 0}.hp-studio-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-studio-surfaces .hp-plan-scroll{max-height:65vh}.hp-studio #hp-3d-canvas svg{height:300px}.hp-studio-surfaces[data-view=both]{display:block}.hp-studio-surfaces[data-view=both] #hp-3d-panel{margin-top:10px}.hp-studio-inspector .hp-nudges{grid-template-columns:repeat(4,minmax(0,1fr))}}
.hp-studio .hp-studio-file-menu{margin:0;border:0;padding:0}.hp-studio-file-menu>summary{display:none}.hp-studio-file-menu>.hp-studio-tools{padding-top:0}
@media(max-width:700px){.hp-studio .hp-studio-file-menu{width:100%;border-top:1px solid #dce5ee;padding-top:5px}.hp-studio-file-menu>summary{display:flex;align-items:center;min-height:44px;margin:0;color:#175b9c}.hp-studio-file-menu>summary:after{content:' ▾';margin-left:8px}.hp-studio-file-menu>.hp-studio-tools{padding-top:6px}.hp-studio #hp-edit-hint{display:none!important}}
@media print{.hp-studio-toolbar,.hp-studio-tabs,.hp-studio-catalog,.hp-studio-inspector,.hp-studio-selection,.hp-studio-help,.hp-studio-draft{display:none!important}.hp-studio-layout,.hp-studio-surfaces{display:block!important}.hp-studio-center{border:0;padding:0}.hp-studio .hp-plan-scroll{display:block!important;max-height:none!important;overflow:visible!important}.hp-studio #hp-canvas{width:100%!important}.hp-studio #hp-canvas svg{max-height:78vh!important;width:auto!important;margin:auto}.hp-studio #hp-area{display:block}}
