/* PDF Nexora authentication overlays — independent of theme redesign. */
.nexora-account{display:flex;align-items:center;gap:9px;margin-left:auto;flex-shrink:0;font:inherit}.nexora-account-button{border:1px solid #bfd1ef;border-radius:999px;background:#f1f6ff;color:#1357b5;padding:10px 14px;font-family:inherit;font-weight:700;font-size:.83rem;line-height:1.25;cursor:pointer;white-space:nowrap}.nexora-account-button:hover{background:#e0eeff}.nexora-account #nexora-user-email{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#174270;font-size:.76rem}.nexora-auth-backdrop[hidden],.nexora-account [hidden],.nexora-auth-panel [hidden]{display:none!important}.nexora-auth-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(9,25,57,.58);display:grid;place-items:center;padding:18px;overflow-y:auto;backdrop-filter:blur(9px)}html.nexora-auth-open{overflow:hidden}.nexora-auth-panel{position:relative;width:min(100%,440px);max-height:min(95vh,820px);overflow-y:auto;border:1px solid #c4d9f1;border-radius:24px;background:#fff;color:#17304f;box-shadow:0 30px 100px #0a1a3e60;padding:28px 30px 23px;font-family:inherit}.nexora-auth-x{position:absolute;right:17px;top:13px;border:0;background:#ecf3ff;width:34px;height:34px;border-radius:50%;font-size:26px;line-height:1;cursor:pointer;color:#28558c}.nexora-auth-mark{display:inline-flex;align-items:center;color:#115ac9;font-size:.87rem;font-weight:900;letter-spacing:.08em}.nexora-auth-mark span{color:#e34f65;margin-left:4px}.nexora-auth-panel h2{margin:13px 0 8px;font-size:clamp(1.55rem,4vw,1.92rem);line-height:1.17;letter-spacing:-.04em;color:#102e59}.nexora-auth-sub{color:#526c87;font-size:.91rem;line-height:1.6;margin:0 0 17px}.nexora-auth-tabs{display:flex;gap:5px;padding:4px;border-radius:13px;background:#edf4fe;margin-bottom:19px}.nexora-auth-tabs button{flex:1;padding:10px;border:none;background:transparent;border-radius:10px;cursor:pointer;font-weight:750;color:#57718f}.nexora-auth-tabs button[aria-pressed=true]{background:#fff;box-shadow:0 2px 8px #173a6020;color:#1159c2}.nexora-auth-panel form>label:not(.nexora-optin){display:block;font-size:.83rem;font-weight:750;margin:13px 0 7px;color:#25456b}.nexora-auth-panel input[type=email],.nexora-auth-panel input[type=password]{box-sizing:border-box;display:block;width:100%;padding:12px 14px;min-height:47px;border:1px solid #bdd0e8;border-radius:11px;color:#193657;background:#fbfdff;font:inherit;outline-offset:2px}.nexora-auth-panel input:focus-visible{outline:2px solid #2d80dc}.nexora-optin{display:flex;gap:10px;align-items:flex-start;margin:15px 0 9px;font-size:.8rem;line-height:1.5;color:#55718a;cursor:pointer}.nexora-optin input{margin-top:3px;accent-color:#145fc7}.nexora-optin strong{font-weight:600}.nexora-auth-status{min-height:20px;font-size:.82rem;line-height:1.5;color:#146d50;margin:10px 0}.nexora-auth-status.error{color:#b13749}.nexora-auth-submit{width:100%;display:block;min-height:48px;border:0;border-radius:12px;background:linear-gradient(110deg,#075ccc,#1883eb);color:#fff;font-size:.96rem;font-weight:800;cursor:pointer}.nexora-auth-submit:disabled{opacity:.6;cursor:progress}.nexora-forgot{border:none;background:none;color:#145bb9;cursor:pointer;margin:12px auto 0;display:block;font-weight:650;font-size:.83rem}.nexora-auth-privacy{font-size:.74rem;color:#67819b;line-height:1.6;margin:18px 0 0}.nexora-auth-privacy a{color:#185dbc}
@media(max-width:760px){.nexora-account{margin-left:auto;margin-right:10px}.nexora-account-button{font-size:.74rem;padding:9px 11px}.nexora-account #nexora-user-email{max-width:105px}.nexora-auth-panel{padding:25px 20px}.nexora-auth-backdrop{padding:11px}.top{flex-wrap:nowrap}.nexora-account{order:2}.top .ham{order:3}}
@media(max-width:380px){.nexora-account-button{font-size:.7rem;padding:8px 9px}.nexora-account #nexora-user-email{max-width:65px}}

/* Login-only usability enhancements — keeps the original homepage and tools unchanged. */
.nexora-password-wrap{position:relative;width:100%}
.nexora-auth-panel .nexora-password-wrap .nexora-password-input{box-sizing:border-box;display:block;width:100%;padding:12px 51px 12px 14px;min-height:47px;border:1px solid #bdd0e8;border-radius:11px;color:#193657;background:#fbfdff;font:inherit;outline-offset:2px}
.nexora-auth-panel .nexora-password-wrap .nexora-password-input:focus-visible{outline:2px solid #2d80dc}
.nexora-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:#41648d;cursor:pointer;touch-action:manipulation}
.nexora-password-toggle:hover,.nexora-password-toggle:focus-visible{background:#eaf2ff;color:#135bc4}
.nexora-password-toggle svg{width:21px;height:21px}
.nexora-social-wrap{margin-top:15px}
.nexora-social-divider{position:relative;text-align:center;margin:4px 0 14px;color:#687e99;font-size:.76rem}
.nexora-social-divider::before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#d6e2f1}
.nexora-social-divider span{position:relative;padding:0 12px;background:#fff}
.nexora-google-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;border-radius:12px;border:1px solid #b6cbe4;background:#fff;color:#183e65;font:750 .9rem/1.25 inherit;cursor:pointer;touch-action:manipulation;box-shadow:0 2px 7px #204c8010}
.nexora-google-button:hover,.nexora-google-button:focus-visible{background:#f1f7ff;border-color:#7ba8e3}
.nexora-google-button:disabled{opacity:.6;cursor:progress}

/* Same field style whether password is masked or visible. */
.nexora-auth-panel .nexora-password-wrap input[type=text]{box-sizing:border-box;display:block;width:100%;padding:12px 51px 12px 14px;min-height:47px;border:1px solid #bdd0e8;border-radius:11px;color:#193657;background:#fbfdff;font:inherit;outline-offset:2px}
.nexora-auth-panel .nexora-password-wrap input[type=text]:focus-visible{outline:2px solid #2d80dc}
.nexora-password-toggle[aria-pressed=true]{background:#e8f2ff;color:#145fc4}

/* Compact auth control on phones: keep original red brand, language picker and hamburger visible. */
@media (max-width:760px){
  header.top{gap:7px;}
  header.top .nx-language-wrap{order:1;margin-left:auto;}
  header.top .nexora-account{order:2;margin:0;flex:0 0 auto;}
  header.top .nexora-account-button{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;font-size:0;line-height:0;border-radius:12px;}
  header.top #nexora-login-button::before{content:'\1F464';font-size:19px;line-height:1;}
  header.top #nexora-logout-button::before{content:'\21AA';font-size:20px;line-height:1;}
  header.top #nexora-user-email{display:none!important;}
  header.top .ham{order:3;margin:0;flex:0 0 39px;width:39px;height:39px;}
}
@media(max-width:410px){header.top .nx-language-wrap{gap:3px;margin:0 0 0 auto;}header.top .nx-language-select{width:90px;}header.top .nx-lang-label{font-size:13px;}}
