.ws-main { max-width:none; padding:0!important; margin:0; }
.ws-workspace { color:var(--ui-text,#d7dfdb); background:var(--ui-bg,#050a08); font-size:12px; }
.ws-workspace *, .ws-toolbar * { box-sizing:border-box; min-width:0; }
.ws-workspace button,.ws-workspace input,.ws-workspace select,.ws-workspace textarea,.ws-toolbar button,.ws-toolbar input,.ws-toolbar select { color:var(--ui-text,#d7dfdb); background:var(--ui-input,#0e1612); border:1px solid var(--ui-line,#202b26); border-radius:4px; font-size:12px; line-height:1.4; }
.ws-workspace button:hover,.ws-toolbar button:hover { background:var(--ui-soft,#0b2219); }
.ws-workspace button:disabled { opacity:.45; cursor:not-allowed; }
.ws-workspace a { color:var(--ui-text,#d7dfdb); }
.ws-toolbar { display:flex; align-items:center; flex-wrap:nowrap; gap:5px; margin:0; width:100%; max-width:100%; overflow-x:auto; scrollbar-width:thin; }
.ws-toolbar input,.ws-toolbar select,.ws-toolbar button { height:29px; margin:0; padding:4px 7px; flex-shrink:0; }
.ws-toolbar .ws-header-field { position:relative; display:block; }
.ws-toolbar .ws-header-field>svg { position:absolute; inset-inline-start:7px; top:50%; transform:translateY(-50%); width:13px; height:13px; color:var(--ui-muted,#89978f); pointer-events:none; }
.ws-toolbar .ws-header-field>input,#workspace-toolbar .ws-toolbar .ws-header-field>input { width:100%; display:block; padding-inline-start:25px; }
.ws-toolbar .ws-header-search { width:150px; flex:1 0 110px; max-width:220px; }
.ws-toolbar select { width:104px; max-width:132px; }
.ws-toolbar select[name="label"] { width:124px; }.ws-toolbar select[name="campaign"] { width:115px; }.ws-toolbar select[name="source"] { width:86px; }
.ws-workspace .ws-icon-button,.ws-toolbar .ws-icon-button { width:28px; height:28px; padding:2px; font-size:16px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.ws-layout { --ws-sidebar-default:220px; display:grid; grid-template-columns:var(--ws-sidebar-default) minmax(0,1fr); min-height:calc(100vh - 83px); border-top:1px solid var(--ui-line,#202b26); }
.ws-sidebar { background:var(--ui-panel,#0c1310); border-right:1px solid var(--ui-line,#202b26); max-height:calc(100vh - 83px); overflow-y:auto; scrollbar-width:thin; }
.ws-sidebar-container>summary { display:flex; align-items:center; justify-content:space-between; padding:19px 14px 9px; color:var(--ui-muted,#89978f); font-size:11px; text-transform:uppercase; font-weight:500; list-style:none; cursor:pointer; }
.ws-sidebar-container>summary::-webkit-details-marker { display:none; }.ws-sidebar-container>summary>span { display:none; }
.ws-folders { margin-bottom:17px; }
.ws-workspace .ws-side-item { display:flex; align-items:center; gap:9px; width:100%; height:34px; padding:6px 13px; border:0; border-left:2px solid transparent; border-radius:0; background:transparent; color:var(--ui-text,#d7dfdb); text-align:left; font-size:12px; font-weight:400; }
.ws-side-item>span:nth-child(2) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }.ws-side-item .ws-side-icon { display:inline-flex; width:13px; flex-shrink:0; align-items:center; justify-content:center; color:var(--ui-muted,#89978f); font-size:13px; }
.ws-side-item>b { color:var(--ui-muted,#89978f); font-size:10px; font-weight:400; padding-left:4px; }
.ws-side-item .ws-side-label-color { color:var(--ws-label-color,var(--ui-muted,#89978f)); border:0; background:transparent; padding:0; font-size:14px; font-weight:650; }
.ws-workspace .ws-side-item.active { border-left-color:var(--ui-accent,#31c99b); background:var(--ui-soft,#0b2219); color:var(--ui-text,#d7dfdb); }
.ws-workspace .ws-side-item:hover { background:var(--ui-soft,#0b2219); }
.ws-workspace .ws-source-link { text-decoration:none; }
.ws-side-campaign { display:flex; align-items:center; }
.ws-side-campaign>.ws-side-item { flex:1; min-width:0; width:auto; }
.ws-campaign-breakdown-link { flex:0 0 24px; padding:3px 0; text-align:center; color:var(--ui-accent); text-decoration:none; }
.ws-campaign-breakdown-link:hover { background:var(--ui-soft); }
.ws-workspace .ws-side-item>.ws-side-label-text { color:var(--ws-label-color,var(--ui-text,#d7dfdb)); }
.ws-needs-label-text.ws-label-neutral { --ws-label-color:#d1d5db; }
.compact-shell .ws-label-select,.ws-label-options label.ws-label-option-text { color:var(--ws-label-color,var(--ui-text,#d7dfdb)); }
.ws-label-select option { color:var(--ui-text,#d7dfdb); }
.ws-label-select option.ws-label-option-text { color:var(--ws-label-color,var(--ui-text,#d7dfdb)); }
.ws-filter-label option,.ws-stage-select option { background:var(--ui-input,#101823); }
.ws-filter-label option.ws-label-option-text { background:color-mix(in srgb,var(--ws-label-color,var(--ui-muted)) 14%,var(--ui-input)); }
.compact-shell .ws-stage-select,.ws-stage-select option,.ws-stage-pill { color:var(--ws-stage-color,var(--ui-text,#e4edf7)); }
.ws-stage-select option:not([class]) { color:var(--ui-text,#e4edf7); }
.ws-stage-select option[class^="ws-stage-"] { background:color-mix(in srgb,var(--ws-stage-color) 15%,var(--ui-input)); }
.ws-side-section { margin:0 0 17px; }.ws-side-section>summary { display:flex; justify-content:space-between; align-items:center; padding:8px 14px; list-style:none; text-transform:uppercase; color:var(--ui-muted,#89978f); font-size:10px; cursor:pointer; }.ws-side-section>summary:after { content:'⌄'; font-size:12px; }.ws-side-section:not([open])>summary:after { content:'›'; }.ws-side-section>summary::-webkit-details-marker { display:none; }
.ws-side-empty { display:block; padding:9px 14px 9px 37px; color:var(--ui-muted,#89978f); font-size:11px; }
.ws-review-link { display:block; text-decoration:none; padding:10px 14px; border-top:1px solid var(--ui-line,#202b26); font-size:11px; color:var(--ui-muted,#89978f)!important; }
.ws-content { min-width:0; overflow:hidden; }
.ws-content-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:35px; padding:6px 13px; border-bottom:1px solid var(--ui-line,#202b26); background:var(--ui-panel,#0c1310); }
.ws-content-bar h1 { margin:0; font-size:12px; line-height:1.4; font-weight:500; letter-spacing:0; color:var(--ui-text,#d7dfdb); }.ws-content-bar h1>span { margin-left:8px; color:var(--ui-muted,#89978f); font-weight:400; font-size:10px; }
.ws-crm-source-note { margin-left:auto; color:var(--ui-muted,#89978f); font-size:10px; }
.ws-workspace .ws-info-button { background:transparent; border:0; padding:0; width:20px; height:20px; color:var(--ui-muted,#89978f); font-size:13px; }.ws-opened-outside { font-size:10px; color:var(--ui-muted,#89978f); }
.ws-table-scroll { width:100%; max-width:100%; overflow-x:auto; scrollbar-width:thin; }
.ws-call-table { width:100%; border-collapse:collapse; text-align:left; font-size:12px; }
.ws-call-table :is(th,td) { padding:7px 12px; border-bottom:1px solid var(--ui-line,#202b26); }
.ws-call-table th { color:var(--ui-muted,#89978f); font-weight:500; }
.ws-call-table small { display:block; color:var(--ui-muted,#89978f); margin-top:2px; }
.ws-call-table time { white-space:nowrap; }
.ws-message-table,.ws-contact-table { border-collapse:collapse; table-layout:fixed; width:100%; min-width:580px; font-size:12px; background:var(--ui-bg,#050a08); color:var(--ui-text,#d7dfdb); }
.ws-message-table th,.ws-contact-table th { text-align:left; background:var(--ui-panel,#0c1310); border-bottom:1px solid var(--ui-line,#202b26); color:var(--ui-muted,#89978f); height:31px; padding:6px 12px; font-size:11px; font-weight:400; line-height:1.4; }
.ws-message-table td,.ws-contact-table td { border-bottom:1px solid var(--ui-line,#202b26); padding:7px 12px; height:39px; vertical-align:middle; font-size:12px; line-height:1.4; color:var(--ui-text,#d7dfdb); overflow:hidden; }
.ws-message-table th:nth-child(1) { width:27%; }.ws-message-table th:nth-child(2) { width:37%; }.ws-message-table th:nth-child(3) { width:15%; }.ws-message-table th:nth-child(4) { width:21%; }
.ws-queue-workspace .ws-queue-table,.ws-queue-workspace .has-thread .ws-queue-table { min-width:500px; max-width:820px; }
.ws-queue-table th,.ws-queue-table td { padding-left:7px; padding-right:7px; }
.ws-queue-table th:nth-child(1) { width:180px; }
.ws-queue-table th:nth-child(2) { width:auto; }
.ws-queue-table th:nth-child(3),.ws-queue-table th:nth-child(4) { width:112px; }
.ws-queue-table .ws-contact-name { gap:6px; }
.ws-queue-table .ws-avatar { width:21px; height:21px; }
.ws-message-table tr[data-ws-row],.ws-contact-table tr[data-ws-row] { cursor:pointer; }.ws-message-table tr:hover td,.ws-contact-table tr:hover td { background:var(--ui-panel,#0c1310); }.ws-message-table tr.selected td { background:var(--ui-soft,#0b2219); }.ws-message-table tr.selected td:first-child { box-shadow:inset 2px 0 var(--ui-accent,#31c99b); }.ws-message-table tr.unread .ws-contact-name { font-weight:650; }
.ws-contact-name { display:flex; align-items:center; gap:9px; color:var(--ui-text,#d7dfdb); font-size:12px; font-weight:450; text-decoration:none; overflow:hidden; }.ws-contact-name>span:not(.ws-avatar) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ws-avatar { display:inline-flex; flex-shrink:0; justify-content:center; align-items:center; width:25px; height:25px; border-radius:50%; background:var(--ui-input,#0e1612); border:1px solid var(--ui-line,#202b26); color:var(--ui-muted,#89978f); font-size:9px; font-weight:450; }
.ws-unread-dot { width:5px; height:5px; border-radius:50%; background:var(--ui-accent,#31c99b); flex-shrink:0; }
.ws-row-snippet,.ws-cell-property { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ui-muted,#89978f); font-size:11px; }.ws-row-snippet>b { margin-right:5px; color:var(--ui-muted,#89978f); font-size:11px; font-weight:400; }
.ws-message-table time { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; color:var(--ui-muted,#89978f); }
.ws-labels { display:inline-flex; flex-wrap:wrap; align-items:center; gap:3px; max-width:100%; vertical-align:middle; }.ws-label { display:inline-block; padding:2px 5px; border-radius:3px; border:1px solid color-mix(in srgb,var(--ws-label-color,var(--ui-muted,#9aa9bb)) 36%,var(--ui-line,#202b26)); background:color-mix(in srgb,var(--ws-label-color,var(--ui-muted,#9aa9bb)) 11%,var(--ui-bg,#050a08)); color:var(--ws-label-color,var(--ui-muted,#9aa9bb)); font-size:10px; font-weight:450; line-height:1.4; }
.ws-label-lead { --ws-label-color:#72a7ef; }.ws-label-potential { --ws-label-color:#43c6ae; }.ws-label-follow { --ws-label-color:#d9c057; }.ws-label-nurture { --ws-label-color:#b497e6; }.ws-label-dnc { --ws-label-color:#e08e86; }.ws-label-rejected,.ws-label-contractsent { --ws-label-color:#d8a16a; }.ws-label-contractsigned { --ws-label-color:#7dbf8a; }.ws-label-ghosted,.ws-label-neutral,.ws-label-empty { --ws-label-color:var(--ui-muted,#89978f); }.ws-label.needs-label { --ws-label-color:#d1d5db; background:#d1d5db; color:#222b35; border-color:#e5e7eb; }.ws-local-marker { color:var(--ui-accent,#31c99b); font-size:10px; }
.ws-workspace .ws-label-trigger { display:inline-flex; align-items:center; padding:0; border:0; background:transparent; text-align:left; max-width:100%; }.ws-workspace .ws-label-trigger:hover { background:transparent; }
.ws-contact-table { min-width:1050px; }.ws-contact-table th:nth-child(1) { width:15%; }.ws-contact-table th:nth-child(2) { width:12%; }.ws-contact-table th:nth-child(3) { width:18%; }.ws-contact-table th:nth-child(4) { width:11%; }.ws-contact-table th:nth-child(5) { width:14%; }.ws-contact-table th:nth-child(6),.ws-contact-table th:nth-child(7) { width:15%; }.ws-contact-table .ws-contact-name,.ws-contact-table .ws-last-text { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:11px; }.ws-contact-table .ws-last-text { color:var(--ui-muted,#89978f); }.ws-contact-table small { display:none; }.ws-stage-pill { font-size:11px; white-space:nowrap; }
.ws-table-empty { text-align:center; height:90px!important; color:var(--ui-muted,#89978f)!important; }
.ws-messages-area { min-height:calc(100vh - 84px); }.ws-messages-area.has-thread { display:grid; grid-template-columns:minmax(270px,1fr) minmax(350px,420px); align-items:start; }.ws-message-list { min-width:0; }.has-thread .ws-message-table { min-width:550px; }
.ws-drawer { min-width:0; border-left:1px solid var(--ui-line,#202b26); background:var(--ui-bg,#050a08); min-height:calc(100vh - 84px); container:ws-lead-drawer / inline-size; }
.ws-thread-heading { display:flex; align-items:center; gap:8px; padding:8px 10px; min-height:42px; border-bottom:1px solid var(--ui-line,#202b26); }
.ws-thread-heading h2 { margin:0; font-size:13px; font-weight:600; letter-spacing:0; color:var(--ui-text,#d7dfdb); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ws-thread-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:4px; flex-shrink:0; margin-left:auto; }
.ws-workspace .ws-thread-actions .ws-icon-button,.ws-workspace .ws-drawer-back { background:transparent; border:0; width:24px; height:24px; color:var(--ui-muted,#89978f); }
.ws-workspace .ws-drawer-back { font-size:22px; }
@container ws-lead-drawer (width < 540px) {
  .ws-thread-heading { flex-wrap:wrap; row-gap:5px; }
  .ws-thread-heading>.ws-thread-identity { flex-basis:calc(100% - 32px); }
  .ws-thread-actions { flex-basis:100%; }
}
.ws-thread-facts { display:flex; align-items:center; justify-content:space-between; gap:9px; min-height:37px; padding:6px 12px; border-bottom:1px solid var(--ui-line,#202b26); }.ws-thread-facts select { max-width:165px; height:25px; padding:3px 6px; font-size:10px; }.ws-thread-facts>.ws-label-trigger { flex:1; }
.ws-thread-tabs { display:flex; gap:20px; padding:0 14px; border-bottom:1px solid var(--ui-line,#202b26); }.ws-workspace .ws-thread-tabs button { border:0; border-bottom:2px solid transparent; border-radius:0; padding:9px 0 8px; background:transparent; color:var(--ui-muted,#89978f); font-size:11px; font-weight:450; }.ws-workspace .ws-thread-tabs button.active { color:var(--ui-text,#d7dfdb); border-bottom-color:var(--ui-accent,#31c99b); }
.ws-latest-context { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:9px 12px; border-bottom:1px solid var(--ui-line,#202b26); background:var(--ui-panel,#0c1310); }.ws-latest-context>section { min-width:0; }.ws-latest-context b { display:block; margin-bottom:4px; color:var(--ui-muted,#89978f); font-size:9px; font-weight:500; }.ws-latest-context .ws-last-text { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:11px; line-height:1.55; color:var(--ui-text,#d7dfdb); }.ws-latest-context small { display:block; color:var(--ui-muted,#89978f); font-size:9px; margin-top:3px; }.ws-latest-context details { font-size:10px; color:var(--ui-muted,#89978f); margin-top:4px; }.ws-latest-context summary { cursor:pointer; }.ws-latest-context details p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:11px; line-height:1.55; color:var(--ui-text,#d7dfdb); margin:5px 0; }
.ws-tab-panel[hidden] { display:none; }.ws-thread-history { padding:14px 13px; max-height:calc(100vh - 310px); min-height:180px; overflow-y:auto; scrollbar-width:thin; }.ws-message { max-width:87%; margin:0 0 16px; }.ws-message.outbound { margin-left:auto; }.ws-message-heading { display:flex; align-items:center; justify-content:flex-end; gap:7px; margin-bottom:4px; color:var(--ui-muted,#89978f); font-size:9px; }.ws-message.inbound .ws-message-heading { justify-content:flex-start; }.ws-message-heading b { font-size:9px; font-weight:500; }.ws-message>p { border-radius:13px 13px 13px 3px; background:var(--ui-input,#0e1612); border:1px solid var(--ui-line,#202b26); padding:10px 12px; color:var(--ui-text,#d7dfdb); white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.65; margin:0; }.ws-message.outbound>p { border-radius:13px 13px 3px 13px; background:var(--ui-accent,#31c99b); border-color:var(--ui-accent,#31c99b); color:var(--ui-on-accent,#091522); }
.ws-thread-tools { display:flex; align-items:center; gap:9px; padding:9px 12px; border-top:1px solid var(--ui-line,#202b26); }.ws-thread-tools>span { color:var(--ui-muted,#89978f); font-size:10px; }.ws-thread-tools button { padding:5px 7px; font-size:10px; }.ws-thread-tools>a { margin-left:auto; text-decoration:none; color:var(--ui-muted,#89978f); font-size:10px; }
.ws-contact-detail { padding:15px; }.ws-contact-detail h3 { font-size:13px; font-weight:500; margin:0 0 16px; color:var(--ui-text,#d7dfdb); line-height:1.6; }.ws-contact-detail dl { display:grid; grid-template-columns:65px minmax(0,1fr); gap:12px; margin:0; font-size:11px; }.ws-contact-detail dt { color:var(--ui-muted,#89978f); }.ws-contact-detail dd { margin:0; color:var(--ui-text,#d7dfdb); overflow-wrap:anywhere; }.ws-workspace .ws-text-button { border:0; background:transparent; color:var(--ui-accent,#31c99b); padding:0; margin-left:5px; font-size:10px; }.ws-provenance { border-top:1px solid var(--ui-line,#202b26); margin-top:18px; padding-top:12px; color:var(--ui-muted,#89978f); font-size:11px; }.ws-provenance summary { cursor:pointer; }.ws-provenance p { margin:9px 0; font-size:11px; line-height:1.65; }.ws-note-body { padding:15px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.7; color:var(--ui-text,#d7dfdb); }
.ws-pipeline-board { display:flex; gap:8px; overflow-x:auto; padding:10px; align-items:flex-start; scrollbar-width:thin; }
.ws-stage-column { flex:1 0 175px; min-width:175px; background:var(--ui-panel,#0c1310); border:1px solid var(--ui-line,#202b26); border-top:2px solid var(--ws-stage-color,#80bfff); border-radius:5px; }
.ws-label-board .ws-stage-column { --ws-stage-color:var(--ws-label-color,var(--ui-muted,#89978f)); }
.ws-stage-column>summary { display:block; list-style:none; cursor:pointer; border-radius:3px; }
.ws-stage-column>summary::-webkit-details-marker { display:none; }
.ws-stage-column>summary:hover { background:var(--ui-soft,#0b2219); }
.ws-stage-column>summary:focus-visible { outline:2px solid var(--ui-accent,#31c99b); outline-offset:2px; }
.ws-stage-column>summary>h2 { display:flex; align-items:center; gap:6px; font-size:11px; line-height:1.5; font-weight:500; padding:9px 8px; margin:0; color:var(--ui-text,#d7dfdb); }
.ws-stage-name { flex:1; color:var(--ws-stage-color,var(--ui-text,#e4edf7)); }
.ws-stage-column>summary b { font-weight:400; font-size:10px; color:var(--ui-muted,#89978f); }
.ws-kanban-chevron { width:13px; height:13px; flex-shrink:0; fill:none; stroke:var(--ui-muted,#89978f); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.ws-stage-column>.ws-stage-body { padding:0 6px 6px; display:grid; gap:7px; max-height:calc(100dvh - 220px); overflow-y:auto; scrollbar-width:thin; }
.ws-stage-column:not([open]) { flex:0 0 38px; min-width:38px; width:38px; }
.ws-stage-column:not([open])>summary>h2 { flex-direction:column; padding:9px 7px; gap:9px; min-height:170px; }
.ws-stage-column:not([open]) .ws-stage-name { writing-mode:vertical-rl; flex:none; }
.ws-stage-column:not([open]) .ws-kanban-chevron { transform:rotate(-90deg); }
.ws-stage-column:not([open])>.ws-stage-body { display:none; }
.ws-kanban-controls { display:flex; gap:5px; }
.ws-workspace .ws-kanban-controls button { padding:3px 7px; min-height:24px; font-size:10px; font-weight:450; }
.ws-stage-unassigned { --ws-stage-color:var(--ui-muted,#9aa9bb); }
.ws-stage-0 { --ws-stage-color:#80bfff; }
.ws-stage-1 { --ws-stage-color:#f095c6; }
.ws-stage-2 { --ws-stage-color:#bda2ff; }
.ws-stage-3 { --ws-stage-color:#e5c568; }
.ws-stage-4 { --ws-stage-color:#75d4e5; }
.ws-stage-5 { --ws-stage-color:#77d7a7; }
.crm-light .ws-stage-0 { --ws-stage-color:#205a94; }
.crm-light .ws-stage-1 { --ws-stage-color:#96376e; }
.crm-light .ws-stage-2 { --ws-stage-color:#6441a1; }
.crm-light .ws-stage-3 { --ws-stage-color:#765c12; }
.crm-light .ws-stage-4 { --ws-stage-color:#216678; }
.crm-light .ws-stage-5 { --ws-stage-color:#25694a; }

.ws-board-card { padding:9px; border:1px solid var(--ui-line,#202b26); background:var(--ui-bg,#050a08); border-radius:4px; }.ws-board-card>a { display:block; font-size:11px; font-weight:550; line-height:1.5; text-decoration:none; color:var(--ui-text,#d7dfdb); }.ws-card-property { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; color:var(--ui-muted,#89978f); margin:5px 0 7px; }.ws-board-card .ws-label { font-size:9px; }.ws-board-text { display:flex; align-items:baseline; gap:5px; margin-top:6px; }.ws-board-text>b { font-size:8px; font-weight:400; color:var(--ui-muted,#89978f); }.ws-board-text>span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--ui-muted,#89978f); font-size:10px; }.ws-board-card>select { width:100%; font-size:10px; padding:4px; margin-top:9px; height:24px; }.ws-column-empty { display:block; color:var(--ui-muted,#89978f); font-size:11px; text-align:center; padding:16px 8px; }
.ws-empty { color:var(--ui-muted,#89978f); padding:35px 15px; font-size:12px; line-height:1.7; text-align:center; }.ws-delivery-failed { color:#e39788!important; }
.ws-dialog { padding:20px; width:520px; max-width:calc(100vw - 26px); color:var(--ui-text,#d7dfdb); background:var(--ui-panel,#0c1310); border:1px solid var(--ui-line,#202b26); border-radius:8px; }.ws-dialog::backdrop { background:#0009; }.ws-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }.ws-dialog-heading h2 { font-size:18px; line-height:1.4; color:var(--ui-text,#d7dfdb); margin:0; letter-spacing:0; }.ws-dialog-heading button { padding:0; border:0; background:transparent; font-size:23px; line-height:1; color:var(--ui-muted,#89978f); }.ws-dialog p { color:var(--ui-muted,#89978f); font-size:12px; line-height:1.65; }.ws-dialog-notice { border:1px solid var(--ui-line,#202b26); background:var(--ui-soft,#0b2219); border-radius:4px; padding:10px; margin:12px 0; color:var(--ui-muted,#89978f); font-size:11px; line-height:1.65; }.ws-label-options { border:1px solid var(--ui-line,#202b26); border-radius:4px; padding:13px; display:grid; grid-template-columns:1fr 1fr; gap:12px; }.ws-label-options legend { color:var(--ui-muted,#89978f); font-size:11px; padding:0 5px; }.ws-label-options label { display:flex; gap:7px; align-items:center; font-size:11px; color:var(--ui-text,#d7dfdb); }.ws-label-options input { flex-shrink:0; accent-color:var(--ui-accent,#31c99b); }.ws-dialog-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; margin-top:16px; }.ws-dialog-actions button { padding:7px 10px; font-size:11px; }.ws-dialog .primary { color:var(--ui-on-accent,#091522); background:var(--ui-accent,#31c99b); border-color:var(--ui-accent,#31c99b); }.ws-dialog-field { display:flex; flex-direction:column; gap:7px; margin-top:14px; font-size:12px; color:var(--ui-text,#d7dfdb); }.ws-dialog-field textarea,.ws-dialog-field input { width:100%; padding:9px; font-size:12px; line-height:1.6; }.ws-dialog-field textarea { min-height:110px; }.ws-dialog .ws-dialog-help { font-size:11px; color:var(--ui-muted,#89978f); }.ws-dialog [role="alert"] { color:#e39788; }
@media(max-width:1200px) { .ws-layout { --ws-sidebar-default:195px; }.ws-messages-area.has-thread { grid-template-columns:minmax(250px,1fr) minmax(330px,390px); } }
@media(max-width:1000px) { .ws-layout { --ws-sidebar-default:180px; }.ws-messages-area.has-thread { display:block; }.ws-messages-area.has-thread>.ws-message-list { display:none; }.ws-drawer { border-left:0; }.ws-side-item>b { font-size:9px; } }
@media(max-width:700px) { .ws-layout { --ws-sidebar-default:160px; }.ws-side-item { padding-left:10px!important; gap:7px!important; }.ws-sidebar-container>summary,.ws-side-section>summary { padding-left:12px; }.ws-toolbar .ws-header-search { width:115px;flex-basis:100px; }.ws-toolbar select { width:94px; }.ws-toolbar select[name="campaign"] { width:100px; } }
@media(max-width:420px) { .ws-layout { display:block; }.ws-sidebar { max-height:none; border-right:0; border-bottom:1px solid var(--ui-line,#202b26); }.ws-sidebar-container>summary { padding:9px 12px; text-transform:none; font-size:12px; }.ws-sidebar-container>summary>span { display:inline; }.ws-sidebar-content { max-height:55vh; overflow-y:auto; }.ws-workspace .ws-side-item { height:32px; padding:6px 14px; }.ws-folders { margin-bottom:8px; }.ws-side-section { margin-bottom:8px; }.ws-review-link { padding:9px 14px; }.ws-messages-area,.ws-drawer { min-height:calc(100vh - 140px); }.ws-thread-history { max-height:55vh; }.ws-thread-heading h2 { font-size:13px; }.ws-thread-facts select { max-width:160px; font-size:11px; }.ws-thread-tabs { gap:24px; }.ws-latest-context { padding:10px 12px; }.ws-latest-context .ws-last-text { font-size:12px; }.ws-message>p { font-size:13px; }.ws-message-heading { font-size:10px; }.ws-thread-tools { flex-wrap:wrap; }.ws-thread-tools button { font-size:11px; }.ws-thread-tools>a { font-size:11px; }.ws-contact-detail dl { font-size:12px; }.ws-contact-detail h3 { font-size:14px; }.ws-note-body { font-size:13px; }.ws-dialog { padding:18px; }.ws-label-options { grid-template-columns:1fr; } }

@media(min-width:421px) { .ws-toolbar select[name="folder"] { display:none; } }

@media(min-width:421px) and (max-width:600px) { .ws-layout { --ws-sidebar-default:145px; }.ws-workspace .ws-side-item { font-size:11px; }.ws-side-section { margin-bottom:10px; }.ws-folders { margin-bottom:10px; } }

/* Drawer intelligence stays local and sourced; no provider action controls. */
.ws-toolbar .ws-header-property { width:145px; flex:1 0 125px; max-width:210px; }
.ws-thread-identity { flex:1; min-width:0; }
.ws-thread-identity h2 a { display:block; overflow:hidden; text-overflow:ellipsis; text-decoration:none; color:var(--ui-text,#d7dfdb); }
.ws-thread-identity>.ws-phone-link { display:block; margin-top:3px; font-size:10px; color:var(--ui-muted,#89978f); text-decoration:none; }
.ws-phone-link { color:var(--ui-text,#d7dfdb); text-decoration:none; }
.ws-phone-link:hover,.ws-thread-identity h2 a:hover { color:var(--ui-accent,#31c99b); text-decoration:underline; text-underline-offset:3px; }
.ws-property-inline { padding:8px 12px; border-bottom:1px solid var(--ui-line,#202b26); background:var(--ui-panel,#0c1310); }
.ws-property-inline>div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.ws-property-inline>div:first-child>strong { color:var(--ui-text,#d7dfdb); font-size:11px; line-height:1.5; font-weight:500; }
.ws-property-inline>div:first-child>span { display:flex; align-items:baseline; gap:9px; flex-shrink:0; }
.ws-property-inline .ws-text-button,.ws-property-inline .ws-zillow-link { font-size:10px; white-space:nowrap; }
.ws-zillow-link { display:inline-block; color:var(--ui-accent,#31c99b)!important; text-decoration:none; font-size:11px; }
.ws-property-campaign { display:block; color:var(--ui-muted,#89978f); font-size:10px; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ws-property-quick-facts { display:flex; flex-wrap:wrap; gap:5px 14px; margin-top:7px; color:var(--ui-muted,#89978f); font-size:10px; line-height:1.5; }
.ws-property-quick-facts b { display:block; color:var(--ui-text,#d7dfdb); font-size:11px; font-weight:500; }
.ws-property-inline.excluded { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.ws-property-inline.excluded>span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ui-muted,#89978f); font-size:10px; }
.ws-property-panel { padding:13px; }
.ws-property-panel h3 { color:var(--ui-text,#d7dfdb); font-size:14px; font-weight:500; line-height:1.5; margin:0 0 9px; }
.ws-property-address>p { color:var(--ui-text,#d7dfdb); font-size:11px; line-height:1.6; margin:10px 0 5px; }
.ws-property-address>p>b { font-weight:500; color:var(--ui-muted,#89978f); margin-right:5px; }
.ws-property-address>.ws-zillow-link { margin-bottom:8px; }
.ws-fact-source { display:block; color:var(--ui-muted,#89978f); font-size:10px; line-height:1.6; margin-top:5px; }
.ws-fact-source>a { color:var(--ui-accent,#31c99b); text-decoration:none; }
.ws-property-facts-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.ws-property-facts-grid>section { border:1px solid var(--ui-line,#202b26); border-radius:4px; padding:10px; background:var(--ui-panel,#0c1310); }
.ws-property-facts-grid h4,.ws-sold-history h4 { color:var(--ui-muted,#89978f); font-size:11px; margin:0 0 9px; font-weight:450; }
.ws-property-facts-grid>section>strong { display:block; font-size:16px; font-weight:500; color:var(--ui-text,#d7dfdb); }
.ws-property-facts-grid>section>p { color:var(--ui-muted,#89978f); font-size:10px; line-height:1.6; margin:7px 0 0; }
.ws-sold-history { margin-top:17px; }
.ws-sold-history table { width:100%; border-collapse:collapse; table-layout:fixed; white-space:normal; font-size:10px; }
.ws-sold-history th:nth-child(1),.ws-sold-history th:nth-child(2) { width:25%; }
.ws-sold-history th,.ws-sold-history td { white-space:normal; overflow-wrap:anywhere; }
.ws-sold-history th { text-align:left; font-size:10px; font-weight:450; color:var(--ui-muted,#89978f); border-bottom:1px solid var(--ui-line,#202b26); padding:7px 5px; }
.ws-sold-history td { vertical-align:top; font-size:11px; color:var(--ui-text,#d7dfdb); border-bottom:1px solid var(--ui-line,#202b26); padding:9px 5px; line-height:1.6; }
.ws-sold-history td .ws-fact-source { margin:0; }
.ws-sold-history table,.ws-sold-history tbody,.ws-sold-history tbody tr,.ws-sold-history td { background:var(--ui-bg,#050a08); }
.ws-sold-history thead,.ws-sold-history thead tr,.ws-sold-history th { background:var(--ui-panel,#0c1310); color:var(--ui-muted,#89978f); }
.ws-sold-history>p,.ws-property-missing,.ws-property-exclusion { color:var(--ui-muted,#89978f); font-size:11px; line-height:1.7; margin:9px 0; }
.ws-property-missing { border-top:1px solid var(--ui-line,#202b26); padding-top:10px; margin-top:13px; }
.ws-recommendation { margin:0; padding:9px 12px; border-bottom:1px solid var(--ui-line,#202b26); background:var(--ui-soft,#0b2219); }
.ws-recommendation>summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 10px; color:var(--ui-text,#d7dfdb); font-size:11px; cursor:pointer; list-style:none; }
.ws-recommendation>summary:before { content:'⌄'; color:var(--ui-muted,#89978f); }
.ws-recommendation:not([open])>summary:before { content:'›'; }
.ws-recommendation>summary::-webkit-details-marker { display:none; }
.ws-recommendation>summary>span { margin-left:auto; font-size:9px; color:var(--ui-muted,#89978f); }
.ws-recommendation>p { color:var(--ui-muted,#89978f); font-size:11px; line-height:1.6; }
.ws-recommendation-body { padding-top:11px; }
.ws-recommendation-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; }
.ws-recommendation-heading h4 { margin:0; color:var(--ui-muted,#89978f); font-size:10px; font-weight:450; }
.ws-recommendation-heading button { font-size:10px; }
.ws-recommended-sms { color:var(--ui-text,#d7dfdb); font-family:inherit; font-size:12px; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; margin:0; max-height:210px; overflow-y:auto; scrollbar-width:thin; }
.ws-recommendation-reason,.ws-recommendation-label-reason { color:var(--ui-muted,#89978f); font-size:10px; line-height:1.65; margin:8px 0 0; }
.ws-recommendation-warning { color:#d8bb7a; font-size:10px; line-height:1.6; }
.ws-recommendation-label { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-top:11px; }
.ws-recommendation-label:first-child { margin-top:0; }
.ws-recommendation-label>label { width:100%; color:var(--ui-muted,#89978f); font-size:10px; }
.ws-label-color { color:var(--ws-label-color,var(--ui-muted,#89978f)); font-size:13px; flex-shrink:0; }
.ws-workspace .ws-recommendation-label>select { flex:1; min-width:110px; height:28px; padding:3px 6px; font-size:11px; }
.ws-recommendation-label>button { flex-shrink:0; }
.ws-recommendation-sms { margin-top:11px; padding-top:11px; border-top:1px solid var(--ui-line,#202b26); }
.ws-workspace #ws-sms-option { width:100%; height:28px; padding:3px 6px; margin:0 0 6px; font-size:11px; }
.ws-workspace #ws-sms-recommendation { width:100%; display:block; min-height:110px; max-height:260px; resize:vertical; padding:7px 8px; font-family:inherit; font-size:12px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.ws-sms-approval-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:6px; }
.ws-sms-approval-actions>span,.ws-approved-sms>span { color:var(--ui-muted,#89978f); font-size:10px; }
.ws-sms-approval-actions>button { padding:5px 8px; font-size:10px; }
.ws-approval-status,.ws-approved-sms>strong { display:block; color:var(--ui-accent,#31c99b); font-size:10px; font-weight:500; margin:0 0 8px; }
.ws-approval-error:empty { display:none; }
.ws-approval-error { color:#e39788; font-size:10px; line-height:1.5; margin:5px 0 0; }
.ws-approved-sms>span { display:block; margin-bottom:7px; }
.ws-approved-sms>a { display:inline-block; color:var(--ui-accent,#31c99b); font-size:10px; margin-top:7px; }
.ws-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.ws-recommendation-label>span:first-child { font-size:10px; color:var(--ui-muted,#89978f); }
.ws-recommendation-label button { margin-left:auto; padding:5px 7px; font-size:10px; }
.ws-recommendation-unknown,.ws-no-sms { color:var(--ui-muted,#89978f); font-size:11px; line-height:1.6; margin:0; }
.ws-recommendation-provenance { margin-top:10px; font-size:10px; color:var(--ui-muted,#89978f); }
.ws-recommendation-provenance summary { cursor:pointer; }.ws-recommendation-provenance p { color:var(--ui-muted,#89978f); font-size:10px; line-height:1.65; margin:6px 0; }
@media(max-width:420px) { .ws-thread-identity>.ws-phone-link { font-size:11px; }.ws-property-quick-facts { font-size:11px; }.ws-property-quick-facts b { font-size:12px; }.ws-property-panel h3 { font-size:15px; }.ws-fact-source { font-size:11px; }.ws-property-facts-grid>section>p,.ws-property-address>p { font-size:11px; }.ws-recommendation>summary { font-size:12px; }.ws-recommendation>summary>span { font-size:10px; }.ws-recommendation-reason,.ws-recommendation-label-reason,.ws-recommendation-provenance,.ws-recommendation-provenance p { font-size:11px; }.ws-recommendation-label button { font-size:11px; } }
.ws-observed-open { display:block; padding:0; border:0; background:transparent; color:var(--ui-text,#d7dfdb); text-align:left; font-size:11px; font-weight:550; cursor:pointer; }
.ws-observed-open:hover { text-decoration:underline; }
.ws-observed-facts { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:4px 14px; }
.ws-observed-facts dt, .ws-observed-message time { color:var(--ui-muted,#89978f); }
.ws-observed-facts dd { margin:0; overflow-wrap:anywhere; }
.ws-observed-message { padding-block:8px; border-top:1px solid var(--ui-line,#202b26); }
.ws-observed-message p { margin:4px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
