.ticket-heading,.ticket-message header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.ticket-heading h1{margin:0}.ticket-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.ticket-tabs a[aria-current]{outline:2px solid #3997ff}.ticket-table{overflow:auto}.ticket-table table{width:100%;border-collapse:collapse}.ticket-table th,.ticket-table td{padding:14px;text-align:left;border-bottom:1px solid #8899bb30}.ticket-table td{max-width:300px;overflow-wrap:anywhere}.ticket-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.ticket-grid>*{min-width:0}.ticket-card{padding:24px;border:1px solid #8899bb30;border-radius:12px;margin-bottom:20px}.ticket-card dt{font-size:12px;opacity:.7}.ticket-card dd{margin:6px 0 0}.ticket-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.ticket-message header time,.ticket-message header small{font-size:12px;opacity:.7}.ticket-staff{border-left:4px solid #3997ff}.ticket-images{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.ticket-images img{width:140px;height:100px;object-fit:cover;border-radius:8px}.ticket-status{display:inline-block;padding:5px 10px;border-radius:6px;white-space:nowrap;background:#8899bb20}.ticket-status.pending{color:#c78318}.ticket-status.progress{color:#3997ff}.ticket-status.closed{color:#13a88a}.ticket-department-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}.ticket-department-row input{flex:1;min-width:0}.ticket-form small{display:block;margin-top:6px;opacity:.7}.ticket-form>label{margin-top:20px}.ticket-rules{margin-bottom:24px}@media(max-width:650px){.ticket-grid{grid-template-columns:minmax(0,1fr)}.ticket-heading,.ticket-message header{align-items:flex-start;flex-direction:column;gap:10px}.ticket-card{padding:16px}}.ticket-config-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:20px 0}.ticket-config-sections>section{min-width:0;padding:20px;border:1px solid #8899bb30;border-radius:10px}.ew-content .ticket-config-sections h2{margin:0 0 16px;font-size:16px}.ticket-config-sections textarea{min-height:230px}.ticket-department-row{align-items:flex-end}.ew-content .ticket-department-row button{margin:0;min-height:43px;flex-shrink:0}.ticket-config-actions{padding-top:16px;border-top:1px solid #8899bb30}.ew-content .ticket-config>.ticket-grid>label{margin:0}@media(max-width:700px){.ticket-config-sections{grid-template-columns:minmax(0,1fr)}.ticket-config-sections>section{padding:16px}}.ew-content .ticket-config-sections>section{border-color:var(--ew-border,#e4e6ef);background:var(--bs-body-bg,#fff)}.ew-content .ticket-config .ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:end}.ew-content .ticket-config .ticket-grid>label{margin:0;min-width:0}.ew-content .ticket-config .ew-record-actions{margin-top:20px}.ew-content .ticket-department-row button{height:44px}.ew-content .ew-ticket-summary{padding:20px;border-color:var(--ew-border,#e4e6ef);border-radius:10px;background:var(--bs-body-bg,#fff)}.ew-content .ew-ticket-summary h2{margin:0 0 18px}.ew-content .ew-ticket-summary .ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ew-ticket-summary .ticket-grid>div{min-width:0;padding:12px 14px;border:1px solid var(--ew-border,#e4e6ef);border-radius:8px;background:var(--bs-tertiary-bg,#f8f9fb)}.ew-ticket-summary .ticket-grid dd{overflow-wrap:anywhere}.ew-content .ew-ticket-section-title{margin:24px 0 14px}.ew-content .ticket-message{padding:20px;border-color:var(--ew-border,#e4e6ef);border-radius:10px;background:var(--bs-body-bg,#fff)}.ew-content .ticket-reply-form{display:grid;gap:16px;padding:20px;border-color:var(--ew-border,#e4e6ef);border-radius:10px;background:var(--bs-body-bg,#fff)}.ew-content .ticket-reply-form h2{margin:0}.ew-content .ticket-reply-form .ticket-grid{gap:16px 24px}.ew-content .ticket-reply-form .ticket-grid>label{margin:0}.ew-content .ticket-reply-form .ew-record-actions{margin:0}.ew-content .ticket-reply-form>label{margin:0}.ew-content .ticket-reply-form .ticket-content{margin-top:0}@media(max-width:800px){.ew-content .ew-ticket-summary .ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.ew-content .ew-ticket-summary,.ew-content .ticket-message,.ew-content .ticket-reply-form{padding:16px}.ew-content .ew-ticket-summary .ticket-grid{grid-template-columns:minmax(0,1fr)}.ew-content .ticket-config .ticket-grid{grid-template-columns:minmax(0,1fr)}}