:root{--ink:#102039;--muted:#66758b;--navy:#08182d;--navy2:#0c203a;--line:#e4e9ef;--paper:#f6f8fb;--white:#fff;--green:#19c58b;--green2:#0eaa77;--green-soft:#e9fbf5;--blue:#3b82f6;--amber:#f2a93b;--red:#ef6a6a;--shadow:0 16px 45px rgba(16,32,57,.1);--radius:16px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:750;font-size:21px;letter-spacing:-.5px}.brand-light{color:#fff}.logo-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:linear-gradient(145deg,#24d399,#10a976);color:#052a20;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(470px,1.1fr) minmax(450px,.9fr)}.auth-brand{position:relative;overflow:hidden;padding:38px 6vw;background:radial-gradient(circle at 80% 20%,rgba(31,203,145,.18),transparent 32%),linear-gradient(145deg,#071528,#0b203a);color:#fff;display:flex;flex-direction:column}.auth-brand:after{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(255,255,255,.06);border-radius:50%;right:-220px;bottom:-230px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}.auth-pitch{margin:auto 0;max-width:650px;position:relative;z-index:1}.eyebrow,.overline{font-size:12px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}.eyebrow{display:flex;align-items:center;gap:8px;color:#a8d8c8}.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(25,197,139,.13)}.auth-pitch h1{font-size:clamp(46px,5.2vw,74px);line-height:1.02;letter-spacing:-3.5px;margin:25px 0 20px;max-width:760px}.auth-pitch>p{color:#aab7c8;font-size:18px;line-height:1.7;max-width:590px}.mini-conversation{width:min(480px,90%);margin-top:42px;border:1px solid rgba(255,255,255,.1);border-radius:19px;background:rgba(255,255,255,.055);backdrop-filter:blur(12px);padding:15px 18px 18px;box-shadow:0 25px 60px rgba(0,0,0,.2)}.phone-top{display:flex;justify-content:space-between;color:#8da0b7;font-size:10px;padding-bottom:14px}.phone-top b{color:#dce5ed;font-size:11px}.bubble{font-size:12px;line-height:1.45;padding:9px 12px;border-radius:12px;margin:7px 0;width:max-content;max-width:78%}.bubble.inbound{background:rgba(255,255,255,.1);color:#e2e8f0;border-bottom-left-radius:3px}.bubble.outbound{margin-left:auto;background:var(--green);color:#06271d;border-bottom-right-radius:3px}.booking-pill{margin-top:13px;padding:10px 12px;border-radius:10px;background:rgba(25,197,139,.1);color:#a8e9d3;font-size:11px;border:1px solid rgba(25,197,139,.17)}.booking-pill span{display:inline-grid;place-items:center;margin-right:7px;background:var(--green);color:#073226;width:18px;height:18px;border-radius:50%}.auth-proof{display:flex;gap:30px;color:#61758e;font-size:11px;text-transform:uppercase;letter-spacing:1.2px;font-weight:750;z-index:1}.auth-panel{display:grid;place-items:center;padding:40px;background:#fff}.auth-card{width:min(440px,100%)}.auth-card .overline{color:var(--green2)}.auth-card h2{font-size:32px;letter-spacing:-1px;margin:10px 0}.auth-card>div>p:not(.auth-switch){color:var(--muted);margin:0 0 30px}.mobile-brand{display:none;margin-bottom:45px}.form-stack{display:flex;flex-direction:column;gap:17px}.two-col-form{display:grid;grid-template-columns:1fr 1fr}.span-2{grid-column:span 2}.form-stack label,.field{font-size:12px;font-weight:750;color:#34445a;display:flex;flex-direction:column;gap:8px}.form-stack input,.form-stack select,.field input,.field select,.field textarea{width:100%;border:1px solid #d8e0e9;background:#fff;border-radius:10px;padding:12px 13px;color:var(--ink);outline:none;transition:.2s}.form-stack input:focus,.form-stack select:focus,.field input:focus,.field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(25,197,139,.1)}.button{border:0;border-radius:10px;padding:11px 16px;font-weight:750;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.button.primary{background:var(--green);color:#06291e;box-shadow:0 8px 18px rgba(25,197,139,.18)}.button.primary:hover{background:#20d59a}.button.dark{background:var(--navy);color:#fff}.button.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}.button.full{width:100%;justify-content:space-between;margin-top:4px}.auth-switch{text-align:center;color:var(--muted);font-size:13px;margin-top:26px}.auth-switch button{border:0;background:transparent;color:var(--green2);font-weight:800}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;left:0;top:0;bottom:0;width:236px;background:linear-gradient(180deg,var(--navy),#071426);color:#b8c3d0;padding:25px 16px 18px;display:flex;flex-direction:column;z-index:20}.sidebar-brand{padding:0 10px;margin-bottom:35px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:9px;background:transparent;color:#8fa0b5;padding:11px 12px;text-align:left;font-size:13px;font-weight:650;transition:.16s}.sidebar nav button:hover{background:rgba(255,255,255,.05);color:#fff}.sidebar nav button.active{background:rgba(25,197,139,.12);color:#d8fff2}.sidebar nav button.active .nav-icon{color:var(--green)}.nav-icon{width:18px;text-align:center;font-size:16px}.nav-count{margin-left:auto;background:#182d47;border-radius:99px;padding:2px 7px;font-size:10px}.nav-label{font-size:9px;color:#4f627a;text-transform:uppercase;letter-spacing:1.4px;font-weight:800;padding:23px 12px 9px}.sidebar-bottom{margin-top:auto}.plan-meter{border:1px solid #19304c;background:rgba(255,255,255,.025);padding:12px;border-radius:10px;margin-bottom:11px}.plan-meter>div:first-child{display:flex;justify-content:space-between;font-size:9px}.plan-meter span{color:#d1d9e3;font-weight:750}.plan-meter b{color:#61758e}.meter{height:4px;background:#19304a;border-radius:9px;margin-top:10px}.meter i{display:block;height:100%;width:15%;background:var(--green);border-radius:9px}.profile{border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:10px;width:100%;padding:10px;text-align:left}.profile>span:first-child{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#1e3a57;color:#bcebdc;font-weight:800}.profile>span:nth-child(2){display:flex;flex-direction:column;overflow:hidden}.profile b{font-size:11px}.profile small{font-size:9px;color:#69809a;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:125px}.profile i{margin-left:auto;color:#42566e;font-size:9px}.logout-button{display:none;width:100%;border:1px solid #19304c;background:#0c213a;color:#a9bacd;border-radius:8px;padding:8px;font-size:11px}.sidebar-bottom.open .logout-button{display:block}.app-main{margin-left:236px;width:calc(100% - 236px);min-height:100vh}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:10}.topbar p{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#98a4b3;margin:0 0 5px}.topbar h2{font-size:18px;margin:0;letter-spacing:-.3px}.top-actions{display:flex;align-items:center;gap:11px}.status-dot{font-size:10px;font-weight:750;color:#53647a;margin-right:6px}.status-dot i{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px var(--green-soft)}.icon-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#fff;color:#53647a}.menu-button{display:none}.content{padding:27px 32px 45px;max-width:1600px;margin:0 auto}.welcome{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.welcome h1{font-size:27px;letter-spacing:-1px;margin:0 0 6px}.welcome p{margin:0;color:var(--muted);font-size:13px}.date-chip{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;font-size:11px;color:#627286}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 18px;min-height:126px;position:relative;overflow:hidden}.stat-card .stat-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--green-soft);color:var(--green2);font-weight:900;font-size:14px;margin-bottom:13px}.stat-card:nth-child(2) .stat-icon{background:#fff4df;color:#d88912}.stat-card:nth-child(3) .stat-icon{background:#eaf2ff;color:#3978d9}.stat-card:nth-child(4){background:linear-gradient(145deg,#0b2038,#0a182c);color:#fff;border-color:#0a1a30}.stat-card:nth-child(4) .stat-icon{background:rgba(25,197,139,.13);color:var(--green)}.stat-card b{display:block;font-size:24px;letter-spacing:-1px}.stat-card small{color:#77869a;font-size:10px}.stat-card .delta{position:absolute;right:15px;top:17px;color:var(--green2);font-size:9px;font-weight:800;background:var(--green-soft);padding:4px 6px;border-radius:6px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:13px}.card-header{padding:17px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.card-header h3{font-size:13px;margin:0}.card-header p{font-size:10px;color:var(--muted);margin:4px 0 0}.link-button{border:0;background:transparent;color:var(--green2);font-size:10px;font-weight:800}.chart-wrap{padding:20px}.chart{height:170px;display:flex;align-items:end;gap:13px;border-bottom:1px solid var(--line);position:relative}.chart:before,.chart:after{content:"";position:absolute;left:0;right:0;border-top:1px dashed #edf0f4}.chart:before{top:33%}.chart:after{top:66%}.bar-group{height:100%;flex:1;display:flex;align-items:end;justify-content:center;gap:3px;position:relative;z-index:1}.bar{width:9px;min-height:3px;border-radius:5px 5px 0 0;background:#d9e2eb}.bar.recovered{background:var(--green)}.chart-labels{display:flex;justify-content:space-around;margin-top:8px;color:#92a0b0;font-size:9px}.activity-list{padding:4px 18px}.activity{display:flex;gap:11px;padding:13px 0;border-bottom:1px solid #eef1f4}.activity:last-child{border:0}.activity .initial{width:31px;height:31px;border-radius:9px;background:#eaf6f2;display:grid;place-items:center;color:#0f9c70;font-size:10px;font-weight:850;flex:0 0 auto}.activity>div{min-width:0}.activity b{font-size:11px;display:block}.activity p{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0}.activity small{color:#a2adba;font-size:8px}.status{display:inline-flex;align-items:center;border-radius:99px;padding:4px 7px;font-size:8px;font-weight:800;text-transform:capitalize}.status.new{background:#edf1f6;color:#5c6c7e}.status.contacted{background:#eef3ff;color:#4f74bb}.status.qualified{background:#fff4df;color:#b8740d}.status.booked,.status.won{background:var(--green-soft);color:#09855d}.status.lost{background:#ffeded;color:#c75555}.appointment-list{padding:10px 18px}.appointment{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #eef1f4}.appointment-date{width:38px;text-align:center;border-radius:8px;background:#f1f5f8;padding:6px 3px;align-self:start}.appointment-date b{display:block;font-size:14px}.appointment-date small{font-size:8px;color:var(--muted);text-transform:uppercase}.appointment h4{font-size:11px;margin:2px 0}.appointment p{font-size:9px;color:var(--muted);margin:4px 0}.empty{padding:45px 22px;text-align:center}.empty-icon{width:52px;height:52px;border-radius:14px;background:var(--green-soft);color:var(--green2);display:grid;place-items:center;font-size:22px;margin:0 auto 13px}.empty h3{font-size:14px;margin:0 0 6px}.empty p{font-size:11px;color:var(--muted);max-width:330px;margin:0 auto 15px;line-height:1.6}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.page-heading h1{font-size:23px;margin:0 0 4px;letter-spacing:-.6px}.page-heading p{color:var(--muted);font-size:11px;margin:0}.toolbar{display:flex;align-items:center;gap:9px;margin-bottom:13px}.search{position:relative;flex:1}.search input{width:100%;padding:10px 12px 10px 34px;border:1px solid var(--line);border-radius:9px;background:#fff;outline:none}.search span{position:absolute;left:12px;top:9px;color:#93a0b0}.filter-button{padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px;color:#52647a}.data-table{width:100%;border-collapse:collapse}.data-table th{font-size:8px;text-transform:uppercase;letter-spacing:.8px;text-align:left;color:#8a98a9;background:#fafbfc;border-bottom:1px solid var(--line);padding:11px 15px}.data-table td{padding:13px 15px;border-bottom:1px solid #eef1f4;font-size:11px}.data-table tr:last-child td{border:0}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:#fbfcfd}.person{display:flex;align-items:center;gap:9px}.person .initial{width:31px;height:31px;border-radius:9px;background:#edf6f3;color:#15966f;display:grid;place-items:center;font-weight:850;font-size:10px}.person b{display:block;font-size:11px}.person small{display:block;color:#93a0b0;font-size:9px;margin-top:2px}.value{font-weight:750}.urgent{color:#d66735;font-size:9px}.conversation-layout{display:grid;grid-template-columns:310px 1fr;min-height:640px;overflow:hidden}.conversation-list{border-right:1px solid var(--line)}.conversation-list .search{margin:13px}.conversation-item{display:flex;gap:9px;padding:13px;border-top:1px solid #eef1f4;cursor:pointer}.conversation-item:hover,.conversation-item.active{background:#f4faf8}.conversation-item .initial{width:35px;height:35px;border-radius:10px;background:#e9f7f2;display:grid;place-items:center;color:#0c9468;font-size:10px;font-weight:850;flex:0 0 auto}.conversation-item>div{min-width:0;flex:1}.conversation-item b{font-size:11px}.conversation-item small{float:right;color:#a0abb7;font-size:8px}.conversation-item p{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0 0}.conversation-panel{display:flex;flex-direction:column;background:#fbfcfd}.conversation-head{height:67px;padding:13px 18px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.conversation-head h3{margin:0;font-size:12px}.conversation-head p{margin:4px 0 0;font-size:9px;color:var(--muted)}.message-stream{flex:1;padding:24px;overflow:auto;display:flex;flex-direction:column;gap:10px;max-height:510px}.message{max-width:66%;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:11px;line-height:1.5;box-shadow:0 3px 8px rgba(16,32,57,.03)}.message.outbound{align-self:flex-end;background:var(--navy2);color:#fff;border-color:var(--navy2)}.message time{display:block;font-size:7px;color:#9aa6b4;margin-top:4px}.message.outbound time{color:#74869d}.composer{padding:13px;background:#fff;border-top:1px solid var(--line);display:flex;gap:9px}.composer input{flex:1;padding:11px 12px;border:1px solid var(--line);border-radius:9px;outline:none}.workflows{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.workflow{padding:18px}.workflow-top{display:flex;justify-content:space-between}.workflow-icon{width:35px;height:35px;border-radius:10px;background:var(--green-soft);display:grid;place-items:center;color:var(--green2)}.toggle{width:38px;height:21px;border:0;background:#d9e0e7;border-radius:99px;padding:3px}.toggle i{display:block;width:15px;height:15px;border-radius:50%;background:#fff;transition:.2s}.toggle.on{background:var(--green)}.toggle.on i{transform:translateX(17px)}.workflow h3{font-size:13px;margin:15px 0 6px}.workflow>p{font-size:10px;color:var(--muted);line-height:1.5}.trigger{display:inline-block;font-size:8px;color:#7b899a;background:#f3f5f7;border-radius:5px;padding:4px 6px}.steps{margin-top:15px;padding-top:12px;border-top:1px solid var(--line)}.step{display:flex;gap:9px;font-size:9px;color:#5d6e82;padding:5px 0}.step b{color:#9aa6b4;width:70px}.settings-layout{display:grid;grid-template-columns:190px 1fr;gap:18px}.settings-nav{padding:9px;height:max-content}.settings-nav button{border:0;background:transparent;width:100%;text-align:left;padding:10px;border-radius:7px;color:#637387;font-size:11px}.settings-nav button.active{background:var(--green-soft);color:#087e5a;font-weight:750}.settings-panel{padding:22px}.settings-panel h3{margin:0 0 5px;font-size:15px}.settings-panel>p{color:var(--muted);font-size:10px;margin:0 0 22px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field textarea{min-height:90px;resize:vertical}.field.full{grid-column:1/-1}.check-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);padding:12px;border-radius:9px}.check-row h4{margin:0;font-size:11px}.check-row p{margin:3px 0 0;color:var(--muted);font-size:9px}.integration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.integration{border:1px solid var(--line);border-radius:11px;padding:15px}.integration-icon{width:35px;height:35px;border-radius:9px;background:#f0f3f6;display:grid;place-items:center;margin-bottom:10px}.integration h4{font-size:11px;margin:0}.integration p{font-size:9px;color:var(--muted);line-height:1.5}.integration .connected{color:var(--green2);font-size:9px;font-weight:750}.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#7a899b;font-size:22px}dialog{width:min(560px,calc(100% - 30px));border:0;border-radius:16px;padding:0;box-shadow:0 28px 80px rgba(8,24,45,.25)}dialog::backdrop{background:rgba(6,17,31,.55);backdrop-filter:blur(3px)}#modal-content{padding:26px}.modal-title{font-size:19px;margin:0 0 5px}.modal-subtitle{font-size:10px;color:var(--muted);margin:0 0 22px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.lead-detail-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}.lead-detail-head .initial{width:46px;height:46px;border-radius:13px;background:var(--green-soft);color:var(--green2);display:grid;place-items:center;font-weight:850}.lead-detail-head h2{font-size:17px;margin:0}.lead-detail-head p{font-size:10px;color:var(--muted);margin:4px 0}.lead-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.lead-meta div{padding:10px;background:#f6f8fa;border-radius:8px}.lead-meta small{display:block;color:#8b98a8;font-size:8px;text-transform:uppercase}.lead-meta b{display:block;font-size:10px;margin-top:4px}.toast{position:fixed;right:20px;bottom:20px;background:#0a1d33;color:#fff;border-radius:10px;padding:12px 16px;font-size:11px;box-shadow:var(--shadow);transform:translateY(100px);opacity:0;transition:.25s;z-index:100}.toast.show{transform:translateY(0);opacity:1}.toast.error{background:#a23f46}.skeleton{background:linear-gradient(90deg,#eef1f4,#f7f8fa,#eef1f4);background-size:200%;animation:shimmer 1.4s infinite;border-radius:8px;height:100px}@keyframes shimmer{to{background-position:-200% 0}}@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,1fr)}.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.mobile-brand{display:flex}.workflows{grid-template-columns:1fr}.integration-grid{grid-template-columns:1fr}}@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}.app-main{margin-left:0;width:100%}.menu-button{display:grid}.content{padding:20px 16px}.topbar{padding:0 16px}.status-dot,.top-actions .icon-button{display:none}.dashboard-grid{grid-template-columns:1fr}.conversation-layout{grid-template-columns:1fr}.conversation-list{max-height:250px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.conversation-panel{min-height:500px}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto}.settings-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.data-table th:nth-child(3),.data-table td:nth-child(3),.data-table th:nth-child(5),.data-table td:nth-child(5){display:none}}@media(max-width:520px){.auth-panel{padding:25px}.two-col-form{display:flex}.span-2{grid-column:auto}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px;min-height:116px}.welcome{align-items:start}.date-chip{display:none}.page-heading{align-items:start;gap:12px}.top-actions .button{padding:10px}.top-actions .button span:nth-child(2){display:none}.lead-meta{grid-template-columns:1fr 1fr}}
