/* Reference treatment: shell, acquisition workspace, and phone placement only. */
:root{--work-ink:#202830;--work-muted:#647078;--work-line:#dfe4e7;--work-canvas:#f5f7f8;--work-blue:#2858ff;--work-header:68px;--work-phone:352px}
html body .topbar{height:var(--work-header);padding:0 22px;gap:18px;background:#fff;border-color:var(--work-line)}
html body .brand{gap:16px;flex-shrink:0}
html body img.renew-logo{width:142px}
html body .renew-workspace-label{padding-left:16px;font-size:11px;color:var(--work-muted)}
html body .owner-location{font-size:11px;margin-left:0;gap:8px}
html body .owner-location b{color:var(--work-muted)}
html body .workspace-topbar-actions{gap:10px;min-width:0;margin-left:auto}
html body .workspace-find{min-width:0;width:214px;min-height:36px;padding:8px 10px;border-radius:6px;background:#f6f8f9;border-color:var(--work-line);font-size:12px}
html body .workspace-settings-button{width:36px;height:36px;min-width:36px;border-radius:6px;border-color:var(--work-line)}
html body .layout{grid-template-columns:228px minmax(0,1fr);min-height:calc(100dvh - var(--work-header))}
html body .sidebar{top:var(--work-header);height:calc(100dvh - var(--work-header));padding:16px 12px 12px;background:#f8f9fa;color:var(--work-ink);border-right:1px solid var(--work-line);scrollbar-color:#c1c9cd transparent}
html body .sidebar *{letter-spacing:0}
html body .owner-nav-search{min-height:36px;background:#fff;border:1px solid var(--work-line);border-radius:6px;color:var(--work-muted);margin-bottom:18px;padding:0 9px}
html body .owner-nav-search input{height:35px;font-size:11px;color:var(--work-ink)}
html body .owner-nav-search input::placeholder,html body .owner-nav-search button{color:var(--work-muted)}
html body .owner-home-nav{gap:3px}
html body .sidebar .owner-workspace-link{min-height:40px;border-radius:6px;padding:10px;font-size:12px;gap:9px;color:#4d5963;box-shadow:none}
html body .sidebar .owner-workspace-link>svg{width:17px;height:17px;color:#75818b}
html body .sidebar .owner-workspace-link:hover{background:#edf0f2;color:var(--work-ink)}
html body .sidebar .owner-workspace-link.on{background:#e8eeff;color:#234bd1;font-weight:650;box-shadow:inset 3px 0 var(--work-blue)}
html body .sidebar .owner-workspace-link.on>svg{color:#2858ff}
html body .sidebar .navbtn{color:#4d5963!important;border-radius:6px}
html body .sidebar .navbtn:hover{color:var(--work-ink)!important;background:#edf0f2!important}
html body .sidebar .navbtn.on{background:#e8eeff!important;color:#234bd1!important}
html body .sidebar .navbtn .ico,html body .sidebar .nav-pin{color:#7c8992}
html body .sidebar .nav-pin.on{color:var(--work-blue)}
html body .sidebar .nav-pin:hover{background:#e8edf1;color:var(--work-blue)}
html body .owner-nav-scroll{padding-top:22px;scrollbar-color:#c1c9cd transparent}
html body .sidebar .nav-favorites{padding-bottom:14px;margin-bottom:18px;border-color:var(--work-line)}
html body .sidebar .nav-favorites-head>span,html body .sidebar .owner-nav-caption{color:#737e86;font-size:10px}
html body .sidebar .nav-favorites-head>b,html body .sidebar .owner-pin-hint{color:#75818a}
html body .sidebar .owner-pin-hint{font-size:11px;line-height:1.5;margin:0;padding:2px 10px}
html body .sidebar .nav-group.open{background:transparent}
html body .sidebar .nav-group-items{border-color:var(--work-line);margin-left:18px}
html body .sidebar .nav-group.has-current>.nav-group-toggle{background:#edf0f2;color:var(--work-ink)}
html body .sidebar .nav-sidebar-utility{border-color:var(--work-line);padding-top:8px}
html body .sidebar .owner-nav-foot{color:#75818a}
html body .sidebar .owner-workspace-link>span,html body .sidebar .navbtn .nav-label{color:inherit!important;opacity:1}
html body .sidebar .nav-item-shell.favorite .navbtn{color:#4d5963!important}
html body .sidebar .owner-nav-caption,html body .sidebar .nav-group-toggle{color:#647078!important}
html body .mobilebar{border-top:1px solid var(--work-line);background:#fff;box-shadow:none;padding-bottom:env(safe-area-inset-bottom)}
html body .mobilebar button{color:#65727b;letter-spacing:0;min-width:0;white-space:nowrap;font-size:11px;padding-inline:2px}
html body .mobilebar button.on{color:#2858ff;background:#edf2ff}

/* Quiet toolbar; neutral columns make individual opportunities the scan targets. */
html body .main:has(> .acq-workspace){padding:24px 24px 12px;background:#fff;min-width:0}
.acq-workspace{color:var(--work-ink);container-type:inline-size}
.acq-workspace *{letter-spacing:0}
.acq-workspace-pipeline{height:calc(100dvh - 104px);min-height:560px}
.acq-toolbar{padding-bottom:18px}
.acq-toolbar-top{gap:12px;margin-bottom:20px}
.acq-heading{margin-right:auto;min-width:230px}
html body .acq-heading h1{font-size:22px;font-weight:650;line-height:1.35;margin:0 0 5px;color:#202830;letter-spacing:0;flex-basis:auto}
.acq-heading .acq-count{display:block;padding:0;background:none;border-radius:0;font-size:12px;color:var(--work-muted);margin:0}
.acq-pipeline-picker{width:160px;min-width:145px}
.acq-view-switch{margin-left:0;border-color:var(--work-line);background:#f1f3f4;border-radius:6px}
.acq-view-switch button{font-size:12px;padding:6px 10px;min-height:30px}
.acq-view-switch button[aria-pressed=true]{background:#fff;color:#234bd1;box-shadow:0 1px 3px #20283018}
html body .acq-toolbar .btn{min-height:38px;font-size:12px;padding:8px 11px;border-radius:6px;box-shadow:none;border-color:var(--work-line)}
html body .acq-toolbar .btn.primary{border-color:#2858ff;background:#2858ff;color:#fff}
.acq-toolbar-bottom{gap:8px;border-top:1px solid #edf0f2;padding-top:16px}
.acq-toolbar input,.acq-toolbar select,.acq-move select{border-radius:6px;border-color:var(--work-line);font-size:12px;color:var(--work-ink)}
.acq-search{flex:1 1 220px;max-width:360px;min-width:160px}
.acq-quick-filter{width:126px}.acq-stage-filter{width:155px}
.acq-advanced>summary{border-radius:6px;border-color:var(--work-line);font-size:12px;color:#4d5963}
.acq-clear{font-size:12px;color:#53626e}
.acq-sync{font-size:11px;color:#7b868e}
.acq-board-controls button{width:36px;height:36px;border-radius:6px;color:#485864;border-color:var(--work-line)}
.acq-board-controls button:hover{background:#edf2ff;color:#2858ff}
.acq-filter-panel{border-radius:8px;border-color:var(--work-line);box-shadow:0 10px 30px #2028301a}
.acq-board{gap:14px;scrollbar-color:#b7c2c9 #f2f4f5;scrollbar-gutter:stable;padding-bottom:10px}
.acq-column{flex-basis:288px;background:var(--work-canvas);border-radius:7px;padding:0 8px 8px}
.acq-column>header{min-height:58px;padding:12px 4px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:10px}
.acq-column h2{font-size:12px;font-weight:650;color:#43515c}
.acq-column>header>span{background:#e6ebee;color:#55636c;border-radius:4px;padding:3px 7px;font-size:11px;font-variant-numeric:tabular-nums}
.acq-column-cards{padding:0 1px 2px;gap:10px;scrollbar-width:thin;scrollbar-color:#bdc8ce transparent}
.acq-card{border-color:#e0e5e8;border-radius:6px;padding:13px 12px 9px;box-shadow:0 1px 2px #20283005}
.acq-card:hover{border-color:#b7c5d1;box-shadow:0 2px 6px #20283008}
.acq-property{font-size:13px;line-height:1.5;font-weight:650;color:#222e38}
.acq-seller{font-size:12px;line-height:1.6;margin:8px 0;color:#65737d}
.acq-card-meta{font-size:11px;line-height:1.6;gap:3px;color:#667680}
.acq-meta-label{font-weight:400;color:#687681}
.acq-card-tags span{font-size:10px;border-radius:4px}
.acq-card-controls{margin-top:12px;padding-top:5px;border-color:#eef1f3}
.acq-open{font-size:12px;font-weight:600}
.acq-card-menu>summary{font-size:12px;color:#73808a}
.acq-no-cards{color:#84909a;font-size:12px;text-align:left;padding:12px 4px}
.acq-list{gap:8px}.acq-list-card{padding:16px}
@container(max-width:1050px){.acq-heading{flex:1 1 calc(100% - 360px)}.acq-view-switch{order:2}.acq-toolbar-top{gap:10px}.acq-pipeline-picker{order:1}.acq-toolbar-top>.btn{order:3}.acq-heading{order:0}.acq-sync{display:none}.acq-search{max-width:none}}
@container(max-width:700px){.acq-heading{flex-basis:100%}.acq-pipeline-picker{flex:1}.acq-toolbar-top>.btn{flex:1}.acq-toolbar-top{margin-bottom:14px}.acq-search{flex-basis:100%}.acq-stage-filter{flex:1}.acq-toolbar-bottom{padding-top:12px}}

/* The phone stays outside the render root, so docking never remounts a live call. */
html body:has(.renew-phone.renew-telnyx-phone.is-minimized) .workspace-topbar-actions{padding-right:168px}
html body .renew-phone.renew-telnyx-phone.is-minimized,html body.crm-opportunity-open .renew-phone.renew-telnyx-phone.is-minimized{top:15px;right:18px;left:auto;bottom:auto;width:156px;min-width:156px;max-width:156px;border-radius:6px;box-shadow:none;border-color:#dce5e0}
html body .renew-phone.renew-telnyx-phone.is-minimized>header{min-height:36px;padding:4px 6px 4px 10px}
html body .renew-phone.renew-telnyx-phone:not(.is-minimized),html body.crm-opportunity-open .renew-phone.renew-telnyx-phone:not(.is-minimized){top:0;right:0;left:auto;bottom:0;width:var(--work-phone);max-width:none;height:100dvh;border:0;border-left:1px solid var(--work-line);border-radius:0;box-shadow:none;background:#fff}
html body .renew-phone.renew-telnyx-phone:not(.is-minimized)>header{height:var(--work-header);min-height:0;border-bottom:1px solid var(--work-line)}
html body .renew-phone.renew-telnyx-phone:not(.is-minimized) .renew-phone-body{max-height:none;height:calc(100% - var(--work-header));overflow:auto}
html body .renew-phone.renew-telnyx-phone:not(.is-minimized) iframe,html body.crm-opportunity-open .renew-phone.renew-telnyx-phone:not(.is-minimized) iframe{height:100%;min-height:0}
html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) #app{margin-right:var(--work-phone)}
html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) .crm-browser-modal{right:var(--work-phone)}
html body.crm-opportunity-open .renew-phone.renew-telnyx-phone.is-minimized{z-index:10040}
@media(max-width:1250px){html body .owner-location,html body .topbar .sync{display:none}html body .workspace-find{width:180px}html body .renew-workspace-label{display:none}}
@media(min-width:901px) and (max-width:1200px){html body:has(.renew-phone:not(.is-minimized)) .layout{grid-template-columns:190px minmax(0,1fr)}html body:has(.renew-phone:not(.is-minimized)) .sidebar{padding-inline:7px}html body:has(.renew-phone:not(.is-minimized)) .owner-workspace-link{font-size:11px}}
@media(max-width:900px){
 :root{--work-header:64px;--work-phone-height:min(460px,55dvh)}
 html body .layout{display:block}html body .sidebar{display:none}
 html body .topbar{padding:0 14px;gap:10px}
 html body img.renew-logo{width:120px}
 html body .workspace-find{width:36px;height:36px;padding:8px}
 html body .workspace-find span,html body .workspace-find kbd{display:none}
 html body:has(.renew-phone.renew-telnyx-phone.is-minimized) .workspace-topbar-actions{padding-right:44px}
 html body .renew-phone.renew-telnyx-phone.is-minimized,html body.crm-opportunity-open .renew-phone.renew-telnyx-phone.is-minimized{top:14px;right:12px;width:36px;min-width:36px;max-width:36px}
 html body .renew-phone.renew-telnyx-phone.is-minimized>header{padding:3px;min-height:34px}
 html body .renew-phone.renew-telnyx-phone.is-minimized .renew-phone-heading{display:none}
 html body .main:has(> .acq-workspace){padding:18px 14px 80px}
 .acq-workspace-pipeline{height:calc(100dvh - 160px);min-height:620px}
 html body .acq-heading h1{font-size:20px}
 .acq-column{flex-basis:280px;max-width:85vw}
 html body .renew-phone.renew-telnyx-phone:not(.is-minimized),html body.crm-opportunity-open .renew-phone.renew-telnyx-phone:not(.is-minimized){top:0;left:0;right:0;bottom:auto;width:100%;height:var(--work-phone-height);border-left:0;border-bottom:1px solid var(--work-line)}
 html body .renew-phone.renew-telnyx-phone:not(.is-minimized)>header{height:44px}
 html body .renew-phone.renew-telnyx-phone:not(.is-minimized) .renew-phone-body{height:calc(100% - 44px)}
 html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) #app{margin-right:0;padding-top:var(--work-phone-height)}
 html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) .topbar{top:var(--work-phone-height)}
 html body:has(.renew-phone.renew-telnyx-phone:not(.is-minimized)) .crm-browser-modal{right:0;top:var(--work-phone-height)}
}
@media(prefers-reduced-motion:reduce){.acq-workspace *{scroll-behavior:auto!important;transition:none!important}}
