.wb-stage{scroll-margin-top:95px;background:white;border:1px solid #e4e0da;border-radius:25px;padding:22px;margin:22px 0}.wb-stage-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.wb-stage-heading h2{font-size:22px;overflow-wrap:anywhere}.wb-stage-heading button{font-size:12px;padding:9px 14px}.wb-stage-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:start}.wb-stage #wb-main-preview{display:block!important;height:auto!important;padding:0!important;background:transparent!important;min-width:0}.wb-stage .kv-viewport{height:440px;border-radius:25px}.wb-stage .kv-viewport>canvas{max-width:none}.wb-stage-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 14px}.kwi .wb-stage-tab{display:flex;align-items:center;text-align:left;border:1px solid #d3d9dc;background:#fff;color:#16334f;padding:8px;border-radius:25px;min-width:160px;max-width:220px;gap:8px;font-size:12px;line-height:1.3}.wb-stage-tab small{display:block;font-size:10px;color:#647386;margin-top:4px;max-width:130px}.kwi .wb-stage-current{border:2px solid #8b603f;background:#f8f5ef}.wb-stage-thumb{width:46px;height:46px;flex-shrink:0;overflow:hidden;border-radius:12px;background:#f0f1ed}.wb-stage-thumb img{width:100%;height:100%;object-fit:contain}.wb-stage-thumb .wb-file-tile strong{font-size:11px}.wb-stage-thumb .wb-file-tile small{display:none}.wb-stage-parameters{border:1px solid #e4e0da;border-radius:25px;padding:16px}.wb-stage-parameters summary{cursor:pointer;font-weight:600;font-size:14px;margin-bottom:12px}.wb-stage-parameters summary span{display:block;font-size:11px;font-weight:400;color:#647386}.wb-stage-parameters p,.wb-stage-note{font-size:12px;line-height:1.5;color:#647386}.wb-stage-parameters button{font-size:12px!important;padding:10px 12px!important;width:100%}.wb-stage-expanded{position:fixed;inset:12px;z-index:1000;margin:0!important;overflow:auto;max-width:none}.wb-stage-expanded .kv-viewport{height:calc(100dvh - 300px)}.wb-stage-expanded .wb-stage-layout{grid-template-columns:minmax(0,1fr) 260px}.wb-stage-expanded .wb-stage-note{margin:8px 0}.wb-stage .kv-status{min-height:40px}.wb-stage .kv-controls button{border-radius:25px!important}.wb-stage .kv-viewport:empty:before{content:'Your selected reference is being prepared locally.';padding:25px;color:#647386;font-size:14px;text-align:center}
@media(max-width:1150px){.wb-stage-layout{grid-template-columns:1fr}.wb-stage-parameters #wb-stage-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.wb-stage .kv-viewport{height:390px}}
@media(max-width:900px){.wb-stage{padding:15px;scroll-margin-top:80px}.wb-stage-layout{display:flex;flex-direction:column}.wb-stage #wb-main-preview,.wb-stage-parameters{width:100%;box-sizing:border-box}.wb-stage .kv-viewport{height:340px}.wb-stage-heading h2{font-size:19px}.wb-stage-expanded .wb-stage-layout{display:flex}.wb-stage-expanded{inset:8px 8px 85px}.wb-stage-expanded .kv-viewport{height:calc(100dvh - 380px)}.wb-stage-tabs{padding-bottom:10px}.kwi .wb-stage-tab{min-width:140px}.wb-stage-note{margin-bottom:0}}
@media(max-width:400px){.wb-stage .kv-viewport{height:300px}.wb-stage-heading{align-items:flex-start}.wb-stage-heading button{max-width:110px}.wb-stage-parameters #wb-stage-fields{grid-template-columns:1fr}}
.wb-project{min-width:0}.wb-stage{box-sizing:border-box;max-width:100%}.wb-stage-layout,.wb-stage-tabs,.wb-stage-parameters{min-width:0}.wb-stage-tabs{max-width:100%}.wb-stage-heading>div{min-width:0;flex:1}.wb-stage-heading>button{flex-shrink:0}.wb-stage-parameters label{min-width:0}.wb-stage-title{overflow-wrap:anywhere}
#wb-main-preview .kv-viewport:empty:before{content:'No visual preview here. You can still continue with your file and requirements.'}#wb-main-preview .kv-viewport[data-preview-state=loading]:empty:before{content:'Preparing your selected reference locally…'}
