.helpdesk-metrics {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
    margin: 20px 0;
}
.helpdesk-metric {
    background: white;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 22px;
    border-top: 4px solid #285b99;
}
.helpdesk-metric small {
    display: block;
    color: #64748b;
}
.helpdesk-metric strong {
    display: block;
    margin-top: 8px;
    font-size: 30px;
    color: #123574;
}
.helpdesk-metric.overdue {
    border-top-color: #b91c1c;
}
.helpdesk-metric.overdue strong {
    color: #b91c1c;
}
.helpdesk-metric.resolved,
.helpdesk-metric.closed {
    border-top-color: #27804d;
}
.helpdesk-table-scroll {
    overflow-x: auto;
    margin-top: 20px;
}
.helpdesk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.helpdesk-table th,
.helpdesk-table td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid #e1e7ef;
}
.helpdesk-table th {
    background: #edf2f8;
    color: #123574;
}
.helpdesk-priority {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    background: #eaf0f6;
    color: #123574;
    font-size: 11px;
    font-weight: 600;
}
.helpdesk-priority.critica {
    background: #fee2e2;
    color: #991b1b;
}
.helpdesk-priority.alta {
    background: #fef3c7;
    color: #92400e;
}
.helpdesk-overdue {
    display: block;
    color: #b91c1c;
    font-size: 11px;
}
.helpdesk-details {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}
.helpdesk-details small,
.helpdesk-history small {
    display: block;
    color: #64748b;
    margin-bottom: 6px;
}
.helpdesk-description {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.65;
}
.helpdesk-history {
    padding: 18px 0;
    border-bottom: 1px solid #e1e7ef;
}
@media (max-width: 850px) {
    .helpdesk-metrics,
    .helpdesk-details {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 480px) {
    .helpdesk-details {
        grid-template-columns: 1fr;
    }
}
