/* =============================================================================
   DEX Portal - Tickets

   The Tickets module reuses the Tasks furniture almost entirely (the table,
   widgets, pickers, status chips), so this file only dresses the few pieces
   that are the ticket panel's own: the record headline and the activity stream.
   ============================================================================= */

.ticket-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle, #e6e8ee);
}

.ticket-headline__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ticket-headline__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary, #0f1115);
    line-height: 1.35;
    word-break: break-word;
}

.ticket-headline__badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticket-history {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-history__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--border-subtle, #e6e8ee);
    border-radius: 8px;
    background: var(--surface-muted, #f7f8fa);
}

.ticket-history__summary {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #0f1115);
}

.ticket-history__meta {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
}
