.leads-wrap{max-width:1080px;margin:auto;color:inherit}.leads-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.leads-head h2{margin:0 0 5px;font-size:clamp(22px,4vw,31px)}.leads-head .note{font-size:12px;font-weight:450}.leads-back{width:auto!important;max-width:115px;min-width:85px;margin:0!important;padding:10px 14px!important;border-radius:12px;background:#292622!important;color:#fff!important;white-space:nowrap}.leads-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:12px 0}.leads-filters label{font-size:12px;font-weight:650;color:#c9bfb6;display:flex;flex-direction:column;gap:5px;min-width:0}.leads-filters input,.leads-filters select{height:44px;max-width:100%;width:100%;min-width:0;background:#211e1b!important;color:#fff!important;border:1px solid #5d5149!important;border-radius:11px!important;padding:10px!important;margin:0!important;font-size:13px!important}.leads-filters input:focus,.leads-filters select:focus{outline:2px solid #ff7900}.leads-search{grid-column:span 2}.leads-controls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px;align-items:center}.leads-controls button,.leads-pages button{display:inline-flex;width:auto!important;min-width:0!important;min-height:40px!important;margin:0!important;padding:9px 13px!important;border:1px solid #6f5949!important;background:#292521!important;color:#fff!important;border-radius:10px!important;font-size:12px!important;font-weight:700!important}.leads-controls #leadsApply{background:#ff7900!important;border-color:#ff7900!important}.leads-controls button:disabled{opacity:.45}.leads-progress{font-size:12px;color:#c3b9b1;margin:10px 0 12px}.leads-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lead-kpi{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:7px;width:100%!important;min-height:114px!important;padding:15px!important;border-radius:15px!important;border:1px solid #57483e!important;background:#24211e!important;color:#e7ded7!important;margin:0!important;text-align:left!important;box-shadow:none!important}.lead-kpi strong{font-size:27px;color:#ff7900;line-height:1.1;font-variant-numeric:tabular-nums}.lead-kpi span{font-size:12px;font-weight:700}.lead-kpi small{font-size:10px;color:#b0a29a}.lead-kpi:focus-visible,.lead-row:focus-visible{outline:2px solid #ff7900}.leads-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:23px 0 13px}.leads-row h3{margin:0;font-size:18px}.leads-row label{display:flex;align-items:center;gap:5px;font-size:11px;color:#aaa}.leads-row select{width:auto!important;margin:0!important;padding:7px 9px!important;min-height:38px!important}.lead-row{display:flex!important;flex-direction:column;gap:10px;width:100%!important;margin:0 0 9px!important;padding:16px!important;border:1px solid #49413a!important;border-radius:13px!important;background:#211f1c!important;color:#eee!important;text-align:left!important;box-shadow:none!important}.lead-row-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.lead-row-top strong{font-size:15px;overflow-wrap:anywhere}.lead-row-top span{font-size:10px;color:#ada39b;text-align:right}.lead-row-meta{font-size:12px;color:#ada39b;overflow-wrap:anywhere}.lead-tags{display:flex;gap:5px;flex-wrap:wrap}.lead-tags small{background:#403025;color:#ffb073;padding:4px 8px;border-radius:15px;font-size:10px}.lead-row-bottom{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;font-weight:600;color:#e6d6c8}.lead-row-bottom span:last-child{color:#ff8f38}.leads-pages{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0;font-size:12px;color:#c6b7ab}.leads-pages button:disabled{opacity:.4}.leads-wrap .hidden{display:none!important}.lead-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.lead-profile-grid>div,.lead-compare>div{background:#27221e;border:1px solid #514135;border-radius:11px;padding:12px;min-width:0}.lead-profile-grid small,.lead-compare small{display:block;font-size:10px;color:#c1ae9f;margin-bottom:6px}.lead-profile-grid strong,.lead-compare strong{display:block;font-size:14px;overflow-wrap:anywhere;word-break:break-word}.lead-contact-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px}.lead-contact-links a{display:inline-block;padding:9px 15px;border-radius:9px;background:#ff7900;color:white;text-decoration:none;font-size:12px;font-weight:700}.lead-event{position:relative;padding:13px 14px;border-left:2px solid #ff7900;margin:0 0 10px 7px;background:#201c19;border-radius:0 10px 10px 0}.lead-event>div{display:flex;justify-content:space-between;gap:10px}.lead-event strong{font-size:13px}.lead-event time{font-size:10px;color:#aa9e96;text-align:right}.lead-event small{font-size:10px;color:#ffac73}.lead-event p{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:7px 0 4px;color:#e4d8ce}.lead-compare{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:9px 0 20px}.lead-compare strong{font-size:19px;color:#ff7900}@media(max-width:700px){.leads-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.leads-search{grid-column:span 2}.leads-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-compare{grid-template-columns:repeat(2,minmax(0,1fr))}.leads-controls button{flex:1 1 calc(50% - 8px)}.leads-row{align-items:flex-start}.leads-row h3{font-size:15px}.lead-row-top{flex-wrap:wrap}.lead-row-top span{flex:1;text-align:right}.leads-head{align-items:center}.leads-head .note{font-size:11px}}@media(max-width:390px){.leads-filters{gap:7px}.leads-filters input,.leads-filters select{font-size:12px!important}.lead-kpi{min-height:105px!important;padding:11px!important}.lead-kpi strong{font-size:24px}}

/* Mobile-first compact Leads command center and nested customer views. */
.leads-filter-details,.leads-report-section{border:1px solid #504239;border-radius:14px;background:#231f1c;margin:12px 0;overflow:hidden}
.leads-filter-details>summary,.leads-report-section>summary{padding:14px 16px;font-weight:750;font-size:14px;cursor:pointer;list-style:none;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}
.leads-filter-details>summary:after,.leads-report-section>summary:after{content:'⌄';font-size:22px;color:#ff7900;flex:none}
.leads-filter-details[open]>summary:after,.leads-report-section[open]>summary:after{content:'⌃'}
.leads-report-section>summary span{font-size:11px;font-weight:400;color:#b9ada3;display:block}
.leads-filter-details>.leads-filters{padding:2px 14px 14px;margin:0}
.leads-report-section>.leads-campaign-stats,.leads-report-section>#leadsCompareResult{margin:9px 14px 14px}
.stitcho-lead-dialog-backdrop{position:fixed;inset:0;z-index:2147480000;background:rgba(6,6,6,.75);display:flex;align-items:center;justify-content:center;padding:16px}
.stitcho-lead-dialog{width:min(690px,100%);height:min(86dvh,860px);min-height:280px;display:flex;flex-direction:column;overflow:hidden;background:#191714;color:#fff;border:1px solid #604535;border-radius:18px;box-shadow:0 28px 60px #0009}
.stitcho-lead-dialog-head{display:grid;grid-template-columns:auto minmax(0,1fr)auto;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid #594436;position:sticky;top:0;background:#24201c;z-index:2}
.stitcho-lead-dialog-head h2{margin:0;font-size:16px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stitcho-lead-back,.stitcho-lead-close{width:auto!important;min-width:43px!important;height:43px!important;min-height:43px!important;margin:0!important;padding:7px 11px!important;border-radius:10px!important;background:#33302c!important;color:#fff!important;font-size:14px!important}
.stitcho-lead-close{background:#ff7900!important;font-size:24px!important;padding:0!important;width:43px!important}
.stitcho-lead-dialog-body{overflow-y:auto;overscroll-behavior:contain;padding:17px;flex:1;min-height:0}
.stitcho-lead-dialog-body .lead-row{margin:8px 0!important}
.stitcho-lead-dialog-body .lead-row small{font-size:11px;color:#d4b29c;overflow-wrap:anywhere}
@media(max-width:700px){.stitcho-lead-dialog-backdrop{padding:0;align-items:flex-end}.stitcho-lead-dialog{border-radius:19px 19px 0 0;width:100%;height:min(89dvh,900px)}.stitcho-lead-dialog-body{padding:12px}.leads-controls{gap:7px}.leads-controls button{font-size:12px!important}}

.leads-fast-search{display:flex;align-items:flex-end;gap:9px;margin:10px 0 13px}.leads-fast-search label{flex:1;min-width:0;font-size:12px;color:#c9c0b5;font-weight:650}.leads-fast-search input{display:block;width:100%!important;min-height:48px!important;padding:12px!important;background:#24211d!important;border-radius:11px!important;color:#fff!important;border:1px solid #665343!important;margin:5px 0 0!important;box-sizing:border-box!important;font-size:13px!important}.leads-fast-search button{width:auto!important;min-width:88px!important;min-height:48px!important;padding:12px!important;background:#ff7900!important;color:white!important;margin:0!important;font-size:13px!important;border-radius:11px!important}@media(max-width:400px){.leads-fast-search button{min-width:69px!important;font-size:12px!important}}
