.auth-shell {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 64px);
    background-color: #f7f9f9;
    background-image: radial-gradient(900px 600px at 0% 0%, #eaf5f6, transparent 65%);
    overflow-x: hidden;
}
.auth-layout {
    width: min(100%, 1060px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 456px);
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--sh-3);
    overflow: hidden;
}
.auth-aside {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 5vw, 64px);
    color: white;
    background-color: #001214;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(8, 127, 140, .42), transparent 30%),
        linear-gradient(145deg, #001214, #01484d);
}
.auth-brand { display: flex; align-items: center; gap: var(--sp-2); }
.auth-aside .auth-brand { margin-bottom: var(--sp-7); }
.auth-aside .brand-logo { width: 38px; height: 38px; }
.auth-aside .brand-name { color: #fff; font-size: 19px; }
.auth-aside-copy { max-width: 470px; }
.auth-eyebrow {
    display: inline-block;
    margin-bottom: var(--sp-3);
    color: #b6dfdf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.auth-aside h2 {
    max-width: 430px;
    margin-bottom: var(--sp-3);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.auth-aside-copy > p {
    max-width: 390px;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.7;
}
.auth-highlights {
    display: grid;
    gap: 16px;
    margin: var(--sp-6) 0 0;
    padding: 0;
    list-style: none;
}
.auth-highlights li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.auth-highlights li span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 700;
}
.auth-aside-foot { color: rgba(255, 255, 255, .65); font-size: 12px; }
.auth-card {
    width: 100%;
    min-width: 0;
    align-self: center;
    background: var(--surface);
    padding: clamp(32px, 5vw, 56px);
    animation: fade-slide var(--dur-3) var(--ease) both;
}
.auth-card h1 { font-size: clamp(23px, 3vw, 26px); line-height: 1.25; margin-bottom: 6px; letter-spacing: -.035em; }
.auth-card .sub { color: var(--text-muted); font-size: 14px; margin-bottom: var(--sp-5); }
.auth-card .form { max-width: none; }
.auth-card .input { min-height: 48px; }
.auth-card .btn-primary { width: 100%; min-height: 48px; margin-top: 2px; }
.auth-card .alert { margin-bottom: var(--sp-4); }
.auth-foot { margin-top: var(--sp-4); font-size: 13px; color: var(--text-muted); text-align: center; }
.auth-foot a { font-weight: 600; }
.register-form .hint.is-error { color: var(--danger); }
.register-form { gap: 16px; }
.register-form .field { gap: 6px; min-width: 0; }
.register-fields-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

@media (max-width: 800px) {
    .auth-shell { align-items: flex-start; }
    .auth-layout { max-width: 520px; grid-template-columns: 1fr; border-radius: 20px; }
    .auth-aside { min-height: 0; gap: var(--sp-4); padding: 24px 32px; }
    .auth-aside .auth-brand { margin-bottom: 0; }
    .auth-aside h2 { max-width: 480px; margin-bottom: 8px; font-size: clamp(24px, 5vw, 30px); }
    .auth-aside-copy > p { font-size: 14px; line-height: 1.55; }
    .auth-highlights {
        display: grid;
        gap: 8px;
        margin-top: 16px;
    }
    .auth-highlights li { gap: 9px; font-size: 13px; line-height: 1.4; }
    .auth-highlights li span { width: 24px; height: 24px; flex: 0 0 24px; }
    .auth-aside-foot { display: block; margin: 0; font-size: 11px; }
    .auth-card { padding: clamp(24px, 6vw, 32px); }
}

@media (max-width: 480px) {
    .auth-shell { padding: 10px; }
    .auth-layout { border-radius: 16px; }
    .auth-aside {
        padding: 20px 20px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    .auth-aside .brand-logo { width: 32px; height: 32px; }
    .auth-aside .brand-name { font-size: 17px; }
    .auth-aside h2 { max-width: 360px; font-size: 24px; }
    .auth-aside-copy > p { font-size: 13px; }
    .auth-highlights { gap: 7px; margin-top: 13px; }
    .auth-highlights li { font-size: 12px; }
    .auth-card { padding: 24px 20px; }
    .register-fields-row { grid-template-columns: 1fr; }
}

@media (max-height: 760px) {
    .auth-shell {
        align-items: flex-start;
        padding-block: 20px;
    }
}

@media (max-width: 360px) {
    .auth-shell { padding: 8px; }
    .auth-aside { padding-inline: 16px; }
    .auth-card { padding: 22px 16px; }
    .auth-foot { line-height: 1.8; }
}