/* Five interface profiles share the same document and viewport engine. */
body.moosso-studio{--font:"Segoe UI",Arial,sans-serif;font-size:12px}
body.moosso-studio #titlebar{height:30px!important;min-height:30px;background:#f4f5f7!important;color:#222!important;gap:6px}
body.moosso-studio #titlebar .sub,body.moosso-studio #webbar,body.moosso-studio #horn-quick-tools,body.moosso-studio #tbtabs,body.moosso-studio #tbicons{display:none!important}
body.moosso-studio #horn-gumball-desktop{display:none!important}
body.moosso-studio #doc-title{font-size:12px;min-width:140px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.moosso-studio #menubar{min-height:23px;height:23px;overflow:visible;font-size:12px}
body.moosso-studio #ws-switch{margin:0;gap:0;flex-shrink:0}
body.moosso-studio #ws-switch button{font-size:11px;height:24px;min-height:24px;border-radius:2px;padding:2px 11px;background:#eee;color:#333;border-color:#c9cbd0}
body.moosso-studio #ws-switch button.on{background:#1c1c1c;color:white;border-color:#1c1c1c}
#studio-actions{margin-left:auto;display:flex;align-items:center;gap:3px;white-space:nowrap}
#studio-actions button,#studio-language{font:11px var(--font);height:24px;min-height:24px;padding:2px 8px;border:1px solid #bfc2c6;border-radius:2px;background:transparent;color:inherit}
body.moosso-studio #toolbar{height:auto!important;min-height:0!important}
body.moosso-studio [data-panel-id=toolbar]>.hp-title{display:none!important}
#studio-ribbon{background:#e8ebef;color:#25282c;border-bottom:1px solid #b8bec5}
.studio-tabs{display:flex;align-items:center;gap:0;height:25px;overflow-x:auto;scrollbar-width:none}
.studio-tabs button{font:11px var(--font);border:1px solid transparent;background:transparent;color:inherit;padding:3px 11px;white-space:nowrap;min-height:23px}
.studio-tabs button[aria-selected=true]{background:#fafbfc;border-color:#c7cbd0;border-bottom-color:transparent}
.studio-tool-count{margin-left:auto;padding:0 10px;font-size:10px;opacity:.6;white-space:nowrap}
.studio-strip{display:flex;gap:1px;align-items:center;min-height:37px;overflow:auto;scrollbar-width:thin;padding:3px 5px}
.studio-strip button{display:flex;align-items:center;justify-content:center;gap:4px;font:11px var(--font);min-height:29px;padding:3px 7px;background:transparent;border:1px solid transparent;border-radius:2px;white-space:nowrap;color:inherit}
.studio-strip button:hover,.studio-tabs button:hover{background:#d5e5f4;border-color:#94b5d5}.studio-strip button:disabled{opacity:.35}.studio-strip svg{width:23px;height:23px;flex-shrink:0}
body.moosso-studio[data-workspace=rhino] .studio-strip button span{display:none}
body.moosso-studio[data-workspace=rhino] .studio-strip button{min-width:32px}
body.moosso-studio[data-workspace=rhino] #studio-ribbon{background:#e5e8ec}
body.moosso-studio #main{grid-template-columns:58px minmax(0,1fr) 280px!important;gap:0;min-height:0}
body.moosso-studio #leftbar{padding:2px;grid-template-columns:repeat(2,26px);grid-auto-rows:27px;gap:1px}
body.moosso-studio #leftbar .ib{width:26px;height:27px}
body.moosso-studio #main>.hp-shell[data-panel-id=properties]:not(.hp-floating){display:flex!important;width:auto!important;grid-column:3;grid-row:1;border-left:1px solid #b6bcc4}
body.moosso-studio #rightpanel{display:flex!important;width:100%!important;max-width:none!important}
body.moosso-studio #viewports{grid-column:2;grid-row:1;min-width:0}
body.moosso-studio [data-panel-id=main-tools]:not(.hp-floating){grid-column:1;grid-row:1}
body.moosso-studio [data-panel-id=properties]>.hp-title{height:22px;min-height:22px}
body.moosso-studio #rptabs{flex-wrap:wrap;min-height:27px;gap:0}
body.moosso-studio #rptabs button{font-size:11px;padding:4px 7px}
body.moosso-studio.horn-integrated.horn-quick[data-workspace=rhino] #app>[data-panel-id=command]:not(.hp-floating){order:45;height:95px;min-height:95px;max-height:140px;resize:vertical}
body.moosso-studio[data-workspace=rhino] #cmdhist{height:48px!important;min-height:48px!important;max-height:48px!important;background:#fff;color:#252525}
body.moosso-studio [data-panel-id=command]>.hp-title{height:18px!important;min-height:18px!important}
body.moosso-studio #statusbar,body.moosso-studio #osnapbar{font-size:11px;min-height:23px;height:23px}
body.moosso-studio #workspace-task{font-size:11px;min-height:26px;padding:2px 8px}
body.moosso-studio #workspace-hint{font-size:11px;line-height:1.2}
body.moosso-studio #workspace-measurements{height:24px;min-height:24px;font-size:11px}
#studio-blender-dock{display:none;min-width:0;min-height:0;overflow:hidden}
#studio-sidebar{position:absolute;right:286px;top:28px;width:230px;max-height:calc(100% - 38px);overflow:auto;z-index:6;background:#303030;color:#ddd;padding:9px;border:1px solid #171717}
#studio-sidebar[hidden]{display:none}
#studio-project-browser{display:none;min-height:160px;max-height:45%;overflow:auto;border-top:2px solid #aeb5be;padding:7px}#studio-project-browser h4{font-size:12px;margin:2px 0 8px}
body.moosso-studio[data-workspace=revit] #studio-project-browser{display:block}
body.moosso-studio[data-workspace=revit] #rpbody{flex:1;min-height:120px}
body.moosso-studio[data-workspace=blender]{--chrome:#303030;--chrome-2:#242424;--chrome-3:#444;--paper:#303030;--ink:#d4d4d4;--edge:#1c1c1c;--edge-2:#555;--hover:#505050;--accent:#e78b25;--ink-2:#bbb;--ink-3:#999;color-scheme:dark}
body.moosso-studio[data-workspace=blender] #titlebar,body.moosso-studio[data-workspace=blender] #menubar,body.moosso-studio[data-workspace=blender] #studio-ribbon,body.moosso-studio[data-workspace=blender] .hp-title,body.moosso-studio[data-workspace=blender] #statusbar,body.moosso-studio[data-workspace=blender] #leftbar{background:#292929!important;color:#ddd!important;border-color:#191919!important}
body.moosso-studio[data-workspace=blender] #ws-switch button{background:#3b3b3b;color:#bbb;border-color:#222}
body.moosso-studio[data-workspace=blender] #ws-switch button.on{background:#555;color:white;border-bottom:2px solid #e49642}
body.moosso-studio[data-workspace=blender] #main{grid-template-columns:39px minmax(0,1fr) 280px!important}
body.moosso-studio[data-workspace=blender] #leftbar{grid-template-columns:32px;grid-auto-rows:32px}
body.moosso-studio[data-workspace=blender] #leftbar .ib{width:32px;height:32px}
body.moosso-studio[data-workspace=blender] #main>.hp-shell[data-panel-id=properties]:not(.hp-floating){display:none!important}
body.moosso-studio[data-workspace=blender] #studio-blender-dock{display:flex;flex-direction:column;grid-column:3;grid-row:1;background:#303030;border-left:2px solid #1a1a1a}
#studio-blender-dock h4{margin:0;padding:5px 9px;font-size:11px;letter-spacing:.2px;background:#242424;border-bottom:1px solid #1b1b1b}
.studio-outliner{height:28%;min-height:100px;max-height:260px;overflow:auto;padding:4px}
.studio-properties{flex:1;overflow:auto;font-size:11px}.studio-properties>nav{display:flex;gap:2px;padding:4px;background:#262626}.studio-properties button{border-radius:2px}
body.moosso-studio[data-workspace=blender] .studio-tabs button[aria-selected=true]{background:#414141;border-color:#555}
body.moosso-studio[data-workspace=blender] .studio-strip button:hover{background:#4b4b4b;border-color:#6b6b6b}
body.moosso-studio[data-workspace=blender] #osnapbar{display:none}
body.moosso-studio[data-workspace=blender] .hp-floating .hp-body,body.moosso-studio[data-workspace=blender] .mk-panel,body.moosso-studio[data-workspace=blender] .workspace-dialog{background:#303030!important;color:#ddd!important}
body.moosso-studio[data-workspace=blender] [data-panel-id=modeling-kit]{width:370px!important;height:480px!important;left:auto!important;right:290px!important;top:150px!important;border-color:#171717}
body.moosso-studio[data-workspace=blender] .mk-panel h2{font-size:12px}
body.moosso-studio[data-workspace=blender] .mk-fields{grid-template-columns:1fr 1fr}
body.moosso-studio[data-workspace=blender] .mk-tabs{display:none}
body.moosso-studio[data-workspace=blender] .mk-panel input,body.moosso-studio[data-workspace=blender] .mk-panel select{background:#484848!important;color:#ddd!important;border-color:#222!important}
body.moosso-studio[data-workspace=autocad]{--chrome:#353e48;--chrome-2:#252d35;--chrome-3:#48525c;--paper:#353e48;--ink:#eee;--edge:#1f252c;--edge-2:#68727d;--hover:#556778;--ink-2:#ccc;--ink-3:#aaa;color-scheme:dark}
body.moosso-studio[data-workspace=autocad] #titlebar,body.moosso-studio[data-workspace=autocad] #menubar,body.moosso-studio[data-workspace=autocad] #studio-ribbon{background:#333e49!important;color:#eee!important}
body.moosso-studio.horn-integrated[data-workspace=autocad] #app>[data-panel-id=command]{display:flex!important}
body.moosso-studio.horn-integrated[data-workspace=autocad] #cmdarea{display:block!important}
body.moosso-studio[data-workspace=autocad] [data-panel-id=command]{order:62!important;height:84px!important;min-height:84px!important}
body.moosso-studio[data-workspace=autocad] #cmdhist{background:#e8edf1;color:#20262b;height:38px!important;min-height:38px!important;max-height:38px!important}
body.moosso-studio[data-workspace=autocad] #cmdline{background:#fff;color:#111}
body.moosso-studio[data-workspace=autocad] #cmdinput{color:#111}
body.moosso-studio[data-workspace=autocad] .studio-strip button,body.moosso-studio[data-workspace=revit] .studio-strip button{flex-direction:column;gap:3px;min-width:48px;min-height:52px}
body.moosso-studio[data-workspace=autocad] .studio-tabs button[aria-selected=true]{background:#536171;color:#fff}
body.moosso-studio[data-workspace=autocad] #workspace-task{display:none}
body.moosso-studio[data-workspace=revit] #main{grid-template-columns:265px minmax(0,1fr)!important}
body.moosso-studio[data-workspace=revit] [data-panel-id=main-tools]{display:none!important}
body.moosso-studio[data-workspace=revit] [data-panel-id=properties]:not(.hp-floating){grid-column:1!important;border-right:1px solid #aeb4bd;border-left:0}
body.moosso-studio[data-workspace=revit] #studio-ribbon{background:#f2f3f5}
body.moosso-studio[data-workspace=revit] .studio-tabs button[aria-selected=true]{background:#dbe9f8;border-bottom:2px solid #3777b1}
body.moosso-studio[data-workspace=sketchup] #studio-ribbon{background:#fafafa}
body.moosso-studio[data-workspace=sketchup] .studio-strip button{padding:4px 8px;border-right:1px solid #ddd}
body.moosso-studio[data-workspace=sketchup] #leftbar{background:#f7f7f7}
.studio-popover{position:fixed;z-index:24000;left:80px;top:160px;width:310px;max-width:calc(100vw - 30px);max-height:75vh;overflow:auto;padding:10px;background:var(--paper,#fff);color:var(--ink,#222);border:1px solid var(--edge-2,#aaa);box-shadow:0 8px 30px #0005;border-radius:4px;font:12px var(--font);box-sizing:border-box}
.studio-popover header{display:flex;align-items:center;justify-content:space-between;padding:0 0 9px;border-bottom:1px solid var(--edge);margin-bottom:9px}
.studio-popover label{display:grid;grid-template-columns:1fr 120px;gap:9px;align-items:center;margin:7px 0}
.studio-popover input,.studio-popover select{width:100%;min-width:0;box-sizing:border-box;height:28px;padding:3px 6px;background:var(--chrome-3);color:inherit;border:1px solid var(--edge-2);font:inherit}
.studio-popover button{font:inherit;color:inherit;background:var(--chrome-3);border:1px solid var(--edge-2);padding:5px 10px;min-height:27px}
.studio-popover .studio-primary{width:100%;margin-top:5px;background:#222;color:white}.studio-note{font-size:11px;line-height:1.5;opacity:.7}.studio-popover output{display:block;color:#d76c52;margin-top:8px}
#studio-notice{position:fixed;z-index:32000;bottom:42px;left:50%;transform:translateX(-50%);max-width:650px;padding:11px 18px;background:#242424;color:#fff;box-shadow:0 4px 25px #0003;border-radius:4px;font:12px/1.5 var(--font);pointer-events:none}#studio-notice[data-error=true]{border-left:4px solid #d47156}
#studio-plan{position:fixed;inset:30px 0 0;z-index:23000;background:white;display:flex;flex-direction:column}#studio-plan[hidden]{display:none}#studio-plan>header{display:flex;align-items:center;gap:20px;background:#151515;color:white;padding:8px 14px;font:12px var(--font)}#studio-plan>header>span{opacity:.65}#studio-plan>header>button{margin-left:auto;background:white;color:#111;border:0;padding:7px 12px;font:inherit}#studio-plan iframe{width:100%;flex:1;border:0;min-height:0}
body.moosso-studio button:focus-visible{outline:2px solid #7397bc;outline-offset:-2px}
body.moosso-studio #app{display:flex!important;flex-direction:column}
body.moosso-studio #titlebar{order:10}body.moosso-studio #menubar{order:20}body.moosso-studio #app>[data-panel-id=toolbar]{order:30}body.moosso-studio #app>#cmdarea{order:40}body.moosso-studio #main{order:50;flex:1}body.moosso-studio #osnapbar{order:60}body.moosso-studio #workspace-task{order:65}body.moosso-studio #statusbar{order:70}
@media(max-width:1000px){body.moosso-studio #doc-title{min-width:0;max-width:120px}#studio-actions button{padding:2px 5px}body.moosso-studio #ws-switch button{padding:2px 7px}.studio-strip button{font-size:10px}body.moosso-studio #main{grid-template-columns:48px minmax(0,1fr) 225px!important}body.moosso-studio #leftbar{grid-template-columns:repeat(2,22px)}#studio-sidebar{right:230px}}
@media(max-width:800px){body.moosso-studio #titlebar{display:flex!important;flex-wrap:wrap;height:auto!important;min-height:60px}body.moosso-studio #doc-title{display:none}body.moosso-studio #ws-switch{max-width:100%;overflow:auto}#studio-actions{margin-left:4px}body.moosso-studio #menubar{display:flex!important;overflow:auto}body.moosso-studio #toolbar{display:block!important}body.moosso-studio #main,body.moosso-studio[data-workspace=blender] #main,body.moosso-studio[data-workspace=revit] #main{grid-template-columns:0 minmax(0,1fr) 0!important}body.moosso-studio #studio-blender-dock,body.moosso-studio [data-panel-id=properties]:not(.hp-floating),body.moosso-studio [data-panel-id=main-tools]{display:none!important}body.moosso-studio #viewports{display:grid!important}.studio-popover{left:10px;top:125px}#studio-sidebar{right:8px;max-height:80%}#studio-plan{inset:0}#studio-plan>header>span{display:none}body.moosso-studio[data-workspace=rhino] [data-panel-id=command]{height:59px;min-height:59px}body.moosso-studio[data-workspace=rhino] #cmdhist{height:16px!important;min-height:16px!important;max-height:16px!important}#studio-notice{width:85%;bottom:22px}.studio-strip button{min-height:34px}}
@media(max-width:800px){
 html.horn-mobile-ui body.moosso-studio #app{height:calc(100dvh - 68px - env(safe-area-inset-bottom))!important}
 html.horn-mobile-ui body.moosso-studio #main{grid-template-columns:minmax(0,1fr)!important}
 html.horn-mobile-ui body.moosso-studio #main #vpwrap{grid-column:1!important;grid-row:1!important;min-height:0}
 html.horn-mobile-ui body.moosso-studio #main>.hp-shell[data-panel-id=properties]:not(.hp-floating),html.horn-mobile-ui body.moosso-studio #main>.hp-shell[data-panel-id=main-tools]:not(.hp-floating){display:none!important}
 html.horn-mobile-ui body.moosso-studio #app>.hp-shell[data-panel-id=toolbar]:not(.hp-floating){display:flex!important}
 html.horn-mobile-ui body.moosso-studio #app>[data-panel-id=command]:not(.hp-floating){display:none!important}
 html.horn-mobile-ui body.moosso-studio #menubar{display:none!important}
 html.horn-mobile-ui body.moosso-studio .studio-tabs{height:24px}
 html.horn-mobile-ui body.moosso-studio .studio-strip{min-height:36px;max-height:40px}
 html.horn-mobile-ui body.moosso-studio .studio-strip button{min-width:34px;min-height:32px;flex-direction:row}
 html.horn-mobile-ui body.moosso-studio .studio-strip button span{display:none}
 html.horn-mobile-ui body.moosso-studio .studio-tool-count{display:none}
 html.horn-mobile-ui body.moosso-studio #titlebar{min-height:80px;padding:2px 5px}
}
/* Compact KIL masthead and shared rendering workspace. */
html body.moosso-studio.horn-integrated #titlebar{background:#080808!important;color:#f4f4f4!important;height:29px!important;min-height:29px!important;gap:5px;padding:0 7px;border-color:#080808!important;flex-wrap:nowrap}
html body.moosso-studio #titlebar .logo{display:none!important}
html body.moosso-studio #titlebar .horn-workspace-symbol{width:20px;height:20px;filter:invert(1);margin:0}
#studio-wordmark{font:800 11px/1 Arial,sans-serif;letter-spacing:-.4px;white-space:nowrap}
html body.moosso-studio #doc-title{font:400 10px/20px var(--font);min-width:65px;max-width:140px;padding:0 5px;border:1px solid transparent;border-radius:2px;color:#ccc;cursor:text}
html body.moosso-studio #doc-title:hover,html body.moosso-studio #doc-title:focus-visible{border-color:#747474;background:#282828;color:#fff;outline:none}
html body.moosso-studio #ws-switch{border:0;border-radius:0;margin:0 3px}
html body.moosso-studio #ws-switch button{height:23px;min-height:23px;font:600 9px var(--font);letter-spacing:.25px;padding:2px 9px;background:#171717!important;color:#aaa!important;border:0!important;border-radius:0}
html body.moosso-studio #ws-switch button.on{background:#f0f0f0!important;color:#080808!important;border:0!important}
html body.moosso-studio #studio-credit{font:500 8px/1.2 Arial,sans-serif;letter-spacing:.35px;color:#aaa;text-decoration:none;white-space:nowrap;margin-left:auto}
html body.moosso-studio #studio-actions{margin-left:5px}
html body.moosso-studio #studio-actions button,html body.moosso-studio #studio-language{height:22px;min-height:22px;font-size:9px;padding:1px 6px;color:#eee;background:#171717;border-color:#3b3b3b}
html body.moosso-studio #titlebar>button{font-size:9px;color:#ddd;background:#171717}
html body.moosso-studio #menubar{font-size:10px;height:20px;min-height:20px}
html body.moosso-studio #menubar>button,html body.moosso-studio #menubar>.menu-item{font-size:10px;padding:2px 8px}
html body.moosso-studio #rptabs button,html body.moosso-studio #rpbody,html body.moosso-studio #rpbody :is(td,th,p,label,input,select,button),html body.moosso-studio .hp-title{font-size:10px!important;line-height:1.25}
html body.moosso-studio #rpbody table.layers{font-size:10px!important;width:100%;table-layout:auto}
html body.moosso-studio #rpbody table.layers :is(td,th){font:10px/1.2 var(--font)!important;padding:2px 4px!important;height:22px;white-space:nowrap}
html body.moosso-studio #rpbody table.layers td:first-child{max-width:100px;overflow:hidden;text-overflow:ellipsis}
html body.moosso-studio #rpbody table.layers .lic{min-height:18px;height:18px;width:20px;padding:0}
html body.moosso-studio #rpbody table.layers svg{width:13px;height:13px}
html body.moosso-studio #rpbody table.layers .sw{width:11px;height:11px}
html body.moosso-studio #cmdhist,html body.moosso-studio #cmdline,html body.moosso-studio #cmdinput{font-size:10px!important;line-height:1.3}
html body.moosso-studio .studio-tabs button,html body.moosso-studio .studio-strip button{font-size:10px}
html body.moosso-studio .studio-tabs{height:22px}
html body.moosso-studio .studio-strip{min-height:31px;padding:1px 4px}
html body.moosso-studio .studio-strip svg{width:20px;height:20px}
html body.moosso-studio .studio-strip button{min-height:27px;padding:2px 6px}
html body.moosso-studio #statusbar,html body.moosso-studio #osnapbar,html body.moosso-studio #workspace-hint,html body.moosso-studio .vp-title{font-size:10px!important}
#studio-render-panel{display:none;grid-column:3;grid-row:1;background:#202122;color:#d7d7d7;min-height:0;overflow:hidden;flex-direction:column;border-left:1px solid #090909;font:10px/1.35 var(--font)}
html body.moosso-studio[data-workspace=enscape] #main{grid-template-columns:0 minmax(0,1fr) 285px!important}
html body.moosso-studio[data-workspace=enscape] #main>.hp-shell[data-panel-id=properties],html body.moosso-studio[data-workspace=enscape] #main>.hp-shell[data-panel-id=main-tools]{display:none!important}
html body.moosso-studio[data-workspace=enscape] #studio-render-panel{display:flex}
html body.moosso-studio[data-workspace=enscape] #studio-ribbon{background:#28292b;color:#ddd;border-color:#111}
html body.moosso-studio[data-workspace=enscape] .studio-strip button:hover{background:#414244;color:#fff}
html body.moosso-studio[data-workspace=enscape] #workspace-task{background:#222;color:#ccc}
.render-heading{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #3a3a3a;letter-spacing:.5px}.render-heading span{font-size:8px;color:#888}
#studio-render-panel button{font:9px/1.25 var(--font);background:#303234;color:#ddd;border:1px solid #484a4c;border-radius:2px;padding:5px 6px;min-height:25px;cursor:pointer}
#studio-render-panel button:hover{background:#46484a;color:white}
.render-workflows{display:flex;gap:2px;padding:6px 5px;background:#141414}.render-workflows button{flex:1;padding:4px 2px!important;font-size:8px!important;white-space:nowrap}
.render-sections{display:grid;grid-template-columns:repeat(3,1fr);padding:5px;gap:3px;background:#28292a}.render-sections button[aria-selected=true]{background:#eee!important;color:#111!important}
.render-body{padding:10px;overflow:auto;flex:1;min-height:0}.render-body input,.render-body select{font:10px var(--font);color:#ddd;background:#333;border:1px solid #555;border-radius:2px;min-width:0}
.render-field{display:grid;grid-template-columns:88px 1fr auto;gap:7px;align-items:center;margin:12px 0;font-size:10px}.render-field output{min-width:28px;text-align:right;font-size:9px;color:#aaa}.render-field input[type=range]{width:100%;accent-color:#ccc}
.render-color{display:flex;align-items:center;justify-content:space-between;margin:10px 0}.render-color input{width:50px;height:22px;padding:0;cursor:pointer}.render-check{display:flex;align-items:center;gap:6px;margin:11px 0}.render-check input{accent-color:#ddd}
.render-button-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.render-note{font-size:9px!important;line-height:1.5!important;color:#999;margin:12px 0}.render-light{padding:8px;border:1px solid #444;margin:8px 0}.render-light header{display:flex;align-items:center;gap:4px}.render-light header button{margin-left:auto}.render-light>input[type=range]{width:75%;accent-color:#ccc}.render-light>input[type=color]{width:22%;height:22px;padding:0}.render-light>button{width:100%;margin-top:4px}
.render-material-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:10px}.render-material-grid button{display:flex;align-items:center;gap:5px;text-align:left}.render-material-grid button:before{content:'';width:14px;height:14px;border:1px solid #777;background:var(--swatch);flex-shrink:0}.render-shots{margin-top:12px;display:grid;gap:4px}.render-shots>div{display:flex;gap:4px}.render-shots>div button:first-child{flex:1;text-align:left}
#studio-render-status{font-size:8px;padding:6px 9px;min-height:24px;background:#111;color:#aaa}
.studio-vignette{position:absolute;inset:0;pointer-events:none;z-index:2;background:radial-gradient(ellipse at center,transparent 20%,rgba(0,0,0,.8) 100%)}
@media(max-width:1200px) and (min-width:801px){html body.moosso-studio #studio-credit{max-width:130px;white-space:normal;font-size:7px}html body.moosso-studio #doc-title{max-width:90px}html body.moosso-studio #ws-switch button{padding:2px 6px}}
@media(max-width:800px){html body.moosso-studio.horn-integrated #titlebar{height:auto!important;min-height:80px!important;flex-wrap:wrap;padding:3px 5px}html body.moosso-studio #studio-wordmark{font-size:10px}html body.moosso-studio #ws-switch{order:3;width:100%;margin:0;overflow:auto}html body.moosso-studio #ws-switch button{flex:1;min-width:51px;padding:4px;font-size:8px}html body.moosso-studio #studio-credit{font-size:6px;white-space:normal;max-width:135px;line-height:1.2}html body.moosso-studio #studio-actions{order:4;width:100%;justify-content:flex-end}html body.moosso-studio[data-workspace=enscape] #main{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(150px,1fr) 210px!important}html body.moosso-studio[data-workspace=enscape] #studio-render-panel{grid-row:2;grid-column:1}html body.moosso-studio[data-workspace=enscape] #main #vpwrap{grid-row:1!important}.render-heading{display:none}.render-workflows{padding:2px}.render-sections{grid-template-columns:repeat(6,1fr);padding:2px}.render-body{padding:5px 8px}.render-field{margin:7px 0}}

/* Compact Rhino-style curve rebuild options. */

/* Workspace controls stay visible and retain their own input conventions. */
html body.moosso-studio .studio-strip{flex-wrap:wrap;max-height:106px;overflow:auto;align-items:center}
html body.moosso-studio .studio-tabs{overflow-x:auto;flex-shrink:0;height:24px}
html body.moosso-studio .studio-tabs button{flex-shrink:0;white-space:nowrap}
html body.moosso-studio .studio-strip button{flex-shrink:0}
html body.moosso-studio .studio-strip button[aria-pressed=true]{background:#f5e9ac;border-color:#b89529;color:#222}
html body.moosso-studio .studio-strip button:disabled{opacity:.4;cursor:default}
html body.moosso-studio[data-workspace=revit] .studio-strip{padding:3px 6px;min-height:56px;gap:3px}
html body.moosso-studio[data-workspace=revit] .studio-strip button{min-width:52px;min-height:50px;padding:3px 7px;gap:4px;border-right:1px solid #e0e1e4}
html body.moosso-studio[data-workspace=revit] .studio-strip svg{height:24px;width:24px}
html body.moosso-studio[data-workspace=revit] #workspace-task{order:45;min-height:30px;display:flex;background:#f2f4f6;border-block:1px solid #bec6ce;padding:3px 8px;gap:8px;flex-shrink:0;flex-wrap:wrap}
html body.moosso-studio[data-workspace=revit] #workspace-task:not([data-tool=idle]){background:#e3edda}
#workspace-finish,#workspace-cancel{font:10px var(--font);padding:3px 9px;min-height:23px;border:1px solid #a8b4aa;border-radius:2px;white-space:nowrap;color:var(--ink);background:var(--paper)}
#workspace-finish{border-color:#67936b}#workspace-cancel{border-color:#b98479}
#workspace-finish[hidden],#workspace-cancel[hidden]{display:none!important}
#workspace-finish:disabled{opacity:.4}
html body.moosso-studio #workspace-hint{min-width:120px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.moosso-studio #workspace-task label{white-space:nowrap}
.studio-blender-context{display:flex;align-items:center;gap:3px;padding:3px 6px;background:#353535;border-bottom:1px solid #191919;min-height:27px}
.studio-blender-context button{display:flex;align-items:center;justify-content:center;min-height:22px;background:#454545;color:#ddd;border:1px solid #1b1b1b;border-radius:3px;font:10px var(--font);padding:2px 6px}
.studio-blender-context button[aria-pressed=true]{background:#98652d;color:#fff;border-color:#d6a15f}
.studio-context-hint{font-size:9px;color:#aaa;margin-left:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.moosso-studio[data-workspace=blender] .studio-strip{padding:4px 6px;gap:2px;min-height:35px}
html body.moosso-studio[data-workspace=blender] .studio-strip button{border:1px solid #454545;background:#333;border-radius:3px;color:#ddd;gap:4px;padding:4px 7px}
html body.moosso-studio[data-workspace=blender] .studio-strip button[aria-pressed=true]{background:#655030;border-color:#cc954f}
body[data-workspace=blender] svg [stroke="#1b1b1b"],body[data-workspace=autocad] svg [stroke="#1b1b1b"],body[data-workspace=enscape] svg [stroke="#1b1b1b"]{stroke:currentColor}
body[data-workspace=blender] svg [fill="#1b1b1b"],body[data-workspace=autocad] svg [fill="#1b1b1b"],body[data-workspace=enscape] svg [fill="#1b1b1b"]{fill:currentColor}
body[data-workspace=blender] svg [stroke="#1d4f82"]{stroke:#80afd8}
@media(max-width:800px){html.horn-mobile-ui body.moosso-studio .studio-strip{flex-wrap:nowrap;max-height:42px}html body.moosso-studio[data-workspace=revit] #workspace-task{min-height:28px}html body.moosso-studio #workspace-hint{flex-basis:100%}.studio-context-hint{font-size:8px}.studio-tool-count{display:none}}
.studio-popover.studio-rebuild{width:340px;font-size:11px}.studio-rebuild header{font-size:12px}.studio-rebuild label.studio-rebuild-option{display:flex;justify-content:flex-start;gap:6px}.studio-rebuild input[type=checkbox]{width:13px;height:13px;min-height:0;margin:0}.studio-rebuild .studio-primary,.studio-rebuild .studio-cancel,.studio-rebuild .studio-preview{width:auto;min-width:74px;display:inline-block;margin:5px 6px 0 0}.studio-rebuild output{display:block;margin-top:8px}

/* Plan Studio shares the host document viewport; its draft remains isolated until Add. */
html body.moosso-studio[data-workspace=plan] #main{grid-template-columns:minmax(420px,3fr) minmax(280px,2fr)!important;grid-template-rows:minmax(0,1fr)!important}
html body.moosso-studio[data-workspace=plan] #main>.hp-shell{display:none!important}
html body.moosso-studio[data-workspace=plan] #main #vpwrap{grid-column:2!important;grid-row:1!important;min-width:0}
html body.moosso-studio #main>#studio-plan{position:relative;inset:auto;z-index:1;grid-column:1;grid-row:1;min-width:0;min-height:0;border-right:2px solid #bcc1c7}
html body.moosso-studio #studio-plan>header{gap:8px;padding:5px 8px;font-size:10px}
html body.moosso-studio #studio-plan>header>button{padding:5px 8px}
@media(max-width:800px){html body.moosso-studio[data-workspace=plan] #main{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(280px,3fr) minmax(160px,2fr)!important}html body.moosso-studio[data-workspace=plan] #main #vpwrap{grid-column:1!important;grid-row:2!important}}
html body.moosso-studio[data-workspace=plan] #main>.hp-shell[data-panel-id=properties]:not(.hp-floating),html body.moosso-studio[data-workspace=plan] #main>.hp-shell[data-panel-id=main-tools]:not(.hp-floating){display:none!important}
/* One source drawing and the document's actual modeling viewport. */
html body.moosso-studio[data-workspace=plan] #main{grid-template-columns:minmax(350px,2fr) minmax(300px,3fr)!important}
@media(max-width:800px){html body.moosso-studio[data-workspace=plan] #main{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(260px,1fr) minmax(180px,1fr)!important}}
