/* Open page composition: independent corner controls and a compact hub switcher. */
body[data-device=desktop] #app.app{height:auto;min-height:100dvh;padding:24px 28px 24px;place-items:stretch center}
#app .home-stack{width:min(100%,var(--grid-width,1100px));min-height:calc(100dvh - 48px);gap:0}
#mainNavigation.main-navigation{width:100%;height:38px;flex:0 0 38px;display:flex;justify-content:space-between;grid-template-columns:none;padding:0;background:none;border:0;border-radius:0;box-shadow:none;isolation:auto}
#mainNavigation .nav-brand{margin:0}
#mainNavigation .nav-logo{margin:0;width:38px;height:38px}
#mainNavigation .system-navigation{padding:0;gap:8px}
#hubs{height:38px;width:max-content;max-width:min(100%,720px);min-width:0;flex:0 1 auto;align-self:center;justify-content:flex-start;margin:0 auto;padding:2px 4px;border-radius:24px;background:#132d4bc9;box-shadow:inset 0 1px 0 #c5e0ff16;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;isolation:isolate}
#hubs::-webkit-scrollbar{display:none}
#hubs .hub-pill{display:block;top:2px;height:34px;border-radius:20px;background:#426a9b78;z-index:-1}
#hubs .hub-dot{display:none}
#hubs button{flex:0 0 auto;font-size:13.5px;padding:6px 14px;line-height:22px;white-space:nowrap}
#hubs .hub-name[aria-pressed=true]{transform:none;text-shadow:none}
#hubs .hub-add{margin-left:2px}
.destination-stage{margin-top:auto}
.hub-surface{gap:var(--stack-gap,14px)}
.hub-surface #hubs{margin-bottom:8px}
#app .footer-region{margin-top:auto!important;padding-top:28px;width:100%}
#sharedFooter.shared-footer{width:100%;height:auto;min-height:40px;margin:0;padding:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;background:none;border:0;border-radius:0;box-shadow:none}
#sharedFooter .footer-information{justify-self:start}
#sharedFooter .footer-wordmark{justify-self:center;height:auto}
#sharedFooter .footer-navigation{justify-self:end;padding-right:8px}
#sharedFooter .bottom-logo{width:126px}
#sharedFooter .footer-legal-links{padding-left:0}
#sharedFooter .footer-navigation .footer-copyright{white-space:nowrap}
#aboutHubspree{width:min(390px,calc(100vw - 32px));padding:26px;border-radius:18px;background:#102842;color:#f4f7ff;border:1px solid #b4c9e538;box-shadow:0 24px 70px #0008;text-align:center}
#aboutHubspree::backdrop{background:#040c1ba8;backdrop-filter:blur(3px)}
#aboutHubspree h2{font-size:20px;margin:0 0 18px}
#aboutHubspree .about-wordmark{width:145px;height:auto;display:block;margin:0 auto 16px}
#aboutHubspree p{line-height:1.5;color:#c7d5e7;margin:0 0 12px}
#aboutHubspree .about-credit,#aboutHubspree .about-version{font-size:12px;color:#aebfd5}
#aboutHubspree .release-links{display:block}
#aboutHubspree .about-feedback{color:#c9dfff;font-size:13px;text-underline-offset:3px}
#aboutHubspree .panel-close{position:absolute;right:12px;top:10px}
@media(max-width:760px){body[data-device=desktop] #app.app{padding-inline:16px}#app .home-stack{min-height:calc(100dvh - 48px)}#hubs{max-width:100%}#sharedFooter .footer-legal-links{gap:6px}}
@media(max-height:700px){#app .footer-region{padding-top:22px}}
@media(prefers-reduced-motion:reduce){#hubs .hub-pill{transition:none}}
#sharedFooter #brandBtn .home-tagline{display:none}
#sharedFooter #brandBtn .wordmark-row{padding-top:0}
body[data-device=desktop]{overflow-x:hidden;overflow-y:auto}
body[data-device=desktop] #app.app{position:relative}
#mainNavigation.main-navigation{position:absolute;top:24px;left:28px;width:calc(100% - 56px);z-index:5}
#app .footer-region{width:calc(100vw - 56px)!important;align-self:center}
@media(max-width:760px){#mainNavigation.main-navigation{left:16px;width:calc(100% - 32px)}#app .footer-region{width:calc(100vw - 32px)!important}}
#app .home-stack{padding-top:80px}
#app .home-stack{padding-top:64px}
#app .footer-region{padding-top:12px}
/* Signature popup is anchored to the existing footer button. */
#sharedFooter .footer-wordmark{position:relative}
#sharedFooter #brandBtn{position:relative;z-index:1}
#sharedFooter #brandBtn .wordmark-row{position:relative;padding-top:12px}
#sharedFooter #brandBtn .home-tagline{display:block;margin-top:5px;font-size:10px;line-height:1.2;color:#91a7c2;text-transform:none}
#sharedFooter #brandBtn .brand-chevron{position:absolute;width:14px;height:14px;top:-3px;left:calc(50% - 7px);fill:none;stroke:#b5c7dd;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease;animation:brandNudge .5s ease-out .5s 1}
#sharedFooter #brandBtn[aria-expanded=true] .brand-chevron{transform:rotate(180deg)}
#sharedFooter #brandBtn:hover .brand-chevron{animation:brandNudge .35s ease-out 1}
@keyframes brandNudge{50%{translate:0 -3px}}
#sharedFooter #brandBtn:focus-visible{outline:2px solid #b5d4ff;outline-offset:4px}
#aboutHubspree.anchored-about{position:absolute;z-index:20;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);width:280px;max-width:calc(100vw - 32px);padding:19px 20px;background:#102842;color:#f4f7ff;border:1px solid #b4c9e538;border-radius:16px;box-shadow:0 16px 40px #0006;text-align:center}
#aboutHubspree.anchored-about[hidden]{display:none}
#aboutHubspree.anchored-about:after{content:'';position:absolute;left:calc(50% - 7px);bottom:-7px;width:12px;height:12px;background:#102842;border-right:1px solid #b4c9e538;border-bottom:1px solid #b4c9e538;transform:rotate(45deg)}
#aboutHubspree p{margin:0 0 9px;line-height:1.4}
#aboutHubspree .about-tagline{font-size:15px;font-weight:700;color:#f4f7ff;margin-bottom:15px}
#aboutHubspree .about-credit,#aboutHubspree .about-version{font-size:12px;color:#b4c5d9}
#aboutHubspree .release-links{display:block}
#aboutHubspree .about-feedback{font-size:12px;color:#c9dfff;text-underline-offset:3px}
#sharedFooter .footer-legal-links a{color:#8293ac}
#sharedFooter .footer-legal-links a:hover{color:#bdcde0}
#sharedFooter .footer-legal-links a:focus-visible{outline:2px solid #bad8ff;outline-offset:3px}
#systemPages{width:100%}
#systemPages>dialog.system-page[open]{width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box}
@media(prefers-reduced-motion:reduce){#sharedFooter #brandBtn .brand-chevron{animation:none;transition:none}}

/* Tighten the signature stack and keep the legal row near the viewport edge. */
#app .footer-region{padding-bottom:18px}
#sharedFooter.shared-footer{align-items:end}
#sharedFooter #brandBtn .wordmark-row{padding-top:10px}
#sharedFooter #brandBtn .home-tagline{margin-top:2px}
#sharedFooter #brandBtn .brand-chevron{top:-2px;animation:brandLoadBounce 1.05s ease-out .35s 3}
@keyframes brandLoadBounce{0%,100%{translate:0 0}22%{translate:0 -4px}44%{translate:0 0}62%{translate:0 -3px}82%{translate:0 0}}
@media(prefers-reduced-motion:reduce){#sharedFooter #brandBtn .brand-chevron{animation:none}}
