.auth-page{min-height:100vh;background:#09090b;color:#f4f4f5}
.auth-header{width:min(1180px,calc(100% - 64px));margin:0 auto;padding:28px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #242428}
.auth-header .brand{font-size:24px}
.auth-header>a:last-child{font-size:12px;color:#a4a4ae}
.auth-header>a:last-child:hover{color:#fff}
.auth-layout{width:min(472px,calc(100% - 40px));margin:44px auto 64px;padding:32px 36px 28px;background:#111114;border:1px solid #2b2b31;border-radius:20px;box-shadow:0 20px 70px #0003}
.auth-layout .eyebrow{display:block;text-align:center;font-size:10px;letter-spacing:.13em;color:#9999a6;margin:0 0 15px}
.auth-layout h1{text-align:center;font-size:34px;line-height:1.15;letter-spacing:-.045em;margin:0 0 12px}
.auth-description{text-align:center;font-size:13px;line-height:1.7;color:#aaaab5;margin:0 auto 26px;max-width:330px}
.auth-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#09090c;border:1px solid #24242a;border-radius:10px;margin:0 0 28px;gap:4px}
.auth-switch a{text-align:center;font-size:12px;font-weight:600;padding:8px 12px;color:#9494a1;border:1px solid transparent;border-radius:7px;line-height:1.5}
.auth-switch a:hover{color:#eee;background:#17171b}
.auth-switch a[aria-current=page]{color:#fff;background:#24242b;border-color:#36363f;box-shadow:0 2px 4px #0002}
.auth-layout form{margin:0;padding:0;border:0;background:none}
.auth-layout label{display:block;margin:0 0 18px;color:#dedee5;font-size:12px;font-weight:400}
.auth-layout input{display:block;width:100%;min-height:48px;background:#0c0c10;border:1px solid #3b3b45;color:#f5f5f7;border-radius:9px;padding:12px 14px;font:inherit;font-size:14px;line-height:1.4;margin-top:8px;transition:border-color .15s,box-shadow .15s}
.auth-layout input:hover{border-color:#555560}
.auth-layout input:focus{outline:2px solid #c3c3d1;outline-offset:2px;border-color:#888897}
.auth-layout input::placeholder{color:#72727e;opacity:1}
.auth-layout input:-webkit-autofill{-webkit-text-fill-color:#f5f5f7;box-shadow:0 0 0 1000px #15151c inset;caret-color:#fff}
.auth-field{margin:0 0 18px}
.auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-layout .auth-field label{margin:0}
.auth-label-row a{font-size:11px;color:#b9b9c5}
.auth-label-row a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.password-input{position:relative}
.password-input.has-toggle input{padding-right:68px}
.password-toggle{display:none;position:absolute;right:7px;top:6px;min-width:48px;min-height:36px;padding:5px 7px;background:none;border:0;border-radius:5px;color:#b7b7c4;font-size:11px}
.password-input.has-toggle .password-toggle{display:block}
.password-toggle:hover{background:#24242d;color:#fff}
.password-toggle:focus-visible{outline:2px solid #c3c3d1;outline-offset:0}
.auth-layout .button{width:100%;min-height:48px;margin-top:4px;background:#ededf0;color:#17171b;font-size:13px;letter-spacing:0;font-weight:600;border:1px solid #ffffff24;border-radius:9px;box-shadow:none;gap:12px;transition:background .15s,border-color .15s}
.auth-layout .button:hover{color:#17171b;background:#fff;transform:none;border-color:#fff}
.auth-layout .button:active{background:#dedee5}
.auth-layout .button:focus-visible{outline:2px solid #e3e3ef;outline-offset:4px}
.auth-layout a.google-sign-in{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:9px;text-decoration:none;font-family:Arial,sans-serif;font-weight:500;font-size:14px;line-height:20px;margin:0;transition:background .15s,box-shadow .15s}
.auth-layout a.google-sign-in:visited{color:#1f1f1f}
.auth-layout a.google-sign-in:hover{color:#1f1f1f;background:#f2f2f2;border-color:#747775;box-shadow:0 0 0 3px #ffffff09}
.auth-layout a.google-sign-in:active{color:#1f1f1f;background:#e8e8ed}
.auth-layout a.google-sign-in:focus-visible{color:#1f1f1f;outline:2px solid #e3e3ef;outline-offset:4px}
.google-sign-in img{display:block;flex:none;width:20px;height:20px;object-fit:contain}
.auth-divider{display:flex;align-items:center;gap:14px;color:#8e8e9b;font-size:11px;line-height:1.5;margin:23px 0}
.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#2b2b33;flex:1}
.auth-layout .auth-link-row{display:flex;justify-content:center;align-items:center;gap:7px;margin:22px 0 0;font-size:12px;line-height:1.8;flex-wrap:wrap;color:#9494a1}
.auth-layout .auth-link-row a{color:#e2e2eb}
.auth-layout .auth-link-row a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.auth-help{font-size:11px;font-weight:400;color:#9d9dab;margin:-7px 0 19px;line-height:1.7}
.auth-help a{color:#d0d0db;text-decoration:underline;text-underline-offset:3px}
.auth-layout .auth-privacy{font-size:10px;color:#9393a0;line-height:1.8;margin:0 0 17px}
.auth-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;font-size:10px;color:#8d8d9b;margin-top:23px;line-height:1.6}
.auth-footer a{color:#aaaab8}
.auth-footer a:hover{color:#eee}
.auth-footer.auth-admin-link{padding-top:18px;border-top:1px solid #29292f;margin-top:25px}
.auth-layout .success,.auth-layout .error{font-size:12px;line-height:1.7;padding:13px 15px;margin:0 0 23px;border-radius:9px}
.auth-layout a:focus-visible{outline:2px solid #c3c3d1;outline-offset:4px}
.auth-layout .notice{font-size:12px;padding:17px}
.account-top{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:30px}
.account-top form{margin-left:auto}
.account-status{font-size:11px;color:#b5cbb8}
.account-notice{border:1px solid #634951;background:#22151a;padding:20px;border-radius:8px;font-size:13px;margin:25px 0}
.account-notice form{margin-top:15px}
.account-card{padding:25px;border:1px solid #30303b;border-radius:10px;margin:18px 0}
.account-card h2{font-size:23px;margin-bottom:15px}
.account-inline-form{margin:20px 0}
@media(max-width:520px){
 .auth-header{width:calc(100% - 40px);padding:21px 0}
 .auth-header .brand{font-size:22px}
 .auth-header>a:last-child{font-size:10px}
 .auth-layout{width:calc(100% - 32px);margin:26px auto 36px;padding:26px 23px 23px;border-radius:16px}
 .auth-layout h1{font-size:30px}
 .auth-description{font-size:12px;margin-bottom:23px}
 .auth-switch{margin-bottom:25px}
 .auth-layout input{font-size:16px}
 .auth-layout .auth-link-row{font-size:11px}
 .account-card{padding:20px}
}
@media(prefers-reduced-motion:reduce){.auth-layout input,.auth-layout .button,.auth-layout a.google-sign-in{transition:none}}
