.categories-list-table.products-table-wrap .data-table {
    min-width: 1080px;
}

.technician-kpi-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: var(--space-5);
}

.technician-kpi-grid .stat-card-link {
    display: block;
    width: 100%;
    text-align: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.technician-kpi-grid .stat-card.is-active {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.technician-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 var(--space-4);
}

.technician-quick-filters .tech-chip {
    border: 1px solid var(--surface-border, #e5e7eb);
    background: var(--surface-card, #fff);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.technician-quick-filters .tech-chip.is-active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light, #eef6ff);
}

.technician-identity-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    text-align: start;
    cursor: pointer;
}

.technician-identity-meta {
    display: block;
    font-size: var(--fs-xs, 0.75rem);
    color: var(--text-muted);
    font-weight: 400;
}

.tech-metric-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}

.tech-metric-link.is-overdue {
    color: #c62828;
}

.tech-sort {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: inherit;
    cursor: pointer;
}

.tech-op-badge--overdue {
    background: #FFEBEE;
    color: #C62828;
}

.tech-op-badge--urgent {
    background: #FFF3E0;
    color: #E65100;
}

.tech-rating-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    color: inherit;
}

.tech-op-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tech-op-badge--available {
    background: #e8f5e9;
    color: #2e7d32;
}

.tech-op-badge--busy {
    background: #e3f2fd;
    color: #1565c0;
}

.tech-op-badge--inactive {
    background: #f1f5f9;
    color: #64748b;
}

.tech-360-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--space-4);
}

.tech-360-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.tech-360-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: var(--space-4);
}

.tech-360-metric {
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    background: var(--surface-card);
}

.tech-360-metric-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.tech-360-metric-value {
    font-weight: 700;
    font-size: 1.05rem;
}

.tech-360-section {
    margin-bottom: var(--space-4);
}

.tech-360-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.tech-360-empty {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin: 0;
}

.tech-360-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-4);
}

.tech-360-assign-list,
.tech-360-review-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-360-assign-list li,
.tech-360-review-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--surface-border);
    font-size: var(--fs-sm);
}

.tech-360-assign-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.tech-assign-flags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.tech-360-skeleton .placeholder {
    background: var(--surface-border);
    border-radius: 6px;
    height: 12px;
    margin-bottom: 10px;
}

.tech-360-drawer[hidden],
.tech-assign-drawer[hidden] {
    display: none !important;
}

.tech-360-drawer .dash-drill-drawer-panel,
.tech-assign-drawer .dash-drill-drawer-panel {
    max-width: 100%;
    overflow: hidden;
}

.service-employees-index .data-table td {
    vertical-align: middle;
}

.service-employees-index .se-status-badge {
    display: inline-block;
    max-width: 100%;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    word-break: break-word;
    vertical-align: middle;
    box-sizing: border-box;
}

.service-employees-index .se-status-badge--active {
    background-color: #dcfce7;
    color: #166534;
}

.service-employees-index .se-status-badge--inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

@media (max-width: 1200px) {
    .technician-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .technician-kpi-grid,
    .tech-360-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .tech-360-drawer .dash-drill-drawer-panel,
    .tech-assign-drawer .dash-drill-drawer-panel {
        width: min(100%, 100vw);
    }
}

@media (max-width: 576px) {
    .technician-kpi-grid,
    .tech-360-metrics {
        grid-template-columns: 1fr;
    }
}
