/* DIVA HR Staff Data V510: only the selected HR employee panel. */
#hrstaff[data-reports-v426] #hrProfileV503Body>.hr-v503-grid{display:none!important}
#hrstaff[data-reports-v426] #hrProfileV503 .hr-v503-head{margin-bottom:13px!important}
#hrstaff[data-reports-v426] .hr-v510-activity,#hrstaff[data-reports-v426] .hr-v510-archive{font:inherit;color:#17283f}
#hrstaff[data-reports-v426] .hr-v510-activity[hidden],#hrstaff[data-reports-v426] .hr-v510-archive[hidden]{display:none!important}
#hrstaff[data-reports-v426] .hr-v510-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 11px}
#hrstaff[data-reports-v426] .hr-v510-title h3{font-size:16px!important;font-weight:850!important;line-height:1.4!important;color:#17283f!important;margin:2px 0 0!important;letter-spacing:-.01em}
#hrstaff[data-reports-v426] .hr-v510-title p{color:#718096;font-size:11px;margin:3px 0 0}
#hrstaff[data-reports-v426] .hr-v510-kicker{display:block;font-size:10px!important;letter-spacing:.11em;font-weight:850;color:#a07b2f}
#hrstaff[data-reports-v426] .hr-v510-refresh{border-radius:9px;background:#fff8e7;border:1px solid #e7ca8b;color:#7f6026;font-weight:800;font-size:11px;padding:9px 13px;cursor:pointer}
#hrstaff[data-reports-v426] .hr-v510-today{border:1px solid #dce5ec;border-radius:14px;background:linear-gradient(115deg,#f5f9fd 10%,#fffdf9);padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
#hrstaff[data-reports-v426] .hr-v510-today[data-status=scheduled]{background:linear-gradient(115deg,#effaf3,#fbfff9);border-color:#cde8d4}
#hrstaff[data-reports-v426] .hr-v510-today[data-status=holiday]{background:linear-gradient(115deg,#fff7e8,#fffdf6);border-color:#f1dfa7}
#hrstaff[data-reports-v426] .hr-v510-today[data-status=off]{background:#f6f8fb}
#hrstaff[data-reports-v426] .hr-v510-today-primary{display:flex;flex-direction:column;gap:5px;min-width:0}
#hrstaff[data-reports-v426] .hr-v510-today-kicker{font-size:10px;color:#62748b;font-weight:850;letter-spacing:.1em}
#hrstaff[data-reports-v426] .hr-v510-today-primary>strong{font-size:clamp(16px,1.4vw,21px);color:#193049;line-height:1.3;font-weight:850}
#hrstaff[data-reports-v426] .hr-v510-today-desc{font-size:12px;color:#64778b;line-height:1.6;overflow-wrap:anywhere}
#hrstaff[data-reports-v426] .hr-v510-attendance{min-width:145px;display:flex;flex-direction:column;gap:6px;padding:12px 14px;background:#fff;border:1px solid #dce5ed;border-radius:12px}
#hrstaff[data-reports-v426] .hr-v510-attendance small{color:#687a8e;font-size:9px;font-weight:850;letter-spacing:.1em}
#hrstaff[data-reports-v426] .hr-v510-attendance strong{font-size:12px;color:#43556c}
#hrstaff[data-reports-v426] .hr-v510-attendance[data-status=present] strong{color:#17764c}
#hrstaff[data-reports-v426] .hr-v510-attendance[data-status=absent] strong{color:#a33632}
#hrstaff[data-reports-v426] .hr-v510-histories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:13px}
#hrstaff[data-reports-v426] .hr-v510-history{min-width:0;border:1px solid #e2e8ee;border-radius:14px;background:#fff;overflow:hidden}
#hrstaff[data-reports-v426] .hr-v510-history-head{padding:13px 15px;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:10px;background:#fafbfd}
#hrstaff[data-reports-v426] .hr-v510-history-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff0ce;color:#b98a30;font-size:17px}
#hrstaff[data-reports-v426] .hr-v510-history-head h4{font-size:14px;margin:0;color:#182b40;font-weight:850}
#hrstaff[data-reports-v426] .hr-v510-history-head small{display:block;font-size:10px;margin-top:2px;color:#7b8898}
#hrstaff[data-reports-v426] .hr-v510-history-list{min-height:65px;padding:5px 14px}
#hrstaff[data-reports-v426] .hr-v510-row{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #eef1f5;padding:10px 0;min-width:0}
#hrstaff[data-reports-v426] .hr-v510-row:last-child{border-bottom:0}
#hrstaff[data-reports-v426] .hr-v510-row-main{min-width:0;flex:1}
#hrstaff[data-reports-v426] .hr-v510-row-main strong{display:block;font-size:12px;color:#263a51}
#hrstaff[data-reports-v426] .hr-v510-row-main small{display:block;margin-top:3px;font-size:11px;color:#748296;line-height:1.4;overflow-wrap:anywhere}
#hrstaff[data-reports-v426] .hr-v510-row-tag{border-radius:7px;padding:5px 8px;background:#f3f5f8;color:#54647b;font-size:10px;font-weight:800;white-space:nowrap}
#hrstaff[data-reports-v426] .hr-v510-row-tag.late{background:#fff1de;color:#a96923}
#hrstaff[data-reports-v426] .hr-v510-row-tag.approved{background:#e6f7ee;color:#166c42}
#hrstaff[data-reports-v426] .hr-v510-row-tag.rejected{background:#fce9e7;color:#973b31}
#hrstaff[data-reports-v426] .hr-v510-row-tag.pending{background:#fff4d5;color:#957022}
#hrstaff[data-reports-v426] .hr-v510-empty,#hrstaff[data-reports-v426] .hr-v510-skeleton,#hrstaff[data-reports-v426] .hr-v510-error{margin:13px 0!important;font-size:12px;color:#778597;line-height:1.5}
#hrstaff[data-reports-v426] .hr-v510-error{color:#b3423b}
#hrstaff[data-reports-v426] .hr-v510-more{display:block;width:100%;border:0;background:#f8fafc;border-radius:8px;color:#886c33;font-size:11px;font-weight:850;margin:7px 0;padding:9px;cursor:pointer}
#hrstaff[data-reports-v426] .hr-v510-document-title{margin-top:23px;margin-bottom:6px;padding-top:14px;border-top:1px solid #e8edf2}
#hrstaff[data-reports-v426] .hr-v510-archive{margin-top:21px;border-top:1px solid #e6edf3;padding-top:6px}
#hrstaff[data-reports-v426] .hr-v510-count{display:inline-block;border-radius:20px;background:#fdf4dc;border:1px solid #ead5a7;color:#9b7330;padding:7px 11px;font-size:11px;font-weight:850;white-space:nowrap}
#hrstaff[data-reports-v426] .hr-v510-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#hrstaff[data-reports-v426] .hr-v510-file{min-width:0;display:flex;align-items:center;gap:11px;border:1px solid #e3e9ee;border-radius:12px;background:#fbfcfe;padding:13px 12px;transition:box-shadow .16s,border-color .16s}
#hrstaff[data-reports-v426] .hr-v510-file:hover{border-color:#dec48b;box-shadow:0 6px 17px rgba(22,42,60,.08)}
#hrstaff[data-reports-v426] .hr-v510-file-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:#fff0d3;color:#9d7130;font-size:8px;text-transform:uppercase;font-weight:900;letter-spacing:-.04em}
#hrstaff[data-reports-v426] .hr-v510-file-copy{flex:1;min-width:0}
#hrstaff[data-reports-v426] .hr-v510-file-copy strong{display:block;font-size:12px;color:#21364f;overflow-wrap:anywhere;line-height:1.4}
#hrstaff[data-reports-v426] .hr-v510-file-copy small{display:block;margin-top:4px;color:#8390a0;font-size:10px;line-height:1.35}
#hrstaff[data-reports-v426] .hr-v510-open{border-radius:8px;padding:8px 10px;flex:none;background:#172d46;border:1px solid #243950;color:#fff;cursor:pointer;font-size:11px;font-weight:750}
#hrstaff[data-reports-v426] .hr-v510-open:disabled{opacity:.5;cursor:wait}
#hrstaff[data-reports-v426] .hr-v510-status{font-size:12px;color:#ab453c;margin:10px 0 0;min-height:0}
@media(max-width:1100px){#hrstaff[data-reports-v426] .hr-v510-documents{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){#hrstaff[data-reports-v426] .hr-v510-histories{grid-template-columns:1fr}#hrstaff[data-reports-v426] .hr-v510-today{align-items:stretch;flex-direction:column}#hrstaff[data-reports-v426] .hr-v510-attendance{min-width:0}#hrstaff[data-reports-v426] .hr-v510-documents{grid-template-columns:1fr}}

#hrstaff[data-reports-v426] #hrProfileV503Body .hr-v503-doc-grid[hidden],#hrstaff[data-reports-v426] #hrProfileV503Body .hr-v503-doc[hidden],#hrstaff[data-reports-v426] #hrV510NewDocTitle[hidden]{display:none!important}

#hrstaff[data-reports-v426] .hr-v510-doc-top{align-items:flex-start}
#hrstaff[data-reports-v426] .hr-v510-toolbar{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:min(100%,360px)}
#hrstaff[data-reports-v426] .hr-v510-toolbuttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
#hrstaff[data-reports-v426] .hr-v510-selected{display:block;max-width:360px;text-align:right;color:#6e7f91;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
#hrstaff[data-reports-v426] .hr-v510-file{align-items:flex-start}
#hrstaff[data-reports-v426] .hr-v510-file-actions{display:flex;flex-direction:column;gap:7px;align-items:stretch;flex:none}
#hrstaff[data-reports-v426] .hr-v510-delete{background:#fff;border-color:#e2b8b4;color:#8f312c}
#hrstaff[data-reports-v426] .hr-v510-status.is-error{color:#ab453c}
#hrstaff[data-reports-v426] .hr-v510-status.is-success{color:#24724d}
@media(max-width:920px){#hrstaff[data-reports-v426] .hr-v510-title{flex-direction:column;align-items:stretch}#hrstaff[data-reports-v426] .hr-v510-toolbar{align-items:stretch;min-width:0}#hrstaff[data-reports-v426] .hr-v510-toolbuttons{justify-content:flex-start}#hrstaff[data-reports-v426] .hr-v510-selected{text-align:left;max-width:none}}
@media(max-width:690px){#hrstaff[data-reports-v426] .hr-v510-file-actions{width:100%;flex-direction:row;justify-content:flex-start;flex-wrap:wrap}}

/* V511: one employee document collection; consistent card layout and mobile controls. */
#hrstaff[data-reports-v426] .hr-v510-archive{margin-top:22px;padding:18px;border:1px solid #e4e9f1;border-radius:17px;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)}
#hrstaff[data-reports-v426] .hr-v510-archive>.hr-v510-title{margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #eaf0f4}
#hrstaff[data-reports-v426] .hr-v511-staff-docs{min-width:0}
#hrstaff[data-reports-v426] .hr-v511-staff-docs:empty{display:none}
#hrstaff[data-reports-v426] .hr-v511-staff-docs .hr-v503-doc-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;margin:0 0 14px!important}
#hrstaff[data-reports-v426] .hr-v511-staff-docs .hr-v503-doc{min-width:0;border-radius:12px;border:1px solid #ece4d4;background:#fffcf6;overflow-wrap:anywhere}
#hrstaff[data-reports-v426] .hr-v511-upload-btn{background:#162b44;color:#fff;border-color:#162b44}
#hrstaff[data-reports-v426] .hr-v510-open.hr-v510-delete{background:#fff9f8;border:1px solid #d8a6a1;color:#8d322d}
#hrstaff[data-reports-v426] .hr-v510-documents{margin-top:12px}
#hrstaff[data-reports-v426] .hr-v510-file-actions{gap:6px}
#hrstaff[data-reports-v426] #hrV510DocStatus:empty{display:none}
#hrstaff[data-reports-v426] .hr-v510-file-actions .hr-v510-open:disabled{opacity:.45}
@media(max-width:1100px){#hrstaff[data-reports-v426] .hr-v511-staff-docs .hr-v503-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){#hrstaff[data-reports-v426] .hr-v510-archive{padding:13px}#hrstaff[data-reports-v426] .hr-v511-staff-docs .hr-v503-doc-grid{grid-template-columns:1fr}#hrstaff[data-reports-v426] .hr-v510-file{flex-wrap:wrap}#hrstaff[data-reports-v426] .hr-v510-file-actions{width:100%}}
