/* Shared employee records, Office and tablet. */
.employee-workspace{max-width:1360px;margin:0 auto;--em-line:var(--theme-line, #2a354a);--em-muted:var(--theme-muted, #9aaac3);--em-panel:var(--theme-panel, #141d2e);overflow-wrap:anywhere}
body:has(.employee-workspace){height:auto;min-height:100%;background:var(--theme-page, #0c1120)}
.employee-workspace h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1.2px;margin:10px 0}.employee-workspace h1 span{color:var(--theme-accent, #a5a8ff)}.employee-workspace h2{font-size:20px;margin:8px 0 16px}.employee-workspace h3{font-size:17px;margin:28px 0 15px}.employee-workspace p{line-height:1.65}.em-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 28px}.em-heading p{color:var(--em-muted);margin:0}.em-eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--theme-muted, #a2acc4);font-weight:700}.em-back{display:inline-block;font-size:13px;color:var(--theme-muted, #adb7cd);margin:8px 0 5px;text-underline-offset:4px}
.em-section-nav{position:static;display:flex;flex-wrap:wrap;gap:8px;background:none;backdrop-filter:none;padding:0 0 18px;margin:0 0 24px;box-shadow:none;border-bottom:1px solid var(--theme-line, #2a354a);z-index:auto}.em-section-nav a{font-size:13px;border:1px solid transparent;border-radius:10px;padding:11px 16px;color:var(--theme-muted, #aab6cd);text-decoration:none}.em-section-nav a[aria-current]{color:var(--theme-accent, #dddfff);border-color:var(--theme-accent-line, #444872);background:var(--theme-accent-bg, #282c4c)}.em-section-nav a:hover{color:var(--theme-ink, #fff);background:var(--theme-inset, #222c43)}
.em-panel{padding:25px;border:1px solid var(--em-line);border-radius:16px;background:var(--em-panel);margin-bottom:20px;min-width:0}.employee-workspace .btn,.em-form .btn{font-size:14px;min-height:44px;border-radius:10px;padding:11px 16px;white-space:normal}.em-secondary{background:var(--theme-inset, #222e43);color:var(--theme-ink, #e5eafa);border:1px solid var(--theme-line, #3b4860);box-shadow:none}.em-full{display:flex;justify-content:space-between;width:100%;margin-top:auto;text-decoration:none}.em-filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.em-filters label{flex:1 1 135px;font-size:12px;color:var(--theme-muted, #bec9de);min-width:0}.em-filters .em-search{flex-basis:180px}.em-filters .form-control{margin-top:7px;min-height:44px;width:100%;min-width:0}.em-filters p{flex:1 1 260px;margin:0}.employee-workspace .form-control{font-size:15px;color:var(--theme-ink, #eff2ff);border-radius:9px;background:var(--theme-panel, #0e1627);border:1px solid var(--theme-line, #36435b)}.employee-workspace textarea{resize:vertical}.employee-workspace .form-control:focus{outline:2px solid var(--theme-accent, #9095fb);outline-offset:2px}.em-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}.em-section-heading h2,.em-section-heading p{margin:0}.em-section-heading>p{font-size:12px;color:var(--em-muted)}
.em-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.em-person{display:flex;flex-direction:column;margin-bottom:0}.em-person-head{display:flex;gap:13px;align-items:center}.em-avatar{display:grid;place-items:center;width:44px;height:44px;background:var(--theme-accent-bg, #2b3052);border-radius:13px;color:var(--theme-accent, #ccceff);flex-shrink:0;font-weight:700}.em-person h2{margin:0 0 5px;font-size:20px}.em-person h2 a{text-decoration:none}.em-person-head p{font-size:12px;color:var(--em-muted);margin:0}.em-description-preview{font-size:13px;color:var(--theme-muted, #b2bdd0);min-height:43px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.em-rating-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:16px 0}.em-score{display:flex;align-items:baseline;gap:10px}.em-score strong{font-size:37px;line-height:1.1;letter-spacing:-1px}.em-score span{font-size:12px;color:var(--em-muted)}.em-rating-counts{display:flex;gap:7px;flex-wrap:wrap}.em-badge{display:inline-flex;padding:6px 9px;gap:5px;border-radius:7px;background:var(--theme-inset, #263248);color:var(--theme-muted, #c2cde0);font-size:11px;font-weight:600}.em-badge.green{background:var(--theme-success-bg, #173b32);color:var(--theme-success, #9be4c0)}.em-badge.red{background:var(--theme-danger-bg, #412735);color:var(--theme-danger, #ffb2b5)}.em-badge.amber{background:var(--theme-warning-bg, #3e3521);color:var(--theme-warning, #eed091)}.em-rating-bar{display:flex;height:7px;background:var(--theme-inset, #2a3549);border-radius:20px;overflow:hidden}.em-rating-bar .green{background:var(--theme-success, #55c69e)}.em-rating-bar .red{background:var(--theme-danger, #eb7a88)}.em-muted{font-size:12px;color:var(--em-muted);line-height:1.65}.em-discipline-row{display:flex;gap:15px;justify-content:space-between;border-top:1px solid var(--em-line);padding:16px 0;margin-top:5px}.em-discipline-row span{font-size:11px;color:var(--em-muted)}.em-discipline-row strong{font-size:19px;color:var(--theme-ink, #e5eafa);margin-right:5px}.em-notice{padding:13px 16px;border:1px solid var(--theme-line, #655238);border-radius:10px;background:var(--theme-warning-bg, #332b22);color:var(--theme-warning, #eed8b1);font-size:13px;line-height:1.65}.em-notice.red{border-color:var(--theme-line, #744251);background:var(--theme-danger-bg, #382430);color:var(--theme-danger, #f4c1c9)}.em-notice p{margin:5px 0 0}.em-form{display:grid;gap:16px}.em-form label{display:grid;gap:8px;color:var(--theme-muted, #c6cfe2);font-size:13px}.em-form .btn{justify-self:start}.em-form p{margin:0}.em-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.em-actions form{margin:0}.em-preline{white-space:pre-line;font-size:14px;overflow-wrap:anywhere}.em-history-item{padding:20px 0;border-top:1px solid var(--em-line)}.em-history-item:last-child{padding-bottom:0}.em-history-item .em-section-heading{margin-bottom:8px}.em-history-item p{margin:8px 0}.em-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.em-metrics>div{background:var(--theme-inset, #101929);border:1px solid var(--theme-line, #2c384f);padding:18px;border-radius:12px;display:flex;flex-direction:column;gap:6px}.em-metrics strong{font-size:32px}.em-metrics span{font-size:12px;color:var(--em-muted)}.em-disclosure{border:1px solid var(--theme-line, #354059);background:var(--theme-panel, #111a2a);border-radius:10px;padding:14px;margin:15px 0}.em-disclosure summary{cursor:pointer;font-size:13px;font-weight:600;min-height:22px;color:var(--theme-accent, #c5c8ff)}.em-disclosure[open]>summary{margin-bottom:20px}.em-review-item{border-bottom:1px solid var(--theme-line, #354059);padding-bottom:14px}.em-review-item strong{font-size:14px}.em-empty{padding:30px;text-align:center;color:var(--em-muted);grid-column:1/-1}.em-empty p{margin:0}.em-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;margin:22px 0;font-size:12px}.em-footnote{font-size:12px;color:var(--em-muted);margin-top:24px}.em-rules-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:22px}.em-rules-grid aside p{font-size:13px}.em-rules-grid hr{border:0;border-top:1px solid var(--em-line);margin:24px 0}.employee-workspace [id]{scroll-margin-top:100px}
.em-rating-picker{border:0;padding:0;margin:18px 0}.em-rating-picker legend{font-weight:700;margin-bottom:10px}.em-rating-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.em-rating-option{cursor:pointer;display:flex;align-items:center;gap:10px;padding:16px;border:2px solid var(--theme-line, #3a4961);border-radius:12px;min-width:0}.em-rating-option input{width:19px;height:19px;flex-shrink:0}.em-rating-option:has(input:checked){border-color:var(--theme-accent-line, #8c92ff);background:var(--theme-accent-bg, #272b4e)}.em-rating-option:has(input:focus-visible){outline:2px solid var(--theme-accent, white);outline-offset:3px}.em-rating-option strong{font-size:16px}.em-rating-option small{display:block;font-size:12px;margin-top:4px;color:var(--theme-muted, #b8c3d8)}.em-rating-option.green strong{color:var(--theme-success, #92ddba)}.em-rating-option.red strong{color:var(--theme-danger, #ffb0b7)}
@media(max-width:1150px){.em-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.em-heading{align-items:flex-start;flex-direction:column}.em-people-grid,.em-rules-grid{grid-template-columns:1fr}.em-panel{padding:19px}.em-section-nav{gap:5px}.em-section-nav a{padding:10px;font-size:12px}.employee-workspace .form-control{font-size:16px}.em-metrics>div{padding:12px}.em-metrics strong{font-size:27px}.em-metrics span{font-size:11px}.em-filters label{flex-basis:130px}.em-filters .em-search{flex-basis:100%}.em-filters>.btn{width:100%}.em-actions{width:100%}.em-actions .btn{flex:1 1 auto}.em-rating-option{padding:11px;gap:7px}.em-rating-option strong{font-size:14px}.em-rating-option small{font-size:11px}.em-section-heading{align-items:flex-start}}
@media(max-width:360px){.em-filters label{flex-basis:100%}.em-panel{padding:15px}.em-metrics{gap:6px}.em-score strong{font-size:31px}}
