.cs-workbench{display:grid;grid-template-columns:minmax(240px,27%) minmax(330px,1fr) minmax(245px,25%);min-height:620px;height:calc(100vh - 300px);max-height:1000px;background:#fff;border:1px solid #dfe5ee;border-radius:14px;overflow:hidden;margin-top:18px}
.cs-inbox,.cs-context,.cs-conversation{min-width:0;min-height:0}.cs-inbox{display:flex;flex-direction:column;border-right:1px solid #e2e7ef;background:#fafbfe}.cs-inbox form{padding:16px;display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid #e2e7ef}.cs-inbox form input{grid-column:1/-1;min-width:0}.cs-inbox input,.cs-inbox select,.cs-composer select{font:inherit;border:1px solid #d8e0eb;border-radius:7px;padding:9px;background:white;min-width:0}.cs-inbox-list{overflow:auto;flex:1;min-height:0}.cs-inbox-item{display:block;width:100%;padding:17px 16px;text-align:left;border:0;border-bottom:1px solid #e8ecf2;background:transparent;color:#243348;cursor:pointer;font:inherit}.cs-inbox-item:hover{background:#f0f3f9}.cs-inbox-item.selected{background:#fcedf1;box-shadow:inset 3px 0 #d93659}.cs-inbox-item>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.cs-inbox-item p{margin:8px 0;font-size:13px;line-height:1.6;color:#5c6d82;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-inbox-item small{font-size:11px;color:#637187}.cs-unread{border-radius:14px;padding:2px 7px;background:#d93659;color:#fff;font-size:11px}.cs-overdue{color:#ae3525;font-size:11px;font-style:normal}.cs-inbox-page{display:flex;align-items:center;justify-content:space-between;padding:12px;gap:5px;border-top:1px solid #e2e7ef;font-size:12px}
.cs-conversation{display:flex;flex-direction:column;background:#fff}.cs-thread-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #e5e9f0}.cs-thread-head h2{font-size:18px;margin:0 0 6px}.cs-thread-head p{font-size:12px;margin:0;color:#607086}.cs-thread-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.cs-thread-actions .btn{padding:7px 9px;font-size:12px}.cs-sync{padding:8px 18px;background:#fafbfe;color:#64748b;font-size:11px;min-height:30px}.cs-messages{flex:1;min-height:180px;overflow:auto;padding:20px 18px;background:#f7f9fc;overscroll-behavior:contain}.cs-message{max-width:91%;width:fit-content;margin:0 auto 20px 0;padding:12px 14px;border:1px solid #e0e6ef;border-radius:3px 12px 12px;background:#fff;word-break:break-word}.cs-message.own{margin-left:auto;margin-right:0;background:#fceef2;border-color:#f0d9e0;border-radius:12px 3px 12px 12px}.cs-message.automated{max-width:100%;background:#edf1f6;border:0;border-radius:8px;color:#596b80}.cs-message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:#65758a;margin-bottom:8px}.cs-message-meta b{color:#31445b}.cs-message-body{white-space:pre-wrap;font-size:14px;line-height:1.8}.cs-message-delivery{font-size:10px;color:#65758a;text-align:right;margin-top:7px}.cs-message-files{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.cs-message-files button{max-width:100%;white-space:normal;word-break:break-all}.cs-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;min-width:170px;padding:12px;background:white;border:1px solid #d9e2ed;border-radius:8px;text-align:left;margin-top:10px;cursor:pointer}.cs-card span{font-size:11px;color:#8d435a}.cs-card small{color:#62758c;font-size:11px}.cs-card b{color:#26364d;font-size:13px}.cs-history{text-align:center;margin-bottom:18px}
.cs-composer{border-top:1px solid #dfe5ee;padding:14px 16px;background:#fff}.cs-composer textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:84px;max-height:180px;border:1px solid #ced8e6;border-radius:8px;padding:11px;font:inherit;font-size:14px;color:#243348;line-height:1.7}.cs-composer textarea:focus{outline:2px solid #f4c3cf;border-color:#d93659}.cs-composer-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:10px}.cs-composer-tools>div{display:flex;gap:6px;flex-wrap:wrap}.cs-composer-tools .btn,.cs-composer select{font-size:11px;padding:7px 9px;min-height:33px}.cs-file-pick{position:relative;overflow:hidden;cursor:pointer;display:inline-flex;align-items:center}.cs-file-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;max-width:100%}.cs-file-pick:has(input:disabled){opacity:.5;cursor:not-allowed}.cs-composer-note{display:block;color:#68788d;font-size:10px;line-height:1.7;margin-top:9px}.cs-upload-item,.cs-pending-card{display:flex;align-items:center;gap:8px;padding:8px;margin-top:6px;background:#f6f8fb;border-radius:6px;font-size:12px;word-break:break-word}.cs-upload-item>span,.cs-pending-card>span{flex:1;min-width:0}.cs-upload-item small{display:block;color:#69798d;font-size:10px;margin-top:4px}.cs-send-state{padding:10px 12px;background:#eef3fb;border-radius:7px;margin-bottom:10px;font-size:12px}.cs-send-state.error{background:#fff0ee;color:#943e34}.cs-send-state p{margin:5px 0;line-height:1.6}.cs-send-state blockquote{white-space:pre-wrap;margin:8px 0;padding-left:8px;border-left:2px solid currentColor;max-height:80px;overflow:auto;font-size:12px}.cs-send-state .btn{margin:6px 6px 0 0;font-size:11px}.cs-thread-empty{padding:40px 24px;line-height:1.7;color:#607086}.cs-thread-empty h2{color:#243348}.cs-thread-hint{padding:12px;font-size:12px;color:#62748b}.cs-small{font-size:11px;color:#65748b;line-height:1.8;white-space:pre-wrap}
.cs-context{overflow:auto;background:#fcfdff;border-left:1px solid #e2e7ef;padding:0 17px}.cs-context section{padding:18px 0;border-bottom:1px solid #e7ebf1}.cs-context h3,.cs-settings h3{font-size:13px;margin:0 0 13px;color:#293c55}.cs-context h3 small{font-size:10px;color:#65748b;font-weight:400}.cs-context dl{font-size:11px;line-height:1.7;display:grid;grid-template-columns:65px 1fr;gap:7px;margin:0}.cs-context dt{color:#68778b}.cs-context dd{margin:0;overflow-wrap:anywhere}.cs-context-card{display:flex;flex-direction:column;gap:5px;border:1px solid #e1e7f0;background:#fff;padding:10px;border-radius:7px;margin:10px 0;font-size:11px;overflow-wrap:anywhere}.cs-context-card small{color:#6a778b}.cs-notes article,.cs-review,.cs-event{font-size:11px;border-left:2px solid #dbe3ee;padding-left:10px;margin:12px 0;line-height:1.7}.cs-notes article p,.cs-review p,.cs-event p{margin:4px 0;white-space:pre-wrap;word-break:break-word}.cs-notes small,.cs-review small,.cs-event small{color:#65758a;font-size:10px}.cs-context-empty{padding:28px 0;font-size:12px;color:#65748b;line-height:1.8}.cs-presence{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}.cs-presence .btn{font-size:12px}.cs-dot{width:7px;height:7px;border-radius:100%;background:#97a5b7}.cs-dot.online{background:#268360}.cs-service-state{font-size:12px;color:#5e6f85;line-height:1.8;margin:0 0 15px}.cs-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e1e7ef;background:#fff;border-radius:10px;padding:14px 0}.cs-stats>div{padding:0 20px;border-right:1px solid #e7ebf1}.cs-stats>div:last-child{border:0}.cs-stats small{display:block;color:#68778a;font-size:11px;margin-bottom:6px}.cs-stats b{font-size:21px;color:#243348;font-variant-numeric:tabular-nums}.cs-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px}.cs-hour-row{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e7ebf1}.cs-hour-row label,.cs-reply-row label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:#53657c}.cs-hour-row input,.cs-hour-row select,.cs-reply-row input,.cs-reply-row textarea{width:100%;min-width:0;padding:10px;border:1px solid #d6dfeb;border-radius:7px;background:#fff;color:#243348;font:inherit}.cs-reply-row{display:grid;grid-template-columns:1fr;gap:12px;border:1px solid #e0e6ef;border-radius:9px;padding:15px;margin:12px 0}.cs-reply-row button{justify-self:end}.cs-image-preview{display:block;max-width:100%;max-height:65vh;margin:0 auto;object-fit:contain}.cs-workbench .btn:focus-visible,.cs-inbox-item:focus-visible,.cs-card:focus-visible{outline:2px solid #d93659;outline-offset:2px}
@media(max-width:1350px){.cs-workbench{grid-template-columns:245px minmax(330px,1fr);height:auto;max-height:none}.cs-inbox,.cs-conversation{height:680px}.cs-context{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-left:0;border-top:1px solid #e2e7ef}.cs-settings{grid-template-columns:1fr}.cs-thread-head{flex-direction:column}.cs-thread-actions{justify-content:flex-start}}
@media(max-width:800px){.cs-workbench{grid-template-columns:1fr}.cs-inbox{height:330px;border-right:0;border-bottom:1px solid #e2e7ef}.cs-conversation{height:760px}.cs-context{grid-template-columns:1fr 1fr}.cs-stats>div{padding:0 12px}.cs-stats b{font-size:18px}.cs-hour-row{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-hour-row button{grid-column:1/-1;justify-self:end}}
@media(max-width:520px){.cs-context{grid-template-columns:1fr}.cs-stats{grid-template-columns:1fr 1fr;gap:15px}.cs-stats>div:nth-child(2){border:0}.cs-thread-head,.cs-composer{padding:12px}.cs-messages{padding:15px 12px}.cs-composer-tools{align-items:stretch;flex-direction:column}.cs-composer-tools>.btn{justify-content:center}.cs-message{max-width:95%}}
.cs-inbox-head h2{font-size:15px;margin:18px 16px 0}.cs-inbox-head h2 small{font-size:11px;color:#6b7a90}.cs-inbox form>div{grid-column:1/-1;display:flex;gap:8px}.cs-inbox form select{flex:1}.cs-inbox-items{overflow:auto;flex:1;min-height:0}.cs-item-top,.cs-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.cs-item-top b{font-size:13px}.cs-item-top time{font-size:10px;color:#627189}.cs-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#65758b;line-height:1.8;margin:7px 0}.cs-item-bottom{font-size:10px;color:#64738a}.cs-queue-hint{display:block;margin-top:7px;font-size:10px;color:#766554}.cs-inbox-pages{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:12px;border-top:1px solid #e2e7ef;font-size:11px}
.cs-response-metrics{display:flex;flex-wrap:wrap;gap:8px 24px;color:#63738a;font-size:11px;margin-top:11px;line-height:1.6}
.cs-card-search>div{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.cs-card-search input{flex:1;min-width:160px;border:1px solid #d5dfeb;border-radius:7px;padding:9px;color:#243348}
@media(min-width:1200px){
 #main:has(> .cs-page){padding:20px 28px 18px}
 .cs-page{height:calc(100dvh - 110px);min-height:0;display:flex;flex-direction:column}
 .cs-page .page-heading{flex-shrink:0;margin-bottom:8px;gap:12px}
 .cs-page .page-heading .eyebrow{font-size:9px;line-height:1.3;margin-bottom:5px}
 .cs-page .page-heading h1{font-size:23px;line-height:1.3}
 .cs-page .page-heading p{font-size:11px;margin-top:4px;line-height:1.5}
 .cs-page .cs-service-state{flex-shrink:0;font-size:11px;line-height:1.5;margin-bottom:7px}
 .cs-page #support-stats{flex-shrink:0}
 .cs-page .cs-stats{padding:9px 0}
 .cs-page .cs-stats small{margin-bottom:4px}
 .cs-page .cs-stats b{font-size:19px;line-height:1.2}
 .cs-page .cs-response-metrics{margin-top:7px;line-height:1.5}
 .cs-page .cs-workbench{flex:1;min-height:0;height:auto;max-height:none;margin-top:10px;grid-template-columns:minmax(205px,24%) minmax(320px,1fr) minmax(230px,25%)}
 .cs-page .cs-inbox,.cs-page .cs-conversation,.cs-page .cs-context{height:auto;min-height:0}
 .cs-page .cs-context{grid-column:auto;display:block;border-left:1px solid #e2e7ef;border-top:0;overflow:auto}
 .cs-page .cs-thread-head{padding:11px 13px;flex-direction:row;flex-shrink:0;gap:9px}
 .cs-page .cs-thread-head h2{font-size:16px;margin-bottom:4px}
 .cs-page .cs-thread-head p{font-size:11px}
 .cs-page .cs-thread-actions{justify-content:flex-end}
 .cs-page .cs-sync{flex-shrink:0;min-height:26px;padding:6px 13px;font-size:10px}
 .cs-page .cs-messages{min-height:0;padding:14px 13px;overflow:auto}
 .cs-page .cs-composer{flex-shrink:0;padding:9px 12px}
 .cs-page .cs-composer textarea{min-height:62px;height:62px;max-height:110px;padding:8px 10px;font-size:13px;resize:vertical}
 .cs-page .cs-composer-tools{margin-top:8px}
 .cs-page .cs-composer-note{margin-top:6px;line-height:1.5}
 .cs-page .cs-upload-list{max-height:75px;overflow:auto}
 .cs-page .cs-send-state{max-height:110px;overflow:auto}
 .cs-page .cs-inbox-head h2{margin-top:13px}
 .cs-page .cs-inbox form{padding:12px}
 .cs-page .cs-thread-hint{padding:5px 0 8px;font-size:11px}
}
