/* Shared across the trading workspace, authentication, waitlist and legal pages. */
body>.atlas-legal-footer{display:block;width:100%;max-width:none;box-sizing:border-box;margin:0;margin-top:auto;padding:16px clamp(16px,4vw,40px) max(16px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--atlas-tool-edge,var(--line,#354e63));background:var(--page,var(--bg,#101820));color:var(--atlas-tool-copy,var(--muted,#b3c7d7));font-family:inherit;font-size:14px;line-height:1.5;flex-shrink:0;clear:both}
.atlas-legal-footer nav{display:flex;flex-direction:row;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px clamp(12px,3vw,24px);width:100%;padding:0;border:0;grid-row:auto}
.atlas-legal-footer a{display:inline-flex;white-space:nowrap;font-size:clamp(12px,2.7vw,14px);align-items:center;min-height:44px;color:inherit!important;text-decoration:underline;text-underline-offset:4px;touch-action:manipulation}
.atlas-legal-footer a:hover{color:var(--atlas-tool-heading,#fff)!important}
.atlas-legal-footer a:focus-visible{outline:2px solid var(--atlas-tool-accent,#a7cbe8);outline-offset:4px;border-radius:2px}
body:has(>.login-shell){display:flex;flex-direction:column;min-height:100dvh}
body:has(>.login-shell) .login-shell{flex:1;margin:0 auto}
.terms-notice{font-size:13px;line-height:1.6;color:var(--muted,#b3c7d7);margin:16px 0 0}
.terms-notice a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){body.atlas-workbench>.atlas-legal-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom) + 56px)}}
@media print{.atlas-legal-footer{background:#fff!important;color:#111!important}}

.atlas-legal-footer .atlas-beta-notice{margin:0 0 4px;text-align:center;font-size:14px;line-height:1.5;color:inherit}
