/* DIVA Staff Profile V503 — isolated styles. No global navigation/rota selectors. */
#divaEmployeeV419Profile .diva-v503-staff{margin-top:17px;color:#fff}
#divaEmployeeV419Profile .diva-v503-section-title{color:#edc757;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin:20px 0 10px}
#divaEmployeeV419Profile .diva-v503-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#divaEmployeeV419Profile .diva-v503-field{display:flex;flex-direction:column;gap:6px;min-width:0}
#divaEmployeeV419Profile .diva-v503-field.wide{grid-column:1/-1}
#divaEmployeeV419Profile .diva-v503-field label{font-weight:650;font-size:12px;color:#f4e5b9}
#divaEmployeeV419Profile .diva-v503-field input,#divaEmployeeV419Profile .diva-v503-field textarea{box-sizing:border-box;display:block;width:100%;border:1px solid #6e644f;border-radius:10px;padding:12px 11px;color:#15191e;background:#fff;font-size:15px;line-height:1.35;min-height:44px;outline-offset:2px}
#divaEmployeeV419Profile .diva-v503-field textarea{min-height:86px;resize:vertical}
#divaEmployeeV419Profile .diva-v503-field input[readonly]{background:#343c48;color:#f4f3ee;border:1px solid #686a69;cursor:default}
#divaEmployeeV419Profile .diva-v503-field .diva-v503-help{font-size:11px;color:#c9cfda}
#divaEmployeeV419Profile .diva-v503-photo-line{display:flex;align-items:center;gap:13px;border:1px solid #686047;border-radius:12px;background:#252b32;padding:12px}
#divaEmployeeV419Profile .diva-v503-photo{height:70px;width:70px;border-radius:50%;display:grid;place-items:center;background:#413820;border:2px solid #e4bd55;color:#f3da8b;font-size:24px;font-weight:800;overflow:hidden;flex:none;position:relative}
#divaEmployeeV419Profile .diva-v503-photo img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
#divaEmployeeV419Profile .diva-v503-photo-line .diva-v503-photo-copy{min-width:0;flex:1}
#divaEmployeeV419Profile .diva-v503-photo-copy strong{display:block;font-size:13px}
#divaEmployeeV419Profile .diva-v503-photo-copy small{display:block;color:#ced2d7;font-size:11px;margin-top:4px}
#divaEmployeeV419Profile .diva-v503-file-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
#divaEmployeeV419Profile .diva-v503-upload{border:1px dashed #ac995f;background:#282f38;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:7px;min-width:0}
#divaEmployeeV419Profile .diva-v503-upload strong{font-size:12px;color:#fff}
#divaEmployeeV419Profile .diva-v503-upload input{max-width:100%;min-width:0;font-size:12px;color:#f0e5cd}
#divaEmployeeV419Profile .diva-v503-upload small{color:#c8cdd1;font-size:11px;overflow-wrap:anywhere}
#divaEmployeeV419Profile .diva-v503-btn{border:1px solid #eccb78;border-radius:10px;background:#eac657;color:#1a1b20;font-size:13px;line-height:1.35;font-weight:800;padding:10px 12px;cursor:pointer;min-height:40px}
#divaEmployeeV419Profile .diva-v503-btn[disabled]{opacity:.65;cursor:wait}
#divaEmployeeV419Profile .diva-v503-btn.secondary{background:#343e49;color:#fff;border-color:#95835d}
#divaEmployeeV419Profile .diva-v503-save{width:100%;margin-top:16px}
#divaEmployeeV419Profile .diva-v503-status{min-height:1.2em;font-size:12px;color:#f2d99b;line-height:1.45;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#divaEmployeeV419Profile .diva-v503-status[data-tone=error]{color:#ffb6a7}
#divaEmployeeV419Profile .diva-v503-status[data-tone=success]{color:#a3efc4}
#divaEmployeeV419Profile .diva-v503-privacy{color:#c9ced4;font-size:11px;line-height:1.6;margin:13px 0 2px}
#divaEmployeeV419Profile .diva-v503-staff[hidden]{display:none!important}
#hrPortalAvatar.diva-v503-avatar-active{position:relative!important;overflow:hidden!important}
#hrPortalAvatar .diva-v503-avatar-img{width:100%;height:100%;display:block;position:absolute;inset:0;object-fit:cover;border-radius:inherit;z-index:2}
#hrstaff #hrProfileV503[hidden],#hrstaff #hrProfileV503Body[hidden]{display:none!important}
#hrstaff #hrProfileV503{border-color:#e3d9c1!important}
#hrstaff .hr-v503-head{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
#hrstaff .hr-v503-photo{display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;border-radius:50%;background:#252e3b;color:#eacc74;border:2px solid #caa34c;overflow:hidden;font-weight:800;font-size:25px;position:relative}
#hrstaff .hr-v503-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
#hrstaff .hr-v503-head strong{display:block;font-size:17px;color:#202830}
#hrstaff .hr-v503-head small{display:block;font-size:12px;color:#687380;margin-top:3px}
#hrstaff .hr-v503-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#hrstaff .hr-v503-detail{border:1px solid #e5e9ed;background:#f7f9fb;border-radius:9px;padding:10px;overflow-wrap:anywhere;min-width:0}
#hrstaff .hr-v503-detail span{display:block;color:#586679;font-size:11px;font-weight:700;margin-bottom:5px}
#hrstaff .hr-v503-detail strong{display:block;font-size:13px;font-weight:700;color:#1c2735;white-space:pre-wrap;overflow-wrap:anywhere}
#hrstaff .hr-v503-doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}
#hrstaff .hr-v503-doc{border:1px solid #e2d8bd;border-radius:10px;padding:12px;background:#fffdf8}
#hrstaff .hr-v503-doc strong{display:block;font-size:13px;margin-bottom:4px}
#hrstaff .hr-v503-doc small{display:block;font-size:11px;color:#64748b;margin-bottom:8px}
#hrstaff .hr-v503-doc button,#hrstaff #hrProfileV503Refresh{border:1px solid #d6b362;border-radius:8px;background:#f6e7b8;padding:9px 12px;color:#34270f;font-size:12px;font-weight:800;cursor:pointer}
#hrstaff .hr-v503-doc button:disabled{cursor:default;opacity:.6}
#hrstaff .hr-v503-status{font-size:12px;line-height:1.5;margin:8px 0 12px;color:#5a6270;white-space:pre-wrap;overflow-wrap:anywhere}
#hrstaff .hr-v503-status[data-tone=error]{color:#a12626}
@media(max-width:420px){#divaEmployeeV419Profile .diva-v503-form,#divaEmployeeV419Profile .diva-v503-file-grid{grid-template-columns:1fr}#divaEmployeeV419Profile .diva-v503-field{grid-column:1/-1}}
@media(max-width:760px){#hrstaff .hr-v503-grid,#hrstaff .hr-v503-doc-grid{grid-template-columns:1fr}}

#hrstaff .hr-v503-section{margin-top:16px}
#hrstaff .hr-v503-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 9px}
#hrstaff .hr-v503-section-head h4{margin:0;font-size:14px;color:#182b40;font-weight:850}
#hrstaff .hr-v503-section-head small{display:block;color:#738195;font-size:11px;line-height:1.45}
#hrstaff .hr-v503-history{display:grid;grid-template-columns:1fr;gap:9px}
#hrstaff .hr-v503-history-row{border:1px solid #e5e9ed;background:#f7f9fb;border-radius:10px;padding:10px 12px;overflow-wrap:anywhere}
#hrstaff .hr-v503-history-row strong{display:block;font-size:12px;color:#25384f}
#hrstaff .hr-v503-history-row span{display:block;font-size:12px;color:#465669;line-height:1.55;margin-top:4px;white-space:pre-wrap}
#hrstaff .hr-v503-history-row small{display:block;font-size:10px;color:#7c8b9c;margin-top:6px}
#hrstaff .hr-v503-empty{margin:0;font-size:12px;color:#7a8898;line-height:1.5}

/* V511: keep the current address and recorded address changes easy to distinguish. */
#hrstaff .hr-v503-history-row:first-child{background:#f2f8ff;border-color:#d5e3f5}
#hrstaff .hr-v503-history-row:first-child strong{color:#16436e}
#hrstaff #hrProfileV503AddressHistory{margin-top:6px}
