.login-page { background: #fbfaf6; }
.login-shell { min-height: 100svh; }
.login-main { width: 100%; max-width: none; min-height: 100svh; padding: 0; }
.login-screen {
    display: grid;
    grid-template-columns: minmax(0, 53%) minmax(0, 47%);
    min-height: 100svh;
    overflow: hidden;
    background: #fbfaf6;
}
.login-hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 100svh;
    margin-right: -42px;
    padding: 70px clamp(45px, 6vw, 104px);
    overflow: hidden;
    border-right: 2px solid var(--accent);
    border-radius: 0 42% 42% 0 / 0 95% 95% 0;
    background: radial-gradient(circle at 12% 4%, #343d9b 0, #222c7a 34%, #192462 100%);
    color: #fff;
    animation: loginHeroIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.login-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(130deg, rgba(255,255,255,.05), transparent 45%);
    pointer-events: none;
}
.login-hero-content { position: relative; z-index: 2; max-width: 510px; }
.hero-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,207,73,.13);
    border-radius: 50%;
    pointer-events: none;
    animation: orbitFloat 10s ease-in-out infinite alternate;
}
.hero-orbit-one { top: -300px; left: -250px; }
.hero-orbit-two { right: -320px; bottom: -330px; width: 650px; height: 650px; animation-delay: -4s; }
.login-logo {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 34px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 22px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 16px 32px rgba(5,13,49,.18);
    animation: logoFloat 5s ease-in-out infinite;
}
.login-logo img { width: 100%; height: 100%; object-fit: contain; }
.login-hero-label {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.login-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 7vw, 90px);
    font-weight: 700;
    line-height: .97;
    letter-spacing: -.055em;
}
.login-hero h1 span { color: var(--accent); }
.login-system-name { max-width: 440px; margin: 19px 0 0; color: #fff; font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.3; }
.login-hero-description {
    max-width: 440px;
    margin: 16px 0 0;
    color: #e0e7fa;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.6;
}
.login-hero-note {
    display: inline-block;
    max-width: 360px;
    margin-top: 56px;
    padding: 11px 17px;
    border: 1px solid rgba(255,214,85,.7);
    border-radius: 999px;
    color: #f4f5ff;
    font-size: 12px;
    line-height: 1.45;
}
.login-form-panel {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    min-width: 0;
    padding: 70px clamp(40px, 6vw, 110px) 60px;
    background: #fbfaf6;
}
.login-form-inner {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    animation: loginFormIn .7s .12s cubic-bezier(.2,.8,.2,1) both;
}
.login-form-kicker {
    margin: 0 0 15px;
    color: #55617a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.login-form-inner h2 {
    margin: 0;
    color: #282530;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.4vw, 60px);
    line-height: 1;
    letter-spacing: -.045em;
}
.login-intro {
    margin: 17px 0 26px;
    color: #55617a;
    font-size: 15px;
    line-height: 1.6;
}
.login-form .field { margin-bottom: 19px; }
.login-form label {
    margin-bottom: 8px;
    color: #282530;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.login-form input {
    min-height: 54px;
    padding: 14px 15px;
    border-color: #d8d9e8;
    border-radius: 8px;
    background: #fff;
    color: #282530;
}
.login-form input::placeholder { color: #737a99; }
.login-form input:focus { outline: 3px solid rgba(64,80,171,.18); border-color: #323f9e; }
.login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    margin-top: 9px;
    padding: 13px 18px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    box-shadow: 0 4px 0 #121a50;
    color: #fff;
    font-weight: 800;
    text-align: left;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.login-submit span:last-child { color: var(--accent); font-size: 20px; transition: transform .2s ease; }
.login-submit:hover { background: #323f9e; transform: translateY(-2px); box-shadow: 0 6px 0 #121a50; }
.login-submit:hover span:last-child { transform: translateX(4px); }
.login-register { margin-top: 34px; padding-top: 24px; border-top: 1px solid #d8d9e8; }
.login-register p { margin: 0 0 10px; color: #55617a; font-size: 13px; }
.login-register a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid #aab3df;
    border-radius: 8px;
    color: #1c2775;
    font-size: 13px;
    font-weight: 800;
}
.login-register a:hover { border-color: #323f9e; background: #f2f3fb; text-decoration: none; }
.login-caption { margin: 22px 0 0; color: #6f7895; font-size: 11px; line-height: 1.5; }

@keyframes loginHeroIn {
    from { opacity: 0; transform: translateX(-28px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes loginFormIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes orbitFloat {
    from { transform: translate3d(0,0,0) scale(1); }
    to { transform: translate3d(14px,-12px,0) scale(1.04); }
}
@media (max-width: 1000px) {
    .login-hero { padding-left: 44px; padding-right: 78px; }
    .login-form-panel { padding-left: 45px; padding-right: 45px; }
    .login-hero h1 { font-size: clamp(50px, 6vw, 70px); }
}
@media (max-width: 820px) {
    .login-screen { display: block; }
    .login-hero {
        min-height: 340px;
        margin-right: 0;
        padding: 48px 38px 58px;
        border-right: 0;
        border-bottom: 2px solid var(--accent);
        border-radius: 0 0 28% 0 / 0 0 16% 0;
    }
    .login-hero-content { max-width: 650px; }
    .login-logo { width: 66px; height: 66px; margin-bottom: 22px; border-radius: 17px; }
    .login-hero h1 { font-size: clamp(44px, 7vw, 66px); }
    .login-hero-description { margin-top: 16px; }
    .login-hero-note { display: none; }
    .login-form-panel { padding: 52px 38px 64px; }
    .login-form-inner { max-width: 520px; }
}
@media (max-width: 560px) {
    .login-hero { min-height: 265px; padding: 29px 22px 43px; border-radius: 0 0 22% 0 / 0 0 12% 0; }
    .login-logo { width: 56px; height: 56px; margin-bottom: 17px; padding: 6px; border-radius: 14px; }
    .login-hero-label { margin-bottom: 9px; font-size: 9px; letter-spacing: .13em; }
    .login-hero h1 { font-size: clamp(38px, 10vw, 53px); }
    .login-system-name { max-width: 340px; margin-top: 10px; font-size: 14px; line-height: 1.35; }
    .login-hero-description { max-width: 340px; margin-top: 10px; font-size: 12px; line-height: 1.5; }
    .login-form-panel { padding: 34px 20px 52px; }
    .login-form-inner h2 { font-size: 41px; }
    .login-intro { margin: 12px 0 23px; font-size: 14px; }
    .login-register { margin-top: 28px; }
}
@media (max-width: 350px) {
    .login-hero { padding-left: 17px; padding-right: 17px; }
    .login-form-panel { padding-left: 17px; padding-right: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-hero, .login-form-inner, .login-logo, .hero-orbit { animation: none !important; }
    .login-submit, .login-submit span:last-child { transition: none; }
}