.woocommerce-account .content-area,.woocommerce-account .site-main,.woocommerce-account .woocommerce,.woocommerce-account .entry-content{overflow:visible}
#tsq-auth-app{max-width:100%;min-width:0}
.tsq-auth-shell{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:22px;align-items:stretch;max-width:100%;width:100%;margin:24px auto;padding:0;box-sizing:border-box;overflow:hidden}
.tsq-auth-shell,.tsq-auth-shell *{box-sizing:border-box}
.tsq-auth-panel{background:linear-gradient(160deg,var(--tsq-grad-start),var(--tsq-grad-end));color:var(--tsq-panel-text);border-radius:28px;padding:34px 28px;box-shadow:0 15px 45px rgba(8,17,49,.18);position:relative;overflow:hidden;min-width:0}
.tsq-auth-panel:after{content:"";position:absolute;right:-40px;bottom:-40px;width:180px;height:180px;background:radial-gradient(circle,rgba(255,255,255,.25),rgba(255,255,255,0));pointer-events:none}
.tsq-badge{display:inline-flex;padding:12px 18px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:13px;font-weight:700;letter-spacing:.02em}
.tsq-auth-panel h2{color:inherit!important;font-size:clamp(34px,5vw,52px);line-height:1.05;margin:24px 0 18px;word-break:break-word}
.tsq-auth-panel p{font-size:16px;line-height:1.85;opacity:.92;margin:0 0 24px}
.tsq-feature-list{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:18px}
.tsq-feature-list li{position:relative;padding-left:34px;font-size:16px;font-weight:700;word-break:break-word}
.tsq-feature-list li:before{content:"";position:absolute;left:0;top:7px;width:14px;height:14px;border-radius:50%;background:var(--tsq-bullet);box-shadow:0 0 0 5px rgba(31,218,116,.16)}
.tsq-auth-card{background:var(--tsq-right-bg,#fff);border:1px solid var(--tsq-card-border,rgba(16,24,40,.08));border-radius:28px;padding:30px 32px;box-shadow:0 10px 35px rgba(16,24,40,.05);min-width:0;max-width:100%;overflow:hidden}
.tsq-tabs{display:flex;gap:10px;margin-bottom:22px;flex-wrap:wrap}
.tsq-tab{border:1px solid rgba(16,24,40,.14);background:#fff;color:#0f172a;padding:14px 22px;border-radius:8px;font-weight:700;cursor:pointer;transition:.2s;max-width:100%}
.tsq-tab.is-active{background:var(--tsq-btn-bg);color:var(--tsq-btn-text);box-shadow:none}
.tsq-step{display:none;max-width:100%}
.tsq-step.is-active{display:block}
.tsq-auth-card h3{font-size:clamp(28px,4vw,34px);line-height:1.2;margin:0 0 8px;color:#132040;word-break:break-word}
.tsq-sub{font-size:16px;line-height:1.7;color:#455468;margin-bottom:22px}
.tsq-form{display:grid;gap:14px;max-width:100%}
.tsq-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tsq-form label{font-size:14px;font-weight:700;color:#0f172a}
.tsq-form input{width:100%;height:56px;border:1px solid var(--tsq-input-border,rgba(16,24,40,.14));border-radius:8px;padding:0 18px;font-size:18px;background:var(--tsq-input-bg,#fff);color:var(--tsq-input-text,#101828);box-shadow:none;max-width:100%}
.tsq-form input:focus{outline:none;border-color:var(--tsq-accent);box-shadow:0 0 0 4px rgba(124,58,237,.12)}
.tsq-btn{width:100%;height:58px;border:0;border-radius:8px;background:var(--tsq-btn-bg);color:var(--tsq-btn-text);font-size:18px;font-weight:800;cursor:pointer;transition:.18s}
.tsq-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
.tsq-message{font-size:14px;min-height:20px;color:#0f172a}
.tsq-message.is-error{color:#b42318}.tsq-message.is-success{color:#027a48}
.tsq-step-pill{display:inline-flex;border-radius:999px;padding:10px 14px;background:#f5f3ff;color:var(--tsq-accent);font-weight:700;font-size:13px;margin-bottom:16px}
.tsq-otp-boxes input{text-align:center;letter-spacing:.3em;font-size:32px;font-weight:800}
.tsq-inline-actions{display:flex;gap:12px;align-items:center;justify-content:flex-start;font-size:14px;color:#455468;flex-wrap:wrap}
.tsq-link-btn{background:none;border:0;padding:0;color:var(--tsq-accent);cursor:pointer;font-weight:700}.tsq-link-btn[disabled]{opacity:.45;cursor:not-allowed}
.tsq-hidden{display:none!important}
.tsq-trust-wrap{display:flex;align-items:flex-start;gap:10px;padding:10px 0 2px;color:#344054;font-size:14px;line-height:1.5}
.tsq-trust-wrap input{width:18px;height:18px;margin-top:2px;accent-color:var(--tsq-accent)}
.tsq-note{font-size:13px;color:#667085;margin-top:4px}
@media (max-width:1080px){.tsq-auth-shell{grid-template-columns:1fr}.tsq-auth-panel{order:2}.tsq-auth-card{order:1}}
@media (max-width:640px){.tsq-auth-card,.tsq-auth-panel{padding:24px;border-radius:24px}.tsq-grid-2{grid-template-columns:1fr}.tsq-auth-panel h2{font-size:30px}.tsq-auth-card h3{font-size:28px}.tsq-tabs{overflow:auto}.tsq-tab{white-space:nowrap;padding:12px 18px}.tsq-form input,.tsq-btn{height:54px;font-size:16px}.tsq-auth-shell{gap:16px}}

.tsq-sep{display:flex;align-items:center;gap:12px;color:#667085;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:6px 0}
.tsq-sep:before,.tsq-sep:after{content:"";height:1px;background:rgba(16,24,40,.12);flex:1}
.tsq-socials{display:grid;gap:12px;margin-bottom:18px}
.tsq-social-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:56px;border-radius:8px;border:1px solid rgba(16,24,40,.14);background:#fff;color:#101828;font-size:16px;font-weight:700;text-decoration:none;transition:.18s}
.tsq-social-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(16,24,40,.06)}
.tsq-social-btn .tsq-social-icon{width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
.tsq-social-google .tsq-social-icon{background:#fef3f2;color:#b42318}
.tsq-social-apple .tsq-social-icon{background:#f2f4f7;color:#101828}

.tsq-auth-shell.is-right-only{grid-template-columns:minmax(0,760px);justify-content:center}.tsq-auth-shell.is-right-only .tsq-auth-card{max-width:760px;margin:0 auto}

.tsq-auth-modal .tsq-auth-shell{margin:0}.tsq-auth-modal .tsq-auth-card,.tsq-auth-modal .tsq-auth-panel{box-shadow:none}

/* Premium UX v9.2 */
.tsq-btn.is-loading{opacity:.85;cursor:wait}
.tsq-btn[disabled]{opacity:.85;cursor:not-allowed}
.tsq-otp-boxes.is-enhanced{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.tsq-otp-boxes.is-enhanced .tsq-otp-digit{padding:0;text-align:center;font-size:28px;font-weight:800;letter-spacing:0;min-width:0}

@media (max-width:640px){
  .tsq-otp-boxes.is-enhanced{gap:8px}
  .tsq-otp-boxes.is-enhanced .tsq-otp-digit{font-size:24px;height:52px}
}


/* TSQ clean overrides */
.tsq-btn.is-loading{opacity:.85;cursor:wait}
.tsq-btn[disabled]{opacity:.85;cursor:not-allowed}
.tsq-btn:hover{background-color:#eabf00;color:#333}
.tsq-otp-boxes.is-enhanced{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.tsq-otp-boxes.is-enhanced .tsq-otp-digit{padding:0;text-align:center;font-size:28px;font-weight:800;letter-spacing:0;min-width:0}
@media (max-width:640px){
  .tsq-otp-boxes.is-enhanced{gap:8px}
  .tsq-otp-boxes.is-enhanced .tsq-otp-digit{font-size:24px;height:52px}
}


.tsq-tabs{width:100%;justify-content:center;}

.tsq-help-text{margin:8px 0 0;font-size:13px;line-height:1.45;color:#667085}
.tsq-optional-text{font-size:12px;font-weight:600;color:#667085}


/* Elite UX v10.5 */
.tsq-popup-inner #tsq-auth-app{padding: 5px !important;}
.tsq-tabs{width:100%;justify-content:center}
#tsq-otp-form{overflow:visible}
#tsq-resend-otp.is-disabled{opacity:.55;cursor:not-allowed;pointer-events:none}
#tsq-resend-timer{display:inline-flex;align-items:center;min-height:20px;margin-left:8px;font-weight:600;color:#667085}
.tsq-otp-boxes.is-enhanced .tsq-otp-digit{transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease}
.tsq-otp-boxes.is-enhanced .tsq-otp-digit:focus{transform:translateY(-1px)}
.tsq-shake{animation:tsqShake .46s ease}
.tsq-success-pulse .tsq-btn{animation:tsqSuccessPulse .75s ease}
@keyframes tsqShake{
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)}
  40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}
@keyframes tsqSuccessPulse{
  0%{transform:scale(1)}
  35%{transform:scale(1.02)}
  70%{transform:scale(.995)}
  100%{transform:scale(1)}
}
