.eggy-account-slot{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.eggy-account-btn,.eggy-account-link{appearance:none;border:1.5px solid #f5a623;background:#fff;color:#1a1a2e;border-radius:999px;padding:8px 13px;font:700 12px/1 Inter,Arial,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap}
.eggy-account-btn.primary{background:#f5a623}.eggy-account-btn:hover,.eggy-account-link:hover{background:#fff8ed}.eggy-account-btn.primary:hover{background:#f5a623;filter:brightness(.98)}
.eggy-account-user{display:flex;align-items:center;gap:8px}.eggy-account-email{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12px/1.2 Inter,Arial,sans-serif;color:#4b5563}.eggy-pro-pill{display:inline-flex;align-items:center;border-radius:999px;background:#fff8ed;border:1px solid #f3d594;padding:5px 8px;font:800 9px/1 Inter,Arial,sans-serif;color:#8a5a0a;letter-spacing:.04em;text-transform:uppercase}
.eggy-auth-overlay{position:fixed;inset:0;background:rgba(17,24,39,.5);z-index:9999;display:none;align-items:center;justify-content:center;padding:18px}.eggy-auth-overlay.show{display:flex}.eggy-auth-card{width:min(420px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.22);padding:24px;position:relative;font-family:Inter,Arial,sans-serif}.eggy-auth-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:22px;cursor:pointer;color:#6b7280}.eggy-auth-brand{font-size:20px;font-weight:800;color:#1a1a2e;margin-bottom:16px}.eggy-auth-brand span{color:#f5a623}.eggy-auth-card h2{font-size:23px;line-height:1.2;margin:0 0 7px;color:#1a1a2e}.eggy-auth-card .eggy-auth-copy{font-size:13px;color:#6b7280;margin:0 0 18px;line-height:1.55}.eggy-auth-price{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-3px 0 16px;padding:10px 12px;border:1px solid #f3d594;border-radius:12px;background:#fff8ed;color:#1a1a2e}.eggy-auth-price span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.eggy-premium-label{display:inline-flex;align-items:center;gap:5px}.eggy-premium-label .premium-crown{width:15px;height:15px;fill:#f5a623}.eggy-auth-price strong{margin-left:auto;font-size:14px;color:#1a1a2e}.eggy-auth-price small{flex-basis:100%;font-size:10.5px;color:#6b7280}.eggy-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:5px;margin-bottom:16px}.eggy-auth-tab{border:0;border-radius:9px;padding:9px;background:transparent;font-weight:800;cursor:pointer;color:#6b7280}.eggy-auth-tab.active{background:#f5a623;color:#1a1a2e}.eggy-auth-field{display:block;margin:12px 0}.eggy-auth-field span{display:block;font-size:11px;font-weight:800;margin-bottom:6px;color:#374151}.eggy-auth-field input{width:100%;border:1.5px solid #e5e7eb;border-radius:10px;padding:12px 13px;font:inherit;outline:none;color:#1a1a2e;background:#fff}.eggy-auth-field input:focus{border-color:#f5a623;box-shadow:0 0 0 3px rgba(245,166,35,.12)}.eggy-auth-submit{width:100%;border:1.5px solid #f5a623;border-radius:999px;padding:12px 16px;background:#f5a623;color:#1a1a2e;font-weight:800;cursor:pointer;margin-top:4px}.eggy-auth-submit:disabled{opacity:.55;cursor:not-allowed}.eggy-auth-status{display:none;margin-top:12px;padding:10px 12px;border-radius:9px;font-size:12px;line-height:1.45}.eggy-auth-status.show{display:block}.eggy-auth-status.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.eggy-auth-status.ok{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.eggy-auth-status.confirm{background:#fff8ed;color:#7c4a03;border:1px solid #f5a623;font-weight:700}.eggy-auth-note{font-size:11px;color:#6b7280;margin:12px 0 0;line-height:1.45}.eggy-account-menu{position:relative}.eggy-account-menu-panel{position:absolute;right:0;top:calc(100% + 8px);min-width:230px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.13);padding:8px;display:none;z-index:500}.eggy-account-menu.open .eggy-account-menu-panel{display:block}.eggy-account-menu-panel .meta{padding:9px 10px;border-bottom:1px solid #f1f1f4;margin-bottom:5px}.eggy-account-menu-panel .meta b{display:block;font-size:12px;color:#1a1a2e}.eggy-account-menu-panel .meta span{display:block;font-size:10px;color:#6b7280;margin-top:3px}.eggy-account-menu-panel button,.eggy-account-menu-panel a{width:100%;display:block;text-align:left;border:0;background:transparent;padding:9px 10px;border-radius:8px;color:#1a1a2e;font:600 12px Inter,Arial,sans-serif;cursor:pointer;text-decoration:none}.eggy-account-menu-panel button:hover,.eggy-account-menu-panel a:hover{background:#fff8ed}
@media(max-width:760px){.eggy-account-email{display:none}.eggy-account-btn,.eggy-account-link{padding:7px 10px;font-size:11px}.eggy-pro-pill{display:none}.eggy-auth-card{padding:21px 17px}.eggy-auth-card h2{font-size:20px}}
.eggy-creator-field{display:none;margin:12px 0;padding:11px;border:1px solid #f3d594;border-radius:11px;background:#fffaf0}.eggy-creator-field label>span{display:block;font-size:11px;font-weight:800;color:#374151;margin-bottom:6px}.eggy-creator-row{display:grid;grid-template-columns:1fr auto;gap:7px}.eggy-creator-row input{min-width:0;border:1.5px solid #e5e7eb;border-radius:9px;padding:10px 11px;font:inherit;outline:none;text-transform:uppercase}.eggy-creator-row input:focus{border-color:#f5a623;box-shadow:0 0 0 3px rgba(245,166,35,.12)}.eggy-creator-row button{border:1.5px solid #f5a623;border-radius:9px;background:#fff;color:#1a1a2e;padding:9px 11px;font-weight:800;cursor:pointer}.eggy-creator-field small{display:block;color:#6b7280;font-size:10px;line-height:1.4;margin-top:6px}

/* Account UX additions: password visibility + credit wallet */
.eggy-password-wrap{position:relative}.eggy-password-wrap input{padding-right:48px!important}.eggy-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:transparent;border-radius:8px;display:grid;place-items:center;cursor:pointer;color:#6b7280}.eggy-password-toggle:hover{background:#fff8ed;color:#b87312}.eggy-password-toggle svg{width:20px;height:20px;fill:currentColor}.eggy-password-toggle .eggy-eye-closed{display:none}.eggy-password-toggle.showing .eggy-eye-open{display:none}.eggy-password-toggle.showing .eggy-eye-closed{display:block}.eggy-password-toggle:focus-visible{outline:2px solid #f5a623;outline-offset:2px}.eggy-credit-wallet{margin:7px 5px 9px;padding:10px;border:1px solid #f3d594;background:#fff8ed;border-radius:10px}.eggy-credit-wallet>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.eggy-credit-wallet span{font-size:10px;color:#6b7280}.eggy-credit-wallet strong{font-size:12px;color:#1a1a2e;white-space:nowrap}.eggy-credit-wallet strong small{font-size:9px;color:#6b7280;font-weight:600}.eggy-credit-wallet.muted{background:#f9fafb;border-color:#e5e7eb}.eggy-credit-track{height:5px!important;margin-top:8px;background:#f1f1f4;border-radius:999px;overflow:hidden;display:block!important}.eggy-credit-track i{display:block;height:100%;background:#f5a623;border-radius:999px}.eggy-auth-status+div button:disabled{opacity:.55;cursor:not-allowed}

/* Creator Code redemption stays inside the EggyPDF account menu. */
.eggy-creator-redeem-inline{margin:7px 5px 9px;padding:10px;border:1px solid #f3d594;background:#fff8ed;border-radius:10px}
.eggy-creator-redeem-inline label{display:block;font:800 10px/1.2 Inter,Arial,sans-serif;color:#374151;margin:0 0 7px}
.eggy-creator-redeem-row{display:flex;gap:6px;align-items:center}
.eggy-account-menu-panel .eggy-creator-redeem-row input{min-width:0;flex:1;width:auto;border:1.5px solid #e5e7eb;background:#fff;color:#1a1a2e;border-radius:8px;padding:9px 10px;font:600 11px Inter,Arial,sans-serif;outline:none;text-transform:uppercase}
.eggy-account-menu-panel .eggy-creator-redeem-row input:focus{border-color:#f5a623;box-shadow:0 0 0 3px rgba(245,166,35,.12)}
.eggy-account-menu-panel .eggy-creator-redeem-row button{width:auto;flex:0 0 auto;background:#f5a623;border:1px solid #f5a623;text-align:center;padding:9px 11px;font-weight:800}
.eggy-account-menu-panel .eggy-creator-redeem-row button:hover{background:#f5a623;filter:brightness(.98)}
.eggy-account-menu-panel .eggy-creator-redeem-row button:disabled{opacity:.55;cursor:not-allowed}
.eggy-creator-redeem-status{display:none;margin-top:7px;font:600 10px/1.4 Inter,Arial,sans-serif;color:#6b7280}
.eggy-creator-redeem-status.show,.eggy-creator-redeem-status.ok,.eggy-creator-redeem-status.error{display:block}
.eggy-creator-redeem-status.ok{color:#166534}
.eggy-creator-redeem-status.error{color:#991b1b}


/* Mobile-only containment for ATS Checker and individual PDF tool pages. */
@media(max-width:760px){
  body.eggy-mobile-tool-page,
  body.eggy-mobile-ats-page{width:100%;max-width:100%;overflow-x:hidden}

  body.eggy-mobile-tool-page header,
  body.eggy-mobile-ats-page header{width:100%;max-width:100%;box-sizing:border-box;overflow:visible}

  body.eggy-mobile-tool-page .header-inner,
  body.eggy-mobile-ats-page .head{width:100%;max-width:100%;min-width:0;box-sizing:border-box;gap:6px}

  body.eggy-mobile-tool-page .header-inner{height:56px}
  body.eggy-mobile-tool-page header{padding-left:10px!important;padding-right:10px!important}
  body.eggy-mobile-ats-page header{height:58px!important;padding:0 10px!important}

  body.eggy-mobile-tool-page .logo,
  body.eggy-mobile-ats-page .logo{flex:0 1 auto;min-width:0;font-size:17px!important;white-space:nowrap}

  body.eggy-mobile-tool-page .back-btn{flex:0 0 38px;width:38px;height:38px;padding:0!important;font-size:0!important;display:grid;place-items:center;margin:0!important}
  body.eggy-mobile-tool-page .back-btn::before{content:'←';font-size:20px;line-height:1;color:#6b7280}

  body.eggy-mobile-ats-page .build-resume-link{display:none!important}
  body.eggy-mobile-ats-page .head-actions{margin-left:auto!important;min-width:0;gap:5px!important;flex:0 0 auto}

  body.eggy-mobile-tool-page .eggy-account-slot,
  body.eggy-mobile-ats-page .eggy-account-slot{margin-left:auto;min-width:0;gap:5px!important;flex:0 0 auto}

  body.eggy-mobile-tool-page .eggy-account-link,
  body.eggy-mobile-ats-page .eggy-account-link{display:none!important}

  body.eggy-mobile-tool-page .eggy-account-btn,
  body.eggy-mobile-ats-page .eggy-account-btn{padding:7px 9px!important;font-size:10.5px!important;line-height:1!important}

  body.eggy-mobile-tool-page .tool-hero{width:100%;max-width:100%;box-sizing:border-box;padding:32px 16px 26px!important}
  body.eggy-mobile-tool-page .tool-hero h1{font-size:1.75rem!important;line-height:1.15}
  body.eggy-mobile-tool-page .tool-hero p{max-width:100%;overflow-wrap:anywhere}
  body.eggy-mobile-tool-page main{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:28px 14px 48px!important}
  body.eggy-mobile-tool-page .upload-area,
  body.eggy-mobile-tool-page .options-card,
  body.eggy-mobile-tool-page .result-card,
  body.eggy-mobile-tool-page .continue-section{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  body.eggy-mobile-tool-page .upload-area{padding:36px 16px!important}
  body.eggy-mobile-tool-page input,
  body.eggy-mobile-tool-page textarea,
  body.eggy-mobile-tool-page select{max-width:100%;box-sizing:border-box}

  body.eggy-mobile-ats-page .hero{width:100%;max-width:100%;box-sizing:border-box;padding:38px 16px 28px!important;overflow:hidden}
  body.eggy-mobile-ats-page .hero h1{max-width:100%!important;font-size:34px!important;line-height:1.08!important;letter-spacing:-1px!important;overflow-wrap:anywhere}
  body.eggy-mobile-ats-page .hero p,
  body.eggy-mobile-ats-page .privacy{max-width:100%;overflow-wrap:anywhere}
  body.eggy-mobile-ats-page main{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:22px 14px 52px!important}
  body.eggy-mobile-ats-page .workspace,
  body.eggy-mobile-ats-page .card,
  body.eggy-mobile-ats-page .score-row,
  body.eggy-mobile-ats-page .result-grid,
  body.eggy-mobile-ats-page .pro-grid{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  body.eggy-mobile-ats-page .card{padding:18px!important}
  body.eggy-mobile-ats-page input,
  body.eggy-mobile-ats-page textarea,
  body.eggy-mobile-ats-page select{max-width:100%;box-sizing:border-box}
}
