.technician-form { display:flex; flex-direction:column; gap:12px; }
.technician-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.technician-grid label,.technician-form label { min-width:0; margin:0; }
.technician-directory-filter { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.technician-directory-filter > label:first-child { flex:1 1 260px; margin:0; }
.technician-inactive { display:flex; align-items:center; gap:8px; margin:0; min-height:44px; }
.technician-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.technician-row > div { min-width:0; }
.technician-row :is(strong,small) { display:block; overflow-wrap:anywhere; }
.technician-row small { color:var(--muted); font-size:13px; margin-top:4px; }
.technician-totals { display:flex; flex-wrap:wrap; gap:8px 24px; padding:12px 0; border-bottom:1px solid var(--line); }
.technician-history-filter { display:flex; align-items:end; flex-wrap:wrap; gap:12px; }
.technician-history-filter .technician-grid { flex:1 1 240px; }
.installation-technician { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:12px 0; padding:10px 0; border-block:1px solid var(--line); }
.installation-technician small { color:var(--muted); }
@media(max-width:540px) {
 .technician-grid { grid-template-columns:minmax(0,1fr); }
 .technician-row { flex-wrap:wrap; }
 .technician-row .th-row-actions { width:100%; justify-content:flex-end; }
}

.technician-history-dialog .th-modal-header { flex-wrap:nowrap; align-items:start; }
.technician-history-dialog .th-modal-header h2 { flex:1; min-width:0; }
.technician-history-dialog .th-modal-header button { flex:none; }
.installation-technician > div { display:grid; gap:3px; min-width:0; flex:1 1 220px; }
.installation-technician strong { overflow-wrap:anywhere; }
