:root{--red:#cc313b;--red-dark:#b71d29;--red-soft:#fff0f1;--ink:#1e2534;--slate:#586276;--muted:#8b95a5;--line:#e9edf1;--surface:#fff;--page:#f6f8fb;--font:'DM Sans',sans-serif;--display:'Manrope','DM Sans',sans-serif}
*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{font-family:var(--font);font-size:14px;color:var(--ink);background:var(--page);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.53}a{text-decoration:none;color:inherit}a:hover{color:var(--red)}[v-cloak]{display:none!important}.muted{color:var(--muted)}
.app-shell{min-height:100vh;display:flex}.sidebar{width:270px;flex:0 0 270px;background:#fff;border-right:1px solid #e9edf2;display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:40}.brand{padding:23px 24px 16px;border-bottom:1px solid #f2f3f5}.brand img{display:block;width:198px;height:auto;margin-left:-5px}.brand-desc{margin-top:8px;font-weight:800;font-size:9px;letter-spacing:1.8px;color:#6a7281;display:flex;align-items:center;gap:9px}.brand-dot{height:4px;width:4px;border-radius:50%;background:var(--red)}.workspace-pill{display:flex;gap:10px;align-items:center;background:#f8f9fb;border:1px solid #edf0f5;border-radius:11px;padding:10px 11px;margin:19px 16px 15px}.work-icon{width:34px;height:34px;background:#ffe8e9;color:#cc303b;display:grid;place-items:center;font-size:22px;border-radius:9px}.workspace-pill span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.workspace-pill strong{font-size:12px;letter-spacing:-.1px}.workspace-pill small{font-size:10px;color:#8992a1}.soft-chevron{font-size:18px;color:#b2bac5}.side-heading{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#9aa3b1;margin:12px 24px 10px}.side-heading.with-line{margin-top:22px;display:flex;justify-content:space-between;align-items:center}.side-heading.with-line span{border:1px solid #eff0f3;border-radius:5px;padding:2px 5px;font-size:9px}.side-overview,.niche-link{border:0;background:transparent;color:#626e80;display:flex;align-items:center;text-align:left;gap:11px;border-radius:9px;margin:0 14px;padding:11px 13px;font-weight:700;font-size:12px;transition:background .2s,color .2s}.side-overview{margin-bottom:5px}.side-overview b,.niche-link .count{font-size:10px;margin-left:auto;color:#9ba5b3;font-weight:700}.side-overview.active,.niche-link.active{background:#fff0f1;color:var(--red)}.side-overview.active b,.niche-link.active .count{color:var(--red)}.mini-glyph{font-size:20px;width:21px;line-height:1}.niche-list{overflow:auto;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#dfe4eb transparent;flex:1}.niche-link{margin-top:1px;width:calc(100% - 28px);padding-top:9px;padding-bottom:9px;font-weight:600}.niche-link:hover,.side-overview:hover{background:#f5f6fa}.niche-link.active:hover{background:#fff0f1}.niche-emoji{font-size:15px;width:22px;text-align:center;filter:saturate(.85)}.niche-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.sidebar-bottom{border-top:1px solid #edf0f2;padding:15px 13px 13px}.side-tip{background:#262b38;border-radius:11px;padding:15px;color:white;margin:0 3px 12px;position:relative;overflow:hidden}.side-tip:after{content:'✦';position:absolute;color:#424954;font-size:62px;right:-2px;top:-14px}.tip-kicker{font-size:9px;letter-spacing:1.1px;color:#febbc2;font-weight:800;margin-bottom:9px}.side-tip b{font-size:13px}.side-tip p{font-size:11px;line-height:1.65;color:#bfc4cc;max-width:180px;margin:7px 0 0}.profile{width:100%;display:flex;align-items:center;gap:9px;padding:8px;border:0;background:#fff;text-align:left;border-radius:10px}.profile:hover{background:#f8f9fb}.profile>span:nth-child(2){display:flex;flex-direction:column;flex:1;gap:2px}.profile b{font-size:11px}.profile small{font-size:10px;color:#9099a8}.avatar{width:33px;height:33px;border-radius:50%;background:#ffebec;color:#bc2632;font-size:11px;font-weight:800;display:grid;place-items:center;flex-shrink:0}.avatar.sm{width:30px;height:30px;font-size:10px}
.page-wrap{min-width:0;margin-left:270px;flex:1}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 37px;background:white;border-bottom:1px solid var(--line)}.breadcrumbs{display:flex;gap:13px;align-items:center;color:#9ea5b0;font-size:12px}.breadcrumbs b{color:#384252;font-weight:700}.breadcrumb-divider{color:#d7dce5}.top-actions{display:flex;gap:17px;align-items:center;color:#5f6978;font-size:12px}.user-greeting{font-weight:700;color:#364052}.live-indicator{font-size:10px;letter-spacing:.8px;font-weight:800;background:#e9f6ef;color:#258454;border-radius:100px;padding:8px 11px;display:flex;align-items:center;gap:6px}.live-indicator span,.status-orb{width:7px;height:7px;border-radius:50%;background:#39b879}.top-divider{height:22px;width:1px;background:#e4e9ee}.mobile-hamburger{display:none;border:0;background:transparent;font-size:20px;color:#2c3442}.main-content{max-width:1750px;margin:auto;padding:34px 34px 30px}.welcome-row{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:27px}.section-kicker{display:flex;gap:8px;align-items:center;font-size:9px;letter-spacing:1.8px;font-weight:800;color:#bd4750}.red-line{width:19px;height:2px;background:var(--red)}h1,h2,h3,p{margin-top:0}.welcome-row h1{font-family:var(--display);font-size:30px;line-height:1.28;font-weight:800;letter-spacing:-1.1px;margin:8px 0 6px}.welcome-row h1 span{color:#bc2d38}.intro{color:#8892a1;font-size:12px;margin-bottom:0}.header-commands,.panel-actions{display:flex;align-items:center;gap:10px}.btn{border:1px solid transparent;border-radius:9px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:11px;font-weight:750;font-size:11px;white-space:nowrap;transition:transform .15s,background .15s,box-shadow .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:#cc303b;color:white;box-shadow:0 6px 15px #c92d3920}.btn.primary:hover{background:#b82530;box-shadow:0 9px 17px #c92d3932}.btn.outline{border-color:#e3e8ef;background:white;color:#485366}.btn.outline:hover{border-color:#d0d7e1;background:#fdfdfd}.btn.minimal{background:#fff;border-color:#e8ebf0;color:#637083;padding:9px 12px;box-shadow:none}.btn.small{padding:8px 11px;font-size:10px}.btn.full{width:100%;justify-content:space-between;padding:13px 17px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:19px}.stat-card{min-height:153px;border-radius:13px;background:#fff;border:1px solid #eaeef3;padding:20px 21px;position:relative;overflow:hidden;box-shadow:0 2px 4px #11182703}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;font-weight:800;color:#9099a8;position:relative;z-index:2}.stat-icon{font-size:21px;color:#aaa1a2;line-height:1}.stat-icon.pale{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#f7f8fa;color:#9ca7b7;font-weight:600}.stat-card strong{font-size:32px;font-family:var(--display);font-weight:800;letter-spacing:-1.1px;display:block;margin-top:10px;line-height:1.2;position:relative;z-index:2}.stat-sub{margin-top:12px;font-size:11px;color:#8f98a6;display:flex;gap:8px;align-items:center;position:relative;z-index:2}.stat-tag{padding:4px 7px;border-radius:4px;font-size:9px;font-weight:700}.stat-tag.green{background:#245e4d;color:#a6e6c8}.stat-main{border-color:#252c39;background:linear-gradient(117deg,#282f3d,#1e2430);color:#fff}.stat-main .stat-top,.stat-main .stat-sub{color:#b9bfca}.stat-main .stat-icon{color:#fff}.decor-circles i{position:absolute;display:block;border:1px solid #ffffff14;border-radius:50%;width:185px;height:185px;right:-71px;bottom:-96px}.decor-circles i:nth-child(2){right:-35px;bottom:-120px}.decor-circles i:nth-child(3){right:-2px;bottom:-143px}.stat-trend{color:#20a76c;font-weight:800}.win-dot{height:7px;width:7px;background:#4cbd8a;border-radius:50%}
.insight-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:17px;margin-bottom:21px}.insight-panel{border:1px solid #f2e3e5;background:linear-gradient(110deg,#fff5f5 0%,#fffafa 74%,#fff 100%);border-radius:12px;min-height:120px;padding:22px;display:flex;align-items:center;gap:17px;position:relative;overflow:hidden}.insight-icon{background:#ffe6e7;width:53px;height:53px;flex:none;color:#d34852;border-radius:12px;font-size:28px;display:grid;place-items:center}.insight-copy{flex:1;min-width:0}.tiny-caps{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#a05861}.insight-copy h3{font-family:var(--display);font-size:15px;margin:5px 0 6px;letter-spacing:-.2px}.insight-copy p{font-size:11px;color:#99919a;line-height:1.5;max-width:520px;margin:0}.focus-chip{font-size:9px;white-space:nowrap;background:#fff;padding:6px 9px;border:1px solid #f2dee0;border-radius:6px;color:#c5434f;font-weight:800}.revenue-panel{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:12px;padding:22px 23px;background:white;border:1px solid var(--line)}.revenue-panel .tiny-caps{color:#929cab}.revenue-panel h3{font-family:var(--display);font-size:14px;margin:6px 0 0}.revenue-items{display:flex;flex-direction:column;gap:7px;min-width:130px}.revenue-items>div{display:flex;flex-direction:column}.revenue-items b{font-size:12px}.revenue-items small{color:#97a0ad;font-size:10px}
.leads-panel{border:1px solid #e9edf2;background:white;border-radius:14px;box-shadow:0 2px 7px #161e2b03;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 25px 21px}.table-kicker{font-size:9px;font-weight:800;letter-spacing:1.4px;color:#c63743}.kicker-separator{color:#bcc4ce;padding:0 6px}.panel-heading h2{font-size:20px;font-family:var(--display);letter-spacing:-.6px;margin:8px 0 5px}.leads-number{display:inline-flex;align-items:center;padding:3px 8px;border-radius:100px;color:#bb3945;background:#fff0f1;font-size:10px;vertical-align:middle;letter-spacing:0;font-weight:800;margin-left:6px}.panel-heading p{color:#a2aab7;font-size:11px;margin:0}.filters-row{display:flex;align-items:center;gap:10px;padding:0 25px 20px}.search-box{height:41px;display:flex;align-items:center;flex:1;min-width:170px;gap:8px;border:1px solid #e5e9ef;border-radius:8px;padding:0 12px;color:#98a2af}.search-box>span{font-size:20px;line-height:1}.search-box input{width:100%;background:transparent;border:0;outline:0;font-size:11px;color:#3a4352}.search-box input::placeholder{color:#a4acb8}.select-filter{height:41px;min-width:158px;border:1px solid #e5e9ef;color:#596476;background:#fff;border-radius:8px;padding:0 12px;font-size:11px;outline:0}.stage-filter{min-width:128px}.checkbox-filter{height:41px;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#677181;white-space:nowrap}.checkbox-filter input{accent-color:var(--red)}.discovery-bar{padding:11px 25px;background:#f8f9fb;border-top:1px solid #eef1f4;border-bottom:1px solid #eef1f4;display:flex;align-items:center;justify-content:space-between;gap:16px}.discovery-state{display:flex;align-items:center;gap:9px;color:#8d96a4;font-size:10px}.discovery-state b{color:#586274}.status-orb{display:inline-block;flex:none;background:#4ba6a6}.status-orb.pulse{background:#e8a33d;box-shadow:0 0 0 3px #f6e5c9;animation:pulse 1s infinite alternate}@keyframes pulse{to{transform:scale(.72);opacity:.5}}.discovery-controls{display:flex;align-items:center;gap:13px}.auto-switch{font-size:10px;display:flex;align-items:center;gap:7px;color:#788394;white-space:nowrap;cursor:pointer}.auto-switch input{accent-color:#c72a36}.source-select{height:28px;font-size:10px;border-radius:6px;border:1px solid #e3e8ee;color:#617084;background:white;padding:0 7px}.table-scroll{overflow-x:auto}.lead-table{border-collapse:collapse;width:100%;min-width:1110px;text-align:left}.lead-table th{font-size:9px;font-weight:800;letter-spacing:.82px;color:#9ca5b2;background:white;padding:16px 13px;border-bottom:1px solid #e8ecf0;white-space:nowrap}.lead-table th:first-child{padding-left:25px}.lead-table th:last-child{padding-right:25px}.lead-table td{padding:16px 13px;border-bottom:1px solid #f1f3f6;vertical-align:middle;font-size:11px}.lead-table td:first-child{padding-left:25px}.lead-table td:last-child{padding-right:25px}.lead-table tbody tr:hover:not(:has(.empty-table)){background:#fcfcfe}.company-cell{display:flex;align-items:center;gap:11px;min-width:160px}.company-avatar{width:39px;height:39px;border-radius:10px;flex:none;display:grid;place-items:center;font-size:12px;font-weight:800}.company-title{font-size:11px;line-height:1.3;font-weight:800;color:#2c3648;background:transparent;border:0;padding:0;text-align:left;max-width:210px}.company-title:hover{color:var(--red)}.company-url{font-size:10px;margin-top:6px;color:#a1a9b4;white-space:nowrap}.company-url a{color:#a1a9b4}.contacts-cell{min-width:210px}.contact-line{font-size:10px;display:flex;align-items:center;gap:7px;color:#4d5c72;max-width:230px;white-space:nowrap}.contact-line span{overflow:hidden;text-overflow:ellipsis}.contact-line:hover{color:var(--red)}.contact-bottom{display:flex;align-items:center;gap:10px;margin-top:7px}.phone-link{font-size:10px;color:#6d7b8d}.wa-icon{font-size:9px;font-weight:800;border-radius:4px;padding:3px 6px;background:#e6f8ed;color:#18864e}.contact-muted{color:#b4bcc5;font-size:10px}.location-cell{display:flex;gap:5px;align-items:center;color:#4d596c;font-weight:700;white-space:nowrap}.country-line{font-size:10px;color:#a2aab7;margin-top:5px}.source-badge{font-size:9px;padding:6px 9px;border-radius:5px;color:#667b92;background:#eef3f9;font-weight:800;white-space:nowrap;display:inline-block}.source-badge.website{color:#4c8c74;background:#eaf6ef}.source-badge.manual{color:#916b3e;background:#fdf3e6}.source-badge.csv{color:#8b70a6;background:#f4eefb}.stage-pill{border:1px solid transparent;border-radius:50px;padding:7px 10px;font-size:10px;font-weight:800;max-width:125px;min-width:97px;cursor:pointer;appearance:none;background:#f2f4f7;color:#647181;outline:none}.stage-pill.new,.stage-pill.researching{background:#f2f4f7;color:#657589}.stage-pill.contacted{background:#edf4ff;color:#5076ba}.stage-pill.interested,.stage-pill.proposal,.stage-pill.quotation{background:#fff6e5;color:#b6802a}.stage-pill.negotiation,.stage-pill.discovery{background:#f2efff;color:#8564b4}.stage-pill.won{background:#e8f7ef;color:#2e9061}.stage-pill.lost,.stage-pill.do_not_contact{background:#ffeef0;color:#c7555c}.stage-pill.static{min-width:0;cursor:default}.opportunity-line{color:#566477;font-size:10px;font-weight:700}.row-action{height:30px;width:31px;border:1px solid #e6eaf0;border-radius:7px;background:#fff;font-size:15px;color:#a2abb8}.row-action:hover{background:#fff0f1;color:#bc2833;border-color:#f4dce0}.action-head{text-align:center}.empty-table{text-align:center;padding:53px 20px!important}.empty-table b{display:block;font-size:14px;margin:4px 0 8px}.empty-table p{margin:0 auto 18px;max-width:420px;line-height:1.65;color:#98a3b1;font-size:12px}.empty-visual{font-size:40px;display:grid;place-items:center;margin:0 auto 10px;height:70px;width:70px;background:#fff1f2;color:#c83e49;border-radius:20px}.skeleton{display:block;height:17px;border-radius:6px;background:linear-gradient(90deg,#f0f2f5,#fafbfc,#f0f2f5);background-size:200% 100%;animation:skeleton 1.2s infinite}@keyframes skeleton{to{background-position-x:-200%}}.table-footer{height:59px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;color:#969fae;font-size:10px}.table-footer b{color:#4f5c6d}.pagination{display:flex;align-items:center;gap:14px}.pagination button{border:1px solid #e7ebef;background:#fff;color:#6b7687;border-radius:6px;font-size:10px;padding:7px 11px}.pagination span{font-size:10px;color:#9ba4b0}
.lower-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:17px;margin-top:19px}.scan-panel,.insights-side{border:1px solid #e8edf2;background:white;border-radius:12px;padding:20px}.mini-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.mini-panel-heading h3{font-size:13px;font-family:var(--display);margin:0}.text-button{background:transparent;border:0;color:#b9333d;font-size:10px;font-weight:800}.subtle-empty{font-size:11px;color:#a1a9b4;padding:16px 0}.scan-item{display:flex;align-items:center;gap:11px;border-top:1px solid #f0f2f5;padding:11px 0}.scan-symbol{width:29px;height:29px;border-radius:8px;background:#f3f5f8;color:#9ba4b0;display:grid;place-items:center}.scan-text{display:flex;flex-direction:column;gap:4px;flex:1}.scan-text b{font-size:11px}.scan-text small{font-size:10px;color:#a0a9b5}.scan-count{font-size:12px;font-weight:800;color:#2e9870}.scan-badge{border-radius:5px;padding:4px 7px;font-weight:800;font-size:9px;background:#f3f4f6;color:#8994a3}.scan-badge.completed{background:#e8f7ef;color:#2e9061}.scan-badge.failed{background:#fff0f1;color:#c54854}.scan-badge.running,.scan-badge.queued{background:#fff5e4;color:#b9873e}.insights-side{background:linear-gradient(135deg,#fff,#fff8f8);border-color:#f1e4e5}.insights-side p{font-size:12px;color:#788495;line-height:1.8;max-width:425px}.compliance-note{font-size:10px;color:#b25860;font-weight:700;border-top:1px solid #f4e9e9;margin-top:18px;padding-top:15px}.app-footer{margin-top:26px;color:#a1a8b3;font-size:10px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.app-footer a{text-decoration:underline;text-underline-offset:2px}
/* Login */
.login-shell{min-height:100vh;background:#f9fafb;display:grid;grid-template-columns:1.05fr .95fr}.login-art{background:#232a37;min-height:100vh;padding:10% 10%;color:#fff;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-art .eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#e09da3}.login-art h1{font-size:clamp(38px,5vw,77px);font-family:var(--display);letter-spacing:-2.6px;line-height:1.2;margin:24px 0}.login-art h1 em{color:#fa8790;font-style:normal}.login-art p{max-width:470px;line-height:1.9;font-size:16px;color:#c9cdd6}.login-glow{position:absolute;width:630px;height:630px;background:radial-gradient(circle,#de4b5a40,transparent 70%);right:-250px;bottom:-280px;pointer-events:none}.login-accent{font-size:10px;font-weight:800;letter-spacing:2px;margin-top:65px;color:#929cae}.login-card{width:min(405px,84%);margin:auto;background:white;border:1px solid #e8edf1;padding:40px;border-radius:17px;box-shadow:0 18px 65px #2632430b}.login-logo{width:190px;margin-bottom:38px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#d24752}.login-card h2{font-family:var(--display);letter-spacing:-1px;font-size:28px;margin:12px 0 7px}.login-card .muted{font-size:12px;margin-bottom:27px}.field-label{display:block;color:#535e70;font-size:11px;font-weight:800;margin-bottom:15px}.text-input{display:block;width:100%;margin-top:8px;background:white;border:1px solid #e0e6ed;border-radius:8px;padding:12px 12px;font-size:12px;font-weight:500;color:#354050;outline:none;min-height:41px}.text-input:focus{border-color:#db7f86;box-shadow:0 0 0 3px #cb384315}.text-input::placeholder{color:#b2bbc7}.login-foot{font-size:10px;text-align:center;color:#a0a9b7;margin-top:24px;line-height:1.6}.inline-error{background:#fff0f2;border:1px solid #f6dce0;color:#bc2d37;padding:10px;border-radius:8px;font-size:11px;margin:0 0 15px}
/* Modals and detail CRM */
.modal-backdrop{position:fixed;inset:0;z-index:80;background:#18202fb5;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center}.lead-drawer{height:100%;max-height:100%;overflow:auto;width:min(545px,100%);margin-left:auto;background:white;box-shadow:-10px 0 50px #0a11201c;display:flex;flex-direction:column}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e9edf2;padding:28px 28px 23px}.drawer-head h2{font-family:var(--display);font-size:21px;margin:9px 0 12px;letter-spacing:-.5px;line-height:1.3}.close-x{display:grid;place-items:center;height:32px;width:32px;flex:none;background:#f7f8fa;border:1px solid #eef0f3;border-radius:8px;font-size:19px;color:#6c7786}.close-x:hover{background:#ffebed;color:var(--red)}.drawer-tabs{display:flex;justify-content:space-around;border-bottom:1px solid #edf0f4;padding:0 16px;flex:none}.drawer-tabs button{border:0;background:transparent;color:#8a95a3;padding:16px 13px;font-size:11px;font-weight:800;border-bottom:2px solid transparent}.drawer-tabs button.active{border-color:var(--red);color:var(--red)}.drawer-body{overflow-y:auto;padding:25px 28px 40px;flex:1}.drawer-body>.field-label{margin-top:5px}.data-field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.notes{resize:vertical;min-height:94px}.profile-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}.source-details{border:1px solid #e9edf2;background:#f9fafc;border-radius:10px;padding:16px;margin-top:26px;overflow-wrap:anywhere;font-size:11px}.source-details b{font-size:11px}.source-details p{color:#8b96a5;margin:9px 0}.source-details a{font-size:11px;color:#bd3b48}.danger-link{display:block;color:#c95460;border:0;background:transparent;font-size:11px;font-weight:700;padding:12px 0 0;text-decoration:underline}.drawer-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.drawer-section-title h3{font-size:15px;font-family:var(--display);margin:0}.drawer-empty{color:#96a1af;font-size:12px;line-height:1.7;padding:24px 10px;border:1px dashed #e3e8ef;text-align:center;border-radius:9px}.deal-card{border:1px solid #e7ecf2;border-radius:10px;padding:15px;margin:14px 0}.deal-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.deal-card-head b{font-size:12px}.deal-card p{font-size:11px;color:#94a0af;margin:8px 0 15px}.deal-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#f8f9fb;padding:12px;border-radius:7px}.deal-values>div{display:flex;flex-direction:column;gap:6px}.deal-values small{font-size:9px;color:#9aa4b1}.deal-values b{font-size:10px;white-space:nowrap}.deal-buttons{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;color:#8f9aac;font-size:10px}.embedded-form{background:#f9fafc;border-radius:10px;padding:17px;border:1px solid #e9edf2;margin-bottom:18px}.embedded-form .field-label:last-of-type{margin-bottom:14px}.embedded-form .text-input{background:white}.pay-form{margin:14px 0 0}.activity-event{display:flex;gap:13px;border-left:1px solid #e7ebf0;padding:0 0 18px 14px;margin-left:6px;position:relative}.activity-node{position:absolute;left:-6px;font-size:11px;color:#c8303e;background:#fff}.activity-event b{font-size:11px;display:block;margin-bottom:4px}.activity-event small{font-size:10px;color:#a1aab7}.activity-event p{font-size:11px;line-height:1.7;color:#6c7a8e;margin:8px 0 0;white-space:pre-wrap}.dialog-card{width:min(510px,calc(100% - 30px));max-height:calc(100vh - 40px);overflow:auto;padding:28px;background:#fff;border-radius:15px;box-shadow:0 18px 65px #0206171f}.dialog-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid #edf0f3;margin-bottom:20px;padding-bottom:18px}.dialog-title h2{font-family:var(--display);margin:7px 0 0;font-size:19px}.dialog-help{font-size:11px;line-height:1.8;color:#8793a3;margin-bottom:18px}.file-input{display:block;width:100%;border:1px dashed #d8dfe7;border-radius:7px;padding:12px;margin-top:8px;font-size:12px;color:#8f99a7}.toast{position:fixed;bottom:24px;right:26px;max-width:min(480px,calc(100vw - 40px));min-width:260px;background:#263444;color:white;box-shadow:0 12px 34px #1f293730;border-radius:10px;padding:14px 17px;z-index:130;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:700}.toast.error{background:#af2a37}.toast button{border:0;background:none;color:#fff;font-size:20px;opacity:.8}.mobile-shade{display:none}
@media(max-width:1450px){.main-content{padding:26px 24px}.topbar{padding:0 26px}.sidebar{width:247px;flex-basis:247px}.page-wrap{margin-left:247px}.focus-chip{display:none}.insight-row{grid-template-columns:1.5fr 1fr}.panel-actions{gap:6px}.btn.minimal{padding:8px 9px}}
@media(max-width:1180px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-row{grid-template-columns:1fr}.sidebar{width:235px;flex-basis:235px}.page-wrap{margin-left:235px}.focus-chip{display:block}.insight-panel{min-height:105px}.revenue-panel{min-height:85px}.panel-heading{flex-wrap:wrap}.filters-row{flex-wrap:wrap}.search-box{flex-basis:100%}.lead-table{min-width:1140px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:274px;box-shadow:0 0 35px #1f293708}.sidebar.sidebar-open{transform:translateX(0)}.mobile-shade{display:block;position:fixed;inset:0;z-index:35;background:#101b2a6e}.page-wrap{margin-left:0}.mobile-hamburger{display:block}.topbar{gap:16px;height:65px;padding:0 18px}.main-content{padding:25px 16px}.breadcrumbs{flex:1}.welcome-row h1{font-size:25px}.welcome-row{align-items:flex-start}.header-commands{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:630px){.stats-grid{gap:10px}.stat-card{min-height:131px;padding:15px}.stat-card strong{font-size:25px}.stat-top{font-size:9px}.stat-icon{display:none}.stat-sub{font-size:9px}.welcome-row{flex-direction:column;gap:18px}.header-commands{width:100%;justify-content:flex-start}.header-commands .btn{flex:1}.top-actions .live-indicator,.top-divider,.user-greeting{display:none}.panel-heading{padding:20px 16px}.panel-actions{flex-wrap:wrap}.filters-row{padding:0 16px 17px}.select-filter{flex:1}.discovery-bar{padding:13px 16px;flex-direction:column;align-items:flex-start}.discovery-controls{width:100%;justify-content:space-between}.focus-chip{display:none}.insight-panel{padding:16px}.insight-icon{width:38px;height:38px;font-size:20px}.insight-copy h3{font-size:13px}.insight-copy p{font-size:10px}.lower-grid{grid-template-columns:1fr}.table-footer{padding:10px 16px;height:auto;gap:12px;flex-wrap:wrap}.login-shell{display:block}.login-art{min-height:0;padding:40px 24px 34px}.login-art h1{font-size:38px;margin:14px 0}.login-art p{font-size:12px}.login-accent{margin-top:25px}.login-card{margin:24px auto;padding:23px;width:calc(100% - 28px)}.login-logo{width:155px;margin-bottom:23px}.data-field-row{grid-template-columns:1fr;gap:0}.dialog-card{padding:19px}.drawer-head{padding:20px}.drawer-body{padding:20px}.drawer-tabs{padding:0 5px}.drawer-tabs button{padding:13px 8px;font-size:10px}}

/* Free source v2 */
.research-pill{font-size:10px;border-radius:7px;background:#fff0d4;color:#79531a;padding:3px 5px;margin-left:4px;white-space:nowrap;}
.research-sources{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0;}
.research-sources a{font-size:12px;text-decoration:underline;text-underline-offset:3px;}
.scan-warning{display:block;max-width:280px;color:#b15c2d!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
