/* v30 shared, slim, static document-flow footer; never an app overlay. */
:root{--v30-edge:#395f80;--v30-ink:#dff5ff}
html,body{min-width:0}body:not(.bw-iframe-app){min-height:100dvh;display:flex;flex-direction:column}
body:not(.bw-iframe-app)>main,body:not(.bw-iframe-app)>#tools-wrapper{flex:1 0 auto;min-height:0}
body>.bws-homebar-footer.site-footer{position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:space-between;gap:4px 14px;flex-wrap:wrap;flex:0 0 auto;margin-top:auto!important;width:100%!important;min-height:0!important;padding:5px clamp(9px,1.3vw,18px) max(5px,env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid var(--v30-edge)!important;border-radius:0!important;background:linear-gradient(105deg,#10273b,#0a1423 55%,#1b1833)!important;box-shadow:0 -2px 13px #0005;z-index:2;box-sizing:border-box!important}
.bws-homebar-footer .bws-footer-links,.bws-homebar-footer .bws-footer-status{display:flex;gap:3px 8px;align-items:center;flex-wrap:wrap;min-width:0}
.bws-homebar-footer .bws-footer-links a,.bws-homebar-footer .bws-footer-status button{display:inline-flex;align-items:center;min-height:28px;padding:4px 7px!important;font-size:11px!important;line-height:1.2!important;border:1px solid transparent!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;text-decoration:none;color:var(--v30-ink)}
.bws-homebar-footer .bws-footer-links a:hover,.bws-homebar-footer button:hover,.bws-homebar-footer a:focus-visible,.bws-homebar-footer button:focus-visible{border-color:#49c7e4!important;background:#17314a!important;color:white!important}
.bws-homebar-footer .bws-footer-clock,.bws-homebar-footer .bws-footer-status .bws-footer-clock{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:3px 6px!important;background:#0d2134!important;border:1px solid #34556b;border-radius:7px;font:500 11px/1.3 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.bws-footer-clock [data-bws-clock]{display:inline-block;min-width:70px}.bws-footer-clock [data-bws-date]{display:inline-block;min-width:40px}.bws-visits b{font-variant-numeric:tabular-nums}
html.bw-embedded .bws-homebar-footer,html.bw-tool-embedded .bws-homebar-footer,body.bw-iframe-app>.bws-homebar-footer{display:none!important}
/* Keep the footer compact on phones; links wrap rather than overflow. */
@media(max-width:720px){body>.bws-homebar-footer.site-footer{justify-content:center;gap:2px 8px;padding:4px 7px max(4px,env(safe-area-inset-bottom,0px))!important}.bws-homebar-footer .bws-footer-links,.bws-homebar-footer .bws-footer-status{justify-content:center;gap:1px 4px}.bws-homebar-footer .bws-footer-links a,.bws-homebar-footer .bws-footer-status button{font-size:10px!important;min-height:25px;padding:3px 5px!important}.bws-homebar-footer .bws-footer-clock{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.bws-homebar-footer *{animation:none!important;transition:none!important}}

/* v13.0: The former OS-style running-app/taskbar UI is retired. */
#tools-taskbar,#bw-running,.taskbar-left,.taskbar-right{display:none!important}
#bw-workspace[hidden],#start-menu[hidden]{display:none!important}
#bw-workspace{bottom:0!important}
/* v30 release should not expose old decorative/version bars */
.bw-version-in-menu{font-variant-numeric:tabular-nums}
