body:has(.tq-login-shell) { background: #edf2ef; }
.fi-simple-main:has(.tq-login-shell) { max-width: 960px; padding: 0; margin: 40px 24px; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px #16372f14; overflow: hidden; }
.tq-login-shell { display: grid; grid-template-columns: .95fr 1.05fr; }
.tq-login-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; padding: 40px; background: #16372f; border-top: 4px solid #ffc20e; color: #d9e4dd; }
.tq-login-brand > a { display: block; width: 260px; max-width: 100%; }
.tq-login-brand img { display: block; width: 100%; height: auto; }
.tq-login-welcome > span { display: block; margin-bottom: 16px; color: #ffe08a; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.tq-login-welcome h2 { margin: 0 0 18px; color: #fff; font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.tq-login-welcome p { margin: 0; font-size: 14px; line-height: 1.8; }
.tq-login-brand-footer { padding-top: 20px; border-top: 1px solid #ffffff26; font-size: 11px; line-height: 1.6; }
.tq-login-form { padding: 48px 40px; min-width: 0; align-self: center; }
.tq-login-form .fi-simple-header { align-items: flex-start; }
.tq-login-form .fi-logo { display: none; }
.tq-login-form .fi-simple-header-heading { font-size: 26px; color: #16372f; text-align: left; }
.tq-login-form .fi-simple-header-subheading { text-align: left; font-size: 14px; line-height: 1.6; }
.tq-login-form .fi-input { min-height: 44px; font-size: 14px; }
.tq-login-form .fi-input-wrp { border-radius: 8px; }
.tq-login-form .fi-btn[type=submit] { min-height: 46px; background: #16372f; color: #fff; border-radius: 8px; }
.tq-login-form .fi-btn[type=submit]:hover { background: #245543; }
.tq-login-form .tq-login-back { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: #315b4b; font-size: 13px; font-weight: 600; text-decoration: none; }
.tq-login-back:hover { color: #237caf; }
.tq-login-shell a:focus-visible, .tq-login-shell button:focus-visible { outline: 2px solid #b78b00; outline-offset: 4px; }
.dark body:has(.tq-login-shell) { background: #091f19; }
.dark .fi-simple-main:has(.tq-login-shell) { background: #122b23; }
.dark .tq-login-form .fi-simple-header-heading { color: #fff; }
.dark .tq-login-form .fi-simple-header-subheading { color: #c9d7ce; }
.dark .tq-login-form .tq-login-back { color: #ffe08a; }
.dark .tq-login-form .fi-btn[type=submit] { background: #ffc20e; color: #16372f; }
@media (max-width: 767px) {
    .fi-simple-main:has(.tq-login-shell) { max-width: 480px; margin: 24px 16px; }
    .tq-login-shell { grid-template-columns: 1fr; }
    .tq-login-brand { padding: 24px; gap: 0; align-items: center; }
    .tq-login-brand > a { width: 220px; }
    .tq-login-welcome, .tq-login-brand-footer { display: none; }
    .tq-login-form { padding: 28px 24px; }
    .tq-login-form .fi-simple-header-heading { font-size: 24px; }
}
.dark .tq-login-form .fi-input-wrp { background: #1b392e; }
.dark .tq-login-form .fi-input { color: #fff; }
.dark .tq-login-form .fi-input::placeholder { color: #a6b9ae; }
.dark .tq-login-form .fi-fo-field-wrp-label { color: #e5eee8; }
