:root{--brand:#0c4da2;--brand-hover:#0a3f85;--brand-soft:#edf4ff;--brand-line:#c8daf3;--brand-deep:#092c5c;--brand-highlight:#8fbcff}
*{box-sizing:border-box}
body:has(#loginRoot){margin:0;font-family:'Malgun Gothic','Segoe UI',sans-serif;background:#0b203c;color:#20334c;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 15%,#294e7c77,transparent 65%),radial-gradient(ellipse at 85% 90%,#0c4da224,transparent 50%),#0b203c}
#loginRoot{width:100%;padding:40px 24px}
.auth-card{width:min(500px,100%);margin:auto;background:#fafbfd;border:1px solid #8ba6c24d;border-radius:22px;box-shadow:0 28px 90px #020d234f,0 2px 8px #020d231f;overflow:hidden;font-family:'Malgun Gothic','Segoe UI',sans-serif;animation:auth-enter .3s ease both}
.auth-brand{padding:31px 34px 29px;background:linear-gradient(110deg,#0b2c58 0%,#0c4da2 75%,#155cb7 100%);color:white;border-bottom:1px solid #ffffff25;position:relative}
.auth-brand:after{content:"";position:absolute;left:34px;bottom:0;width:80px;height:2px;background:#82b9ff99}
.auth-brand-line{display:flex;align-items:center;gap:12px;min-height:27px;white-space:nowrap}
.auth-ci{display:block;width:168px;height:auto;flex:none;object-fit:contain}
.auth-division{display:block;font-family:'Malgun Gothic',sans-serif;font-weight:400;-webkit-text-stroke:.3px currentColor;paint-order:stroke fill;font-size:16px;line-height:27px;letter-spacing:-.58px;font-synthesis:none;transform:scaleY(1.13);transform-origin:center}
.auth-card .auth-brand h1{display:flex;align-items:baseline;gap:9px;margin:12px 0 0;font-family:'Malgun Gothic',sans-serif;font-size:28px;line-height:36px;letter-spacing:1.07px;font-weight:700;font-synthesis:none;color:#fff}
.auth-card .auth-brand h1 .auth-version{font-size:29px;letter-spacing:.4px}
.auth-content{padding:23px 34px 25px}
.auth-copy{color:#5f6c7d;line-height:1.8;font-size:14px;margin:0 0 20px}
.auth-field{display:flex;flex-direction:column;gap:8px;margin:0 0 20px;font-size:13px;font-weight:600;color:#314b6b}
.auth-field:first-child{margin-top:5px}
.auth-field input,.auth-field select{width:100%;font:inherit;font-weight:400;font-size:16px;min-height:50px;border:1px solid #cbd7e5;border-radius:9px;background:#fff;color:#192c44;padding:11px 13px;transition:border-color .15s,box-shadow .15s}
.auth-field input:hover{border-color:#a5b9d2}.auth-field input:focus{outline:3px solid #0c4da21c;outline-offset:1px;border-color:var(--brand);box-shadow:0 2px 8px #0c4da20a}
.auth-field input[readonly]{background:#eef1f4}
.auth-submit{font-family:inherit;border:1px solid #0c4da2;border-radius:9px;min-height:48px;background:var(--brand);color:white;font-size:15px;font-weight:700;width:100%;cursor:pointer;box-shadow:0 5px 16px #0c4da223,inset 0 1px #ffffff15;transition:background .16s,box-shadow .16s,transform .16s}
.auth-submit:hover:not(:disabled){background:var(--brand-hover);box-shadow:0 7px 19px #0c4da230}.auth-submit:active:not(:disabled){transform:translateY(1px)}.auth-submit:focus-visible{outline:3px solid #6da5ed;outline-offset:3px}
.auth-submit:disabled{opacity:.6;cursor:wait}
.auth-error{font-size:13px;line-height:1.6;color:#aa342e;min-height:22px;margin:0 0 12px}
.auth-note{background:#edf3fb;border:1px solid #e3ecf8;border-radius:9px;padding:13px 15px;font-size:12px;line-height:1.8;color:#536e90;margin-top:20px}
.auth-footer{font-size:11px;color:#7c8da3;border-top:1px solid #dce5f2;padding-top:18px;margin-top:23px;display:flex;justify-content:space-between}
.auth-password-note{color:#697483;font-size:12px;font-weight:400}
.auth-return{display:block;margin-top:16px;text-align:center;color:var(--brand);font-size:13px}
@keyframes auth-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:540px){#loginRoot{padding:24px 16px}.auth-card{border-radius:18px}.auth-brand{padding:26px 23px 24px}.auth-brand:after{left:23px}.auth-content{padding:23px}.auth-ci{width:153px}.auth-brand-line{gap:10px}.auth-division{font-size:14px;letter-spacing:-.5px}.auth-card .auth-brand h1{font-size:25px;gap:8px}.auth-card .auth-brand h1 .auth-version{font-size:26px}.auth-field input{min-height:48px}}
@media(max-width:360px){.auth-brand,.auth-content{padding-left:19px;padding-right:19px}.auth-ci{width:137px}.auth-division{font-size:13px}.auth-card .auth-brand h1{font-size:22px;letter-spacing:.5px}.auth-card .auth-brand h1 .auth-version{font-size:23px}}
@media(prefers-reduced-motion:reduce){.auth-card{animation:none}.auth-submit,.auth-field input{transition:none}}

.auth-card .auth-brand h1{flex-wrap:wrap;row-gap:3px}.auth-card .auth-brand h1 .auth-building-version{flex-basis:100%;font-size:17px;line-height:1.5;letter-spacing:.25px}
