/* BoothbysWorkShop v20.2.5 shared homepage-style footer. Normal document flow, no overlay. */
:root{--bw-footer-bg:#0c1728;--bw-footer-edge:#3a728c;--bw-footer-text:#d9f5ff}
html{min-height:100%}body{min-height:100vh;min-height:100dvh;box-sizing:border-box}
body:not(.bw-iframe-app){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,body>.bws-homebar-footer.site-footer{display:flex!important;position:relative!important;inset:auto!important;flex:0 0 auto;clear:both;width:100%!important;max-width:none!important;min-height:50px!important;margin-top:auto!important;padding:7px clamp(10px,1.6vw,22px) max(7px,env(safe-area-inset-bottom,0px))!important;align-items:center;justify-content:space-between;gap:8px 18px;box-sizing:border-box!important;border:0!important;border-top:1px solid var(--bw-footer-edge)!important;border-radius:0!important;background:linear-gradient(135deg,#142c42,#0b1527 55%,#171727)!important;color:var(--bw-footer-text)!important;box-shadow:0 -3px 18px #0006;font:inherit;z-index:2}
.bws-homebar-footer .bws-footer-links,.bws-homebar-footer .bws-footer-status{display:flex;gap:clamp(7px,1vw,15px);align-items:center;flex-wrap:wrap;min-width:0}
.bws-homebar-footer .bws-footer-links a,.bws-homebar-footer .bws-footer-status button{color:#d9f5ff;text-decoration:none;font-size:12px;font-weight:650;border:1px solid #345c79;background:linear-gradient(125deg,#152f46,#0d1c2e);border-radius:9px;padding:7px 10px;line-height:1.25;cursor:pointer}
.bws-homebar-footer .bws-footer-links a:hover,.bws-homebar-footer .bws-footer-links a:focus-visible,.bws-homebar-footer .bws-footer-status button:hover,.bws-homebar-footer .bws-footer-status button:focus-visible{color:white;border-color:#67dff3;outline-offset:2px}
.bws-homebar-footer .bws-footer-status .bws-footer-clock{padding:3px 10px;border:1px solid #365d72;border-radius:9px;background:#0f2438;display:flex;gap:8px;align-items:center;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px;color:#bcdbe9}
.bws-homebar-footer .bws-footer-status .bws-visits{color:#8deafa}
/* Homepage keeps its functional Apps/taskbar; there is no separate second footer. */
body:has(>#tools-wrapper)>#tools-taskbar{margin-top:auto}
/* Embedded tools must not display site chrome or footers. */
html.bw-embedded .bws-homebar-footer,html.bw-tool-embedded .bws-homebar-footer,html.bw-embedded body>.bws-homebar-footer,html.bw-tool-embedded body>.bws-homebar-footer{display:none!important}
@media(max-width:620px){body>.bws-homebar-footer{gap:6px 10px;flex-wrap:wrap;padding:6px 8px max(6px,env(safe-area-inset-bottom,0px))!important}.bws-homebar-footer .bws-footer-links a,.bws-homebar-footer .bws-footer-status button{font-size:11px;padding:6px 7px}.bws-homebar-footer .bws-footer-clock{font-size:10px!important;padding:3px 6px!important}}
