.hrm-create-intro{padding:14px 16px;background:var(--surface-muted,#edf6f2);border-radius:12px;line-height:1.6;color:var(--muted,#58756a)}
.hrm-account-workspace{width:min(1260px,96vw)!important;max-width:1260px!important;height:90vh}.hrm-account-banner{padding:18px 20px;border:1px solid var(--line,#dbe9e3);border-radius:12px;background:var(--surface-muted,#edf6f2);margin-bottom:18px;display:flex;flex-direction:column;gap:6px}.hrm-account-banner span{font-size:12px;color:var(--muted,#58756a)}.hrm-account-workspace .hrm-employee-form{position:relative;padding-left:210px;min-height:60vh}.hrm-account-nav{position:absolute!important;left:0;top:0!important;width:185px;display:flex!important;flex-direction:column!important;align-items:stretch;border:0!important;background:transparent!important}.hrm-account-nav .btn{justify-content:flex-start;width:100%;padding:14px!important}.hrm-account-workspace .hrm-form-section{margin-top:14px!important;padding-top:12px!important}.hrm-account-workspace .modal-foot .save{min-width:150px}html[data-ui-theme=dark] .hrm-account-banner,html[data-ui-theme=dark] .hrm-create-intro{background:#1b352b;color:#d6e9df;border-color:#38574a}@media(max-width:760px){.hrm-account-workspace .hrm-employee-form{padding-left:0}.hrm-account-nav{position:static!important;width:100%;flex-direction:row!important;flex-wrap:wrap}.hrm-account-nav .btn{width:auto}.hrm-account-workspace{height:94vh}}

/* Account route is ordinary page content; no modal host, backdrop or scroll lock. */
.hrm-account-page{width:100%;min-width:0}.hrm-account-page form.modal.hrm-account-form{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.hrm-account-page .modal-head{padding:0 0 20px!important;border:0!important;display:flex;justify-content:space-between;gap:16px}.hrm-account-page h1{margin:0 0 6px;font-size:26px}.hrm-account-page .modal-head p{margin:0;color:var(--muted)}.hrm-account-page .modal-body{padding:0!important;overflow:visible!important;max-height:none!important}.hrm-account-page .hrm-employee-form{min-height:65vh}.hrm-account-page .hrm-account-banner{min-height:0;padding:18px 20px!important;margin:0 0 20px!important}.hrm-account-page .hrm-form-section{background:var(--surface,#fff);padding:22px!important;border:1px solid var(--line,#dbe9e3)!important;border-radius:12px;margin:0 0 16px!important}.hrm-account-page .modal-foot{position:sticky;bottom:0;padding:14px 18px!important;border:1px solid var(--line,#dbe9e3);border-radius:10px;background:var(--surface,#fff);z-index:5;display:flex;justify-content:flex-end;gap:10px}.hrm-account-page .hrm-account-nav{padding-top:0!important}.hrm-account-page .hrm-account-nav .btn{min-height:44px;height:auto!important}.hrm-account-page .hrm-account-banner strong,.hrm-account-page .hrm-account-banner span{height:auto!important;min-height:0!important}html[data-ui-theme=dark] .hrm-account-page .hrm-form-section,html[data-ui-theme=dark] .hrm-account-page .modal-foot{background:#182e25;border-color:#365347!important}@media(max-width:760px){.hrm-account-page .modal-head{flex-wrap:wrap}.hrm-account-page .hrm-form-section{padding:16px!important}.hrm-account-page h1{font-size:22px}}

.hrm-account-page .modal-head .modal-close{position:static!important;width:auto!important;height:auto!important;min-width:150px;flex-shrink:0;border-radius:8px;white-space:nowrap;padding:10px 14px!important;font-size:13px!important}

html.hrm-employee-only #appView>.sidebar,html.hrm-employee-only #appView .topbar{display:none!important}html.hrm-employee-only #appView{grid-template-columns:minmax(0,1fr)!important}html.hrm-employee-only #content{padding:26px 28px 30px 272px!important}html.hrm-employee-only .hrm-account-page .hrm-employee-form{padding-left:0!important}html.hrm-employee-only .hrm-account-page .hrm-account-nav{position:fixed!important;left:0!important;top:var(--dev-banner-height,32px)!important;bottom:0;width:242px!important;overflow-y:auto;flex-wrap:nowrap!important;padding:24px 14px!important;background:#153329!important;border-right:1px solid #315047!important;border-radius:0;margin:0!important;z-index:20;gap:4px!important;align-content:flex-start}.hrm-employee-nav-brand{display:flex;align-items:center;gap:10px;padding:4px 10px 24px;margin-bottom:8px;border-bottom:1px solid #ffffff18;color:#eff8f3}.hrm-employee-nav-brand img{width:36px;height:36px;object-fit:contain;border-radius:9px;background:#e6f4ec}.hrm-employee-nav-brand strong{font-size:14px;display:block}.hrm-employee-nav-brand small{display:block;color:#a9c1b5;font-size:11px;margin-top:4px}html.hrm-employee-only .hrm-account-nav button.btn{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;width:100%!important;color:#b7cec1!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:8px;padding:12px!important;min-height:46px!important;font-size:13px;margin:2px 0!important}html.hrm-employee-only .hrm-account-nav button.btn:hover{background:#ffffff0b!important;color:#fff!important}html.hrm-employee-only .hrm-account-nav button[aria-selected=true]{color:#fff!important;background:#ffffff13!important;box-shadow:inset 3px 0 #59d7a6!important}.hrm-employee-nav-icon{display:inline-flex;align-items:center;width:20px;flex-shrink:0}.hrm-employee-nav-icon svg{width:19px;height:19px}@media(max-width:760px){html.hrm-employee-only #content{padding:18px 14px!important}html.hrm-employee-only .hrm-account-page .hrm-account-nav{position:static!important;width:100%!important;padding:12px!important;border-radius:12px;margin-bottom:16px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.hrm-employee-nav-brand{grid-column:1/-1;padding-bottom:12px}html.hrm-employee-only .hrm-account-nav button.btn{margin:0!important}}

/* Consistent employee workspace presentation. */
html.hrm-employee-only{--hrm-page:#f4f7f6;--hrm-card:#fff;--hrm-border:#dce7e1;--hrm-text:#203c31;--hrm-muted:#71857a;--hrm-field:#fcfdfc;--hrm-accent:#1b664b}
html.hrm-employee-only[data-ui-theme=dark]{--hrm-page:#10231c;--hrm-card:#182e25;--hrm-border:#304b3e;--hrm-text:#e0ede5;--hrm-muted:#9cb5a6;--hrm-field:#13271e;--hrm-accent:#63cba0}
html.hrm-employee-only body,html.hrm-employee-only #appView,html.hrm-employee-only #appView>.main,html.hrm-employee-only #content{background:var(--hrm-page)!important;color:var(--hrm-text)}
html.hrm-employee-only #content{padding:32px 40px 36px 282px!important}
.hrm-account-page{max-width:1600px;margin:0 auto;font-family:Manrope,Inter,system-ui,sans-serif}
.hrm-account-page .modal-head{background:transparent!important;padding:0 0 24px!important;border-bottom:1px solid var(--hrm-border)!important;margin-bottom:22px}
.hrm-account-page .modal-head h1{font-size:25px;line-height:1.3;letter-spacing:-.6px;font-weight:800;color:var(--hrm-text)}
.hrm-account-page .modal-head p{font-size:13px;color:var(--hrm-muted);margin-top:6px}
.hrm-account-page .hrm-account-banner{background:var(--hrm-card)!important;border:1px solid var(--hrm-border)!important;border-left:3px solid #58af88!important;padding:16px 20px!important;margin:0 0 24px!important;border-radius:12px;gap:5px}
.hrm-account-page .hrm-account-banner strong{font-size:14px;line-height:1.6;font-weight:800;color:var(--hrm-text)}
.hrm-account-page .hrm-account-banner span{font-size:11px;color:var(--hrm-muted);letter-spacing:.15px}
.hrm-account-page .hrm-employee-form>p[role=status]{font-size:11px!important;color:var(--hrm-muted)!important;padding:0 2px;margin:0 0 12px!important}
.hrm-account-page .hrm-form-section{background:var(--hrm-card)!important;border-color:var(--hrm-border)!important;border-radius:12px;padding:24px!important;margin:0 0 20px!important;box-shadow:0 2px 6px #102b1b03}
.hrm-account-page .hrm-form-section h3{font-size:14px;letter-spacing:.1px;color:var(--hrm-text);font-weight:800;margin:0 0 20px!important;padding:0 0 14px;border-bottom:1px solid var(--hrm-border)}
.hrm-account-page .hrm-form-section>p{color:var(--hrm-muted);font-size:12px;line-height:1.65;margin-top:-8px;margin-bottom:18px}
.hrm-account-page .form-grid{gap:18px 22px!important;align-items:start}
.hrm-account-page label{font-size:11px;font-weight:700;color:var(--hrm-muted);line-height:1.6;display:flex;flex-direction:column;gap:7px}
.hrm-account-page input:not([type=checkbox]):not([type=file]):not([type=hidden]),.hrm-account-page select,.hrm-account-page textarea{min-height:42px!important;padding:10px 12px!important;border:1px solid var(--hrm-border)!important;border-radius:8px!important;background:var(--hrm-field)!important;color:var(--hrm-text)!important;font-size:12px!important;font-weight:600;line-height:1.5;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.hrm-account-page input:focus,.hrm-account-page select:focus,.hrm-account-page textarea:focus{outline:0;border-color:#59af89!important;box-shadow:0 0 0 3px #59af891c!important}
.hrm-account-page input[readonly]{opacity:.7}
.hrm-account-page .hrm-photo-panel{background:var(--hrm-card)!important;border:1px solid var(--hrm-border)!important;border-radius:12px!important;padding:22px 24px!important;margin:0 0 20px;gap:20px!important;align-items:center}
.hrm-account-page .hrm-avatar-large{width:76px!important;height:76px!important;min-width:76px!important;border-radius:16px!important;background:#5ba98718!important;color:var(--hrm-accent)!important;font-weight:800}
.hrm-account-page .hrm-photo-panel strong{color:var(--hrm-text)!important;font-size:13px}.hrm-account-page .hrm-photo-panel span:not(.hrm-avatar){font-size:11px;color:var(--hrm-muted)!important}
.hrm-account-page .btn{font-size:12px;min-height:38px;border-radius:8px;font-weight:700}
.hrm-account-page .hrm-photo-choose{margin-top:12px;width:max-content;padding:8px 12px!important;border:1px solid var(--hrm-border);background:var(--hrm-field);color:var(--hrm-text)}
.hrm-account-page .modal-foot{background:var(--hrm-card)!important;border-color:var(--hrm-border)!important;border-radius:12px!important;box-shadow:0 -4px 20px #0b261710;padding:14px 20px!important;margin-top:8px;min-height:66px}
.hrm-account-page .modal-foot .save{min-width:152px;padding:10px 22px!important;background:#1b684e!important;border:1px solid #287b5e;color:#fff!important;box-shadow:0 3px 8px #1b684e18}
.hrm-account-page .hrm-check{flex-direction:row;align-items:center;gap:10px;padding-top:12px}.hrm-account-page .hrm-check input{width:17px;height:17px;accent-color:#258461}
html.hrm-employee-only .hrm-account-page .hrm-account-nav{background:#15352a!important;padding:24px 16px!important}
.hrm-employee-nav-brand{padding:0 8px 24px;margin-bottom:16px;gap:12px}.hrm-employee-nav-brand img{width:38px;height:38px;border-radius:10px}.hrm-employee-nav-brand strong{font-size:13px;line-height:1.5}.hrm-employee-nav-brand small{font-size:11px;letter-spacing:.7px}
html.hrm-employee-only .hrm-account-nav button.btn{font-size:12px!important;min-height:44px!important;padding:12px 14px!important;margin:2px 0!important;gap:12px;transition:background .15s,color .15s}
.hrm-account-page .hrm-deduction-row{padding:12px;background:var(--hrm-field);border:1px solid var(--hrm-border);border-radius:9px}
@media(min-width:1700px){html.hrm-employee-only #content{padding-left:294px!important;padding-right:52px!important}}
@media(max-width:1000px) and (min-width:761px){html.hrm-employee-only #content{padding:24px 22px 28px 262px!important}.hrm-account-page .form-grid{gap:16px!important}.hrm-account-page .hrm-form-section{padding:20px!important}}
@media(max-width:760px){html.hrm-employee-only #content{padding:20px 14px!important}.hrm-account-page .modal-head{padding-bottom:16px!important;margin-bottom:16px}.hrm-account-page .modal-head h1{font-size:22px}.hrm-account-page .hrm-form-section{padding:18px!important;margin-bottom:16px!important}.hrm-account-page .form-grid{gap:16px!important}.hrm-account-page .hrm-photo-panel{padding:18px!important}.hrm-account-page .modal-foot{padding:12px!important}.hrm-account-page .modal-foot .save{width:100%}.hrm-account-page .hrm-deduction-row{grid-template-columns:1fr!important}.hrm-account-page .hrm-account-banner{padding:14px 16px!important}}

/* Separate navigation from the form grid: avoid stretched hidden wizard rows. */
html.hrm-employee-only #content{padding:24px!important}.hrm-account-page#hrmEmployeePage{display:grid!important;grid-template-columns:216px minmax(0,1040px);justify-content:center;gap:28px;max-width:1320px!important;margin:0 auto!important;align-items:start}
html.hrm-employee-only .hrm-account-page#hrmEmployeePage>.hrm-account-nav{position:sticky!important;inset:auto!important;top:44px!important;bottom:auto!important;width:216px!important;max-height:calc(100dvh - 64px);height:auto!important;overflow-y:auto!important;display:flex!important;flex-direction:column!important;align-self:start;padding:18px 12px!important;border:1px solid #315047!important;border-radius:12px!important;margin:0!important;box-sizing:border-box}
.hrm-account-page#hrmEmployeePage .hrm-employee-form{display:block!important;min-height:0!important;padding:0!important;gap:0!important;background:transparent!important}.hrm-account-page#hrmEmployeePage form.hrm-account-form{min-width:0!important}.hrm-account-page#hrmEmployeePage .modal-head{margin:0 0 16px!important;padding:0 0 16px!important;background:transparent!important;min-height:0!important}.hrm-account-page#hrmEmployeePage .modal-head h1{font-size:23px;letter-spacing:-.4px}.hrm-account-page#hrmEmployeePage .modal-head p{font-size:12px}.hrm-account-page#hrmEmployeePage .hrm-account-banner{padding:13px 16px!important;margin:0 0 18px!important;border-radius:10px;line-height:1.5}.hrm-account-page#hrmEmployeePage .hrm-employee-form>p[role=status]{margin:0 0 10px!important;padding:0!important;line-height:1.4}
.hrm-account-page#hrmEmployeePage .hrm-form-section{padding:20px!important;margin:0 0 16px!important;border-radius:10px!important}.hrm-account-page#hrmEmployeePage .hrm-form-section h3{margin:0 0 16px!important;padding-bottom:11px!important}.hrm-account-page#hrmEmployeePage .form-grid{gap:14px 18px!important}.hrm-account-page#hrmEmployeePage .hrm-form-section>p{margin:10px 0 0!important;font-size:11px;line-height:1.5}.hrm-account-page#hrmEmployeePage label{gap:5px;font-size:11px}.hrm-account-page#hrmEmployeePage .modal-foot{margin-top:4px!important;padding:12px 16px!important;min-height:60px}.hrm-account-page#hrmEmployeePage .hrm-photo-panel{margin:0 0 16px!important;padding:18px 20px!important}
@media(min-width:1700px){html.hrm-employee-only #content{padding:28px!important}}
@media(max-width:1000px) and (min-width:761px){html.hrm-employee-only #content{padding:20px!important}.hrm-account-page#hrmEmployeePage{grid-template-columns:190px minmax(0,1fr);gap:20px}html.hrm-employee-only .hrm-account-page#hrmEmployeePage>.hrm-account-nav{width:190px!important}}
@media(max-width:760px){html.hrm-employee-only #content{padding:14px!important}.hrm-account-page#hrmEmployeePage{display:block!important}html.hrm-employee-only .hrm-account-page#hrmEmployeePage>.hrm-account-nav{position:static!important;top:auto!important;width:100%!important;max-height:none;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px!important;gap:4px!important}.hrm-account-page#hrmEmployeePage .hrm-form-section{padding:16px!important}.hrm-account-page#hrmEmployeePage .form-grid{grid-template-columns:1fr!important}}

/* Keep account navigation at a fixed viewport position while its form scrolls. */
@media(min-width:761px){.hrm-account-page#hrmEmployeePage{display:block!important;max-width:1284px!important;padding-left:244px!important;box-sizing:border-box!important}html.hrm-employee-only .hrm-account-page#hrmEmployeePage>.hrm-account-nav{position:fixed!important;top:48px!important;left:max(24px,calc((100vw - 1284px)/2))!important;width:216px!important;max-height:calc(100dvh - 72px)!important;margin:0!important;bottom:auto!important}}
@media(min-width:761px) and (max-width:1000px){.hrm-account-page#hrmEmployeePage{padding-left:210px!important}html.hrm-employee-only .hrm-account-page#hrmEmployeePage>.hrm-account-nav{left:20px!important;width:190px!important}}

.hrm-account-nav [data-employee-tab=additions],.hrm-account-nav [data-employee-tab=deductions]{padding-left:32px!important;font-size:11px!important;min-height:38px!important}.hrm-account-nav [data-employee-tab=additions] .hrm-employee-nav-icon,.hrm-account-nav [data-employee-tab=deductions] .hrm-employee-nav-icon{width:14px}

.hrm-payroll-submenu{display:flex;flex-direction:column;gap:2px;margin:0 0 6px 22px;padding-left:8px;border-left:1px solid #6da88c55}.hrm-payroll-submenu[hidden]{display:none!important}.hrm-payroll-arrow{margin-left:auto;font-size:20px;line-height:16px;transition:transform .15s}.hrm-payroll-submenu [data-employee-tab]{padding-left:12px!important;min-height:34px!important}.hrm-payroll-submenu .hrm-employee-nav-icon{display:none!important}@media(max-width:760px){.hrm-payroll-submenu{grid-column:1/-1;margin-left:14px}}
