.emp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.emp-toolbar h2{margin:0;font-size:20px}.emp-toolbar input{font:inherit;width:min(360px,60vw);padding:9px 12px;border:1px solid #cddbec;border-radius:8px;background:#fff}.emp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.emp-table-wrap{max-height:calc(100vh - 235px);min-height:220px;overflow:auto}.emp-table-wrap thead th{position:sticky;top:0;z-index:1}.emp-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.emp-detail h3{margin:20px 0 10px;font-size:15px}.emp-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.emp-profile-grid small,.emp-profile-grid strong{display:block}.emp-profile-grid small{color:#65748a;margin-bottom:4px}.emp-profile-grid strong{font-weight:600;overflow-wrap:anywhere}
.emp-dialog{width:min(880px,calc(100vw - 40px));max-height:calc(100vh - 48px);overflow:auto;padding:24px;border:1px solid #d8e4f1;border-radius:12px;background:#fff;color:#1a1a2e;box-shadow:0 18px 60px rgba(15,35,60,.22);margin:auto}.emp-dialog::backdrop{background:rgba(15,30,50,.48)}.emp-dialog .emp-detail-heading{position:sticky;top:-24px;background:#fff;padding:0 0 14px;border-bottom:1px solid #d8e4f1;z-index:1}.emp-dialog h2{margin:0;font-size:20px}.emp-dialog h3{margin:22px 0 10px;font-size:16px}.emp-dialog .vac-entry{border-bottom:1px solid #e7edf4}.emp-dialog .admin-link:focus-visible{outline:2px solid #1a5fa8;outline-offset:3px}@media(max-width:600px){.emp-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:18px}.emp-dialog .emp-detail-heading{top:-18px}}
.emp-profile-email{grid-column:span 2;min-width:0}.emp-profile-email strong{white-space:nowrap;overflow-x:auto;overflow-wrap:normal}@media(max-width:450px){.emp-profile-email{grid-column:1/-1}}
.emp-toolbar{justify-content:flex-end;margin-bottom:14px}.emp-dialog:has(.emp-profile-heading){width:min(1000px,calc(100vw - 40px));padding:24px 28px}.emp-dialog .emp-profile-heading{align-items:flex-start;top:-24px;padding:0 0 18px}.emp-profile-kicker,.emp-profile-category{display:block}.emp-profile-kicker{font-size:14px;font-weight:700;margin-bottom:7px}.emp-dialog .emp-profile-heading h2{font-size:25px;line-height:1.2;color:#101d3c}.emp-profile-category{color:#536f92;font-size:15px;margin-top:5px}.emp-close{border:0;border-radius:6px;padding:9px 15px;background:#1a5fa8;color:#fff;font:inherit;font-weight:700;cursor:pointer}.emp-close:hover{background:#154d8a}.emp-profile-section{padding:16px 0;border-bottom:1px solid #d9e5f1}.emp-profile-section:last-child{border:0;padding-bottom:0}.emp-dialog .emp-profile-section h3{font-size:16px;color:#101d3c;margin:0 0 12px}.emp-profile-section .emp-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}.emp-profile-section .emp-contact{grid-template-columns:repeat(2,minmax(0,1fr))}.emp-profile-address{grid-column:1/-1}.emp-profile-section .emp-profile-email{grid-column:auto}.emp-profile-section .emp-profile-grid small{font-size:13px;color:#64748a}.emp-profile-section .emp-profile-grid strong{font-size:15px;color:#17243b}.emp-profile-section .emp-profile-email strong{white-space:nowrap;overflow-x:auto;overflow-wrap:normal}@media(max-width:700px){.emp-profile-section .emp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emp-profile-section .emp-three .emp-profile-email{grid-column:1/-1}}@media(max-width:450px){.emp-dialog:has(.emp-profile-heading){width:calc(100vw - 24px);padding:18px}.emp-dialog .emp-profile-heading{top:-18px}.emp-profile-section .emp-profile-grid{grid-template-columns:1fr}.emp-profile-section .emp-three .emp-profile-email,.emp-profile-address{grid-column:auto}}
.adm-hours-dialog{width:min(1100px,calc(100vw - 40px))}.adm-hours-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:18px}.adm-hours-kicker,.adm-hours-period{display:block;color:#657b98;font-size:14px}.adm-hours-kicker{font-weight:700;margin-bottom:6px}.adm-hours-dialog h2{font-size:22px;margin:0 0 4px}.adm-hours-dialog-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.adm-hours-dialog .admin-table-wrap{max-height:calc(100vh - 220px);overflow:auto}.adm-hours-dialog .admin-table thead th{position:sticky;top:0;z-index:1}@media(max-width:650px){.adm-hours-dialog{width:calc(100vw - 24px)}.adm-hours-dialog-header{flex-direction:column}.adm-hours-dialog .admin-table-wrap{max-height:calc(100vh - 250px)}}
/* La ficha de administración conserva la misma estructura que la ficha personal. */
.emp-dialog:has(.emp-profile-heading){width:min(1120px,calc(100vw - 40px));padding:26px 32px}.emp-dialog .emp-profile-heading{top:-26px;padding-bottom:19px}.emp-profile-kicker{color:#5c718b;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.emp-dialog .emp-profile-heading h2{font-size:27px}.emp-profile-section{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;padding:15px 0}.emp-dialog .emp-profile-section h3{font-size:15px;margin:0;padding-top:2px}.emp-profile-section .emp-profile-grid{min-width:0;gap:12px 22px}.emp-profile-section .emp-profile-grid strong{line-height:1.4}.emp-profile-section .emp-profile-grid small{line-height:1.3}@media(max-width:900px){.emp-profile-section{grid-template-columns:1fr;gap:10px}.emp-profile-section .emp-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.emp-profile-section .emp-contact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.emp-dialog:has(.emp-profile-heading){padding:20px;width:calc(100vw - 24px)}.emp-dialog .emp-profile-heading{top:-20px}.emp-dialog .emp-profile-heading h2{font-size:23px}.emp-profile-section .emp-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.emp-profile-section .emp-three .emp-profile-email{grid-column:1/-1}}@media(max-width:400px){.emp-profile-section .emp-profile-grid,.emp-profile-section .emp-contact{grid-template-columns:1fr}.emp-profile-section .emp-three .emp-profile-email,.emp-profile-address{grid-column:auto}}
@media(min-width:901px){.emp-profile-section{grid-template-columns:205px minmax(0,1fr)}}
