.hr-hub{--hr-line:#e4e4e4;--hr-muted:#6b6b6b;--hr-ink:#191919;color:var(--hr-ink)}.hr-hub .badge{background:#f0f0f0!important;color:#333!important;border-color:#ddd!important}.hr-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--hr-line);background:#fff;border-radius:14px;margin:24px 0}.hr-metrics>div{display:flex;flex-direction:column;gap:8px;padding:23px;border-right:1px solid var(--hr-line)}.hr-metrics>div:last-child{border:0}.hr-metrics span,.hr-metrics small{color:var(--hr-muted);font-size:12px}.hr-metrics strong{font-size:30px;font-weight:600;letter-spacing:-1px}.hr-tabs,.hr-subnav,.hr-actions,.hr-crew-actions{display:flex;gap:8px;flex-wrap:wrap}.hr-tabs{border-bottom:1px solid var(--hr-line);padding-bottom:18px;margin-bottom:24px}.hr-subnav{margin-bottom:16px}.hr-card{margin-bottom:20px;overflow:hidden;border:1px solid var(--hr-line);border-radius:14px;box-shadow:none}.hr-card>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid var(--hr-line)}.hr-card h2{font-size:17px;margin:0}.hr-card header p{font-size:13px;color:var(--hr-muted);margin:7px 0 0}.hr-card-body{padding:0 24px 20px}.hr-toolbar{display:flex;gap:12px;padding:20px 0}.hr-toolbar input{flex:1;min-width:100px}.hr-toolbar input,.hr-toolbar select{border:1px solid var(--hr-line);border-radius:8px;padding:12px;background:#fff;color:#222}.hr-directory{display:grid}.hr-person{display:flex;align-items:center;gap:16px;width:100%;padding:20px 0;background:none;border:0;border-top:1px solid var(--hr-line);text-align:left;color:inherit;cursor:pointer}.hr-person:hover{background:#fafafa}.hr-initials{display:grid;place-items:center;flex-shrink:0;background:#f2f2f2;border:1px solid var(--hr-line);width:44px;height:44px;border-radius:12px;font-size:14px;font-weight:600}.hr-initials.large{width:68px;height:68px;font-size:23px}.hr-person-info{display:grid;gap:6px;flex:1}.hr-person-info strong{font-size:15px}.hr-person-info span,.hr-person-info small,.hr-person-status small{font-size:12px;color:var(--hr-muted)}.hr-person-status{display:grid;gap:9px;justify-items:end}.hr-empty{text-align:center;padding:45px 22px}.hr-empty h3{font-size:18px;margin:0 0 10px}.hr-empty p{max-width:430px;margin:0 auto 20px;color:var(--hr-muted);line-height:1.65}.hr-profile-head{display:flex;align-items:center;gap:20px;padding:30px 0}.hr-profile-head h2{font-size:28px;margin:7px 0}.hr-profile-head p{color:var(--hr-muted);margin:0 0 12px}.hr-completion{margin-left:auto;text-align:right;display:grid;gap:6px}.hr-completion strong{font-size:32px;font-weight:500}.hr-completion span,.hr-completion small{color:var(--hr-muted);font-size:12px}.hr-profile-layout{display:grid;grid-template-columns:185px minmax(0,1fr);gap:26px}.hr-profile-nav{display:flex;flex-direction:column;gap:6px;align-items:stretch}.hr-profile-nav .btn{justify-content:flex-start}.hr-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-top:20px;margin:0}.hr-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--hr-muted);margin-bottom:7px}.hr-facts dd{font-size:14px;margin:0;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.hr-record{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--hr-line);padding:18px 0}.hr-record:last-child{border:0}.hr-record strong{font-size:14px}.hr-record small{display:block;margin-top:6px;color:var(--hr-muted);font-size:12px}.hr-record-card,.hr-request{padding:24px 0;border-bottom:1px solid var(--hr-line)}.hr-record-card h3,.hr-request h3{margin:0;font-size:17px}.hr-record-card .hr-actions{margin-top:18px}.hr-request p{font-size:13px;color:var(--hr-muted);line-height:1.6}.hr-split{display:flex;justify-content:space-between;align-items:center;gap:10px}.hr-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px 0}.hr-progress span{font-size:12px;color:var(--hr-muted)}.hr-progress b{display:block;font-size:22px;font-weight:500;color:var(--hr-ink);margin-bottom:5px}.hr-task-list{display:grid;gap:12px;margin-top:20px;font-size:12px}.hr-task-list div{display:flex;justify-content:space-between;gap:10px}.hr-task-list span,.hr-muted{color:var(--hr-muted)}.hr-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hr-review-grid .hr-card{margin:0}.hr-crew{max-width:1100px;margin:auto}.hr-crew-actions{margin-bottom:20px}.hr-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;margin:22px 0}.hr-check input{width:18px;height:18px;flex-shrink:0;margin-top:3px;accent-color:#222}.hr-digest{margin:20px 0;font-size:12px;overflow-wrap:anywhere}.hr-digest code{display:block;padding:10px 0}.hr-hub .btn.primary{background:#191919;color:#fff;border-color:#191919}.hr-hub .btn:not(.primary){color:#292929;background:#fff;border-color:#ddd}@media(max-width:800px){.hr-metrics{grid-template-columns:repeat(2,1fr)}.hr-metrics>div{border-bottom:1px solid var(--hr-line)}.hr-profile-layout{grid-template-columns:1fr}.hr-profile-nav{flex-direction:row;overflow:auto;padding-bottom:8px}.hr-profile-nav .btn{white-space:nowrap}.hr-review-grid{grid-template-columns:1fr}.hr-person-status{display:none}.hr-toolbar{flex-direction:column}.hr-profile-head{flex-wrap:wrap}.hr-completion{margin-left:0}.hr-record{align-items:flex-start;flex-direction:column}.hr-card>header{padding:18px}.hr-card-body{padding:0 18px 18px}.hr-facts{grid-template-columns:1fr}.hr-progress{grid-template-columns:repeat(2,1fr)}.hr-task-list div{flex-direction:column}}
.hr-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:6px}.hr-dashboard-stat{text-align:left;display:flex;flex-direction:column;gap:15px;padding:22px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#222;cursor:pointer;min-height:165px}.hr-dashboard-stat:hover{background:#f7f7f7;border-color:#aaa}.hr-dashboard-stat span{font-size:13px;line-height:1.5}.hr-dashboard-stat strong{font-size:32px;font-weight:500;margin-top:auto}.hr-dashboard-stat small{font-size:11px;color:#666}.hr-filters label{display:grid;gap:7px;flex:1;font-size:12px;color:#666}.hr-filters select{width:100%}.hr-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:22px;font-size:12px;color:#666}@media(max-width:950px){.hr-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.hr-dashboard-grid{gap:8px}.hr-dashboard-stat{padding:15px}.hr-pagination{align-items:flex-start;flex-direction:column}}

/* Keep employee actions usable on narrow laptops and phones. */
.hr-card>header{flex-wrap:wrap}.hr-card>header>div{min-width:0}.hr-card>header>.hr-actions{flex:1 1 320px;justify-content:flex-end}.hr-record{flex-wrap:wrap}.hr-record>div{min-width:0;overflow-wrap:anywhere}.hr-record>.hr-actions{flex-wrap:wrap}.hr-card textarea{width:100%;box-sizing:border-box}@media(max-width:800px){.hr-card>header>.hr-actions{justify-content:flex-start}}

.talent-section{border-bottom:1px solid #e5e5e5;padding:10px 0}.talent-section summary{cursor:pointer;padding:12px 0;min-height:44px}.talent-section .talent-answer{margin:12px 0!important;line-height:1.6}.talent-section>div{padding-bottom:8px}

.candidate-thread{margin-top:18px;border-top:1px solid #e4e4e4;padding-top:16px}
.candidate-thread h3{font-size:16px;margin:0 0 6px}
.candidate-thread-help{font-size:13px;color:#666;line-height:1.5;margin:0 0 12px}
.candidate-comments{display:flex;flex-direction:column;gap:10px;max-height:340px;overflow:auto}
.candidate-comment{border:1px solid #e6e6e6;border-radius:12px;padding:12px 14px;background:#fafafa}
.candidate-comment.legacy{background:#f7f4ec;border-color:#e6dcc4}
.candidate-comment header{display:flex;justify-content:space-between;gap:8px 12px;align-items:flex-start;flex-wrap:wrap}
.candidate-comment strong{font-size:14px}
.candidate-comment time,.candidate-comment .candidate-role{font-size:12px;color:#666}
.candidate-comment p{margin:8px 0 0;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.candidate-comment .btn{margin-top:10px}
.candidate-thread textarea{width:100%;min-height:96px;font-size:16px}
@media(max-width:760px){
 .candidate-comments{max-height:none}
 .candidate-thread form .dialog-footer{flex-direction:column;align-items:stretch}
 .candidate-thread .btn,.candidate-comment .btn{width:100%;min-height:44px;justify-content:center}
 .candidate-comment header{flex-direction:column;align-items:flex-start}
 dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}
 .dialog-body{padding:16px}
}
