.ticket-details-dialog{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;width:calc(100vw - 32px);max-height:90dvh;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#0f172a}.ticket-details-header{flex:none;padding:14px 48px 14px 20px;border-bottom:1px solid #e2e8f0;background:#fff;text-align:left}.ticket-details-header h2{font-size:18px;line-height:26px;font-weight:700}.ticket-details-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;padding:16px;font-size:12px;line-height:18px}.ticket-details-content>div:not(.ticket-details-actions){min-width:0;margin:0;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.ticket-details-content>div:first-child,.ticket-details-history,.ticket-details-actions{grid-column:1 / -1}.ticket-details-content h4{font-size:13px;line-height:20px;font-weight:700;margin:0 0 10px;padding:0 0 8px;border-bottom:1px solid #e2e8f0;background:transparent}.ticket-details-content label{display:block;margin-bottom:3px;font-size:11px;line-height:16px;color:#64748b}.ticket-details-content p{font-size:12px;line-height:18px;overflow-wrap:anywhere}.ticket-details-content p.truncate{white-space:normal;overflow:visible}.ticket-details-content .grid{gap:10px 14px}.ticket-details-content>div:first-child p.font-bold{font-size:15px;line-height:22px}.ticket-details-content [class*=text-lg]{font-size:15px}.ticket-details-actions{position:sticky;bottom:-16px;z-index:10;display:flex;flex-wrap:wrap;flex-direction:row;justify-content:flex-end;padding:12px;margin:0;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.ticket-details-actions>button{flex:0 1 auto;min-height:32px;height:auto;padding:6px 12px;border-radius:6px;font-size:12px;line-height:18px;white-space:normal;box-shadow:none}.ticket-details-actions>button.bg-primary{background:#334155;color:#fff}.ticket-details-actions>button.bg-primary:hover{background:#1e293b}.ticket-details-actions>button:disabled{opacity:1;background:#e2e8f0;color:#64748b}.ticket-history-scroll{display:block;min-width:0;max-width:100%;overflow-x:scroll;overflow-y:hidden;border:1px solid #e2e8f0;border-radius:8px;background:#fff;scrollbar-color:#94a3b8 #f1f5f9}.ticket-history-scroll:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.ticket-history-scroll::-webkit-scrollbar{height:12px}.ticket-history-scroll::-webkit-scrollbar-track{background:#f1f5f9}.ticket-history-scroll::-webkit-scrollbar-thumb{background:#94a3b8;border:2px solid #f1f5f9;border-radius:8px}.ticket-history-grid{width:100%;min-width:1850px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px;line-height:18px}.ticket-history-grid :is(th,td){padding:8px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;overflow-wrap:anywhere}.ticket-history-grid th{background:#eaf0f7;color:#334155;font-weight:600;white-space:nowrap}.ticket-history-grid :is(th,td):last-child{border-right:0}.ticket-history-grid td>span{max-width:100%;white-space:normal}.ticket-history-grid .ticket-history-group-start td{border-top:2px solid #cbd5e1}.ticket-history-grid tbody tr:first-child td{border-top:0}.ticket-history-grid tbody tr:hover td{background:#f8fafc}.ticket-history-grid tbody tr:last-child td{border-bottom:0}.ticket-history-dialog{padding:16px;border-radius:12px;border-color:#e2e8f0;background:#f8fafc;color:#0f172a}.ticket-history-dialog>div:first-child{padding-bottom:12px;border-bottom:1px solid #e2e8f0}.ticket-history-dialog h2{font-size:16px;line-height:24px;flex-wrap:wrap}@media (max-width:767px){.ticket-details-content{grid-template-columns:minmax(0,1fr);padding:12px}.ticket-details-actions{bottom:-12px}.ticket-details-actions>button{flex:1 1 140px}}.ticket-history-grid.ticket-history-columns{width:-moz-max-content;width:max-content;min-width:100%;table-layout:auto}.ticket-history-columns :is(th,td){min-width:145px;max-width:280px}.ticket-history-columns :is(th,td):first-child{min-width:60px}.ticket-history-columns :is(th,td):nth-child(4){min-width:80px}.ticket-history-columns .ticket-history-changed{background:#eff6ff}
