#customerService.support-workbench{--sw-border:#e4e8ee;--sw-muted:#7b8698;--sw-blue:#2368b4;max-width:none;width:100%;padding:0;min-width:0}
#customerService.support-workbench *{box-sizing:border-box}
#customerService.support-workbench .sw-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
#customerService.support-workbench .sw-heading h2{margin:0 0 4px;font-size:22px;line-height:1.4;color:#182536}
#customerService.support-workbench #csStatus{margin:0;font-size:12px;line-height:20px;color:var(--sw-muted)}
#customerService.support-workbench #csStatus.bad{color:#bd3e3e}
#customerService.support-workbench button,#customerService.support-workbench summary{font-family:inherit;cursor:pointer}
#customerService.support-workbench button{box-shadow:none;min-height:0;line-height:1.4;letter-spacing:0;border-radius:6px;padding:7px 12px;background:#fff;border:1px solid var(--sw-border);color:#46566c;font-size:12px;font-weight:500;margin:0;transform:none}
#customerService.support-workbench button:disabled{opacity:.5;cursor:default}
#customerService.support-workbench button:hover:not(:disabled){background:#f1f6fd;border-color:#bad1ed;color:var(--sw-blue)}
#customerService.support-workbench button:focus-visible,#customerService.support-workbench summary:focus-visible{outline:2px solid #468edb;outline-offset:2px}
#customerService.support-workbench .cs-layout{display:grid;grid-template-columns:minmax(250px,300px) minmax(340px,1fr) minmax(255px,310px);gap:0;height:var(--support-height,calc(100dvh - 235px));min-height:360px;max-height:none;border:1px solid var(--sw-border);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 3px 16px #26385005}
#customerService.support-workbench .cs-list-pane,#customerService.support-workbench .cs-chat-pane,#customerService.support-workbench .cs-side-pane{min-height:0;min-width:0;background:#fff;border:0;border-radius:0;box-shadow:none;padding:0;max-height:none}
#customerService.support-workbench .cs-list-pane{display:flex;flex-direction:column;border-right:1px solid var(--sw-border)}
#customerService.support-workbench .sw-search{display:block;flex:none;padding:16px 14px 10px;margin:0;border:0;background:none}
#customerService.support-workbench .sw-search>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#customerService.support-workbench .sw-search>div{display:flex;border:1px solid var(--sw-border);border-radius:6px;background:#f7f9fc;overflow:hidden}
#customerService.support-workbench .sw-search input{flex:1;min-width:0;background:transparent;border:0;border-radius:0;padding:9px 10px;height:36px;font-size:12px;box-shadow:none;width:100%}
#customerService.support-workbench .sw-search button{border:0;border-radius:0;padding:8px 10px;background:transparent;white-space:nowrap}
#customerService.support-workbench .sw-list-tabs,#customerService.support-workbench .sw-side-tabs{display:flex;align-items:center;gap:4px;padding:0 14px;border-bottom:1px solid var(--sw-border);flex:none;height:44px}
#customerService.support-workbench .sw-list-tabs button,#customerService.support-workbench .sw-side-tabs button{height:44px;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 8px;color:#758195;white-space:nowrap}
#customerService.support-workbench .sw-list-tabs button[aria-selected=true],#customerService.support-workbench .sw-side-tabs button[aria-selected=true]{color:var(--sw-blue);border-bottom-color:var(--sw-blue);font-weight:600}
#customerService.support-workbench .sw-list-tabs span{font-size:11px;margin-left:3px}
#customerService.support-workbench .cs-conversation-list{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;display:block;padding:0}
#customerService.support-workbench .cs-conversation-card{display:flex;width:100%;gap:10px;align-items:flex-start;text-align:left;border:0;border-bottom:1px solid #f0f2f5;border-radius:0;padding:13px 14px;background:#fff;min-height:86px;position:relative}
#customerService.support-workbench .cs-conversation-card.is-active{background:#edf4fc;box-shadow:inset 3px 0 0 #2975c4}
#customerService.support-workbench .sw-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:9px;background:#eaf0f7;color:#5b7390;font-size:14px;font-weight:600}
#customerService.support-workbench .sw-conversation-info{display:flex;flex-direction:column;flex:1;min-width:0;gap:3px}
#customerService.support-workbench .cs-conversation-topline,#customerService.support-workbench .cs-conversation-bottomline{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#customerService.support-workbench .cs-conversation-topline strong{color:#253449;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#customerService.support-workbench .cs-conversation-topline time{color:#8d98a7;font-size:10px;white-space:nowrap;flex:none}
#customerService.support-workbench .sw-conversation-phone{font-size:10px;color:#92a0b1;line-height:14px}
#customerService.support-workbench .cs-conversation-preview{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;color:#7b8798;line-height:18px}
#customerService.support-workbench .cs-unread-badge{background:#e55e5e;color:white;min-width:17px;height:17px;line-height:17px;text-align:center;border-radius:9px;font-size:10px;padding:0 4px;flex:none}
#customerService.support-workbench .sw-list-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-top:1px solid var(--sw-border);height:48px;flex:none;font-size:11px;color:#8a95a5}
#customerService.support-workbench .sw-list-footer button{font-size:11px;padding:5px 8px}
#customerService.support-workbench .cs-chat-pane{display:flex;flex-direction:column}
#customerService.support-workbench .cs-chat-head{display:flex;flex:none;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid var(--sw-border);gap:12px;min-height:70px;flex-wrap:nowrap;background:#fff}
#customerService.support-workbench .cs-chat-head strong{font-size:15px;font-weight:600;color:#233348}
#customerService.support-workbench .cs-chat-head small{display:block;font-size:11px;color:#8c97a7;margin-top:4px}
#customerService.support-workbench details.sw-actions{position:relative;flex:none}
#customerService.support-workbench details.sw-actions summary{font-size:12px;color:#6c7c92;list-style:none;padding:6px}
#customerService.support-workbench details.sw-actions summary:after{content:'⌄';margin-left:6px}
#customerService.support-workbench details.sw-actions>div{position:absolute;z-index:5;right:0;top:32px;background:#fff;border:1px solid var(--sw-border);border-radius:8px;padding:6px;min-width:148px;box-shadow:0 8px 24px #20334b12}
#customerService.support-workbench details.sw-actions button{display:block;width:100%;text-align:left;border:0;padding:9px}
#customerService.support-workbench .cs-chat-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;height:auto;max-height:none;padding:16px 22px;background:#f6f8fb;scrollbar-gutter:stable}
#customerService.support-workbench .sw-history-more{display:block;margin:0 auto 18px;border:0;background:none;color:var(--sw-blue);font-size:11px}
#customerService.support-workbench .sw-history-start{text-align:center;color:#a1abba;font-size:11px;margin:0 0 20px}
#customerService.support-workbench .cs-msg{display:flex;flex-direction:column;align-items:flex-start;max-width:88%;margin:0 0 22px;min-width:0}
#customerService.support-workbench .cs-msg-agent{margin-left:auto;align-items:flex-end}
#customerService.support-workbench .cs-meta{font-size:10px;color:#94a0b0;margin:0 0 6px;line-height:1.6;overflow-wrap:anywhere}
#customerService.support-workbench .cs-bubble{display:inline-block;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px;background:#fff;border:1px solid #e9edf3;border-radius:0 9px 9px 9px;color:#34445a;padding:10px 13px;max-width:100%;box-shadow:none}
#customerService.support-workbench .cs-msg-agent .cs-bubble{background:#e8f2fe;border-color:#dfebfa;border-radius:9px 0 9px 9px;color:#284967}
#customerService.support-workbench .sw-system-message{margin:0 auto 20px;align-items:center}
#customerService.support-workbench .sw-system-message .cs-bubble{font-size:11px;color:#929cab;background:transparent;border:0;padding:4px}
#customerService.support-workbench .sw-message-image{max-width:180px;max-height:210px;border-radius:8px;object-fit:contain}
#customerService.support-workbench .sw-message-card{display:flex;flex-direction:column;gap:6px;background:white;padding:12px;border:1px solid var(--sw-border);border-radius:8px;min-width:180px;max-width:100%;overflow-wrap:anywhere}
#customerService.support-workbench .sw-message-card small{font-size:10px;color:#8a95a5}
#customerService.support-workbench .sw-message-card strong{font-size:13px;font-weight:600}
#customerService.support-workbench .sw-message-card span{font-size:11px;color:#7f8a9b}
#customerService.support-workbench .sw-message-card b{font-size:16px;color:#bf6236}
#customerService.support-workbench .sw-composer-tools{display:flex;align-items:center;gap:12px;flex:none;padding:8px 16px;border-top:1px solid var(--sw-border);height:42px;background:white}
#customerService.support-workbench .sw-composer-tools>button{border:0;padding:4px;font-size:12px;color:#66768a}
#customerService.support-workbench #csQuickMenu{position:relative}
#customerService.support-workbench #csQuickMenu summary{list-style:none;font-size:12px;color:#66768a}
#customerService.support-workbench #csQuickMenu[open] .cs-quickbar{position:absolute;bottom:28px;left:0;z-index:4;display:flex;flex-direction:column;width:270px;max-height:230px;overflow-y:auto;background:white;border:1px solid var(--sw-border);border-radius:8px;box-shadow:0 8px 24px #20334b14;padding:8px;gap:3px}
#customerService.support-workbench #csQuickMenu .cs-quick-chip{text-align:left;border:0;border-radius:4px;background:none;font-size:12px;padding:8px}
#customerService.support-workbench #csDraftStatus{margin-left:auto;font-size:10px;color:#94a0af;white-space:nowrap}
#customerService.support-workbench .cs-reply{display:flex;flex-direction:column;flex:none;padding:0 16px 12px;gap:8px;margin:0;background:#fff;border:0;height:145px}
#customerService.support-workbench .cs-reply textarea{flex:1;display:block;resize:none;min-height:58px;height:82px;width:100%;border:0;border-radius:0;background:#fff;padding:4px;line-height:1.6;color:#33455c;font:13px/1.6 inherit;box-shadow:none;outline:0}
#customerService.support-workbench .cs-reply textarea:disabled{background:#fff}
#customerService.support-workbench .sw-send-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
#customerService.support-workbench .sw-send-row small{font-size:10px;color:#a0a9b7}
#customerService.support-workbench .sw-send-row button{background:var(--sw-blue);color:#fff;border-color:var(--sw-blue);padding:7px 26px;min-width:84px}
#customerService.support-workbench .cs-side-pane{border-left:1px solid var(--sw-border);display:flex;flex-direction:column;gap:0;overflow:hidden}
#customerService.support-workbench .cs-side-pane>.sw-side-tabs,#customerService.support-workbench .cs-side-pane>.sw-side-scroll{border-radius:0;background:#fff;box-shadow:none;border:0}
#customerService.support-workbench .cs-side-pane>.sw-side-tabs{border-bottom:1px solid var(--sw-border)}
#customerService.support-workbench .sw-side-tabs{height:51px;padding:0 10px;gap:0;justify-content:space-between}
#customerService.support-workbench .sw-side-tabs button{height:51px;padding:10px 8px;font-size:12px}
#customerService.support-workbench .sw-side-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}
#customerService.support-workbench #csStudent,#customerService.support-workbench #csOrders,#customerService.support-workbench #csProducts{padding:0;background:none;max-height:none;border:0;overflow:visible}
#customerService.support-workbench [hidden]{display:none!important}
#customerService.support-workbench .sw-customer{display:flex;flex-direction:column;align-items:center;gap:7px;margin:2px 0 20px;text-align:center}
#customerService.support-workbench .sw-customer .sw-avatar{width:44px;height:44px;font-size:18px;border-radius:12px}
#customerService.support-workbench .sw-customer strong{font-size:14px;color:#344358}
#customerService.support-workbench .sw-customer>span:last-child{font-size:11px;color:#8b96a6}
#customerService.support-workbench .sw-profile-section{border-top:1px solid var(--sw-border);padding:16px 0;font-size:12px}
#customerService.support-workbench .sw-profile-section h3,#customerService.support-workbench .sw-profile-section summary{margin:0 0 12px;font-size:13px;font-weight:600;color:#4d5c70}
#customerService.support-workbench .sw-profile-section h3 span{margin-left:5px;font-size:11px;color:#9aa4b2;font-weight:400}
#customerService.support-workbench .sw-profile-section label,#customerService.support-workbench .sw-product-search{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#8a96a7;margin-bottom:12px}
#customerService.support-workbench .sw-profile-section input,#customerService.support-workbench .sw-profile-section textarea,#customerService.support-workbench .sw-profile-section select,#customerService.support-workbench .sw-product-search input{width:100%;min-height:34px;height:auto;border:1px solid var(--sw-border);border-radius:5px;padding:8px 10px;font-size:12px;line-height:1.5;background:#fff;box-shadow:none;color:#43536a}
#customerService.support-workbench .sw-profile-section textarea{resize:vertical;max-height:160px}
#customerService.support-workbench .sw-muted{display:block;font-size:11px;line-height:1.6;color:#98a2b0;margin-top:8px}
#customerService.support-workbench .sw-owned-course{margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #f0f3f6}
#customerService.support-workbench .sw-owned-course strong{display:block;font-size:12px;line-height:1.6;font-weight:500;color:#59697e}
#customerService.support-workbench .sw-owned-course small{font-size:10px;color:#98a2b0;display:block;margin-top:4px}
#customerService.support-workbench .cs-orders-title{padding:0 0 12px;font-size:12px}
#customerService.support-workbench .cs-order{display:block;padding:12px;margin:0 0 12px;border:1px solid var(--sw-border);border-radius:7px;background:#fff}
#customerService.support-workbench .cs-order-title{white-space:normal;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#customerService.support-workbench .cs-order-sub{font-size:11px;line-height:1.7;margin-top:7px;color:#718096}
#customerService.support-workbench .cs-order-no{font-size:10px;line-height:1.7;overflow-wrap:anywhere;color:#9aa5b4}
#customerService.support-workbench .cs-order-actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:5px;margin-top:10px}
#customerService.support-workbench .cs-order-actions button{padding:5px 8px!important;font-size:10px!important}
#customerService.support-workbench .sw-product{border-bottom:1px solid var(--sw-border);padding:14px 0;display:grid;gap:8px}
#customerService.support-workbench .sw-product strong{font-size:12px;line-height:1.6;font-weight:500;color:#485970}
#customerService.support-workbench .sw-product small{font-size:12px;color:#bd643b}
#customerService.support-workbench .sw-product button{justify-self:start}
#customerService.support-workbench .sw-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:30px 16px;min-height:120px;text-align:center;color:#9ca7b6;font-size:12px;line-height:1.7}
#customerService.support-workbench .sw-empty b{font-size:13px;font-weight:500;color:#718096}
#customerService.support-workbench .cs-chat-body>.sw-empty{height:100%}
#customerService.support-workbench .sw-chat-empty-icon{font-size:48px;color:#ccd8e7}
#customerService.support-workbench .sw-sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
#customerService.support-workbench .cs-layout{position:relative}
#customerService.support-workbench .sw-chat-actions{display:flex;align-items:center;gap:10px}
#customerService.support-workbench .sw-customer-toggle{display:none}
@media(min-width:1800px){#customerService.support-workbench .cs-layout{grid-template-columns:330px minmax(400px,1fr) 340px}}
@media(max-width:1200px){#customerService.support-workbench .cs-layout{grid-template-columns:240px minmax(300px,1fr) 245px}#customerService.support-workbench .cs-conversation-topline{display:block}#customerService.support-workbench .cs-conversation-topline time{display:none}#customerService.support-workbench .sw-side-scroll{padding:12px}#customerService.support-workbench .cs-chat-body{padding:14px}}
@media(max-width:1100px){#customerService.support-workbench .cs-layout{grid-template-columns:220px minmax(280px,1fr)}#customerService.support-workbench .cs-side-pane{display:none}#customerService.support-workbench .sw-list-tabs{padding:0 8px}}
@media(max-width:1100px){#customerService.support-workbench .sw-customer-toggle{display:inline-block}#customerService.support-workbench.sw-show-details .cs-side-pane{display:flex;position:absolute;right:0;top:70px;bottom:0;width:280px;z-index:5;box-shadow:-8px 0 24px #20334b12}}
@media(max-width:650px){#customerService.support-workbench .cs-layout{grid-template-columns:180px minmax(240px,1fr);overflow-x:auto}#customerService.support-workbench .sw-avatar{display:none}#customerService.support-workbench .cs-conversation-card{padding:12px 10px}#customerService.support-workbench .sw-send-row small{display:none}#customerService.support-workbench #csDraftStatus{display:none}#customerService.support-workbench .sw-heading h2{font-size:19px}}

/* Purchase-specific quotations stay compact across desktop and narrow chat panes. */
#customerService .cs-offer-form .cs-offer-row{flex-wrap:wrap}
#customerService .cs-offer-form .cs-offer-row>label{display:flex;flex:1 1 180px;min-width:0;flex-direction:column;gap:6px;color:#53677f;font-size:12px}
#customerService .cs-offer-form label[hidden]{display:none!important}
#customerService .cs-offer-form select{width:100%;min-width:0}
#customerService .cs-offer-form input{min-width:0}
#customerService .cs-offer-form .muted{margin:0;line-height:1.6;font-size:12px}
