:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d252c;background:#f7f8f6;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.muted{color:#829095}.eyebrow{margin:0 0 11px;color:#759298;font-size:10px;font-weight:800;letter-spacing:.17em}.small-text{font-size:12px}.button{border:0;border-radius:10px;padding:11px 17px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:18px;white-space:nowrap}.button-dark{background:#182d32;color:white}.button-dark:hover{background:#29474c}.button-light{background:#e9f0ed;color:#21433d}.button-light:hover{background:#dce9e4}.text-button{background:none;border:0;color:#57746c;font-size:12px;font-weight:700;padding:10px}.text-button:hover{text-decoration:underline}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:#d5efdf;color:#183c36;border-radius:15px;width:49px;height:49px;font-size:20px;font-weight:900;letter-spacing:-.1em}.brand-mark span{color:#329569}.brand-mark.small{width:36px;height:36px;border-radius:10px;font-size:16px}.login-body{min-height:100vh;background:radial-gradient(circle at 20% 10%,#dcefe6 0,transparent 31%),radial-gradient(circle at 95% 90%,#e2ece4 0,transparent 27%),#f7f8f5;display:grid;place-items:center;padding:24px}.login-card{background:#fff;border:1px solid #e3e9e5;border-radius:24px;box-shadow:0 24px 70px #253b2b11;width:min(450px,100%);padding:49px}.login-card .brand-mark{margin-bottom:38px}.login-card h1{font-size:36px;letter-spacing:-.045em;line-height:1.13;margin:0 0 16px}.login-card .muted{line-height:1.7;margin:0 0 30px;font-size:14px}.login-button{width:100%;justify-content:space-between;padding:15px 18px}.login-footnote{color:#a0aba8;font-size:11px;margin:23px 0 0}.app-shell{display:flex;min-height:100vh}.sidebar{width:218px;background:#193233;color:#dae8e3;flex:none;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 16px}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 10px;color:white;font-size:17px;font-weight:800;letter-spacing:-.035em}.sidebar-brand small{display:block;margin-top:3px;color:#8aaba0;font-size:9px;letter-spacing:.16em}.sidebar-label{font-size:9px;letter-spacing:.16em;color:#728f88;font-weight:800;margin:49px 15px 12px}.sidebar nav{display:grid;gap:5px}.nav-link{padding:12px 15px;border-radius:10px;color:#aac5ba;font-size:13px;display:flex;align-items:center;gap:12px}.nav-link:hover,.nav-link.active{color:#fff;background:#2c4b48}.nav-link:first-letter{font-size:19px}.sidebar-bottom{margin-top:auto;padding:15px 10px 4px;font-size:10px;color:#a8c2b8;display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}.online-dot{background:#5cc68e;width:7px;height:7px;border-radius:50%;flex:none}.main-content{max-width:1580px;min-width:0;flex:1;padding:34px 43px 30px}.topbar,.toolbar,.section-title,.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.topbar h1{font-size:32px;letter-spacing:-.045em;margin:0}.top-sub{font-size:13px;margin:7px 0 0}.toolbar{align-items:center;margin:28px 0 25px}.date-range,.toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.date-range label{color:#8b9796;font-size:11px;font-weight:700;display:flex;align-items:center;gap:7px}.date-range input{height:37px;border:1px solid #dae4df;border-radius:8px;background:#fff;padding:0 9px;color:#34494a;font-size:12px}.toolbar-right{justify-content:flex-end}.message{padding:13px 17px;background:#e8f4ec;border:1px solid #cce6d5;color:#27664c;border-radius:10px;font-size:13px;margin:15px 0}.message.error{background:#fff0ed;border-color:#f0d0c8;color:#9c4433}.section{scroll-margin-top:20px;margin-bottom:55px}.section-title{align-items:end;margin:14px 0 18px}.section-title h2{font-size:23px;letter-spacing:-.035em;margin:0}.section-title>.muted{font-size:12px;margin-bottom:3px}.stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.stat-card{background:#fff;border:1px solid #e6ede8;border-radius:15px;padding:20px 17px;min-height:143px}.stat-card.accent{background:#e1f2e8;border-color:#d5eadf}.stat-head{color:#657972;font-size:11px;font-weight:700;display:flex;justify-content:space-between}.stat-head span{font-size:17px;color:#8ea9a1}.stat-card strong{display:block;font-size:30px;letter-spacing:-.05em;margin:17px 0 4px}.stat-card p{margin:0;color:#98a6a0;font-size:10px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.top-grid{grid-template-columns:1.4fr 1fr;margin-top:14px}.panel{background:#fff;border:1px solid #e6ede8;border-radius:16px;padding:22px;min-width:0}.panel-head{align-items:center;margin-bottom:22px}.panel-head .eyebrow{margin-bottom:6px}.panel-head h3{font-size:17px;letter-spacing:-.025em;margin:0}.subtle,.legend{font-size:11px;color:#a5b1ac}.legend{display:flex;align-items:center;gap:6px}.legend i{display:block;background:#7ab59a;width:7px;height:7px;border-radius:2px}.chart{display:flex;align-items:end;height:182px;gap:4px;border-bottom:1px solid #e5ece7;background:repeating-linear-gradient(to top,#edf2ee 0,#edf2ee 1px,transparent 1px,transparent 45px)}.chart-bar{flex:1;background:#b9dac4;border-radius:3px 3px 0 0;min-width:2px;transition:background .15s}.chart-bar:hover{background:#398f66}.chart-axis{display:flex;justify-content:space-between;color:#a9b4ae;font-size:10px;margin-top:9px}.funnel{display:grid;gap:13px}.funnel-line{display:grid;grid-template-columns:90px 1fr 38px;align-items:center;gap:10px;font-size:11px;color:#6a7c77}.funnel-track{height:9px;border-radius:6px;background:#ecf1ed;overflow:hidden}.funnel-fill{height:100%;background:#80b99b;border-radius:6px}.funnel-line strong{text-align:right;color:#2e433c}.panel-note{font-size:11px;line-height:1.5;color:#9aa9a2;margin:20px 0 0}.data-table{width:100%;border-collapse:collapse;font-size:11px}.data-table th{text-align:left;color:#a0ada6;font-weight:700;border-bottom:1px solid #e8eee9;padding:0 7px 11px}.data-table td{padding:11px 7px;border-bottom:1px solid #f0f3f0;color:#475a55;vertical-align:top}.data-table td:first-child,.data-table th:first-child{padding-left:0}.data-table td:last-child,.data-table th:last-child{padding-right:0;text-align:right}.data-table tr:last-child td{border-bottom:0}.truncate{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty{color:#a4b0a9;font-size:12px;padding:13px 0}.mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.mini-stats>div,.pipeline-strip>div{background:#e9f2ec;border-radius:13px;padding:16px 19px}.mini-stats span,.pipeline-strip span{font-size:11px;color:#758d7f;display:block}.mini-stats strong,.pipeline-strip strong{display:block;font-size:23px;margin-top:7px;letter-spacing:-.04em}.ai-panel{margin-top:14px}.ai-referrals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ai-referrals>div{border:1px solid #e9eeea;border-radius:11px;padding:15px;display:flex;justify-content:space-between;font-size:12px;color:#72847b}.ai-referrals strong{color:#283d34;font-size:19px}.pipeline-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:14px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;font-size:11px;color:#8b9b94;margin-top:14px}.lead-open{border:0;background:none;color:#267150;padding:0;font-size:11px;font-weight:700;text-decoration:underline}.status{padding:4px 7px;border-radius:5px;background:#edf4ed;color:#357756;text-transform:capitalize;white-space:nowrap}.status.lost{background:#f8eae5;color:#a6624b}.status.sale{background:#ddf3e4;color:#237f4e}.lead-dialog{border:1px solid #e2ebe4;border-radius:17px;padding:28px;width:min(440px,calc(100% - 30px));box-shadow:0 20px 70px #10241944}.lead-dialog::backdrop{background:#14231d88}.lead-dialog form{display:grid;gap:15px}.lead-dialog h2{margin:0;font-size:24px}.lead-dialog p{margin:0}.lead-dialog label{font-size:11px;font-weight:700;color:#567067;display:grid;gap:6px}.lead-dialog input,.lead-dialog select,.lead-dialog textarea{border:1px solid #d8e4dc;border-radius:8px;padding:9px 10px;color:#2c4137;width:100%}.lead-dialog .context{background:#f5f8f4;border-radius:8px;padding:11px;color:#6d8178;font-size:11px;line-height:1.6;white-space:pre-wrap}.dialog-close{position:absolute;right:20px;top:15px;background:none;border:0;color:#83948a;font-size:25px}footer{font-size:10px;color:#aab6af;padding:8px 0 20px}@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.sidebar{width:64px;padding:20px 8px}.sidebar-brand{padding:0 6px}.sidebar-brand>span:last-child,.sidebar-label,.nav-link span,.sidebar-bottom span{display:none}.nav-link{justify-content:center;padding:12px;font-size:19px}.sidebar-bottom{justify-content:center}.main-content{padding:25px}.top-grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}}@media(max-width:600px){.sidebar{display:none}.main-content{padding:20px 15px}.topbar h1{font-size:27px}.toolbar{align-items:flex-start;flex-direction:column}.toolbar-right{justify-content:flex-start}.stats-grid,.mini-stats{grid-template-columns:repeat(2,1fr)}.pipeline-strip{grid-template-columns:repeat(2,1fr)}.section-title>.muted{display:none}.stat-card{min-height:120px;padding:14px}.stat-card strong{font-size:25px}.panel{padding:16px}.ai-referrals{grid-template-columns:1fr}.data-table{font-size:10px}.truncate{max-width:120px}}
:root .funnel-rates{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:18px}.funnel-rates>div{background:#f4f8f5;border-radius:7px;padding:8px 10px;display:flex;justify-content:space-between;gap:5px;color:#8aa197;font-size:10px}.funnel-rates strong{color:#2f6650}.daily-details{margin-top:14px}.daily-details summary{cursor:pointer;font-size:12px;font-weight:800;color:#3c5a4a}.daily-details summary span{font-weight:400;color:#97a9a0;margin-left:7px}.daily-details[open] summary{margin-bottom:18px}
:root .date-range{flex-shrink:0}:root .toolbar-right{flex-shrink:0;margin-left:auto}
@media(max-width:600px){:root .toolbar-right{margin-left:0}}
@media(max-width:1350px){.toolbar{flex-wrap:wrap}.toolbar-right{width:100%;justify-content:flex-start;min-width:0}#last-sync{overflow-wrap:anywhere}}
