body.auth-modal-open{overflow:hidden}
dialog.entry-auth{position:fixed;inset:0;margin:auto;width:min(560px,calc(100vw - 32px));max-width:560px;max-height:calc(100dvh - 40px);padding:24px;border:1px solid #3c5b75;border-radius:10px;background:#0c1d30;color:var(--text);box-shadow:0 30px 110px #0009;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3a566e #0c1d30;z-index:100}
dialog.entry-auth::backdrop{background:#020812c9;backdrop-filter:blur(6px)}
dialog.entry-auth[open]{animation:auth-pop .16s ease-out}
dialog.entry-auth .entry-auth-heading{position:sticky;top:-24px;z-index:1;background:#0c1d30;padding:5px 0 16px;margin-bottom:14px;border-bottom:1px solid #263f55;align-items:flex-start}
dialog.entry-auth h2{font-size:25px;line-height:1.35;margin:7px 0 0}dialog.entry-auth .eyebrow{font-size:9px}dialog.entry-auth .icon-button{flex-shrink:0;font-size:20px;width:32px;height:32px;margin-left:12px}
dialog.entry-auth .entry-form-grid{grid-template-columns:1fr 1fr;gap:0 16px}dialog.entry-auth .entry-form-grid>label{min-width:0}dialog.entry-auth label{font-size:11px}dialog.entry-auth input{font-size:13px;padding:11px 12px;margin:6px 0 16px}dialog.entry-auth .entry-form-bottom{align-items:center;gap:14px}dialog.entry-auth .entry-form-bottom>span{font-size:9px;line-height:1.7}dialog.entry-auth .entry-form-bottom .primary{min-width:175px;min-height:42px}dialog.entry-auth #entry-auth-message{font-size:10px;margin:13px 0 4px}dialog.entry-auth #entry-auth-toggle{font-size:10px;padding:9px 0;margin-top:8px}
@keyframes auth-pop{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){dialog.entry-auth{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px 18px;border-radius:9px}dialog.entry-auth .entry-auth-heading{top:-20px;padding-bottom:13px}dialog.entry-auth h2{font-size:22px}dialog.entry-auth .entry-form-grid{grid-template-columns:1fr}dialog.entry-auth input{font-size:16px;margin-bottom:13px;min-height:43px}dialog.entry-auth label{font-size:11px}dialog.entry-auth .entry-form-bottom{flex-direction:column;align-items:stretch;gap:10px}dialog.entry-auth .entry-form-bottom .primary{min-height:43px;justify-content:center}}
@media(prefers-reduced-motion:reduce){dialog.entry-auth[open]{animation:none}}
/* Constrain the subtitle to the wordmark's intrinsic width at every breakpoint. */
.brand strong{display:inline-grid;grid-template-columns:min-content;align-items:start;min-width:0;line-height:1}
.brand strong>.brand-wordmark{display:block;white-space:nowrap;color:var(--text);font-size:inherit;letter-spacing:inherit}
.brand-wordmark>span{color:var(--mint)}
.brand strong>small{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;max-width:100%;margin-top:9px;font-size:7px;line-height:1.2;letter-spacing:.55px;color:#7c8ca2;font-weight:400}
.brand small>span{display:block;white-space:nowrap;text-align:left}
@media(max-width:1000px){.sidebar .brand strong>small{font-size:6px;letter-spacing:.35px;max-width:100%}}
@media(max-width:700px){.sidebar .brand strong>small{font-size:7px;letter-spacing:.55px;max-width:100%}.landing-header .brand strong>small{display:none}}
.landing-header nav #open-terminal{display:flex;align-items:center;justify-content:center;gap:18px;min-height:42px;padding:10px 18px;font-size:11px;white-space:nowrap}
@media(max-width:700px){.landing-header nav #open-terminal{min-height:37px;padding:9px 12px;font-size:10px;gap:12px}}
.brand strong>small{font-size:8px;letter-spacing:0;gap:5px}
.brand small>.brand-tagline-line{display:flex;justify-content:space-between;width:100%;min-width:0;letter-spacing:0;line-height:1.25;white-space:nowrap}
.brand .brand-tagline-line>span{display:block;flex:0 0 auto;white-space:pre}
@media(max-width:1000px){.sidebar .brand strong>small{font-size:7px;letter-spacing:0}}
@media(max-width:700px){.sidebar .brand strong>small,.landing-header .brand strong>small{display:flex;font-size:7px;letter-spacing:0;gap:4px;max-width:100%;margin-top:8px}}

/* Use the same transparent artwork in both brand placements. */
.brand{position:relative;max-width:100%}
.brand>.brand-logo{display:block;width:168px;height:auto;max-width:100%;flex:none}
.brand>.brand-icon,.brand>strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1000px) and (min-width:701px){.sidebar .brand>.brand-logo{width:141px}}
@media(max-width:700px){.landing-header .brand>.brand-logo{width:145px}}

dialog.entry-auth select{width:100%;min-width:0;font-size:11px;padding:11px 9px;margin:6px 0 16px;height:44px}
@media(max-width:600px){dialog.entry-auth select{font-size:16px;min-height:43px;height:auto;margin-bottom:13px}}

.brand strong>small{margin-top:3px;gap:3px}
