/* Dense lead facts remain selectable; copy actions preserve full source text. */
.ws-workspace .ws-copy-button { display:inline-flex; align-items:center; justify-content:center; width:20px; min-width:20px; height:21px; padding:3px; border:0; border-radius:3px; color:var(--ui-muted,#89978f); background:transparent; cursor:pointer; flex-shrink:0; vertical-align:middle; opacity:.72; }
.ws-copy-button svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.25; }
.ws-workspace .ws-copy-button:hover,.ws-workspace .ws-copy-button:focus-visible { opacity:1; color:var(--ui-text,#d7dfdb); background:var(--ui-soft,#0b2219); }
.ws-copy-value { display:inline-flex; align-items:center; gap:2px; min-width:0; max-width:100%; vertical-align:middle; }
.ws-copy-value>span { user-select:text; overflow-wrap:anywhere; }
.ws-identity-line { display:flex; align-items:center; flex-wrap:wrap; column-gap:11px; row-gap:0; }
.ws-identity-line h2 { margin:0; font-size:13px; }
.ws-message-name { display:flex; align-items:center; gap:4px; min-width:0; }
.ws-message-name > .ws-contact-name { min-width:0; }
.ws-workspace .ws-property-icon { display:inline-grid; place-items:center; flex:0 0 21px; width:21px; height:22px; padding:3px; border:0; border-radius:4px; background:transparent; color:var(--ui-accent); vertical-align:middle; }
.ws-property-icon svg { width:15px; height:15px; }
.ws-workspace :is(a,button).ws-property-icon:is(:hover,:focus-visible) { background:var(--ui-soft); color:var(--ui-text); }
.ws-workspace .ws-property-icon.unavailable { color:var(--ui-muted); opacity:.5; }
.ws-zestimate-cell { display:flex; align-items:center; gap:3px; justify-content:space-between; white-space:nowrap; font-variant-numeric:tabular-nums; }
.ws-message-zestimates td:has(.ws-zestimate-cell) { padding-inline:7px; }
.ws-inbox-snapshot { padding:6px 12px; border-bottom:1px solid var(--ui-line); color:var(--ui-muted); font-size:11px; }
.ws-inbox-snapshot > summary { cursor:pointer; }
.ws-inbox-snapshot table td { overflow-wrap:anywhere; }
.ws-identity-line>.ws-phone-link { margin:0; font-size:11px; white-space:nowrap; color:var(--ui-muted,#89978f); }
.ws-identity-meta { display:flex; align-items:center; flex-wrap:wrap; column-gap:12px; row-gap:0; color:var(--ui-muted,#89978f); font-size:10px; line-height:1.4; }
.ws-identity-meta>span { display:inline-flex; align-items:center; min-width:0; }
.ws-identity-meta .ws-copy-value>span { max-width:280px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ws-originating-phone { white-space:nowrap; gap:4px; }
.ws-thread-heading { padding-top:7px; padding-bottom:7px; }
.ws-workspace .ws-lead-action { display:inline-flex; align-items:center; gap:5px; flex-shrink:0; padding:4px 8px; min-height:28px; border:1px solid var(--ui-line,#202b26); border-radius:4px; background:var(--ui-input,#0e1612); color:var(--ui-text,#d7dfdb); font-size:11px; line-height:1.4; text-decoration:none; white-space:nowrap; }
.ws-workspace .ws-lead-action:is(:hover,:focus-visible):not(:disabled),.ws-workspace .ws-thread-actions .ws-icon-button:is(:hover,:focus-visible) { background:var(--ui-soft,#0b2219); color:var(--ui-text,#d7dfdb); }
.ws-lead-action svg,.ws-thread-actions .ws-icon-button svg { width:14px; height:14px; flex-shrink:0; }
.ws-board-lead-actions { justify-content:flex-start; margin-top:8px; }
.ws-thread-activity { padding:7px 10px; border-bottom:1px solid var(--ui-line,#202b26); font-size:11px; }
.ws-thread-activity>summary { color:var(--ui-text,#d7dfdb); cursor:pointer; font-weight:600; }
.ws-thread-activity>section { margin-top:7px; }
.ws-thread-activity h4 { margin:0 0 3px; color:var(--ui-muted,#89978f); font-size:11px; font-weight:500; }
.ws-thread-activity ul { margin:0; padding:0; list-style:none; }
.ws-thread-activity li { padding:4px 0; border-top:1px solid var(--ui-line,#202b26); }
.ws-thread-activity-meta { display:flex; flex-wrap:wrap; gap:2px 9px; align-items:baseline; color:var(--ui-muted,#89978f); }
.ws-thread-activity-meta strong { color:var(--ui-text,#d7dfdb); overflow-wrap:anywhere; }
.ws-thread-activity li .ws-thread-activity-notes { margin:1px 0 0; color:var(--ui-text,#d7dfdb); font-size:11px; white-space:pre-wrap; overflow-wrap:anywhere; }
.ws-workspace .ws-thread-activity button { margin:3px 0 0; padding:3px 7px; font-size:11px; }
.ws-thread-activity [role="alert"] { margin:3px 0; }
@container ws-lead-drawer (width < 360px) {
  .ws-workspace .ws-lead-action { padding-inline:5px; gap:4px; }
}
.ws-property-inline { padding:4px 10px; }
.ws-property-address-line { font-size:11px; line-height:1.3; color:var(--ui-text,#d7dfdb); }
.ws-property-inline>.ws-property-bar { display:flex; align-items:center; gap:7px; padding:1px 0; overflow-x:auto; scrollbar-width:thin; max-width:100%; white-space:nowrap; line-height:1.6; }
.ws-property-fact { display:inline-flex; align-items:baseline; gap:4px; flex-shrink:0; font-size:10px; color:var(--ui-muted,#89978f); }
.ws-property-fact+.ws-property-fact { padding-left:7px; border-left:1px solid var(--ui-line,#202b26); }
.ws-property-fact b { display:inline; font-weight:500; color:var(--ui-text,#d7dfdb); font-size:11px; }
.ws-property-last-sold time { color:var(--ui-muted,#89978f); font-size:10px; }
.ws-property-zillow { display:inline-flex; align-items:center; flex-shrink:0; gap:1px; }
.ws-property-inline .ws-property-details-button { margin-left:0; padding:0 4px; font-size:16px; }
.ws-thread-facts { align-items:flex-start; flex-wrap:wrap; padding-top:5px; padding-bottom:5px; }
.ws-inline-label { flex:1 1 260px; min-width:0; }
.ws-inline-label-controls,.ws-thread-stage { display:flex; align-items:center; gap:6px; min-height:26px; }
.ws-inline-label-controls { flex-wrap:wrap; }
.ws-thread-stage { margin-left:auto; white-space:nowrap; }
.ws-inline-label-controls>label,.ws-thread-stage>span:first-child,.ws-inline-label-suggestion { color:var(--ui-muted,#89978f); font-size:11px; }
.ws-inline-label-controls .ws-inline-needs-label { color:#222a28; background:#d1d5db; border-color:#b6bec5; }
.ws-inline-label-controls select option { background:var(--ui-input); }
.ws-inline-label-controls .ws-inline-label-suggestion strong { color:var(--ws-label-color,var(--ui-text)); font-weight:550; }
.ws-inline-label-controls button { padding:3px 6px; min-height:25px; font-size:10px; }
.ws-context-label { display:flex; align-items:center; justify-content:space-between; }
.ws-context-label>b { color:var(--ui-muted,#89978f); font-size:9px; font-weight:500; }
.ws-latest-context .ws-copy-button { height:16px; }
.ws-message-heading { display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
.ws-message-heading>.ws-copy-button { margin-left:auto; }
.ws-message-sender { display:inline-flex; align-items:center; font-size:9px; }
.ws-message p,.ws-last-text,.ws-property-fact,.ws-property-address-line,.ws-note-body,.ws-contact-detail,.ws-identity-line { user-select:text; }
.ws-message-table td:has(>.ws-copy-button),.ws-contact-table td:has(>.ws-copy-button) { position:relative; padding-right:25px; }
.ws-message-table td>.ws-copy-button,.ws-contact-table td>.ws-copy-button { position:absolute; right:3px; top:50%; transform:translateY(-50%); }
.ws-note-body>.ws-copy-button { float:right; }
.ws-crm-source-note { margin-left:auto; color:var(--ui-muted,#89978f); font-size:10px; }
.ws-call-history-bar { display:flex; align-items:center; gap:8px; padding:8px 12px; }
.ws-call-history-bar button,.ws-lead-page button,.ws-stage-body .ws-show-more { padding:5px 8px; font-size:11px; white-space:nowrap; }
.ws-call-note { white-space:pre-wrap; overflow-wrap:anywhere; min-width:130px; }
.ws-call-datetime { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ws-call-datetime input { min-width:0; }
.ws-call-editor textarea { resize:vertical; }
.ws-dialog.ws-call-editor { max-height:calc(100dvh - 26px); overflow-y:auto; }
.ws-workspace .ws-add-call-task { margin-top:10px; padding:5px 10px; }
.ws-call-task-fields { margin:12px 0 0; padding:0 12px 12px; min-width:0; border:1px solid var(--ui-line,#202b26); border-radius:4px; }
.ws-call-task-fields>legend { padding:0 4px; color:var(--ui-muted,#89978f); font-size:12px; }
.ws-call-history [data-call-log-more] { margin:6px 12px; }
.ws-lead-page { display:flex; align-items:center; gap:6px; color:var(--ui-muted,#89978f); font-size:11px; }
.ws-contact-restriction { color:#e39788; font-size:11px; }
@media(max-width:420px) { .ws-identity-line { gap:0 6px; }.ws-identity-line h2 { font-size:12px; }.ws-identity-meta { font-size:10px; }.ws-identity-meta .ws-copy-value>span { max-width:190px; }.ws-property-fact { font-size:10px; }.ws-property-fact b { font-size:11px; } }
