/* Strict six-inch (576 CSS px at 96px/in) compact widget on desktop. */
.vbc-education .vbc-edu-widget {
 width:min(6in,100%)!important;
 max-width:576px!important;
 height:auto!important;
 max-height:6in!important;
 min-height:0!important;
 box-sizing:border-box!important;
 padding:14px 18px 13px!important;
 margin-inline:auto!important;
 overflow:visible!important;
 display:flex!important;
 flex-direction:column!important;
 gap:0!important;
}
.vbc-edu-widget .vbc-edu-widget-head{margin:0 0 10px!important;min-height:0!important;gap:8px!important}
.vbc-edu-widget .vbc-edu-widget-head strong{font-size:1rem!important}
.vbc-edu-widget .vbc-compact-controls{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0 0 6px!important}
.vbc-edu-widget .vbc-compact-control label{font-size:.76rem!important;line-height:1.2!important;min-height:39px!important;margin:0 0 4px!important;gap:2px!important}
.vbc-edu-widget .vbc-compact-control output{font-size:.83rem!important}
.vbc-edu-widget .vbc-compact-control input[type=range]{height:19px!important;min-height:19px!important;margin:0!important}
.vbc-edu-widget .vbc-3d-chart{width:100%!important;max-width:100%!important;margin:7px 0 5px!important;padding:5px 10px 6px!important;box-sizing:border-box!important;}
.vbc-edu-widget .vbc-3d-plot{height:125px!important;min-height:0!important;gap:10px!important;padding:5px 10px 0!important}
.vbc-edu-widget .vbc-3d-bar{width:min(56%,55px)!important;max-height:68px!important}
.vbc-edu-widget .vbc-3d-value{font-size:.8rem!important;margin-bottom:6px!important}
.vbc-edu-widget .vbc-3d-name{font-size:.75rem!important;margin-top:6px!important}
.vbc-edu-widget .vbc-3d-plot:before{bottom:18px!important}
.vbc-edu-widget .vbc-edu-legend{display:none!important}
.vbc-edu-widget .vbc-edu-result{padding:8px 0 0!important;margin:4px 0 0!important;gap:8px!important}
.vbc-edu-widget .vbc-edu-result strong{font-size:1.3rem!important;line-height:1.15!important;color:#fff!important}
.vbc-edu-widget .vbc-edu-result span{font-size:.85rem!important;color:#f3faff!important}
.vbc-edu-widget #vbc-edu-feedback{font-size:.8rem!important;line-height:1.3!important;margin:7px 0 0!important;color:#f3faff!important}
/* Keep content in normal document flow: no internal scrolling or runaway height. */
@media(max-width:500px){
 .vbc-education .vbc-edu-widget{padding:12px!important;max-height:none!important}
 .vbc-edu-widget .vbc-compact-controls{grid-template-columns:1fr!important;gap:5px!important}
 .vbc-edu-widget .vbc-compact-control label{min-height:0!important;flex-wrap:nowrap!important}
 .vbc-edu-widget .vbc-3d-plot{height:110px!important}
 .vbc-edu-widget .vbc-3d-bar{max-height:58px!important}
}
