/* Scope this sizing adjustment to the two standalone workbenches. */
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) body {
 --wb-order-space:0px;
 --wb-content-width:min(1360px,calc(100vw - var(--wb-order-space)));
 --wb-outer-gap:max(0px,calc((100vw - var(--wb-order-space) - 1360px)/2));
}
@media(min-width:901px){
 html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) body.sct-order-dock-enabled{--wb-order-space:var(--sct-order-dock-width,318px)}
 html[data-sct-nav-page="white"] body.sct-order-dock-enabled.sct-order-dock-collapsed{--wb-order-space:54px}
}
html:root:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) body .shell {
 width:var(--wb-content-width)!important;max-width:1360px!important;
 margin-left:var(--wb-outer-gap)!important;
 margin-right:calc(var(--wb-outer-gap) + var(--wb-order-space))!important;
 padding:104px 24px 36px!important;container:workbench / inline-size;
}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) :is(.page-head,.top){padding-bottom:16px!important;margin-bottom:16px!important;min-height:48px;align-items:center}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) :is(.page-head h1,.title){font-size:26px!important;line-height:1.25}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) :is(.category-tabs,.tabs){gap:8px;margin-bottom:16px!important}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) :is(.category-tab,.tab){min-width:76px;padding:9px 20px;font-size:14px;min-height:38px}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) .shell .panel{padding:18px!important;border-radius:12px!important;min-width:0}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) .shell .panel-head{margin-bottom:14px;padding-bottom:0!important;gap:10px}
html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) .shell :is(.panel h2,.results h3){font-size:18px!important;line-height:1.35}
html[data-sct-nav-page="white"] body.white-workbench-page .workspace{grid-template-columns:184px minmax(0,1fr) 264px!important;gap:16px!important;align-items:stretch!important}
html[data-sct-nav-page="white"] body.white-workbench-page .workspace>.panel{min-height:0!important}
html[data-sct-nav-page="white"] body.white-workbench-page .params-panel{grid-column:auto!important;display:flex!important;flex-direction:column}
html[data-sct-nav-page="white"] body.white-workbench-page .params-body{display:flex!important;flex-direction:column!important;gap:0!important;flex:1}
html[data-sct-nav-page="white"] body.white-workbench-page .cost-area{margin-top:auto!important;padding-top:20px!important}
html[data-sct-nav-page="white"] body.white-workbench-page :is(.section-label,.angle-selection h3){font-size:14px!important}
html[data-sct-nav-page="white"] body.white-workbench-page :is(.panel-note,#clearAll){font-size:12px!important}
html[data-sct-nav-page="white"] body.white-workbench-page :is(.mode-option,.mode-option strong){font-size:14px!important;min-height:48px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .mode-option strong{min-height:0!important}
html[data-sct-nav-page="white"] body.white-workbench-page #uploadGrid{gap:12px!important;margin-top:12px!important}
html[data-sct-nav-page="white"] body.white-workbench-page #uploadGrid .upload-slot{height:132px!important;min-height:0!important}
html[data-sct-nav-page="white"] body.white-workbench-page #uploadGrid .upload-slot.primary.full-row{height:156px!important;min-height:0!important}
html[data-sct-nav-page="white"] body.white-workbench-page.is-single-angle #uploadGrid .upload-slot{height:224px!important;min-height:0!important}
html[data-sct-nav-page="white"] body.white-workbench-page .slot-title{font-size:16px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .slot-plus{font-size:26px!important;margin-bottom:5px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .angle-selection{padding:12px!important;margin-bottom:12px}
html[data-sct-nav-page="white"] body.white-workbench-page .angle-mode-switch button{min-height:40px!important;padding:9px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .angle-mode-switch strong{font-size:14px!important}
html[data-sct-nav-page="white"] body.white-workbench-page :is(.choice strong,.segment button,.stepper,.fixed-option-buttons button,.auto-padding-toggle){font-size:14px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .choice{min-height:66px!important;padding:9px 4px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .form-section+.form-section{margin-top:16px!important;padding-top:16px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .generate{font-size:15px!important;height:44px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .cost{font-size:14px!important;margin-top:16px;padding-top:14px}
html[data-sct-nav-page="white"] body.white-workbench-page .cost strong{font-size:18px!important}
html[data-sct-nav-page="white"] body.white-workbench-page .result-head h3{font-size:16px!important}
html[data-sct-nav-page="white"] body.white-workbench-page #resultGrid .angle-result .angle-visual{height:100px;aspect-ratio:auto}
html[data-sct-nav-page="white"] body.white-workbench-page #resultGrid .angle-result:has(img) .angle-visual{height:auto;aspect-ratio:1}
html[data-sct-nav-page="creative"] .layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.45fr) minmax(0,.8fr);gap:16px}
html[data-sct-nav-page="creative"] .layout>.creative-left-stack{gap:16px}
html[data-sct-nav-page="creative"] .layout>.preview{min-height:0}
html[data-sct-nav-page="creative"] .canvas{min-height:clamp(300px,42vh,420px)}
html[data-sct-nav-page="creative"] .layout>.results{min-height:520px;padding:18px}
html[data-sct-nav-page="creative"] .field{margin-top:14px}
html[data-sct-nav-page="creative"] .field textarea{height:76px}
html[data-sct-nav-page="creative"] .upload{min-height:108px}
@container workbench (min-width:740px) and (max-width:1039px){
 html[data-sct-nav-page="white"] body.white-workbench-page .workspace{grid-template-columns:172px minmax(0,1fr)!important}
 html[data-sct-nav-page="white"] body.white-workbench-page .params-panel{grid-column:1/-1!important}
 html[data-sct-nav-page="white"] body.white-workbench-page .params-body{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important}
 html[data-sct-nav-page="white"] body.white-workbench-page .params-body>.form-section{margin:0!important;padding:0!important;border-top:0}
 html[data-sct-nav-page="white"] body.white-workbench-page .cost-area{grid-column:1/-1;padding-top:0!important}
 html[data-sct-nav-page="creative"] .layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)}
 html[data-sct-nav-page="creative"] .layout>.results{grid-column:2;grid-row:2;min-height:0}
 html[data-sct-nav-page="creative"] .layout>.preview{grid-row:1}
 html[data-sct-nav-page="creative"] .params .param-grid{display:block}
}
@container workbench (max-width:739px){
 html[data-sct-nav-page="white"] body.white-workbench-page .workspace{grid-template-columns:1fr!important}
 html[data-sct-nav-page="white"] body.white-workbench-page .params-panel{grid-column:1!important}
 html[data-sct-nav-page="creative"] .layout{display:flex;flex-direction:column}
 html[data-sct-nav-page="creative"] .layout>*{width:100%}
 html[data-sct-nav-page="creative"] .layout>.preview{order:0}
 html[data-sct-nav-page="creative"] .layout>.creative-left-stack{order:1}
 html[data-sct-nav-page="creative"] .layout>.results{order:2;min-height:0}
}
@media(max-width:900px){
 html:root:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) body .shell{padding:128px 16px 148px!important}
 html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) :is(.page-head h1,.title){font-size:23px!important}
}
@media(max-width:600px){
 html:root:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) body .shell{padding-left:12px!important;padding-right:12px!important}
 html:is([data-sct-nav-page="white"],[data-sct-nav-page="creative"]) :is(.page-head,.top){align-items:flex-start;gap:12px;flex-wrap:wrap}
 html[data-sct-nav-page="white"] body.white-workbench-page .ready{font-size:11px}
 html[data-sct-nav-page="white"] body.white-workbench-page.is-single-angle #uploadGrid .upload-slot{height:185px!important}
 html[data-sct-nav-page="creative"] .top-actions{margin-top:10px}
 html[data-sct-nav-page="creative"] .canvas{min-height:300px}
}
