/* Authentication presentation; identity variables come from admin.css. */
.upyx-auth{font-size:14px}
.upyx-auth .auth-shell{display:grid;grid-template-columns:minmax(320px,44%) minmax(0,1fr);min-height:100svh}
.upyx-auth .auth-brand-panel{background:var(--nav);color:var(--surface);position:relative;overflow:hidden;display:flex;flex-direction:column;padding:48px clamp(28px,5vw,80px);isolation:isolate}
.upyx-auth .auth-brand{display:flex;align-items:center;gap:12px;color:var(--surface);font-size:31px;letter-spacing:-1px;font-weight:700;width:fit-content}
.upyx-auth .auth-brand .brand-mark{width:34px;height:34px;font-size:26px}
.upyx-auth .auth-brand-product{font-size:10px;letter-spacing:2px;font-weight:500;color:var(--nav-muted);margin-left:5px;padding:6px 0 6px 16px;border-left:1px solid var(--nav-muted)}
.upyx-auth .auth-brand-message{margin:auto 0;padding:76px 0;position:relative;z-index:1}
.upyx-auth .auth-eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;margin-bottom:22px;color:var(--muted)}
.upyx-auth .auth-brand-panel .auth-eyebrow{color:var(--nav-muted)}
.upyx-auth .auth-brand-message h2{font-size:clamp(34px,3.4vw,54px);letter-spacing:-2px;line-height:1.18;font-weight:600;margin-bottom:26px}
.upyx-auth .auth-brand-message h2 span{color:var(--nav-muted)}
.upyx-auth .auth-brand-message>p:last-of-type{color:var(--nav-muted);max-width:270px;line-height:1.8}
.upyx-auth .auth-brand-footer{font-size:11px;color:var(--nav-muted);position:relative;z-index:1}
.upyx-auth .auth-orbit{position:absolute;width:540px;height:540px;border:1px solid color-mix(in srgb,var(--nav-muted) 12%,transparent);border-radius:50%;bottom:-310px;left:-90px;z-index:-1;box-shadow:0 0 0 64px color-mix(in srgb,var(--nav-muted) 3%,transparent),0 0 0 128px color-mix(in srgb,var(--nav-muted) 2%,transparent)}
.upyx-auth .auth-app-identity{display:flex;align-items:center;gap:10px;margin-top:32px;width:fit-content;padding:10px 15px;border:1px solid color-mix(in srgb,var(--nav-muted) 30%,transparent);border-radius:8px;font-weight:600;font-size:13px}
.upyx-auth .auth-app-dot{width:7px;height:7px;border-radius:50%;background:var(--primary)}
.upyx-auth .auth-form-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:64px 32px 28px;background:var(--background);min-width:0}
.upyx-auth .auth-content{width:100%;max-width:400px;margin:auto 0;padding:28px 0}
.upyx-auth h1{font-size:30px;line-height:1.22;letter-spacing:-1px;margin-bottom:13px;font-weight:650}
.upyx-auth .auth-intro,.upyx-auth .auth-content>p{color:var(--muted);line-height:1.7;margin-bottom:25px}
.upyx-auth .auth-content>.auth-eyebrow{margin-bottom:15px;color:var(--primary)}
.upyx-auth form{display:flex;flex-direction:column;gap:15px;margin:27px 0 22px}
.upyx-auth form>div,.upyx-auth .auth-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.upyx-auth label{font-size:12px;font-weight:600;color:var(--ink)}
.upyx-auth input:not([type=hidden]):not([type=radio]),.upyx-auth select{width:100%;min-width:0;height:46px;border:1px solid var(--line);border-radius:8px;padding:0 13px;background:var(--surface);color:var(--ink);font:inherit;transition:border-color .15s}
.upyx-auth input:hover,.upyx-auth select:hover{border-color:var(--muted)}
.upyx-auth :focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 35%,transparent);outline-offset:3px}
.upyx-auth button[type=submit]{width:100%;min-height:46px;border:0;border-radius:8px;background:var(--primary);color:var(--surface);font:inherit;font-size:14px;font-weight:600;line-height:1.4;padding:12px 16px;cursor:pointer;margin-top:5px;box-shadow:0 5px 12px color-mix(in srgb,var(--primary) 15%,transparent)}
.upyx-auth button[type=submit]:hover{filter:brightness(.94)}
.upyx-auth button span{margin-left:12px}
.upyx-auth .forgot{font-size:12px;align-self:flex-end}
.upyx-auth a:hover{text-decoration:underline;text-underline-offset:4px}
.upyx-auth .auth-content>p:last-child{font-size:12px;margin-bottom:0}
.upyx-auth [role=alert]{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--primary);border-radius:6px;padding:12px 14px;font-size:13px;color:var(--ink)}
.upyx-auth fieldset{min-width:0;border:1px solid var(--line);border-radius:10px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.upyx-auth legend{padding:0 7px;font-size:12px;font-weight:650}
.upyx-auth fieldset .auth-field:has(input[type=email]),.upyx-auth fieldset .auth-field:has(input[type=password]),.upyx-auth fieldset .auth-field:has(select),.upyx-auth fieldset>label{grid-column:1/-1}
.upyx-auth fieldset>label{display:flex;align-items:center;gap:9px;font-weight:400}
.upyx-auth input[type=radio]{accent-color:var(--primary);width:16px;height:16px;flex:none}
.upyx-auth .auth-form-footer{font-size:10px;color:var(--muted);letter-spacing:.6px;text-align:center;margin-top:28px}
@media(max-width:1000px){.upyx-auth .auth-shell{grid-template-columns:38% minmax(0,1fr)}.upyx-auth .auth-brand-panel{padding:32px 26px}.upyx-auth .auth-brand-message h2{font-size:36px;letter-spacing:-1.3px}.upyx-auth .auth-form-panel{padding:40px 28px 24px}}
@media(max-width:650px){.upyx-auth .auth-shell{display:flex;flex-direction:column}.upyx-auth .auth-brand-panel{padding:23px 24px;min-height:auto}.upyx-auth .auth-brand{font-size:25px}.upyx-auth .auth-brand-message{padding:0;margin:0}.upyx-auth .auth-brand-message>h2,.upyx-auth .auth-brand-message>p,.upyx-auth .auth-brand-footer,.upyx-auth .auth-orbit{display:none}.upyx-auth .auth-app-identity{margin-top:18px;padding:7px 12px}.upyx-auth .auth-form-panel{flex:1;padding:30px 24px 22px}.upyx-auth .auth-content{padding:18px 0;max-width:400px}.upyx-auth h1{font-size:27px}.upyx-auth fieldset{padding:14px;gap:12px}}
@media(prefers-reduced-motion:reduce){.upyx-auth input,.upyx-auth select{transition:none}}

.upyx-auth .password-toggle{width:auto;min-height:32px;padding:4px 10px;margin-top:4px;font-size:13px}
