:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#111b36;background:#f4f6fc;font-synthesis:none;--royal:#315df5;--royal-dark:#2448cc;--ink:#111b36;--muted:#586682;--edge:#e3e8f3;--nav:#111a34;--shadow:0 7px 24px #162c610a}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}a{color:#254bd6;text-decoration:none}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #7d96ff;outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.55rem);letter-spacing:-.045em;line-height:1.12;margin-bottom:.55rem}h2{font-size:1.15rem;letter-spacing:-.025em;margin-bottom:.35rem}p{color:var(--muted);line-height:1.55;margin-bottom:.85rem}small{color:var(--muted)}.icon{width:20px;height:20px;flex:none;vertical-align:middle}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.skip{position:fixed;top:12px;left:12px;z-index:10;background:white;padding:10px}.loading{display:grid;place-items:center;min-height:100vh}
.brand{display:flex;align-items:center;gap:12px;color:white}.brand strong{display:block;font-size:1.4rem;line-height:1;letter-spacing:-.055em}.brand strong span,.welcome-copy h1 span{color:#8aa5ff}.brand small{display:block;color:#a7b9e7;font-size:.58rem;letter-spacing:.17em;font-weight:750;margin-top:5px}.logo{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:white;background:linear-gradient(145deg,#6182ff,#2e54f6);box-shadow:0 5px 13px #142e9b60}.logo .icon{width:23px;height:23px}
.welcome{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.welcome-art{min-height:100%;position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(26px,6vw,92px);background:radial-gradient(ellipse at 100% 20%,#294cba 0%,transparent 54%),linear-gradient(145deg,#121f44,#131b32);color:#fff}.welcome-art .brand{margin-bottom:44px}.welcome-copy{z-index:1}.welcome-copy h1{font-size:clamp(2.9rem,6.3vw,6.8rem);line-height:.96;letter-spacing:-.078em;margin:22px 0}.welcome-copy p{color:#d1dcfb;font-size:1.14rem;max-width:365px}.welcome-copy .overline{color:#a9bdff}.welcome-features{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0 50px}.welcome-features span{background:#eff4ff12;border:1px solid #c9d5ff33;padding:7px 10px;border-radius:9px;font-size:.77rem}.welcome-features .icon{width:15px;height:15px;color:#a6bcff}.welcome-footer{color:#a7b9e7;letter-spacing:.16em;font-size:.65rem}.orbits{position:absolute;z-index:-1;width:530px;height:530px;border-radius:50%;border:1px solid #e1eaff29;top:5%;right:-38%;box-shadow:0 0 0 40px #cbd8ff0d,0 0 0 83px #cbd8ff0c,0 0 0 126px #cbd8ff09,0 0 0 167px #cbd8ff08}.welcome-form{display:grid;place-items:center;padding:30px}.start-card{max-width:445px;width:100%;border:1px solid var(--edge);border-radius:24px;background:white;padding:clamp(24px,4vw,45px);box-shadow:0 22px 65px #12275c14}.start-card h2{font-size:2.05rem;line-height:1.1;margin:18px 0 10px}.start-card form{margin-top:24px}.choice{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--edge);border-radius:10px;background:#f6f8fe}.choice input{width:17px;height:17px;margin:0;accent-color:var(--royal)}.choice small{display:block;margin-top:3px;font-weight:400}.privacy{display:flex;gap:7px;align-items:center;margin:18px 0 0;font-size:.78rem}.privacy .icon{width:15px;height:15px;color:var(--royal)}
.green-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#20b576;flex:none}.shell{margin:0;min-height:100vh;display:flex;flex-direction:column}.top{height:67px;position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 clamp(15px,3vw,34px);background:#fffffffa;border-bottom:1px solid var(--edge)}.crumb{color:var(--muted);font-size:.88rem}.crumb span{margin:0 8px;color:#8792a7}.crumb strong{color:var(--ink)}.top-actions,.button-row{display:flex;gap:10px;align-items:center}.profile,.icon-button,.search-button{background:#fff;color:#344566;border:1px solid var(--edge);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 10px}.search-button{color:#566583;font-size:.8rem}.search-button .icon,.icon-button .icon{width:18px;height:18px}kbd{font-size:.67rem;background:#f1f4fc;border:1px solid var(--edge);padding:2px 4px;border-radius:5px;margin-left:12px}.profile{background:#315df5;color:#fff;font-weight:800;width:38px;border:1px solid #19254744;text-shadow:0 1px 3px #111a34}.shell main{max-width:1590px;width:100%;margin:0 auto;padding:22px clamp(15px,3vw,34px) 40px;flex:1}.environment{margin:0 0 18px;border:1px solid #dce5fb;background:#eef3ff;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;color:#435579;font-size:.73rem}.environment strong{font-size:.65rem;color:#204997;letter-spacing:.075em}.environment span:last-child{margin-left:auto}.footer{color:#5f6d85;font-size:.75rem;display:flex;justify-content:space-between;gap:10px;padding:13px clamp(15px,3vw,34px);border-top:1px solid var(--edge)}
.hero{position:relative;overflow:hidden;display:flex;min-height:203px;align-items:center;justify-content:space-between;isolation:isolate;background:radial-gradient(at 90% 22%,#4873ff,transparent 53%),linear-gradient(120deg,#2447c3,#315df5 80%);color:#fff;padding:27px clamp(18px,4vw,43px);border-radius:16px;box-shadow:0 9px 23px #2b56ef32}.hero>div:first-child{z-index:1}.hero h1{margin-top:13px}.hero p{color:#edf2ff}.hero a{display:inline-block;font-weight:720;color:#fff;font-size:.85rem;margin-top:4px}.hero-chip{font-size:.64rem;letter-spacing:.12em;border:1px solid #ecf2ff55;background:#f3f6ff19;border-radius:20px;padding:5px 10px}.hero-art{position:absolute;right:6%;top:50%;width:160px;height:120px;transform:translateY(-50%) rotate(-12deg);display:grid;place-items:center;opacity:.48}.hero-art div{position:absolute;inset:3px;border:1px solid white;border-radius:20px;background:#dbe6ff33;box-shadow:0 15px 26px #15267980}.hero-art div:nth-child(1){transform:translate(30px,-23px)}.hero-art div:nth-child(2){transform:translate(15px,-11px)}.hero-art .icon{width:64px;height:64px;position:relative}.section-label,.card-heading,.page-heading,.stat-top,.record-tools{display:flex;gap:14px;align-items:center;justify-content:space-between}.section-label{margin:25px 0 12px}.section-label h2,.card-heading p,.page-heading p{margin:0}.overline{font-size:.69rem;text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:#3559c4;margin-bottom:7px}.page-heading{margin:24px 0}.page-heading>button,.page-heading>a{flex:none}.paper{background:#fff;border:1px solid var(--edge);border-radius:13px;box-shadow:var(--shadow)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.stat{padding:15px;min-height:119px}.stat-top{font-size:.77rem;font-weight:670;color:#52617e}.stat strong{display:block;font-size:clamp(1.15rem,2.45vw,1.95rem);letter-spacing:-.04em;margin:6px 0 2px}.stat small{font-size:.7rem}.tile{width:34px;height:34px;border-radius:9px;display:inline-grid;place-items:center;flex:none}.tile .icon{width:17px;height:17px}.blue{background:#e8efff!important;color:#294ec9!important}.purple{background:#efe9ff;color:#6b42c3}.green{background:#e4f7ee!important;color:#136648!important}.orange{background:#fff1e0;color:#9b5007}.neutral{background:#edf0f7;color:#46536e}.badge{display:inline-block;border-radius:20px;background:#edf0f7;color:#46536e;padding:4px 8px;font-size:.69rem;font-weight:750;white-space:nowrap}.dash-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;gap:16px}.padded,.chart,.quick{padding:17px}.card-heading{margin-bottom:17px}.card-heading a{font-size:.75rem;font-weight:700;flex:none}.card-heading p{font-size:.76rem}.bar-row{display:grid;grid-template-columns:77px minmax(0,1fr) 18px;gap:10px;align-items:center;min-height:31px;font-size:.8rem;color:#495a78}.bar-row progress{width:100%;height:12px;appearance:none;accent-color:var(--royal);border:0;border-radius:5px;background:#edf1fa}.bar-row progress::-webkit-progress-bar{border-radius:5px;background:#edf1fa}.bar-row progress::-webkit-progress-value{border-radius:5px;background:linear-gradient(90deg,#315df5,#7091fc)}.bar-row strong{text-align:right;color:var(--ink)}.quick-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;color:#1d2e52;padding:8px 0;border-bottom:1px solid var(--edge);font-size:.82rem}.quick-item:last-child{border:0}.quick-item small{display:block;font-size:.72rem;margin-top:3px}.quick-item>.icon{width:15px;height:15px;color:#365dd9}
.primary,.secondary,.quiet,.ghost,.danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;font-size:.84rem;font-weight:700;line-height:1.2;padding:9px 12px;color:#273b6d;background:transparent;white-space:nowrap;text-align:center}.primary{background:var(--royal-dark);color:#fff;box-shadow:0 4px 9px #315df52b}.primary:hover{background:#1b3cba}.secondary{background:#fff;color:#2949a4;border-color:#dbe3f6}.quiet,.ghost{color:#2348c1}.secondary:hover,.quiet:hover,.ghost:hover,.icon-button:hover,.search-button:hover{background:#eef3ff;text-decoration:none}.danger{background:#fff0f0;color:#972538;border-color:#f4d4d8}.wide{width:100%}.info{display:flex;gap:8px;align-items:center;padding:11px 14px;border:1px solid #dbe5ff;background:#eff4ff;border-radius:8px;font-size:.83rem;color:#345083;margin-bottom:14px}.info .icon{width:17px;height:17px}.record-tools{padding:15px 15px}.table-scroll{overflow-x:auto}table{min-width:100%;border-collapse:collapse;text-align:left;font-size:.84rem}th,td{padding:12px 14px;border-top:1px solid var(--edge);vertical-align:middle}th{color:#4b5c7a;font-size:.74rem;background:#f6f8fd;white-space:nowrap}td{overflow-wrap:anywhere}td:first-child{font-weight:700;color:#26385d}.row-actions{text-align:right;white-space:nowrap}.row-actions .quiet{padding:5px 7px}.simulation-result{color:#52627d;font-size:.74rem;min-width:150px}.filter{display:flex;align-items:center;gap:6px;margin:0}.filter input{margin:0}.empty{padding:32px 14px;text-align:center}.empty h3{margin:10px 0 4px}.empty p{margin-bottom:0}.prompt-list{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.prompt-list button{white-space:normal}.answer{background:#f0f4ff;border-radius:9px;padding:13px;color:#27405f}.answer p{margin:5px 0 0}.assistant .tile{margin-bottom:11px}.settings-stack{display:grid;gap:15px}.settings-list>div{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:7px 0;border-bottom:1px solid var(--edge);font-size:.83rem}.settings-list>div:last-child{border:0}.activity{list-style:none;margin:12px 0 0;padding:0;max-height:470px;overflow:auto}.activity li{border-bottom:1px solid var(--edge);padding:8px 0;font-size:.85rem}.activity li small{display:block;margin-top:2px}.settings-stack form{margin-top:10px}
label{display:block;color:#354461;font-size:.83rem;font-weight:650;margin:0 0 12px}input:not([type=checkbox]),textarea,select{display:block;width:100%;margin-top:5px;background:white;border:1px solid #cdd7eb;border-radius:8px;padding:8px 9px;min-height:38px;color:var(--ink);font-size:.89rem}input[type=color]{max-width:75px;padding:3px}textarea{resize:vertical}dialog{width:min(510px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--edge);border-radius:16px;padding:17px;box-shadow:0 20px 60px #111a3450;color:var(--ink)}dialog::backdrop{background:#111a346b}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.dialog-head{margin-bottom:12px}.dialog-actions{justify-content:flex-end;margin-top:12px}.dialog-actions .danger:first-child{margin-right:auto}.read-field{padding:5px 0}.read-field p{white-space:pre-wrap}.search-results{display:grid;max-height:330px;overflow:auto}.search-results a,.search-results button{border-bottom:1px solid var(--edge);border-radius:0;text-align:left;justify-content:space-between;padding:9px;font-size:.85rem}.search-results .icon{width:15px;height:15px}.search-results small{font-weight:400}#toast{position:fixed;z-index:7;bottom:20px;right:20px;pointer-events:none;opacity:0;max-width:min(440px,calc(100vw - 40px));background:#182b50;color:#fff;border-radius:10px;padding:11px 15px;box-shadow:0 10px 30px #111a3445;transition:opacity .16s;font-size:.88rem}#toast.shown{opacity:1}#toast.error{background:#84233a}dialog[open]:has(form) .dialog-head h2{margin:0}.field-error{color:#972538;margin-top:8px;font-size:.83rem}
@media(max-width:1080px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:790px){.welcome{grid-template-columns:1fr}.welcome-art{padding:24px}.welcome-art .brand{margin-bottom:27px}.welcome-copy h1{font-size:3.2rem}.welcome-copy p{font-size:1rem}.welcome-features{margin-bottom:22px}.welcome-form{padding:20px}.top{height:58px}.crumb{margin-right:auto}.top-actions{gap:5px}.hero-art{right:6%;opacity:.22}.shell main{padding-top:15px}.page-heading{align-items:flex-start;flex-wrap:wrap}.dash-grid{grid-template-columns:1fr}}
@media(max-width:470px){.search-button span,kbd,.crumb span,.crumb strong{display:none}.crumb{font-size:.75rem}.environment span:last-child{font-size:.61rem}.stat{padding:9px;min-height:109px}.stat-top{font-size:.67rem}.stat .tile{width:26px;height:26px}.stat .tile .icon{width:14px;height:14px}.stat small{font-size:.63rem}.hero{min-height:185px}.card-heading{align-items:flex-start}.record-tools{align-items:flex-start;flex-direction:column}.filter{width:100%}.footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
.hero h1,.page-heading h1{overflow-wrap:anywhere}.hero>div:first-child{min-width:0}
.lead-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.mini-stat{padding:13px 16px}.mini-stat strong,.mini-stat small{display:block}.mini-stat strong{font-size:1.55rem;margin-top:4px}.lead-filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:12px 15px;background:#f6f8fd;border-top:1px solid var(--edge)}.lead-filter-bar label,.lead-pagination label{margin:0}.lead-filter-bar select,.lead-filter-bar input{min-width:108px}.review-toggle,.bulk-bar,.lead-pagination,.detail-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.bulk-bar,.lead-pagination{padding:9px 15px;border-top:1px solid var(--edge);font-size:.8rem}.bulk-bar{background:#eef4ff}.lead-pagination small{margin-right:auto}.lead-pagination select{display:inline-block;width:auto;margin:0 0 0 4px;min-height:30px;padding:4px}.lead-table small,.inbox-table small,.task-row small{display:block;margin-top:4px}.lead-table td:first-child:has(input){width:34px}.lead-table td:nth-last-child(2){white-space:nowrap}.capture-hub{margin-bottom:16px}.capture-channels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.channel-card{min-width:0;padding:12px;border:1px solid var(--edge);border-radius:10px;background:#f7f9ff}.channel-card h3{font-size:.94rem;margin:8px 0 4px}.channel-card p,.channel-card small{font-size:.76rem}.channel-card p{min-height:2.3em;margin-bottom:7px}.channel-head,.channel-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.channel-head{justify-content:space-between}.channel-head .tile{font-size:.75rem;font-weight:800}.channel-actions{margin-top:9px}.channel-actions button{font-size:.75rem;padding:6px 7px}.capture-empty{background:#f1f5ff;padding:14px;border-radius:8px;font-size:.85rem}.capture-empty p{margin:4px 0 0}.lead-detail-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lead-detail-data dt{color:var(--muted);font-size:.72rem;font-weight:700}.lead-detail-data dd{margin:4px 0 0;font-size:.88rem;overflow-wrap:anywhere}.lead-detail h3{font-size:.9rem;margin:12px 0 5px}.task-row{display:flex;justify-content:space-between;gap:7px;padding:6px 0;border-bottom:1px solid var(--edge);font-size:.88rem}.multiline{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1120px){.capture-channels{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.lead-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-channels{grid-template-columns:1fr}.lead-filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lead-filter-bar input,.lead-filter-bar select{min-width:0}.review-toggle{grid-column:1/-1}}
.table-scroll{position:relative;max-width:100%}
.lead-actions-trigger{padding:6px 8px;font-size:.77rem}.lead-actions-trigger[aria-expanded=true]{background:#eef3ff}.lead-action-menu{position:fixed;inset:auto;margin:0;width:min(248px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:5px;border:1px solid var(--edge);border-radius:10px;background:white;color:var(--ink);box-shadow:0 10px 32px #12275c30}.lead-action-menu button{display:flex;align-items:center;gap:9px;width:100%;padding:8px;border:0;border-radius:6px;background:none;color:inherit;text-align:left;font-size:.83rem}.lead-action-menu button:is(:hover,:focus-visible){background:#eef3ff}.lead-action-menu button:focus-visible{outline-offset:-2px}.lead-action-menu .icon{width:16px;height:16px;color:#385ab6}.lead-action-menu .lead-menu-danger{border-top:1px solid var(--edge);margin-top:3px;color:#982538}.lead-action-menu .lead-menu-danger .icon{color:inherit}
.intel-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.intel-grid h3{font-size:.93rem;margin-bottom:6px}.intel-grid h3 .icon{width:17px;height:17px;margin-right:3px;color:#385ab6}.intel-item{padding:13px;border:1px solid var(--edge);background:#f8faff;border-radius:10px;margin-bottom:9px;overflow-wrap:anywhere}.intel-item-head,.intel-control,.intel-blocks>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.intel-item p{font-size:.83rem;margin:8px 0}.intel-item .detail-badges{margin-top:8px}.intel-item-head small{font-size:.74rem}.intel-control{align-items:center}.intel-review-actions{display:flex;gap:5px;flex-wrap:wrap}.intel-review-actions button{padding:6px 8px;font-size:.75rem}.intel-tools .intel-item form label{margin-top:9px}.intel-results,.intel-blocks{margin-top:15px;border-top:1px solid var(--edge);padding-top:12px}.intel-blocks>div{align-items:center;border-bottom:1px solid var(--edge);font-size:.82rem;overflow-wrap:anywhere}.page-heading .button-row{flex-wrap:wrap}
@media(max-width:900px){.intel-grid{grid-template-columns:minmax(0,1fr)}}
.grab-dialog{width:min(690px,calc(100vw - 24px))}.grab-top .icon{width:16px;height:16px}.grab-banner,.grab-steps,.grab-metrics,.grab-selectbar,.grab-review-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.grab-banner{background:#eff4ff;border-radius:8px;padding:9px 10px;color:#395480;font-size:.82rem}.grab-steps,.grab-metrics{margin:12px 0}.grab-steps>span,.grab-metrics>span{font-size:.8rem;color:#50607d;padding:7px}.grab-metrics>span{background:#f3f6fd;border-radius:8px}.grab-metrics strong{color:var(--ink);margin-right:3px}.grab-fields fieldset{min-width:0;border:0;padding:0;margin:0 0 10px}.grab-fields legend{font-size:.83rem;color:#354461;font-weight:700;margin-bottom:5px}.grab-chips{display:flex;flex-wrap:wrap;gap:5px}.grab-chip,.grab-pick{display:flex;align-items:center;gap:5px;cursor:pointer}.grab-chip{margin:0;padding:4px 7px;border:1px solid var(--edge);background:#f6f8ff;border-radius:7px;font-size:.77rem}.grab-chip:has(:checked){color:#2648bb;border-color:#b4c5ff;background:#e9efff}.grab-chip input,.grab-pick input{margin:0;accent-color:var(--royal)}.grab-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.grab-review-heading{justify-content:space-between;align-items:start}.grab-review-heading h3,.grab-review-heading p{margin:0}.grab-review-heading p,.grab-candidate p,.grab-candidate small,.grab-selectbar{font-size:.81rem;color:#536481}.grab-candidate{border:1px solid var(--edge);border-radius:10px;background:#f8faff;padding:10px;margin-top:8px;overflow-wrap:anywhere}.grab-candidate small{display:block;margin:4px 0}.grab-candidate p{margin:.35em 0}.grab-candidate .grab-pick{margin:8px 0 0}.grab-selectbar{justify-content:space-between}.grab-candidates{max-height:350px;overflow:auto}.grab-fields .info{margin-bottom:0}
@media(max-width:520px){.grab-top span{display:none}.grab-top{padding:8px}.grab-input-grid{grid-template-columns:1fr}.grab-steps>span{padding:3px}.grab-dialog .dialog-actions{flex-wrap:wrap}}
.research-link{display:inline;border:0;background:transparent;color:#2447b3;padding:0;font-weight:700;text-align:left;overflow-wrap:anywhere}.research-link:hover{text-decoration:underline}.research-dialog{width:min(780px,calc(100vw - 24px));overflow-wrap:anywhere}.research-banner,.research-sources{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:10px}.research-banner span{font-size:.8rem}.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.research-section{background:#f7f9ff;border:1px solid var(--edge);border-radius:10px;padding:12px;margin:0 0 8px}.research-section h3{font-size:.93rem;margin:0 0 6px}.research-section p,.research-section li{font-size:.85rem}.research-section p:last-child,.research-section ul:last-child{margin-bottom:0}.research-offer{padding:8px;border:1px solid var(--edge);background:#fff;border-radius:8px;margin-top:8px}.research-offer p{margin-bottom:5px}.research-sources a,.research-offer a{display:inline-block;padding:3px 7px;background:#eaf0ff;border-radius:5px;font-size:.78rem}.welcome-form label small{display:block;margin-top:3px;font-weight:400}
@media(max-width:540px){.research-grid{grid-template-columns:1fr}}
.theme-inputs{display:flex;gap:18px;flex-wrap:wrap}.theme-inputs small{font-weight:400}.theme-preview{display:grid;gap:4px;padding:14px;border:1px solid var(--edge);border-radius:8px;background:var(--workspace-bg,#f4f6fc);color:var(--workspace-fg,#111b36);font-size:.88rem}.theme-preview span{font-size:.8rem}#theme-contrast{margin:8px 0;min-height:1.3em;font-size:.79rem}
.custom-workspace-theme{background:var(--workspace-bg);color:var(--workspace-fg);--ink:var(--workspace-fg);--muted:var(--workspace-fg);--workspace-surface:color-mix(in srgb,var(--workspace-bg) 87%,var(--workspace-tone));--edge:color-mix(in srgb,var(--workspace-bg) 69%,var(--workspace-fg))}
.custom-workspace-theme :is(.shell,.footer,.crumb,.card-heading,.bar-row,.stat-top,.quick-item,label,.simulation-result,.grab-review-heading p,.grab-candidate p,.grab-candidate small,.grab-selectbar,.grab-steps>span,th,td:first-child){color:var(--workspace-fg)}
.custom-workspace-theme :is(.paper,.top,dialog,.lead-action-menu,.lead-filter-bar,.intel-item,.channel-card,.grab-candidate,.research-section,.research-offer,th){background:var(--workspace-surface);color:var(--workspace-fg)}
.custom-workspace-theme :is(.shell,dialog,.lead-action-menu) :is(a:not(.primary):not(.danger):not(.hero a),.quiet,.ghost,.research-link,.overline){color:var(--workspace-fg)}
.custom-workspace-theme :is(.shell,dialog,.lead-action-menu) :is(.secondary,.icon-button,.search-button,.info,.capture-empty,.answer,.bulk-bar,.environment,.grab-banner,.grab-metrics>span,kbd,input:not([type=checkbox]),textarea,select){background:var(--workspace-bg);color:var(--workspace-fg);border-color:var(--edge)}
.custom-workspace-theme :is(.environment strong,.grab-fields legend,.lead-detail-data dt,.lead-action-menu .icon){color:var(--workspace-fg)}
.custom-workspace-theme :is(.secondary,.icon-button,.search-button,.quiet,.lead-action-menu button):is(:hover,:focus-visible){background:var(--workspace-surface)}
.custom-workspace-theme .hero :is(p,small,span,a){color:#fff}.custom-workspace-theme .lead-action-menu .lead-menu-danger{color:#d44a64}
.theme-options{border:0;padding:0;margin:0 0 12px;min-width:0}.theme-options legend{font-size:.82rem;font-weight:700;margin-bottom:7px}.theme-preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(79px,1fr));gap:6px}.theme-preset{display:grid;gap:5px;justify-items:center;border:1px solid var(--edge);border-radius:8px;padding:5px;background:transparent;color:inherit;font-size:.74rem;font-weight:700;text-align:center}.theme-preset[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-2px}.theme-preset:focus-visible{outline:3px solid #7d96ff;outline-offset:2px}.theme-swatch{display:grid;place-items:center;width:100%;min-height:29px;border:1px solid var(--edge);border-radius:5px;font-weight:800}
.brand-preview{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--edge);border-radius:8px}.brand-preview-button{cursor:default}.brand-controls{flex-wrap:wrap}#brand-status{font-size:.8rem;margin:7px 0;min-height:1.25em}
.brand .logo{flex:none}.brand>div{min-width:0}.brand strong{overflow-wrap:anywhere}.logo-company,.brand-preview .logo:has(img){background:#fff;padding:3px;box-shadow:none}.brand .logo img,.brand-preview .logo img{width:100%;height:100%;object-fit:contain}
.custom-brand .primary{background:var(--brand-bg);color:var(--brand-fg)}.custom-brand .primary:hover{background:var(--brand-bg);color:var(--brand-fg);text-decoration:underline}
.hero-identity,.report-identity{display:flex;align-items:center;gap:12px}.hero-identity{flex-wrap:wrap}.workspace-mark{display:grid;place-items:center;width:55px;height:55px;padding:4px;background:#fff;border-radius:11px;flex:none}.workspace-mark img{width:100%;height:100%;object-fit:contain}.report-identity{padding:15px;margin-bottom:14px;border-inline-start:4px solid var(--brand-bg,#315df5);overflow-wrap:anywhere}.report-identity p{margin:0;font-size:.86rem}
html.custom-brand .hero{background:linear-gradient(120deg,color-mix(in srgb,var(--brand-bg) 83%,var(--brand-tone)),var(--brand-bg));color:var(--brand-fg);box-shadow:0 9px 23px color-mix(in srgb,var(--brand-bg) 26%,transparent)}html.custom-brand .hero :is(p,small,span,a){color:var(--brand-fg)}.custom-brand .hero-chip{background:transparent;border-color:var(--brand-fg)}.custom-brand .bar-row progress{accent-color:var(--brand-bg)}.custom-brand .bar-row progress::-webkit-progress-value{background:var(--brand-bg)}
:root{--bottom-pages-height:33.6px;--bottom-sections-height:44.8px;--bottom-bar-height:calc(var(--bottom-pages-height) + var(--bottom-sections-height))}.shell{min-height:100dvh;padding-bottom:calc(var(--bottom-bar-height) + env(safe-area-inset-bottom,0px))}.top-brand{flex:0 1 auto;min-width:0}.top-brand .brand{color:var(--ink);gap:8px}.top-brand .brand .logo{width:34px;height:34px;border-radius:8px}.top-brand .brand strong{font-size:.9rem;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-brand .brand small{color:var(--muted);font-size:.53rem;margin-top:4px}.top .crumb{margin-right:auto;margin-left:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{flex:none}
.bottom-bar{position:fixed;z-index:5;inset:auto 0 0;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:var(--brand-bg,#081d38);color:var(--brand-fg,#fff);box-shadow:0 -3px 22px #111a3433}
.bottom-pages,.bottom-sections{display:flex;align-items:stretch;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.bottom-pages{height:var(--bottom-pages-height);background:var(--brand-bg,#081d38);scrollbar-color:color-mix(in srgb,currentColor 50%,transparent) transparent}
.bottom-section-name{flex:none;align-self:center;padding:0 20px;color:color-mix(in srgb,currentColor 72%,transparent);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.bottom-bar a{flex:none;display:flex;align-items:center;gap:9px;padding:0 16px;color:inherit;text-decoration:none;font-size:.91rem;font-weight:700}
.bottom-bar a .icon{width:18px;height:18px;flex:none}
.bottom-bar a:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.bottom-pages a:is(:hover,[aria-current]){background:color-mix(in srgb,currentColor 14%,transparent)}
.bottom-pages a[aria-current]{box-shadow:inset 0 -2px currentColor}
.bottom-sections{height:var(--bottom-sections-height);justify-content:safe center;border-top:2px solid #35b8fd;background:linear-gradient(105deg,#075890,#144799 48%,#292b86 67%,#8f2678);scrollbar-color:color-mix(in srgb,currentColor 50%,transparent) transparent}
.custom-brand .bottom-sections{border-color:color-mix(in srgb,var(--brand-bg) 55%,var(--brand-fg));background:linear-gradient(105deg,var(--brand-bg),color-mix(in srgb,var(--brand-bg) 82%,var(--brand-tone)))}
.bottom-sections a{border-inline-start:1px solid #ffffff1f;padding-inline:24px}
.bottom-sections a:last-child{border-inline-end:1px solid #ffffff1f}
.bottom-sections a:hover{background:color-mix(in srgb,currentColor 14%,transparent)}
.bottom-sections a[aria-current]{background:linear-gradient(180deg,#168dd4,#075da3);color:#fff}
.custom-brand .bottom-sections a[aria-current]{background:color-mix(in srgb,currentColor 20%,transparent);color:inherit}
#toast{bottom:calc(var(--bottom-bar-height) + env(safe-area-inset-bottom,0px) + 12px)}
@media(max-width:680px){.top .crumb{display:none}.top-brand .brand small{display:none}.top-brand .brand .logo{width:30px;height:30px}.top-brand .brand strong{font-size:.8rem}}
@media(max-width:680px){:root{--bottom-pages-height:31.5px;--bottom-sections-height:39.2px}.bottom-bar a{padding-inline:13px;font-size:.8rem;gap:6px}.bottom-bar a .icon{width:16px;height:16px}.bottom-section-name{padding-inline:12px;font-size:.65rem}}
@media(max-width:430px){.top{gap:5px;padding-inline:9px}.top-actions{gap:4px}.top-actions :is(.icon-button,.search-button){padding-inline:6px}.top .profile{width:30px;padding-inline:2px}}

.header-clock{display:flex;align-items:center;gap:11px;min-width:0;flex:none;padding:6px 11px;border:1px solid #2e5364;border-radius:10px;background:linear-gradient(115deg,#0d2637,#142f42);color:#dfedfc;box-shadow:inset 0 1px #ffffff18}
.header-clock time{font-family:"Cascadia Mono",Consolas,"Courier New",monospace;font-size:1.18rem;font-weight:700;line-height:1;letter-spacing:.045em;font-variant-numeric:tabular-nums;color:#9df6db;text-shadow:0 0 11px #41edaa55;white-space:nowrap}
.clock-details{display:grid;gap:2px;min-width:0;padding-left:10px;border-left:1px solid #476577;font-size:.67rem;line-height:1.2}
.clock-date{font-weight:700;white-space:nowrap}
.clock-city{max-width:15ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9c2d6}
.top,
.custom-workspace-theme .top {
  border-top: 2px solid #35b8fd;
  background: linear-gradient(105deg, #1d3c8e, #282d84 48%, #782770);
  color: #fff;
}
.top {
  padding-top: 6px;
}
.top .top-brand,
.top .brand,
.top .brand small,
.top .crumb,
.top .crumb span,
.top .crumb strong {
  color: inherit;
}
.top-actions :is(.search-button, .icon-button, .grab-top) {
  color: #fff;
  background: #11163960;
  border: 1px solid #ffffff66;
}
.top-actions :is(.search-button, .icon-button, .grab-top):hover {
  background: #111639a0;
}
.top-actions kbd {
  color: #fff;
  background: #11163980;
  border-color: #ffffff66;
}
@media(max-width:680px){.top{height:auto;min-height:58px;flex-wrap:wrap;padding-block:7px}.header-clock{order:1;flex:1 0 100%;justify-content:space-between;gap:8px}.clock-details{display:flex;align-items:center;gap:7px;border:0;padding-left:0}.header-clock time{font-size:1.02rem}.clock-city{max-width:18ch}}
@media (max-width: 680px) {
  .top {
    padding-top: 11px;
  }
}

.core-page,
.core-dialog {
  --core-edge: color-mix(in srgb, var(--ink) 19%, transparent);
  --core-highlight: color-mix(in srgb, var(--workspace-surface, #fff) 70%, #91a9ff);
}
.core-page .paper,
.core-dialog {
  border: 1px solid var(--core-edge);
  border-top-color: var(--core-highlight);
  border-bottom: 3px solid var(--core-edge);
  box-shadow: inset 0 1px 0 #ffffff36, 0 6px 16px #182b5421;
}
.core-page .mini-stat,
.core-stage,
.core-page .capture-hub,
.core-page .records {
  margin-bottom: 12px;
}
.core-page .channel-card,
.core-related {
  border: 1px solid var(--core-edge);
  border-top-color: var(--core-highlight);
  border-bottom-width: 2px;
  border-radius: 10px;
  padding: 12px;
}
.core-note {
  padding: 9px 12px;
  margin: 0 0 13px;
  border-inline-start: 3px solid #647ff0;
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--workspace-surface, #fff) 88%, #637eea);
  color: var(--ink);
  font-size: .86rem;
  line-height: 1.45;
}
.core-field-help {
  display: block;
  margin: -4px 0 9px;
  color: var(--muted);
}
.core-stages,
.core-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 9px;
}
.core-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}
.core-related h3 { margin: 0 0 6px; font-size: .9rem; }
.core-related p, .core-related ul { margin: 0; font-size: .82rem; }
.core-related ul { padding-inline-start: 16px; overflow-wrap: anywhere; }
.core-stage { padding: 11px 13px; }
.core-stage span { display: block; color: var(--muted); font-size: .78rem; }
.core-stage strong { display: block; font-size: 1.22rem; margin-top: 3px; }
.core-page table select { min-width: 105px; }
.core-page :is(.primary, .secondary),
.core-dialog :is(.primary, .secondary) {
  box-shadow: inset 0 1px 0 #ffffff40, 0 2px 0 var(--core-edge);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
@media (hover: hover) {
  :is(.core-page, .core-dialog) :is(.primary, .secondary):hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #ffffff40, 0 4px 7px #14244832;
  }
}
:is(.core-page, .core-dialog) :is(.primary, .secondary):active {
  transform: translateY(1px);
}
.core-dialog[open] { animation: core-enter 170ms ease-out; }
.core-stages { animation: core-enter 180ms ease-out; }
@keyframes core-enter {
  from { opacity: .3; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.core-tooltip {
  position: fixed;
  inset: auto;
  margin: 0;
  max-width: min(265px, calc(100vw - 16px));
  padding: 7px 10px;
  border: 1px solid #6d87ef;
  border-radius: 6px;
  background: #152644;
  color: #fff;
  font-size: .78rem;
  line-height: 1.35;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .core-dialog[open], .core-stages { animation: none; }
  :is(.core-page, .core-dialog) :is(.primary, .secondary) {
    transition: none;
  }
  :is(.core-page, .core-dialog) :is(.primary, .secondary):is(:hover, :active) {
    transform: none;
  }
}

.lead-intelligence {
  --li-ink: #172b50;
  --li-muted: #4e6081;
  --li-border: #dce5f5;
  display: grid;
  gap: 15px;
  min-width: 0;
  color: var(--li-ink);
}
.workspace-palette .li-royal { --li-accent: #2447c1; --li-tint: #e9efff; }
.workspace-palette .li-emerald { --li-accent: #08704e; --li-tint: #e2f7ed; }
.workspace-palette .li-cyan { --li-accent: #076983; --li-tint: #e1f7fc; }
.workspace-palette .li-violet { --li-accent: #6539ad; --li-tint: #f0e9ff; }
.workspace-palette .li-amber { --li-accent: #8b5110; --li-tint: #fff0db; }
.workspace-palette .li-rose { --li-accent: #a32e58; --li-tint: #fce9f0; }
.workspace-palette .li-slate { --li-accent: #465775; --li-tint: #ecf1f8; }

.li-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(17px, 3.2vw, 32px);
  border: 1px solid #d1dcff;
  border-radius: 20px;
  background: radial-gradient(ellipse at 8% 0%, #dcefff 0%, transparent 58%), linear-gradient(112deg, #f1f6ff 5%, #e7ebff 62%, #f0e7ff 100%);
  box-shadow: inset 0 1px #fff, 0 6px 20px #2b47961b;
}
.li-hero-copy, .li-hero-controls, .li-hero-buttons, .li-search { display: flex; align-items: center; gap: 10px; }
.li-hero-copy { gap: 15px; min-width: 0; }
.li-hero-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(140deg, #3355dc, #773bc9);
  color: #fff;
  box-shadow: inset 0 1px #ffffff55, 0 6px 15px #383ab640;
}
.li-hero-icon .icon { width: 28px; height: 28px; }
.li-hero h1 { margin: 0; color: #152b62; font-size: clamp(1.55rem, 3.2vw, 2.5rem); letter-spacing: -.045em; line-height: 1.12; }
.li-hero p { margin: 6px 0 0; max-width: 46ch; color: #44577f; font-size: .87rem; line-height: 1.4; }
.li-hero-controls { flex-wrap: wrap; justify-content: flex-end; }
.li-hero-buttons { flex-wrap: wrap; }
.li-hero-buttons button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; white-space: nowrap; }
.workspace-palette .li-hero-buttons .primary { color: #fff; background: #2649c9; border-color: #2649c9; }
.workspace-palette .li-hero-buttons .li-import { color: #5630a0; background: #eee5ff; border-color: #d8c5ff; }
.workspace-palette .li-hero-buttons .li-grab { color: #2447a3; background: #f4f7ff; border-color: #cad9ff; }
.li-search { padding: 0 11px; margin: 0; min-height: 42px; min-width: 0; border: 1px solid #c9d6ef; border-radius: 10px; background: #ffffffdc; color: #3a56a1; }
.workspace-palette .li-search input { border: 0; padding: 0; min-height: 40px; width: clamp(120px, 12vw, 225px); background: transparent; color: var(--li-ink); }
.li-search:focus-within { outline: 2px solid #4b65d2; outline-offset: 2px; }

.li-summary { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.li-kpi {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5px;
  padding: 14px;
  min-width: 0;
  border: 1px solid var(--li-border);
  border-bottom: 3px solid color-mix(in srgb, var(--li-tint) 80%, var(--li-accent));
  border-radius: 15px;
  background: linear-gradient(132deg, #fff 20%, var(--li-tint));
  box-shadow: 0 5px 13px #22346c13;
  color: var(--li-ink);
}
.li-kpi div { display: grid; gap: 3px; min-width: 0; }
.li-kpi div > span { font-weight: 700; font-size: .81rem; }
.li-kpi strong { color: var(--li-accent); font-size: 1.65rem; font-variant-numeric: tabular-nums; }
.li-kpi small { color: var(--li-muted); font-size: .72rem; }
.li-glyph, .li-avatar, .li-company-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--li-accent, #2447c1);
  background: var(--li-tint, #e9efff);
}
.li-avatar { border-radius: 50%; font-size: .72rem; font-weight: 800; }
.li-company-icon { width: 28px; height: 28px; border-radius: 8px; }
.li-company-icon .icon { width: 15px; height: 15px; }

.li-filters, .lead-intelligence .li-grid {
  min-width: 0;
  border: 1px solid var(--li-border);
  border-radius: 18px;
  padding: 0;
  background: #fff;
  color: var(--li-ink);
  box-shadow: 0 6px 20px #24377515;
}
.li-filters { padding: 12px; background: linear-gradient(135deg, #f4f7ff, #f6f2ff); }
.li-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 9px; }
.li-section-head h2 { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .94rem; color: var(--li-ink); }
.li-grid .li-section-head { padding: 13px 16px; }
.lead-intelligence .lead-filter-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  padding: 0;
  margin: 0;
  gap: 9px;
  border: 0;
  background: transparent;
}
.lead-intelligence .lead-filter-bar label { min-width: 0; margin: 0; color: var(--li-muted); font-size: .76rem; font-weight: 700; }
.lead-intelligence .lead-filter-bar :is(select,input) {
  width: 100%;
  min-width: 0;
  min-height: 39px;
  color: var(--li-ink);
  background: #fff;
  border: 1px solid #cbd8ee;
  border-radius: 9px;
}
.lead-intelligence .lead-filter-bar .review-toggle { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.lead-intelligence .review-toggle .primary { background: #4836a1; color: #fff; }
.lead-intelligence .review-toggle .secondary { background: #fff; color: #5630a0; border-color: #d7cdf2; }

.lead-intelligence .table-scroll { max-width: 100%; overflow-x: auto; }
.lead-intelligence .lead-table { width: 100%; min-width: 1120px; }
.lead-intelligence .lead-table th {
  padding-block: 11px;
  background: linear-gradient(#f0f4ff, #e8effc);
  color: #203965;
  font-size: .73rem;
  font-weight: 800;
}
.lead-intelligence .lead-table td { padding-block: 9px; color: var(--li-ink); transition: background 170ms ease; }
.lead-intelligence .lead-table tbody tr:nth-child(even) td { background: #f8faff; }
.lead-intelligence .lead-table tbody tr:is(:hover,:focus-within) td { background: #eef4ff; }
.lead-intelligence .lead-table tbody .li-selected td { background: #e6edff; }
.lead-intelligence .lead-table small { color: var(--li-muted); }
.lead-intelligence .lead-table input[type=checkbox] { accent-color: #3154d4; }
.li-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.li-person > div { min-width: 0; max-width: 210px; overflow-wrap: anywhere; }
.lead-intelligence .lead-table td:has(.li-person > div) { min-width: 156px; }
.li-person .research-link { text-align: start; color: #173c92; }
.li-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--li-tint);
  color: var(--li-accent);
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.li-pill .icon { width: 13px; height: 13px; }
.lead-intelligence select.li-pill { display: inline-block; min-width: 112px; min-height: 36px; }
.li-date { white-space: nowrap; }
.lead-intelligence .lead-actions-trigger, .workspace-palette .li-details { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.lead-intelligence .lead-actions-trigger .icon, .workspace-palette .li-details .icon { width: 14px; height: 14px; }
.workspace-palette .li-details { color: #2447a3; }
.lead-intelligence .bulk-bar { margin: 0 12px 9px; padding: 8px; border: 1px solid #d3dfff; background: linear-gradient(112deg,#e8f1ff,#f1ecff); color: var(--li-ink); }
.lead-intelligence .bulk-bar button { color: #203c79; }
.lead-intelligence .lead-pagination { padding: 10px 14px; }
.workspace-palette .li-empty { padding: 26px 14px; }
.li-empty .li-glyph { margin-bottom: 4px; }
.lead-intelligence :is(.li-loading, .li-error) { padding: 15px; color: var(--li-muted); }
.workspace-palette .li-loading p { margin: 0 0 12px; }
.workspace-palette .li-error { margin: 0 12px 12px; border: 1px solid #edc8d5; border-radius: 10px; background: #fff4f7; color: #7f2847; }
.workspace-palette .li-error p { margin: 5px 0 9px; }
.li-skeleton { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 10px 0; gap: 17px 12px; }
.li-skeleton span { min-height: 13px; border-radius: 5px; background: linear-gradient(90deg,#edf2ff,#e4ebfa); }
.lead-intelligence :is(button,select,input):focus-visible { outline: 2px solid #3557d1; outline-offset: 2px; }

@supports (appearance: base-select) {
  .lead-intelligence select:is([data-lead-filter],[data-lead-status]),
  .lead-intelligence select:is([data-lead-filter],[data-lead-status])::picker(select) { appearance: base-select; }
  .lead-intelligence select:is([data-lead-filter],[data-lead-status]) { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; }
  .lead-intelligence select::picker-icon { margin-inline-start: auto; }
  .lead-intelligence select[data-lead-filter="size"] { min-width: 66px; }
  .lead-intelligence select::picker(select) { border: 1px solid #cbd8ee; border-radius: 10px; background: #fff; color: #172b50; box-shadow: 0 8px 22px #203b7026; padding: 4px; max-height: min(300px, 55vh); }
  .lead-intelligence select option { padding: 7px 9px; min-height: 30px; border-radius: 6px; color: #172b50; }
  .lead-intelligence select option:is(:checked,:hover,:focus) { background: #e8efff; color: #1e3d94; }
}
@media (max-width: 900px) {
  .li-hero { flex-wrap: wrap; }
  .li-hero-controls { justify-content: flex-start; }
  .li-summary { grid-template-columns: repeat(auto-fit, minmax(min(145px,100%),1fr)); }
  .lead-intelligence .lead-filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .li-hero { gap: 13px; }
  .li-hero-icon { width: 43px; height: 43px; border-radius: 12px; }
  .li-hero-icon .icon { width: 23px; height: 23px; }
  .li-hero-controls, .li-search, .workspace-palette .li-search input { width: 100%; }
  .li-hero-buttons { gap: 6px; }
  .li-hero-buttons button { padding-inline: 8px; font-size: .74rem; }
  .li-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .li-kpi { padding: 9px; }
  .li-kpi .li-glyph { width: 25px; height: 25px; border-radius: 7px; }
  .lead-intelligence .lead-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .li-kpi { transition: transform 170ms ease, box-shadow 170ms ease; }
  .li-kpi:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #22346c25; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-intelligence .lead-table td { transition: none; }
}

.workspace-palette,
body:has(.workspace-palette) > #dialog,
.welcome-form {
  --palette-surface: var(--workspace-surface, #fff);
  --palette-blue: color-mix(in srgb, var(--palette-surface) 86%, #afcaff);
  --palette-violet: color-mix(in srgb, var(--palette-surface) 84%, #d1b6ff);
  --palette-border: color-mix(in srgb, var(--edge, #dce5f5) 76%, #8ea9ef);
  --palette-heading: radial-gradient(ellipse at 8% 0%, var(--palette-blue), transparent 63%),
    linear-gradient(112deg, var(--palette-surface), var(--palette-blue) 58%, var(--palette-violet));
  --palette-shadow: 0 6px 18px #24377519;
}
.workspace-palette .page-heading {
  padding: clamp(15px, 2.5vw, 25px);
  border: 1px solid var(--palette-border);
  border-radius: 19px;
  background: var(--palette-heading);
  box-shadow: inset 0 1px #ffffff38, var(--palette-shadow);
  color: var(--ink);
}
.workspace-palette .page-heading { margin: 0 0 15px; }
.workspace-palette .page-heading :is(h1,p) { color: var(--ink); }
.workspace-palette :is(.paper, .channel-card, .core-related),
body:has(.workspace-palette) > #dialog,
.welcome-form {
  border-color: var(--palette-border);
  border-bottom-width: 3px;
  border-radius: 16px;
  box-shadow: var(--palette-shadow);
}
.workspace-palette :is(.stat, .core-stage, .channel-card) {
  --palette-card-tint: #e9efff;
  background: linear-gradient(135deg, var(--palette-surface) 25%,
    color-mix(in srgb, var(--palette-surface) var(--palette-surface-weight, 48%), var(--palette-card-tint)));
}
.custom-workspace-theme .workspace-palette { --palette-surface-weight: 88%; }
.workspace-palette :is(.stat:has(.tile.green), .core-stage:nth-child(4)) { --palette-card-tint: #e2f7ed; }
.workspace-palette :is(.stat:has(.tile.purple), .core-stage:nth-child(3), .channel-card:nth-child(2)) { --palette-card-tint: #f0e9ff; }
.workspace-palette :is(.stat:has(.tile.orange), .channel-card:nth-child(4)) { --palette-card-tint: #fff0db; }
.workspace-palette :is(.core-stage:nth-child(2), .channel-card:nth-child(3)) { --palette-card-tint: #e1f7fc; }
.workspace-palette .core-stage:nth-child(5) { --palette-card-tint: #fce9f0; }
.workspace-palette table th { background: linear-gradient(var(--palette-blue), var(--palette-violet)); color: var(--ink); }
.workspace-palette table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--palette-surface) 88%, var(--palette-blue)); }
.workspace-palette table tbody tr:is(:hover,:focus-within) td { background: var(--palette-blue); }
.workspace-palette :is(.core-note, .info, .record-tools) {
  background: color-mix(in srgb, var(--palette-surface) 50%, var(--palette-violet));
  border-color: var(--palette-border);
  color: var(--ink);
}
.workspace-palette .records .record-tools { border-radius: 15px 15px 0 0; }
.workspace-palette .badge.green { background: #e2f7ed; color: #08704e; }
.workspace-palette .badge.blue { background: #e9efff; color: #2447c1; }
.workspace-palette .badge.neutral { background: #ecf1f8; color: #465775; }
.workspace-palette .badge.orange { background: #fff0db; color: #8b5110; }
html:not(.custom-brand) .workspace-palette .primary { color: #fff; background: #2649c9; border-color: #2649c9; }
html:not(.custom-workspace-theme) .workspace-palette .secondary {
  color: #5630a0;
  background: #eee5ff;
  border-color: #d8c5ff;
}
html:not(.custom-workspace-theme) .workspace-palette .secondary:hover { background: #e5d7ff; }
html:not(.custom-workspace-theme) .workspace-palette :is(button, a, select, input):focus-visible {
  outline: 2px solid #3557d1;
  outline-offset: 2px;
}
body:has(.workspace-palette) > #dialog .dialog-head {
  padding: 10px;
  border-radius: 10px;
  background: var(--palette-heading);
  color: var(--ink);
}
.welcome-form { background: var(--palette-heading); border: 1px solid var(--palette-border); border-bottom-width: 3px; }

/* Growth Command Centre */
.command-centre {
  display: grid;
  gap: 16px;
  --cc-blue: #395dea;
  --cc-cyan: #087d9a;
  --cc-violet: #7345cf;
  --cc-green: #07836b;
  --cc-amber: #ac5d12;
}
.command-centre :is(h1,h2,p) { margin: 0; }
.cc-hero {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--edge);
  border-radius: 22px;
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--palette-surface) 88%, white), 0 5px 0 var(--edge), 0 16px 30px #27387a13;
  background: radial-gradient(ellipse at 88% 0%, var(--palette-violet), transparent 62%),
    linear-gradient(145deg, var(--palette-blue), var(--palette-surface) 70%);
}
.cc-hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: start; }
.cc-hero h1 { font-size: clamp(1.65rem, 3.5vw, 3rem); letter-spacing: -.048em; line-height: 1.12; }
.cc-hero h1 + p { margin-top: 8px; }
.cc-account { font-weight: 750; margin-bottom: 6px !important; }
.cc-freshness { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-freshness small, .cc-meta, .cc-panel small, .cc-panel time { color: var(--muted); font-size: .8rem; }
.cc-status, .cc-priority {
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid var(--edge);
  font-size: .75rem;
  font-weight: 750;
}
.cc-status { background: var(--palette-surface); }
.cc-controls {
  margin: 19px 0 8px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  max-width: 770px;
  gap: 10px;
}
.cc-controls label { display: grid; min-width: 0; gap: 4px; font-size: .77rem; font-weight: 700; }
.cc-controls select { width: 100%; min-width: 0; }
.cc-scorecard { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.workspace-palette .cc-kpi {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 13px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  border-top: 3px solid var(--cc-accent);
  background: linear-gradient(150deg,color-mix(in srgb,var(--palette-surface) 92%,var(--cc-accent)),var(--palette-surface));
  transition: transform .18s, box-shadow .18s;
}
.cc-blue { --cc-accent: var(--cc-blue); }
.cc-cyan { --cc-accent: var(--cc-cyan); }
.cc-violet { --cc-accent: var(--cc-violet); }
.cc-green { --cc-accent: var(--cc-green); }
.cc-amber { --cc-accent: var(--cc-amber); }
.cc-kpi-label { display: flex; align-items: start; justify-content: space-between; gap: 7px; font-weight: 720; }
.cc-kpi-icon { flex: none; border-radius: 9px; padding: 5px; color: var(--ink); background: color-mix(in srgb,var(--palette-surface) 76%,var(--cc-accent)); }
.cc-kpi-icon .icon { display: block; width: 17px; height: 17px; }
.cc-kpi strong { font-size: clamp(1.15rem, 2.25vw, 1.85rem); letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cc-kpi small { color: var(--muted); }
a.cc-kpi:hover { transform: translateY(-2px); }
.cc-grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,1fr); gap: 14px; align-items: start; }
.cc-column { display: grid; min-width: 0; gap: 14px; }
.cc-panel { min-width: 0; display: grid; gap: 10px; padding: clamp(13px,2vw,21px); overflow-wrap: anywhere; }
.cc-panel h2 { font-size: 1.1rem; letter-spacing: -.018em; }
.workspace-palette .cc-adviser { border-top: 3px solid var(--cc-violet); background: linear-gradient(145deg,var(--palette-violet),var(--palette-surface) 65%); }
.workspace-palette .cc-briefing { border-top: 3px solid var(--cc-cyan); }
.cc-chart-row { display: grid; grid-template-columns: minmax(3.7em,.55fr) minmax(22px,1fr) auto minmax(4.5em,auto); gap: 9px; align-items: center; font-size: .81rem; }
.cc-chart-row span:last-child { text-align: end; }
.cc-pipeline { display: grid; gap: 11px; }
.command-centre progress { width: 100%; height: 9px; accent-color: var(--cc-blue); }
.cc-chart-row:nth-child(3) progress { accent-color: var(--cc-violet); }
.cc-chart-row:nth-child(4) progress { accent-color: var(--cc-green); }
.cc-chart-row:nth-child(5) progress { accent-color: #d5607a; }
.cc-panel details { border-block: 1px solid var(--edge); padding: 9px 0; }
.cc-panel summary { cursor: pointer; font-weight: 650; }
.cc-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 10px 0; }
.cc-facts dd { margin: 0; font-weight: 700; }
.cc-list { display: grid; margin: 0; padding: 0; list-style: none; }
.cc-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--edge); }
.cc-list li:last-child { border: 0; }
.cc-list :is(small,strong) { display: block; }
.cc-list progress { flex: 0 1 40%; }
.cc-list button, .cc-panel > button { font-size: .78rem; justify-self: start; }
.cc-priority { display: inline-block; margin-bottom: 4px; background: var(--palette-blue); }
.cc-priority-1 { background: #ffe5eb; color: #8c2941; }
.cc-priority-2 { background: #fff0d9; color: #88490c; }
.command-centre :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 790px) { .cc-scorecard { grid-template-columns: repeat(2,minmax(0,1fr)); } .cc-grid { grid-template-columns: minmax(0,1fr); }
  .cc-column { display: contents; }
}
@media (max-width: 560px) { .cc-controls { grid-template-columns: minmax(0,1fr); } .cc-list li { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .workspace-palette .cc-kpi { transition: none; } a.cc-kpi:hover { transform: none; } }
.cc-quick-action { margin-top: 12px; }
.cc-sparkline { display: block; width: min(100%, 110px); height: 27px; }
.cc-sparkline polyline { fill: none; stroke: var(--cc-accent); stroke-width: 2; stroke-linejoin: round; }

/* Shared Lead screen colours and dashboard surfaces */
.workspace-palette {
  --lead-sky: #dcefff;
  --lead-light: #f1f6ff;
  --lead-blue: #e7ebff;
  --lead-violet: #f0e7ff;
  --palette-border: #d1dcff;
  --palette-heading: radial-gradient(ellipse at 8% 0%, var(--lead-sky), transparent 58%),
    linear-gradient(112deg,var(--lead-light) 5%,var(--lead-blue) 62%,var(--lead-violet));
  --palette-shadow: inset 0 1px #ffffff65, 0 6px 20px #2b47961b;
}
.custom-workspace-theme .workspace-palette {
  --lead-sky: color-mix(in srgb,var(--palette-surface) 86%,#dcefff);
  --lead-light: var(--palette-surface);
  --lead-blue: color-mix(in srgb,var(--palette-surface) 88%,#e7ebff);
  --lead-violet: color-mix(in srgb,var(--palette-surface) 83%,#f0e7ff);
  --palette-border: var(--edge);
}
.workspace-palette :is(.page-heading,.cc-hero,.li-hero) {
  border-color: var(--palette-border);
  border-radius: 20px;
  background: var(--palette-heading);
  box-shadow: var(--palette-shadow);
}
.workspace-palette .page-heading { padding: clamp(17px,3.2vw,32px); }
.workspace-palette :is(.page-heading,.cc-hero) h1 { color: #152b62; letter-spacing: -.045em; }
.workspace-palette :is(.page-heading,.cc-hero) p { color: #44577f; }
.custom-workspace-theme .workspace-palette :is(.page-heading,.cc-hero,.li-hero) :is(h1,p) { color: var(--ink); }
.workspace-palette :is(.cc-kpi,.overview-card) {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  min-height: 84px;
  color: var(--ink);
  border-top: 1px solid var(--palette-border);
  border-bottom: 3px solid color-mix(in srgb,var(--li-tint) 70%,var(--li-accent));
  background: linear-gradient(135deg,var(--palette-surface),color-mix(in srgb,var(--palette-surface) var(--palette-surface-weight,35%),var(--li-tint)));
  box-shadow: var(--palette-shadow);
  text-decoration: none;
}
.workspace-palette :is(.cc-kpi,.overview-card) :is(small,div > span) { font-size: .75rem; line-height: 1.25; color: var(--muted); }
.workspace-palette :is(.cc-kpi,.overview-card) strong { font-size: clamp(1rem,2vw,1.52rem); line-height: 1.15; }
.workspace-palette :is(.cc-kpi,.overview-card) .tile { background: var(--li-tint); color: var(--li-accent); }
.custom-workspace-theme .workspace-palette :is(.cc-kpi,.overview-card) strong { color: var(--ink); }
.overview-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 12px; }
.overview-arrow { margin-inline-start: auto; color: var(--li-accent); }
.cc-connections { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-connections a { color: var(--ink); background: var(--palette-surface); border: 1px solid var(--palette-border); border-radius: 8px; padding: 5px 9px; font-size: .78rem; }
.cc-main-row,.cc-chart-pair,.cc-summary-row { display: grid; gap: 12px; align-items: start; }
.cc-main-row { grid-template-columns: minmax(0,3fr) minmax(230px,1fr); }
.cc-chart-pair { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.cc-summary-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cc-summary-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.cc-scorecard { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.cc-funnel { display: grid; justify-items: center; gap: 3px; }
.command-centre .cc-funnel-step {
  display: grid; place-content: center; text-align: center; color: white;
  text-decoration: none; font-size: .8rem; min-height: 41px;
  clip-path: polygon(0 0,100% 0,94% 100%,6% 100%);
}
.cc-step-0 { width: 100%; background: #087961; }
.cc-step-1 { width: 89%; background: #096b94; }
.cc-step-2 { width: 78%; background: #623cb2; }
.cc-step-3 { width: 68%; background: #8b5110; }
.command-centre a.cc-funnel-step:focus-visible { clip-path: none; outline-offset: 0; }
.cc-sources { display: grid; grid-template-columns: minmax(80px,1fr) minmax(0,1fr); align-items: center; gap: 12px; }
.cc-donut { position: relative; max-width: 155px; width: 100%; margin: auto; }
.cc-donut svg { display: block; }
.cc-donut span { position: absolute; inset: 0; display: grid; align-content: center; text-align: center; font-size: .7rem; }
.cc-donut strong { font-size: 1.35rem; }
.cc-ring-0 { stroke: #315df5; } .cc-ring-1 { stroke: #0c92a8; } .cc-ring-2 { stroke: #7446c6; }
.cc-ring-3 { stroke: #149475; } .cc-ring-4 { stroke: #bd761d; } .cc-ring-5 { stroke: #bf5381; }
.cc-sources progress { display: none; }
.cc-panel:is(.cc-funnel-panel,.cc-acquisition,.cc-adviser) { background: linear-gradient(150deg,var(--lead-light),var(--palette-surface) 75%); }
@media (max-width: 1200px) { .cc-scorecard { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 900px) { .cc-main-row { grid-template-columns: minmax(0,1fr); } .cc-summary-four { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .cc-scorecard { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cc-chart-pair,.cc-summary-row { grid-template-columns: minmax(0,1fr); }
  .command-centre .cc-kpi .tile { width: 25px; height: 25px; }
}
.command-centre .cc-hero { padding: clamp(15px,2vw,23px); }
.command-centre .cc-hero h1 { font-size: clamp(1.55rem,3vw,2.25rem); }
.command-centre .cc-hero h1 + p { margin-top: 4px; }
.cc-controls { margin-top: 12px; }
.cc-source-legend li { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; }
.cc-source-legend svg { display: block; width: 10px; height: 10px; }
.command-centre .cc-hero { padding: 10px 14px; }
.command-centre .cc-hero-top { gap: 8px 14px; align-items: center; }
.cc-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cc-identity .workspace-mark { width: 37px; height: 37px; }
.command-centre .cc-hero h1 { font-size: clamp(1.25rem,2.3vw,1.85rem); }
.command-centre .cc-hero .cc-account { margin-bottom: 1px !important; font-size: .8rem; }
.command-centre .cc-hero h1 + p { margin-top: 2px; font-size: .8rem; }
.cc-freshness { gap: 5px; }
.cc-freshness button { min-height: 34px; padding: 5px 8px; font-size: .78rem; }
.cc-hero .cc-controls { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 6px 0 4px; }
.cc-hero .cc-controls label { grid-template-rows: 1fr auto; gap: 2px; }
.cc-hero .cc-controls select { min-height: 34px; padding: 4px 6px; font-size: .78rem; }
.cc-hero > .cc-meta { font-size: .72rem; }
@media (max-width: 560px) {
  .command-centre .cc-hero { padding: 9px; }
  .cc-freshness button,.cc-hero .cc-controls select { min-height: 44px; }
}
.cc-filter-row { display: flex; align-items: end; gap: 8px 14px; margin-top: 6px; }
.cc-filter-row .cc-controls { flex: 1; margin: 0; }
.cc-hero .cc-controls label { margin: 0; line-height: 1.2; }
.cc-filter-row .cc-meta { font-size: .72rem; line-height: 1.3; }
@media (max-width: 940px) {
  .cc-filter-row { display: grid; gap: 5px; }
}
.cc-summary-row { align-items: stretch; }
.cc-summary-row .cc-panel { align-content: start; }
.workspace-palette .cc-tinted {
  background: linear-gradient(145deg,color-mix(in srgb,var(--palette-surface) 74%,var(--cc-tint)),var(--palette-surface) 72%);
  border-top: 3px solid color-mix(in srgb,var(--cc-tint) 57%,var(--cc-line));
}
.cc-tint-amber { --cc-tint:#fff0db; --cc-line:#ac5d12; }
.cc-tint-violet { --cc-tint:#f0e9ff; --cc-line:#7345cf; }
.cc-tint-cyan { --cc-tint:#e1f7fc; --cc-line:#087d9a; }
.cc-tint-emerald { --cc-tint:#e2f7ed; --cc-line:#07836b; }
.workspace-palette .cc-tinted > a:last-child { justify-self: start; font-size: .81rem; font-weight: 700; }
.workspace-palette .section-overview .overview-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 11px;
  padding: 14px;
}
.section-overview .overview-card-head { display: flex; align-items: flex-start; gap: 9px; }
.section-overview .overview-card-head h2 { margin: 0; font-size: .91rem; }
.section-overview .overview-card-head strong { display: block; }
.section-overview .overview-preview { margin: 0; padding: 0; list-style: none; }
.section-overview .overview-preview li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px;
  padding: 6px 0; border-top: 1px solid var(--palette-border); overflow-wrap: anywhere;
}
.section-overview .overview-preview li > span { font-size: .8rem; font-weight: 650; }
.section-overview .overview-preview small { max-width: 100%; }
.section-overview .overview-empty { margin: 0; color: var(--muted); font-size: .8rem; }
.section-overview .overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.section-overview .overview-actions :is(a,button) { font-size: .77rem; font-weight: 700; }
.section-overview .overview-record {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 3px 8px;
  width: 100%;
  min-height: 44px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-align: start;
}
.section-overview .overview-record > span:first-child { font-size: .8rem; font-weight: 700; }
.section-overview .overview-record small { grid-column: 1; font-weight: 400; }
.section-overview .overview-record > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.section-overview .overview-record:hover { background: var(--palette-blue); border-color: var(--palette-border); }
.section-overview .overview-record:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.section-overview .overview-preview li:has(.overview-record) { display: block; padding: 2px 0; }
.crm-workspace,.deal-workspace { display: grid; gap: 14px; min-width: 0; }
.crm-tabs,.deal-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.crm-tabs { border-bottom: 1px solid var(--edge); padding-bottom: 10px; }
.crm-period { max-width: 230px; }
.deal-filters { padding: 12px; align-items: end; }
.deal-filters label { margin: 0; flex: 1; min-width: 130px; }
.deal-board { display: flex; gap: 11px; padding: 14px; overflow-x: auto; max-width: 100%; align-items: stretch; }
.deal-column { flex: 0 0 235px; min-width: 0; padding: 10px; border-radius: 12px; background: var(--palette-blue); }
.deal-column:nth-child(3n+2) { background: var(--palette-violet); }
.deal-column:nth-child(3n) { background: color-mix(in srgb,var(--palette-surface) 85%,#a7e8cc); }
.deal-column h3 { display: flex; justify-content: space-between; margin: 0 0 5px; font-size: .9rem; }
.deal-card { display: grid; min-width: 0; gap: 7px; padding: 12px; margin-top: 10px; overflow-wrap: anywhere; }
.deal-card .research-link { text-align: start; font-weight: 750; }
.deal-card p { font-size: .8rem; margin: 0; }
.deal-card small { font-size: .76rem; color: var(--muted); }
.deal-card select { width: 100%; }
.crm-workspace .table-scroll { max-width: 100%; }
.crm-workspace table { min-width: 940px; }
.crm-workspace .dash-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
.crm-workspace .row-actions { flex-wrap: wrap; min-width: 210px; }
.crm-convert-list { max-height: 50vh; overflow-y: auto; }
@media(max-width:790px) { .crm-workspace .dash-grid { grid-template-columns: minmax(0,1fr); } .crm-tabs button { flex: 1 0 auto; } }
.deal-workspace > *, .crm-workspace > * { min-width: 0; }
.deal-workspace .paper { min-width: 0; }
.deal-board { width: 100%; box-sizing: border-box; }
.crm-workspace .button-row,.deal-workspace .button-row { flex-wrap: wrap; min-width: 0; }
.crm-workspace .record-tools { flex-wrap: wrap; }
.crm-workspace .stat strong,.deal-workspace .stat strong { overflow-wrap: anywhere; }
@media(max-width:790px) {
  .crm-workspace .stats,.deal-workspace .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.deal-grip { cursor: grab; user-select: none; color: var(--muted); font-size: .73rem; padding: 5px 0; }
.deal-grip:active { cursor: grabbing; }
.crm-record-actions { display: flex; flex-wrap: wrap; gap: 4px 7px; min-width: 230px; max-width: 310px; }
.crm-record-actions button { white-space: nowrap; }
.email-workspace { display: grid; gap: 14px; min-width: 0; }
.email-workspace > * { min-width: 0; }
.email-workspace :is(.button-row,.record-tools) { flex-wrap: wrap; }
.email-workspace .li-hero { flex-wrap: wrap; }
.email-search { flex: 0 1 340px; margin: 0; }
.email-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-block: 1px solid var(--edge); }
.email-tabs button { font-size: .76rem; }
.email-workspace .table-scroll { max-width: 100%; overflow-x: auto; }
.email-workspace table { min-width: 1050px; }
.email-row-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; min-width: 210px; max-width: 290px; }
.email-row-actions button { font-size: .75rem; }
.email-detail { padding: 15px; max-width: 900px; }
.email-detail pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; border: 1px solid var(--edge); background: var(--palette-surface); padding: 16px; border-radius: 12px; }
.email-detail .button-row,.email-attachment-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 9px 0; }
.email-control-centre { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; }
.email-control-centre h2 { font-size: 1rem; margin: 0; }
.email-control-centre p { margin: 4px 0; font-size: .82rem; }
.email-control-centre small { color: var(--muted); }
dialog.email-dialog { width: min(1080px,calc(100vw - 24px)); max-width: 1080px; }
.email-compose-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 22px; }
.email-compose-grid > * { min-width: 0; }
.email-compose-grid .button-row { flex-wrap: wrap; align-items: end; }
.email-compose-grid .button-row label { margin-bottom: 0; }
.email-compose-grid aside { border-inline-start: 1px solid var(--edge); padding-inline-start: 16px; }
.email-compose-grid h3 { margin: 8px 0; }
.email-recipients { display: grid; gap: 6px; max-height: 250px; overflow-y: auto; margin-bottom: 15px; }
.email-recipient { display: grid; gap: 3px; text-align: start; border: 1px solid var(--edge); background: var(--palette-surface); color: var(--ink); border-radius: 9px; padding: 10px; overflow-wrap: anywhere; }
.email-recipient[hidden] { display: none; }
.email-recipient small { color: var(--muted); font-size: .75rem; }
@media(max-width:700px) {
 .email-compose-grid { grid-template-columns: minmax(0,1fr); }
 .email-compose-grid aside { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--edge); padding-top: 12px; }
 .email-workspace .record-tools { align-items: start; }
}
@font-face{font-family:Outfit;src:url('/fonts/outfit-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Outfit;src:url('/fonts/outfit-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Outfit;src:url('/fonts/outfit-latin-600-normal.woff2') format('woff2');font-weight:600 900;font-display:swap}
.crm-replica{--crm-bg:#f8fafc;--crm-card:#fff;--crm-soft:#f1f5f9;--crm-border:#e2e8f0;--crm-text:#0f172a;--crm-muted:#64748b;background:var(--crm-bg);color:var(--crm-text);font-family:Outfit,Arial,sans-serif;padding:0 0 24px;border-radius:12px;min-width:0}
.crm-replica-dark{--crm-bg:#020817;--crm-card:#0f172a;--crm-soft:#1e293b;--crm-border:#26354b;--crm-text:#f1f5f9;--crm-muted:#94a3b8}
.crm-replica h2,.crm-replica h3,.crm-replica strong{color:var(--crm-text)}
.crm-replica button,.crm-replica input,.crm-replica select{font-family:inherit}
.crm-replica small,.crm-replica time{color:var(--crm-muted);font-size:12px}
.crm-origin-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid var(--crm-border);margin-bottom:24px;flex-wrap:wrap}
.crm-origin-tabs{display:flex;gap:24px;overflow-x:auto;max-width:100%;scrollbar-width:thin}
.crm-origin-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--crm-muted);padding:14px 0;font-size:14px;white-space:nowrap;box-shadow:none;transform:none}
.crm-origin-tabs button[aria-pressed=true]{color:#0ea5e9;border-bottom-color:#0ea5e9;font-weight:600}
.crm-time-pills{display:flex;gap:3px;align-items:center;overflow-x:auto;max-width:100%}
.crm-time-pills button{white-space:nowrap;border:0;background:none;color:var(--crm-muted);padding:6px 10px;border-radius:6px;font-size:11px;box-shadow:none;min-height:30px}
.crm-time-pills button[aria-pressed=true]{background:#0ea5e9;color:white}
.crm-origin-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-bottom:24px}
.crm-origin-stat{background:var(--crm-card);border:1px solid var(--crm-border);border-radius:24px;padding:22px;min-width:0;box-shadow:0 8px 22px #0f172a05}
.crm-origin-stat>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}
.crm-origin-stat>span{font-size:13px;color:var(--crm-muted);display:block}
.crm-origin-stat>strong{font-size:30px;line-height:1.2;display:block;margin-top:7px;overflow-wrap:anywhere;font-weight:600}
.crm-origin-icon{width:46px;height:46px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.crm-origin-icon svg{width:23px;height:23px}
.crm-origin-chip{display:inline-block;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:500;white-space:nowrap;background:var(--crm-soft);color:var(--crm-muted)}
.tone-sky{background:#e0f2fe;color:#0284c7}.tone-green{background:#d1fae5;color:#059669}.tone-violet{background:#ede9fe;color:#7c3aed}.tone-amber{background:#fef3c7;color:#d97706}.tone-cyan{background:#cffafe;color:#0891b2}
.crm-origin-three{display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:22px;margin-bottom:24px}
.crm-origin-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.crm-origin-panel{border:1px solid var(--crm-border);background:var(--crm-card);border-radius:26px;padding:24px;min-width:0;box-shadow:0 8px 22px #0f172a04}
.crm-origin-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}
.crm-origin-panel h3,.crm-origin-panel h2{font-size:16px;font-weight:500;margin:0}
.crm-replica .quiet{color:var(--crm-muted);background:none;border:0;box-shadow:none;font-size:12px;padding:5px}
.crm-origin-mix{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.crm-origin-mix svg{width:160px;flex:1;min-width:130px;max-width:190px}
.crm-stage-legend{flex:1;min-width:130px}.crm-stage-legend>div{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.crm-stage-legend strong{margin-left:auto}
.crm-chart-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.crm-chart-colour-0{stroke:#0ea5e9}.crm-chart-colour-1{stroke:#10b981}.crm-chart-colour-2{stroke:#8b5cf6}.crm-chart-colour-3{stroke:#f59e0b}.crm-chart-colour-4{stroke:#ec4899}.crm-chart-colour-5{stroke:#6366f1}
.crm-chart-fill-0{background:#0ea5e9}.crm-chart-fill-1{background:#10b981}.crm-chart-fill-2{background:#8b5cf6}.crm-chart-fill-3{background:#f59e0b}.crm-chart-fill-4{background:#ec4899}.crm-chart-fill-5{background:#6366f1}
.crm-stage-legend footer{padding:12px;background:var(--crm-soft);border-radius:12px;margin-top:18px}.crm-stage-legend footer strong{font-size:20px;display:block}.crm-stage-legend footer small{display:block;margin-top:3px}
.crm-origin-line{width:100%;height:190px;overflow:visible}.crm-origin-line line{stroke:var(--crm-border);stroke-dasharray:3 4}.crm-origin-line polyline{stroke:#0ea5e9;stroke-width:3;fill:none}.crm-origin-line circle{fill:#0ea5e9;stroke:var(--crm-card);stroke-width:2}.crm-origin-line text{fill:var(--crm-muted);font-size:9px}
.crm-priority-rows{display:grid;gap:8px;margin-top:16px}.crm-priority-rows>div{display:flex;align-items:center;gap:8px;background:var(--crm-soft);border-radius:12px;padding:11px;font-size:12px}.crm-priority-rows strong{margin-left:auto}
.crm-status{font-size:10px;border-radius:6px;padding:3px 6px;white-space:nowrap}.status-good{color:#059669;background:#d1fae5}.status-action{color:#e11d48;background:#ffe4e6}.status-watch{color:#d97706;background:#fef3c7}
.crm-origin-gauge{position:relative;height:174px;max-width:215px;margin:0 auto}.crm-origin-gauge svg{width:100%;height:100%}.crm-origin-gauge path{fill:none;stroke-width:14;stroke-linecap:round}.crm-gauge-base{stroke:var(--crm-soft)}.crm-gauge-value{stroke:#0ea5e9}.crm-origin-gauge>div{position:absolute;inset:60px 0 0;text-align:center}.crm-origin-gauge strong{font-size:32px;display:block}.crm-origin-gauge small{display:block}
.crm-readiness-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:14px}.crm-readiness-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.crm-readiness-list strong{font-size:11px;font-weight:500;text-align:right}.crm-readiness-list small{display:block}.crm-readiness-list p{display:flex;justify-content:space-between}
.crm-origin-events article,.crm-activity-list article{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--crm-border)}.crm-origin-events article:last-child{border:0}.crm-origin-events .crm-origin-icon{width:34px;height:34px;border-radius:10px}.crm-origin-events strong,.crm-activity-list strong{font-size:12px}.crm-origin-events p,.crm-activity-list p{font-size:12px;color:var(--crm-muted);margin:3px 0}.crm-origin-events time,.crm-activity-list time{margin-left:auto;white-space:nowrap;font-size:10px}
.crm-origin-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.crm-origin-insights>div{background:var(--crm-soft);border-radius:14px;padding:14px;font-size:11px;color:var(--crm-muted)}.crm-origin-insights strong{display:block;font-size:25px;margin-top:8px}.crm-origin-insights span{background:none}.crm-origin-caption{font-size:11px;color:var(--crm-muted);line-height:1.6;margin:14px 0}.crm-origin-alerts>div{padding:12px 0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--crm-border);font-size:12px}.crm-origin-alerts small{display:block;margin-top:3px}.crm-origin-empty{padding:40px 20px;color:var(--crm-muted);text-align:center;font-size:14px}
.crm-original-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.crm-original-tools>input{max-width:384px;margin:0}.crm-replica input,.crm-replica select,.crm-replica textarea{border:1px solid var(--crm-border);background:var(--crm-card);color:var(--crm-text);font-size:13px;border-radius:7px;box-shadow:none}
.crm-contacts-scroll{overflow:auto;max-height:calc(100dvh - 250px);border:1px solid var(--crm-border);border-radius:12px;background:var(--crm-card)}.crm-original-table{min-width:1050px;width:100%;font-size:12px;border-collapse:collapse}.crm-original-table th{background:var(--crm-soft);font-size:11px;color:var(--crm-muted);font-weight:500;position:sticky;top:0;z-index:1}.crm-original-table td{padding:12px 14px;border-bottom:1px solid var(--crm-border);color:var(--crm-muted)}.crm-original-table td:last-child,.crm-original-table th:last-child{position:sticky;right:0;background:var(--crm-card)}.crm-original-table select{width:130px;padding:6px;font-size:11px;min-height:32px}.crm-contact-name{display:flex;align-items:center;gap:10px;white-space:nowrap}.crm-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#0ea5e9,#6366f1);color:white;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px;font-weight:600}.crm-original-table .research-link{font-weight:500;font-size:13px;color:var(--crm-text)}.crm-original-table small{display:block;font-size:11px;margin-top:3px}
.crm-compact-actions{display:flex;gap:4px;align-items:center}.crm-icon-action{padding:5px;width:30px;height:30px;min-height:30px;border:0;background:none;color:var(--crm-muted);box-shadow:none;border-radius:6px}.crm-icon-action svg{width:16px;height:16px}.crm-more{position:relative}.crm-more summary{cursor:pointer;padding:6px;list-style:none}.crm-more[open]>div{position:absolute;right:0;top:100%;z-index:6;min-width:170px;padding:6px;border:1px solid var(--crm-border);background:var(--crm-card);border-radius:10px;box-shadow:0 8px 25px #0002;display:grid}.crm-more .quiet{text-align:left}.crm-more a{font-size:12px;padding:6px}.crm-bulk{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px;background:var(--crm-soft);border-radius:10px;margin-bottom:12px}
.crm-company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.crm-company-card{background:var(--crm-card);border:1px solid var(--crm-border);border-radius:12px;padding:20px}.crm-company-card header{display:flex;gap:12px;align-items:center}.crm-company-card small{display:block;margin-top:4px}.crm-company-card p{font-size:12px;color:var(--crm-muted);overflow-wrap:anywhere}.crm-company-card footer{display:flex;justify-content:space-between;border-top:1px solid var(--crm-border);padding-top:14px;font-size:11px;color:var(--crm-muted)}
.crm-task-list article{display:flex;align-items:center;gap:12px;background:var(--crm-card);border:1px solid var(--crm-border);border-radius:10px;padding:15px;margin:10px 0}.crm-task-list article>div{flex:1}.crm-task-list strong{font-size:14px}.crm-task-list p{font-size:12px;color:var(--crm-muted);margin:4px 0}.crm-task-check{border:0;background:none;color:#0ea5e9;box-shadow:none;font-size:22px;padding:4px}.crm-task-priority{font-size:11px;border-radius:5px;background:#fef3c7;color:#92400e;padding:4px 8px}.is-completed{opacity:.65}.is-completed strong{text-decoration:line-through}
.crm-staff-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;margin-bottom:24px}.crm-staff-grid label{margin-top:15px}.crm-staff-qr{text-align:center}.crm-staff-qr img{width:min(100%,280px);border-radius:16px}.crm-staff-qr .button-row{justify-content:center}.crm-staff-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:24px}.crm-staff-metrics strong{display:block;font-size:26px;margin-top:8px}.crm-staff-create{display:flex;align-items:center;justify-content:space-between;gap:30px}.crm-staff-create p{color:var(--crm-muted);font-size:14px;max-width:540px}.crm-qr-placeholder{font-size:120px;color:#94a3b8;background:var(--crm-soft);border-radius:20px;min-width:180px;text-align:center}.crm-public-form{max-width:620px;margin:40px auto;padding:16px}.crm-public-form label{margin:15px 0}
#dialog.crm-detail-sheet{position:fixed;inset:0 0 0 auto;margin:0;width:650px;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:0;border:0;border-left:1px solid #e2e8f0;box-shadow:-12px 0 48px #0f172a20;overflow-y:auto;font-family:Outfit,Arial,sans-serif}
.crm-detail-sheet>header{padding:20px 24px;border-bottom:1px solid #e2e8f0;position:sticky;top:0;background:#fff;z-index:3}.crm-detail-sheet .crm-sheet-person{display:flex;align-items:center;gap:14px;padding:24px}.crm-sheet-person .crm-avatar{width:52px;height:52px;font-size:18px}.crm-sheet-person strong{font-size:20px}.crm-sheet-person small{display:block;color:#64748b;margin-top:4px}.crm-sheet-person .badge{margin-left:auto}.crm-sheet-quick{padding:0 24px 20px;display:flex;gap:7px;flex-wrap:wrap}.crm-sheet-quick button{font-size:11px;padding:8px}.crm-sheet-info{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px 24px;border-block:1px solid #e2e8f0;font-size:13px;overflow-wrap:anywhere}.crm-sheet-info small{display:block;font-size:11px;color:#64748b;margin-bottom:4px}.crm-detail-sheet .crm-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:0 24px;gap:20px;border-bottom:1px solid #e2e8f0}.crm-detail-sheet .crm-tabs button{border:0;border-radius:0;box-shadow:none;background:none;color:#64748b;font-size:12px;white-space:nowrap;padding:15px 0}.crm-detail-sheet .crm-tabs button[aria-pressed=true]{border-bottom:2px solid #0ea5e9;color:#0284c7}.crm-detail-sheet .core-related-grid,.crm-detail-sheet .dialog-actions{margin:20px 24px}
@media(min-width:1600px){.crm-origin-toolbar{flex-wrap:nowrap}.crm-origin-tabs{gap:22px}}
@media(max-width:1150px){.crm-origin-stats{gap:10px}.crm-origin-stat{padding:16px}.crm-origin-chip{font-size:9px}.crm-origin-three{grid-template-columns:1fr 1fr}.crm-origin-three>.crm-origin-panel:last-child{grid-column:1/-1}.crm-origin-gauge{height:180px}.crm-readiness-list{gap:12px}.crm-staff-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.crm-origin-toolbar{gap:2px;margin-bottom:16px}.crm-origin-tabs{gap:20px}.crm-time-pills{padding:8px 0}.crm-time-pills button{font-size:10px;padding:6px 8px}.crm-origin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-origin-stat{padding:16px;border-radius:18px}.crm-origin-stat:last-child{grid-column:1/-1}.crm-origin-stat>strong{font-size:26px}.crm-origin-three,.crm-origin-two,.crm-staff-grid,.crm-company-grid{grid-template-columns:minmax(0,1fr);gap:16px}.crm-origin-panel{padding:20px;border-radius:20px}.crm-original-tools{flex-wrap:wrap;gap:12px}.crm-original-tools>input{max-width:100%}.crm-original-tools .button-row{gap:6px}.crm-original-tools button{font-size:11px;padding:8px 10px}.crm-origin-insights{gap:6px}.crm-origin-insights>div{padding:10px;font-size:10px}.crm-origin-events time{font-size:9px;white-space:normal;max-width:64px}.crm-staff-metrics{grid-template-columns:repeat(2,1fr);gap:10px}.crm-staff-create{flex-direction:column}.crm-activity-list time{max-width:80px;white-space:normal}.crm-replica{border-radius:0}.crm-sheet-info{gap:14px}.crm-detail-sheet .crm-sheet-person{padding:20px}.crm-sheet-quick{padding-inline:20px}}
@media(prefers-reduced-motion:no-preference){.crm-origin-panel,.crm-origin-stat,.crm-company-card{animation:crm-enter .25s ease-out}@keyframes crm-enter{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}}
.crm-replica>.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}
.crm-detail-sheet>.dialog-head{padding:16px 24px;border-bottom:1px solid #e2e8f0;position:sticky;top:0;background:#fff;z-index:3;margin:0}.crm-detail-sheet>.dialog-head h2{font-size:16px}.crm-detail-sheet .crm-sheet-quick a{font-size:11px;padding:8px}.crm-theme-toggle{min-width:30px}.crm-replica-dark .crm-origin-panel,.crm-replica-dark .crm-origin-stat{box-shadow:none}
.crm-original-board{display:flex;gap:12px;overflow-x:auto;padding-bottom:16px;max-width:100%}.crm-original-column{min-width:240px;max-width:280px;flex:0 0 240px;border-radius:12px;border:1px solid #0ea5e94d;background:#0ea5e909;padding:12px;min-height:170px}.crm-original-column>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.crm-original-column h3{font-size:12px;text-transform:uppercase;letter-spacing:.7px;margin:0;color:#0284c7}.crm-original-column header small{font-size:10px}.crm-original-column header>span{border-radius:12px;background:var(--crm-soft);padding:2px 7px;font-size:11px}.crm-deal-tone-1{border-color:#8b5cf64d;background:#8b5cf609}.crm-deal-tone-1 h3{color:#8b5cf6}.crm-deal-tone-2{border-color:#06b6d44d;background:#06b6d409}.crm-deal-tone-2 h3{color:#0891b2}.crm-deal-tone-3{border-color:#f59e0b4d;background:#f59e0b09}.crm-deal-tone-3 h3{color:#d97706}.crm-deal-tone-4{border-color:#ec48994d;background:#ec489909}.crm-deal-tone-4 h3{color:#db2777}.crm-deal-tone-5,.crm-deal-tone-6{border-color:#10b9814d;background:#10b98109}.crm-deal-tone-5 h3,.crm-deal-tone-6 h3{color:#059669}.crm-deal-tone-7{border-color:#f43f5e4d;background:#f43f5e09}.crm-deal-tone-7 h3{color:#e11d48}.crm-deal-tone-6,.crm-deal-tone-7{flex-basis:200px;min-width:200px;max-width:220px}.crm-deal-card{background:var(--crm-card);border:1px solid var(--crm-border);border-radius:9px;padding:12px;margin-top:8px}.crm-deal-card>.research-link{font-size:14px;font-weight:500;color:var(--crm-text)}.crm-deal-card>small{display:block;margin-top:4px;font-size:10px}.crm-deal-card>.deal-grip{display:inline-block;margin-right:5px;cursor:grab;font-size:16px}.crm-deal-amount{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.crm-deal-amount strong{font-size:13px;color:#059669}.crm-deal-card p{font-size:11px;color:#0284c7}.crm-deal-card .button-row{margin:10px 0}.crm-deal-card .secondary{padding:5px 8px;font-size:10px;border-color:var(--crm-border);background:var(--crm-card);color:var(--crm-text)}.crm-deal-card select{padding:5px;font-size:10px;min-height:28px}.crm-deal-drop{font-size:10px;color:var(--crm-muted);text-align:center;border:1px dashed var(--crm-border);border-radius:8px;padding:24px 4px}.crm-deal-switch{display:flex;background:var(--crm-soft);border-radius:8px;padding:3px}.crm-deal-switch button{font-size:12px;padding:6px 12px}
#dialog.crm-detail-sheet{width:512px;animation:none;transform:none}.crm-sheet-resizer{position:absolute;left:0;top:0;height:100%;width:6px;cursor:col-resize;z-index:5;touch-action:none}.crm-sheet-resizer:hover,.crm-sheet-resizer:focus-visible{background:#0ea5e960;outline:0}
.email-replica{font-family:Outfit,Arial,sans-serif;gap:24px;color:var(--ink)}
.email-origin-page{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:24px 26px;border:1px solid var(--edge);border-radius:20px;background:linear-gradient(120deg,#e9f7ff,#eeeaff);box-shadow:0 10px 24px #17255406}
.email-eyebrow{display:block;color:#59648a;font-size:10px;font-weight:600;letter-spacing:2px;margin-bottom:8px}.email-origin-page h1{font-size:24px;line-height:1.25;font-weight:600;max-width:700px;margin:0}.email-origin-page p{font-size:12px;color:var(--muted);max-width:700px;line-height:1.6;margin:10px 0 0}.email-origin-page>input{flex:0 1 310px;max-width:340px;min-width:180px;margin:0;font-family:inherit;font-size:12px;background:var(--palette-surface)}
.email-origin-control{display:flex;gap:24px;align-items:center;justify-content:space-between;border:1px solid var(--edge);background:var(--palette-surface);border-radius:9px;padding:16px}.email-origin-gates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;flex:1}.email-origin-gates>div{display:flex;gap:12px;align-items:center}.email-origin-gates svg{width:20px;height:20px;color:var(--brand-bg,#2545db);flex-shrink:0}.email-origin-gates strong{font-size:13px;display:block;font-weight:500}.email-origin-gates small{font-size:11px;color:var(--muted);display:block;line-height:1.5;margin-top:4px}.email-origin-control>.button-row{max-width:450px;justify-content:flex-end;gap:8px}.email-origin-control button{padding:8px 11px;font-size:11px;border-radius:5px}.email-demo-cap{font-size:10px;padding:5px 9px;border-radius:6px;background:#eef2ff;color:#59648a}
.email-origin-outbox{border:1px solid var(--edge);border-radius:9px;background:var(--palette-surface);overflow:hidden}.email-origin-outbox>header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px;border-bottom:1px solid var(--edge)}.email-origin-outbox h2{font-size:13px;margin:0;font-weight:600}.email-origin-outbox header small{display:block;font-size:10.5px;color:var(--muted);margin-top:4px}.email-origin-outbox>header button{padding:7px 11px;font-size:12px;border-radius:4px;gap:6px;min-height:32px;box-shadow:none}.email-origin-outbox>header svg{width:14px;height:14px}.email-replica .email-tabs{padding:8px 14px;gap:4px;border-top:0;align-items:center}.email-replica .email-tabs button{background:none;color:var(--muted);font-size:11px;font-weight:500;border:0;border-radius:6px;padding:5px 12px;box-shadow:none;min-height:28px}.email-replica .email-tabs button[aria-pressed=true]{background:var(--brand-bg,#2945d8);color:white}.email-replica .email-tabs span{font-size:9px;opacity:.8}.email-origin-selection{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:10px;color:var(--muted)}
.email-origin-scroll{overflow:auto;max-width:100%}.email-workspace .email-origin-table{min-width:920px;width:100%;border-collapse:collapse;font-family:inherit;font-size:12px}.email-origin-table th{font-family:Consolas,monospace;font-size:9.5px;text-transform:uppercase;letter-spacing:.7px;background:color-mix(in srgb,var(--palette-surface) 94%,#eef2ff);padding:10px 12px;font-weight:400;color:var(--muted)}.email-origin-table td{padding:12px;border-bottom:1px solid var(--edge);color:var(--muted);font-size:11px}.email-origin-table small{display:block;font-size:10px;margin-top:4px}.email-origin-table tr:last-child td{border-bottom:0}.email-origin-table button{font-family:inherit}.email-address,.email-subject{background:none;border:0;box-shadow:none;min-height:24px;border-radius:0;padding:0;text-align:left;font-size:12px;line-height:1.5}.email-address{font-family:Consolas,monospace!important;color:var(--brand-bg,#2945d8);max-width:230px;overflow-wrap:anywhere}.email-subject{color:var(--ink);max-width:310px;min-width:140px}.email-origin-table tbody>tr[data-email-row]:hover{background:#6366f106}.email-is-expanded{background:#6366f110;box-shadow:inset 3px 0 #6366f1}.email-is-selected{background:#6366f11d;box-shadow:inset 4px 0 #6366f1}
.email-status{display:inline-flex;gap:4px;align-items:center;font-size:9.5px;padding:3px 8px;border-radius:16px;text-transform:uppercase;font-weight:600;background:#e0f2fe;color:#0284c7;white-space:nowrap}.email-status svg{width:12px;height:12px}.email-status-scheduled{background:#ede9fe;color:#7c3aed}.email-status-delivered{background:#d1fae5;color:#059669}.email-status-opened,.email-status-read{background:#fce7f3;color:#db2777}.email-status-replied{background:#ede9fe;color:#7c3aed}.email-status-failed{background:#ffe4e6;color:#e11d48}.email-status-previewed{background:#f1f5f9;color:#64748b}.email-tracking{display:inline-flex;align-items:center;gap:6px;font-size:10px;cursor:help;white-space:nowrap}.email-tracking svg{width:14px;height:14px}.email-origin-actions{display:flex;gap:2px;min-width:max-content}.email-origin-actions .email-origin-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;padding:5px;background:none;color:var(--muted);border:0;box-shadow:none;border-radius:5px}.email-origin-icon svg{width:14px;height:14px}.email-origin-icon:hover{background:#6366f112;color:#4f46e5}.email-origin-icon[title=Delete]:hover{background:#ffe4e6;color:#e11d48}.email-origin-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:11px}.email-detail{max-width:none;padding:14px 8px}.email-detail pre{font-size:12px;border-radius:6px;font-family:Outfit,Arial,sans-serif;margin:12px 0;min-height:70px}.email-tracking-panel{font-size:11px;padding:10px 12px;margin-top:12px;background:#6366f107;border:1px solid var(--edge);border-radius:6px}.email-detail .button-row button{padding:6px 9px;font-size:11px;box-shadow:none;border-radius:4px}.email-origin-empty{padding:40px;text-align:center;font-size:12px;color:var(--muted)}.email-received-replies{background:#10b9810d;border:1px solid #10b9814d;border-radius:6px;padding:12px;margin:14px 0}.email-received-replies h3{font-size:12px;color:#059669;margin:0 0 10px}.email-received-replies article{border:1px solid var(--edge);border-radius:5px;padding:10px;background:var(--palette-surface);margin-top:8px}.email-received-replies header{display:flex;justify-content:space-between;gap:12px;font-size:11px}.email-received-replies time{font-size:10px;color:var(--muted)}.email-received-replies p{white-space:pre-wrap;font-size:12px;line-height:1.6}.email-demo-note{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:11px}.email-demo-note button{font-size:11px;padding:6px;white-space:nowrap}.email-self-test{font-size:12px;color:var(--muted);border-top:1px solid var(--edge);padding-top:12px}.email-self-test summary{cursor:pointer;padding:8px 0}
#dialog.email-dialog{width:512px;max-width:calc(100vw - 20px);max-height:90dvh;font-family:Outfit,Arial,sans-serif;border-radius:10px;padding:22px;box-shadow:0 24px 90px #0f172a35}#dialog.email-dialog>.dialog-head h2{font-size:16px}#dialog.email-dialog>.dialog-head{margin-bottom:10px}.email-origin-compose{display:grid;gap:14px;min-width:0}.email-origin-compose label,.email-origin-settings label{font-size:11px;color:var(--muted);font-weight:500;display:block;margin:0}.email-origin-compose input,.email-origin-compose textarea,.email-origin-compose select,.email-origin-settings input,.email-origin-settings select{font:12px Outfit,Arial,sans-serif;padding:8px 11px;border-radius:6px;min-height:34px;margin-top:5px;color:var(--ink);background:var(--palette-surface);border:1px solid var(--edge);box-shadow:none}.email-origin-compose input[type=checkbox]{min-height:0;margin:0}.email-origin-compose textarea{width:100%;resize:vertical}.email-origin-compose p,.email-origin-settings>p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.email-origin-compose small{font-size:10px;color:var(--muted);line-height:1.5}.email-compose-description{margin-top:-3px!important}.email-template-picker{font-size:11px;justify-self:end}.email-template-picker summary{border:1px solid var(--edge);border-radius:6px;padding:6px 10px;cursor:pointer}.email-template-picker>div{padding:12px;background:#6366f107;border-radius:6px;margin-top:8px;display:flex;align-items:end;gap:10px}.email-ai-compose{padding:12px;border:1px solid #6366f12a;background:#6366f108;border-radius:6px}.email-ai-compose header,.email-compose-box>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.email-ai-compose h3,.email-compose-box h3{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.7px;margin:0 0 5px}.email-ai-compose h3{color:var(--brand-bg,#4f46e5)}.email-ai-compose header button{font-size:11px;padding:8px 10px;white-space:nowrap;min-height:32px}.email-ai-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}.email-ai-options select{padding:6px;font-size:11px;min-width:0}.email-ai-options label{font-size:10px;text-transform:uppercase;letter-spacing:.5px}.email-match:empty,[data-email-ai-result]:empty,[data-email-sequence-result]:empty{display:none}.email-match{font-size:11px;color:#4f46e5!important;background:#6366f10d;padding:7px 10px;border-radius:16px}.email-compose-box{padding:12px;border:1px solid var(--edge);border-radius:6px;background:color-mix(in srgb,var(--palette-surface) 96%,#eef2ff);min-width:0}.email-compose-box[hidden]{display:none}.email-compose-box button{font-size:11px;min-height:28px;padding:5px 9px;box-shadow:none}.email-compose-box .choice{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink)}.email-compose-box p{margin:4px 0 8px}.email-compose-file{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}.email-compose-file label{overflow-wrap:anywhere}.email-origin-compose .email-recipients{max-height:190px;margin:8px 0 0;gap:5px}.email-origin-compose .email-recipient{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;font-size:12px;box-shadow:none;background:var(--palette-surface);color:var(--ink);border-radius:6px}.email-recipient strong{font-size:12px;font-weight:500}.email-recipient small{display:block;font-size:11px;margin-top:2px}.email-recipient-type{font-size:10px;background:#6366f111;color:#4f46e5;border-radius:10px;padding:4px 7px}.email-compose-footer{display:flex;gap:8px}.email-compose-footer button{font-size:13px;flex:1;padding:10px;box-shadow:none;border-radius:6px}.email-compose-footer button[data-action=email-schedule-toggle]{flex:0 0 40px}.email-signature-preview strong{font-size:11px}.email-origin-settings{display:grid;gap:14px}.email-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.email-origin-settings .primary{font-size:13px;padding:10px}.email-signature-preview p{margin:5px 0}.email-origin-settings [data-email-signature-preview]{border-top:2px solid var(--brand-bg,#2945d8);padding-top:12px;font-size:12px}.email-origin-settings [data-email-signature-preview] small{font-size:11px;overflow-wrap:anywhere}
@media(max-width:1150px){.email-origin-control{flex-direction:column;align-items:stretch}.email-origin-control>.button-row{max-width:none;justify-content:flex-start}.email-origin-page h1{font-size:22px}}
@media(max-width:700px){.email-replica{gap:16px}.email-origin-page{padding:20px;flex-direction:column;align-items:stretch;gap:16px;border-radius:15px}.email-origin-page h1{font-size:21px}.email-origin-page>input{flex:0 1 auto;width:100%;max-width:none;min-width:0}.email-origin-gates{grid-template-columns:1fr;gap:16px}.email-origin-outbox>header{align-items:flex-start;flex-direction:column;gap:12px}.email-origin-outbox>header .button-row{gap:6px}.email-origin-outbox>header button{font-size:10px;padding:6px 8px}.email-replica .email-tabs{padding:8px;gap:3px}.email-replica .email-tabs button{padding:5px 9px}.email-demo-note{align-items:flex-start;flex-direction:column}.email-origin-control{padding:15px}.email-origin-control button{font-size:10px}#dialog.email-dialog{max-height:94dvh;padding:16px;max-width:calc(100vw - 14px)}.email-ai-options{gap:5px}.email-ai-options select{font-size:10px;padding:6px 4px}.email-ai-compose header{gap:8px}.email-origin-settings input{min-width:0}.email-origin-empty{padding:32px 20px}}
@media(prefers-reduced-motion:no-preference){.email-origin-outbox,.email-origin-control{animation:email-appear .2s ease-out}@keyframes email-appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}
#email-files-popover{position:fixed;inset:auto;margin:0;width:320px;max-width:calc(100vw - 16px);max-height:80dvh;overflow:auto;padding:16px;border:1px solid var(--edge);border-radius:9px;background:var(--palette-surface);color:var(--ink);box-shadow:0 15px 45px #17255425;font:12px Outfit,Arial,sans-serif}#email-files-popover h3{font-size:14px;margin:0 0 6px}#email-files-popover p{font-size:11px;color:var(--muted);line-height:1.5;margin:6px 0 12px}#email-files-popover label{font-size:11px}#email-files-popover input{font-size:11px}#email-files-popover button{font-size:11px;min-height:28px;padding:5px 8px}.email-popover-files>div{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid var(--edge);border-radius:5px;margin:5px 0}.email-popover-files span{flex:1;overflow-wrap:anywhere}.email-popover-files small{display:block;font-size:10px;color:var(--muted)}
.email-origin-page>div{flex:1;min-width:0}.email-origin-page h1{font-size:36px;line-height:1.15;max-width:900px;letter-spacing:-.8px}.email-origin-page p{font-size:14px;line-height:1.6;max-width:670px}.email-template-picker>div{display:flex;flex-wrap:wrap}.email-template-picker>div>label{flex:1;min-width:150px}.email-template-cards{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;margin-top:5px}.email-template-card{display:block;padding:10px;border:1px solid var(--edge);border-radius:6px;background:var(--palette-surface);text-align:left;box-shadow:none}.email-template-card strong{display:block;font-size:11px}.email-template-card small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.email-template-card:hover{border-color:var(--brand-bg,#4f46e5);background:#6366f108}
@media(max-width:700px){.email-origin-page h1{font-size:28px;line-height:1.15;letter-spacing:-.5px}.email-origin-page p{font-size:12px}}
.email-replica .email-tabs button[aria-pressed=true]{color:var(--brand-fg,#fff)}
/* Colour identities for the six working CRM sections. */
.crm-replica[data-crm-section]{--crm-accent:#1d4ed8;--crm-highlight:#93c5fd;--crm-secondary:#c4b5fd}
.crm-replica[data-crm-section=companies]{--crm-accent:#6d28d9;--crm-highlight:#c4b5fd;--crm-secondary:#f0abfc}
.crm-replica[data-crm-section=deals]{--crm-accent:#047857;--crm-highlight:#6ee7b7;--crm-secondary:#67e8f9}
.crm-replica[data-crm-section=activities]{--crm-accent:#0e7490;--crm-highlight:#67e8f9;--crm-secondary:#93c5fd}
.crm-replica[data-crm-section=tasks]{--crm-accent:#b45309;--crm-highlight:#fcd34d;--crm-secondary:#fdba74}
.crm-replica[data-crm-section=staff-link]{--crm-accent:#be185d;--crm-highlight:#f9a8d4;--crm-secondary:#c4b5fd}
.crm-replica-dark[data-crm-section]{--crm-accent:var(--crm-highlight)}
.crm-colour-banner{display:flex;align-items:center;gap:18px;padding:23px 25px;border:1px solid color-mix(in srgb,var(--crm-highlight) 65%,var(--crm-border));border-bottom-width:3px;border-radius:20px;background:linear-gradient(115deg,color-mix(in srgb,var(--crm-card) 72%,var(--crm-highlight)),color-mix(in srgb,var(--crm-card) 86%,var(--crm-secondary)));box-shadow:0 9px 24px #0f172a07;margin-bottom:10px;min-width:0}
.crm-colour-banner-icon{width:54px;height:54px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid color-mix(in srgb,var(--crm-highlight) 75%,var(--crm-card));border-radius:16px;background:color-mix(in srgb,var(--crm-card) 72%,var(--crm-highlight));color:var(--crm-accent);box-shadow:0 4px 10px #0f172a08}
.crm-colour-banner-icon svg{width:27px;height:27px}.crm-colour-eyebrow{color:var(--crm-accent);text-transform:uppercase;letter-spacing:1.5px;font-size:10px;font-weight:600}.crm-colour-banner h2{font-size:23px;line-height:1.25;font-weight:600;margin:5px 0 7px}.crm-colour-banner p{font-size:12px;line-height:1.5;color:var(--crm-muted);margin:0}.crm-colour-total{margin-left:auto;padding:8px 13px;border:1px solid color-mix(in srgb,var(--crm-highlight) 70%,var(--crm-border));background:var(--crm-card);border-radius:20px;font-size:11px;font-weight:500;white-space:nowrap;color:var(--crm-accent)}
.crm-replica .crm-origin-tabs{gap:9px;padding:8px 0}.crm-replica .crm-origin-tabs button{padding:8px 12px;border-radius:10px;border-bottom:2px solid transparent;display:inline-flex;align-items:center;gap:7px}.crm-origin-tabs button::before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--tab-colour,#0ea5e9)}.crm-origin-tabs [data-id=contacts]{--tab-colour:#2563eb}.crm-origin-tabs [data-id=companies]{--tab-colour:#8b5cf6}.crm-origin-tabs [data-id=deals]{--tab-colour:#10b981}.crm-origin-tabs [data-id=activities]{--tab-colour:#06b6d4}.crm-origin-tabs [data-id=tasks]{--tab-colour:#f59e0b}.crm-origin-tabs [data-id=staff-link]{--tab-colour:#ec4899}
.crm-replica .crm-origin-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--crm-card) 80%,var(--tab-colour));border-bottom-color:var(--tab-colour);color:var(--crm-text);box-shadow:0 3px 7px #0f172a08}.crm-replica .crm-origin-tabs button:hover{background:color-mix(in srgb,var(--crm-card) 90%,var(--tab-colour))}
.crm-replica[data-crm-section]:not([data-crm-section=overview]) .crm-original-tools{border:1px solid var(--crm-border);border-radius:12px;background:linear-gradient(110deg,var(--crm-card),color-mix(in srgb,var(--crm-card) 93%,var(--crm-highlight)));padding:13px 15px;gap:12px}
.crm-replica[data-crm-section]:not([data-crm-section=overview]) .primary{background:var(--brand-bg,var(--crm-accent));border-color:transparent;color:var(--brand-fg,#fff);box-shadow:0 3px 0 #0f172a16,0 6px 14px #0f172a0a}.crm-replica-dark[data-crm-section]:not([data-crm-section=overview]) .primary{background:var(--brand-bg,var(--crm-highlight));color:var(--brand-fg,#0f172a)}
.crm-replica[data-crm-section]:not([data-crm-section=overview]) .secondary{background:color-mix(in srgb,var(--crm-card) 87%,var(--crm-highlight));color:var(--crm-accent);border-color:color-mix(in srgb,var(--crm-highlight) 60%,var(--crm-border))}
.crm-replica[data-crm-section=contacts] .crm-contacts-scroll{border-color:color-mix(in srgb,var(--crm-highlight) 65%,var(--crm-border));border-bottom-width:3px;box-shadow:0 8px 20px #2563eb08}.crm-replica[data-crm-section=contacts] .crm-original-table th{background:color-mix(in srgb,var(--crm-card) 76%,var(--crm-highlight));color:var(--crm-accent)}.crm-replica[data-crm-section=contacts] .crm-original-table tr:nth-child(even) td{background:color-mix(in srgb,var(--crm-card) 96%,var(--crm-highlight))}.crm-replica[data-crm-section=contacts] .crm-original-table tbody tr:hover td{background:color-mix(in srgb,var(--crm-card) 86%,var(--crm-highlight))}.crm-replica[data-crm-section=contacts] .crm-original-table td:last-child{background:var(--crm-card)}
.crm-replica .crm-compact-actions .crm-icon-action:nth-child(1){color:#047857;background:#d1fae5}.crm-replica .crm-compact-actions .crm-icon-action:nth-child(2){color:#6d28d9;background:#ede9fe}.crm-replica .crm-compact-actions .crm-icon-action:nth-child(3){color:#1d4ed8;background:#dbeafe}.crm-replica .crm-compact-actions{gap:6px}.crm-replica select[data-crm-stage]{color:var(--crm-accent);border-color:color-mix(in srgb,var(--crm-highlight) 60%,var(--crm-border));background:color-mix(in srgb,var(--crm-card) 88%,var(--crm-highlight));font-weight:500}.crm-replica select[data-stage=Won]{color:#047857;background:#d1fae5}.crm-replica select[data-stage=Lost]{color:#be123c;background:#ffe4e6}
.crm-company-card{--tile-colour:#8b5cf6;--tile-soft:#c4b5fd}.crm-company-card:nth-child(3n+2){--tile-colour:#06b6d4;--tile-soft:#67e8f9}.crm-company-card:nth-child(3n){--tile-colour:#ec4899;--tile-soft:#f9a8d4}.crm-replica .crm-company-card{border-color:color-mix(in srgb,var(--tile-soft) 65%,var(--crm-border));border-top:4px solid var(--tile-colour);border-bottom-width:3px;background:linear-gradient(145deg,color-mix(in srgb,var(--crm-card) 80%,var(--tile-soft)),var(--crm-card) 65%);box-shadow:0 7px 18px #0f172a07}.crm-company-card .crm-avatar{border-radius:12px;background:linear-gradient(135deg,var(--tile-colour),#6366f1);box-shadow:0 4px 10px #0f172a13}.crm-company-card footer>span{padding:5px 8px;border-radius:7px;background:color-mix(in srgb,var(--crm-card) 82%,var(--tile-soft));color:var(--crm-text)}
.crm-original-column{--deal-colour:#0284c7;--deal-soft:#7dd3fc}.crm-original-column.crm-deal-tone-1{--deal-colour:#7c3aed;--deal-soft:#c4b5fd}.crm-original-column.crm-deal-tone-2{--deal-colour:#0891b2;--deal-soft:#67e8f9}.crm-original-column.crm-deal-tone-3{--deal-colour:#d97706;--deal-soft:#fcd34d}.crm-original-column.crm-deal-tone-4{--deal-colour:#db2777;--deal-soft:#f9a8d4}.crm-original-column.crm-deal-tone-5,.crm-original-column.crm-deal-tone-6{--deal-colour:#059669;--deal-soft:#6ee7b7}.crm-original-column.crm-deal-tone-7{--deal-colour:#e11d48;--deal-soft:#fda4af}.crm-replica .crm-original-column{background:color-mix(in srgb,var(--crm-card) 87%,var(--deal-soft));border-color:color-mix(in srgb,var(--deal-soft) 70%,var(--crm-border));border-bottom-width:3px;padding:10px}.crm-original-column>header{background:linear-gradient(120deg,var(--deal-colour),color-mix(in srgb,var(--deal-colour) 85%,#312e81));border-radius:8px;padding:11px 10px;min-height:65px;box-shadow:0 4px 8px #0f172a0b}.crm-original-column>header h3,.crm-original-column>header small{color:#fff}.crm-original-column>header>span{color:#fff;background:#ffffff26;border:1px solid #ffffff40}.crm-replica .crm-deal-card{border-top:3px solid var(--deal-colour);box-shadow:0 4px 10px #0f172a08}.crm-replica-dark .crm-deal-amount strong{color:#6ee7b7}.crm-replica-dark .crm-deal-card p{color:#7dd3fc}.crm-deal-drop{border-color:color-mix(in srgb,var(--deal-soft) 60%,var(--crm-border));background:color-mix(in srgb,var(--crm-card) 90%,var(--deal-soft))}
.crm-replica[data-crm-section=activities] .crm-activity-list{display:grid;gap:12px}.crm-activity-list article{--activity-colour:#0891b2;--activity-soft:#67e8f9}.crm-activity-list article:nth-child(3n+2){--activity-colour:#7c3aed;--activity-soft:#c4b5fd}.crm-activity-list article:nth-child(3n){--activity-colour:#059669;--activity-soft:#6ee7b7}.crm-replica[data-crm-section=activities] .crm-activity-list article{border:1px solid color-mix(in srgb,var(--activity-soft) 60%,var(--crm-border));border-left:4px solid var(--activity-colour);border-radius:12px;padding:15px;background:linear-gradient(100deg,color-mix(in srgb,var(--crm-card) 90%,var(--activity-soft)),var(--crm-card));box-shadow:0 4px 10px #0f172a05}.crm-activity-list .crm-origin-icon{background:color-mix(in srgb,var(--crm-card) 66%,var(--activity-soft));color:var(--activity-colour)}.crm-replica-dark .crm-activity-list .crm-origin-icon{color:var(--activity-soft)}
.crm-task-list article{--priority-colour:#2563eb;--priority-soft:#93c5fd}.crm-task-list article[data-priority=low]{--priority-colour:#059669;--priority-soft:#6ee7b7}.crm-task-list article[data-priority=high]{--priority-colour:#d97706;--priority-soft:#fcd34d}.crm-task-list article[data-priority=urgent]{--priority-colour:#e11d48;--priority-soft:#fda4af}.crm-replica .crm-task-list article{background:linear-gradient(100deg,color-mix(in srgb,var(--crm-card) 90%,var(--priority-soft)),var(--crm-card));border-color:color-mix(in srgb,var(--priority-soft) 65%,var(--crm-border));border-left:4px solid var(--priority-colour);border-bottom-width:2px;box-shadow:0 5px 12px #0f172a06}.crm-task-list .crm-task-priority{color:var(--priority-colour);background:color-mix(in srgb,var(--crm-card) 72%,var(--priority-soft));border:1px solid color-mix(in srgb,var(--priority-soft) 70%,var(--crm-border));font-weight:500}.crm-replica-dark .crm-task-list .crm-task-priority{color:var(--priority-soft)}.crm-replica .crm-task-list .is-completed{opacity:.78;border-left-color:#10b981}.crm-replica .crm-task-check{color:var(--priority-colour)}.crm-replica-dark .crm-task-check{color:var(--priority-soft)}
.crm-replica[data-crm-section=staff-link] .crm-origin-panel{border-color:color-mix(in srgb,var(--crm-highlight) 55%,var(--crm-border));border-bottom-width:3px;box-shadow:0 8px 20px #be185d07;background:linear-gradient(145deg,color-mix(in srgb,var(--crm-card) 90%,var(--crm-highlight)),var(--crm-card) 65%)}.crm-replica[data-crm-section=staff-link] .crm-origin-chip{background:color-mix(in srgb,var(--crm-card) 65%,var(--crm-highlight));color:var(--crm-accent)}.crm-staff-qr img{background:white;padding:12px;box-shadow:0 6px 24px #be185d18;border:1px solid #fbcfe8}.crm-replica .crm-qr-placeholder{background:linear-gradient(135deg,color-mix(in srgb,var(--crm-card) 65%,var(--crm-highlight)),color-mix(in srgb,var(--crm-card) 70%,var(--crm-secondary)));color:var(--crm-accent);border:1px solid color-mix(in srgb,var(--crm-highlight) 65%,var(--crm-border))}
.crm-staff-metrics .crm-origin-panel{--metric-colour:#2563eb;--metric-soft:#93c5fd}.crm-staff-metrics .crm-origin-panel:nth-child(2){--metric-colour:#7c3aed;--metric-soft:#c4b5fd}.crm-staff-metrics .crm-origin-panel:nth-child(3){--metric-colour:#0891b2;--metric-soft:#67e8f9}.crm-staff-metrics .crm-origin-panel:nth-child(4){--metric-colour:#059669;--metric-soft:#6ee7b7}.crm-staff-metrics .crm-origin-panel:nth-child(5){--metric-colour:#d97706;--metric-soft:#fcd34d}.crm-staff-metrics .crm-origin-panel:nth-child(6){--metric-colour:#db2777;--metric-soft:#f9a8d4}.crm-replica[data-crm-section=staff-link] .crm-staff-metrics .crm-origin-panel{border-top:4px solid var(--metric-colour);background:linear-gradient(150deg,color-mix(in srgb,var(--crm-card) 75%,var(--metric-soft)),var(--crm-card));padding:18px}.crm-staff-metrics strong{color:var(--metric-colour)}.crm-replica-dark .crm-staff-metrics strong{color:var(--metric-soft)}
.crm-replica :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--crm-highlight);outline-offset:3px}
@media(max-width:700px){.crm-colour-banner{padding:18px 16px;gap:12px;flex-wrap:wrap;border-radius:16px}.crm-colour-banner-icon{width:43px;height:43px;border-radius:13px}.crm-colour-banner>div{flex:1;min-width:180px}.crm-colour-banner h2{font-size:20px}.crm-colour-banner p{font-size:11px}.crm-colour-total{margin:0 0 0 55px;font-size:10px;padding:6px 10px}.crm-replica .crm-origin-tabs{gap:4px}.crm-replica .crm-origin-tabs button{padding:9px 10px}.crm-replica .crm-original-tools{padding:12px}.crm-replica .crm-task-list article{gap:8px;padding:12px}.crm-task-list .crm-task-priority{font-size:10px;padding:4px 6px}.crm-task-list .quiet{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.crm-company-card,.crm-task-list article,.crm-activity-list article,.crm-deal-card{transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}.crm-company-card:hover,.crm-deal-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0f172a12}}
.crm-replica .crm-original-tools>p{color:var(--crm-muted)}
.crm-replica-dark .crm-colour-banner{background:linear-gradient(115deg,color-mix(in srgb,var(--crm-card) 88%,var(--crm-highlight)),color-mix(in srgb,var(--crm-card) 92%,var(--crm-secondary)))}
.calls-screen{display:grid;gap:24px;min-width:0;font-family:Outfit,Arial,sans-serif;color:var(--ink)}.calls-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #a5e7eb;border-bottom-width:3px;border-radius:22px;background:linear-gradient(115deg,#e0f7fa,#eef2ff 75%,#f5eaff);box-shadow:0 8px 22px #0e749008}.calls-page-header>div>span{font-size:11px;letter-spacing:2px;color:#0e7490;font-weight:600}.calls-page-header h1{font-size:36px;line-height:1.15;letter-spacing:-.7px;margin:7px 0 10px}.calls-page-header p{font-size:14px;color:var(--muted);margin:0}.calls-integration-label{background:#fff;border:1px solid #a5e7eb;border-radius:20px;padding:8px 12px;font-size:10px;color:#0e7490;white-space:nowrap}
.calls-log{border:1px solid var(--edge);border-bottom-width:3px;background:var(--palette-surface);border-radius:9px;overflow:hidden;min-width:0}.calls-log>header{padding:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--edge)}.calls-log h2{font-size:13px;margin:0;font-weight:600}.calls-log>header p{font-size:10.5px;margin:5px 0 0;color:var(--muted)}.calls-log .button-row{gap:7px;flex-wrap:wrap}.calls-log>header button,.calls-log>header select{font:12px Outfit,Arial,sans-serif;padding:6px 10px;border-radius:5px;min-height:32px;margin:0;box-shadow:none}.calls-log>header svg{width:14px;height:14px}.calls-log select{background:var(--palette-surface);color:var(--ink);border:1px solid var(--edge)}.calls-view-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#6366f103;border-bottom:1px solid var(--edge)}.calls-view-tabs{display:flex;gap:4px}.calls-view-tabs button{font:11px Outfit,Arial,sans-serif;padding:6px 11px;background:none;color:var(--muted);box-shadow:none;border:0;border-radius:6px;white-space:nowrap}.calls-view-tabs button[aria-pressed=true]{background:var(--brand-bg,#2945d8);color:var(--brand-fg,#fff)}.calls-view-tools>input{font:11px Outfit,Arial,sans-serif;max-width:280px;padding:7px 10px;margin:0;min-height:32px}
.calls-entry{display:flex;align-items:flex-start;gap:12px;padding:14px;border-bottom:1px solid var(--edge)}.calls-entry:last-child{border-bottom:0}.calls-entry:hover{background:#6366f104}.calls-entry-icon{width:32px;height:32px;border-radius:50%;background:#ede9fe;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#7c3aed;margin-top:2px}.calls-entry-icon svg{width:15px;height:15px}.calls-entry-main{flex:1;min-width:0}.calls-entry-main>header{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.calls-entry-main>header strong{font-size:14px;font-weight:500}.calls-entry-main>header small{font-size:11px;color:var(--muted)}.calls-contact-link{padding:0;min-height:0;border:0;background:none;color:var(--ink);font:inherit;font-weight:500;text-align:left;box-shadow:none;line-height:1.5}.calls-contact-link:hover{color:var(--brand-bg,#2945d8);text-decoration:underline}.calls-source,.calls-status{font-size:9px;padding:3px 8px;border-radius:15px;font-weight:500;white-space:nowrap;display:inline-block}.calls-source{background:#f1f5f9;color:#475569}.calls-status{background:#f1f5f9;color:#64748b;text-transform:capitalize}.calls-status-connected,.calls-status-completed{background:#d1fae5;color:#047857}.calls-status-busy,.calls-status-voicemail{background:#fef3c7;color:#92400e}.calls-status-no_answer{background:#e2e8f0;color:#475569}.calls-status-failed,.calls-status-wrong_number{background:#ffe4e6;color:#be123c}.calls-status-follow_up_needed,.calls-status-previewing{background:#dbeafe;color:#1d4ed8}.calls-status-previewed{background:#ede9fe;color:#6d28d9}.calls-entry-meta{display:flex;gap:6px 14px;flex-wrap:wrap;margin-top:6px;font-size:10px;color:var(--muted)}.calls-entry-main>p{font-size:12px;color:var(--muted);margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.calls-entry-main>.calls-next-step{font-size:11px;color:var(--brand-bg,#2945d8)}.calls-related-tasks{padding:9px;border:1px solid var(--edge);background:#6366f105;border-radius:8px;margin-top:10px}.calls-related-tasks h4{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);margin:0 0 6px;display:flex;align-items:center;gap:5px}.calls-related-tasks h4 svg{width:12px;height:12px}.calls-related-tasks>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin:5px 0}.calls-related-tasks small{font-size:10px;color:var(--muted)}.calls-related-tasks p{font-size:11px;color:var(--muted);margin:0}.calls-entry-actions{margin-top:7px}.calls-entry-actions button{font-size:10px;padding:4px 6px;color:var(--brand-bg,#2945d8)}
.calls-table-scroll{overflow:auto;max-width:100%}.calls-table-scroll table{min-width:1900px;width:100%;font-size:11px;border-collapse:collapse}.calls-table-scroll th{font:10px Consolas,monospace;text-transform:uppercase;letter-spacing:.5px;background:#6366f107;color:var(--muted);padding:11px}.calls-table-scroll td{padding:12px 11px;border-bottom:1px solid var(--edge);font-size:11px;color:var(--muted)}.calls-table-scroll small{display:block;font-size:10px;margin-top:3px}.calls-summary-cell{min-width:200px;max-width:300px;white-space:normal;overflow-wrap:anywhere}.calls-demo-note{display:flex;align-items:center;justify-content:space-between;gap:15px}.calls-demo-note p{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.calls-demo-note button{font-size:11px;white-space:nowrap;padding:6px}.calls-empty{text-align:center;padding:45px 20px}.calls-empty>.icon{width:38px;height:38px;color:#94a3b8;margin:auto}.calls-empty h3{font-size:14px;margin:12px 0 6px}.calls-empty p{font-size:12px;color:var(--muted);max-width:340px;margin:0 auto 16px;line-height:1.6}.calls-empty button{font-size:12px}
#dialog.calls-dialog{width:448px;max-width:calc(100vw - 20px);max-height:90dvh;font-family:Outfit,Arial,sans-serif;padding:22px;border-radius:12px;box-shadow:0 24px 90px #0f172a35}.calls-dialog>.dialog-head h2{font-size:16px}.calls-modal-description,.calls-modal-intro p{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 12px}.calls-dialog form,.calls-modal-content{display:grid;gap:13px}.calls-dialog label{display:block;font-size:11px;font-weight:500;color:var(--muted)}.calls-dialog input,.calls-dialog select,.calls-dialog textarea{font:12px Outfit,Arial,sans-serif;min-height:35px;padding:8px 10px;margin-top:5px;border-radius:6px;background:var(--palette-surface);color:var(--ink);border:1px solid var(--edge);box-shadow:none;width:100%}.calls-dialog textarea{resize:vertical}.calls-dialog input[type=search]{margin:7px 0}.calls-dialog button{font-family:inherit;font-size:12px}.calls-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.calls-modal-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.calls-modal-intro p{margin:0}.calls-modal-intro button{font-size:11px;padding:5px 8px;min-height:28px}.calls-workspace-tabs{display:flex;gap:5px;border-bottom:1px solid var(--edge)}.calls-workspace-tabs button{background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);box-shadow:none;border-radius:0;padding:10px 14px;font-size:12px}.calls-workspace-tabs button[aria-pressed=true]{border-bottom-color:var(--brand-bg,#2945d8);color:var(--brand-bg,#2945d8)}.calls-number{position:relative}.calls-number input{height:48px;text-align:center;font-size:18px;letter-spacing:1px;padding-right:45px}.calls-number button{position:absolute;right:8px;top:10px;padding:6px;min-height:30px}.calls-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.calls-keypad button{height:48px;font-size:18px;font-weight:500;border:1px solid var(--edge);background:var(--palette-surface);border-radius:7px;box-shadow:0 2px 0 #0f172a0d;color:var(--ink)}.calls-keypad button:hover{background:#eef2ff;color:#4338ca}.calls-session-state{text-align:center;font-size:11px;color:#047857;padding:5px 0}.calls-session-state [data-call-clock]{font-family:Consolas,monospace;font-weight:600}.calls-session-buttons{display:flex;gap:8px}.calls-session-buttons button{flex:1}.calls-start{background:#059669;color:white;border:1px solid #059669;border-radius:6px;padding:10px;box-shadow:0 3px 0 #047857}.calls-hangup{background:#e11d48;color:white;border:1px solid #e11d48;border-radius:6px;padding:9px;box-shadow:none}.calls-preview-caption{font-size:10px!important;color:var(--muted)!important;line-height:1.6;margin:0}.calls-dtmf{text-align:center;font-size:10px;color:var(--muted);margin:0;overflow-wrap:anywhere}.calls-live-strip{font-size:11px!important;padding:9px!important;color:#047857!important;border:1px solid #a7f3d0!important;background:#ecfdf5!important;border-radius:6px;box-shadow:none}.calls-task-panel h3{font-size:14px;margin:0 0 12px}.calls-target-tasks{display:grid;gap:7px;margin:0 0 14px;max-height:180px;overflow:auto}.calls-target-tasks article{display:flex;align-items:center;gap:8px;border:1px solid var(--edge);border-radius:6px;padding:9px;background:#6366f104}.calls-target-tasks article>button:first-child{border:0;background:none;box-shadow:none;color:#059669;font-size:18px;padding:3px}.calls-target-tasks article>span{font-size:12px;flex:1;min-width:0;overflow-wrap:anywhere}.calls-target-tasks small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.calls-target-tasks .quiet{font-size:10px;padding:4px;min-height:25px}
#calls-floating{position:fixed;right:16px;bottom:calc(100px + env(safe-area-inset-bottom));width:min(390px,calc(100vw - 32px));z-index:1500;display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #6ee7b7;border-radius:12px;background:var(--palette-surface);box-shadow:0 14px 35px #0f172a25;font:12px Outfit,Arial,sans-serif}#calls-floating[hidden]{display:none}#calls-floating .calls-restore{flex:1;min-width:0;text-align:left;display:grid;gap:4px;background:none;border:0;box-shadow:none;padding:0;min-height:0;color:var(--ink)}#calls-floating strong{color:#047857;font-size:11px}#calls-floating span{font-size:12px;overflow-wrap:anywhere}#calls-floating small{font-size:10px;color:var(--muted)}#calls-floating>button{font-size:10px;padding:7px;min-height:30px}.calls-screen :is(button,a,input,select):focus-visible,.calls-dialog :is(button,input,select,textarea):focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
@media(max-width:700px){.calls-screen{gap:16px}.calls-page-header{flex-direction:column;align-items:flex-start;padding:20px;border-radius:17px}.calls-page-header h1{font-size:29px}.calls-page-header p{font-size:12px;line-height:1.6}.calls-log>header{align-items:flex-start;flex-direction:column;gap:12px}.calls-log>header .button-row{width:100%;gap:6px}.calls-log>header button,.calls-log>header select{font-size:11px;padding:6px 8px}.calls-view-tools{align-items:stretch;flex-direction:column;gap:8px}.calls-view-tools>input{max-width:none}.calls-entry{padding:13px 11px;gap:9px}.calls-entry-main>header{gap:5px}.calls-entry-main>header strong{font-size:13px}.calls-entry-icon{width:28px;height:28px}.calls-related-tasks>div{align-items:flex-start;flex-direction:column;gap:3px}.calls-related-tasks small{font-size:9px}.calls-demo-note{align-items:flex-start;flex-direction:column}.calls-form-grid{gap:8px}#dialog.calls-dialog{padding:17px;max-height:94dvh;max-width:calc(100vw - 14px)}.calls-dialog .dialog-head{margin-bottom:12px}.calls-modal-content{gap:11px}.calls-keypad button{height:44px}.calls-keypad{gap:7px}}
.calls-log>header .button-row{flex:0 1 auto;align-items:center}.calls-log>header select{width:auto;max-width:180px}.calls-keypad button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
/* Company-specific receptionist trial */
.receptionist-panel{background:linear-gradient(130deg,#f0f5ff,#f8f1ff);border:1px solid #c9d6f8;border-radius:20px;padding:22px;margin:18px 0;box-shadow:0 5px 0 #dbe3f5,0 12px 28px #253b6910;color:#182a50}.receptionist-panel>header{display:flex;justify-content:space-between;align-items:center;gap:16px}.receptionist-eyebrow{font-size:11px;letter-spacing:.1em;color:#5d45be;font-weight:700}.receptionist-panel h2{margin:6px 0}.receptionist-panel p,.receptionist-panel footer{font-size:13px;line-height:1.6}.receptionist-panel footer{border-top:1px solid #cbd6ee;padding-top:12px;margin-top:18px}.receptionist-steps{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.receptionist-steps span{background:#fff;border:1px solid #d5dced;border-radius:20px;padding:7px 12px;font-size:12px}.receptionist-steps .complete{background:#e5f7ed;color:#126744;border-color:#a9dcc2}.receptionist-notice{background:#fff6df;border:1px solid #efd7a1;border-radius:12px;padding:14px;margin:14px 0}.receptionist-notice p{margin:4px 0}.receptionist-profile,.receptionist-email{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.receptionist-panel label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.receptionist-panel textarea,.receptionist-panel input{width:100%;min-width:0;background:#fff;color:#182a50;border:1px solid #c4d0e9;border-radius:9px;padding:10px}.receptionist-panel textarea{resize:vertical}.receptionist-panel form{margin:14px 0}.receptionist-panel form>button{margin-top:12px}.receptionist-panel .receptionist-check{flex-direction:row;align-items:center}.receptionist-check input{width:auto}.receptionist-sources{display:flex;flex-wrap:wrap;gap:10px}.receptionist-sources a{font-size:12px;color:#304ab8;text-decoration:underline;overflow-wrap:anywhere}.receptionist-meta{color:#506080}.receptionist-phone{display:block;font-size:26px;font-weight:700;margin:12px 0;overflow-wrap:anywhere}.receptionist-metrics{display:flex;gap:30px;margin:16px 0}.receptionist-metrics span{font-size:12px}.receptionist-metrics b{display:block;font-size:23px;font-variant-numeric:tabular-nums}.receptionist-lease{background:#fff;border:1px solid #c8d5ee;border-radius:14px;padding:18px;margin:18px 0}.receptionist-verified{color:#14744f;font-weight:700}.receptionist-call-list article{background:#fff;border-left:4px solid #6f57d9;border-radius:10px;padding:14px;margin:10px 0}.receptionist-call-list time{display:block;font-size:12px;margin-top:6px}.receptionist-panel [aria-busy=true]{opacity:.65;pointer-events:none}@media(max-width:650px){.receptionist-panel{padding:15px}.receptionist-profile,.receptionist-email{grid-template-columns:1fr}.receptionist-panel>header{align-items:flex-start;flex-direction:column}.receptionist-metrics{flex-wrap:wrap;gap:16px}.receptionist-panel .button-row{flex-wrap:wrap}}
.receptionist-browser-card{padding:18px;border-radius:14px;background:#fff;border:1px solid #c7d4f3;margin:18px 0}.receptionist-browser-card h3{margin:0 0 8px;color:#283f93}.receptionist-browser-card [hidden]{display:none!important}.receptionist-browser-card [data-browser-voice-status]{font-variant-numeric:tabular-nums;color:#244e74;font-weight:600}.receptionist-voice-results{background:#eff7ff;border-left:4px solid #3c67da;padding:14px;border-radius:10px;margin-top:16px}.receptionist-browser-card details{margin-top:14px;font-size:13px}.receptionist-browser-card .button-row{flex-wrap:wrap}
/* Company-specific enterprise outreach demo. All styles stay inside its workspace. */
.vo-workspace{display:grid;gap:20px;color:#192b50;animation:vo-appear .25s ease both}.vo-workspace [hidden]{display:none!important}.vo-workspace h1,.vo-workspace h2,.vo-workspace h3{color:#24396f;overflow-wrap:anywhere}.vo-workspace h1{font-size:30px;margin:8px 0}.vo-workspace h2{font-size:19px;margin:0}.vo-workspace h3{font-size:15px;margin:9px 0}.vo-workspace p{line-height:1.65;font-size:13px}.vo-workspace button:disabled{opacity:.5;cursor:not-allowed}.vo-workspace :is(button,input,textarea,select,a,summary):focus-visible{outline:3px solid #8098fa;outline-offset:3px}.vo-workspace button{white-space:normal;min-height:39px}.vo-workspace .button-row{flex-wrap:wrap;gap:9px}.vo-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #c6d6f6;border-radius:21px;padding:23px 26px;background:linear-gradient(120deg,#e5f2ff,#eee6ff);box-shadow:0 5px 0 #d3dcee,0 15px 30px #273c6b0b}.vo-hero p{margin-bottom:0;max-width:760px}.vo-eyebrow{color:#6150b1;font-size:11px;letter-spacing:.12em;font-weight:700}.vo-mode-label,.vo-tag{display:inline-flex;border:1px solid #d1c5f6;background:#eee7ff;color:#6343a3;padding:6px 10px;border-radius:20px;font-size:11px;font-weight:700;max-width:100%;overflow-wrap:anywhere}.vo-mode-label{flex-shrink:0}.vo-card{min-width:0;border:1px solid #ccd8f2;border-radius:17px;padding:21px;background:linear-gradient(145deg,#ffffff,#faf8ff);box-shadow:0 4px 0 #dce3f2,0 10px 24px #26386a08}.vo-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 21px}.vo-overview>div{display:flex;flex-direction:column;border-radius:14px;border:1px solid #cbd8f0;border-top:3px solid #6675df;background:#fff;padding:15px;gap:7px;min-width:0;box-shadow:0 3px 0 #e0e6f3}.vo-overview>div:nth-child(2){border-top-color:#a578dd;background:#fcf9ff}.vo-overview>div:nth-child(3){border-top-color:#42a89b;background:#f4fefa}.vo-overview>div:nth-child(4){border-top-color:#e8b058;background:#fffbf3}.vo-overview span{font-size:12px;color:#5b6c89}.vo-overview strong{font-size:17px;overflow-wrap:anywhere}.vo-overview small{font-size:11px;color:#65748f}.vo-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.vo-section-head>div{display:flex;align-items:center;gap:10px}.vo-step{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:9px;background:linear-gradient(135deg,#466bf0,#785cda);box-shadow:0 2px 0 #304ca7;color:#fff;font-size:13px;font-weight:700}.vo-help{color:#586c8e;background:#f0f5ff;border-left:3px solid #a9bcef;border-radius:7px;padding:9px 12px;margin:10px 0 15px}.vo-meta{color:#6d7c96;font-size:12px!important;overflow-wrap:anywhere}.vo-notice{border:1px solid #e6d49f;background:#fff8e5;color:#755c20;border-radius:13px;padding:15px 18px;margin:0 0 20px}.vo-notice ul{font-size:13px;line-height:1.7;padding-left:20px}.vo-notice p{margin-bottom:0}.vo-workspace label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0;color:#384c71}.vo-workspace :is(input,textarea,select){width:100%;min-width:0;border:1px solid #c5d1e9;border-radius:9px;padding:10px 11px;color:#192b50;background:#fff;font:inherit;line-height:1.5}.vo-workspace textarea{resize:vertical}.vo-workspace label small{font-size:11px;color:#73829a;font-weight:400;line-height:1.5}.vo-workspace form{display:grid;gap:14px;margin-top:17px}.vo-workspace form>button{justify-self:start}.vo-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.vo-details{margin-top:15px}.vo-details>summary{cursor:pointer;font-size:13px;font-weight:600;padding:12px;background:#f4f3ff;border:1px solid #e2ddf6;border-radius:9px}.vo-details>form{margin:17px 0}.vo-source-links{display:flex;flex-wrap:wrap;gap:9px}.vo-source-links a{color:#4d57a5;font-size:11px;text-decoration:underline;overflow-wrap:anywhere}.vo-workspace .vo-consent{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.6;font-weight:400;background:#f5f6ff;border:1px solid #e0e4f6;border-radius:9px;padding:11px}.vo-consent input{width:17px;height:17px;flex:0 0 auto;margin-top:2px;accent-color:#5467d3}.vo-workspace fieldset{border:1px solid #d6def0;padding:15px;border-radius:11px;margin:0;min-width:0}.vo-workspace legend{font-size:12px;font-weight:700;padding:0 7px;color:#4e5b88}.vo-days{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:17px}.vo-days label{flex-direction:row;font-size:11px;align-items:center}.vo-days input{width:15px;accent-color:#5b68d5}.vo-weight-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.vo-two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:20px 0}.vo-browser-block{border:1px solid #b8d7ef;border-radius:12px;background:#eff9ff;padding:14px;margin-top:17px}.vo-browser-block h3{margin-top:0}.vo-browser-block [data-vo-voice-status]{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600;color:#356386}.vo-success{color:#187957;font-weight:600}.vo-attempts{display:grid;gap:15px}.vo-attempt{border:1px solid #cbd9ee;border-radius:13px;padding:16px;background:#fff}.vo-attempt>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.vo-attempt>header h3{margin-bottom:0}.vo-status{border:1px solid #cad7eb;background:#f0f4fb;border-radius:15px;padding:6px 10px;font-size:11px;white-space:nowrap}.vo-tag-browser{background:#e5f4ff;color:#347599;border-color:#b9daef}.vo-result-metrics{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px;margin:15px 0}.vo-result-metrics span{background:#f4f6ff;border-radius:9px;padding:12px;font-size:11px;color:#6a7892}.vo-result-metrics b{display:block;font-size:16px;color:#324a87;margin-bottom:6px}.vo-reason{margin:6px 0;color:#3b6385}.vo-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vo-facts>div{background:#f8faff;border:1px solid #e2e8f5;border-radius:9px;padding:12px}.vo-facts dt{font-size:11px;font-weight:700;color:#5f6d96;margin-bottom:6px}.vo-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}.vo-facts small{display:block;color:#71809c;font-size:11px;margin-top:6px}.vo-booking{background:#edf9f3;border:1px solid #bee4d0;border-left:4px solid #42a178;padding:13px;border-radius:9px;margin:14px 0}.vo-booking strong{color:#286e52;font-size:13px}.vo-booking p{margin:7px 0}.vo-booking small{font-size:11px;color:#537d69}.vo-warning,.vo-error{color:#a34342;background:#fff2f1;border:1px solid #f0c7c5;border-radius:9px;padding:11px}.vo-empty{padding:25px 18px;text-align:center;background:linear-gradient(130deg,#f0f7ff,#f7f1ff);border:1px dashed #c4cff0;border-radius:13px}.vo-empty p{max-width:600px;margin:0 auto}.vo-qualification-snippet{background:#f3f4ff;border:1px solid #d8d9f4;padding:13px;border-radius:11px;margin:12px 0}.vo-qualification-snippet p{font-size:12px}.vo-workspace [aria-busy=true]{opacity:.7;pointer-events:none}@keyframes vo-appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:950px){.vo-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.vo-weight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vo-two-column{grid-template-columns:1fr}.vo-hero{padding:20px}}
@media(max-width:600px){.vo-workspace{gap:15px}.vo-hero{flex-direction:column;align-items:flex-start;padding:17px}.vo-workspace h1{font-size:25px}.vo-card{padding:15px}.vo-workspace h2{font-size:17px}.vo-overview{gap:9px;margin-bottom:17px}.vo-overview>div{padding:12px}.vo-overview strong{font-size:15px}.vo-form-grid,.vo-facts{grid-template-columns:1fr}.vo-weight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vo-section-head{align-items:flex-start}.vo-result-metrics{grid-template-columns:1fr 1fr}.vo-result-metrics span:first-child{grid-column:1/-1}.vo-attempt>header{flex-direction:column}.vo-workspace button{min-height:44px;font-size:12px}.vo-workspace .vo-consent{padding:10px}.vo-days{gap:10px}.vo-notice{padding:13px}.vo-workspace input,.vo-workspace textarea,.vo-workspace select{font-size:16px}.vo-mode-label{font-size:10px}.vo-workspace fieldset{padding:12px}}
.vo-readiness-help{border:1px solid #e5d39f;border-left:3px solid #c99535;border-radius:10px;background:#fff9e9;padding:12px 14px;color:#715321;max-width:100%;overflow-wrap:anywhere}.vo-readiness-help strong{font-size:12px}.vo-readiness-help ul{font-size:12px;line-height:1.65;margin:8px 0 0;padding-left:18px}.vo-readiness-help p{margin:7px 0 0}.vo-mode-help{color:#4a5682;font-weight:600}.vo-allowance,.vo-budget-help{border:1px solid #d4ddef;border-radius:11px;padding:12px 14px;margin-top:15px;background:#f5f8ff}.vo-budget-help{border-color:#ead5aa;background:#fffaf0}.vo-workspace :is(.vo-allowance,.vo-budget-help) h3{margin:0 0 7px}.vo-workspace :is(.vo-allowance,.vo-budget-help) p{margin:6px 0;font-size:12px}.vo-allowance strong,.vo-budget-help strong{font-variant-numeric:tabular-nums;color:#2f477b}
@media(prefers-reduced-motion:reduce){.vo-workspace{animation:none}}
