/* Tickets: continuous surfaces; semantic channels; existing QLOA shell retained. */
.tks-reply-rail{display:none}
@media(min-width:769px){
 .tks-detail-layout.with-reply-rail{grid-template-columns:minmax(0,1fr) 44px}
 .tks-detail-layout.with-context.with-reply-rail{grid-template-columns:220px minmax(0,1fr) 44px}
 .tks-reply-rail{display:block;min-width:0;border-left:1px solid var(--line,#e6e8eb);background:#fafafa}
 .tks-reply-reopen{position:sticky;top:0;display:flex;flex-direction:column;align-items:center;gap:16px;width:44px;min-height:144px;margin:0;padding:20px 0;border:0;border-radius:0;background:transparent;color:#697381;cursor:pointer;transition:background .16s,color .16s}
 .tks-reply-reopen span{writing-mode:vertical-rl;text-orientation:upright;font-size:12px;font-weight:500;letter-spacing:1px}
 .tks-reply-reopen:hover,.tks-reply-reopen:focus-visible{background:#edf0f4;color:#191c22}.tks-reply-reopen.is-note{color:#935b0f}
 .tks-main .tks-reply-reopen:focus-visible{outline-offset:-3px}
 .dark .tks-reply-rail{background:#1b1e23;border-color:#323842}.dark .tks-reply-reopen{color:#a7b2c2}.dark .tks-reply-reopen:hover,.dark .tks-reply-reopen:focus-visible{background:#272d36;color:#e4e8ef}.dark .tks-reply-reopen.is-note{color:#edc488}
}
@media(prefers-reduced-motion:reduce){.tks-reply-reopen{transition:none}}
.tks-main{padding:0!important;min-width:0;max-width:100%;background:var(--base,#fff)}
.tks-main button,.tks-drawer button{font:inherit}.tks-main :is(button,a,input,select,textarea):focus-visible,.tks-drawer :is(button,a,input,select,textarea):focus-visible{outline:2px solid #315fca;outline-offset:3px}
.tks-main svg,.tks-drawer svg,.tks-view-trigger svg{width:16px;height:16px;flex-shrink:0}.tks-main .icon-btn,.tks-main .btn,.tks-drawer .btn{min-height:32px;height:auto;gap:7px;font-size:13px;white-space:nowrap}.tks-main .icon-btn{width:32px;min-width:32px;padding:7px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:var(--muted,#747983)}
.tks-main .icon-btn:hover,.tks-main .icon-btn.active{background:#edf2fc;color:#315fca}.tks-main :is(input,select,textarea),.tks-drawer :is(input,select,textarea){font:inherit;font-size:13px;color:var(--ink,#191c22)}.tks-main select,.tks-drawer select{min-width:0;max-width:100%;min-height:32px;background:#fff;border:1px solid var(--line,#e6e8eb);border-radius:6px;padding:5px 9px}.tks-hint{font-size:12px;color:var(--muted,#747983);line-height:1.65;margin:8px 0}.tks-error{color:#a82f40;font-size:13px;white-space:pre-line}.tks-error:not(:empty){padding:12px 18px;background:#fff0f2;border-bottom:1px solid #efcad1}.tks-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 18px;background:#edf8f2;font-size:13px;color:#256b49;border-bottom:1px solid #d4e9dc}
.tks-toolbar{display:flex;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line,#e6e8eb);background:#fff;min-width:0}.tks-toolbar .search{flex:1;max-width:460px;min-width:150px;background:#f6f7f8;border:0;border-radius:7px;height:34px}.tks-toolbar .search input{width:100%;min-width:0;background:transparent;outline:none;border:0}.tks-toolbar>select{max-width:185px}.tks-layout{display:flex;margin-left:auto;border:1px solid var(--line,#e6e8eb);padding:2px;border-radius:7px;gap:2px}.tks-layout .icon-btn{height:28px;min-height:28px;width:30px}.tks-bulk{display:flex;align-items:center;gap:8px;min-height:46px;padding:7px 20px;background:#eef3ff;border-bottom:1px solid #dbe4f8}.tks-bulk strong{font-size:13px;margin-right:auto}
.tks-table-wrap{width:100%;overflow:auto}.tks-table{width:100%;border-collapse:collapse;font-size:13px}.tks-table th{font-size:12px;font-weight:500;color:#757b85;background:#fafbfc;white-space:nowrap;text-align:left;padding:11px 13px;border-bottom:1px solid var(--line,#e6e8eb)}.tks-table td{padding:14px 13px;vertical-align:middle;border-bottom:1px solid #f0f1f3;max-width:240px;overflow-wrap:anywhere}.tks-table tbody tr{cursor:pointer}.tks-table tbody tr:hover{background:#f8faff}.tks-table .tks-select{width:42px}.tks-table td:first-child,.tks-table th:first-child{padding-left:20px;width:42px}.tks-table input{accent-color:#315fca}.tks-table td:nth-child(2){min-width:230px;max-width:430px}.tks-title{display:block;font-size:14px;font-weight:550;line-height:1.4;color:var(--ink,#20232a);text-decoration:none}.tks-table small{display:block;margin-top:5px;font-size:12px;color:#9296a0}.tks-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;line-height:1.4;padding:4px 7px;border-radius:5px;color:#426396;background:#eef3fa;white-space:nowrap}.tks-chip i{width:5px;height:5px;border-radius:50%;background:currentColor}.tks-chip.green{background:#edf7f0;color:#2d7050}.tks-chip.amber{background:#fcf5e6;color:#966b24}.tks-chip.red{background:#fff0f2;color:#b84659}.tks-chip.purple{background:#f3effc;color:#775ca6}.tks-priority{font-size:12px;color:#6b7280}.tks-priority.red{color:#b84659}.tks-priority.amber{color:#94620c}.tks-deadline{display:inline-flex;gap:5px;align-items:center;font-size:12px;white-space:nowrap;color:#737986}.tks-deadline.late{color:#b84659}.tks-owner{display:inline-flex;align-items:center;justify-content:center;background:#eef0f3;width:25px;height:25px;border-radius:50%;font-size:10px;color:#69707b;margin-left:auto}
.tks-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding:20px;background:#fafbfc}.tks-ticket-card{border:1px solid #e6e9ef;background:#fff;border-radius:9px;padding:14px;position:relative;min-width:0;cursor:pointer;transition:border-color .16s,box-shadow .16s}.tks-ticket-card:hover{border-color:#afbedc;box-shadow:0 3px 12px #19376b09}.tks-card-top,.tks-card-meta{display:flex;gap:8px;align-items:center}.tks-card-top{justify-content:space-between}.tks-card-link{display:block;text-decoration:none;color:inherit;padding:15px 0}.tks-card-link:after{content:'';position:absolute;inset:0;border-radius:9px}.tks-card-link h3{font-size:14px;font-weight:550;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.tks-card-link p{font-size:12px;color:#7c818a;margin:0}.tks-card-meta{font-size:12px;color:#9197a1}.tks-card-meta>span:first-child{display:flex;gap:5px;align-items:center}.tks-card-meta button{position:relative;z-index:1}.tks-board{display:flex;gap:0;overflow-x:auto;min-height:calc(100dvh - 200px);background:#fafbfc;scrollbar-width:thin}.tks-column{min-width:265px;width:285px;flex:1 0 265px;padding:15px 12px;border-right:1px solid #e9ecf1}.tks-column h2{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8b919b;margin:0 0 15px;padding:0 3px}.tks-column-cards{display:flex;flex-direction:column;gap:10px;min-height:150px}.tks-column-empty{font-size:12px;text-align:center;padding:28px 6px;color:#a2a7b0}.tks-pagination{display:flex;align-items:center;justify-content:center;gap:16px;border-top:1px solid var(--line);padding:10px;font-size:12px}.tks-empty{padding:64px 24px;text-align:center;max-width:640px;margin:0 auto;color:#747b86}.tks-empty>svg{width:30px;height:30px;color:#9ba8bc;margin-bottom:16px}.tks-empty h2{font-size:20px;color:var(--ink,#222731);margin:0 0 12px}.tks-empty p{font-size:14px;line-height:1.65;margin-bottom:22px}.tks-empty .btn{margin:3px}
.tks-titlebar{display:flex;gap:16px;justify-content:space-between;padding:18px 24px 16px;border-bottom:1px solid var(--line,#e6e8eb)}.tks-titlebar>div:first-child{min-width:0}.tks-kicker{display:flex;gap:9px;align-items:center;color:#9097a1;font-size:12px;margin-bottom:9px}.tks-kicker a{color:#7a8290;text-decoration:none}.tks-titlebar h1{font-size:21px;line-height:1.35;letter-spacing:-.45px;font-weight:600;margin:0;overflow-wrap:anywhere}.tks-titlebar p{font-size:12px;color:#828995;margin:7px 0 0}.tks-title-actions{display:flex;gap:5px;align-items:center;align-self:center}.tks-detail-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 232px)}.tks-detail-layout.with-composer{grid-template-columns:minmax(0,1fr) var(--tks-composer-width,380px)}.tks-detail-layout.with-context{grid-template-columns:220px minmax(0,1fr)}.tks-detail-layout.with-context.with-composer{grid-template-columns:220px minmax(320px,1fr) var(--tks-composer-width,380px)}.tks-content{min-width:0;background:#fff}.tks-context{border-right:1px solid var(--line,#e6e8eb);padding:0 17px;background:#fcfcfd;min-width:0;overflow-wrap:anywhere}.tks-side-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line,#e6e8eb)}.tks-side-heading h2,.tks-context h3{font-size:13px;font-weight:600;margin:0}.tks-context section{padding:19px 0;border-bottom:1px solid var(--line,#e6e8eb)}.tks-context h3{margin-bottom:10px}.tks-context p{font-size:12px;color:#7c838f}.tks-context a{display:flex;align-items:center;gap:6px;font-size:12px;text-decoration:none;color:#476793;margin-top:12px}.tks-context a svg:last-child{margin-left:auto}.tks-context .btn{max-width:100%;white-space:normal;text-align:left}.tks-avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#eaf0fb;color:#5079b7;border-radius:50%;font-size:14px;margin-bottom:12px}.tks-context dl{font-size:12px;display:grid;grid-template-columns:1fr;gap:5px}.tks-context dt{color:#9096a1}.tks-context dd{margin:0 0 10px;color:#3b4451}.tks-context .tks-chip{white-space:normal}
.tks-thread-tools{display:flex;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid #f0f1f3}.tks-thread-tools select{border:0;background:transparent;font-size:12px;padding-left:0}.tks-thread-tools label{display:flex;align-items:center;gap:7px;margin-left:auto;min-width:70px;max-width:180px;color:#9299a4}.tks-thread-tools input{width:100%;min-width:0;border:0;background:transparent;font-size:12px;outline:none}.tks-thread{padding:0 0 20px}.tks-message{margin:0;padding:22px 24px;border-bottom:1px solid #eaeef3;overflow-wrap:anywhere}.tks-message header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:12px}.tks-message header>span{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.tks-message header strong{font-weight:600;color:#424b59}.tks-message header small{color:#9198a3;font-size:12px}.tks-message time{white-space:nowrap;color:#a0a5ae;font-size:12px;padding-top:2px}.tks-message header svg{color:#8494aa;width:14px;height:14px}.tks-message.sent{background:#f2f6fd;border-left:2px solid #7599d2}.tks-message.received{background:#fff;border-left:2px solid #dfe4ec}.tks-message.internal{background:#fffaf0;border-left:2px solid #d7b770}.tks-message.internal header small,.tks-message.internal header svg{color:#a07b37}.tks-message.scheduled{background:#f7f4fc;border-left:2px solid #a58ec7}.tks-message-body{font-size:14px;line-height:1.75;color:#3b4452}.tks-message-body p{margin:0 0 12px}.tks-message-body p:last-child{margin-bottom:0}.tks-message-body img{max-width:100%!important;max-height:320px!important;width:auto!important;height:auto!important;object-fit:contain}.tks-message-to{font-size:12px;color:#8692a3;margin-bottom:10px}.tks-message.chat{max-width:88%;margin:17px 20px;padding:14px 16px;border:0;border-radius:12px;background:#f1f3f6}.tks-message.chat.sent{margin-left:auto;background:#edf3fd}.tks-message.chat header{margin-bottom:7px}.tks-message.chat .tks-message-body{font-size:13px}.tks-message-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.tks-message-files button{max-width:100%;white-space:normal!important;text-align:left}.tks-journal{padding:18px 24px;color:#878e9a;font-size:12px}.tks-journal summary{cursor:pointer;display:flex;justify-content:space-between}.tks-journal p{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #f2f3f6}.tks-journal time{font-size:12px;white-space:nowrap}.tks-reply-invite{padding:20px;border-top:1px solid var(--line);display:flex;gap:10px}
.tks-compose{position:relative;border-left:1px solid var(--line,#e6e8eb);background:#fff;min-width:0;align-self:start;position:sticky;top:0;padding-bottom:10px;z-index:2}.tks-compose-heading{display:flex;justify-content:space-between;gap:3px;padding:11px 11px 5px;align-items:center}.tks-compose-heading>div{display:flex;gap:3px}.tks-compose-heading .btn{font-size:12px}.tks-compose-context{font-size:12px;color:#97a0ac;padding:4px 16px 10px;border-bottom:1px solid #f0f2f5}.tks-compose.is-note .tks-compose-context{color:#a58033;background:#fffaf0}.tks-resize{position:absolute;left:-4px;top:0;bottom:0;width:7px;cursor:col-resize;z-index:5}.tks-resize:hover,.tks-resize:focus{background:#5e8bdd44}.tks-compose-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:4px;border-top:1px solid #f0f2f5;padding:5px 10px}.tks-compose-bottom .btn{font-size:12px}.tks-compose-bottom #tks-draft-status{width:100%;font-size:12px;color:#969daa;padding:3px 5px}.tks-channel-route{padding:2px 16px;font-size:12px}.tks-channel-route a{display:inline-flex;align-items:center;gap:5px;margin-right:10px;text-decoration:none;color:#426a9e}
.tks-compose .qec{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}.tks-compose .qec-row{margin:0!important;padding:8px 15px!important;border-bottom:1px solid #f0f2f5;gap:7px!important;background:white}.tks-compose .qec-row input{font-size:12px!important;border:0!important;background:transparent!important;padding:3px!important;min-width:0}.tks-compose .qec-toolbar{display:flex;flex-wrap:wrap;padding:7px 10px!important;gap:3px!important;background:#fafbfc!important;border-radius:0!important;border:0!important;border-bottom:1px solid #f0f2f5!important}.tks-compose .qec-toolbar button{height:27px;min-height:27px;font-size:12px}.tks-compose .qec-quill-wrap{padding:0!important;min-height:250px}.tks-compose .ql-toolbar{border:0!important;border-radius:0!important;border-bottom:1px solid #f0f2f5!important;padding:5px 10px!important}.tks-compose .ql-toolbar .ql-formats{margin-right:5px!important}.tks-compose .ql-container.ql-snow{border:0!important;border-radius:0!important;min-height:240px!important}.tks-compose .ql-editor{padding:17px!important;font-size:14px!important;line-height:1.75!important;max-height:48dvh;min-height:220px}.tks-compose .qec-body{border:0!important;border-radius:0!important;min-height:260px;padding:17px!important;font-size:14px!important;line-height:1.75!important}.tks-compose .qec-foot{border:0!important;padding:10px 14px!important;border-top:1px solid #f0f2f5!important;flex-wrap:wrap}.tks-compose .qec-send-btn{font-size:12px!important;border-radius:7px!important;min-height:34px;display:flex;align-items:center;gap:6px}.tks-compose .qec-sig{font-size:12px!important;margin:0!important;padding:13px 17px!important;border-radius:0!important}.tks-compose .qec-attachments{padding:7px 15px!important}.tks-compose .qec-fullscreen{position:fixed!important;inset:20px!important;z-index:100001!important;background:#fff!important;padding-top:50px!important;display:flex!important;max-height:calc(100dvh - 40px)!important}.tks-compose .qec-fullscreen .ql-editor{max-height:none;flex:1}.tks-compose .qec-fullscreen .qec-body{flex:1;max-height:none}.tks-compose .qec-fullscreen .qec-fullscreen-close{z-index:100003}.tks-compose .qec-fullscreen-heading{background:#fff}.tks-compose.is-note .qec-row,.tks-compose.is-note .qec-sig{display:none!important}
.tks-detail-section{padding:24px;max-width:100%;overflow-wrap:anywhere}.tks-detail-section h1{font-size:24px;margin:0 0 8px}.tks-detail-section h2{font-size:19px;margin:0 0 18px}.tks-detail-section h3{font-size:14px;margin:18px 0 10px}.tks-detail-section .btn{margin:6px 4px 6px 0}.tks-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.tks-section-heading h2{margin:0}.tks-section-heading p{font-size:13px;color:#8a92a0}.tks-section-heading small{font-size:13px;color:#969eab}.tks-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin:16px 0}.tks-file{display:flex;gap:12px;align-items:center;min-width:0;border:1px solid #e4e8ee;border-radius:8px;padding:13px;background:#fff;color:#667992;cursor:pointer;text-align:left}.tks-file:hover{background:#f6f9fe}.tks-file span{flex:1;min-width:0}.tks-file strong{display:block;font-size:12px;color:#374357;overflow-wrap:anywhere}.tks-file small{font-size:12px;display:block;color:#9ba3ae;margin-top:6px}.tks-related{display:grid;gap:10px;margin-top:20px}.tks-resource{display:flex;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #e9edf2;text-decoration:none;color:#526a8b;font-size:13px}.tks-resource>div:first-child{flex:1}.tks-resource h3{margin:0;font-size:14px;color:#364253}.tks-resource p{font-size:12px;color:#8a95a6;margin:7px 0 0}.tks-km-state{margin:18px 0}.tks-copy{white-space:pre-wrap;font-size:14px;line-height:1.7}.tks-drawer .field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.tks-drawer .field>span{font-size:12px;color:#6f7887}.tks-drawer .field input,.tks-drawer .field textarea,.tks-drawer .field select{padding:9px 10px;border:1px solid #dfe4ec;border-radius:6px;min-width:0;width:100%;box-sizing:border-box}.tks-drawer .field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.tks-view-menu{display:flex;flex-direction:column;gap:3px}.tks-view-menu a{display:flex;align-items:center;gap:12px;padding:14px 10px;text-decoration:none;color:#6f7b8b;border-radius:7px;font-size:14px}.tks-view-menu a span{flex:1}.tks-view-menu a[aria-current],.tks-view-menu a:hover{background:#edf3fd;color:#315fca}.tks-action-menu{display:flex;flex-direction:column;gap:6px;margin:15px 0}.tks-action-menu .btn{justify-content:flex-start;min-height:39px;border:0;background:#f7f9fc;color:#536784;text-align:left;white-space:normal}.tks-check{display:flex;gap:9px;align-items:center;margin:12px 0;font-size:13px}.tks-check input{accent-color:#315fca}.tks-assistant h2{font-size:20px;margin:18px 0}.tks-assistant h3{font-size:14px;margin:20px 0 8px}.tks-assistant p,.tks-assistant ul{font-size:13px;line-height:1.7;color:#7a8799}.tks-assistant pre,.tks-rule-result pre{font-family:inherit;white-space:pre-wrap;font-size:13px;line-height:1.7;background:#f5f8fd;border-radius:8px;padding:16px;color:#435573}.tks-main :is(.tks-board,.tks-table-wrap,.ql-editor,.qec-body),.tks-drawer .drawer-body{scrollbar-width:none}.tks-main :is(.tks-board,.tks-table-wrap,.ql-editor,.qec-body)::-webkit-scrollbar,.tks-drawer .drawer-body::-webkit-scrollbar{width:0;height:0}.tks-swipe-actions{display:none}
@media(min-width:769px) and (max-width:1250px){.tks-detail-layout.with-context.with-composer{grid-template-columns:minmax(0,1fr) minmax(320px,36%)}.tks-detail-layout.with-context.with-composer>.tks-context{grid-column:1/-1;display:flex;gap:22px;padding:0 20px;border-bottom:1px solid var(--line)}.tks-detail-layout.with-context.with-composer>.tks-context>section{flex:1;min-width:0;border:0}.tks-detail-layout.with-context.with-composer>.tks-context>.tks-side-heading{border:0;align-self:start}.tks-detail-layout.with-context.with-composer>.tks-context>section:last-child{display:none}.tks-context dl{grid-template-columns:1fr 1fr;gap:5px}.tks-context dd{margin:0}.tks-titlebar{padding:16px 18px}.tks-title-actions .btn span{max-width:110px;overflow:hidden;text-overflow:ellipsis}.tks-thread-tools{gap:4px;padding:10px 14px}.tks-message{padding:18px}.tks-message header{flex-wrap:wrap}.tks-thread-tools label{max-width:125px}.tks-layout{margin-left:0}}
@media(max-width:768px){.tks-main{padding-bottom:20px!important}.tks-toolbar{padding:10px 14px;gap:6px;flex-wrap:wrap}.tks-toolbar .search{flex:1 1 calc(100% - 50px);max-width:none;order:0}.tks-toolbar>select{flex:1;max-width:none;order:2}.tks-toolbar>[data-tks=filters]{order:3}.tks-toolbar>.tks-layout{display:none}.tks-toolbar>[data-tks=list-options]{order:1}.tks-main .icon-btn{width:40px;min-width:40px;height:40px;min-height:40px}.tks-main .btn{min-height:42px}.tks-mobile-count{padding:12px 16px 0;color:#8f98a5;font-size:12px}.tks-mobile-list{padding:0 14px}.tks-mobile-list .tks-ticket-card{border:0;border-bottom:1px solid #e8edf3;border-radius:0;padding:17px 2px;box-shadow:none;background:#fff}.tks-card-link h3{font-size:15px}.tks-card-link p{font-size:13px}.tks-card-link{padding:12px 0}.tks-card-top .tks-chip{font-size:12px}.tks-mobile-list .tks-card-meta button{min-height:32px;height:32px;min-width:32px;width:32px}.tks-swipe.show-actions .tks-swipe-actions{display:flex;justify-content:flex-end;gap:8px;padding:8px;background:#f4f7fc;border-bottom:1px solid #e4eaf3}.tks-bulk{flex-wrap:wrap;padding:10px 14px}.tks-bulk strong{width:100%}.tks-titlebar{padding:16px;display:block}.tks-titlebar h1{font-size:21px;line-height:1.4}.tks-titlebar p{font-size:12px}.tks-title-actions{margin-top:10px;justify-content:flex-end}.tks-title-actions>[data-tks=context]{margin-right:auto}.tks-kicker{flex-wrap:wrap}.tks-detail-layout,.tks-detail-layout.with-context,.tks-detail-layout.with-composer,.tks-detail-layout.with-context.with-composer{display:block;min-height:0}.tks-detail-layout>.tks-context{display:none}.tks-content{width:100%}.tks-thread-tools{padding:8px 15px;gap:7px}.tks-thread-tools select{max-width:150px;height:42px}.tks-thread-tools label{max-width:110px}.tks-thread-tools input{font-size:12px}.tks-message{padding:20px 16px}.tks-message header{flex-wrap:wrap;gap:5px}.tks-message header small{font-size:12px}.tks-message time{margin-left:22px}.tks-message-body{font-size:15px;line-height:1.75}.tks-message.chat{margin:16px 14px;max-width:90%}.tks-message.chat.sent{margin-left:auto}.tks-journal{padding:20px 16px}.tks-compose{display:none}.tks-compose.is-mobile-open{display:flex;flex-direction:column;position:fixed;inset:0;z-index:100010;background:#fff;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);border:0;overflow-y:auto;max-height:100dvh}.tks-compose.is-mobile-open .tks-resize{display:none}.tks-compose.is-mobile-open .tks-compose-heading{padding:10px 12px}.tks-compose.is-mobile-open .tks-compose-heading .btn{font-size:13px}.tks-compose.is-mobile-open #tks-composer{flex:1;display:flex;flex-direction:column;min-height:0}.tks-compose.is-mobile-open .qec{flex:1;display:flex;flex-direction:column;min-height:0}.tks-compose.is-mobile-open .qec-quill-wrap{flex:1;min-height:160px}.tks-compose.is-mobile-open .ql-editor{max-height:none;min-height:160px}.tks-compose.is-mobile-open .qec-body{min-height:160px;flex:1;max-height:45dvh;overflow:auto}.tks-compose .qec-fullscreen{inset:0!important;max-height:100dvh!important;padding-top:50px!important;z-index:100015!important}.tks-detail-section{padding:22px 16px}.tks-section-heading{flex-wrap:wrap}.tks-resource{flex-wrap:wrap;gap:10px}.tks-drawer .field-grid{grid-template-columns:1fr}.tks-drawer .tks-context{padding:0;border:0}.tks-drawer .tks-context .tks-side-heading{display:none}.tks-view-trigger{display:none!important}.tks-active #qm-views{display:flex;align-items:center;min-height:46px;padding:0 12px}.tks-active #qm-views .btn{min-height:42px}.tks-pagination{gap:8px}.tks-reply-invite{padding:20px 16px}.tks-reply-invite .btn{flex:1;justify-content:center}.tks-empty{padding:48px 20px}.tks-files{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tks-ticket-card{transition:none}}
.tks-compose .in-svg-icon:before{display:none!important}.tks-compose .in-svg-icon{font-style:normal!important;display:inline-flex!important;align-items:center;justify-content:center}.tks-compose .in-svg-icon svg{width:14px;height:14px}.tks-compose .qec-toolbar .qec-tb{display:inline-flex;align-items:center;gap:5px}.tks-compose .qec-ai{display:none!important}.tks-compose .qec-mic{display:none!important}
#tks-mobile-composer{position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100dvw;max-width:none;height:100dvh;max-height:none;background:white}#tks-mobile-composer::backdrop{background:#fff}#tks-mobile-composer .tks-compose.is-mobile-open{position:static;inset:auto;min-height:100%;height:100%;max-height:none;box-sizing:border-box}#tks-mobile-composer .tks-compose .qec-fullscreen{z-index:100015!important}.tks-thread>.tks-hint{padding:0 24px}
.tks-compose .ql-toolbar[hidden]{display:none!important}.tks-compose .tks-format{font-size:13px;font-weight:600;color:#5d697c}.tks-drawer .tks-context .tks-side-heading{display:none}
@media(max-width:768px){.tks-title-actions [data-tks=context]{display:none}.tks-title-actions [data-tks=previous]{margin-right:0}.tks-title-actions [data-tks=assign]{margin-left:auto}.tks-title-actions .btn span{max-width:150px;overflow:hidden;text-overflow:ellipsis}.tks-reply-invite{display:none}.tks-titlebar{padding-bottom:10px}.tks-title-actions{margin-top:5px}}
.tks-main button:disabled{opacity:.3;cursor:default;pointer-events:none}
@media(max-width:768px){.tks-main .icon-btn,.tks-main .btn,.tks-drawer .icon-btn,.tks-drawer .btn,#tks-mobile-composer button{min-height:44px!important}.tks-main .icon-btn,.tks-drawer .icon-btn{min-width:44px}.tks-compose .qec-send-btn{min-height:44px!important}.tks-main select,.tks-drawer select,.tks-toolbar .search{min-height:44px}.tks-mobile-list .tks-card-meta button{min-height:44px;height:44px;width:44px}.tks-compose .qec-toolbar button{min-width:36px}.tks-compose .ql-toolbar button{min-width:32px}.tks-drawer .tks-view-menu a{min-height:44px}.tks-compose .qec-to,.tks-compose .qec-subject{min-height:30px}}
.tks-message.received{background:#fafafa;border-left-color:#e5e5e5}.tks-message.sent{background:#edf2fc;border-left-color:#d3dff6}.tks-message.internal{background:#fff6e8;border-left-color:#edd8b9}.tks-message.scheduled{background:#f3f0fa;border-left:2px dashed #ded5ee}.tks-message header strong{font-size:13px}.tks-message header small,.tks-message time,.tks-compose-context,.tks-compose-bottom #tks-draft-status,.tks-file small{color:#697586}.tks-message.internal header small,.tks-message.internal header svg{color:#935b0f}.tks-message.scheduled header small,.tks-message.scheduled header svg{color:#7351ac}.tks-message.sent header svg{color:#315fca}
.dark .tks-main,.dark .tks-toolbar,.dark .tks-content,.dark .tks-compose,.dark #tks-mobile-composer{background:#17191d;color:#e4e8ef}.dark .tks-table th,.dark .tks-board,.dark .tks-card-grid,.dark .tks-context,.dark .tks-compose .qec-toolbar{background:#1e2127!important}.dark .tks-ticket-card,.dark .tks-main select,.dark .tks-compose .qec-row,.dark .tks-drawer :is(input,select,textarea){background:#22262e;color:#e4e8ef;border-color:#343a45}.dark .tks-table tbody tr:hover{background:#252b35}.dark :is(.tks-title,.tks-titlebar h1,.tks-context h3,.tks-side-heading h2,.tks-detail-section h2,.tks-detail-section h3,.tks-message-body,.tks-message header strong,.tks-file strong,.tks-resource h3){color:#dce4ee}.dark :is(.tks-table th,.tks-table td,.tks-titlebar,.tks-thread-tools,.tks-message,.tks-context section,.tks-compose,.tks-toolbar,.tks-side-heading,.tks-resource){border-color:#323842}.dark .tks-message.received{background:#191919;border-left-color:#333333}.dark .tks-message.sent{background:#172238;border-left-color:#2b4169}.dark .tks-message.internal{background:#2b2318;border-left-color:#544028}.dark .tks-message.scheduled{background:#272035;border-left-color:#4c3c64}.dark .tks-message.received header svg{color:#bdbdbd}.dark .tks-message.sent header svg{color:#a8c2ff}.dark .tks-message.internal header :is(svg,small){color:#edc488}.dark .tks-message.scheduled header :is(svg,small){color:#c7afe8}.dark .tks-message header small,.dark .tks-message time,.dark .tks-compose-context,.dark .tks-compose-bottom #tks-draft-status{color:#a7b2c2}.dark .tks-file,.dark .tks-action-menu .btn,.dark .tks-assistant pre{background:#222831;border-color:#3b4452;color:#c4d0df}.dark .tks-chip{background:#29364c;color:#abc7f2}.dark .tks-chip.green{background:#233b31;color:#b1d9bc}.dark .tks-chip.amber{background:#403522;color:#e5c994}.dark .tks-chip.red{background:#452931;color:#efacb9}.dark .tks-chip.purple{background:#352e47;color:#cdbbea}.dark .tks-toolbar .search,.dark .tks-owner{background:#252a32;color:#c2cbd8}.dark .tks-compose .qec-fullscreen,.dark .tks-compose .qec-fullscreen-heading{background:#17191d!important;color:#dce4ee}.dark .tks-compose .ql-toolbar{background:#242831}.dark .tks-compose .ql-snow .ql-stroke{stroke:#c5cedc}.dark .tks-compose .ql-snow .ql-fill{fill:#c5cedc}.dark .tks-compose .ql-snow .ql-picker{color:#c5cedc}.dark .tks-view-menu a[aria-current],.dark .tks-main .icon-btn:hover,.dark .tks-main .icon-btn.active{background:#28374e;color:#a7c2eb}
@media(max-width:768px){#tks-mobile-composer button,#tks-mobile-composer .qec-toolbar button,#tks-mobile-composer .ql-toolbar button{min-width:44px!important;min-height:44px!important}}
.tks-compose.is-note .qec-sched-btn{display:none!important}
