/* Shared assembly UI, 30.10.2026. Native semantics and engineering remain unchanged. */
html{scrollbar-gutter:auto!important}html,body{height:auto!important;overflow:visible!important;background:#fff!important}
.controls,.control-panel,.layout,.workspace{height:auto!important;max-height:none!important;overflow:visible!important}
.model-area,.preview{position:static!important}
button[aria-pressed=true]:not(:disabled),button[aria-current]:not([aria-current=false]),button[aria-selected=true],.steps [aria-current],.viewbar button[aria-pressed=true],.view-tabs button[aria-pressed=true],.presets button.selected{background:#F4A900!important;color:#20282e!important;border-color:#D99400!important;box-shadow:none!important}
button[aria-pressed=true]:hover{background:#F4A900!important}
.view-tabs{flex-wrap:wrap!important;overflow:visible!important;gap:6px!important}
.view-tabs button,.viewbar button{padding:10px 12px!important;min-height:44px!important;margin:0!important;white-space:normal!important;text-align:left}
select{appearance:none!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23242c32' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center!important;padding:12px 42px 12px 14px!important;border:1px solid #aeb9c1!important;min-height:48px!important;cursor:pointer}
select:hover{border-color:#D99400!important;background-color:#FFF3D6!important}select:focus-visible{outline:2px solid #D99400;outline-offset:2px}
details>summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:48px;padding:14px 16px!important;border:1px solid #d9dfe3;background:#fff;cursor:pointer!important;font-weight:500!important;line-height:1.5}
summary::-webkit-details-marker{display:none}details>summary::after{content:'⌄';display:block;flex:none;font-size:24px;line-height:1;color:#B37A00}details[open]>summary::after{content:'⌃'}details>summary:hover{background:#FFF3D6}details[open]>summary{border-bottom:2px solid #F4A900}
.scene{height:clamp(300px,48vh,540px)!important}.scene canvas{max-width:100%}.controls{padding:0 12px 24px 0!important}
@media(max-width:740px){main{padding:16px!important}.controls{padding:20px 0!important}.steps{gap:8px}.steps button{padding:12px!important;min-height:64px}.scene{height:320px!important}.field-grid,.fields{grid-template-columns:minmax(0,1fr)!important}.view-tabs button,.viewbar button{font-size:13px!important}.control-panel{padding:20px 0!important}}
@media(max-width:390px){.steps{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important}.steps button{display:flex!important;align-items:center;min-width:0!important;min-height:48px!important;overflow-wrap:anywhere}.steps button>span{margin-bottom:0!important}}
