/* 2026-11-14: approved mobile ordering and registration layout only. */
.tq-home .home-mobile-navigation{display:none}
.tq-home .home-auth.tq-glass{background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.035)),rgba(16,27,48,.35)!important;-webkit-backdrop-filter:saturate(180%) blur(40px)!important;backdrop-filter:saturate(180%) blur(40px)!important;border:.5px solid rgba(255,255,255,.28)!important;border-radius:24px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.23),inset 0 -1px 0 rgba(255,255,255,.035),0 18px 54px rgba(0,0,0,.22)!important;box-sizing:border-box;scroll-margin-top:76px}
.tq-home .home-auth h1,.tq-home .home-auth h2{overflow-wrap:anywhere}
.tq-home .home-auth *{box-sizing:border-box;min-width:0}
.tq-home .home-auth .login-card>h1{margin:0 0 10px}
.tq-home .home-auth .auth-subtitle{margin:0 0 18px;font-size:13px;line-height:1.6}
.tq-home .home-auth form.stack{gap:12px}
.tq-home .home-auth form.stack>label:not(.auth-consent){display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.5;margin:0!important}
.tq-home .home-auth input:not([type=checkbox]){width:100%;height:44px;min-height:44px;padding:10px 12px;font-size:16px;line-height:22px}
.tq-home .home-auth .auth-password{position:relative;display:flex;align-items:center;width:100%}
.tq-home .home-auth .auth-password input{padding-right:58px}
.tq-home .home-auth .auth-password button{position:absolute;right:6px;top:3px;bottom:3px;padding:0 8px;min-height:36px;height:auto;width:auto;font-size:12px;border:0}
.tq-home .home-auth .login-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:3px 0 0}
.tq-home .home-auth .login-actions>button{min-height:44px;flex:1;white-space:normal;overflow-wrap:anywhere}
.tq-home .home-auth .auth-help{display:block;min-height:36px;height:auto;margin:8px auto 0;padding:6px 12px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.tq-home .home-auth .auth-contact{padding:12px 14px!important;border-radius:14px!important;line-height:1.65;font-size:12px;overflow-wrap:anywhere}
.tq-home .home-auth .auth-contact p{margin:5px 0 0;text-align:left!important;line-height:1.65}
.tq-home .home-auth.is-register{width:480px;top:76px;padding:24px!important}
.tq-home .auth-register .auth-register-intro{margin-bottom:16px}
.tq-home .auth-register form.stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.tq-home .auth-register form.stack>p,.tq-home .auth-register form.stack>.auth-consent,.tq-home .auth-register .login-actions{grid-column:1/-1}
.tq-home .auth-register form.stack>p{margin:0;font-size:12px;line-height:1.65;text-align:left}
.tq-home .home-auth .auth-consent{display:flex!important;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;margin:2px 0}
.tq-home .home-auth .auth-consent input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px;margin:3px 0 0;padding:0;box-shadow:none!important;accent-color:#dcc18b}
.tq-home .home-auth .auth-consent span{overflow-wrap:anywhere;flex:1}
.tq-home .home-auth .auth-consent a{color:#e3c88f;text-decoration:underline}
@media(min-width:1101px){.tq-home .home-hero:has(.home-auth.is-register){display:grid!important;grid-template-columns:minmax(0,1fr) 480px;gap:40px;padding:76px max(48px,calc(50% - 660px)) 340px!important;min-height:1120px}.tq-home .home-hero:has(.home-auth.is-register) .home-pitch{max-width:570px;margin:0;padding-top:14px}.tq-home .home-auth.is-register{position:relative!important;right:auto;top:auto;width:100%;align-self:start}}
@media(min-width:761px) and (max-width:1100px){.tq-home .home-auth.is-register{top:auto;max-width:calc(100% - 48px);margin:32px auto 0!important}}
@media(max-width:760px){
 .consumer-site.tq-home .home-header.tq-glass-nav{height:60px!important;min-height:60px;padding:8px 18px!important;display:flex;flex-wrap:nowrap!important;gap:12px;position:relative;align-items:center}
 .consumer-site.tq-home .home-header>.home-managed-info,.consumer-site.tq-home .home-header>nav{display:none!important}
 .tq-home .home-header .home-brand{margin:0;flex:1}
 .tq-home .home-header .home-brand strong{font-size:26px}
 .tq-home .home-header-actions{display:flex;gap:8px;margin-left:auto;flex-shrink:0}
 .tq-home .home-header .tq-btn.sm{height:34px!important;min-height:34px!important;font-size:12px!important;padding:0 13px!important}
 .consumer-site.tq-home .home-hero.tq-hero{display:flex!important;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:16px 18px 40px!important;overflow:visible}
 .tq-home .home-pitch{display:contents}
 .tq-home .home-pitch h1{order:1;position:relative;z-index:3;font-size:36px;line-height:1.14;letter-spacing:4px;margin:0 0 16px;text-align:left}
 .tq-home .home-pitch .home-eyebrow,.tq-home .home-pitch .home-hero-actions{display:none!important}
 .tq-home .home-auth,.tq-home .home-auth.is-register{order:2;position:relative!important;left:auto;right:auto;top:auto;width:100%;max-width:100%;margin:0!important;padding:20px!important;scroll-margin-top:12px}
 .tq-home .home-auth h1,.tq-home .home-auth h2{font-size:27px;letter-spacing:4px;line-height:1.3}
 .tq-home .home-auth .auth-subtitle{margin-bottom:14px}
 .tq-home .home-pitch .home-description{order:3;z-index:3;position:relative;margin:22px 2px 0;max-width:none;font-size:14px;line-height:1.85}
 .tq-home .home-mobile-navigation{order:4;display:block;position:relative;z-index:3;margin:20px 0 0;padding:14px 0;border-block:.5px solid rgba(255,255,255,.12)}
 .tq-home .home-mobile-navigation nav{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px}
 .tq-home .home-mobile-navigation a{color:#b5bfce;text-decoration:none;line-height:1.7}
 .tq-home .tq-bagua{order:5;position:relative;left:auto;bottom:auto;max-width:100%;margin:64px 0 0;overflow-x:auto}
 .tq-home .tq-glow-luopan{top:110px;left:0;right:auto;width:100%;opacity:.5;pointer-events:none}
 .tq-home .auth-register form.stack{grid-template-columns:minmax(0,1fr);gap:12px}
 .tq-home .auth-register .auth-register-intro{margin-bottom:14px}
 .tq-home .home-auth.is-register{padding:20px!important}
}
@media(max-width:380px){.tq-home .home-pitch h1{font-size:34px;letter-spacing:4px;margin-bottom:14px}.consumer-site.tq-home .home-hero.tq-hero{padding-top:14px!important}.tq-home .home-auth{padding:18px!important}.tq-home .home-auth form.stack{gap:10px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.tq-home .home-auth.tq-glass{background:rgba(16,27,48,.94)!important}}

/* Stage 2 copy wiring: long show/hide labels retain the existing borderless inset
   affordance, but must never cover input text or escape the field vertically. */
.tq-home .home-auth .auth-password button{bottom:auto;max-width:45%;min-height:38px;white-space:normal;overflow-wrap:anywhere}
.tq-home .home-auth .auth-password input{padding-right:max(58px,calc(var(--auth-toggle-width,44px) + 14px));min-height:max(44px,calc(var(--auth-toggle-height,38px) + 6px))}
