@media(min-width:1040px) and (min-height:520px){
 body.bc-program-fit{height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.bc-program-fit>.bc-site-nav,body.bc-program-fit>.bc-footer{flex:none!important}
 body.bc-program-fit>.bc-footer{margin:0!important;padding:8px 12px!important}
 body.bc-program-fit>.bc-footer p{margin:3px 0!important}
 body.bc-program-fit>.bc-integrated-shell{flex:1!important;min-height:0!important;max-height:none!important;margin:10px auto!important;display:flex!important;flex-direction:column!important;gap:10px!important}
 body.bc-program-fit .bc-unified-toolbar{flex:none!important}
 body.bc-program-fit .bc-program-body[data-app="program"]{flex:1!important;min-height:0!important;height:auto!important;margin:0!important;display:flex!important;overflow:hidden!important}
 body.bc-program-fit .bc-program-body[data-app="program"] .bc-app-frame{height:100%!important;min-height:0!important;max-height:none!important;flex:1!important}
}
body.bc-program-fit>.bc-integrated-shell.is-fullscreen,body.bc-program-fit>.bc-integrated-shell:fullscreen{margin:0!important;flex:none!important}
@media(min-width:1040px) and (min-height:520px){
 html:root body.bc-program-fit .bc-footer.bc-footer{margin-top:8px!important}
 html:root body.bc-program-fit .bc-footer .bc-footer-inner{padding:8px 0!important}
}
/* Active desktop workspace uses the footer area for the board; setup keeps the footer. */
html:root body.bc-program-fit>.bc-footer.bc-footer{display:none!important}

@media(min-width:761px){
 .bc-unified-toolbar:has([data-program-context]){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
}

.bc-program-fullscreen{gap:8px;white-space:nowrap}
.bc-program-fullscreen svg{flex-shrink:0}

.bc-program-fullscreen .bc-fullscreen-exit{display:none}
.bc-program-fullscreen[aria-pressed="true"] .bc-fullscreen-enter,
.bc-integrated-shell:fullscreen .bc-program-fullscreen .bc-fullscreen-enter{display:none}
.bc-program-fullscreen[aria-pressed="true"] .bc-fullscreen-exit,
.bc-integrated-shell:fullscreen .bc-program-fullscreen .bc-fullscreen-exit{display:inline}
