#collaborators .epp-dashboard{display:grid;min-width:0;gap:14px}
#collaborators .epp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#collaborators .epp-kpis article{display:flex;align-items:center;gap:13px;min-height:105px;padding:17px;border:1px solid var(--sc-border);border-radius:15px;background:#fff;box-shadow:var(--sc-shadow-soft)}
#collaborators .epp-kpis i{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:50%;font-style:normal}
#collaborators .epp-kpis i.is-blue{background:#e4efff;color:#1768dd}#collaborators .epp-kpis i.is-green{background:#dcf6e9;color:#059669}#collaborators .epp-kpis i.is-amber{background:#fff1cf;color:#e49a00}
#collaborators .epp-kpis svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#collaborators .epp-kpis span,#collaborators .epp-kpis small{display:block;color:var(--sc-text-secondary);font-size:12px;font-weight:650}
#collaborators .epp-kpis strong{display:block;margin-top:3px;color:var(--sc-text-primary);font-size:27px;line-height:1.05}#collaborators .epp-kpis strong.is-text{font-size:16px;line-height:1.2}
#collaborators .epp-filter-card,#collaborators .epp-table-card{min-width:0;padding:16px;overflow:hidden}
#collaborators .epp-filters{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(230px,1.6fr) minmax(150px,.9fr) minmax(290px,1.35fr) auto;gap:12px;align-items:end}
#collaborators .epp-filters label{display:grid;gap:6px;color:var(--sc-text-primary);font-size:12px;font-weight:700}
#collaborators .epp-period span{display:grid;grid-template-columns:minmax(135px,1fr) minmax(135px,1fr);gap:8px}#collaborators .epp-period input{min-width:0;font-size:13px}
#collaborators .epp-filters .sc-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px}#collaborators .epp-filters .sc-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
#collaborators .epp-table{min-width:1100px}#collaborators .epp-table th,#collaborators .epp-table td{text-align:center;vertical-align:middle}#collaborators .epp-table th:first-child,#collaborators .epp-table td:first-child{width:88px;white-space:nowrap}#collaborators .epp-table th:nth-child(2),#collaborators .epp-table td:nth-child(2){min-width:270px}#collaborators .epp-table .epp-items-cell{text-align:left;white-space:normal;min-width:220px}
.epp-person-cell{display:flex;align-items:center;gap:9px;min-width:250px;text-align:left}.epp-avatar{width:36px;height:36px;border-radius:8px;object-fit:cover}.epp-person-fallback{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#eef4f6}.epp-person-fallback svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
#epp-form-dialog{width:min(980px,96vw);max-height:94vh;color:var(--sc-text-primary)}#epp-form-dialog .modal{padding:23px}
#epp-detail-dialog{width:min(1040px,96vw);max-height:94vh;color:var(--sc-text-primary)}#epp-history-dialog{width:min(960px,96vw);max-height:94vh;color:var(--sc-text-primary)}#epp-detail-dialog .modal,#epp-history-dialog .modal{padding:22px}
.epp-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.epp-modal-heading h3{margin:0;font-size:22px}.epp-modal-heading button{border:0;background:transparent;color:var(--sc-text-primary);font-size:26px;cursor:pointer}
.epp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.epp-form-grid label{display:grid;gap:6px;font-size:12px;font-weight:700}.epp-form-grid input,.epp-form-grid select,.epp-form-grid textarea{width:100%}.epp-form-grid input[readonly]{background:#f2f5f6}
#epp-form-dialog h4{margin:20px 0 8px}.epp-entry-table{min-width:760px}.epp-entry-table th,.epp-entry-table td{text-align:center!important}.epp-entry-table td:nth-child(2){min-width:240px}.epp-entry-table input,.epp-entry-table select{width:100%;min-width:0}
.epp-remove-item{display:grid;place-items:center;margin:auto;border:1px solid #ffd1d1;border-radius:8px;background:#fff3f3;color:#d92d2d;width:34px;height:34px}.epp-remove-item svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.epp-add-item{margin-top:10px}.epp-form-lower{grid-template-columns:1fr 1fr;margin-top:18px}.epp-form-lower textarea{resize:vertical}.epp-form-lower small{color:var(--sc-text-secondary)}#epp-form-error{min-height:20px;margin:9px 0;color:var(--sc-danger)!important}
.epp-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:13px;border:1px solid var(--sc-border);border-radius:12px;background:#f7fafb}.epp-detail-summary div{display:grid;gap:4px}.epp-detail-summary span{font-size:11px;color:var(--sc-text-secondary)}.epp-detail-summary strong{font-size:13px}
.epp-detail-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:12px;margin-top:12px}.epp-detail-grid section{overflow:hidden;border:1px solid var(--sc-border);border-radius:12px;background:#fff}.epp-detail-grid section h4{margin:0;padding:10px 12px;background:#edf5f7;color:var(--sc-text-primary);font-size:13px}.epp-detail-grid section>p{margin:0;padding:15px;white-space:pre-wrap}.epp-detail-grid .epp-detail-items{grid-column:1}
.epp-person-card{display:flex;align-items:center;gap:14px;padding:14px}.epp-profile-photo{width:84px;height:84px;border-radius:10px;object-fit:cover}.epp-person-card>div{display:grid;gap:7px}.epp-person-card strong{font-size:16px}.epp-person-card span{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--sc-text-secondary)}.epp-person-card svg,.epp-history-person svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.epp-detail-items .sc-data-table{min-width:600px}.epp-detail-items th,.epp-detail-items td{text-align:center!important}.epp-evidence-box{display:grid;place-items:center;min-height:170px;padding:14px}.epp-evidence-preview{display:block;max-width:100%;max-height:250px;object-fit:contain;border-radius:8px}.epp-empty{color:var(--sc-text-secondary)}.epp-detail-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}
.epp-history-person{display:flex;align-items:center;gap:14px;padding:13px;border:1px solid var(--sc-border);border-radius:12px;background:#f7fafb}.epp-history-person h4{margin:0 0 7px;font-size:18px}.epp-history-person p{display:flex;flex-wrap:wrap;align-items:center;gap:7px 18px;margin:0;color:var(--sc-text-secondary)}.epp-history-label{display:inline-block;margin:13px 0 7px;padding:8px 12px;border-bottom:2px solid #2563eb;color:#1d4ed8;font-weight:800}.epp-history-table{min-width:780px}.epp-history-table th,.epp-history-table td{text-align:center!important}.epp-loading{min-height:220px;display:grid;place-items:center}
@media(max-width:1400px){#collaborators .epp-kpis{grid-template-columns:repeat(2,1fr)}#collaborators .epp-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.epp-detail-grid{grid-template-columns:1fr}.epp-detail-grid .epp-detail-items{grid-column:auto}}
@media(max-width:700px){#collaborators .epp-kpis{grid-template-columns:1fr}#collaborators .epp-filters,.epp-form-grid,.epp-form-lower,.epp-detail-summary{grid-template-columns:1fr}#collaborators .epp-period span{grid-template-columns:1fr}.epp-detail-actions{flex-direction:column}.epp-detail-actions .sc-button{width:100%}}

/* Master List density for Entrega de EPP */
#collaborators .epp-dashboard{gap:12px;padding:16px;overflow:visible}
#collaborators .collaborator-submodule-heading{display:flex;align-items:center;gap:12px;margin-bottom:2px}
#collaborators .collaborator-submodule-heading>i{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#eaf4ff;color:#0d5cab}
#collaborators .collaborator-submodule-heading>i svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#collaborators .collaborator-submodule-heading h3{margin:0;color:var(--sc-text-primary);font-size:22px}
#collaborators .collaborator-submodule-heading p{margin:3px 0 0;font-size:14px}
#collaborators .epp-pdf-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;min-height:38px;margin-left:auto;padding:6px 12px;white-space:nowrap}
#collaborators .epp-pdf-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#collaborators .epp-kpis{gap:9px}
#collaborators .epp-kpis article{min-height:72px;padding:10px 12px;border-radius:12px;box-shadow:none}
#collaborators .epp-kpis i{flex-basis:40px;width:40px;height:40px}
#collaborators .epp-kpis svg{width:21px;height:21px}
#collaborators .epp-kpis span,#collaborators .epp-kpis small{font-size:11px}
#collaborators .epp-kpis strong{font-size:21px}#collaborators .epp-kpis strong.is-text{font-size:13px}
#collaborators .epp-filters{grid-template-columns:minmax(135px,.8fr) minmax(210px,1.35fr) minmax(135px,.8fr) minmax(250px,1.25fr) auto;gap:10px;padding:11px 12px;border:1px solid var(--sc-border);border-radius:12px;background:#f8fbfb}
#collaborators .epp-filters label{gap:5px;font-size:11px}
#collaborators .epp-filters .sc-input,#collaborators .epp-filters .sc-select,#collaborators .epp-filters .sc-button{height:38px;min-height:38px;padding-block:6px;font-size:12px}
#collaborators .epp-period span{grid-template-columns:repeat(2,minmax(115px,1fr));gap:6px}
#collaborators .epp-dashboard>.sc-data-table-wrap{border:1px solid var(--sc-border);border-radius:12px;overflow-x:auto}
#collaborators .epp-table{width:100%;min-width:0!important;table-layout:fixed}
#collaborators .epp-table th,#collaborators .epp-table td{height:46px;padding:8px 7px;font-size:11px;line-height:1.22;white-space:normal;overflow-wrap:break-word}
#collaborators .epp-table th{font-size:11px}
#collaborators .epp-table th:nth-child(1),#collaborators .epp-table td:nth-child(1){width:8%;min-width:0}
#collaborators .epp-table th:nth-child(2),#collaborators .epp-table td:nth-child(2){width:19%;min-width:0}
#collaborators .epp-table th:nth-child(3),#collaborators .epp-table td:nth-child(3){width:13%}
#collaborators .epp-table th:nth-child(4),#collaborators .epp-table td:nth-child(4){width:20%;min-width:0;text-align:center}
#collaborators .epp-table th:nth-child(5),#collaborators .epp-table td:nth-child(5){width:9%}
#collaborators .epp-table th:nth-child(6),#collaborators .epp-table td:nth-child(6){width:12%}
#collaborators .epp-table th:nth-child(7),#collaborators .epp-table td:nth-child(7){width:12%}
#collaborators .epp-table th:nth-child(8),#collaborators .epp-table td:nth-child(8){width:7%}
#collaborators .epp-person-cell{justify-content:flex-start;gap:7px;min-width:0;text-align:left}
#collaborators .epp-avatar,#collaborators .epp-person-fallback{flex:0 0 30px;width:30px;height:30px}
#collaborators .epp-actions{display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;gap:6px}
#collaborators .epp-actions .sc-icon-button{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--sc-border);border-radius:8px;background:#fff;color:#0759a5;cursor:pointer}
#collaborators .epp-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#collaborators .epp-empty-state{display:grid;place-items:center;gap:4px;min-height:88px;color:var(--sc-text-secondary);font-size:12px}
#collaborators .epp-empty-state svg{width:24px;height:24px;fill:none;stroke:#0d5cab;stroke-width:1.8}
#collaborators .epp-empty-state strong{color:var(--sc-text-primary);font-size:13px}
@media(max-width:1200px){#collaborators .epp-filters{grid-template-columns:repeat(3,minmax(0,1fr))}#collaborators .epp-table{min-width:920px!important}}
@media(max-width:700px){#collaborators .epp-dashboard{padding:12px}#collaborators .epp-filters{grid-template-columns:1fr}#collaborators .collaborator-submodule-heading{align-items:flex-start;flex-wrap:wrap}#collaborators .epp-pdf-button{margin-left:54px}}
