/* BP client theme tokens: default colours retained; scene artwork untouched. */
/* Give answers more room while retaining one unchanged preview frame per viewport. */
.workspace,
.workspace:has(.wd-dimension-question){
 grid-template-rows:minmax(0,1fr) 424px;
}
.question-card>.question{
 overflow-y:auto;
 overflow-x:hidden;
 overscroll-behavior:contain;
 scroll-padding-block:12px;
}
.question-card>.question-footer{flex-shrink:0;}

@media(min-width:1001px) and (max-height:819px){
 .workspace,.workspace:has(.wd-dimension-question){grid-template-rows:minmax(0,1fr) 386px;}
}
@media(max-width:1000px){
 .workspace,.workspace:has(.wd-dimension-question){grid-template-rows:clamp(140px,23dvh,210px) minmax(0,1fr);}
 .question-card>.question{scroll-padding-block:10px;}
 .question .options.concerns{gap:7px;}
 .question .options.concerns .option{min-height:55px;padding:8px;}
 .wd-exact-fields input{min-height:44px;}
 .wd-dimension-question .wd-exact{margin-top:12px;}
}

/* Leave a useful preview on very short windows; the answer area can still scroll. */
@media(min-width:1001px) and (max-height:610px){
 .workspace,.workspace:has(.wd-dimension-question){grid-template-rows:minmax(100px,1fr) minmax(0,386px);}
}
@media(max-width:1000px) and (max-height:540px){
 .workspace,.workspace:has(.wd-dimension-question){grid-template-rows:110px minmax(0,1fr);}
}
