/* Spark Rack ECP Authentication Shell 1.0.1
 * Faithful adaptation of the locked Spark Rack Webmail 1.0.14 login shell.
 */
body.sr-auth {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    background: #0b0f16 !important;
    color: #f6f7fb !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px;
    line-height: 1.45;
    color-scheme: dark;
}
body.sr-auth *, body.sr-auth *::before, body.sr-auth *::after { box-sizing: border-box; }
body.sr-auth a { color: inherit; }
body.sr-auth button, body.sr-auth input, body.sr-auth select, body.sr-auth textarea { font: inherit; }
body.sr-auth button, body.sr-auth a { -webkit-tap-highlight-color: transparent; }
body.sr-auth [hidden] { display: none !important; }

.sr-auth-login-shell {
    display: grid;
    width: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1fr) clamp(390px, 29vw, 520px);
    background: #0b0f16;
}
.sr-auth-login-intro {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(42px, 5.1vw, 76px) clamp(42px, 5vw, 74px) 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(rgba(118, 139, 174, 0.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 139, 174, 0.065) 1px, transparent 1px),
        radial-gradient(circle at 14% 92%, rgba(228, 170, 36, 0.16), transparent 31rem),
        radial-gradient(circle at 92% 38%, rgba(171, 75, 21, 0.10), transparent 28rem),
        linear-gradient(130deg, #0c111b 0%, #0d121d 58%, #16110e 100%);
    background-size: 34px 34px, 34px 34px, auto, auto, auto;
}
.sr-auth-login-intro::after {
    position: absolute;
    right: -8rem;
    bottom: -13rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 170, 35, 0.09), transparent 67%);
    content: '';
    pointer-events: none;
}
.sr-auth-login-intro-content {
    position: relative;
    z-index: 1;
    width: min(100%, 610px);
    margin-top: auto;
    margin-bottom: auto;
}
.sr-auth-login-logo {
    display: block;
    width: clamp(168px, 13vw, 204px);
    height: auto;
    margin-bottom: 42px;
}
.sr-auth-login-product {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin: 0 0 15px;
    padding: 0 10px;
    border: 1px solid rgba(231, 173, 39, 0.38);
    border-radius: 999px;
    background: rgba(228, 170, 36, 0.08);
    color: #f0b725;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.sr-auth-login-intro h1 {
    max-width: 570px;
    margin: 0;
    color: #f7f8fb;
    font-size: clamp(1.82rem, 2.35vw, 2.42rem);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -0.045em;
}
.sr-auth-login-intro h1 span { color: #efb424; }
.sr-auth-login-summary {
    max-width: 545px;
    margin: 18px 0 0;
    color: #a9b9d4;
    font-size: clamp(0.86rem, 1vw, 0.98rem);
    line-height: 1.7;
}
.sr-auth-login-benefits {
    display: grid;
    gap: 11px;
    margin: 31px 0 0;
    padding: 0;
    list-style: none;
}
.sr-auth-login-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9fb4d6;
    font-size: 0.81rem;
    line-height: 1.4;
}
.sr-auth-benefit-icon {
    display: inline-grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border: 1px solid rgba(229, 171, 35, 0.28);
    border-radius: 5px;
    background: rgba(230, 172, 36, 0.08);
}
.sr-auth-benefit-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #e5ab22;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sr-auth-login-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #687a9a;
    font-size: 0.67rem;
    line-height: 1.5;
}
.sr-auth-login-footer strong { color: #e6ad24; font-weight: 750; }
.sr-auth-footer-separator { color: #3a465a; }

.sr-auth-login-form-panel {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    flex-direction: column;
    justify-content: center;
    padding: 34px clamp(28px, 3.1vw, 54px);
    background: #0a0f16;
    color: #f6f7fb;
    scrollbar-gutter: stable;
}
.sr-auth-login-form-wrap { width: min(100%, 390px); margin: auto; }
.sr-auth-login-shell--long .sr-auth-login-form-panel { justify-content: flex-start; }
.sr-auth-login-shell--long .sr-auth-login-form-wrap { margin-top: auto; margin-bottom: auto; padding: 12px 0; }
.sr-auth-mobile-brand, .sr-auth-mobile-footer { display: none; }
.sr-auth-login-form-heading { margin-bottom: 27px; }
.sr-auth-login-form-heading h2 {
    margin: 0;
    color: #f8f9fc;
    font-size: 1.3rem;
    font-weight: 770;
    line-height: 1.3;
    letter-spacing: -0.025em;
}
.sr-auth-login-form-heading p {
    margin: 7px 0 0;
    color: #7186a8;
    font-size: 0.77rem;
    line-height: 1.55;
}
.sr-auth-login-form-heading strong { color: #aebed7; font-weight: 750; }

.sr-auth-login-form { display: grid; gap: 16px; margin: 0; }
.sr-auth-field { display: grid; gap: 7px; margin: 0; }
.sr-auth-field > span:first-child,
.sr-auth-field > .sr-auth-label-row {
    color: #b9c7dd;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}
.sr-auth-field > span:first-child small { color: #7186a8; font-size: .62rem; font-weight: 650; letter-spacing: .04em; }
.sr-auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sr-auth-label-row > span { color: inherit; }
.sr-auth-label-row a { color: #e4aa24 !important; font-size: .68rem; font-weight: 750; letter-spacing: 0; text-transform: none; text-decoration: none; }
.sr-auth-label-row a:hover { text-decoration: underline; }
.sr-auth-control {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 45px;
    align-items: center;
    border: 1px solid #d7dce4;
    border-radius: 10px;
    background: #fbf8f2;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
    transition: border-color 140ms ease, box-shadow 140ms ease;
}
.sr-auth-control:focus-within { border-color: #e4aa24; box-shadow: 0 0 0 3px rgba(229, 171, 36, 0.14); }
.sr-auth-control > svg {
    width: 17px;
    height: 17px;
    margin-left: 13px;
    flex: 0 0 17px;
    fill: none;
    stroke: #8b887f;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.sr-auth .sr-auth-control input,
body.sr-auth .sr-auth-control select,
body.sr-auth .sr-auth-control textarea,
body.sr-auth .sr-auth-control .form-control {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 43px !important;
    margin: 0 !important;
    padding: 10px 13px 10px 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #202530 !important;
    font-size: 0.82rem !important;
}
body.sr-auth .sr-auth-control select { cursor: pointer; }
body.sr-auth .sr-auth-control textarea { min-height: 96px !important; resize: vertical; }
body.sr-auth .sr-auth-control input::placeholder,
body.sr-auth .sr-auth-control textarea::placeholder { color: #a39f95 !important; opacity: 1; }

/* Keep every authentication field visually identical to the Webmail shell,
   including browser/password-manager autofill and legacy ECP form states. */
body.sr-auth .sr-auth-control,
body.sr-auth .sr-auth-control input,
body.sr-auth .sr-auth-control select,
body.sr-auth .sr-auth-control textarea,
body.sr-auth .sr-auth-native-output input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
body.sr-auth .sr-auth-native-output select,
body.sr-auth .sr-auth-native-output textarea {
    color-scheme: light;
}
body.sr-auth .sr-auth-control input,
body.sr-auth .sr-auth-control select,
body.sr-auth .sr-auth-control textarea,
body.sr-auth .sr-auth-control .form-control,
body.sr-auth .sr-auth-native-output input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
body.sr-auth .sr-auth-native-output select,
body.sr-auth .sr-auth-native-output textarea {
    background-color: #fbf8f2 !important;
    background-image: none !important;
    -webkit-text-fill-color: #202530 !important;
    caret-color: #202530 !important;
}
body.sr-auth .sr-auth-control input:-webkit-autofill,
body.sr-auth .sr-auth-control input:-webkit-autofill:hover,
body.sr-auth .sr-auth-control input:-webkit-autofill:focus,
body.sr-auth .sr-auth-control input:-webkit-autofill:active,
body.sr-auth .sr-auth-native-output input:-webkit-autofill,
body.sr-auth .sr-auth-native-output input:-webkit-autofill:hover,
body.sr-auth .sr-auth-native-output input:-webkit-autofill:focus,
body.sr-auth .sr-auth-native-output input:-webkit-autofill:active,
body.sr-auth .sr-auth-control input:autofill,
body.sr-auth .sr-auth-native-output input:autofill {
    background-color: #fbf8f2 !important;
    background-image: none !important;
    -webkit-box-shadow: 0 0 0 1000px #fbf8f2 inset !important;
    box-shadow: 0 0 0 1000px #fbf8f2 inset !important;
    -webkit-text-fill-color: #202530 !important;
    caret-color: #202530 !important;
    transition: background-color 99999s ease-out 0s;
}
.sr-auth-control-plain input, .sr-auth-control-plain select, .sr-auth-control-plain textarea { padding-left: 13px !important; }
.sr-auth-password-control input { padding-right: 62px !important; }
.sr-auth-password-toggle {
    position: absolute;
    right: 5px;
    min-width: 52px;
    min-height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #81631f;
    font-size: 0.7rem;
    font-weight: 750;
    cursor: pointer;
}
.sr-auth-password-toggle:hover, .sr-auth-password-toggle:focus-visible { background: rgba(226, 167, 31, 0.11); outline: none; }
.sr-auth-code-input { font-variant-numeric: tabular-nums; letter-spacing: .25em; text-align: center; font-size: 1.05rem !important; font-weight: 800; }
.sr-auth-field > small { color: #7186a8; font-size: .68rem; line-height: 1.45; }

.sr-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #7e91b0 !important;
    font-size: 0.75rem !important;
    line-height: 1.5;
}
body.sr-auth .sr-auth-checkbox input { width: 17px !important; height: 17px !important; min-height: 17px !important; margin: 1px 0 0 !important; padding: 0 !important; flex: 0 0 17px; accent-color: #e4aa24; }
.sr-auth-checkbox a { color: #e4aa24 !important; font-weight: 750; text-decoration: none; }
.sr-auth-checkbox a:hover { text-decoration: underline; }
.sr-auth-checkbox-card { padding: 11px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }

body.sr-auth .sr-auth-login-button,
body.sr-auth a.sr-auth-login-button {
    position: relative;
    display: inline-flex !important;
    width: 100% !important;
    min-height: 45px !important;
    align-items: center;
    justify-content: center;
    margin: 2px 0 0 !important;
    padding: 0 44px 0 18px !important;
    border: 1px solid #e5a91a !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #f1b727, #e5a91a) !important;
    color: #171b23 !important;
    font-size: 0.81rem !important;
    font-weight: 820 !important;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(229, 169, 26, 0.16) !important;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
body.sr-auth .sr-auth-login-button:hover:not(:disabled) { background: linear-gradient(180deg, #f6bf36, #e8ad1d) !important; border-color: #e8ad1d !important; transform: translateY(-1px); }
body.sr-auth .sr-auth-login-button:active { transform: translateY(0); }
.sr-auth-button-arrow { position: absolute; right: 17px; font-size: 1.02rem; font-weight: 500; }
.sr-auth-button-label { display: inline-flex; align-items: center; justify-content: center; }

.sr-auth-login-help {
    display: grid;
    gap: 9px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.sr-auth-login-help p { margin: 0; color: #697c9a; font-size: 0.71rem; line-height: 1.55; }
.sr-auth-login-help a { color: #e4aa24 !important; font-weight: 750; text-decoration: none; }
.sr-auth-login-help a:hover { text-decoration: underline; }

.sr-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    font-size: 0.74rem;
    line-height: 1.5;
}
.sr-auth-alert svg, .sr-auth-alert [data-lucide] { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; }
.sr-auth-alert-error { border-color: rgba(239, 103, 103, 0.30); background: rgba(147, 34, 34, 0.20); color: #ffd8d8; }
.sr-auth-alert-success { border-color: rgba(80, 202, 143, 0.28); background: rgba(26, 118, 76, 0.18); color: #ccffe5; }
.sr-auth-alert-warning { border-color: rgba(228,170,36,.3); background: rgba(228,170,36,.10); color: #ffe9ae; }
.sr-auth-alert-info { border-color: rgba(92,145,229,.3); background: rgba(49,90,155,.18); color: #d9e8ff; }

.sr-auth-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.sr-auth-section-separator { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: #627594; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sr-auth-section-separator::before, .sr-auth-section-separator::after { height: 1px; flex: 1; background: rgba(255,255,255,.08); content: ''; }
.sr-auth-registration-form .pw-strength-bar, .sr-auth-login-form .pw-strength-bar { display: block; height: 4px; margin-top: 0; overflow: hidden; border-radius: 999px; background: #1a2432; }
.sr-auth-registration-form .pw-strength-fill, .sr-auth-login-form .pw-strength-fill { display: block; height: 100%; border-radius: inherit; background: #e4aa24; }
.sr-auth-registration-form .pw-strength-label, .sr-auth-login-form .pw-strength-label { color: #7186a8; font-size: .66rem; }
.sr-auth-generated-field .sr-auth-control { min-height: 45px; }
.sr-auth-generated-field .sr-auth-control > input,
.sr-auth-generated-field .sr-auth-control > select,
.sr-auth-generated-field .sr-auth-control > textarea { width: 100%; }

.sr-auth-native-output { display: grid; gap: 14px; color: #8ea1c0; font-size: .78rem; line-height: 1.55; }
.sr-auth-native-output:empty { display: none; }
.sr-auth-native-output form { display: grid; gap: 16px; margin: 0; }
.sr-auth-native-output .form-group, .sr-auth-native-output .form-group.row, .sr-auth-native-output .row { display: grid; grid-template-columns: 1fr; gap: 7px; margin: 0 !important; }
.sr-auth-native-output label, .sr-auth-native-output .control-label, .sr-auth-native-output .col-form-label { margin: 0 !important; color: #b9c7dd !important; font-size: .68rem !important; font-weight: 800 !important; letter-spacing: .075em; text-transform: uppercase; }
body.sr-auth .sr-auth-native-output input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
body.sr-auth .sr-auth-native-output select,
body.sr-auth .sr-auth-native-output textarea,
body.sr-auth .sr-auth-native-output .form-control {
    width: 100% !important;
    min-height: 45px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid #d7dce4 !important;
    border-radius: 10px !important;
    outline: none !important;
    background: #fbf8f2 !important;
    box-shadow: 0 7px 20px rgba(0,0,0,.08) !important;
    color: #202530 !important;
    font-size: .82rem !important;
}
body.sr-auth .sr-auth-native-output input:focus, body.sr-auth .sr-auth-native-output select:focus, body.sr-auth .sr-auth-native-output textarea:focus { border-color: #e4aa24 !important; box-shadow: 0 0 0 3px rgba(229,171,36,.14) !important; }
body.sr-auth .sr-auth-native-output button[type="submit"], body.sr-auth .sr-auth-native-output input[type="submit"], body.sr-auth .sr-auth-native-output .btn-primary {
    width: 100% !important; min-height: 45px !important; border: 1px solid #e5a91a !important; border-radius: 10px !important; background: linear-gradient(180deg,#f1b727,#e5a91a) !important; color: #171b23 !important; font-size: .81rem !important; font-weight: 820 !important; box-shadow: 0 10px 26px rgba(229,169,26,.16) !important;
}
.sr-auth-native-output .alert, .sr-auth-native-output .sr-alert { margin: 0; }
.sr-auth-native-output p { margin: 0; }
.sr-auth-native-output a { color: #e4aa24 !important; }

.sr-auth-captcha { max-width: 100%; min-height: 0; overflow: visible; }
.sr-auth-captcha iframe, .sr-auth-captcha > div, .sr-auth-captcha .h-captcha, .sr-auth-captcha .g-recaptcha { max-width: 100%; }

.sr-auth-secondary-button,
body.sr-auth button.sr-auth-secondary-button,
body.sr-auth a.sr-auth-secondary-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    color: #aabbd6 !important;
    font-size: .74rem;
    font-weight: 750;
    text-decoration: none !important;
    cursor: pointer;
}
.sr-auth-secondary-button:hover { border-color: rgba(228,170,36,.35); background: rgba(228,170,36,.08); color: #f0b725 !important; }
.sr-auth-text-button { min-height: 38px; padding: 0 8px; border: 0; background: transparent; color: #7186a8; font-size: .74rem; font-weight: 750; cursor: pointer; }
.sr-auth-text-button:hover { color: #e4aa24; }
.sr-auth-secondary-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.sr-auth-secondary-actions form { margin: 0; }
.sr-auth-action-stack { display: grid; gap: 10px; }

.sr-auth-invite-summary { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; align-items: start; margin-bottom: 16px; padding: 12px; border: 1px solid rgba(228,170,36,.18); border-radius: 10px; background: rgba(228,170,36,.055); }
.sr-auth-invite-summary-icon, .sr-auth-option-heading > span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(228,170,36,.28); border-radius: 8px; background: rgba(228,170,36,.08); color: #e4aa24; }
.sr-auth-invite-summary-icon svg, .sr-auth-option-heading svg { width: 16px; height: 16px; }
.sr-auth-invite-summary strong { color: #dbe4f2; font-size: .75rem; }
.sr-auth-invite-summary p { margin: 3px 0 0; color: #7186a8; font-size: .72rem; line-height: 1.5; }
.sr-auth-choice-copy { margin: 0 0 12px; color: #7186a8; font-size: .73rem; line-height: 1.5; }
.sr-auth-invite-options { display: grid; gap: 14px; }
.sr-auth-option-card { display: grid; gap: 15px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.025); }
.sr-auth-option-heading { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 10px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sr-auth-option-heading h3 { margin: 0; color: #e9eef7; font-size: .84rem; }
.sr-auth-option-heading p { margin: 3px 0 0; color: #7186a8; font-size: .69rem; line-height: 1.45; }
.sr-auth-password-generate-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.sr-invite-strength { display: grid; gap: 5px; color: #7186a8; font-size: .66rem; }
.sr-invite-strength-track { display: block; height: 4px; overflow: hidden; border-radius: 999px; background: #1a2432; }
.sr-invite-strength-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #dc6262; transition: width .18s ease, background .18s ease; }
.sr-invite-strength-track > span[data-strength="moderate"] { background: #e4aa24; }
.sr-invite-strength-track > span[data-strength="strong"] { background: #43bb78; }

.sr-auth-recovery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.sr-auth-recovery-grid code { display: block; padding: 9px 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: rgba(255,255,255,.035); color: #e8edf5; font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; font-size: .75rem; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.sr-auth-recovery-details { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.sr-auth-recovery-details summary { color: #e4aa24; font-size: .73rem; font-weight: 750; cursor: pointer; }
.sr-auth-recovery-details[open] summary { margin-bottom: 14px; }
.sr-auth-status-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 15px; place-items: center; border: 1px solid rgba(228,170,36,.28); border-radius: 50%; background: rgba(228,170,36,.08); color: #e4aa24; }
.sr-auth-status-icon svg { width: 26px; height: 26px; }
.sr-auth-status-copy { margin: 0 0 17px; color: #7186a8; font-size: .76rem; line-height: 1.6; text-align: center; }

@media (max-width: 920px) {
    .sr-auth-login-shell { grid-template-columns: minmax(0, 1fr) minmax(360px, 44vw); }
    .sr-auth-login-intro { padding-right: 38px; padding-left: 38px; }
    .sr-auth-login-intro h1 { font-size: clamp(1.72rem, 3.5vw, 2.18rem); }
}
@media (max-width: 720px) {
    body.sr-auth {
        background:
            linear-gradient(rgba(118, 139, 174, 0.055) 1px, transparent 1px),
            linear-gradient(90deg, rgba(118, 139, 174, 0.055) 1px, transparent 1px),
            radial-gradient(circle at 50% 100%, rgba(228, 170, 36, 0.12), transparent 28rem),
            #0b1018 !important;
        background-size: 34px 34px, 34px 34px, auto, auto !important;
    }
    .sr-auth-login-shell { display: block; min-height: 100vh; background: transparent; }
    .sr-auth-login-intro { display: none; }
    .sr-auth-login-form-panel { min-height: 100vh; max-height: none; justify-content: space-between; padding: 32px 20px 20px; background: transparent; }
    .sr-auth-login-form-wrap { width: min(100%, 420px); margin: 0 auto; }
    .sr-auth-login-shell--long .sr-auth-login-form-wrap { margin: 0 auto; padding: 0; }
    .sr-auth-mobile-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
    .sr-auth-mobile-brand img { width: 172px; height: auto; }
    .sr-auth-mobile-brand span { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); color: #e9b127; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
    .sr-auth-mobile-footer { display: block; margin-top: 34px; color: #5f718e; font-size: .64rem; text-align: center; }
}
@media (max-width: 480px) {
    .sr-auth-grid-2 { grid-template-columns: 1fr; }
    .sr-auth-password-generate-row { grid-template-columns: 1fr; }
    .sr-auth-password-generate-row .sr-auth-secondary-button { width: 100%; }
    .sr-auth-recovery-grid { grid-template-columns: 1fr; }
    .sr-auth-secondary-actions { align-items: stretch; flex-direction: column; }
    .sr-auth-secondary-actions form, .sr-auth-secondary-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .sr-auth-login-button, .sr-auth-control, .sr-invite-strength-track > span { transition: none !important; }
}
