/* style94-lite-pages 0.1.4: migrated visual styles; auth and token logic remain Central Auth. */
:root{--s94-bg:#f4f5f7;--s94-card:#fff;--s94-text:#15171a;--s94-muted:#686d75;--s94-line:#dfe2e7;--s94-primary:#111;--s94-danger:#b42318;--s94-radius:16px;--s94-shadow:0 18px 60px rgba(16,24,40,.10)}
*{box-sizing:border-box}.style94-auth-page [hidden]{display:none!important}.style94-auth-page{margin:0;background:var(--s94-bg);color:var(--s94-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC",Roboto,Arial,sans-serif}.style94-shell{min-height:100vh;display:grid;place-items:center;padding:48px 20px}.style94-card{width:min(100%,520px);background:var(--s94-card);border:1px solid rgba(16,24,40,.08);border-radius:var(--s94-radius);box-shadow:var(--s94-shadow);padding:34px}.style94-brand-header{text-align:center;margin-bottom:22px}.style94-brand-logo{display:block;max-width:min(300px,80%);max-height:110px;width:auto;height:auto;object-fit:contain;margin:0 auto}.style94-lead,.style94-user-meta{text-align:center;color:var(--s94-muted);font-size:14px;line-height:1.65;margin:0 0 24px}.style94-user-greeting{text-align:center;font-size:22px;font-weight:700;margin:0 0 6px}.style94-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;background:#f2f3f5;border-radius:12px;padding:5px;margin-bottom:22px}.style94-tab{appearance:none;border:0;border-radius:9px;background:transparent;padding:11px 16px;font-size:15px;font-weight:700;cursor:pointer;color:var(--s94-muted)}.style94-tab.is-active{background:#fff;color:var(--s94-text);box-shadow:0 2px 10px rgba(16,24,40,.08)}.style94-panel[hidden]{display:none!important}.style94-alert{border-radius:10px;padding:12px 14px;margin:0 0 16px;font-size:14px;line-height:1.5;background:#fff4e5;border:1px solid #f7d394;color:#7a4c00}.style94-alert.is-error{background:#fff1f0;border-color:#f5b7b1;color:#8a1c13}.style94-alert.is-success{background:#ecfdf3;border-color:#a6e7bd;color:#126b35}.style94-alert-info{background:#eff6ff;border-color:#b8d7ff;color:#174a85}.style94-field{display:block;margin-bottom:17px}.style94-field>span:first-child{display:block;font-size:14px;font-weight:650;margin-bottom:8px}.style94-field input{width:100%;height:48px;border:1px solid var(--s94-line);border-radius:10px;padding:0 13px;background:#fff;color:var(--s94-text);font-size:16px;outline:none;transition:border-color .15s,box-shadow .15s}.style94-field input:focus{border-color:#777;box-shadow:0 0 0 3px rgba(17,17,17,.08)}.style94-field input:disabled{background:#f4f5f7;color:#777}.style94-password-wrap{position:relative;display:block}.style94-password-wrap input{padding-right:68px}.style94-eye{position:absolute;right:6px;top:6px;height:36px;padding:0 10px;border:0;background:transparent;color:var(--s94-muted);font-size:13px;cursor:pointer}.style94-actions{display:flex;gap:10px;margin-top:8px}.style94-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 16px;border-radius:10px;border:1px solid var(--s94-primary);font-size:15px;font-weight:700;text-decoration:none;cursor:pointer;transition:opacity .15s,transform .15s}.style94-btn:active{transform:translateY(1px)}.style94-btn:disabled{opacity:.55;cursor:not-allowed}.style94-btn-primary{background:var(--s94-primary);color:#fff}.style94-btn-secondary{background:#fff;color:var(--s94-primary)}.style94-btn-danger{border-color:var(--s94-danger);background:var(--s94-danger);color:#fff}.style94-actions .style94-btn{flex:1}.style94-full{width:100%}.style94-terms{display:flex;gap:9px;align-items:flex-start;font-size:14px;line-height:1.55;margin:0 0 18px}.style94-terms input{margin-top:4px}.style94-terms a{color:inherit}.style94-notes{font-size:13px;line-height:1.55;color:var(--s94-muted);border-top:1px solid var(--s94-line);margin-top:24px;padding-top:18px}.style94-notes p{margin:0 0 6px}.style94-account-links{display:grid;grid-template-columns:1fr;gap:10px}.style94-account-links a{display:flex;width:100%;min-height:46px;align-items:center;justify-content:center;border:1px solid var(--s94-line);border-radius:10px;color:var(--s94-text);font-weight:700;text-decoration:none;text-align:center;padding:8px}.style94-divider{height:1px;background:var(--s94-line);margin:26px 0}.style94-subtitle{font-size:20px;margin:0 0 18px}.style94-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.style94-logout{margin-top:12px}.style94-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;font-size:13px;color:var(--s94-muted);border-top:1px solid var(--s94-line);margin-top:26px;padding-top:18px}.style94-footer a{color:inherit;text-decoration:none}.style94-footer a:hover{text-decoration:underline}
@media(max-width:600px){.style94-shell{padding:20px 10px;place-items:start center}.style94-card{padding:26px 18px;border-radius:14px}.style94-actions{flex-direction:row}.style94-grid-two{grid-template-columns:1fr}.style94-account-links{grid-template-columns:1fr}}

/* PopupFrame SSO login used only inside an allow-listed client popup. */
.style94-auth-popup-frame{--s94-radius:8px;background:#fff}.style94-auth-popup-frame .style94-shell{min-height:100%;padding:0;display:block}.style94-auth-popup-frame .style94-card{width:100%;max-width:none;min-height:100%;padding:24px;border:0;border-radius:0;box-shadow:none}.style94-auth-popup-frame .style94-brand-header{margin-bottom:16px}.style94-auth-popup-frame .style94-brand-logo{max-height:72px}.style94-auth-popup-frame .style94-tabs{border-radius:8px}.style94-auth-popup-frame .style94-tab,.style94-auth-popup-frame .style94-alert,.style94-auth-popup-frame .style94-field input,.style94-auth-popup-frame .style94-btn,.style94-auth-popup-frame .style94-account-links a{border-radius:8px}.style94-auth-popup-frame .style94-field input{height:44px}.style94-auth-popup-frame .style94-btn,.style94-auth-popup-frame .style94-account-links a{min-height:44px}.style94-auth-popup-frame .style94-eye{top:4px;height:36px}.style94-auth-popup-frame .style94-footer{margin-top:20px}@media(max-width:600px){.style94-auth-popup-frame .style94-card{padding:20px 16px;border-radius:0}}

/* SW-001 0.1.4: clear, accessible signup entry; Central Auth alone controls registration. */
.style94-auth-page .style94-registration-invite{margin-top:24px;padding:20px;border:1px solid #cbdac7;border-radius:14px;background:#f1f6ed;display:flex;align-items:center;gap:16px;justify-content:space-between}
.style94-auth-page .style94-registration-invite h2,.style94-auth-page .style94-registration-heading h2{font-size:19px;font-weight:800;line-height:1.4;margin:0 0 7px;letter-spacing:-.02em;color:var(--s94-text)}
.style94-auth-page .style94-registration-invite p,.style94-auth-page .style94-registration-heading p{font-size:13px;line-height:1.75;color:var(--s94-muted);margin:0}
.style94-auth-page .style94-register-entry-button{appearance:none;flex-shrink:0;border:1px solid #213c2e;border-radius:100px;padding:10px 16px;min-height:44px;background:#213c2e;color:#fff;font-size:14px;font-weight:750;cursor:pointer}
.style94-auth-page .style94-register-entry-button:hover{background:#31543f}
.style94-auth-page .style94-register-entry-button:focus-visible{outline:3px solid #80a256;outline-offset:3px}
.style94-auth-page .style94-registration-heading{margin:0 0 22px}
.style94-auth-page .style94-registration-closed{margin-top:24px;border-radius:12px;border:1px solid var(--s94-line);background:#f6f7f7;padding:16px 18px;color:var(--s94-muted)}
.style94-auth-page .style94-registration-closed strong{display:block;font-size:14px;color:var(--s94-text);margin-bottom:5px}
.style94-auth-page .style94-registration-closed p{margin:0;font-size:13px;line-height:1.7}
@media(max-width:600px){.style94-auth-page .style94-registration-invite{flex-direction:column;align-items:stretch;padding:18px}.style94-auth-page .style94-register-entry-button{width:100%}}

/* SW-001 0.1.4 — restore the original Central Auth SSO visual hierarchy.
   Standalone card is the complete homepage; no site header/footer/hero styling. */
.style94-auth-page{min-height:100vh;background:#f4f5f7}
.style94-auth-page .style94-shell{min-height:100vh;min-height:100dvh;padding:48px 20px;display:grid;place-items:center}
.style94-auth-page .style94-card{max-width:520px;width:min(100%,520px);margin:auto;border-radius:16px;box-shadow:0 18px 60px rgba(16,24,40,.10)}
.style94-auth-page .s94l-auth-wordmark{display:inline-flex;align-items:baseline;justify-content:center;gap:9px;text-decoration:none;font-size:23px;letter-spacing:.14em;font-weight:850;color:#15171a;line-height:1.2}
.style94-auth-page .s94l-auth-wordmark span{font-size:43px;letter-spacing:-.14em}
.style94-auth-page .style94-brand-logo{object-fit:contain}
.style94-auth-page .style94-registration-invite{background:#f6f7f8;border-color:#dfe2e7}
.style94-auth-page .style94-register-entry-button{background:#15171a;border-color:#15171a}
.style94-auth-page .style94-register-entry-button:hover{background:#35383e}
.style94-auth-page .style94-registration-closed{background:#f6f7f8}
@media(max-width:600px){
  .style94-auth-page .style94-shell{padding:20px 12px;place-items:start center}
  .style94-auth-page .style94-card{margin:auto 0;max-width:none;border-radius:14px;padding:26px 18px}
}
.style94-auth-page.style94-auth-popup-frame .style94-shell{min-height:100%;padding:0;display:block}
.style94-auth-page.style94-auth-popup-frame .style94-card{margin:0;max-width:none;border-radius:0;padding:24px;box-shadow:none}

/* SW-001 0.1.5: existing /login/ gateway is passive Provider navigation. */
.style94-auth-page .style94-continue-consent-note{overflow-wrap:anywhere;line-height:1.7}
.style94-auth-page .style94-btn{max-width:100%;overflow-wrap:anywhere;text-align:center}
.style94-auth-page .style94-btn:focus-visible{outline:3px solid #777;outline-offset:3px}
@media(max-width:420px){
  .style94-auth-page.style94-auth-popup-frame .style94-card{padding:20px 14px}
  .style94-auth-page.style94-auth-popup-frame .style94-actions{flex-direction:row}
  .style94-auth-page.style94-auth-popup-frame .style94-registration-invite{flex-direction:column;align-items:stretch}
}

/* SW-001-3 0.1.6: keep Provider-approved iframe content fluid.
   This styles only the Central document; brand modal outer shell is untouched. */
.style94-auth-page .style94-card{min-width:0}
.style94-auth-page .style94-field,
.style94-auth-page .style94-form,
.style94-auth-page .style94-password-wrap{min-width:0}
.style94-auth-page .style94-registration-invite > div{min-width:0}
.style94-auth-page .style94-register-entry-button{max-width:100%}
.style94-auth-page .style94-brand-header{overflow-wrap:anywhere}
.style94-auth-page.style94-auth-popup-frame{min-width:0}
.style94-auth-page.style94-auth-popup-frame .style94-shell{min-width:0}
.style94-auth-page.style94-auth-popup-frame .style94-card{min-width:0}
.style94-auth-page.style94-auth-popup-frame .style94-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:360px){
  .style94-auth-page.style94-auth-popup-frame .style94-card{padding:18px 12px}
  .style94-auth-page.style94-auth-popup-frame .style94-tab{min-width:0;padding:10px 8px}
  .style94-auth-page.style94-auth-popup-frame .style94-registration-invite{padding:14px}
}

/* SW-001-3 0.1.7 real Hostinger iframe regression:
   the later standalone .style94-auth-page background rule previously
   overrode the earlier .style94-auth-popup-frame white background.
   Scope this to actual popup_frame presentation only; CSP remains Provider-owned. */
.style94-auth-page.style94-auth-popup-frame{background:#fff}

/* SW-001 0.1.12: match desktop side-by-side Login/OTP actions on both
   central mobile and brand popup_frame popup at narrow viewport widths. */
.style94-auth-page .style94-actions{display:flex;flex-direction:row;gap:10px;min-width:0}
.style94-auth-page .style94-actions>.style94-btn{flex:1 1 0;min-width:0;padding-inline:7px;white-space:nowrap}
@media(max-width:360px){.style94-auth-page .style94-actions{gap:7px}.style94-auth-page .style94-actions>.style94-btn{font-size:13px}}
/* Form panels switch in place; avoid unnecessary motion for reduced-motion users. */
@media(prefers-reduced-motion:no-preference){.style94-auth-page .style94-panel.is-active{animation:style94-auth-panel-in .16s ease-out}}
@keyframes style94-auth-panel-in{from{opacity:.7}to{opacity:1}}
