.ticket-workspace { max-width: 1100px; margin: 36px auto; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.ticket-filter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.ticket-filter select { width: auto; min-width: 180px; }
.ticket-table td { vertical-align: top; font-size: .875rem; }
.ticket-table .status-pill { white-space: nowrap; }
.admin-content .ticket-table td:nth-child(3) { white-space: nowrap; min-width: 180px; }
.ticket-table td:first-child { min-width: 150px; }
.ticket-table time { display: block; min-width: 110px; font-size: .88rem; }
.ticket-table td, .ticket-topic { overflow-wrap: anywhere; }
.ticket-pagination { display: flex; gap: 24px; align-items: center; margin-top: 24px; }
.ticket-conversation { display: grid; gap: 16px; }
.ticket-comment { padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.ticket-comment-admin { background: #f6f7f3; border-left: 3px solid var(--red, #c61928); }
.ticket-comment header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ticket-comment time { color: var(--muted); font-size: .85rem; }
.ticket-comment p { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }
.ticket-comment-form, .ticket-admin-form { margin-top: 28px; display: grid; gap: 12px; }
.ticket-comment-form .button, .ticket-admin-form .button { justify-self: start; }
.ticket-comment-form p, .ticket-admin-form p { margin: 0; }
.ticket-admin-form { border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 680px) { .ticket-workspace { margin: 20px 12px; padding: 18px; } }

.ticket-resolution { margin: 24px 0; padding: 18px; background: #f6f7f3; border: 1px solid var(--line); border-radius: 8px; }
.ticket-resolution p { margin-top: 0; }
#ticket-status { width: auto; max-width: 100%; justify-self: start; min-width: 10rem; }
.account-support .section-heading { flex-wrap: wrap; gap: 12px; }
.account-support .ticket-topic { min-width: 0; flex: 1 1 240px; }
