/* Public entry pages only: never apply authenticated sidebar geometry here. */
body:is(.login-page,.register-page,.subscription-tiers-page){box-sizing:border-box;margin:0;min-width:0;padding:24px;min-height:100dvh}
body:is(.register-page,.subscription-tiers-page) main.shell{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:0;padding:0;margin:0 auto!important}
body:is(.register-page,.subscription-tiers-page) .panel{min-width:0;overflow-wrap:anywhere}
body:is(.register-page,.subscription-tiers-page) .panel-head{flex-wrap:wrap}
body.register-page .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.register-page .field{min-width:0}
body.register-page :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;font-size:16px}
body.register-page .actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}
body:is(.register-page,.subscription-tiers-page) .actions{padding:16px;flex-wrap:wrap}
body:is(.register-page,.subscription-tiers-page) .button{white-space:normal;min-height:44px;text-align:center}
body.login-page .login-shell{min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.login-page :is(.login-card,.login-brand){min-width:0;box-sizing:border-box}
body.login-page .login-wordmark-main,body.login-page .login-pill{color:var(--text,var(--ink))}
body.login-page .login-brand-copy{color:var(--text,var(--ink))}
body.login-page .login-wordmark{max-width:100%;padding:4px 0}
body.login-page .login-wordmark-sub{letter-spacing:.16em;overflow-wrap:anywhere}
body.login-page :is(input,button){font-size:16px;min-height:44px;box-sizing:border-box;max-width:100%}
body.subscription-tiers-page .table-wrap{overflow:auto}
body.subscription-tiers-page table{width:100%;min-width:0;table-layout:fixed}
body.subscription-tiers-page :is(td,th){overflow-wrap:anywhere;white-space:normal}
@media(max-width:1050px){
 body.login-page{display:block}
 body.login-page .login-shell{grid-template-columns:minmax(0,1fr);max-width:720px;margin:auto}
 body.login-page .login-card{grid-row:1;padding:24px}
 body.login-page .login-brand{padding:20px;gap:10px}
}
@media(max-width:640px){
 body:is(.login-page,.register-page,.subscription-tiers-page){padding:16px}
 body.register-page .form-grid{grid-template-columns:minmax(0,1fr)}
 body:is(.register-page,.subscription-tiers-page) .panel-body{padding:16px}
 body:is(.register-page,.subscription-tiers-page) h1{font-size:26px}
 body.subscription-tiers-page table,body.subscription-tiers-page tbody{display:block}
 body.subscription-tiers-page thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body.subscription-tiers-page tbody tr{display:block;margin:12px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}
 body.subscription-tiers-page tbody td{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);gap:12px;width:auto;padding:12px;box-sizing:border-box}
 body.subscription-tiers-page tbody td::before{content:attr(data-label);font-weight:600;color:var(--muted)}
 body.subscription-tiers-page tbody td:first-child{font-size:18px;background:var(--brand-soft);color:var(--text,var(--ink))}
 body.subscription-tiers-page .actions{position:static;margin:0}
}

body.login-page .login-security-note strong{color:var(--text,var(--ink))}
body.subscription-tiers-page tbody td{height:auto;max-height:none;line-height:1.5}
@media(max-width:640px){body.subscription-tiers-page tbody tr{height:auto;max-height:none}body.subscription-tiers-page tbody td{min-height:44px}}

