.signin-page {
    background: #f5f7f9;
    color: #182334;
}
.signin-shell {
    width: min(920px, calc(100% - 40px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.signin-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 620px;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(24, 35, 52, .09);
}
.signin-brand-panel { background: linear-gradient(180deg, #2d1370, #190842); min-width: 0; }
.signin-brand-panel .brand-overlay { height: 100%; padding: 42px 34px; }
.signin-brand-panel .brand-name { letter-spacing: 0; }
.signin-brand-panel .auth-message { padding: 60px 0 80px; }
.signin-brand-panel .auth-message h1 { font-size: 38px; }
.signin-brand-panel .auth-message p { font-size: 15px; }
.signin-brand-panel .auth-metric-row { gap: 10px; margin-top: 28px; }
.signin-brand-panel .auth-metric-row span { min-height: 28px; font-size: 12px; }
.signin-panel {
    min-width: 0;
    align-self: center;
    padding: 36px 32px;
    background: #fff;
}
.signin-heading { margin-bottom: 30px; text-align: center; }
.signin-heading h2 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 700; }
.signin-heading p { margin: 10px auto 0; max-width: 320px; color: #536175; font-size: 14px; line-height: 1.5; }
.signin-eyebrow { display: inline-block; margin-bottom: 16px; padding: 8px 14px; border: 1px solid #ccb6fb; border-radius: 8px; background: #f5efff; color: #6438c5; font-size: 12px; font-weight: 600; }
.signin-form { display: grid; gap: 18px; }
.signin-field { display: grid; gap: 8px; min-width: 0; }
.signin-field > label { font-size: 13px; font-weight: 600; }
.signin-field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd3de;
    border-radius: 6px;
    background: #fff;
    color: #182334;
    font-size: 16px;
}
.signin-field input::placeholder { color: #758095; }
.signin-field input[aria-invalid="true"] { border-color: #c13535; }
.signin-password { position: relative; }
.signin-password input { padding-right: 48px; }
.signin-password-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #536175;
    cursor: pointer;
}
.signin-password-toggle svg { width: 19px; height: 19px; }
.signin-password-toggle[aria-pressed="true"] { color: #6438c5; background: #f4effc; }
.signin-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signin-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.signin-options label { display: inline-flex; align-items: center; gap: 7px; color: #536175; cursor: pointer; }
.signin-options input { width: 16px; height: 16px; margin: 0; accent-color: #6438c5; }
.signin-options a, .signin-other-actions a { color: #5d32b9; font-weight: 600; }
.signin-submit { width: 100%; height: 44px; border: 0; border-radius: 6px; background: #6438c5; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.signin-submit:hover { background: #512aaa; }
.signin-other-actions { display: grid; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #e6eaf0; }
.signin-other-actions > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 12px; }
.signin-other-actions > div > span { color: #536175; }
.signin-other-actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; }
.signin-other-actions svg { width: 14px; height: 14px; flex-shrink: 0; }
.signin-page a:hover { text-decoration: underline; text-underline-offset: 3px; }
.signin-brand-panel a:hover { text-decoration: none; }
.signin-page :is(a, button, input):focus-visible { outline: 2px solid #6438c5; outline-offset: 3px; }
.signin-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; padding: 0 4px; color: #647084; font-size: 11px; line-height: 1.5; }
.signin-footer > div { display: flex; gap: 14px; }
@media (max-width: 700px) {
    .signin-shell { width: min(440px, calc(100% - 32px)); padding: 24px 0; gap: 20px; }
    .signin-layout { grid-template-columns: minmax(0, 1fr); min-height: auto; }
    .signin-brand-panel .brand-overlay { padding: 22px 24px; }
    .signin-brand-panel .auth-message { display: none; }
    .signin-panel { padding: 24px 20px; }
    .signin-heading { margin-bottom: 22px; }
    .signin-other-actions > div { display: grid; gap: 4px; }
    .signin-footer { justify-content: center; text-align: center; }
}
@media (max-height: 740px) {
    .signin-shell { justify-content: flex-start; }
}
