.sales-communications{--sc-blue:#2855e8;--sc-border:#e9ebef;--sc-muted:#717783;display:flex;flex-direction:column;gap:10px;min-width:0;font-family:Inter,system-ui,sans-serif;color:#20232c}.sc-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sc-page-heading h1{font-size:20px;line-height:26px;margin:0}.sc-page-heading p{font-size:12px;color:var(--sc-muted);margin:3px 0 0}.sc-page-heading>div:last-child,.sc-tabs,.sc-actions,.sc-pager>div,.sc-dial-actions{display:flex;align-items:center;gap:6px}.sc-tabs{border-bottom:1px solid var(--sc-border);padding-bottom:8px}.sc-tabs [aria-current=page],.sc-mode [aria-pressed=true]{background:#edf3ff;color:#2855e8;border-color:#edf3ff}.sc-filter{display:flex;gap:6px}.sc-filter input{min-width:0;width:380px;max-width:100%;padding:8px 10px;border:1px solid var(--sc-border);border-radius:7px;background:white;font-size:12px}.sc-connection{display:flex;gap:10px;align-items:center;background:#fff8e7;border:1px solid #f1deb0;border-radius:8px;padding:10px 12px;font-size:12px;color:#8d5b0c}.sc-table-wrap{overflow:auto;border:1px solid var(--sc-border);border-radius:8px;background:white}.sc-table{border-collapse:collapse;width:100%;min-width:780px;font-size:12px}.sc-table th{text-align:left;font-size:11px;font-weight:500;color:var(--sc-muted);background:#f5f6f8;padding:9px 12px}.sc-table td{height:44px;box-sizing:border-box;padding:5px 12px;border-top:1px solid var(--sc-border);white-space:nowrap}.sc-table td strong{font-size:12px;font-weight:600;display:block}.sc-table td small{display:block;font-size:10px;color:var(--sc-muted);margin-top:2px}.sc-table tr:hover td{background:#f7f9ff}.sc-status{display:inline-block;padding:3px 6px;font-size:10px;border-radius:5px;background:#edf3ff;color:#2855e8}.sc-pager{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:var(--sc-muted)}.sc-empty{background:white;border:1px solid #e9ebef;border-radius:10px;padding:28px 20px}.sc-empty h2{font-size:17px;margin:0 0 8px}.sc-empty p{font-size:13px;color:#717783;max-width:520px;margin:0;line-height:1.5}.sc-error{padding:10px;background:#fff0f0;color:#a22a32;border-radius:7px;font-size:12px}.sc-hint{font-size:11px;line-height:1.5;color:#717783;margin:6px 0}.sc-message-body{white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.5}.sc-number-form{display:grid;gap:12px}.sc-number-form label{display:grid;gap:5px}.sc-number-form select{min-height:40px;padding:8px;border:1px solid #e9ebef;border-radius:7px}.sales-communications-dock{position:fixed;right:20px;bottom:16px;width:380px;z-index:80;border:1px solid #e9ebef;border-radius:12px;background:#fff;box-shadow:0 12px 40px #1c1f2a24;font-family:Inter,system-ui,sans-serif;overflow:auto;max-height:calc(100dvh - 90px);overscroll-behavior:contain}.sales-communications-dock[hidden]{display:none!important}.sc-dialer-chrome{padding:8px 9px}.sc-dialer-chrome header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;gap:8px}.sc-dialer-chrome header strong{font-size:13px;flex:1}.sc-dialer-chrome header small{display:block;color:#717783;font-size:11px;margin-top:3px}.sc-dock-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.sc-mode{display:flex;gap:3px;margin:0;padding:2px;border:1px solid #e9ebef;border-radius:7px}.sc-mode .btn{justify-content:center}.sc-to,.sc-message{display:grid;gap:5px;font-size:11px;color:#717783}.sc-to input{width:100%;box-sizing:border-box;border:1px solid #e9ebef;border-radius:7px;padding:10px;font:500 19px Inter,system-ui,sans-serif;color:#20232c;background:white}.sc-from{display:grid;gap:5px;margin:10px 0;padding:10px;background:#edf3ff;border-radius:7px;color:#2855e8;font-size:11px}.sc-from span{color:#20232c;font-size:13px}.sc-from small{font-size:10px;color:#717783}.sc-from select{min-width:0;width:100%;background:white;border:1px solid #dce4ff;border-radius:5px;padding:7px;color:#20232c;font-size:12px}.sc-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}.sc-keypad .btn{height:44px;justify-content:center;background:#f5f6f8;font-size:20px;font-weight:500;border-color:#f5f6f8}.sc-message textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #e9ebef;border-radius:7px;padding:10px;font:13px Inter,system-ui,sans-serif;min-height:90px}.sc-message{margin-bottom:10px}.sc-dial-actions .btn{flex:1;justify-content:center}.sc-readiness,.sc-notice{background:#fff8e7;color:#8d5b0c;padding:9px;border-radius:7px;font-size:12px;line-height:1.5}.sc-live{background:#e8f5ef;color:#137a5b;padding:9px;border-radius:7px;font-size:12px}.sc-dialer-chrome footer{display:flex;gap:5px;border-top:1px solid #e9ebef;padding-top:8px;margin-top:10px}.sc-dialer-chrome footer .btn{font-size:10px}.sc-provider-shell{padding:0 0 6px;border-top:1px solid #edf0f4}.sales-communications-dock .sc-provider-shell[hidden],.sales-communications-dock:not(.is-open) .sc-provider-shell{display:none!important}#glv-justcall-dialer{width:365px;max-width:100%;margin:auto}#glv-justcall-dialer iframe{display:block;width:365px;max-width:100%;height:610px;border:0!important;box-shadow:none!important}.sc-record{display:grid;gap:8px}.sc-record h3,.sc-record p{margin:0}.sc-record small{color:#717783}.sales-communications .btn:focus-visible,.sales-communications-dock .btn:focus-visible{outline:2px solid #2855e8;outline-offset:2px}.sales-communications .btn:disabled,.sales-communications-dock .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.sc-page-heading{align-items:flex-start;flex-wrap:wrap}.sc-page-heading>div:last-child{width:100%}.sc-page-heading .btn,.sc-tabs .btn,.sc-actions .btn,.sc-pager .btn{min-height:44px}.sc-page-heading h1{font-size:18px}.sc-connection{align-items:flex-start;flex-direction:column;gap:3px}.sc-table{min-width:0}.sc-table thead{display:none}.sc-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:64px;padding:8px 10px;border-bottom:1px solid #e9ebef}.sc-table td{border:0;padding:0;height:auto;white-space:normal}.sc-table td:nth-child(2),.sc-table td:nth-child(4),.sc-table td:nth-child(6){display:none}.sc-table td:nth-child(3){grid-column:2;grid-row:1;font-size:10px}.sc-table td:nth-child(5){grid-column:1;font-size:10px;color:#717783}.sc-table td:last-child{grid-column:1/3}.sc-actions{justify-content:flex-end}.sc-actions .btn{min-height:44px}.sc-table td strong{font-size:13px}.sc-table td small{font-size:11px}.sc-tabs{overflow:auto}.sc-tabs .btn{white-space:nowrap;font-size:11px}.sales-communications-dock{right:8px;bottom:76px;width:calc(100% - 16px);max-width:380px;max-height:calc(100dvh - 145px)}.sales-communications-dock .btn{min-height:44px}.sc-dialer-chrome{padding:10px}.sc-dock-strip{min-height:44px}.sc-filter input{width:100%}.sc-pager{flex-wrap:wrap}}
/* Conversations use stored provider records; list counts describe this page only. */
.sc-page-heading>div:last-child{flex-wrap:wrap;justify-content:flex-end}.sc-connection{justify-content:space-between}.sc-connection>div{display:grid;gap:3px;min-width:0}.sc-connection>.btn{flex-shrink:0}.sc-setup-help{font-size:11px;line-height:1.5}.sc-readiness p{margin:0 0 7px}.sc-chat-layout{display:grid;grid-template-columns:minmax(220px,29%) minmax(0,1fr);height:min(590px,66dvh);min-height:340px;border:1px solid var(--sc-border);border-radius:10px;overflow:hidden;background:#fff}.sc-conversations{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--sc-border);overflow:hidden}.sc-conversations>header{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:12px;border-bottom:1px solid var(--sc-border);font-size:12px;min-height:44px;box-sizing:border-box}.sc-conversations>header span{font-size:10px;color:var(--sc-muted);white-space:nowrap}.sc-conversation-items{overflow:auto;min-height:0;flex:1}.sc-conversation{display:flex;align-items:center;gap:9px;width:100%;border:0;border-bottom:1px solid #f0f1f4;background:#fff;text-align:left;cursor:pointer;padding:11px 12px;min-height:76px;color:#20232c;font-family:inherit}.sc-conversation:hover{background:#f7f9ff}.sc-conversation.selected{background:#edf3ff;box-shadow:inset 3px 0 #2855e8}.sc-conversation:focus-visible{outline:2px solid #2855e8;outline-offset:-3px}.sc-avatar{display:grid;place-items:center;background:#e9eefc;color:#2855e8;font-size:13px;font-weight:600;border-radius:50%;width:32px;height:32px;flex-shrink:0}.sc-conversation-copy{display:block;min-width:0;flex:1}.sc-conversation-copy>span{display:flex;justify-content:space-between;gap:6px;align-items:center}.sc-conversation-copy strong{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sc-conversation-copy time{font-size:9px;color:var(--sc-muted);white-space:nowrap}.sc-conversation-copy small{display:block;color:var(--sc-muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.sc-conversation-copy p{font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0 0;color:#626b79}.sc-conversations>footer{display:grid;gap:5px;padding:9px 12px;border-top:1px solid var(--sc-border)}.sc-conversations>footer small{font-size:10px;line-height:1.5;color:var(--sc-muted)}.sc-thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fbfcfe}.sc-thread-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#fff;border-bottom:1px solid var(--sc-border);padding:10px 14px}.sc-thread-heading>div{display:flex;gap:7px;align-items:center;min-width:0}.sc-thread-heading>div:first-child{flex:1}.sc-thread-heading>div>span{min-width:0}.sc-thread-heading strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:13px;white-space:nowrap}.sc-thread-heading small{display:block;font-size:10px;color:var(--sc-muted);overflow-wrap:anywhere;margin-top:3px}.sc-thread-heading [data-thread-back]{display:none}.sc-thread-history{display:flex;flex-direction:column;gap:10px;padding:15px;overflow:auto;min-height:0;flex:1}.sc-bubble{max-width:min(82%,560px);padding:9px 12px;border:1px solid #e6e9ef;background:#fff;border-radius:10px 10px 10px 3px;align-self:flex-start;box-sizing:border-box}.sc-bubble.outgoing{align-self:flex-end;background:#edf3ff;border-color:#dae5ff;border-radius:10px 10px 3px 10px}.sc-bubble-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.sc-bubble footer{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-top:6px;font-size:9px;line-height:1.4;color:#647089}.sc-bubble footer span:last-child{font-weight:500}.sc-thread-history>.btn{align-self:center}.sc-thread-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;background:#fff;border-top:1px solid var(--sc-border)}.sc-thread-footer>span{display:grid;gap:3px;min-width:0}.sc-thread-footer strong{font-size:11px;font-weight:500}.sc-thread-footer small{font-size:10px;line-height:1.5;color:var(--sc-muted)}.sc-thread-footer>.btn{flex-shrink:0}.sc-thread-empty{justify-content:center;align-items:center;text-align:center;padding:24px}.sc-thread-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#edf3ff;color:#2855e8;font-size:23px}.sc-thread-empty h2{font-size:16px;margin:12px 0 5px}.sc-thread-empty p{font-size:12px;color:var(--sc-muted);max-width:290px;line-height:1.6;margin:0 0 15px}.sc-chat-empty{padding:22px 14px;text-align:center;align-self:center;color:#717783;font-size:12px;line-height:1.6}.sc-chat-empty strong{color:#4a5363;font-size:12px}.sc-chat-empty p{margin:6px 0 0}.sc-chat-loading{margin:0;font-size:12px;color:var(--sc-muted)}
@media(min-width:701px) and (max-width:1000px){.sc-chat-layout{grid-template-columns:minmax(200px,34%) minmax(0,1fr)}.sc-conversation-copy time{display:none}.sc-avatar{width:26px;height:26px}.sc-thread-footer{flex-wrap:wrap}.sc-thread-heading{align-items:flex-start;flex-wrap:wrap}.sc-thread-heading>div:first-child{flex-basis:100%}}
@media(max-width:700px){.sc-page-heading>div:last-child{justify-content:flex-start}.sc-page-heading .btn{font-size:11px;padding-left:10px;padding-right:10px}.sc-connection{gap:8px}.sc-chat-layout{display:block;min-height:360px;height:min(590px,66dvh)}.sc-conversations{height:100%;border-right:0}.sc-thread{height:100%}.sc-chat-layout:not(.has-thread)>.sc-thread{display:none}.sc-chat-layout.has-thread>.sc-conversations{display:none}.sc-conversation{min-height:78px}.sc-conversation-copy strong{font-size:13px}.sc-conversation-copy small,.sc-conversation-copy time{font-size:10px}.sc-thread-heading{padding:8px 10px;align-items:flex-start;flex-wrap:wrap;gap:5px}.sc-thread-heading>div:first-child{flex-basis:100%;gap:8px}.sc-thread-heading>div:last-child{margin-left:auto}.sc-thread-heading [data-thread-back]{display:inline-flex}.sc-thread-heading .btn,.sc-thread-footer .btn{min-height:44px}.sc-thread-heading small{font-size:11px}.sc-thread-history{padding:10px;gap:8px}.sc-bubble{max-width:91%;padding:9px 10px}.sc-bubble-body{font-size:13px}.sc-bubble footer{font-size:10px}.sc-thread-footer{padding:9px 10px;flex-wrap:wrap;gap:6px}.sc-thread-footer .btn{margin-left:auto}.sc-thread-footer small{font-size:10px}.sc-thread-footer>span{flex:1 1 165px}}

/* Direct JustCall: one provider keypad and one calling-line selector. */
.sales-communications-dock:not(.is-open){width:280px;max-height:72px;overflow:hidden}
.sc-dialer-chrome header>.btn{min-width:30px;font-size:18px;padding:3px 8px;line-height:22px}
.sc-dialer-chrome .sc-mode .btn{font-size:11px;min-height:28px;padding:4px 13px;border:0}
.sc-dock-strip>span{min-width:0;flex:1}.sc-dock-strip strong,.sc-dock-strip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-dock-strip small{font-size:10px;color:#717783;margin-top:2px}
.sc-readiness>small{display:block;font-size:10px;line-height:1.5;margin-top:6px}.sc-live,.sc-notice,.sc-error{margin:5px 0}.sc-live{padding:6px 8px}
@media(max-width:700px){.sales-communications-dock:not(.is-open){width:250px;max-width:calc(100% - 16px)}.sc-dialer-chrome{padding:7px 8px}.sc-dialer-chrome .sc-mode .btn,.sc-dialer-chrome header>.btn{min-height:44px}.sc-dialer-chrome header>.btn{min-width:44px}}
.sc-history-note{font-size:11px;line-height:1.5;color:#647089;margin:0;padding:7px 10px;background:#f3f6fc;border-radius:7px}

/* The provider owns Phone, Logs, Contacts, Message and Settings navigation. */
.sales-communications-dock.is-call .sc-dialer-chrome header{margin-bottom:0}
.sc-dialer-chrome header>[data-action="sales-communications-copy-number"]{font-size:10px;line-height:18px;padding:4px 7px;min-width:0}

/* Provider panels can also open as first-party pages when embedding fails. */
.sc-provider-tools{position:relative;margin-left:auto;font-size:11px}
.sc-provider-tools summary{cursor:pointer;padding:5px 7px;border:1px solid #dbe2ee;border-radius:6px;list-style:none}
.sc-provider-tools summary::-webkit-details-marker{display:none}
.sc-provider-tools summary:focus-visible,.sc-provider-tools a:focus-visible{outline:2px solid #2855e8;outline-offset:2px}
.sc-provider-tools nav{position:absolute;right:0;top:calc(100% + 5px);z-index:2;display:grid;gap:3px;width:190px;padding:7px;background:#fff;border:1px solid #dbe2ee;border-radius:8px;box-shadow:0 8px 24px #18243b26}
.sc-provider-tools a{display:block;padding:8px;color:#2855e8;border-radius:5px;text-decoration:none}
.sc-provider-tools a:hover{background:#edf3ff}.sc-provider-tools small{display:block;padding:5px 8px;color:#647089;line-height:1.5}
@media(max-width:700px){.sc-provider-tools summary,.sc-provider-tools a{min-height:44px;box-sizing:border-box;display:flex;align-items:center}}

/* Unified Calls & SMS workspace. Provider dock rules above are preserved. */
.sc-workspace{--sc-blue:#2459db;--sc-border:#e0e7f0;--sc-muted:#5f6d83;--sc-surface:#fff;--sc-soft:#f4f7fc;--sc-ink:#172640;gap:10px;color:var(--sc-ink);padding:0;min-width:0}
.sc-workspace *{box-sizing:border-box}
.sc-workspace-title{display:flex;align-items:center;gap:10px}
.sc-heading-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#1648c6,#4684ff);color:white;font-size:25px;box-shadow:0 3px 9px #2459db22}
.sc-workspace .sc-page-heading h1{font-size:21px;letter-spacing:-.45px;line-height:1.25}
.sc-workspace .sc-page-heading p{font-size:11px;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.sc-connection-dot{width:6px;height:6px;border-radius:100%;background:#cc8b19;margin-left:5px}.sc-connection-dot.is-ready{background:#178168}
.sc-workspace .btn.small{min-height:30px;padding:5px 9px;font-size:11px;line-height:18px;border-radius:7px;white-space:nowrap}
.sc-workspace .btn.primary{background:var(--sc-blue);border-color:var(--sc-blue);color:#fff}
.sc-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--sc-border);padding:0 0 7px}
.sc-workspace .sc-tabs{border:0;padding:3px;gap:3px;border-radius:9px;background:#eaf0fa}
.sc-workspace .sc-tabs .btn{border:0;background:transparent;color:#55657e;font-weight:600;min-width:80px;justify-content:center;box-shadow:none}
.sc-workspace .sc-tabs [aria-current=page]{background:var(--sc-surface);color:var(--sc-blue);box-shadow:0 1px 4px #1c37651a}
.sc-tabs .btn>span{font-size:10px;min-width:18px;padding:0 4px;border-radius:4px;background:#dce6f7;color:#3c5b8a;margin-left:3px}
.sc-toolbar{display:flex;gap:5px;align-items:center}
.sc-workspace-tools{position:relative;font-size:11px}
.sc-workspace-tools summary{list-style:none;cursor:pointer;border:1px solid var(--sc-border);border-radius:7px;padding:6px 10px;background:var(--sc-surface);min-height:30px}
.sc-workspace-tools summary::-webkit-details-marker{display:none}
.sc-workspace-tools summary:after{content:'⌄';margin-left:6px}
.sc-workspace-tools>div{position:absolute;right:0;top:calc(100% + 6px);z-index:25;display:grid;gap:4px;min-width:210px;padding:8px;border:1px solid var(--sc-border);border-radius:10px;background:var(--sc-surface);box-shadow:0 12px 35px #15284924}
.sc-workspace-tools>div .btn{justify-content:flex-start}
.sc-workspace-tools a{padding:7px 9px;color:var(--sc-blue);text-decoration:none;border-radius:6px}
.sc-workspace-tools a:hover{background:var(--sc-soft)}
.sc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sc-stat{display:flex;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--sc-border);border-top:2px solid #4a7be4;border-radius:9px;background:linear-gradient(120deg,#f6f9ff,var(--sc-surface));min-width:0}
.sc-stat-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#e7efff;color:#2757bb;font-size:20px;flex-shrink:0}
.sc-stat>div{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:9px;width:100%;min-width:0}
.sc-stat div>span{font-size:11px;font-weight:600;color:var(--sc-muted)}
.sc-stat strong{font-size:22px;line-height:26px;font-weight:700;letter-spacing:-.5px}
.sc-stat small{font-size:10px;line-height:16px;color:var(--sc-muted);grid-column:1/-1}
.sc-stat-violet{border-top-color:#9672df}.sc-stat-violet .sc-stat-icon{background:#f0eafa;color:#7753b4}
.sc-stat-amber{border-top-color:#da9e3c}.sc-stat-amber .sc-stat-icon{background:#fff0d4;color:#906012}
.sc-stat-teal{border-top-color:#4aa99a}.sc-stat-teal .sc-stat-icon{background:#e5f3ef;color:#277769}
.sc-filter-caption{display:flex;align-items:center;justify-content:space-between;font-size:10px;line-height:16px;color:var(--sc-muted);margin-bottom:-6px}
.sc-filter-caption>span:first-child{font-weight:600;text-transform:uppercase;letter-spacing:.5px}.sc-filter-caption strong{display:flex;gap:5px;align-items:center;font-size:10px}
.sc-workspace .sc-filter-grid{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(120px,1fr)) minmax(120px,1fr) minmax(135px,1.1fr);gap:8px;align-items:end;padding:10px;border:1px solid var(--sc-border);border-radius:9px;background:var(--sc-surface)}
.sc-filter-grid label{display:grid;gap:4px;font-size:10px;font-weight:500;color:var(--sc-muted);min-width:0}
.sc-workspace .sc-filter-grid input,.sc-workspace .sc-filter-grid select{width:100%;min-width:0;max-width:100%;height:32px;min-height:32px;padding:5px 8px;font:11px Inter,system-ui,sans-serif;color:var(--sc-ink);background:var(--sc-surface);border:1px solid var(--sc-border);border-radius:6px}
.sc-workspace .sc-filter-grid .sc-recording-filter{display:flex;align-items:center;gap:6px;height:32px;font-size:11px}
.sc-workspace .sc-recording-filter input{width:14px;height:14px;min-height:14px;accent-color:var(--sc-blue)}
.sc-filter-buttons{display:flex;gap:5px;justify-content:flex-end;align-items:center}
.sc-workspace .sc-table-wrap{background:var(--sc-surface);border-radius:9px;border-color:var(--sc-border)}
.sc-workspace .sc-table{min-width:850px;font-size:11px}
.sc-workspace .sc-table th{background:var(--sc-soft);color:var(--sc-muted);font-size:10px;font-weight:600;padding:9px 10px}
.sc-workspace .sc-table td{padding:7px 10px;height:52px;border-color:var(--sc-border)}
.sc-workspace .sc-table td strong{font-size:12px;max-width:210px;overflow:hidden;text-overflow:ellipsis}
.sc-workspace .sc-table td small{font-size:10px;line-height:15px;color:var(--sc-muted)}
.sc-customer{display:flex;gap:9px;align-items:center}.sc-customer>span:last-child{min-width:0}
.sc-workspace .sc-avatar{width:30px;height:30px;font-size:12px;border-radius:9px;background:#edf2fc;color:#365dac}
.sc-channel{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:#2859bd}.sc-channel:before{content:'↗';font-size:14px}.sc-channel.is-sms{color:#7953ae}.sc-channel.is-sms:before{content:'✉';font-size:13px}
.sc-line-number{font-variant-numeric:tabular-nums;color:var(--sc-muted)}
.sc-status{display:inline-flex;gap:3px;align-items:center;font-size:10px;padding:3px 6px;line-height:14px;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis;border-radius:5px;background:#edf0f5;color:#566277}
.sc-status-answered,.sc-status-delivered{background:#e7f5ef;color:#176548}
.sc-status-unanswered,.sc-status-voicemail,.sc-status-pending{background:#fff2da;color:#8b5e17}
.sc-status-sent{background:#eaf0ff;color:#365fbb}.sc-status-failed{background:#fcebee;color:#a33042}
.sc-workspace .sc-table td .sc-recording-flag{color:#3664bd;font-size:9px}
.sc-actions{gap:4px}.sc-workspace .sc-actions .btn{padding:3px 7px;min-height:27px;font-size:10px}
.sc-workspace .sc-empty-compact{display:flex;align-items:center;justify-content:flex-start;gap:15px;padding:26px 22px;min-height:150px;background:var(--sc-surface);border-color:var(--sc-border)}
.sc-empty-compact>div{flex:1}.sc-workspace .sc-empty h2{font-size:16px;margin-bottom:5px}.sc-workspace .sc-empty p{font-size:12px;color:var(--sc-muted)}
.sc-empty-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#edf3ff;color:var(--sc-blue);font-size:25px;flex-shrink:0}
.sc-workspace .sc-pager{font-size:10px}.sc-pager>span>small{margin-left:9px;color:var(--sc-muted)}
.sc-history-help{font-size:10px;line-height:1.6;color:var(--sc-muted);border-top:1px solid var(--sc-border);padding-top:7px}
.sc-history-help summary{cursor:pointer;color:#52698f}.sc-history-help p{margin:5px 0}
.sc-loading{padding:35px;text-align:center;color:var(--sc-muted);font-size:12px;border:1px solid var(--sc-border);border-radius:9px;background:var(--sc-surface)}
.sc-workspace .sc-chat-layout{grid-template-columns:minmax(250px,32%) minmax(0,1fr);height:min(560px,64dvh);min-height:340px;border-color:var(--sc-border);background:var(--sc-surface)}
.sc-workspace .sc-chat-layout.is-empty{height:260px;min-height:260px}
.sc-workspace .sc-conversation{min-height:92px;padding:9px 11px;border-color:var(--sc-border);background:var(--sc-surface);color:var(--sc-ink)}
.sc-workspace .sc-conversation:hover{background:var(--sc-soft)}.sc-workspace .sc-conversation.selected{background:#edf3ff;box-shadow:inset 3px 0 var(--sc-blue)}
.sc-conversation-copy .sc-conversation-meta{margin-top:5px;gap:5px}.sc-conversation-meta>.sc-status{font-size:9px;padding:1px 4px}.sc-conversation-meta>small{margin:0;font-size:9px}
.sc-workspace .sc-thread{background:var(--sc-soft)}.sc-workspace .sc-thread-heading,.sc-workspace .sc-thread-footer{background:var(--sc-surface);border-color:var(--sc-border);padding:9px 12px}
.sc-workspace .sc-thread-empty h2{font-size:16px;margin-top:10px}.sc-workspace .sc-thread-empty p{max-width:350px;font-size:12px;margin-bottom:12px}
.sc-workspace .sc-thread-history{padding:12px;gap:8px}.sc-bubble footer .sc-status{font-size:9px;padding:0 4px;line-height:14px}
.sc-workspace .sc-bubble{background:var(--sc-surface);border-color:var(--sc-border);box-shadow:0 1px 3px #142f5510}.sc-workspace .sc-bubble.outgoing{background:#eaf1ff;border-color:#d6e3fc}
.sc-record-detail{font-size:12px}.sc-record-detail header{display:flex;gap:10px;align-items:center}.sc-record-detail header>div{flex:1}
.sc-record-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0;padding:12px;background:#f5f7fb;border:1px solid #e2e8f2;border-radius:9px}
.sc-record-detail dt{font-size:10px;color:#60718c}.sc-record-detail dd{margin:4px 0 0;font-size:12px;overflow-wrap:anywhere}.sc-record-detail h3{font-size:16px}
.sc-record-body{padding:12px;border:1px solid #e2e8f2;border-radius:9px}.sc-record-body>strong,.sc-record-audio>strong{font-size:11px;color:#60718c}.sc-record-body p{margin-top:6px}
.sc-record-audio{display:grid;gap:7px}.sc-record-audio audio{width:100%;height:36px}.sc-record-audio a{justify-self:start}
.sc-sync-form{display:grid;gap:12px;font-size:12px}.sc-sync-form>p{margin:0;color:#60718c;line-height:1.6}.sc-sync-form label{display:grid;gap:5px;font-size:11px}.sc-sync-form select{padding:8px;border:1px solid #e2e8f2;border-radius:7px;background:white}
.sc-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sc-workspace :is(button,a,summary,input,select):focus-visible{outline:2px solid #2459db;outline-offset:2px}
.sc-workspace .sc-conversation-copy p,.sc-workspace .sc-bubble footer,.sc-workspace .sc-history-help summary{color:var(--sc-muted)}
[data-theme=dark] .sc-workspace .sc-tabs .btn,.dark .sc-workspace .sc-tabs .btn{color:#b9c9e4}
[data-theme=dark] .sc-record-detail dl,[data-theme=dark] .sc-record-body{background:#192335;border-color:#30415d;color:#e4ecfa}
[data-theme=dark] .sc-record-detail dt,[data-theme=dark] .sc-record-body>strong,[data-theme=dark] .sc-record-audio>strong{color:#a4b4cd}
@media(max-width:1150px){.sc-stat{padding:9px;gap:7px}.sc-stat strong{font-size:20px}.sc-stat-icon{width:28px;height:28px}.sc-stat>div{grid-template-columns:1fr}.sc-stat small{font-size:9px}.sc-workspace .sc-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sc-search-field{grid-column:span 2}.sc-filter-buttons{grid-column:span 2}.sc-workspace .sc-chat-layout{grid-template-columns:minmax(220px,36%) minmax(0,1fr)}}
@media(max-width:700px){
 .sc-workspace{gap:9px}.sc-workspace .sc-page-heading h1{font-size:19px}.sc-workspace .sc-page-heading>div:last-child{width:auto;margin-left:auto}.sc-workspace .sc-page-heading{gap:8px}
 .sc-heading-icon{display:none}.sc-workspace .btn.small,.sc-workspace-tools summary,.sc-workspace-tools a{min-height:44px;display:inline-flex;align-items:center}
 .sc-workspace-bar{align-items:stretch;flex-direction:column;gap:7px}.sc-workspace .sc-tabs{width:100%}.sc-workspace .sc-tabs .btn{flex:1;min-width:0;justify-content:center}.sc-toolbar{justify-content:flex-end}
 .sc-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sc-stat{padding:9px}.sc-stat>div{grid-template-columns:1fr auto}.sc-stat strong{font-size:20px}.sc-stat-icon{width:27px;height:27px;font-size:17px}
 .sc-filter-caption{gap:6px;font-size:9px;flex-wrap:wrap}.sc-workspace .sc-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px;gap:8px}
 .sc-workspace .sc-filter-grid :is(input,select){height:44px;font-size:12px}.sc-workspace .sc-recording-filter input{height:16px;width:16px;min-height:16px}.sc-workspace .sc-filter-grid .sc-recording-filter{height:44px}.sc-filter-buttons{grid-column:auto}.sc-filter-buttons .btn{padding:5px 7px!important}
 .sc-workspace .sc-table{min-width:0}.sc-workspace .sc-table thead{display:none}.sc-workspace .sc-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border-color:var(--sc-border)}
 .sc-workspace .sc-table td{display:block!important;padding:0;height:auto;border:0;white-space:normal}.sc-workspace .sc-table td:first-child{grid-column:1;grid-row:1}.sc-workspace .sc-table td:nth-child(2){grid-column:1;grid-row:2;display:flex!important;gap:8px;align-items:center}
 .sc-workspace .sc-table td:nth-child(3){grid-column:2;grid-row:1;justify-self:end}.sc-workspace .sc-table td:nth-child(4){grid-column:1;grid-row:3;font-size:10px}.sc-workspace .sc-table td:nth-child(4):before{content:'Line: '}
 .sc-workspace .sc-table td:nth-child(5){grid-column:1;grid-row:4;font-size:10px}.sc-workspace .sc-table td:nth-child(6){grid-column:2;grid-row:2;font-size:11px;text-align:right}.sc-workspace .sc-table td:last-child{grid-column:1/-1;grid-row:5}
 .sc-workspace .sc-actions .btn{min-height:44px;font-size:11px;padding:5px 11px}.sc-workspace .sc-table td strong{max-width:190px}
 .sc-workspace .sc-empty-compact{padding:18px 14px;gap:10px;flex-wrap:wrap;min-height:160px}.sc-empty-compact>div{flex:1 1 190px}.sc-empty-compact>.btn{margin-left:auto}.sc-empty-symbol{width:38px;height:38px}
 .sc-workspace .sc-chat-layout{display:block;height:520px;min-height:360px}.sc-workspace .sc-chat-layout.is-empty{height:230px;min-height:230px}.sc-workspace .sc-chat-layout.is-empty:not(.has-thread) .sc-conversations{display:block}
 .sc-workspace .sc-conversation{min-height:96px}.sc-workspace .sc-thread-heading{padding:8px}.sc-workspace .sc-thread-footer{padding:8px}.sc-record-detail dl{grid-template-columns:1fr}.sc-record-detail header{flex-wrap:wrap}.sc-pager>span>small{display:block;margin:3px 0 0}
}
@media(prefers-reduced-motion:reduce){.sc-workspace *{scroll-behavior:auto!important}}
.sc-workspace .sc-filter-grid{grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) minmax(130px,1fr) auto}
.sc-workspace .sc-search-field{grid-column:auto}
.sc-advanced{grid-column:1/4;font-size:11px;color:var(--sc-muted)}
.sc-advanced summary{cursor:pointer;padding:6px 2px;min-height:30px;line-height:18px}
.sc-advanced[open]{grid-column:1/-1}
.sc-advanced>div{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr)) auto;gap:8px;padding:5px 0 2px}
.sc-workspace .sc-filter-buttons{grid-column:4;grid-row:1;align-self:end}
.sc-advanced[open]+.sc-filter-buttons{grid-row:1}
@media(max-width:1150px){.sc-advanced>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.sc-workspace .sc-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-workspace .sc-search-field{grid-column:1/-1}.sc-advanced{grid-column:1}.sc-advanced summary{min-height:44px;display:flex;align-items:center}.sc-advanced[open]{grid-column:1/-1}.sc-advanced>div{grid-template-columns:repeat(2,minmax(0,1fr))}.sc-workspace .sc-filter-buttons,.sc-advanced[open]+.sc-filter-buttons{grid-column:2;grid-row:3}.sc-advanced[open]{grid-row:4}.sc-workspace .sc-chat-layout{height:420px}}
[data-theme=dark] .sc-workspace,.dark .sc-workspace{--sc-surface:#192335;--sc-soft:#142034;--sc-ink:#e4ecfa;--sc-border:#30415d;--sc-muted:#a4b4cd}
[data-theme=dark] .sc-workspace .sc-stat,.dark .sc-workspace .sc-stat{background:var(--sc-surface)}
[data-theme=dark] .sc-workspace .sc-tabs,.dark .sc-workspace .sc-tabs{background:#132039}
[data-theme=dark] .sc-workspace .sc-tabs [aria-current=page],.dark .sc-workspace .sc-tabs [aria-current=page]{color:#a4c2ff}
[data-theme=dark] .sc-workspace .sc-conversation.selected,.dark .sc-workspace .sc-conversation.selected,[data-theme=dark] .sc-workspace .sc-bubble.outgoing,.dark .sc-workspace .sc-bubble.outgoing{background:#203b62}
[data-theme=dark] .sc-workspace .sc-table tr:hover td,.dark .sc-workspace .sc-table tr:hover td{background:#20324d}

.sc-history-menu{position:relative;display:inline-block}.sc-history-menu summary{list-style:none;cursor:pointer;min-width:44px;min-height:44px;display:grid;place-items:center;font-size:24px}.sc-history-menu[open]{z-index:10;background:var(--sc-surface,var(--surface,#fff));color:var(--sc-ink,var(--text,#20232c));border:1px solid var(--sc-border);box-shadow:0 4px 24px #0002;border-radius:10px}.sc-history-menu[open]>div{padding:8px;display:grid;gap:4px}.sc-history-menu button{white-space:nowrap;min-height:44px}
