#profilePopup{padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
#profilePopupCard{width:min(1100px,100%);height:min(880px,94vh);height:min(880px,94dvh);max-height:none;padding:0;border-radius:24px;box-shadow:0 32px 120px #0008;overflow:hidden}
#profilePopupBody{height:100%;display:flex;flex-direction:column}
#profilePopupCard .close-btn{z-index:3;width:44px;height:44px;top:18px;right:18px}
.hr-record-header{display:flex;justify-content:flex-start;gap:20px;align-items:center;margin:0;max-width:none;padding:28px 74px 24px 28px;background:#eaf0f8;border-bottom:1px solid #d8e2f0}
.hr-record-header .profile-photo{width:80px;height:80px;min-width:80px;border-radius:20px;font-size:27px}
.hr-record-header .profile-photo{position:relative}.hr-record-header .profile-photo img{position:absolute;inset:0}
.hr-record-header h2{font-size:30px;line-height:1.15;margin:8px 0;color:#15243b;overflow-wrap:anywhere}
.hr-record-header p{margin:0;color:#52637c}.hr-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#3d587e}
.hr-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.hr-chips span{font-size:12px;padding:6px 9px;background:white;border:1px solid #d2ddec;border-radius:8px;color:#344761}
.hr-tabs{display:flex;flex-shrink:0;overflow-x:auto;padding:10px 18px;gap:6px;border-bottom:1px solid #d8e2f0;background:#fff;scrollbar-width:thin}
.hr-tabs button{white-space:nowrap;min-height:46px;font-size:13px;padding:10px 13px;background:transparent;color:#51617a;border:1px solid transparent;border-radius:10px}
.hr-tabs button[aria-selected=true]{background:#173962;color:#fff}.hr-tabs button:focus-visible,#profilePopup :focus-visible{outline:3px solid #558adc;outline-offset:2px}
.hr-record-content{padding:24px 28px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;-webkit-overflow-scrolling:touch}
.hr-record-content [hidden]{display:none!important}.hr-record-content h3{margin:0 0 14px;font-size:22px}.hr-record-content h4{margin:24px 0 12px;font-size:16px}
.hr-record-content .profile-fields{margin:12px 0 18px;gap:12px}.hr-record-content .profile-field{background:white;padding:16px;border-color:#dce4ef}
.hr-record-content .profile-field small{font-size:10px;color:#526783;letter-spacing:.05em}.hr-record-content .profile-field b{font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;text-overflow:clip;font-weight:600}
.hr-empty{padding:18px;border:1px dashed #b9c9dc;border-radius:12px;background:#edf3fa;color:#566880;font-size:14px;line-height:1.6}
.hr-extra{border:1px solid #dce4ef;background:#fff;padding:14px 16px;margin:12px 0;border-radius:12px}.hr-extra summary{cursor:pointer;min-height:32px;line-height:1.6;font-weight:700;color:#324d70;overflow-wrap:anywhere}
.hr-record-item{padding:12px;border:1px solid #dce4ef;border-radius:12px;margin:12px 0}.hr-footnote{font-size:12px;color:#687a93;line-height:1.5}
.hr-paystubs{display:grid;gap:12px}.hr-paystub{padding:20px;border:1px solid #d5e0ee;background:#fff;border-radius:14px}.hr-paystub>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.hr-paystub span{color:#687a93;font-size:13px}
.hr-paystub dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 0}.hr-paystub dt{font-size:11px;color:#647894}.hr-paystub dd{margin:6px 0 0;font-weight:800;font-size:20px;color:#173962}
#profilePopup .hr-actions{border:0;padding:0;margin:0;background:transparent}#profilePopup input,#profilePopup textarea,#profilePopup select{background:#fff;color:#20334f;border:1px solid #b7c7db;min-height:46px;font-size:16px;border-radius:9px;padding:12px;max-width:100%;box-sizing:border-box}
#profilePopup .hr-note-form{display:grid;gap:12px}#profilePopup textarea{width:100%}#profilePopup button{min-height:44px}#profilePopup .hr-action-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.hr-note-item{padding:16px;background:white;border:1px solid #dce4ef;border-radius:12px;margin:10px 0}.hr-note-item b,.hr-note-item span,.hr-note-item small{display:block}.hr-note-item span{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.hr-note-item small{color:#637893}
@media(max-width:700px){#profilePopup{padding:8px}#profilePopupCard{height:96vh;height:96dvh;border-radius:16px}.hr-record-header{padding:20px 66px 18px 18px;gap:12px}.hr-record-header .profile-photo{display:none}.hr-record-header h2{font-size:24px}.hr-record-content{padding:18px}.hr-tabs{padding:8px}.hr-record-content .profile-fields{grid-template-columns:1fr}.hr-paystub dl{grid-template-columns:1fr}.hr-paystub dl>div{display:flex;align-items:center;justify-content:space-between}.hr-paystub dd{font-size:18px;margin:0}}
