.tk-toolbar,.tk-actions,.tk-colhead,.tk-counts,.tk-computer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tk-toolbar{align-items:end;margin-bottom:16px}.tk-toolbar label{margin:0}.tk-counts{margin-right:auto;gap:24px;font-family:Handjet,monospace;font-size:18px}.tk-counts span{display:flex;flex-direction:column}.tk-counts strong{font-size:32px;color:#E9D48B}.tk-counts span+span strong{color:#B9C6EE}.tk-search{min-width:220px;flex:1}.tk-seg{display:inline-flex;border:1px solid #2A3A4B;background:#0D131A;padding:2px;border-radius:4px;gap:2px}.tk-seg button{border:0;background:transparent;color:#8595A6;padding:6px 9px;min-height:32px;font-size:12px}.tk-seg button[aria-pressed=true]{background:#34406B;color:#EEF1F4}.tk-columns{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(280px,1fr) minmax(360px,1.6fr);gap:14px;align-items:stretch}.tk-column{background:#16202B;border:1px solid #2A3A4B;min-width:0;display:flex;flex-direction:column;height:740px}.tk-colhead{padding:12px 14px;border-bottom:1px solid #2A3A4B}.tk-colhead h3,.tk-colhead p{width:100%;margin:0;overflow-wrap:anywhere}.tk-check{display:flex!important;gap:8px;align-items:center;font-size:13px;margin:0!important}.tk-check input{width:auto!important}.tk-scroll{overflow:auto;min-height:0;flex:1}.tk-group-label{font-family:Handjet,monospace;color:#8ED1DC;font-size:17px;padding:12px;margin:0}.tk-item,.tk-ticket{display:flex;width:100%;text-align:left;background:transparent;border:0;border-radius:0;border-left:2px solid transparent;padding:12px;align-items:center;gap:8px;white-space:normal;color:#EEF1F4}.tk-item:hover,.tk-ticket:hover{background:#1D2935}.tk-item[aria-pressed=true],.tk-ticket[aria-pressed=true]{border-left-color:#E9D48B;background:#1D2935}.tk-item-text{min-width:0;flex:1}.tk-item-text strong,.tk-item-text small{display:block;overflow-wrap:anywhere}.tk-item-text small,.tk-ticket small{color:#8595A6;font-size:11px}.tk-kind{font-family:monospace;color:#8ED1DC;font-size:12px;width:24px;flex-shrink:0}.tk-cnt,.tk-chip{border-radius:3px;padding:2px 6px;font:17px Handjet,monospace;white-space:nowrap}.tk-chip.new,.tk-cnt.new{background:#4E4429;color:#E9D48B}.tk-chip.in_progress,.tk-cnt.in_progress{background:#34406B;color:#B9C6EE}.tk-chip.closed{background:#1D2935;color:#8595A6;border:1px solid #2A3A4B}.tk-ticket{display:block;border-bottom:1px solid #2A3A4B}.tk-ticket>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tk-ticket h3{font-size:14px;margin:8px 0;overflow-wrap:anywhere}.tk-unread{font-size:12px;color:#E9D48B}.tk-cardbody{padding:16px;max-height:390px;overflow:auto;font-size:13px;overflow-wrap:anywhere}.tk-cardbody h3{font-size:20px;margin:0 0 8px}.tk-cardbody p{margin:6px 0}.tk-computer{border-top:1px solid #2A3A4B;padding-top:12px;margin-top:12px}.tk-computer strong{flex:1}.tk-actions button{font-size:12px;padding:8px 10px;min-height:36px}.tk-online{color:#A8CFA0;font-size:12px}.tk-thread .tk-colhead h3{font-size:18px}.tk-thread .tk-colhead p{font-size:13px}.tk-messages{padding:16px;overflow:auto;flex:1;min-height:150px;display:flex;flex-direction:column;gap:12px}.tk-message{max-width:90%;padding:12px;background:#1D2935;border:1px solid #2A3A4B;border-radius:4px;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.tk-message p{margin:5px 0}.tk-message small{color:#8595A6;font-size:11px}.tk-message.operator{align-self:flex-end;background:#202D49;border-color:#34406B}.tk-message.system{max-width:100%;align-self:center;text-align:center;background:transparent;border:0;padding:0;font-family:Handjet,monospace;font-size:17px;color:#8595A6}.tk-message.system small{font-family:monospace}.tk-empty{color:#8595A6;padding:18px;font-size:14px}#tk-reply-form{border-top:1px solid #2A3A4B;padding:14px;display:grid;gap:8px}#tk-reply-form[hidden]{display:none}#tk-reply-form label{font-size:12px;margin:0}#tk-reply-form textarea{margin:0;min-height:78px}#tk-reply-form select{font-size:12px}#tk-send-state{font-size:12px;color:#8595A6}.tk-edit{display:grid;gap:10px;padding-top:14px}.tk-edit label{margin:0}.tk-screenshot{display:block;padding:0;background:transparent;border:0}.tk-screenshot img{max-width:230px;max-height:160px}#tk-image-dialog{max-width:95vw;width:auto}#tk-image{display:block;max-width:90vw;max-height:80vh}#tk-error{color:#F0A5A5;white-space:pre-wrap}.tk-column button:focus-visible{outline:2px solid #8ED1DC;outline-offset:-2px}@media(max-width:1100px){.tk-columns{grid-template-columns:minmax(200px,1fr) minmax(260px,1fr)}.tk-thread{grid-column:1/-1;height:650px}.tk-people,.tk-card{height:560px}}@media(max-width:620px){.tk-columns{grid-template-columns:1fr}.tk-thread{grid-column:auto}.tk-people{height:320px}.tk-card{height:500px}.tk-toolbar>*{max-width:100%}}

.tk-item,.tk-ticket{font-family:"Golos Text",sans-serif;text-transform:none;letter-spacing:normal}.tk-seg button{font-family:Tektur,sans-serif}.tk-item small,.tk-ticket small{font-family:"JetBrains Mono",monospace}.tk-message{flex-shrink:0}

/* Ticket layout follows assets/tickets/source/Main.dc.html. */
.tk-columns{gap:16px;grid-template-columns:minmax(230px,.95fr) minmax(280px,1fr) minmax(400px,1.5fr)}
.tk-toolbar{gap:12px;align-items:center}.tk-toolbar input,.tk-toolbar select{height:36px;min-height:36px;padding:6px 10px;font-size:13px}.tk-search{max-width:300px}.tk-toolbar label{font-size:12px}.tk-counts{font-size:15px;color:#8595A6}.tk-counts strong{font-size:30px;line-height:1.1}
.tk-seg button{font-size:12px;font-weight:600;letter-spacing:.03em;border-radius:3px}.tk-people .tk-colhead{gap:8px}.tk-people .tk-colhead>.tk-seg+ .tk-seg{margin-left:auto}
.tk-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:8px 14px;border-bottom:1px solid #2A3A4B;color:#8595A6;font-size:11px}.tk-legend>span{display:flex;align-items:center;gap:5px}.tk-legend .tk-cnt{font-size:13px;font-style:normal;padding:0 4px}.tk-legend .tk-check{margin-left:auto!important;font-size:11px}
.tk-group-label{display:flex;gap:8px;align-items:center;padding:14px 14px 6px;font-size:15px}.tk-group-label:after{content:'';height:1px;flex:1;background:#2A3A4B}.tk-item{min-height:52px;padding:8px 12px}.tk-kind{display:inline-flex;align-items:center;justify-content:center;height:24px;border:1px solid #3A4E66;border-radius:3px}.tk-item-text strong{font-size:14px;font-weight:500}.tk-cnt{min-width:24px;text-align:center}.tk-chip{text-transform:uppercase;letter-spacing:.05em;font-size:15px}
.tk-cardbody{padding:14px;border-bottom:1px solid #2A3A4B;flex-shrink:0;max-height:430px}.tk-card-heading{display:flex;align-items:flex-start;gap:8px}.tk-card-heading>div{min-width:0;flex:1}.tk-card-heading h3{font-size:20px;text-transform:uppercase;font-stretch:85%;line-height:1.2;margin:0 0 5px}.tk-card-heading .secondary{font:12px/1.5 'JetBrains Mono',monospace;color:#B4BFCB;margin:0}.tk-card-edit{margin-left:auto}.tk-card-details{display:grid;grid-template-columns:76px minmax(0,1fr);gap:4px 10px;font-size:13px;margin:12px 0}.tk-card-details dt{color:#8595A6}.tk-card-details dd{margin:0}.tk-note{font-size:12px;color:#8595A6;margin:10px 0!important}
.tk-computer{display:flex;flex-wrap:nowrap;gap:8px;border:1px solid #2A3A4B;background:#111821;padding:6px 8px;margin-top:4px}.tk-computer-identity{min-width:0;flex:1}.tk-computer-identity strong,.tk-computer-identity small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tk-computer-identity strong{font-size:13px;font-weight:500}.tk-computer-identity small{font:11px 'JetBrains Mono',monospace;color:#8595A6;margin-top:3px}.tk-presence{width:6px;height:6px;background:#8595A6;border-radius:50%;flex:0 0 6px}.tk-presence.online{background:#96CFA6}.tk-computer .tk-actions{flex-wrap:nowrap;gap:4px}
.tk-thread .tk-colhead{padding:14px 16px;align-items:flex-start;gap:12px}.tk-thread-summary{min-width:0;flex:1 1 220px}.tk-thread-summary>.secondary{font:11px 'JetBrains Mono',monospace;color:#8595A6}.tk-thread .tk-thread-summary h3{font-size:20px;font-stretch:85%;text-transform:uppercase;line-height:1.2;margin:6px 0}.tk-thread-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tk-thread-actions .tk-actions{gap:6px}.tk-status button{padding:6px 8px;font-size:11px}.tk-messages{background:#131B24}.tk-message{font-size:13px}.tk-message small{font-size:10px;font-family:'JetBrains Mono',monospace}.tk-actions .action-icon{padding:7px;min-height:34px}
#tk-reply-form{background:#16202B}#tk-reply-form .tk-actions>button{font-family:Tektur,sans-serif;letter-spacing:.03em}#tk-close{background:transparent;border:1px solid #3A4E66;border-radius:4px;color:#EEF1F4}#tk-close:hover{background:#1D2935}
@media(max-width:1100px){.tk-columns{grid-template-columns:minmax(220px,1fr) minmax(280px,1fr)}.tk-thread-summary{flex-basis:260px}}
@media(max-width:620px){.tk-columns{grid-template-columns:minmax(0,1fr)}.tk-toolbar .tk-search{max-width:none;min-width:0;flex-basis:100%}.tk-thread-actions{width:100%}.tk-cardbody{max-height:360px}}

.feedback-section>.page-heading{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:16px 32px;margin-bottom:12px}.feedback-section>.page-heading h2{font-size:32px;margin:6px 0 0}.feedback-section .tk-toolbar{flex:1 1 680px;margin:0}.tk-legend .tk-check input{width:14px!important;height:14px;min-height:0;margin:0;accent-color:#8ED1DC}.tk-legend .tk-check{font-weight:400}.tk-legend{min-height:36px}

/* Align the names switch with the fields, below their labels. */
.tk-toolbar{align-items:flex-end}
.tk-toolbar>.tk-seg{height:36px;box-sizing:border-box}
.tk-toolbar>.tk-seg button{height:30px;min-height:30px;padding-top:0;padding-bottom:0}
.tk-toolbar input,.tk-toolbar select{height:36px;min-height:36px;box-sizing:border-box}

.machine-filters{justify-content:flex-end;margin-bottom:12px}.machine-filters select{min-width:160px}.machine-filters .tk-search{flex:0 1 300px}@media(max-width:620px){.machine-filters{justify-content:flex-start}.machine-filters .tk-search{flex:1 1 100%}}

#tk-image-dialog{width:fit-content;min-width:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:16px}
#tk-image-close{display:flex;margin:0 0 12px auto}
#tk-image{display:block;width:auto;height:auto;max-width:calc(100vw - 66px);max-height:calc(100dvh - 130px);object-fit:contain;margin:auto}

.machine-filters{gap:12px;justify-content:flex-start;flex-wrap:wrap}
.machine-counts{display:flex;align-items:center;gap:8px;min-height:36px;margin-right:auto;white-space:nowrap;font-size:13px;color:#B4BFCB}
.machine-counts strong{font:500 24px Handjet,monospace;color:#8ED1DC}
.machine-counts .summary-separator{margin:0 2px}
.machine-filters .tk-search{min-width:180px;flex:1 1 200px;max-width:280px}
.machine-filters select{min-width:140px;max-width:180px}
#machines-panel .machine-filters #open-profile{height:36px;min-height:36px;flex-shrink:0;margin-left:0;white-space:nowrap}
#machines-panel>.table-wrap{border-top:1px solid var(--eh-line)}
#machines-panel>.pager .refresh-state{margin-right:auto;margin-left:0}
@media(max-width:1000px){.machine-counts{flex-basis:100%}}
@media(max-width:620px){.machine-filters .tk-search{max-width:none;flex-basis:100%}}

#card-editor{width:680px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}
#card-editor .tk-edit{padding-top:0}#card-editor .dialog-actions{margin-top:8px}#card-editor textarea{min-height:140px;resize:vertical}.card-edit-error{color:#F0A5A5;margin:0}.card-edit-error:empty{display:none}
@media(min-width:1101px){
body:has(#tickets-panel:not([hidden])){height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body:has(#tickets-panel:not([hidden]))>header{flex-shrink:0}
body:has(#tickets-panel:not([hidden]))>main{flex:1;min-height:0;width:100%;margin:0 auto;padding-bottom:16px;display:flex;flex-direction:column}
body:has(#tickets-panel:not([hidden]))>footer{display:none}
#tickets-panel:not([hidden]){display:flex;flex:1;flex-direction:column;min-height:0}
#tickets-panel>.page-heading{flex-shrink:0}
#feedback-list{display:flex;flex:1;flex-direction:column;min-height:0}
#tk-error:empty{display:none}#tk-error{flex-shrink:0;max-height:60px;overflow:auto}
.tk-columns{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}
.tk-column{height:100%;min-height:0;overflow:hidden}
.tk-cardbody{max-height:50%;min-height:0}
.tk-colhead,.tk-legend{flex-shrink:0}
.tk-messages{min-height:0;overscroll-behavior:contain}
.tk-thread>.tk-colhead{max-height:35%;overflow:auto}
#tk-reply-form{flex-shrink:0;max-height:45%;overflow:auto}
}
