@font-face{font-family:Manrope;src:url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');font-weight:400 800;font-display:swap}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f2f7f8;color:#17334b;font:14px/1.6 Manrope,Arial,sans-serif}.hc-shell{max-width:1320px;margin:auto;padding:24px}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{min-height:44px;padding:10px 15px;background:#fff;border:1px solid #cddfe3;border-radius:9px;cursor:pointer}button:hover{background:#eef8f7}button:disabled{opacity:.6;cursor:default}a{color:#007d76;overflow-wrap:anywhere}input,select,textarea{display:block;width:100%;border:1px solid #c6d9df;border-radius:9px;background:#fff;padding:11px 12px;min-height:46px}textarea{resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #65c9bf;outline-offset:2px}label{display:block;font-weight:650;font-size:13px}label input,label select,label textarea{margin-top:6px}p{margin:8px 0 15px;overflow-wrap:anywhere}h1{font-size:27px;margin:0}h2{font-size:18px;margin:0 0 14px}h3{font-size:15px;margin:0 0 8px}.hc-header{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}.hc-brand{font-weight:800;text-decoration:none}.hc-header h1{flex:1}.hc-header span{font-size:12px;color:#405a6a}.hc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.hc-tabs .active,.hc-top-tools .active{border-color:#008d85;background:#e1f3f0;color:#006d66}.hc-primary{background:#008b83;color:#fff;border-color:#008b83;font-weight:750}.hc-primary:hover{background:#007e77}.hc-card{min-width:0;background:#fff;border:1px solid #d8e6e9;border-radius:13px;padding:22px;margin-bottom:16px}.hc-help-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px}.hc-top-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:18px}.hc-grow{flex:1;min-width:230px}.hc-scenarios{display:grid;gap:8px}.hc-scenarios button{text-align:left}.hc-faq{padding:14px 0;border-bottom:1px solid #e5edf0}.hc-faq:last-child{border:0}.hc-faq summary{font-weight:700;cursor:pointer;min-height:44px;padding:9px 0}.hc-faq p{white-space:pre-wrap;color:#2e485a}.hc-faq .hc-actions{margin:12px 0 0}.hc-actions{display:flex;gap:8px;flex-wrap:wrap}.hc-actions a{padding:10px 0;min-height:44px}.hc-error{padding:14px;background:#fff0ed;color:#922f23;border:1px solid #ebc4be;border-radius:9px;margin:12px 0}.hc-notice:empty,.hc-result:empty{display:none}.hc-notice,.hc-result{color:#08776e}.hc-muted{font-size:13px;color:#486271}.hc-context{padding:15px;background:#eaf6f4;border:1px solid #bcded8;border-radius:10px;margin-bottom:18px}.hc-context ul{padding-left:18px}.hc-context details{margin:8px 0}.hc-filters{display:flex;gap:8px;flex-wrap:wrap;flex:1}.hc-filters>*{width:auto;min-width:130px;flex:1}.hc-inbox{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px}.hc-ticket-list{padding:10px;max-height:760px;overflow:auto}.hc-ticket{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e3edef;border-radius:0;padding:14px 10px}.hc-ticket strong,.hc-ticket small,.hc-ticket span{display:block;overflow-wrap:anywhere}.hc-ticket small{font-size:12px;color:#405a6a}.hc-ticket.active{background:#e5f5f1;border-left:3px solid #008b83}.hc-conversation{display:flex;flex-direction:column}.hc-conversation #hcTicketHead{border-bottom:1px solid #e1ebed;padding-bottom:10px}.hc-messages{max-height:550px;overflow:auto;padding:14px 0;min-height:90px}.hc-message{padding:13px 15px;margin:0 0 12px;border:1px solid #dde9ed;border-radius:11px;background:#f8fbfc;max-width:94%}.hc-message[data-kind=admin]{background:#eaf7f4;border-color:#b9ddd7;margin-left:auto}.hc-message[data-kind=automation]{background:#f1f5fa;color:#334e60}.hc-message[data-kind=internal]{background:#fff8e7;border-color:#e6d7a7}.hc-message header{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:12px;margin-bottom:6px}.hc-message p{white-space:pre-wrap;margin:0}.hc-message time{font-size:11px;color:#486271}.hc-attachment{display:inline-block;padding:8px 0;margin-right:12px}.hc-check{display:flex;gap:9px;align-items:center;font-weight:500}.hc-check input{display:inline-block;width:18px;min-height:18px;margin:0;flex-shrink:0}.hc-reply-tools,.hc-file-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}.hc-reply-tools label:first-child{flex:1;min-width:200px}.hc-file-tools small{font-size:12px;color:#405a6a}.hc-file-label input{font-size:13px;padding:8px;max-width:100%}.hc-upload{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:7px 10px;background:#edf5f7;border-radius:8px;margin:0 7px 10px 0;overflow-wrap:anywhere}.hc-upload button{min-height:32px;padding:4px 8px}.hc-manage{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.hc-manage label{flex:1;min-width:120px}.hc-manage button{align-self:end}.hc-pagination{display:flex;gap:16px;align-items:center;justify-content:center}.hc-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hc-channel{border:1px solid #d6e5e9;padding:18px;border-radius:10px;min-width:0}.hc-channel a{display:block;margin:12px 0}.hc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hc-stat{border:1px solid #c9e0de;border-radius:10px;padding:16px;background:#fff;min-width:0}.hc-stat strong{display:block;font-size:25px;color:#007b75}.hc-stat small{font-size:12px}.hc-breakdowns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.hc-breakdowns dl{display:grid;grid-template-columns:1fr auto;gap:7px}.hc-breakdowns dd{margin:0;font-weight:750}.hc-link{border:0;color:#007d76;background:transparent;padding:10px 0;text-align:left}#hcKnowledgeForm label{margin-bottom:14px}fieldset{border:1px solid #d3e3e7;border-radius:8px;margin:0 0 15px;padding:12px}.hc-knowledge-item{display:block;text-align:left;width:100%;margin-bottom:7px}.hc-delivery{border-bottom:1px solid #deeaed;padding:14px 0}.hc-footer{margin-top:25px;padding-top:18px;border-top:1px solid #d6e4e7;display:flex;gap:18px;flex-wrap:wrap;color:#486271;font-size:12px}.hc-footer span{flex:1;min-width:200px}
.hc-button{display:inline-block;min-height:44px;padding:9px 12px;margin:4px 8px 4px 0;border:1px solid #8bc8c1;border-radius:8px;background:#fff;text-decoration:none;font-weight:700}.hc-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hc-message.staff{background:#eaf7f4;border-color:#b9ddd7;margin-left:auto}.hc-message.auto{background:#f1f5fa;color:#334e60}.hc-message.internal{background:#fff8e7;border-color:#e6d7a7}.hc-feedback{display:flex;flex-wrap:wrap;gap:8px}#hcDraftForm>button{margin-top:15px}.hc-upload{display:flex;flex-wrap:wrap}.hc-file-tools{min-width:0}input[type=file]{min-width:0;width:100%}
@media(max-width:900px){.hc-help-grid,.hc-inbox{grid-template-columns:1fr}.hc-ticket-list{max-height:230px}.hc-stats,.hc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-breakdowns{grid-template-columns:1fr}.hc-message{max-width:100%}}
@media(max-width:560px){.hc-shell{padding:16px 12px}.hc-card{padding:17px}.hc-header{gap:10px}.hc-header h1{font-size:23px;flex-basis:55%}.hc-header .hc-brand{flex-basis:100%}.hc-tabs{gap:6px}.hc-tabs button{padding:9px 10px;font-size:12px}.hc-grow{min-width:100%;width:100%}.hc-top-tools{align-items:stretch}.hc-top-tools>button{flex:1}.hc-channel-grid{grid-template-columns:1fr}input,select,textarea{font-size:16px}.hc-file-label{min-width:0;width:100%}.hc-stats{gap:8px}.hc-stat{padding:12px}.hc-stat strong{font-size:23px}.hc-manage label{min-width:100%}.hc-filters>*{min-width:100%}}

/* Transcript bubbles; administrative tools remain outside the conversation log. */
.hc-message{width:fit-content;max-width:88%;border-radius:16px 16px 16px 4px;background:#fff;overflow-wrap:anywhere}
.hc-message.staff{border-radius:16px 16px 4px 16px}
.hc-messages{padding:16px 10px;background:#f4f8f7;border-radius:12px;margin:12px 0}
.hc-message p{font-size:15px;color:#173b35}

.hc-message.staff{margin-left:0}.hc-message.own{margin-left:auto;background:#e0f3eb;border-color:#b9ddd7;border-radius:16px 16px 4px 16px}

.hc-message audio{display:block;width:min(100%,320px);margin-top:10px}
