.ticket-dialog { border: 1px solid #dce5df; border-radius: 16px; padding: 0; width: min(680px, calc(100vw - 24px)); max-height: 90dvh; overflow: auto; color: #183d2a; background: #fff; font-family: inherit; }
.ticket-dialog::backdrop { background: #10281cb3; }
.ticket-dialog-header { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #dce5df; }
.ticket-dialog-header h2 { margin: 0; font-size: 1.2rem; }
.ticket-dialog-body { padding: 20px; }
.ticket-dialog-body p, .ticket-history li { overflow-wrap: anywhere; white-space: pre-wrap; }
.ticket-dialog h3 { margin: 22px 0 10px; font-size: 1rem; }
.ticket-dialog .field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; font-size: .9rem; }
.ticket-dialog input, .ticket-dialog select, .ticket-dialog textarea { box-sizing: border-box; width: 100%; min-height: 42px; border: 1px solid #bbcfc1; border-radius: 8px; padding: 9px; font: inherit; color: inherit; background: white; }
.ticket-dialog button { cursor: pointer; min-height: 40px; font-family: inherit; }
.ticket-dialog button:disabled { cursor: wait; opacity: .6; }
.ticket-facts { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 7px 12px; font-size: .9rem; }
.ticket-facts dt { color: #687a6e; }.ticket-facts dd { margin: 0; overflow-wrap: anywhere; }
.ticket-meta { color: #647369; font-size: .82rem; }.ticket-error { color: #a72323; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ticket-history { padding-left: 22px; }.ticket-history li { margin: 16px 0; border-bottom: 1px solid #edf2ee; padding-bottom: 10px; }.ticket-history p { margin: 5px 0; }
.ticket-summary { padding: 16px; margin-top: 12px; }

.ticket-dialog [hidden] { display: none !important; }
