/* Patch 316 R2. Shared standalone sign-in and recovery presentation; signed-in themes are unchanged. */
html.dots-login-document,
html.dots-login-document body {
    height: auto;
    min-height: 100%;
    overflow: visible;
}
.auth.dots-login-page.dots-login-refresh {
    position: relative;
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    color-scheme: light;
    background:
        radial-gradient(ellipse at 88% 4%, #086eb4 0%, transparent 43%),
        radial-gradient(ellipse at 94% 96%, #087bc2 0%, transparent 45%),
        linear-gradient(125deg, #071d3e 0%, #06346a 47%, #003066 76%, #075e9d 100%);
}
/* Lightweight vector curves; all copy, controls and news remain native HTML. */
.dots-login-refresh::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1408 1056' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='top' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop stop-color='%23005b9e' stop-opacity='.08'/%3E%3Cstop offset='1' stop-color='%2300a8ed' stop-opacity='.48'/%3E%3C/linearGradient%3E%3ClinearGradient id='bottom' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%230075c4' stop-opacity='.12'/%3E%3Cstop offset='1' stop-color='%2306a9e8' stop-opacity='.56'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23top)' d='M990 0H1408C1160 51 928 142 771 273C705 329 652 388 596 461C726 246 859 111 990 0Z'/%3E%3Cpath fill='%23003b76' fill-opacity='.2' d='M1408 0V169C1109 181 861 281 596 461C771 238 1070 76 1408 0Z'/%3E%3Cpath fill='url(%23bottom)' d='M920 1056C1083 981 1227 943 1408 897V1056Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.dots-login-refresh .dots-login-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: clamp(22px, 3.6vh, 48px) clamp(24px, 4vw, 58px);
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: "intro form" "news form";
    align-items: center;
    align-content: center;
    gap: clamp(22px, 3.2vh, 38px) clamp(26px, 3.2vw, 46px);
}
.dots-login-refresh .dots-login-brand-panel {
    grid-area: intro;
    display: flex;
    min-height: 0;
    padding: 0 0 0 clamp(0px, 1.3vw, 18px);
    min-width: 0;
    justify-content: flex-start;
}
.dots-login-refresh .dots-login-brand {
    gap: clamp(10px, 1.3vw, 18px);
    margin: 0 0 clamp(22px, 2.6vw, 34px);
    flex-wrap: wrap;
    align-items: center;
    color: #fff;
    line-height: 1;
}
.dots-login-refresh .dots-login-brand img {
    display: block;
    width: clamp(47px, 5.2vw, 74px);
    height: auto;
    flex: none;
}
.dots-login-refresh .dots-login-brand strong {
    font-size: clamp(30px, 3.6vw, 50px);
    font-weight: 760;
    letter-spacing: -.045em;
}
.dots-login-refresh .dots-login-brand-name {
    padding-left: clamp(10px, 1.3vw, 18px);
    border-left: 3px solid #3cc6f4;
    font-size: clamp(21px, 2.7vw, 38px);
    font-weight: 650;
    letter-spacing: -.035em;
}
.dots-login-refresh .dots-login-brand-panel > h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(32px, 3.5vw, 50px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 750;
    text-wrap: balance;
}
.dots-login-refresh .dots-login-brand-panel > p {
    max-width: 720px;
    margin: 0;
    color: #f0f7ff;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.48;
    font-weight: 400;
}
.dots-login-refresh .dots-login-news {
    grid-area: news;
    width: 100%;
    min-width: 0;
    max-width: none;
    border: 1px solid rgba(178, 218, 249, .43);
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(7, 38, 73, .63), rgba(10, 52, 91, .62));
    box-shadow: 0 20px 45px rgba(0, 18, 45, .22);
    backdrop-filter: none;
}
.dots-login-refresh .dots-login-news-header {
    padding: clamp(16px, 1.8vw, 23px) clamp(18px, 2.2vw, 28px);
    border-bottom-color: rgba(161, 203, 237, .24);
    gap: 12px;
}
.dots-login-refresh .dots-login-news-kicker {
    margin-bottom: 5px;
    color: #83dbf8;
    font-size: clamp(11px, 1vw, 14px);
    letter-spacing: .13em;
    font-weight: 750;
}
.dots-login-refresh .dots-login-news-header h2 {
    font-size: clamp(21px, 2vw, 29px);
    letter-spacing: -.025em;
    font-weight: 730;
}
.dots-login-refresh .dots-login-news-header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-color: rgba(205, 229, 250, .52);
}
.dots-login-refresh .dots-login-news-header a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .13);
}
.dots-login-refresh .dots-login-news-frame {
    height: clamp(200px, 25vh, 265px);
    padding: 0;
}
.dots-login-refresh .dots-login-form-panel {
    grid-area: form;
    align-self: center;
    min-height: 0;
    min-width: 0;
    padding: 0;
    background: none;
}
.dots-login-refresh .dots-login-card {
    width: 100%;
    max-width: 460px;
    padding: clamp(24px, 2.6vw, 36px) clamp(22px, 2.5vw, 35px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 23px;
    background: linear-gradient(145deg, #fff, #f4f7fb);
    color: #0c2344;
    box-shadow: 0 22px 52px rgba(0, 15, 45, .31);
}
.dots-login-refresh .dots-login-card h2 {
    margin: 0 0 8px;
    color: #0b2243;
    font-size: clamp(29px, 2.65vw, 38px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.16;
}
.dots-login-refresh .dots-login-form-intro {
    margin: 0 0 24px;
    color: #4e607a;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.45;
}
.dots-login-refresh .dots-login-card .form-group {
    margin: 0 0 16px;
}
.dots-login-refresh .dots-login-card .form-group > label {
    display: block;
    margin: 0 0 8px;
    color: #102746;
    font-size: 16px;
    font-weight: 700;
}
.dots-login-refresh .dots-login-input-wrap {
    position: relative;
    min-width: 0;
}
.dots-login-refresh .dots-login-input-icon {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #506989;
    pointer-events: none;
}
.dots-login-refresh .dots-login-card .form-control {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 10px 14px 10px 49px;
    border: 1px solid #a8b9ce !important;
    border-radius: 11px !important;
    background: #f8fafd;
    color: #102746;
    font-size: 16px;
    font-style: normal;
    box-shadow: none;
}
.dots-login-refresh .dots-login-card .form-control::placeholder {
    color: #64748b;
    font-style: normal;
    opacity: 1;
}
.dots-login-refresh .dots-login-card .form-control:focus {
    background: #fff;
    color: #102746;
    border-color: #0969bf !important;
    box-shadow: 0 0 0 3px rgba(9, 105, 191, .17);
    outline: none;
}
.dots-login-refresh .dots-login-password-wrap .form-control {
    padding-right: 51px;
}
.dots-login-refresh .dots-login-password-toggle {
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 5px;
    width: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #506989;
    border: 0;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
}
.dots-login-refresh .dots-login-password-toggle:hover { background: #e5eef9; color: #0757a6; }
.dots-login-refresh .dots-login-password-toggle[hidden],
.dots-login-refresh .dots-login-password-toggle .dots-login-eye-off,
.dots-login-refresh .dots-login-password-toggle.is-visible .dots-login-eye { display: none; }
.dots-login-refresh .dots-login-password-toggle.is-visible .dots-login-eye-off { display: block; }
.dots-login-refresh .dots-login-password-toggle svg { width: 23px; height: 23px; }
.dots-login-refresh .dots-login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 23px;
    min-height: 27px;
    color: #132b4a;
    font-size: 16px;
    cursor: pointer;
}
.dots-login-refresh .dots-login-remember input {
    width: 19px;
    height: 19px;
    flex: none;
    margin: 0;
    accent-color: #075ab1;
    cursor: pointer;
}
.dots-login-refresh .dots-login-card .dots-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 53px;
    padding: 8px 12px;
    background: #0758ac !important;
    border: 1px solid #0758ac !important;
    border-radius: 13px;
    color: #fff !important;
    font-size: 19px;
    font-weight: 720;
    line-height: 1.3;
    box-shadow: none;
}
.dots-login-refresh .dots-login-card .dots-login-submit:hover,
.dots-login-refresh .dots-login-card .dots-login-submit:active {
    background: #064789 !important;
    border-color: #064789 !important;
}
.dots-login-refresh .dots-login-submit svg,
.dots-login-refresh .dots-login-news-header a svg,
.dots-login-refresh .dots-login-recovery-button svg { width: 23px; height: 23px; flex: none; }
.dots-login-refresh .dots-login-news-header a svg { width: 17px; height: 17px; }
.dots-login-refresh .dots-login-recovery {
    margin-top: 23px;
}
.dots-login-refresh .dots-login-recovery-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 14px;
    color: #4e607a;
    font-size: 15px;
    text-align: center;
}
.dots-login-refresh .dots-login-recovery-divider::before,
.dots-login-refresh .dots-login-recovery-divider::after {
    content: "";
    flex: 1;
    min-width: 8px;
    height: 1px;
    background: #bfccdc;
}
.dots-login-refresh .dots-login-recovery-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    color: #0758ac;
    border: 1.5px solid #0758ac;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
}
.dots-login-refresh .dots-login-recovery-button:hover {
    color: #064789;
    border-color: #064789;
    background: #e8f2fd;
    text-decoration: none;
}
.dots-login-refresh .dots-login-support {
    margin: 19px auto 0;
    max-width: 320px;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: #344964;
}
.dots-login-refresh .dots-login-support a {
    color: #0758ac;
    text-decoration: underline;
    text-underline-offset: 2px;
    display: inline-block;
    max-width: 100%;
}
.dots-login-refresh .dots-login-support a:hover { color: #064789; }
.dots-login-refresh a:focus-visible,
.dots-login-refresh button:focus-visible,
.dots-login-refresh input[type="checkbox"]:focus-visible {
    outline: 3px solid #328add;
    outline-offset: 3px;
}
.dots-login-refresh .dots-login-news a:focus-visible { outline-color: #90e2ff; }
@media (max-height: 900px) and (min-width: 901px) {
    .dots-login-refresh .dots-login-shell { padding-top: clamp(20px, 3.5vh, 32px); padding-bottom: clamp(20px, 3.5vh, 32px); row-gap: 27px; }
    .dots-login-refresh .dots-login-brand { margin-bottom: 24px; }
    .dots-login-refresh .dots-login-news-header { padding-top: 19px; padding-bottom: 19px; }
    .dots-login-refresh .dots-login-news-frame { height: clamp(180px, 25vh, 234px); }
    .dots-login-refresh .dots-login-brand-panel > h1 { font-size: clamp(32px, 3.35vw, 48px); margin-bottom: 15px; }
    .dots-login-refresh .dots-login-brand-panel > p { font-size: clamp(16px, 1.4vw, 20px); }
    .dots-login-refresh .dots-login-card { padding-top: 29px; padding-bottom: 29px; }
    .dots-login-refresh .dots-login-form-intro { margin-bottom: 23px; }
    .dots-login-refresh .dots-login-card .form-group { margin-bottom: 15px; }
    .dots-login-refresh .dots-login-remember { margin-bottom: 20px; }
    .dots-login-refresh .dots-login-recovery { margin-top: 22px; }
    .dots-login-refresh .dots-login-support { margin-top: 18px; }
}
@media (max-height: 740px) and (min-width: 901px) {
    .dots-login-refresh .dots-login-shell { padding-top: 20px; padding-bottom: 20px; row-gap: 20px; }
    .dots-login-refresh .dots-login-brand { margin-bottom: 18px; }
    .dots-login-refresh .dots-login-brand-panel > h1 { font-size: clamp(30px, 3.35vw, 44px); margin-bottom: 12px; }
    .dots-login-refresh .dots-login-brand-panel > p { font-size: clamp(15px, 1.35vw, 19px); }
    .dots-login-refresh .dots-login-card { padding-top: 23px; padding-bottom: 23px; }
    .dots-login-refresh .dots-login-card h2 { font-size: clamp(28px, 2.6vw, 36px); }
    .dots-login-refresh .dots-login-form-intro { margin-bottom: 18px; }
    .dots-login-refresh .dots-login-card .form-group { margin-bottom: 12px; }
    .dots-login-refresh .dots-login-card .form-group > label { margin-bottom: 6px; }
    .dots-login-refresh .dots-login-card .form-control { height: 46px; min-height: 46px; }
    .dots-login-refresh .dots-login-remember { margin-bottom: 15px; }
    .dots-login-refresh .dots-login-card .dots-login-submit { height: 48px; font-size: 18px; }
    .dots-login-refresh .dots-login-recovery { margin-top: 16px; }
    .dots-login-refresh .dots-login-recovery-divider { margin-bottom: 12px; }
    .dots-login-refresh .dots-login-support { margin-top: 15px; }
}
@media (max-width: 900px) {
    .dots-login-refresh .dots-login-shell {
        max-width: 630px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "intro" "form" "news";
        gap: 24px;
        padding: 30px 24px 38px;
    }
    .dots-login-refresh .dots-login-brand-panel { padding: 0; }
    .dots-login-refresh .dots-login-brand { margin-bottom: 21px; }
    .dots-login-refresh .dots-login-brand strong { font-size: clamp(28px, 6.2vw, 43px); }
    .dots-login-refresh .dots-login-brand img { width: clamp(42px, 9.4vw, 60px); }
    .dots-login-refresh .dots-login-brand-name { font-size: clamp(18px, 4.6vw, 30px); }
    .dots-login-refresh .dots-login-brand-panel > h1 { font-size: clamp(29px, 5.6vw, 42px); margin-bottom: 12px; }
    .dots-login-refresh .dots-login-brand-panel > p { font-size: 16px; }
    .dots-login-refresh .dots-login-card { max-width: none; }
    .dots-login-refresh .dots-login-news-frame { height: 260px; }
}
@media (max-width: 380px) {
    .dots-login-refresh .dots-login-shell { padding: 24px 16px 32px; gap: 20px; }
    .dots-login-refresh .dots-login-card { padding: 25px 18px; }
    .dots-login-refresh .dots-login-brand { gap: 8px; }
    .dots-login-refresh .dots-login-brand-name { padding-left: 8px; }
    .dots-login-refresh .dots-login-news-header { padding: 16px 13px; }
    .dots-login-refresh .dots-login-news-header a { padding: 7px 10px; font-size: 12px; }
}
