







































/* Every public Sora surface, including body-level portals created at runtime. */
#swdAuth,
.swd-auth,
#swdApp,
.swd-app,
.swd-checkout-wallet,
.swd-mmenu,
.swd-afld-dd-portal,
.swd-floating-tooltip,
.swd-tdm-overlay,
body > [id^='swd_'],
body > [id^='swd-'],
body > [class^='swd-'],
body > [class*=' swd-'] {
    
    font-family: var(--font, var(--swd-auth-font, 'Vazirmatn RD', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif)) !important;
    font-size: var(--swd-fs, 15px) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-stretch: normal !important;
    font-variant: normal !important;
    font-variant-caps: normal !important;
    font-variant-numeric: normal !important;
    font-variant-ligatures: normal !important;
    font-feature-settings: normal !important;
    font-kerning: auto !important;
    font-optical-sizing: auto !important;
    font-synthesis: weight style !important;
    line-height: 1.6 !important;

    
    color: var(--text, #1e293b) !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-text-stroke: 0 !important;
    text-align: start !important;
    text-align-last: auto !important;
    text-decoration: none !important;
    text-decoration-thickness: auto !important;
    text-underline-offset: auto !important;
    text-emphasis: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: manual !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;

    
    list-style: none !important;
    list-style-image: none !important;
    list-style-position: outside !important;
    quotes: none !important;
    tab-size: 8 !important;
    orphans: 2 !important;
    widows: 2 !important;

    
    box-sizing: border-box !important;
    visibility: visible !important;
    cursor: auto !important;
    float: none !important;
    clear: none !important;
    vertical-align: baseline !important;

    


    -webkit-tap-highlight-color: transparent !important;
}



#swdAuth::before, #swdAuth::after,
.swd-auth::before, .swd-auth::after,
#swdApp::before, #swdApp::after,
.swd-app::before, .swd-app::after {
    content: none !important;
    display: none !important;
    position: static !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}




#swdAuth *,
#swdAuth *::before, #swdAuth *::after,
.swd-auth *,
.swd-auth *::before, .swd-auth *::after,
#swdApp *:where(:not(.swd-custom-page-body, .swd-custom-page-body *)),
.swd-app *:where(:not(.swd-custom-page-body, .swd-custom-page-body *)),
.swd-checkout-wallet *,
.swd-checkout-wallet *::before, .swd-checkout-wallet *::after,
.swd-mmenu *,
.swd-mmenu *::before, .swd-mmenu *::after,
.swd-afld-dd-portal *,
.swd-afld-dd-portal *::before, .swd-afld-dd-portal *::after,
.swd-floating-tooltip *,
.swd-floating-tooltip *::before, .swd-floating-tooltip *::after,
.swd-tdm-overlay *,
.swd-tdm-overlay *::before, .swd-tdm-overlay *::after,
body > [id^='swd_'] *,
body > [id^='swd_'] *::before, body > [id^='swd_'] *::after,
body > [id^='swd-'] *,
body > [id^='swd-'] *::before, body > [id^='swd-'] *::after,
body > [class^='swd-'] *,
body > [class^='swd-'] *::before, body > [class^='swd-'] *::after,
body > [class*=' swd-'] *,
body > [class*=' swd-'] *::before, body > [class*=' swd-'] *::after {
    box-sizing: border-box !important;
    font-family: var(--font, var(--swd-auth-font, 'Vazirmatn RD', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif)) !important;
    font-style: normal !important;
    float: none !important;
    clear: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    font-variant: normal !important;
    font-feature-settings: normal !important;
    font-stretch: normal !important;
    -webkit-text-stroke: 0 !important;
    text-rendering: auto !important;
    orphans: 2 !important;
    widows: 2 !important;
    quotes: none !important;
    hyphens: manual !important;
}













#swdAuth :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figure, figcaption, pre, code, hr, th, td, caption):not([class*='swd-'])::before,
#swdAuth :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figure, figcaption, pre, code, hr, th, td, caption):not([class*='swd-'])::after,
.swd-auth :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figure, figcaption, pre, code, hr, th, td, caption):not([class*='swd-'])::before,
.swd-auth :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figure, figcaption, pre, code, hr, th, td, caption):not([class*='swd-'])::after,
#swdApp :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figure, figcaption, pre, code, hr, th, td, caption):not([class*='swd-'])::before,
#swdApp :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figure, figcaption, pre, code, hr, th, td, caption):not([class*='swd-'])::after {
    content: none !important;
    display: none !important;
}



#swdAuth :where(ul, ol, li):not([class*='swd-']),
.swd-auth :where(ul, ol, li):not([class*='swd-']),
#swdApp :where(ul, ol):where(:not(.swd-custom-page-body, .swd-custom-page-body *)):not([class*='swd-']),
#swdApp :where(ul, ol):where(:not(.swd-custom-page-body, .swd-custom-page-body *)):not([class*='swd-']) > li:not([class*='swd-']) {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


#swdAuth ::selection,
.swd-auth ::selection,
#swdApp ::selection,
.swd-app ::selection {
    background: var(--swd-auth-brand, #7ae2cf) !important;
    color: var(--swd-auth-text-on-brand, #06231f) !important;
    text-shadow: none !important;
}





#swdAuth,
.swd-auth,
#swdApp,
.swd-app {
    isolation: isolate !important;
}





























.swd-auth :where(input, select, textarea):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: var(--fs-auth-input, 15px) !important;
    font-weight: var(--fw-auth-input, 600) !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--swd-auth-input-border, rgba(255, 255, 255, 0.12)) !important;
    background: var(--swd-auth-input-bg, rgba(255, 255, 255, 0.05)) !important;
    color: var(--swd-auth-input-text, var(--swd-auth-text, #123)) !important;
}
.swd-auth :where(input):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    padding: var(--swd-auth-input-pt, 24px) 16px 5px !important;
}





.swd-auth :where(.swd-auth-field--pass input):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    padding-left: 46px !important;
}

.swd-auth :where(.swd-auth-field--ident input):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    padding-left: 48px !important;
}



.swd-auth :where(.swd-auth-field--ident.swd-auth-quick-compact input):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    padding: 0 16px 0 52px !important;
    line-height: 52px !important;
}

.swd-auth :where(.swd-auth-field--ident.swd-auth-quick-compact .swd-auth-smart-ident-avatar:not([hidden]) ~ input):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    padding-right: calc(var(--swd-auth-ql-avatar-size, 32px) + 20px) !important;
}

.swd-auth :where(.swd-auth-field--ident.swd-auth-quick-compact input):not([class*='swd-']):not([type='checkbox']):not([type='radio']) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 52px !important;
}
.swd-auth :where(input, select, textarea):not([class*='swd-']):not([type='checkbox']):not([type='radio']):hover {
    border-color: var(--swd-auth-input-border-hover, color-mix(in srgb, var(--swd-auth-brand, #7ae2cf) 50%, var(--swd-auth-input-border, rgba(255, 255, 255, 0.12)))) !important;
}
.swd-auth :where(input, select, textarea):not([class*='swd-']):not([type='checkbox']):not([type='radio']):focus,
.swd-auth :where(input, select, textarea):not([class*='swd-']):not([type='checkbox']):not([type='radio']):active {
    border-color: var(--swd-auth-input-border-focus, var(--swd-auth-brand, #7ae2cf)) !important;
    background: var(--swd-auth-input-bg-focus, var(--swd-auth-input-bg, rgba(255, 255, 255, 0.05))) !important;
    color: var(--swd-auth-input-focus, var(--swd-auth-input-text, var(--swd-auth-text, #123))) !important;
}






.swd-auth :where(.swd-auth-smart[data-smart-step="login"] .swd-auth-field--ident input):not([class*='swd-']):not([type='checkbox']):not([type='radio']):not([type='submit']),
.swd-auth :where(.swd-auth-field--ident.swd-auth-quick-compact input):not([class*='swd-']):not([type='checkbox']):not([type='radio']):not([type='submit']) {
    border-color: transparent !important;
}


.swd-auth .swd-auth-head h2 {
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: inherit !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: var(--fs-auth-title, 24px) !important;
    font-weight: var(--fw-auth-title, 800) !important;
    color: var(--text) !important;
}
.swd-auth .swd-auth-head p {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: inherit !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: var(--fs-auth-body, 14px) !important;
    font-weight: var(--fw-auth-body, 600) !important;
    color: var(--swd-auth-sub, color-mix(in srgb, var(--text-muted) 50%, transparent)) !important;
}


.swd-auth :where(.swd-auth-submit, .swd-auth-passkey, .swd-auth-smart-send-code-btn, .swd-auth-tab) {
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    border-width: 0 !important;
    border-style: none !important;
}
.swd-auth .swd-auth-tab {
    border-radius: revert !important;
    background: transparent !important;
    color: var(--swd-auth-tab, color-mix(in srgb, var(--text-muted) 45%, transparent)) !important;
    font-size: var(--fs-auth-tab, 14px) !important;
    font-weight: var(--fw-auth-tab, 700) !important;
    padding: 11px 0 !important;
}
.swd-auth .swd-auth-tab.is-active {
    color: var(--swd-auth-tab-active-text, #000000) !important;
}
.swd-auth .swd-auth-submit {
    border-radius: var(--swd-auth-element-radius, 14px) !important;
    background: linear-gradient(135deg, var(--swd-auth-brand, #7ae2cf), var(--swd-auth-brand-deep, #5cb8a3)) !important;
    color: var(--text-on-brand) !important;
    font-size: var(--fs-auth-button, 15px) !important;
    font-weight: var(--fw-auth-button, 800) !important;
    padding: revert !important;
}
.swd-auth .swd-auth-submit:hover {
    background: var(--swd-auth-submit-hover-bg, linear-gradient(135deg, var(--swd-auth-brand, #7ae2cf), var(--swd-auth-brand-deep, #5cb8a3))) !important;
    color: var(--swd-auth-submit-hover-text, var(--text-on-brand)) !important;
}
.swd-auth :where(.swd-auth-otp-send, .swd-auth-otp-resend) {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--swd-auth-brand, #7ae2cf) !important;
    border-radius: var(--swd-auth-element-radius, 14px) !important;
    background: transparent !important;
    color: var(--swd-auth-brand, #7ae2cf) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    padding: revert !important;
}
.swd-auth .swd-auth-otp-send {
    font-size: var(--fs-auth-otp-send, 15px) !important;
    font-weight: var(--fw-auth-otp-send, 700) !important;
}
.swd-auth .swd-auth-otp-resend {
    font-size: var(--fs-auth-otp-resend, 13px) !important;
    font-weight: var(--fw-auth-otp-resend, 600) !important;
}
.swd-auth :where(.swd-auth-otp-send, .swd-auth-otp-resend):hover:not(:disabled) {
    background: var(--swd-auth-input-bg-focus, rgba(255, 255, 255, 0.07)) !important;
}
.swd-auth .swd-auth-passkey {
    border-radius: var(--swd-auth-element-radius, 14px) !important;
    background: var(--swd-auth-passkey-bg, linear-gradient(135deg, var(--swd-auth-brand, #7ae2cf), var(--swd-auth-brand-deep, #5cb8a3))) !important;
    color: var(--swd-auth-passkey-text, var(--text-on-brand)) !important;
    font-size: var(--fs-auth-passkey-btn, 15px) !important;
    font-weight: var(--fw-auth-passkey-btn, 700) !important;
    padding: 0 18px !important;
}
.swd-auth .swd-auth-passkey:hover {
    background: var(--swd-auth-passkey-bg-hover, var(--swd-auth-passkey-bg, linear-gradient(135deg, var(--swd-auth-brand, #7ae2cf), var(--swd-auth-brand-deep, #5cb8a3)))) !important;
    color: var(--swd-auth-passkey-text-hover, var(--swd-auth-passkey-text, var(--text-on-brand))) !important;
}
@media (max-width: 480px) {
    .swd-auth .swd-auth-passkey {
        padding: 0 14px !important;
        font-size: calc(var(--fs-auth-passkey-btn, 15px) * 0.87) !important;
    }
}



.swd-auth :where(.swd-auth-smart-ident-edit) {
    border: 0 !important;
    padding: revert !important;
    border-radius: var(--swd-auth-ident-icon-radius, 35%) !important;
    background: var(--swd-auth-ident-icon-bg, rgba(255, 255, 255, 0.15)) !important;
    color: var(--swd-auth-ident-edit-icon, #ffffff) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: revert !important;
}
.swd-auth :where(.swd-auth-smart-ident-edit:hover) {
    background: var(--swd-auth-ident-icon-bg-hover, #ffffff) !important;
    color: var(--swd-auth-ident-edit-icon-hover, #000000) !important;
}



.swd-auth :where(.swd-auth-smart-back-link,
                 .swd-auth-form[data-register-mode="otp"] .swd-auth-change-method) {
    border: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--swd-auth-text-muted, #64748b) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: calc(var(--fs-auth-label, 14px) * 0.9) !important;
    font-weight: var(--fw-auth-label, 600) !important;
}
.swd-auth :where(.swd-auth-smart-back-link:hover,
                 .swd-auth-form[data-register-mode="otp"] .swd-auth-change-method:hover) {
    background: var(--brand-soft) !important;
    color: var(--swd-auth-brand, #7ae2cf) !important;
}



.swd-auth :where(.swd-otp-digit) {
    border-width: 1.5px !important;
    border-style: solid !important;
    border-color: var(--swd-auth-otp-border, var(--swd-auth-input-border, rgba(255, 255, 255, 0.12))) !important;
    border-radius: var(--swd-auth-otp-radius, 14px) !important;
    background: var(--swd-auth-otp-bg, var(--swd-auth-input-bg, rgba(255, 255, 255, 0.05))) !important;
    color: var(--swd-auth-text, #123) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: var(--fs-auth-otp-digit, 26px) !important;
    font-weight: var(--fw-auth-otp-digit, 800) !important;
}
.swd-auth :where(.swd-auth-smart .swd-otp-digit) {
    border-radius: var(--swd-auth-otp-radius, 16px) !important;
    font-size: calc(var(--fs-auth-otp-digit, 26px) * 1.077) !important;
}
.swd-auth :where(.swd-otp-digit:hover) {
    border-color: var(--swd-auth-input-border-hover, color-mix(in srgb, var(--swd-auth-brand, #7ae2cf) 50%, var(--swd-auth-otp-border, var(--swd-auth-input-border, rgba(255, 255, 255, 0.12))))) !important;
}
.swd-auth :where(.swd-otp-digit:focus, .swd-otp-digit:active) {
    border-color: var(--swd-auth-input-border-focus, var(--swd-auth-brand, #7ae2cf)) !important;
}
.swd-auth :where(.swd-otp-digit.is-filled) {
    border-color: color-mix(in srgb, var(--swd-auth-brand, #7ae2cf) 60%, var(--swd-auth-otp-border, var(--swd-auth-input-border, rgba(255, 255, 255, 0.12)))) !important;
    background: color-mix(in srgb, var(--swd-auth-brand, #7ae2cf) 8%, var(--swd-auth-otp-bg, var(--swd-auth-input-bg, rgba(255, 255, 255, 0.05)))) !important;
    color: var(--swd-auth-brand, #7ae2cf) !important;
}
.swd-auth :where(.swd-auth-otp-boxes.is-complete .swd-otp-digit) {
    border-color: var(--swd-auth-brand, #7ae2cf) !important;
}
.swd-auth :where(.swd-auth-otp-boxes.is-error .swd-otp-digit) {
    border-color: var(--swd-auth-error-color, #ef4444) !important;
}
@media (max-width: 480px) {
    .swd-auth :where(.swd-otp-digit) {
        font-size: calc(var(--fs-auth-otp-digit, 26px) * 0.846) !important;
    }
    .swd-auth :where(.swd-auth-smart .swd-otp-digit) {
        font-size: calc(var(--fs-auth-otp-digit, 26px) * 0.923) !important;
    }
}


.swd-auth :where(.swd-pass-toggle) {
    background: transparent !important;
    border-width: 0 !important;
    border-style: none !important;
    padding: 6px !important;
    border-radius: revert !important;
    color: var(--swd-auth-eye-icon, var(--swd-auth-brand, #7ae2cf)) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: revert !important;
    font-weight: revert !important;
}
.swd-auth :where(.swd-pass-toggle:hover) {
    color: var(--swd-auth-eye-icon-hover, var(--swd-auth-brand, #7ae2cf)) !important;
}


.swd-auth :where(.swd-auth-via-btn) {
    padding: 0 10px 0 0 !important;
    color: var(--swd-auth-via-text, #ffffff) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
}
.swd-auth--matte-light :where(.swd-auth-via-btn) {
    color: var(--swd-auth-via-text, #0a0f1a) !important;
}
.swd-auth :where(.swd-auth-via-btn:hover) {
    color: var(--swd-auth-brand, #7ae2cf) !important;
}


.swd-auth :where(.swd-auth-via-item) {
    border-width: 0 !important;
    border-style: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 12px !important;
    color: var(--swd-auth-dropdown-text, var(--swd-auth-text, #ffffff)) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: revert !important;
    font-weight: revert !important;
}
.swd-auth :where(.swd-auth-via-item:hover, .swd-auth-via-item:focus-visible, .swd-auth-via-item.is-active) {
    background: var(--swd-auth-dropdown-hover-bg, color-mix(in srgb, var(--swd-auth-brand, #7ae2cf) 10%, transparent)) !important;
    background-image: none !important;
    color: var(--swd-auth-dropdown-hover-text, var(--swd-auth-brand, #7ae2cf)) !important;
}
.swd-auth :where(.swd-auth-via-menu, .swd-auth-smart-dropdown) {
    background: var(--swd-auth-dropdown-bg, rgba(255, 255, 255, 0.92)) !important;
    background-image: none !important;
    box-shadow: none !important;
}
.swd-auth :where(.swd-auth-smart-dropdown-item) {
    border-width: 0 !important;
    border-style: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 12px !important;
    color: var(--swd-auth-dropdown-text, var(--swd-auth-text, #ffffff)) !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: revert !important;
    font-weight: revert !important;
}
.swd-auth :where(.swd-auth-smart-dropdown-item:hover, .swd-auth-smart-dropdown-item:focus-visible, .swd-auth-smart-dropdown-item.is-active) {
    background: var(--swd-auth-dropdown-hover-bg, color-mix(in srgb, var(--swd-auth-brand, #7ae2cf) 10%, transparent)) !important;
    background-image: none !important;
    color: var(--swd-auth-dropdown-hover-text, var(--swd-auth-brand, #7ae2cf)) !important;
}
.swd-auth--matte-light :where(.swd-auth-via-item) {
    color: var(--swd-auth-dropdown-text, #0f1729) !important;
}
.swd-auth--matte-light :where(.swd-auth-via-item:hover, .swd-auth-via-item:focus-visible) {
    color: var(--swd-auth-dropdown-hover-text, var(--swd-auth-brand, #7ae2cf)) !important;
}


.swd-auth :where(.swd-auth-remember input[type='checkbox'], .swd-auth-trust-device input[type='checkbox']) {
    width: 20px !important;
    height: 20px !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: color-mix(in srgb, var(--text-muted) 20%, transparent) !important;
    border-radius: 6px !important;
    background: var(--swd-auth-input-bg, rgba(255, 255, 255, 0.05)) !important;
    padding: revert !important;
    font-family: var(--swd-auth-font, var(--font, 'Vazirmatn RD', system-ui, sans-serif)) !important;
    font-size: revert !important;
    font-weight: revert !important;
    color: revert !important;
}
.swd-auth :where(.swd-auth-remember input[type='checkbox']:checked, .swd-auth-trust-device input[type='checkbox']:checked) {
    background: linear-gradient(135deg, var(--swd-auth-brand, #7ae2cf), var(--swd-auth-brand-deep, #5cb8a3)) !important;
    border-color: var(--swd-auth-brand, #7ae2cf) !important;
}

/*
 * Component seal
 *
 * The generic reset above prevents inherited theme typography from leaking in.
 * This final, ID-scoped section also protects layout properties that themes
 * commonly set directly on buttons, links and form controls (often with
 * broad selectors such as .content a, button or input).  It deliberately
 * targets only Sora's structural classes so custom page content is untouched.
 */

/* Dashboard navigation: keep every item in the intended RTL start alignment. */
html body #swdApp,
html body .swd-app {
    direction: rtl !important;
    text-align: right !important;
}

@media (min-width: 981px) {
    html body #swdApp .swd-nav,
    html body .swd-app .swd-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        align-content: flex-start !important;
        justify-content: flex-start !important;
        direction: rtl !important;
        text-align: right !important;
        margin: 0 !important;
        min-width: 0 !important;
    }

    html body #swdApp .swd-nav > .swd-nav-item,
    html body #swdApp .swd-nav > .swd-nav-item.swd-nav-link,
    html body .swd-app .swd-nav > .swd-nav-item,
    html body .swd-app .swd-nav > .swd-nav-item.swd-nav-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        align-content: normal !important;
        justify-content: flex-start !important;
        align-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
        direction: rtl !important;
        text-align: right !important;
        text-decoration: none !important;
        line-height: 1.6 !important;
    }

    html body #swdApp .swd-nav > .swd-nav-item > svg,
    html body #swdApp .swd-nav > .swd-nav-item > img,
    html body .swd-app .swd-nav > .swd-nav-item > svg,
    html body .swd-app .swd-nav > .swd-nav-item > img {
        flex: 0 0 auto !important;
        float: none !important;
        margin: 0 !important;
    }
}

/* Auth form primitives: retain the designed field geometry and RTL direction. */
html body #swdAuth,
html body .swd-auth {
    direction: rtl !important;
    text-align: right !important;
}

html body #swdAuth .swd-auth-card,
html body .swd-auth .swd-auth-card,
html body #swdAuth .swd-auth-form,
html body .swd-auth .swd-auth-form,
html body #swdAuth .swd-auth-field,
html body .swd-auth .swd-auth-field {
    box-sizing: border-box !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
}

html body #swdAuth .swd-auth-form.is-active,
html body .swd-auth .swd-auth-form.is-active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

html body #swdAuth .swd-auth-field,
html body .swd-auth .swd-auth-field {
    position: relative !important;
    text-align: right !important;
}

/* Native login/register inputs have no class; custom field controls keep their own rules. */
html body #swdAuth .swd-auth-field > input:not([class]):not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='file']),
html body .swd-auth .swd-auth-field > input:not([class]):not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='file']) {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: var(--swd-auth-input-height, 54px) !important;
    min-height: var(--swd-auth-input-height, 54px) !important;
    max-height: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: var(--swd-auth-input-pt, 24px) 16px 5px !important;
    line-height: 1.6 !important;
    direction: rtl !important;
    text-align: right !important;
    float: none !important;
}

html body #swdAuth .swd-auth-field--pass > input:not([class]),
html body .swd-auth .swd-auth-field--pass > input:not([class]) {
    padding-left: 46px !important;
}

html body #swdAuth .swd-auth-field--ident > input:not([class]),
html body .swd-auth .swd-auth-field--ident > input:not([class]) {
    padding-left: 48px !important;
}

html body #swdAuth .swd-auth-field--ident.swd-auth-quick-compact > input:not([class]),
html body .swd-auth .swd-auth-field--ident.swd-auth-quick-compact > input:not([class]) {
    padding: 0 16px 0 52px !important;
    line-height: 52px !important;
}

/* Lock the two absolute action icons to their designed physical left side. */
html body #swdAuth .swd-pass-toggle,
html body .swd-auth .swd-pass-toggle {
    position: absolute !important;
    inset: auto !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px !important;
    float: none !important;
    line-height: 0 !important;
    text-align: center !important;
    transform: translateY(-50%) !important;
}

html body #swdAuth .swd-auth-smart-ident-edit,
html body .swd-auth .swd-auth-smart-ident-edit {
    position: absolute !important;
    inset: auto !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    line-height: 0 !important;
    text-align: center !important;
    transform: translateY(-50%) !important;
}

html body #swdAuth .swd-auth-smart[data-smart-step='login'] .swd-auth-smart-ident-edit,
html body #swdAuth .swd-auth-field--ident.is-quick-login .swd-auth-smart-ident-edit,
html body .swd-auth .swd-auth-smart[data-smart-step='login'] .swd-auth-smart-ident-edit,
html body .swd-auth .swd-auth-field--ident.is-quick-login .swd-auth-smart-ident-edit {
    width: 32px !important;
    height: 32px !important;
}

html body #swdAuth .swd-pass-toggle svg,
html body .swd-auth .swd-pass-toggle svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    float: none !important;
}

html body #swdAuth .swd-auth-smart-ident-edit svg,
html body .swd-auth .swd-auth-smart-ident-edit svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    float: none !important;
}

html body #swdAuth .swd-auth-smart[data-smart-step='login'] .swd-auth-smart-ident-edit svg,
html body #swdAuth .swd-auth-field--ident.is-quick-login .swd-auth-smart-ident-edit svg,
html body .swd-auth .swd-auth-smart[data-smart-step='login'] .swd-auth-smart-ident-edit svg,
html body .swd-auth .swd-auth-field--ident.is-quick-login .swd-auth-smart-ident-edit svg {
    width: 14px !important;
    height: 14px !important;
}

/* Theme button rules cannot shrink or re-align Sora's primary auth actions. */
html body #swdAuth .swd-auth-submit,
html body #swdAuth .swd-auth-otp-send,
html body #swdAuth .swd-auth-otp-resend,
html body .swd-auth .swd-auth-submit,
html body .swd-auth .swd-auth-otp-send,
html body .swd-auth .swd-auth-otp-resend {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: none !important;
    margin: 0 !important;
    float: none !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

html body #swdAuth .swd-auth-submit,
html body .swd-auth .swd-auth-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
}

/* State rules: themes must never revive a hidden Sora control. */
html body #swdApp [hidden],
html body .swd-app [hidden],
html body #swdAuth [hidden],
html body .swd-auth [hidden],
html body .swd-checkout-wallet [hidden],
html body .swd-mmenu [hidden],
html body > [id^='swd_'][hidden],
html body > [id^='swd-'][hidden],
html body > [class^='swd-'][hidden],
html body > [class*=' swd-'][hidden] {
    display: none !important;
}

/* The identifier step is complete once login/register is shown. */
html body #swdAuth .swd-auth-smart[data-smart-step='login'] .swd-auth-smart-continue,
html body #swdAuth .swd-auth-smart[data-smart-step='register'] .swd-auth-smart-continue,
html body .swd-auth .swd-auth-smart[data-smart-step='login'] .swd-auth-smart-continue,
html body .swd-auth .swd-auth-smart[data-smart-step='register'] .swd-auth-smart-continue {
    display: none !important;
}

/* During account verification, replace the edit control with its dedicated spinner. */
html body #swdAuth .swd-auth-field--ident.is-checking .swd-auth-smart-ident-edit,
html body .swd-auth .swd-auth-field--ident.is-checking .swd-auth-smart-ident-edit {
    display: none !important;
}

/* The password step always restores the editable identifier presentation. */
html body #swdAuth .swd-auth-smart[data-smart-step='login'] .swd-auth-field--ident:not(.swd-auth-quick-compact) > input:not([class]),
html body .swd-auth .swd-auth-smart[data-smart-step='login'] .swd-auth-field--ident:not(.swd-auth-quick-compact) > input:not([class]) {
    padding: var(--swd-auth-input-pt, 24px) 16px 5px 52px !important;
    line-height: 1.4 !important;
}

html body #swdAuth .swd-auth-smart[data-smart-step='login'] .swd-auth-field--ident:not(.swd-auth-quick-compact) > label,
html body .swd-auth .swd-auth-smart[data-smart-step='login'] .swd-auth-field--ident:not(.swd-auth-quick-compact) > label {
    display: block !important;
    top: var(--swd-auth-label-top, 9px) !important;
    transform: translateY(0) !important;
    font-size: calc(var(--fs-auth-label, 14px) * 0.66) !important;
    color: var(--brand) !important;
    font-weight: var(--fw-auth-label, 600) !important;
}

/* A compact row exists only on the remembered-account identify step. */
html body #swdAuth .swd-auth-field--ident.swd-auth-quick-compact .swd-auth-smart-ident-avatar:not([hidden]) ~ input:not([class]),
html body .swd-auth .swd-auth-field--ident.swd-auth-quick-compact .swd-auth-smart-ident-avatar:not([hidden]) ~ input:not([class]) {
    padding-right: calc(var(--swd-auth-ql-avatar-size, 32px) + 20px) !important;
}

html body #swdAuth .swd-auth-field--ident.swd-auth-quick-compact > label,
html body .swd-auth .swd-auth-field--ident.swd-auth-quick-compact > label {
    display: none !important;
}

html body #swdApp .swd-sheba-box .swd-sheba-input.swd-input,
html body #swdApp .swd-sheba-box .swd-sheba-input.swd-input::placeholder,
html body .swd-app .swd-sheba-box .swd-sheba-input.swd-input,
html body .swd-app .swd-sheba-box .swd-sheba-input.swd-input::placeholder {
    letter-spacing:1px !important;
    word-spacing:7px !important;
}

@media (max-width:480px) {
    html body #swdApp .swd-sheba-box .swd-sheba-input.swd-input,
    html body #swdApp .swd-sheba-box .swd-sheba-input.swd-input::placeholder,
    html body .swd-app .swd-sheba-box .swd-sheba-input.swd-input,
    html body .swd-app .swd-sheba-box .swd-sheba-input.swd-input::placeholder {
        letter-spacing:.6px !important;
        word-spacing:5px !important;
    }
}

html body #swdApp[data-theme="dark"] a.swd-tracking-link-btn,
html body #swdApp[data-theme="dark"] a.swd-tracking-link-btn:visited,
html body #swdApp[data-theme="dark"] a.swd-tracking-link-btn:hover,
html body #swdApp[data-theme="dark"] a.swd-tracking-link-btn:focus-visible,
html body #swdApp[data-theme="dark"] .swd-referral-copy,
html body #swdApp[data-theme="dark"] .swd-referral-copy:hover:not(:disabled),
html body #swdApp[data-theme="dark"] .swd-referral-copy:focus-visible,
html body #swdApp[data-theme="dark"] .swd-step.is-active .swd-step-dot,
html body #swdApp[data-theme="dark"] .swd-step.is-current .swd-step-dot,
html body #swdApp[data-theme="dark"] .swd-settings-page .swd-bento h3 svg,
html body #swdApp[data-theme="dark"] .swd-sheet .swd-ti,
html body #swdApp[data-theme="dark"] .swd-sheet .swd-ti svg {
    color:var(--text) !important;
}
