.employee-portal .employee-main{max-width:1120px;padding-top:50px;min-height:calc(100vh - 170px)}
.employee-portal footer{max-width:1056px}
.employee-auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.85fr);gap:8%;align-items:center;margin-bottom:36px}
.employee-intro h1{font-size:clamp(35px,4.5vw,55px);letter-spacing:-.035em;line-height:1.1;max-width:600px}
.employee-intro .lead{font-size:17px}
.employee-steps{list-style:none;counter-reset:employee-step;padding:0;margin:28px 0}
.employee-steps li{display:flex;gap:12px;align-items:center;margin:13px 0;font-size:14px;color:#4d566b}
.employee-steps li::before{counter-increment:employee-step;content:counter(employee-step);display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #e0dcfb;border-radius:50%;background:#f0edff;color:#5f50cf;font-weight:650;font-size:12px}
.employee-back-link{font-size:12px;color:var(--muted)}
.employee-auth-card{padding:30px;margin:0}
.employee-tabs{display:flex;gap:6px;padding:4px;margin:0 0 26px;border-radius:11px;background:#f4f4f9}
.employee-tabs button{flex:1;padding:9px 6px;border:0;box-shadow:none;background:transparent;font-size:13px;min-height:39px}
.employee-tabs button[aria-pressed=true]{background:#fff;color:var(--accent);box-shadow:0 1px 5px #22213a0b}
.employee-auth-card h2{font-size:24px;margin-bottom:12px}
.employee-text-button{border:0;background:transparent;font-weight:500;color:var(--muted);font-size:13px}
.employee-text-button:hover{color:var(--accent);background:#f4f2ff}
.employee-form-note{margin-top:18px}
.employee-form-button{margin-top:18px}
.employee-notice{margin-bottom:24px;padding:14px 16px;border:1px solid #dedbf7;border-radius:10px;background:#f4f2ff;color:#5044a8;font-size:14px;overflow-wrap:anywhere}
.employee-notice[data-kind=error]{color:var(--danger);background:var(--danger-soft);border-color:#efccd2}
.employee-notice[data-kind=success]{color:var(--success);background:var(--success-soft);border-color:#cfe8de}
.employee-account-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 28px}
.employee-account-heading h1{margin-bottom:8px;font-size:32px;overflow-wrap:anywhere}
.employee-account-heading p{margin:0}
.employee-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.employee-verification{border-color:#eadfc9;background:#fffcf5}
.employee-verification h2{margin-bottom:12px}
.employee-company-preview{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}
.employee-company-preview h3{font-size:20px;overflow-wrap:anywhere;margin-bottom:18px}
.employee-company-preview .muted{margin-bottom:7px}
.employee-list-item{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.employee-list-item:first-child{padding-top:0}
.employee-list-item:last-child{border-bottom:0;padding-bottom:0}
.employee-list-item p{margin:7px 0}
.employee-list-item strong{display:block}
.employee-status{display:inline-flex;padding:4px 9px;font-size:11px;line-height:1.4;border-radius:100px;color:#86611f;background:#fff4dd;border:1px solid #f0e3c5}
.employee-status[data-status=approved],.employee-status[data-status=linked]{color:var(--success);background:var(--success-soft);border-color:#d0eadf}
.employee-status[data-status=rejected],.employee-status[data-status=archived],.employee-status[data-status=inactive]{color:#8a5963;background:#fbf0f2;border-color:#eddce0}
.employee-list-item button{margin-top:12px}
.employee-empty{color:var(--muted);font-size:13px;line-height:1.6;padding:8px 0}
.employee-token{max-width:560px;margin:0 auto 28px}
.employee-token h1{font-size:28px}
.employee-install{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;margin-top:12px;background:#fdfcff}
.employee-install h2{font-size:17px;margin-bottom:7px}
.employee-install .muted{max-width:650px;margin:0}
.employee-install-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}
.employee-dialog{max-width:480px;width:calc(100% - 36px);margin:auto}
.employee-dialog::backdrop{background:#20263c55;backdrop-filter:blur(3px)}
.employee-dialog p[role=status]{font-size:13px;color:var(--success);margin-top:14px}
.employee-password-toggle .eye-slash{display:none}
.employee-password-toggle[aria-pressed=true] .eye-slash{display:block}
.employee-request-notification{margin:0 0 24px;background:#f2efff;color:#5749bd;border-color:#e4ddfb;max-width:100%}
.employee-owner-feedback-success{color:var(--success);font-size:13px;margin-bottom:15px}
.employee-owner-section{margin-bottom:28px}
.employee-owner-heading{display:flex;gap:18px;justify-content:space-between;align-items:start;margin-bottom:24px}
.employee-owner-heading h2{margin-bottom:8px}
.employee-owner-heading p{max-width:720px;margin:0}
.employee-owner-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.employee-owner-card h3{font-size:18px;margin:0 0 10px}
.employee-owner-card>p{margin-bottom:14px}
.employee-owner-code{display:inline-block;font:650 21px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.1em;color:#5144bb;overflow-wrap:anywhere;margin:16px 0 12px}
.employee-owner-link{font-size:12px;color:#667085;background:#fafafe}
.employee-owner-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.employee-owner-controls .employee-text-button{font-size:12px;padding-left:8px;padding-right:8px}
.employee-owner-section .field-error{margin-bottom:15px}
.employee-roster-list{margin-top:22px}
.employee-owner-roster-row{padding:12px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;overflow-wrap:anywhere}
.employee-owner-request{padding:20px 0;border-top:1px solid var(--line)}
.employee-owner-request:first-child{padding-top:0;border-top:0}
.employee-owner-request p{margin-bottom:5px}
.employee-owner-request .employee-request-meta{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
.employee-owner-request .employee-request-meta strong{font-size:16px;overflow-wrap:anywhere}
.employee-owner-request select{max-width:550px}
.employee-request-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.employee-owner-section .employee-readonly-note{padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:780px){
 .employee-portal .employee-main{padding-top:28px}
 .employee-auth-layout{grid-template-columns:1fr;gap:26px;max-width:600px;margin-left:auto;margin-right:auto}
 .employee-intro h1{font-size:38px;max-width:480px}
 .employee-intro .lead{font-size:15px;max-width:550px}
 .employee-steps{margin:20px 0}
 .employee-account-grid,.employee-owner-grid{grid-template-columns:1fr;gap:0}
 .employee-install{align-items:flex-start;flex-direction:column;gap:16px}
 .employee-account-heading,.employee-owner-heading{align-items:flex-start;flex-direction:column}
 .employee-account-heading h1{font-size:28px}
}
@media(max-width:480px){
 .employee-portal header{padding-left:18px;padding-right:18px;gap:12px}
 .employee-portal .brand{font-size:27px;gap:8px}
 .employee-portal .brand-logo{width:36px;height:25px}
 .employee-portal .headright{gap:7px}
 .employee-portal .headright select{max-width:112px;font-size:12px}
 .employee-portal .headright button{font-size:12px;padding-left:9px;padding-right:9px}
 .employee-portal .employee-main{padding:24px 18px}
 .employee-intro h1{font-size:34px}
 .employee-auth-card{padding:24px 20px}
 .employee-install{padding:20px}
 .employee-install-actions,.employee-install-actions button{width:100%}
 .employee-portal footer{margin-left:18px;margin-right:18px}
 .employee-owner-controls button,.employee-request-actions button{flex:1 1 auto}
 .employee-owner-request .employee-request-meta{align-items:flex-start;flex-direction:column;gap:8px}
}
