.crm-leads-frame{width:100%;margin:0;padding:0;position:relative;overflow:hidden;isolation:isolate;color:#e7edf5;background:#001424}
.crm-leads-reference{box-sizing:border-box;isolation:isolate;position:relative;width:1280px;height:575px;overflow:hidden;padding:10px 30px 6px;color:#e6eef7;background:radial-gradient(ellipse at 42% -20%,#0b3551 0,transparent 50%),radial-gradient(ellipse at 85% 65%,#04203a 0,transparent 50%),linear-gradient(120deg,#001321,#02152b 56%,#001220);font:12px "Segoe UI",sans-serif;text-align:left}
.crm-leads-reference::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(135deg,transparent 61%,#9d9c6740 61.3%,transparent 61.8%,transparent 78%,#bdb07824 78.5%,transparent 79%),linear-gradient(25deg,transparent 22%,#22597c17 23%,transparent 33%);pointer-events:none}
:is(#detail,.crm-team-shell) :is(.crm-leads-reference,.crm-leads-dialog) *{box-sizing:border-box;font-family:"Segoe UI",sans-serif;letter-spacing:normal}
:is(#detail,.crm-team-shell) .crm-leads-reference :is(h1,h2,h3,p,dl,dd,dt,figure){margin:0;padding:0}
:is(#detail,.crm-team-shell) .crm-leads-reference :where(button,input,select){font:inherit;letter-spacing:normal;line-height:1.25;min-height:0;text-transform:none;color:inherit}
:is(#detail,.crm-team-shell) .crm-leads-reference :where(button){border:0;border-radius:0;background:none;padding:0;margin:0;text-align:left;cursor:pointer;box-shadow:none;transform:none;text-decoration:none;display:block}
.crm-leads-reference :is(button,input):focus-visible{outline:2px solid #ffe39c;outline-offset:2px}
.crm-leads-icon{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle}
:is(#detail,.crm-team-shell) .crm-leads-title{position:relative;display:block;justify-content:flex-start;color:#f1eedc;border:0;min-height:34px;background:none;padding:0;margin:0 0 9px}
.crm-leads-title>div{display:flex;align-items:center;gap:10px}
.crm-leads-title>div>.crm-leads-icon{width:28px;height:28px;color:#ebcd84;filter:drop-shadow(0 0 6px #e9cc6355)}
:is(#detail,.crm-team-shell) .crm-leads-title h1{font-size:32px;line-height:1.18;font-weight:700;color:#f1eedc;white-space:nowrap;text-shadow:0 0 12px #c3ac3e22}
.crm-leads-data-label{border-radius:18px;border:1px solid #18506e;background:linear-gradient(#0a3556,#062441);padding:5px 13px;font-size:10px;color:#b8e4f7;margin-left:7px}
.crm-leads-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:10px}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-kpi{height:70px;border:1px solid #3985aa;border-radius:8px;background:linear-gradient(150deg,#0a344b,#001729 65%);box-shadow:inset 0 0 8px #54c4e947,0 2px 4px #0008;display:flex;align-items:center;position:relative;padding:7px 12px;gap:20px}
.crm-leads-kpi::before{content:"";position:absolute;inset:3px;border:1px solid #1e4c6a88;border-radius:5px;pointer-events:none}
.crm-leads-orb{width:60px;height:60px;border:1px solid #329bbf;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 22%,#1c9fba88,#002137 70%);box-shadow:inset 2px 2px 5px #47bbdd88,0 0 10px #05a9e333;color:#f5d580}
.crm-leads-orb svg{width:33px;height:33px;stroke-width:2.1;filter:drop-shadow(0 2px 2px #000c)}
.crm-leads-kpi:is(:nth-child(1),:nth-child(2),:nth-child(4)) .crm-leads-orb path{fill:#e8ce86;stroke-width:1.2}
.crm-leads-kpi>span:nth-child(2){display:flex;flex-direction:column;gap:2px}
.crm-leads-kpi b{font-size:12px;font-weight:600}
.crm-leads-kpi strong{font-size:27px;line-height:1.1;color:#f6f1df}
.crm-leads-demo{display:inline-block;border:1px solid #174767;border-radius:7px;padding:3px 8px;color:#cce5f4;background:linear-gradient(120deg,#0a3853,#042236);font-size:8px;font-weight:400;white-space:nowrap}
.crm-leads-kpi>.crm-leads-demo{margin-left:auto}
.crm-leads-main-grid{display:grid;grid-template-columns:2fr 1.03fr;gap:9px;height:282px;margin-bottom:9px}
.crm-leads-glass{border:1px solid #255f7e;border-radius:8px;background:linear-gradient(130deg,#032033c9,#001425bc);box-shadow:inset 0 0 10px #1d59733b,0 2px 4px #0008;padding:8px 10px;overflow:hidden}
:is(#detail,.crm-team-shell) .crm-leads-reference h2{font-size:14px;font-weight:650;line-height:1.3;color:#edf2f7}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-section-heading{font-size:15px;font-weight:650;line-height:1.3;color:#edf2f7;width:100%;display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}
.crm-leads-section-heading svg{width:14px;height:14px;color:#60b4d2;opacity:.55}
.crm-leads-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;height:237px}
.crm-leads-column{position:relative;border:1px solid #275575;border-radius:6px;background:linear-gradient(#052e4b66,#021a2c);padding:2px;min-width:0}
.crm-leads-column:not(:last-child)::after{position:absolute;content:"›";left:calc(100% + 5px);top:78px;color:#a6cde0;font-size:26px;text-shadow:0 0 5px #5fb7e7}
.crm-leads-column.evaluating{border-color:#7f713c;background:linear-gradient(#67592c66,#031e29)}
.crm-leads-column.qualified{border-color:#246f74;background:linear-gradient(#006b6388,#031e29)}
.crm-leads-column.converted{border-color:#3d3b81;background:linear-gradient(#3f286b99,#07172b)}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-column-head{display:flex;justify-content:space-between;align-items:center;width:100%;height:28px;padding:0 10px;border-radius:4px 4px 0 0;background:linear-gradient(115deg,#176cbd,#08406a);font-size:11px;white-space:nowrap}
:is(#detail,.crm-team-shell) .crm-leads-reference .evaluating .crm-leads-column-head{background:linear-gradient(115deg,#81703c,#3c382b)}
:is(#detail,.crm-team-shell) .crm-leads-reference .qualified .crm-leads-column-head{background:linear-gradient(115deg,#008f87,#004a55)}
:is(#detail,.crm-team-shell) .crm-leads-reference .converted .crm-leads-column-head{background:linear-gradient(115deg,#6036a0,#28385a)}
.crm-leads-column-head>span{background:radial-gradient(ellipse at 30% 25%,#568be3,#07386f);border-radius:50%;font-size:10px;width:20px;height:20px;display:grid;place-items:center}
.crm-leads-column-cards{display:flex;flex-direction:column;gap:5px;padding:5px 1px;position:relative}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-card{position:relative;display:block;height:95px;border:1px solid #173c56;border-radius:4px;background:linear-gradient(130deg,#052137a8,#021322aa);box-shadow:inset 0 0 5px #21506744;padding:9px 8px 8px 49px;flex-shrink:0;width:100%;overflow:hidden}
.crm-leads-company{position:absolute;left:8px;top:9px;width:32px;height:33px;border:1px solid #296482;border-radius:5px;display:grid;place-items:center;color:#a3d0ec;background:linear-gradient(130deg,#0b4562,#02192c);box-shadow:0 0 6px #008dbd44,inset 0 0 3px #4ab3d077}
.crm-leads-company svg{width:23px;height:23px}
.crm-leads-card strong{position:absolute;left:49px;top:10px;font-size:11px;font-weight:650;display:block;white-space:nowrap;line-height:1.3}
.crm-leads-need{position:absolute;left:49px;top:26px;font-size:10px;display:block;color:#bfccdb;margin:0}
.crm-leads-card>.crm-leads-source{position:absolute;left:49px;top:44px}
.crm-leads-source{font-size:9px;display:inline-block;border-radius:9px;border:1px solid #3d6c9c;padding:2px 7px;background:linear-gradient(#0d67ac,#07325a);line-height:1.1;white-space:nowrap;color:#e0edff}
.crm-leads-source.purple{background:linear-gradient(#472d85,#28195c);border-color:#4f4094}
.crm-leads-source.green{background:linear-gradient(#086a59,#03483b);border-color:#27806b}
.crm-leads-avatar{display:inline-grid;place-items:center;border:1px solid #23465a;border-radius:50%;width:26px;height:26px;background:radial-gradient(circle at 30% 25%,#1a3e5a,#10283e);font-size:10px;color:#cddcec;font-weight:400}
.crm-leads-card>.crm-leads-avatar{position:absolute;right:8px;top:40px}
.crm-leads-date{position:absolute;left:9px;bottom:8px;font-size:10px;display:flex;align-items:center;gap:5px;color:#c9d8e8;white-space:nowrap}
.crm-leads-date svg{width:14px;height:14px}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-more{position:absolute;top:7px;right:33px;width:23px;height:18px;border:1px solid #a89a60;border-radius:4px;background:#153b4b;color:#ffe59b;padding:1px 3px;font-size:9px;text-align:center;z-index:1}
.crm-leads-empty{padding:12px;font-size:11px;color:#b6c4cc}
.crm-leads-assessment{padding:7px 9px}
.crm-leads-assessment h2{margin-bottom:7px!important}
.crm-leads-criteria{border:1px solid #16445b;border-radius:5px;overflow:hidden}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-criteria label{display:grid;grid-template-columns:28px 102px 1fr 53px;gap:7px;align-items:center;min-height:30px;font-size:9px;line-height:1.2;margin:0;padding:3px 6px;border-bottom:1px solid #123446;background:linear-gradient(120deg,#0a2737,#001b2e)}
.crm-leads-criteria label:last-child{border-bottom:0}
.crm-leads-criteria input,.crm-leads-lens input{appearance:none;display:inline-grid;place-content:center;width:17px;height:17px;min-height:0;border:1px solid #a6c4d2;border-radius:3px;background:#07374a;margin:0;cursor:pointer}
.crm-leads-criteria input:checked,.crm-leads-lens input:checked{background:linear-gradient(#fff1b1,#d7b963);border-color:#d9ca84;box-shadow:0 0 5px #eacd6f55}
.crm-leads-criteria input:checked::after,.crm-leads-lens input:checked::after{content:"";width:8px;height:4px;border-left:2px solid #143c49;border-bottom:2px solid #143c49;transform:rotate(-45deg);margin-top:-3px}
.crm-leads-criteria label>b{font-size:9px;font-weight:600;white-space:nowrap}
.crm-leads-criteria label>span:not(.crm-leads-demo){font-size:9px;color:#c6d4e2;white-space:nowrap}
.crm-leads-assessment .crm-leads-demo{padding:3px 6px;font-size:8px;text-align:center}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-priority{height:47px;display:grid;grid-template-columns:34px 93px 1fr 53px;gap:7px;align-items:center;width:100%;margin-top:5px;padding:4px 7px;border:1px solid #b59a4e;border-radius:7px;background:linear-gradient(110deg,#695326,#302e1a 55%,#292a1c);box-shadow:inset 0 0 9px #ffdc6b55;font-size:9px}
.crm-leads-priority>svg{width:27px;height:27px;fill:#f3d684;stroke:#fff0ac;filter:drop-shadow(0 0 6px #f8d56499)}
.crm-leads-priority>b{font-size:10px;white-space:nowrap;color:#f5e4b5}
.crm-leads-priority>span:not(.crm-leads-demo){font-size:9px;line-height:1.5;color:#e4dec8;white-space:nowrap}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-source-title{font-size:13px;margin-top:9px!important;margin-bottom:6px!important}
.crm-leads-source-bars{display:grid;gap:5px}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-source-bars button{display:grid;grid-template-columns:70px 1fr 28px 53px;align-items:center;gap:9px;width:100%;font-size:10px}
.crm-leads-track{height:8px;border-radius:4px;background:#09273d;box-shadow:inset 0 1px 3px #0007;overflow:hidden}
.crm-leads-track>i{height:100%;display:block;border-radius:3px;box-shadow:inset 0 1px 2px #ffffff44;background:linear-gradient(90deg,#79d9f2,#2474ce)}
.crm-leads-track>.bar-1{background:linear-gradient(90deg,#d2a1fa,#8448dc)}
.crm-leads-track>.bar-2{background:linear-gradient(90deg,#5be5b6,#18a776)}
.crm-leads-source-bars b{text-align:center;font-weight:600}
.crm-leads-contacts{height:133px;padding:5px 10px}
.crm-leads-contact-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.crm-leads-contacts table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;border:1px solid #20465f;border-radius:6px;overflow:hidden;font-size:10px;color:#d3deea}
.crm-leads-contacts th{font-weight:400;background:#092c45;height:21px;text-align:left;border-bottom:1px solid #1a3c54;padding:3px 12px}
.crm-leads-contacts th:nth-child(1){width:18%}.crm-leads-contacts th:nth-child(2){width:11%}.crm-leads-contacts th:nth-child(3){width:30%}.crm-leads-contacts th:nth-child(4){width:13%}.crm-leads-contacts th:nth-child(5){width:17%}
.crm-leads-contacts tr[role=button]{cursor:pointer;outline-offset:-2px}
.crm-leads-contacts tr[role=button]:focus-visible{outline:2px solid #efd686;background:#184464}
.crm-leads-contacts td{padding:3px 12px;height:25px;border-bottom:1px solid #173448;background:#011a2a80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crm-leads-contacts tr:last-child td{border-bottom:0}
.crm-leads-contacts td:first-child>.crm-leads-icon{width:14px;height:14px;margin-right:10px}
.crm-leads-contacts td:nth-child(2) .crm-leads-avatar{width:20px;height:20px;font-size:8px}
.crm-leads-contact-status{display:inline-flex;align-items:center;gap:5px;font-size:9px;border:1px solid #21485e;border-radius:12px;padding:2px 7px;background:#001f32}
.crm-leads-contact-status svg{width:12px;height:12px}.crm-leads-contact-status.due{color:#f4d56c;background:#484126;border-color:#7b6b32}.crm-leads-contact-status.soon{color:#acd7fa;background:#07344f}.crm-leads-contact-status.done{color:#9ceacb;background:#0a433b}.crm-leads-due{color:#ebc878}
:is(#detail,.crm-team-shell) .crm-leads-reference footer{display:block;margin:3px 0 0;padding:0;font-size:8px;color:#7f9fb6;text-align:right;min-height:0;background:none}
/* Story: glass profiles and all labels remain native elements. */
.crm-leads-story{height:540px;padding:13px 30px 14px;background:radial-gradient(ellipse at 46% 0%,#17436666,transparent 47%),radial-gradient(ellipse at 26% 70%,#04457288,transparent 38%),linear-gradient(130deg,#001321,#031b31 66%,#001326)}
.crm-leads-story::before{z-index:-1;background:linear-gradient(167deg,transparent 20%,#3b87ac15 20.2%,transparent 31%),linear-gradient(12deg,transparent 15%,#27658f19 15.1%,transparent 26%),radial-gradient(ellipse at 15% 110%,#00608c33,transparent 60%)}
.crm-leads-background{position:absolute;inset:0;width:1280px;height:540px;z-index:-1;pointer-events:none}
.crm-leads-story .crm-leads-title{height:92px;margin-bottom:0!important}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-breadcrumb{font-size:12px;font-weight:400;color:#b3c7dc;margin-bottom:8px;line-height:1.2}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-subtitle{font-size:15px;font-weight:400;color:#b8cbdc;line-height:1.35;margin-top:6px;white-space:nowrap}
.crm-leads-flow{position:relative;height:285px;perspective:1000px}
.crm-leads-connections{position:absolute;inset:0;width:1220px;height:300px;filter:drop-shadow(0 0 5px #12c6e799);overflow:visible;pointer-events:none}
.crm-leads-source-tiles{position:absolute;left:0;top:9px;width:103px;display:flex;flex-direction:column;gap:15px}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-source-tile{position:relative;width:98px;height:68px;border:1px solid #38b6dd;border-radius:11px;background:linear-gradient(130deg,#14708c88,#082d4e 45%,#001b30 85%);color:#86dff8;box-shadow:-6px 1px 0 -1px #053248,-9px 0 0 -2px #4bb8db88,inset 2px 2px 5px #96e9f08c,0 0 15px #00bbfa44;text-align:center;transform:skewY(-3deg)}
.crm-leads-source-tile::before{content:"";position:absolute;inset:4px;border:1px solid #1c6c93;border-radius:7px;pointer-events:none}
.crm-leads-source-tile svg{display:block;width:31px;height:31px;margin:4px auto 2px;stroke-width:1.5;filter:drop-shadow(0 0 4px #36bdf366)}
.crm-leads-source-tile b{font-size:12px;font-weight:600}
.crm-leads-incoming-profiles{position:absolute;left:143px;top:9px;width:130px}
.crm-leads-small-profile{height:62px;width:130px;border:1px solid #3188b0;box-shadow:-5px 0 0 -1px #072b43,-7px 0 0 -2px #41a9c5,inset 2px 2px 5px #5fb8d066,0 0 10px #056fbb55;border-radius:10px;background:linear-gradient(125deg,#246585c9,#062b48 75%);margin-bottom:21px;position:relative;transform:skewY(3deg);padding:10px}
.crm-leads-small-profile.p-0{transform:skewY(-1deg)}.crm-leads-small-profile.p-3{transform:skewY(-5deg)}
.crm-leads-face{display:block;width:43px;height:43px;background-image:var(--portraits);background-repeat:no-repeat;background-size:200% 200%;background-position:0 0;border-radius:50%;border:1px solid #a2d4e5;background-color:#8faaba;box-shadow:inset 0 0 5px #022b3d66;flex-shrink:0}
:is(.crm-leads-reference,.crm-leads-dialog) .face-1{background-position:100% 0}:is(.crm-leads-reference,.crm-leads-dialog) .face-2{background-position:0 100%}:is(.crm-leads-reference,.crm-leads-dialog) .face-3{background-position:100% 100%}
.crm-leads-small-profile .crm-leads-face{width:41px;height:41px;position:absolute;top:10px;left:9px}
.crm-leads-placeholder{display:flex;flex-direction:column;gap:5px;width:65px;position:absolute;top:15px;left:58px}
.crm-leads-placeholder i{display:block;height:5px;background:linear-gradient(90deg,#8ac1df,#5c93b1);border-radius:5px;box-shadow:0 1px 1px #0008}
.crm-leads-placeholder i:nth-child(2){width:70%}.crm-leads-placeholder i:nth-child(3){width:45%}
.crm-leads-reference .profile-badge{position:absolute;right:6px;bottom:6px;font-size:8px;border-radius:5px;padding:3px 6px;color:#17363c;background:#a8e6ce;box-shadow:0 0 5px #57d0c944}
.crm-leads-reference .pb-0{background:#e8cf8a}.crm-leads-reference .pb-3{background:#5cb9e0}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-profile-stack{position:absolute;left:319px;top:38px;width:223px;height:216px;overflow:visible}
.crm-leads-back-profile{position:absolute;width:199px;height:207px;border:1px solid #2980a8;border-radius:11px;background:linear-gradient(135deg,#235b72bb,#031e38);box-shadow:inset 1px 1px 4px #97e6f64d;transform:skewY(-6deg);pointer-events:none}
.crm-leads-back-profile .crm-leads-face{width:26px;height:26px;position:absolute;top:8px;left:8px}
.crm-leads-back-profile .crm-leads-placeholder{left:42px;top:13px;width:80px;gap:3px}.crm-leads-back-profile i{height:3px}
.crm-leads-reference .back-profile-a{left:-15px;top:-17px}.crm-leads-reference .back-profile-b{left:3px;top:-28px}
.crm-leads-big-profile{position:absolute;inset:0;border:2px solid #a8cfce;border-radius:15px;background:linear-gradient(115deg,#6c959c33,#104d70 12%,#082b43 69%,#37667855);box-shadow:-7px 1px 0 -1px #10354d,-10px 0 0 -2px #6ebbd288,inset 3px 2px 7px #88d7e08c,0 3px 12px #d7c88577;transform:skewY(-6deg);padding:17px 13px}
.crm-leads-profile-top{display:flex;position:relative;height:68px}
.crm-leads-profile-top .crm-leads-face{width:62px;height:62px;border-radius:4px;border-color:#ddf1ed}
.crm-leads-profile-top .crm-leads-placeholder{top:7px;left:76px;width:91px;gap:7px}.crm-leads-profile-top .crm-leads-placeholder i{height:6px}
.crm-leads-big-profile dl{margin-top:8px!important;display:grid;gap:11px}
.crm-leads-big-profile dl>div{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px}
.crm-leads-big-profile dt{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#c5d6e5}
.crm-leads-big-profile dt svg{width:17px;height:17px;color:#acdff1}
.crm-leads-big-profile dd{font-size:9px;border:1px solid #3689a2;background:linear-gradient(#1a617e,#0a3c5b);border-radius:5px;padding:4px 6px!important;white-space:nowrap}
.crm-leads-big-profile dl>div:first-child dd{background:linear-gradient(#ead79b,#b9ab80);border-color:#f2dda3;color:#1d3c43}
.crm-leads-lens{position:absolute;left:544px;top:0;width:168px;height:168px;transform:rotate(-8deg);isolation:isolate}
.crm-leads-lens-rim{position:absolute;inset:0;border-radius:50%;background:linear-gradient(125deg,#ffe8a0 1%,#c2a15d 8%,#fff0b4 16%,#8c723e 26%,#eedb9c 48%,#957c4d 72%,#fff1ba 87%,#a78f53 99%);box-shadow:0 0 15px #dbb65b77,0 5px 9px #000c;border:1px solid #f9d982}
.crm-leads-lens-rim::before{content:"";position:absolute;inset:6px;border:2px solid #e2cb89;border-radius:50%;background:linear-gradient(135deg,#12374d,#011c30 60%,#15455e);box-shadow:inset 0 0 12px #73d5f57a,0 0 3px #102e47}
.crm-leads-lens-rim::after{content:"";position:absolute;inset:11px;border:1px solid #74988d;border-radius:50%;background:linear-gradient(125deg,#7dd4de18,transparent 55%)}
.crm-leads-lens-glass{position:absolute;inset:34px 19px 35px;display:flex;flex-direction:column;gap:9px;transform:rotate(8deg)}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-lens-glass label{display:flex;align-items:center;gap:8px;font-size:9px;white-space:nowrap;margin:0;padding:0;line-height:1.2;color:#e0edf0}
.crm-leads-lens input{width:14px;height:14px;border-radius:2px;flex-shrink:0}.crm-leads-lens input::after{width:7px!important;height:4px!important}
.crm-leads-lens-handle{position:absolute;right:-22px;bottom:-34px;width:23px;height:75px;border:1px solid #f0d18a;transform:rotate(-32deg);border-radius:6px;background:linear-gradient(90deg,#715635,#f2daa0 45%,#f5e2aa 58%,#977743);box-shadow:3px 4px 7px #000a;z-index:-1}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-green-branch,:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-red-branch{position:absolute;left:711px;top:52px;padding:5px 10px;border:1px solid #6bdbb3;border-radius:8px;color:#d5ffeb;background:linear-gradient(#11604d,#003b35);box-shadow:inset 0 0 6px #2abb9088,0 0 10px #25e0a655;font-size:10px;white-space:nowrap}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-red-branch{left:719px;top:145px;color:#ffdbe0;border-color:#d69093;background:linear-gradient(#693b46,#381e2c);box-shadow:inset 0 0 5px #ef99a655,0 0 8px #ed707155}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-nurture{position:absolute;left:572px;top:191px;width:150px;height:74px;overflow:visible}
.crm-leads-nurture>span{position:absolute;left:0;top:0;width:110px;height:52px;border:1px solid #4d9eb7;border-radius:9px;background:linear-gradient(130deg,#224c60,#092c43);box-shadow:inset 1px 2px 3px #7bc3d755}
.crm-leads-nurture>span:nth-child(2){left:11px;top:9px}.crm-leads-nurture>span:nth-child(3){left:23px;top:19px}
.crm-leads-nurture .crm-leads-face{width:28px;height:28px;position:absolute;top:8px;left:7px}
.crm-leads-nurture .crm-leads-placeholder{top:13px;left:42px;width:53px;gap:4px}.crm-leads-nurture .crm-leads-placeholder i{height:4px}
.crm-leads-nurture>b{position:absolute;left:28px;bottom:-3px;border:1px solid #80b4ca;border-radius:7px;padding:5px 10px;background:linear-gradient(#164f6b,#002f48);font-size:10px;font-weight:500;white-space:nowrap}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-assignee{position:absolute;left:803px;top:20px;width:155px;height:195px;border:1px solid #87cbdc;border-radius:12px;background:linear-gradient(110deg,#73949e33,#235d7c 15%,#07314b 65%,#21536f);box-shadow:-6px 0 0 -1px #11374c,-9px 0 0 -2px #54a1b988,inset 2px 2px 6px #77b8d29c,0 4px 10px #0b7cac55;padding:15px 10px;text-align:center}
.crm-leads-assignee>.crm-leads-face{width:70px;height:70px;display:block;margin:0 auto 8px;border-color:#c6e2e9;background-color:#7895a3}
.crm-leads-assignee>strong{display:block;font-size:12px;font-weight:600;white-space:nowrap}
.crm-leads-assignee>span:not(.crm-leads-face,.crm-leads-private-placeholder){display:block;font-size:10px;color:#9ab6c9;margin-top:5px;white-space:nowrap}
.crm-leads-private-placeholder{display:flex;align-items:center;gap:10px;margin:10px 4px 0;text-align:left;color:#91d9eb}.crm-leads-private-placeholder svg{width:14px;height:14px}.crm-leads-private-placeholder i{height:5px;width:64px;background:#5f98b7;border-radius:4px}.crm-leads-private-placeholder:last-child{margin-top:6px}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-opportunity{position:absolute;left:1017px;top:20px;width:203px;height:215px;border:1px solid #e0d69f;border-radius:13px;background:linear-gradient(115deg,#8c92722b,#11304b 24%,#03233b 85%);box-shadow:inset 3px 2px 7px #c6c8956b,0 3px 10px #c2ab7455;padding:14px 12px}
.crm-leads-opportunity>strong{display:flex;align-items:center;gap:10px;color:#e9d68d;font-size:13px;font-weight:650;margin-bottom:9px;white-space:nowrap}.crm-leads-opportunity>strong svg{width:30px;height:30px}
.crm-leads-opportunity>span{display:block;font-size:10px;color:#b9cbdf;margin-bottom:10px;white-space:nowrap}
.crm-leads-opportunity-company{padding:8px 6px;border:1px solid #2e5771;border-radius:7px;background:linear-gradient(90deg,#22517277,#16324c);margin-bottom:10px!important}
.crm-leads-opportunity-status{border-bottom:1px solid #34516a;padding-bottom:10px}.crm-leads-opportunity-status::first-line{color:#f1db98}.crm-leads-opportunity-status>b{float:right;font-size:20px;line-height:12px;color:#b7cedd}
.crm-leads-opportunity .crm-leads-opportunity-date{display:flex;align-items:center;gap:9px;font-size:10px;color:#d4e0eb;line-height:1.8;margin-top:3px;margin-bottom:0}.crm-leads-opportunity-date svg{width:23px;height:23px;color:#e4ca7d}.crm-leads-opportunity-date b{font-weight:400}.crm-leads-opportunity-date>b:last-child{font-size:24px}
.crm-leads-flow-labels{display:grid;grid-template-columns:38% 25% 18% 19%;text-align:center;height:31px;align-items:start;color:#dde4ed;font-size:13px}
.crm-leads-flow-labels span:first-child{padding-right:100px}.crm-leads-flow-labels span:nth-child(2){padding-right:110px}
.crm-leads-benefits{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-benefits>button{border:1px solid #2d6587;border-radius:12px;background:linear-gradient(130deg,#1a385060,#03223d 50%,#00172d);box-shadow:inset 0 0 8px #296c9b4d;display:flex;align-items:center;gap:18px;padding:12px 18px;height:87px}
.crm-leads-benefits>button>span{display:grid;place-items:center;width:57px;height:57px;flex-shrink:0;border:1px solid #446a7d;border-radius:50%;background:radial-gradient(circle at 25% 20%,#44677788,#03233c 65%);color:#eacb84;box-shadow:inset 0 0 5px #87adc255}
.crm-leads-benefits svg{width:32px;height:32px;stroke-width:1.7;filter:drop-shadow(0 2px 2px #000c)}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-benefits h2{font-size:12px;margin:0 0 6px;color:#e3e5e8;font-weight:650;white-space:nowrap}
:is(#detail,.crm-team-shell) .crm-leads-reference .crm-leads-benefits p{font-size:11px;color:#b2c2d5;line-height:1.6;font-weight:400;white-space:nowrap}
.crm-leads-scene-live .crm-leads-pulse{animation:crm-leads-pulse 3.5s ease-in-out infinite}
@keyframes crm-leads-pulse{50%{stroke:#a5ffe1;stroke-width:6;opacity:.65}}
@media(prefers-reduced-motion:reduce){.crm-leads-reference *{animation:none!important;scroll-behavior:auto!important}}
/* Native modal scope does not affect the host feature dialog. */
:is(#detail,.crm-team-shell) dialog.crm-leads-dialog{position:fixed;inset:0;width:min(570px,92vw);height:fit-content;min-height:0;max-height:88vh;overflow:auto;margin:auto;padding:22px;border:1px solid #7fc6df;border-radius:16px;background:linear-gradient(140deg,#10384e,#031c30 65%);color:#e1eef5;font:14px "Segoe UI",sans-serif;box-shadow:0 22px 80px #000c,inset 0 0 20px #40809b33;text-align:left}
.crm-leads-dialog::backdrop{background:#000c}
:is(#detail,.crm-team-shell) .crm-leads-dialog :is(p,h2,dl,dt,dd){margin:0;padding:0;font:inherit;line-height:1.6;letter-spacing:normal;color:inherit}
:is(#detail,.crm-team-shell) .crm-leads-dialog p{margin:10px 0}
:is(#detail,.crm-team-shell) .crm-leads-dialog :is(button,input,select){font:14px "Segoe UI",sans-serif;min-height:0;letter-spacing:normal;box-sizing:border-box}
.crm-leads-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}
:is(#detail,.crm-team-shell) .crm-leads-dialog h2{font-size:21px;font-weight:650}
:is(#detail,.crm-team-shell) .crm-leads-dialog button{padding:9px 13px;border:1px solid #447d97;border-radius:7px;background:#103a50;color:#deedf4;cursor:pointer;text-transform:none}
.crm-leads-dialog button:focus-visible,.crm-leads-dialog input:focus-visible,.crm-leads-dialog select:focus-visible{outline:2px solid #ffe29c;outline-offset:2px}
:is(#detail,.crm-team-shell) .crm-leads-dialog button:disabled{cursor:default;opacity:.65}
:is(#detail,.crm-team-shell) .crm-leads-dialog [data-close]{display:grid;place-items:center;padding:5px;width:32px;height:32px;flex-shrink:0;border-radius:50%}
.crm-leads-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 0}
:is(#detail,.crm-team-shell) .crm-leads-dialog .crm-leads-primary{background:linear-gradient(#eed49b,#b99654);border-color:#ffe6a0;color:#112838;font-weight:650}
:is(#detail,.crm-team-shell) .crm-leads-dialog .crm-leads-modal-note{font-size:11px;color:#95b3c7;line-height:1.45;margin:16px 0 0}
.crm-leads-modal-summary{display:flex;align-items:center;gap:15px;margin-bottom:18px}
.crm-leads-modal-summary>span{color:#e5c77f}.crm-leads-modal-summary svg{width:40px;height:40px}
:is(#detail,.crm-team-shell) .crm-leads-dialog .crm-leads-modal-summary p{margin:4px 0;font-size:13px;color:#abc8d7}
:is(#detail,.crm-team-shell) .crm-leads-dialog .crm-leads-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font:14px "Segoe UI",sans-serif;color:#c9dce8;line-height:1.4}
.crm-leads-field select,.crm-leads-field input{border:1px solid #477c91;border-radius:6px;padding:10px 12px;background:#09283b;color:#e6edf5;width:100%;height:40px}
.crm-leads-modal-list{display:flex;flex-direction:column;gap:7px;max-height:49vh;overflow:auto}
:is(#detail,.crm-team-shell) .crm-leads-dialog .crm-leads-modal-list button{display:flex;align-items:center;gap:13px;text-align:left;width:100%}
.crm-leads-modal-list button>span{flex:1}.crm-leads-modal-list button>span:nth-child(3){text-align:right;flex:0 0 140px;font-size:12px}
.crm-leads-modal-list small{display:block;font-size:11px;color:#9fbccd;line-height:1.6;margin-top:3px}
.crm-leads-modal-dl>div{display:grid;grid-template-columns:1fr 1.3fr;border-bottom:1px solid #285267;gap:20px;padding:9px 0}
.crm-leads-modal-dl dt{color:#99b9cb!important}.crm-leads-modal-dl dd{text-align:right}
.crm-leads-modal-person{display:flex;align-items:center;gap:18px;margin-bottom:18px}.crm-leads-modal-person>.crm-leads-face{width:85px;height:85px}
