/* Keep toolbar groups intact when additional families/catalog actions are present. */
@media(min-width:921px){
 body:not(.presentation) #appToolbar>.polish-group{flex-shrink:0;max-width:100%;min-width:0}
 body:not(.presentation) #appToolbar #envGroup{flex:0 0 auto}
 body:not(.presentation) #appToolbar #modelGroup{flex:0 0 330px;min-width:330px;max-width:none;gap:8px!important}
 body:not(.presentation) #appToolbar #modelGroup .jar-switch{flex:1 1 0;min-width:0!important;width:auto!important;max-width:none!important}
 body:not(.presentation) #appToolbar #presetSelectTop{min-width:0!important;width:100%!important;max-width:100%!important}
 body:not(.presentation) #appToolbar #pfBrowseModels{flex:0 0 auto;white-space:nowrap;max-width:none}
 body:not(.presentation) #appToolbar #viewsGroup,body:not(.presentation) #appToolbar #viewerGroup{margin-left:0!important}
 body:not(.presentation) #appToolbar #familyNav{flex-wrap:wrap;min-width:0;max-width:100%}
}

/* Full-width choices, then paired dimensions: both sides share an input baseline. */
#controls .add-zone{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
#controls .add-zone>label{grid-column:1/-1;min-width:0}
#controls .add-zone>button{min-width:0;white-space:normal;min-height:40px;margin:0;line-height:1.35;padding:7px}
#controls .labelcard{min-width:0}
#controls .pf-seal-group{min-width:0}
#controls .pf-seal-group>.grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px 8px}
#controls .pf-seal-group label{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;margin:0!important;line-height:1.45}
#controls .pf-seal-group label>span{display:block;min-height:2.9em;padding:0;border:0;font:inherit;overflow-wrap:anywhere}
#controls .pf-seal-group label>input[type=number]{width:100%;min-width:0;max-width:100%;height:34px;min-height:34px;margin:4px 0 0!important;margin-top:auto!important}
#controls .pf-seal-group label>input[type=range]{width:100%;min-width:0;height:24px;margin:4px 0 0!important}
#controls .pf-seal-group label.pf-seal-select,#controls .pf-seal-group label:only-child{grid-column:1/-1}
#controls .pf-seal-group label.pf-seal-select>span{min-height:0}
#controls .pf-seal-group select{width:100%;min-width:0;max-width:100%;margin:4px 0 0!important;height:36px}
#controls .pf-seal-group summary{line-height:1.5;white-space:normal;overflow-wrap:anywhere}
#controls .pf-seal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#controls .pf-seal-actions button{min-width:0;min-height:36px;white-space:normal;margin:0;font-size:11px}
#controls .pf-seal-actions button:last-child{grid-column:1/-1}
#controls .pf-seal-preview{min-width:0;overflow:hidden}
#controls .labelcard>a{display:block;overflow-wrap:anywhere;line-height:1.5}
