/* Approved outlined artwork, no font substitution or distorted square fitting. */
.topbar{background:#000;height:auto;min-height:72px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:20px}
.brand{display:flex;align-items:center;flex-shrink:0}
.product-wordmark{display:block;width:170px;height:auto;background:#000}
.auth-wordmark{display:block;width:min(320px,100%);height:auto;background:#000;margin:0 auto 20px}
.auth-shell{align-content:center;gap:0}
.topbar nav{flex-wrap:wrap;min-width:0}
.auth-shell{min-height:0;padding-top:60px;padding-bottom:40px}
.legal-footer{max-width:1320px;margin:0 auto;padding:20px 38px 30px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.6}
.legal-footer nav{display:flex;flex-wrap:wrap;gap:12px 24px}
.legal-footer a{color:var(--ink);text-underline-offset:3px}
.legal-footer a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.legal-footer p{max-width:85ch;margin:12px 0 0}
@media(max-width:600px){.legal-footer{padding:20px 18px}.auth-shell{padding-top:28px}}
@media(max-width:600px){.product-wordmark{width:140px}.topbar nav{flex-basis:100%;gap:14px}.reseller-identity{overflow-wrap:anywhere;min-width:0}}

/* r3 visual-only correction: header content follows the same shell grid. */
.topbar{display:block;padding:0;background:#000}
.topbar-inner{max-width:1320px;margin:0 auto;padding:12px 38px;min-height:72px;display:flex;align-items:center;flex-wrap:wrap;gap:20px}
.topbar-inner nav{flex:1}
.reseller-topbar .reseller-identity{flex:1}
.auth-brand{width:min(440px,100%);justify-self:center;padding:0 42px}
.auth-brand .auth-wordmark{width:min(320px,100%);height:auto;margin:0 0 20px;background:transparent}
.legal-footer{text-align:center}
.legal-footer nav{justify-content:center}
.legal-footer p{margin:12px auto 0}
@media(max-width:800px){.topbar-inner{padding-left:18px;padding-right:18px}.auth-brand{padding-left:28px;padding-right:28px}}
@media(max-width:600px){.topbar-inner nav{flex-basis:100%}}

/* Match the wordmark glyph edge to the panel edge, without image bleed. */
.auth-brand{padding-left:0;padding-right:0}

/* Reseller dashboard is 1180px wide; include shell gutters in the shared cap. */
.reseller-layout .shell,.reseller-layout .topbar-inner{max-width:1256px}
@media(max-width:800px){.reseller-layout .topbar-inner{padding-inline:16px}}
@media(max-width:480px){.reseller-layout .topbar-inner{padding-inline:12px}}
