/* SIPAD 1.8.8 · Directorio docente responsive */
.teacher-directory-table .teacher-identity{display:flex;flex-direction:column;gap:.34rem;min-width:0}
.teacher-directory-table .teacher-name{display:block;line-height:1.35;color:var(--navy,#12304a)}
.teacher-directory-table .teacher-contact-meta{display:flex;flex-wrap:wrap;gap:.35rem .55rem;color:var(--muted,#5d7484);font-size:.84rem;min-width:0}
.teacher-directory-table .teacher-contact-meta>span{display:inline-flex;gap:.28rem;align-items:baseline;min-width:0}
.teacher-directory-table .teacher-contact-meta strong{display:none}
.teacher-directory-table .teacher-email>span,.teacher-directory-table .teacher-code>span{overflow-wrap:anywhere;word-break:normal}
.teacher-directory-table .teacher-status{display:inline-flex;align-items:center;justify-content:center;min-width:84px}
.teacher-directory-table .teacher-status-active{background:#eef5f7;color:#12304a}
.teacher-directory-table .teacher-status-leave{background:#fff7db;color:#755600}
.teacher-directory-table .teacher-status-inactive{background:#f4f5f6;color:#5d6872}
@media(max-width:650px){
 .teacher-directory-table.responsive-table tr{padding:12px 14px}
 .teacher-directory-table.responsive-table td{grid-template-columns:104px minmax(0,1fr);gap:12px;padding:11px 0}
 .teacher-directory-table.responsive-table td[data-label="Docente"]{grid-template-columns:1fr;gap:6px;padding-top:4px}
 .teacher-directory-table.responsive-table td[data-label="Docente"]::before{margin-bottom:0}
 .teacher-directory-table .teacher-identity{grid-column:1/-1;gap:.65rem}
 .teacher-directory-table .teacher-name{font-size:1rem;line-height:1.4;padding-bottom:.2rem}
 .teacher-directory-table .teacher-contact-meta{display:grid;grid-template-columns:1fr;gap:.5rem;font-size:.9rem}
 .teacher-directory-table .teacher-contact-meta>span{display:grid;grid-template-columns:78px minmax(0,1fr);gap:.5rem;align-items:start;padding:.45rem .55rem;border-radius:10px;background:#f7fafb}
 .teacher-directory-table .teacher-contact-meta strong{display:block;color:var(--muted,#5d7484);font-size:.72rem;text-transform:uppercase;letter-spacing:.045em;line-height:1.35}
 .teacher-directory-table .teacher-email>span,.teacher-directory-table .teacher-code>span{color:var(--navy,#12304a);font-size:.9rem;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}
 .teacher-directory-table .teacher-email{align-items:start}
 .teacher-directory-table .teacher-email>span+span{grid-column:2}
 .teacher-directory-table .teacher-actions{display:grid;grid-template-columns:1fr;gap:.5rem;width:100%}
 .teacher-directory-table .teacher-actions form,.teacher-directory-table .teacher-actions .button,.teacher-directory-table .teacher-actions button{width:100%}
}
@media(max-width:390px){
 .teacher-directory-table.responsive-table td{grid-template-columns:1fr;gap:5px}
 .teacher-directory-table .teacher-contact-meta>span{grid-template-columns:1fr;gap:.18rem}
 .teacher-directory-table .teacher-email>span+span{grid-column:1}
}
