/* A private entry point: product context and one native sign-in action. */
html:has(.auth-body) { background:#111215; color-scheme:dark; }
body.auth-body { --ink:#efefec; --ink-soft:#c4c6cb; --ink-muted:#a1a5ac; --surface:#1c1e22; --line:#34363c; --line-strong:#4b4e57; --brand:#dfe590; --brand-dark:#eaf0a4; --brand-soft:#303328; background:#111215; background-image:none; color:#efefec; color-scheme:dark; }
.auth-body .auth-shell { display:flex; flex-direction:column; align-items:stretch; justify-content:center; width:min(368px,calc(100% - 48px)); min-height:100vh; min-height:100dvh; padding:48px 0; gap:38px; margin:0 auto; }
.auth-identity .tars-brand { gap:14px; }.auth-identity .tars-brand-symbol { width:40px; height:40px; }.auth-identity .tars-brand-word { width:117.5px; height:31.25px; }
.auth-body .auth-panel { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.auth-body .auth-panel-header { margin-bottom:28px; }.auth-body .auth-panel-header h1 { margin:0; color:#efefec; font-size:28px; font-weight:520; line-height:1.25; letter-spacing:-.045em; }
.auth-body .auth-form { display:grid; gap:21px; }
.auth-body .field { display:grid; gap:9px; }.auth-body .field label { color:#c4c6cb; font-size:12px; font-weight:550; }
.auth-body .field input { min-height:48px; padding:12px 14px; border:1px solid #3c3f47; border-radius:9px; background:#1c1e22; color:#efefec; font-size:15px; line-height:1.5; }
.auth-body .field input:hover { border-color:#5b5f69; }.auth-body .field input:focus { border-color:#9da272; outline:2px solid #dfe59033; outline-offset:2px; box-shadow:none; }
.auth-body .field input[aria-invalid="true"] { border-color:#b66d66; }
.auth-body .field input:-webkit-autofill { -webkit-text-fill-color:#efefec; -webkit-box-shadow:0 0 0 1000px #24262c inset; caret-color:#efefec; }
.auth-body .auth-field-help { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.auth-body .remember-control { min-height:40px; display:flex; align-items:center; gap:10px; color:#a1a5ac; font-size:13px; line-height:1.6; cursor:pointer; }
.auth-body .remember-control input { width:17px; height:17px; flex-shrink:0; margin:0; accent-color:#dfe590; }
.auth-body .auth-form .primary-button { min-height:48px; border:1px solid #dfe590; border-radius:9px; background:#dfe590; color:#20221a; font-size:13px; font-weight:650; }
.auth-body .auth-form .primary-button:hover { background:#eaf0a4; border-color:#eaf0a4; }
.auth-body .form-error { display:grid; gap:5px; margin:0 0 25px; padding:13px 15px; border:1px solid #674441; border-radius:9px; background:#302324; }
.auth-body .form-error strong { color:#f3bbb5; font-size:12px; font-weight:600; }.auth-body .form-error span { color:#e2aaa4; font-size:12px; line-height:1.65; }
.auth-body :focus-visible { outline:2px solid #dfe590; outline-offset:4px; }
@media(max-width:600px) { .auth-body .auth-shell { width:calc(100% - 40px); max-width:368px; padding:calc(36px + env(safe-area-inset-top)) 0 calc(36px + env(safe-area-inset-bottom)); gap:34px; }.auth-body .field input { font-size:16px; }.auth-body .auth-panel-header h1 { font-size:27px; }.auth-body .remember-control { min-height:44px; } }
@media(max-height:600px) { .auth-body .auth-shell { justify-content:flex-start; gap:28px; padding-block:28px; } }

/* Product introduction stays beside the form; on small screens sign-in comes first. */
.auth-body .auth-shell { width:min(1080px,calc(100% - 96px)); display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.8fr); grid-template-rows:auto auto auto; align-content:center; align-items:start; column-gap:100px; row-gap:0; padding-block:64px; }
.auth-identity { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:74px; }
.auth-identity>span { color:var(--ink-muted); font-size:12px; letter-spacing:.02em; }
.auth-intro { grid-column:1; grid-row:2; }
.auth-eyebrow { color:var(--ink-muted); font-size:11px; font-weight:600; letter-spacing:.12em; margin:0 0 20px; }
.auth-intro h2 { color:var(--ink); font-size:clamp(36px,3.6vw,52px); line-height:1.1; font-weight:520; letter-spacing:-.055em; margin:0 0 38px; }
.auth-intro h2>span { color:var(--brand); }
.auth-body .auth-panel { grid-column:2; grid-row:2 / 4; align-self:center; width:100%; padding:8px 0 8px 40px; border-left:1px solid var(--line); }
.auth-body .auth-panel-header { margin-bottom:26px; }
.auth-panel-header>p { margin:12px 0 0; font-size:13px; line-height:1.6; color:var(--ink-muted); }
.auth-products { grid-column:1; grid-row:3; display:grid; }
.auth-product { display:grid; grid-template-columns:100px minmax(0,1fr); gap:24px; padding:20px 0; border-top:1px solid var(--line); }
.auth-product h3 { color:var(--ink); font-size:14px; font-weight:650; margin:0; line-height:1.7; }
.auth-product p { color:var(--ink-soft); font-size:13px; line-height:1.75; margin:0; }
.auth-product small { display:block; color:var(--ink-muted); font-size:12px; line-height:1.7; margin-top:9px; }
@media(max-width:1000px) { .auth-body .auth-shell { width:calc(100% - 64px); column-gap:48px; }.auth-body .auth-panel { padding-left:28px; }.auth-identity { margin-bottom:56px; }.auth-product { grid-template-columns:1fr; gap:8px; } }
@media(max-width:760px) { .auth-body .auth-shell { display:flex; width:min(440px,calc(100% - 40px)); gap:0; padding:calc(32px + env(safe-area-inset-top)) 0 calc(36px + env(safe-area-inset-bottom)); }.auth-identity { margin-bottom:32px; }.auth-identity .tars-brand-symbol { width:32px; height:32px; }.auth-identity .tars-brand-word { width:94px; height:25px; }.auth-identity>span { font-size:11px; }.auth-eyebrow { display:none; }.auth-intro h2 { font-size:31px; margin-bottom:30px; }.auth-body .auth-panel { border-left:0; padding:0; }.auth-body .auth-panel-header h1 { font-size:24px; }.auth-body .auth-panel-header { margin-bottom:22px; }.auth-body .auth-form { gap:18px; }.auth-body .field input { font-size:16px; }.auth-products { margin-top:36px; }.auth-product { grid-template-columns:80px minmax(0,1fr); gap:16px; }.auth-body .remember-control { min-height:44px; } }
@media(max-width:360px) { .auth-identity { gap:12px; }.auth-identity>span { max-width:80px; text-align:right; line-height:1.5; }.auth-intro h2 { font-size:28px; }.auth-product { grid-template-columns:1fr; gap:8px; } }

.auth-support { margin:1.25rem 0 0; padding-top:1rem; border-top:1px solid var(--line); color:var(--ink-soft); font-size:.8125rem; line-height:1.6; overflow-wrap:anywhere; }
.auth-support a { display:flex; align-items:center; min-height:44px; width:fit-content; max-width:100%; color:var(--brand); text-underline-offset:.2em; }
