body.task-login {
    --df-text: #f4f8ff;
    --df-muted: #98aec5;
    --df-blue: #62aaff;
    --df-cyan: #43e0d0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--df-text);
    background: radial-gradient(circle at 7% 12%, rgba(67,224,208,.13), transparent 28rem), radial-gradient(circle at 92% 5%, rgba(140,103,255,.2), transparent 34rem), linear-gradient(145deg, #07111f 0%, #0b192c 50%, #06101d 100%);
}
body.task-login::before { position: fixed; inset: 0; pointer-events: none; content: ""; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
body.task-login #layout, body.task-login #layout-content, body.task-login .df-login-page { position: relative; width: 100%; min-width: 0; min-height: 100vh; height: auto; overflow: visible; background: transparent; }
.df-login-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); width: min(1160px,calc(100% - 48px)); min-height: 680px; margin: 0 auto; padding: clamp(34px,6vh,68px) 0; align-items: stretch; }
.df-story { display: flex; flex-direction: column; min-width: 0; padding: clamp(34px,5vw,70px); border: 1px solid rgba(146,190,226,.17); border-right: 0; border-radius: 28px 0 0 28px; background: linear-gradient(145deg,rgba(25,63,93,.38),rgba(10,26,46,.72)), radial-gradient(circle at 78% 24%,rgba(67,224,208,.14),transparent 22rem); box-shadow: 0 38px 100px rgba(0,0,0,.26); backdrop-filter: blur(20px); }
.df-brand-lockup { display: flex; align-items: center; gap: 14px; }
.df-brand-lockup #logo { width: 48px; height: 48px; margin: 0; object-fit: contain; filter: drop-shadow(0 0 18px rgba(67,224,208,.2)); }
.df-brand-lockup > div { display: grid; gap: 2px; }
.df-brand-lockup strong { color: #fff; font-size: .88rem; letter-spacing: .19em; }
.df-brand-lockup span { color: #88a8c3; font-size: .63rem; letter-spacing: .16em; }
.df-story-copy { margin: auto 0; padding: 56px 0; }
.df-kicker { display: inline-block; margin-bottom: 18px; color: var(--df-cyan); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.df-story-copy h2 { margin: 0; color: #fff; font-size: clamp(3rem,5.2vw,5.6rem); font-weight: 760; line-height: .98; letter-spacing: -.06em; }
.df-story-copy p { max-width: 480px; margin: 24px 0 0; color: #a8bed2; font-size: 1rem; line-height: 1.85; }
.df-trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.df-trust-grid > div { display: grid; gap: 4px; padding: 13px 14px; border: 1px solid rgba(146,190,226,.13); border-radius: 13px; background: rgba(255,255,255,.035); }
.df-trust-grid strong { color: #dcecff; font-size: .78rem; letter-spacing: .04em; }
.df-trust-grid span { color: #7890a7; font-size: .69rem; }
.df-login-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(34px,5vw,72px); border: 1px solid rgba(146,190,226,.19); border-radius: 0 28px 28px 0; background: rgba(7,19,34,.93); box-shadow: 35px 38px 100px rgba(0,0,0,.28); backdrop-filter: blur(24px); }
.df-mobile-brand { display: none; }
.df-form-heading > span { color: var(--df-blue); font-size: .7rem; font-weight: 750; letter-spacing: .16em; }
.df-form-heading h2 { margin: 10px 0 8px; color: #fff; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 730; letter-spacing: -.035em; }
.df-form-heading p { margin: 0 0 30px; color: var(--df-muted); font-size: .88rem; line-height: 1.6; }
.df-form-heading strong { color: #c7ddf2; font-weight: 600; }
.df-login-form, .df-login-form table, .df-login-form tbody, .df-login-form tr, .df-login-form td { display: block; width: 100%; }
.df-login-form table { margin: 0; }
.df-login-form tr { position: relative; margin-bottom: 17px; }
.df-login-form td.title { margin-bottom: 7px; color: #dbe7f3; font-size: .84rem; font-weight: 650; }
.df-login-form td.input { position: relative; }
.df-login-form input.form-control { width: 100%; height: 52px; padding: 0 15px; color: #f5f9ff; font-size: .95rem; border: 1px solid rgba(155,184,210,.26); border-radius: 13px; background: rgba(3,13,25,.76); box-shadow: none; transition: border-color .18s,box-shadow .18s,background .18s; }
.df-login-form input.form-control:hover { border-color: rgba(98,170,255,.55); }
.df-login-form input.form-control:focus { color: #fff; border-color: var(--df-cyan); background: rgba(4,16,29,.96); box-shadow: 0 0 0 4px rgba(67,224,208,.1); }
.df-login-form input.form-control::placeholder { color: #657b91; }
.df-password-wrap { position: relative; }
.df-password-wrap input.form-control { padding-right: 50px; }
.df-password-toggle { position: absolute; right: 7px; top: 7px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; color: #8fa7be; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.df-password-toggle:hover { color: #fff; background: rgba(255,255,255,.07); }
.df-password-toggle:focus-visible, .df-login-form input:focus-visible, .df-account-links a:focus-visible { outline: 3px solid rgba(67,224,208,.45); outline-offset: 2px; }
.df-login-form .formbuttons { margin: 5px 0 0; }
.df-login-form #rcmloginsubmit { width: 100%; min-height: 52px; margin: 0; color: #03121c; font-size: .95rem; font-weight: 760; border: 0; border-radius: 13px; background: linear-gradient(108deg,var(--df-cyan),#78bcff); box-shadow: 0 16px 36px rgba(67,224,208,.17); transition: transform .18s,filter .18s,box-shadow .18s; }
.df-login-form #rcmloginsubmit:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 20px 42px rgba(67,224,208,.23); }
.df-login-form #rcmloginsubmit[disabled] { opacity: .72; transform: none; cursor: wait; }
.df-account-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 21px; }
.df-account-links a { color: #a8c2db; font-size: .79rem; line-height: 1.4; }
.df-account-links a:hover { color: #fff; }
.df-account-links .primary-link { color: var(--df-cyan); font-weight: 700; }
.df-account-links a:last-child { grid-column: 1/-1; }
.df-security-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px; margin-top: 23px; color: #839bb1; font-size: .73rem; line-height: 1.5; border: 1px solid rgba(146,190,226,.12); border-radius: 12px; background: rgba(255,255,255,.025); }
.df-security-note > span { display: grid; flex: 0 0 19px; height: 19px; place-items: center; color: #052018; font-size: .7rem; font-weight: 900; border-radius: 50%; background: var(--df-cyan); }
.df-security-note p { margin: 0; }
.df-login-footer { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; margin-top: 24px; color: #667e94; font-size: .7rem; }
.df-login-footer a { color: #829db5; }
body.task-login #messagestack { z-index: 1000; }
body.task-login #messagestack .alert { border-radius: 12px; }
body.task-login #supportlink { display: none !important; }
@media (max-width: 880px) {
    .df-login-shell { grid-template-columns: 1fr; width: min(560px,calc(100% - 32px)); min-height: 100vh; align-content: center; }
    .df-story { display: none; }
    .df-login-card { border-radius: 24px; box-shadow: 0 32px 90px rgba(0,0,0,.32); }
    .df-mobile-brand { display: block; margin-bottom: 36px; color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .17em; }
    .df-mobile-brand span { color: var(--df-cyan); }
}
@media (max-width: 520px) {
    .df-login-shell { width: min(100% - 20px,560px); padding: 10px 0; }
    .df-login-card { min-height: calc(100vh - 20px); padding: 28px 22px; border-radius: 20px; }
    .df-mobile-brand { margin-bottom: auto; padding-bottom: 40px; }
    .df-login-footer { margin-top: auto; padding-top: 32px; }
    .df-account-links { grid-template-columns: 1fr; }
    .df-account-links a:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; animation: none !important; } }

