.ea-page{max-width:1320px;margin:auto}.ea-heading,.ea-person{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.ea-heading h1{margin:0;font-size:27px;letter-spacing:-.7px}.ea-heading p,.ea-person p{color:var(--muted);font-size:12px;margin:7px 0 0}.ea-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ea-filter{display:flex;gap:10px;margin:0 0 17px}.ea-filter input,.ea-filter select{padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);min-width:0}.ea-filter input{flex:1}.ea-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.ea-table th{color:var(--muted);font-weight:500;padding:14px 17px;border-bottom:1px solid var(--border);white-space:nowrap}.ea-table td{padding:17px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.ea-table td:first-child{min-width:150px}.ea-table small,.ea-rows small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.ea-table td:last-child{width:95px}.ea-empty{padding:45px 0;text-align:center}.ea-empty h2{font-size:18px}.ea-empty p{color:var(--muted);font-size:13px}.ea-detail{overflow:hidden}.ea-person{padding:23px 25px 0}.ea-person h2{font-size:21px;margin:0}.ea-tabs{display:flex;overflow:auto;border-bottom:1px solid var(--border);padding:0 17px;gap:6px}.ea-tab{border:0;background:transparent;padding:13px 12px;color:var(--muted);font-size:12px;white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent}.ea-tab.active{color:var(--accent,#2855e8);border-color:currentColor;font-weight:600}.ea-body{padding:25px}.ea-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 35px;margin:0 0 25px}.ea-facts dt{font-size:11px;color:var(--muted);margin-bottom:7px}.ea-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}.ea-secondary{margin-top:28px;font-size:12px}.ea-secondary summary{cursor:pointer;color:var(--muted)}.ea-secondary p,.ea-hint{font-size:12px;color:var(--muted);line-height:1.7}.ea-hint{margin:23px 0 0}.ea-rows{display:grid;margin-bottom:20px}.ea-rows>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--border);font-size:13px}.ea-body h3{font-size:13px;margin-top:27px}.ea-weekdays{display:flex;gap:13px;flex-wrap:wrap;border:1px solid var(--border);border-radius:8px;padding:13px;font-size:12px}.ea-weekdays label{display:flex;gap:5px;align-items:center}.ea-pager{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-top:16px;font-size:12px}.ea-error{padding:15px;margin-bottom:15px;border:1px solid var(--border);border-radius:9px;font-size:13px}.ea-page button:focus-visible,.ea-page input:focus-visible,.ea-page select:focus-visible{outline:2px solid var(--accent,#2855e8);outline-offset:3px}@media(max-width:760px){.ea-heading{align-items:flex-start;flex-direction:column}.ea-heading h1{font-size:25px}.ea-actions .btn{font-size:11px;padding:9px}.ea-filter{flex-wrap:wrap}.ea-filter input{flex-basis:100%}.ea-filter select{flex:1}.ea-person{padding:19px 18px 0;align-items:flex-start}.ea-person h2{font-size:19px}.ea-body{padding:20px 18px}.ea-facts{gap:20px;grid-template-columns:1fr}.ea-tabs{padding:0 7px}.ea-table td,.ea-table th{padding:14px 12px}.ea-rows>div{align-items:flex-start}.ea-rows .btn{flex:none}}
.ea-lifecycle{margin-top:26px;border-top:1px solid var(--border);padding-top:5px}.ea-lifecycle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ea-lifecycle-grid article{border:1px solid var(--border);border-radius:10px;padding:16px;min-width:0}.ea-lifecycle-grid strong{font-size:13px}.ea-lifecycle-grid p{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0}.ea-lifecycle-grid small{display:block}.ea-lifecycle .ea-hint{margin-top:12px}@media(max-width:600px){.ea-lifecycle-grid{grid-template-columns:1fr}}
.ea-hours-current{padding:18px 20px;border:1px solid var(--border);border-radius:12px;margin-bottom:18px}.ea-hours-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.ea-hours-title h3{margin:0;font-size:15px}.ea-hours-title>span{font-size:11px;color:var(--muted);white-space:nowrap}.ea-hours-current .ea-facts{margin-bottom:0;gap:18px 30px}.ea-hours-note{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 18px}.ea-hours-current .ea-facts+.ea-hours-note{margin:16px 0 0}.ea-schedule-week{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.ea-schedule-day{display:grid;gap:8px;align-content:start;padding:13px;border:1px solid var(--border);border-radius:9px;min-width:0;overflow-wrap:anywhere}.ea-schedule-day>span,.ea-schedule-day small{font-size:11px;color:var(--muted);line-height:1.5}.ea-schedule-day strong{font-size:12px;line-height:1.5;font-weight:600}.ea-schedule-day.is-off strong{color:var(--muted)}@media(max-width:600px){.ea-hours-current{padding:15px}.ea-hours-title{align-items:flex-start;flex-direction:column;gap:7px}.ea-schedule-week{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Guided exit and explicitly reviewed owner erasure. */
.ex-person{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;flex-wrap:wrap}.ex-person h3{font-size:20px;margin:0}.ex-person>span{font-size:13px;color:var(--muted,#64748b)}
.ex-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin:14px 0 20px}.ex-summary>div{padding:14px;background:var(--surface-2,#f4f7fc);border:1px solid var(--line,#dbe3ef);border-radius:12px}.ex-summary strong{display:block;font-size:23px;color:var(--brand,#2563eb)}.ex-summary span{font-size:12px}
.ex-fields,.ex-retained+form fieldset{border:0;padding:0;margin:0;min-width:0}.ex-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;padding:11px 0;font-size:14px;line-height:1.5}.ex-consent input{flex:none;width:18px!important;height:18px;margin-top:2px;accent-color:var(--brand,#2563eb)}
.ex-blockers{padding:14px;border:1px solid #e7b962;background:var(--surface-2,#fff8eb);border-radius:10px;margin:14px 0;line-height:1.5}.ex-blockers ul,.ex-retained ul{padding-left:22px}.ex-blockers li,.ex-retained li{margin:8px 0}.ex-actions,.ex-result{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.ex-result{flex-direction:column}
.ex-delete-warning{color:var(--danger,#b42318);line-height:1.6}.ex-retained{padding:14px;border:1px solid var(--line,#dbe3ef);border-radius:10px;margin:16px 0}.ex-retained summary{cursor:pointer;font-weight:600}.ex-retained p{font-size:13px;color:var(--muted,#64748b)}
@media(max-width:600px){.ex-actions .btn{flex:1 1 150px}.ex-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact employee directory with clear status selection and action hierarchy. */
.app-layout>.workspace>.main-content:has(>.ea-page){padding-top:14px}
.ea-page{max-width:none;min-width:0}
.ea-heading{gap:12px;margin-bottom:14px}.ea-heading h1{font-size:24px;line-height:1.25}.ea-heading p{margin-top:4px;font-size:12px}
.ea-page .btn{min-height:35px;padding:7px 11px;font-size:12px;border-radius:7px}
.ea-page .btn:not(.primary):not(.danger){color:var(--brand-ink);border-color:var(--brand-border)}
.ea-page .btn:not(.primary):not(.danger):hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent);transform:none}
.ea-page [data-action=ea-open]{background:var(--accent-soft);font-weight:600}
.ea-filter{display:grid;grid-template-columns:minmax(200px,1fr) minmax(185px,240px) auto;align-items:center;gap:9px;margin-bottom:12px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:10px}
.ea-filter input,.ea-filter select{min-height:38px;padding:8px 10px;font-size:12px;line-height:1.5;width:100%}
.ea-filter select{font-weight:600;background:var(--accent-soft);border-color:var(--brand-border);color:var(--brand-ink);padding-right:30px}
.ea-filter select:has(option[value=current]:checked),.ea-filter select:has(option[value=active]:checked){background:#edf8f2;border-color:#b4dfc6;color:#176443}
.ea-page .ea-filter>.btn:not(.primary):not(.danger){min-height:38px;background:var(--brand);border-color:var(--brand);color:#fff}
.ea-page .ea-filter>.btn:not(.primary):not(.danger):hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover);color:#fff}
.ea-table th{padding:10px 13px;font-size:11px}.ea-table td{padding:12px 13px}.ea-table small{margin-top:3px}.ea-table tbody tr:hover{background:var(--surface-subtle)}
.ea-table td:last-child{width:100px}.ea-table [data-action=ea-open]{min-height:34px}
.ea-person{padding:17px 19px 0;margin-bottom:16px;gap:12px}.ea-person h2{font-size:20px}.ea-body{padding:19px}.ea-facts{gap:17px 24px;margin-bottom:18px}.ea-facts dt{margin-bottom:4px}.ea-secondary{margin-top:20px}.ea-lifecycle{margin-top:19px}.ea-body h3{margin-top:20px}
:root[data-theme=dark] .ea-filter select:has(option[value=current]:checked),:root[data-theme=dark] .ea-filter select:has(option[value=active]:checked){background:#203d32;border-color:#39705a;color:#a5e2c3}
@media(max-width:760px){.app-layout>.workspace>.main-content:has(>.ea-page){padding-top:12px}.ea-heading{gap:10px;margin-bottom:12px}.ea-heading h1{font-size:23px}.ea-heading>.ea-actions{gap:7px;width:100%}.ea-heading>.ea-actions .btn{flex:1;min-height:42px;font-size:11px;padding:8px 10px}.ea-filter{grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:8px}.ea-filter input{grid-column:1/-1}.ea-filter input,.ea-filter select{min-height:42px;font-size:16px}.ea-filter>.btn{min-height:42px}.ea-table td,.ea-table th{padding:11px 12px}.ea-table [data-action=ea-open]{min-height:42px}.ea-person{padding:15px 15px 0}.ea-body{padding:16px}.ea-page .ea-body .btn{min-height:42px}.ea-facts{gap:17px}}

/* On phones, every employee's salary, status and Manage action stay in view. */
@media(max-width:600px){
 .ea-page>.ea-records{background:transparent;border:0;box-shadow:none;overflow:visible}
 .ea-table{display:block;width:100%;min-width:0}
 .ea-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .ea-table tbody{display:grid;gap:10px}
 .ea-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}
 .ea-table td,.ea-table td:first-child,.ea-table td:last-child{display:block;width:auto;min-width:0;padding:10px 12px;border:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
 .ea-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:11px;font-weight:500;line-height:1.4}
 .ea-table td:first-child{grid-column:1/-1;padding:12px;border-bottom:1px solid var(--border)}
 .ea-table td:first-child::before,.ea-table td:last-child::before{display:none}
 .ea-table td:first-child>strong{font-size:15px;color:var(--text)}
 .ea-table td:first-child>small{font-size:12px;line-height:1.45;margin-top:3px;overflow-wrap:anywhere}
 .ea-table td:nth-child(2){grid-column:1;grid-row:2}
 .ea-table td:nth-child(6){grid-column:2;grid-row:2}
 .ea-table td:nth-child(3){grid-column:1;grid-row:3}
 .ea-table td:nth-child(4){grid-column:2;grid-row:3}
 .ea-table td:nth-child(5){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);font-weight:600}
 .ea-table td:nth-child(5)::before{margin:0;flex:none}
 .ea-table td:last-child{grid-column:1/-1;padding:0 12px 12px}
 .ea-table [data-action=ea-open]{width:100%;min-height:42px;font-size:12px}
 .ea-pager{flex-wrap:wrap;gap:8px}.ea-pager>span{width:100%;font-size:12px}.ea-pager .btn{min-height:42px;flex:1}
}
