/* Nova Ledger auth navigation: one stable row; keep original authentication logic. */
.auth-gate .auth-card{position:relative}
.auth-gate .nova-auth-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:100%;margin:0 0 24px;padding:0;min-width:0}
.auth-gate .nova-auth-toolbar-right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;min-width:0}
.auth-gate .nova-auth-back,.auth-gate .nova-auth-portfolio-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-decoration:none;min-height:38px;padding:8px 10px;border-radius:12px;color:#24436c;font:650 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:0;box-sizing:border-box}
.auth-gate .nova-auth-back:hover,.auth-gate .nova-auth-portfolio-link:hover{background:rgba(76,136,210,.12)}
.auth-gate .nova-site-auth-menu{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;display:inline-flex;align-items:center;z-index:70;margin:0!important;transform:none!important}
.auth-gate .nova-site-auth-menu>summary,.auth-gate .nova-auth-toolbar-right .ux-tool-btn{display:inline-flex;align-items:center;justify-content:center;height:39px!important;min-height:39px!important;margin:0!important;padding:0 12px!important;background:rgba(255,255,255,.65);border:1px solid rgba(123,164,203,.44);border-radius:13px!important;box-sizing:border-box;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);font:650 11px/1.2 Inter,system-ui,sans-serif;white-space:nowrap}
.auth-gate .nova-site-auth-menu>summary::after{margin-left:6px}
.auth-gate .nova-auth-toolbar-right .ux-auth-tools{position:static!important;inset:auto!important;transform:none!important;display:flex;align-items:center;justify-content:center;margin:0!important;min-width:0;width:auto;gap:0}
.auth-gate .nova-auth-toolbar-right .ux-auth-tools button{width:auto!important;min-width:75px!important;padding:0 11px!important}
.auth-gate .auth-brand-new{margin-top:0!important}
html[data-theme="dark"] .auth-gate .nova-auth-back,html[data-theme="dark"] .auth-gate .nova-auth-portfolio-link{color:#d9eaff}
html[data-theme="dark"] .auth-gate .nova-site-auth-menu>summary,html[data-theme="dark"] .auth-gate .nova-auth-toolbar-right .ux-tool-btn{background:rgba(47,69,90,.75);border-color:rgba(115,158,197,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.09)}
@media(max-width:630px){.auth-gate .nova-auth-toolbar{gap:4px;margin-bottom:17px}.auth-gate .nova-auth-back{padding:6px;font-size:10px}.auth-gate .nova-auth-toolbar-right{gap:4px}.auth-gate .nova-auth-portfolio-link{display:none}.auth-gate .nova-site-auth-menu>summary,.auth-gate .nova-auth-toolbar-right .ux-tool-btn{min-height:36px!important;height:36px!important;padding:0 8px!important}.auth-gate .nova-auth-toolbar-right .ux-auth-tools button{min-width:68px!important;padding:0 8px!important;font-size:11px!important}}
@media(max-width:360px){.auth-gate .nova-auth-back{font-size:9px}.auth-gate .nova-auth-toolbar{gap:2px}.auth-gate .nova-auth-toolbar-right{gap:3px}.auth-gate .nova-site-auth-menu>summary{font-size:10px!important}}
