:root{color:#17241d;font-synthesis:none;--ink:#17241d;--muted:#68756d;--brand:#113c2e;--brand-2:#176247;--mint:#dff3e8;--gold:#e8bc67;--line:#dce6df;--card:#fff;--danger:#b53128;--shadow:0 12px 38px #153b2b14;background:#f3f6f3;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f3f6f3;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,strong{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}p{line-height:1.55}a{color:inherit}.splash{background:var(--brand);align-content:center;place-items:center;gap:28px;min-height:100vh;display:grid}.spinner{border:3px solid #cfe2d7;border-top-color:var(--brand-2);border-radius:50%;width:24px;height:24px;animation:.8s linear infinite spin}.splash .spinner{border-color:#fff #ffffff30 #ffffff30}@keyframes spin{to{transform:rotate(360deg)}}.brand{color:#fff;align-items:center;gap:13px;display:flex}.brand img{border-radius:14px;width:52px;height:52px}.brand span{display:grid}.brand strong{letter-spacing:-.04em;font-size:26px}.brand small{color:#bcd8ca;letter-spacing:.2em;font-size:9px;font-weight:800}.brand.compact img{border-radius:11px;width:39px;height:39px}.brand.compact strong{font-size:20px}.auth-page{grid-template-columns:1.08fr .92fr;min-height:100vh;display:grid}.auth-hero{color:#fff;background:radial-gradient(circle at 70% 22%,#2e795b 0,#0000 34%),linear-gradient(135deg,#0d3125,#174e3b);flex-direction:column;justify-content:space-between;gap:60px;padding:clamp(40px,7vw,100px);display:flex}.auth-hero h1{letter-spacing:-.05em;max-width:680px;margin:12px 0 18px;font-size:clamp(39px,5vw,70px);line-height:1.06}.auth-hero p{color:#cde0d6;max-width:550px;font-size:17px}.hero-points{color:#d7e9df;gap:10px;display:grid}.hero-points span{background:#ffffff0d;border:1px solid #ffffff1d;border-radius:9px;width:fit-content;padding:9px 12px}.auth-panel{background:#f7f9f7;place-items:center;padding:34px;display:grid}.auth-card{width:min(460px,100%)}.auth-card h2{letter-spacing:-.04em;margin:8px 0;font-size:32px}.mobile-brand{display:none}.auth-links{justify-content:center;gap:20px;margin:17px 0 28px;display:flex}.auth-links button,.link{color:var(--brand-2);background:0 0;border:0;padding:0;font-weight:700}.form-stack{gap:15px;margin-top:22px;display:grid}.field{gap:7px;min-width:0;display:grid}.field>span{color:#39483f;justify-content:space-between;align-items:baseline;font-size:13px;font-weight:700;display:flex}.field>span small{color:var(--muted);margin-left:12px;font-size:10px;font-weight:500}input,select,textarea{width:100%;min-width:0;min-height:44px;color:var(--ink);background:#fff;border:1px solid #cddbd2;border-radius:10px;outline:0;padding:10px 12px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:#429474;box-shadow:0 0 0 3px #4294741d}.primary,.secondary,.danger,.gold,.button{border:0;border-radius:10px;justify-content:center;align-items:center;min-height:42px;padding:10px 15px;font-weight:800;text-decoration:none;display:inline-flex}.primary{background:var(--brand-2);color:#fff;box-shadow:0 7px 18px #17624725}.primary:hover{background:#0e533a}.secondary{border:1px solid var(--line);color:#31423a;background:#fff}.danger{color:var(--danger);background:#feeae8}.gold{color:#7d5512;background:#fff3d6}.full{width:100%}.info-box,.guide-box{color:#245940;background:#e9f5ee;border-radius:10px;padding:12px 14px;font-size:13px}.guide-box{color:#755212;background:#fff5dc;gap:3px;display:grid}.alert{border-radius:10px;margin:14px 0;padding:11px 13px;font-size:13px}.alert.error{color:#9d2b22;background:#feeae8}.alert.success{color:#1d6643;background:#e2f5e9}.reset-code{background:#fff9e9;border:1px dashed #d0a651;border-radius:12px;justify-items:center;gap:5px;padding:14px;display:grid}.reset-code strong{letter-spacing:.08em;word-break:break-all;font-family:ui-monospace,monospace;font-size:18px}.install-guide{border-top:1px solid var(--line)}.install-guide>button{text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:18px 0;display:flex}.install-guide>button>span{color:var(--brand-2);font-size:25px}.install-guide>button>div{flex:1;display:grid}.install-guide small{color:var(--muted)}.install-steps{grid-template-columns:1fr 1fr;gap:10px;padding-bottom:15px;display:grid}.install-steps p{background:#fff;border-radius:9px;margin:0;padding:11px;font-size:12px}.app-shell{min-height:100vh}.topbar{z-index:30;background:var(--brand);color:#fff;justify-content:space-between;align-items:center;gap:20px;height:68px;padding:0 24px;display:flex;position:sticky;top:0;box-shadow:0 5px 20px #0c2a2050}.topbar-actions{align-items:center;gap:10px;display:flex}.icon-button{color:#fff;background:#ffffff12;border:0;border-radius:11px;place-items:center;width:42px;height:42px;display:grid;position:relative}.bell b,.bottom-nav em{border:2px solid var(--brand);color:#fff;background:#e54941;border-radius:99px;place-items:center;min-width:20px;height:20px;padding:0 4px;font-size:9px;font-style:normal;display:grid;position:absolute;top:-5px;right:-5px}.user-button{color:#fff;text-align:left;background:0 0;border:0;align-items:center;gap:9px;display:flex}.user-button>span{display:grid}.user-button small{color:#bcd8ca;font-size:10px}.view-banner{color:#fff;background:#ffffff10;border:1px solid #ffffff25;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:700}.impersonation-strip{color:#6a4a11;text-align:center;background:#fff0c9;padding:8px 20px;font-size:12px}.avatar{object-fit:cover;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.avatar.initials{background:var(--mint);color:var(--brand-2);font-weight:800}.avatar.small{border-radius:9px;width:34px;height:34px;font-size:11px}.avatar.large{border-radius:25px;width:96px;height:96px;font-size:25px}.app-layout{grid-template-columns:225px minmax(0,1fr);min-height:calc(100vh - 68px);display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:calc(100vh - 68px);padding:18px 12px;display:flex;position:sticky;top:68px}.sidebar nav{gap:3px;display:grid}.sidebar button{color:#536159;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;width:100%;padding:11px 12px;display:flex}.sidebar button i{color:#789087;text-align:center;width:21px;font-style:normal}.sidebar button.active{background:var(--mint);color:var(--brand-2);font-weight:800}.sidebar button.active i{color:var(--brand-2)}.sidebar button em{color:var(--danger);background:#fee6e4;border-radius:99px;margin-left:auto;padding:2px 7px;font-size:10px;font-style:normal}.logout-button{margin-top:auto;color:#8c3a33!important}.content{width:100%;max-width:1480px;margin:0 auto;padding:clamp(20px,3vw,38px);overflow:hidden}.bottom-nav{display:none}.page-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.page-head h1{letter-spacing:-.05em;margin:2px 0 4px;font-size:clamp(29px,3vw,42px)}.page-head p{color:var(--muted);margin:0}.page-head .eyebrow,.eyebrow{color:#4b7e68;letter-spacing:.16em;margin:0;font-size:10px;font-weight:800}.page-actions{align-items:center;gap:9px;display:flex}.page-actions input{min-width:155px}.card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:16px}.card h2{margin:0}.muted{color:var(--muted)}.loading{min-height:180px;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.empty{text-align:center;min-height:280px;color:var(--muted);align-content:center;justify-items:center;padding:30px;display:grid}.empty i{color:#7ea28f;font-size:42px;font-style:normal}.empty h3{color:var(--ink);margin:12px 0 3px}.empty p{max-width:400px;margin:0}.team-banner{color:#fff;background:linear-gradient(120deg,#123e2f,#1d684d);border-radius:18px;justify-content:space-between;align-items:center;gap:30px;padding:24px 28px;display:flex;box-shadow:0 18px 40px #123e2f25}.team-banner h2{margin:6px 0 5px;font-size:25px}.team-banner p{color:#c4dacf;margin:0}.team-banner .eyebrow{color:#9fd3b9}.team-figures{gap:12px;display:flex}.team-figures span{background:#ffffff10;border:1px solid #ffffff20;border-radius:13px;min-width:140px;padding:15px 18px}.team-figures small{color:#add3bf;letter-spacing:.08em;font-size:9px;font-weight:800;display:block}.team-figures strong{margin-top:3px;font-size:24px;display:block}.section-title{justify-content:space-between;align-items:end;margin:28px 0 12px;display:flex}.section-title h2{margin:0;font-size:20px}.section-title p{color:var(--muted);margin:3px 0 0;font-size:12px}.activity-chip{color:#77530d;background:#fff0ce;border-radius:99px;padding:7px 10px;font-size:11px;font-weight:800}.stats-grid{grid-template-columns:repeat(5,minmax(125px,1fr));gap:12px;display:grid}.stats-grid.compact{grid-template-columns:repeat(3,minmax(140px,1fr));max-width:750px;margin:18px 0}.stat-card{border:1px solid var(--line);background:#fff;border-radius:15px;min-height:105px;padding:18px;position:relative;overflow:hidden;box-shadow:0 8px 25px #133c2c09}.stat-card:before{content:"";background:var(--stat-color,#e9f3ed);border-radius:50%;width:75px;height:75px;position:absolute;top:-20px;right:-20px}.stat-card small{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px;position:relative}.stat-card strong{letter-spacing:-.03em;margin-top:12px;font-size:25px;display:block;position:relative}.leaderboard{margin-top:22px;padding:22px}.card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.card-head p{color:var(--muted);margin:3px 0 0;font-size:12px}.leader-list{margin-top:16px}.leader-list article{border-top:1px solid #edf1ee;grid-template-columns:32px 36px minmax(120px,1fr) auto;align-items:center;gap:11px;padding:12px 8px;display:grid}.leader-list article.current{background:#eef7f2;border-radius:11px;margin:0 -8px;padding-left:16px;padding-right:16px}.rank{color:#708078;text-align:center}.agent-name,.agent-production{display:grid}.agent-name small,.agent-production small{color:var(--muted);font-size:10px}.agent-production{text-align:right}.filters{box-shadow:none;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin-bottom:16px;padding:15px;display:grid}.activity-overview{background:#edf6f0;border:1px solid #d9e6de;border-radius:16px;margin-bottom:16px;padding:18px}.activity-overview>div:first-child{display:inline-block}.activity-overview>input{float:right;width:auto}.activity-overview h2{margin:3px 0 12px}.activity-grid{clear:both;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px;display:grid}.activity-grid article{background:#fff;border-radius:11px;padding:12px;display:grid}.activity-grid strong{color:var(--brand-2);font-size:22px}.activity-grid span{font-weight:700}.activity-grid small{color:var(--muted);font-size:10px}.lead-list{grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:13px;display:grid}.lead-card{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:16px;padding:18px;transition:all .15s;box-shadow:0 8px 25px #173c2b0a}.lead-card:hover{box-shadow:var(--shadow);border-color:#a7c7b6;transform:translateY(-2px)}.lead-top{justify-content:space-between;gap:15px;display:flex}.lead-top h3{margin:3px 0;font-size:18px}.lead-top p,.lead-top small{color:var(--muted);margin:0;font-size:11px}.lead-progress{grid-template-columns:1fr 1fr 1.2fr;gap:8px;margin:16px 0;display:grid}.lead-progress>span{background:#f5f8f6;border-radius:9px;min-width:0;padding:9px}.lead-progress small{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:9px;display:block}.lead-progress b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.lead-card footer{color:var(--muted);border-top:1px solid #edf1ee;align-items:center;gap:10px;padding-top:12px;font-size:10px;display:flex}.lead-card footer span{flex:1}.lead-card footer b{background:var(--mint);color:var(--brand-2);border-radius:99px;padding:3px 6px}.status{color:#5d6862;white-space:nowrap;background:#edf1ef;border-radius:99px;align-items:center;width:fit-content;min-height:22px;padding:3px 7px;font-size:9px;font-weight:800;display:inline-flex}.status.good{color:#17633e;background:#ddf4e7}.status.warn{color:#80570b;background:#fff0cf}.status.bad{color:#a12c24;background:#fee5e3}.backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d281fb3;place-items:center;padding:15px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;width:min(680px,100%);max-height:calc(100vh - 30px);padding:22px;overflow-y:auto;box-shadow:0 25px 80px #08191280}.modal.wide{width:min(1050px,100%)}.modal>header{z-index:3;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;gap:20px;margin:-22px -22px 18px;padding:21px 22px 15px;display:flex;position:sticky;top:-22px}.modal>header h2{margin:0;font-size:23px}.modal>header p{color:var(--muted);margin:3px 0 0;font-size:12px}.modal>header button{background:#edf2ef;border:0;border-radius:9px;width:35px;height:35px;font-size:22px}.form-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.full-span{grid-column:1/-1}.modal-actions,.actions-row{justify-content:flex-end;gap:8px;padding-top:12px;display:flex}.detail-grid{grid-template-columns:1.2fr .8fr;gap:20px;display:grid}.detail-fields{grid-template-columns:1fr 1fr;gap:9px;display:grid}.detail-fields>span{background:#f5f8f6;border-radius:10px;min-height:65px;padding:11px}.detail-fields small{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:9px;display:block}.notes,.reminder-form{background:#fff9eb;border-radius:11px;margin-top:13px;padding:13px}.notes p{margin:4px 0 0}.reminder-form{background:#edf6f1;gap:10px;display:grid}.timeline{border-left:1px solid var(--line);padding-left:20px}.timeline h3{margin-top:0}.timeline article{gap:12px;padding:0 0 16px;display:flex;position:relative}.timeline article>i{background:#3c8c69;border:2px solid #fff;border-radius:50%;flex:none;width:10px;height:10px;margin:6px 0 0 -25px;box-shadow:0 0 0 2px #b9d5c6}.timeline article>div{display:grid}.timeline small{color:var(--muted);font-size:10px}.data-list{padding:8px 18px}.data-list article{border-top:1px solid var(--line);grid-template-columns:minmax(180px,1fr) 120px 100px;align-items:center;gap:15px;padding:14px 0;display:grid}.data-list article:first-child{border-top:0}.data-list article>div{display:grid}.data-list article small{color:var(--muted)}.data-list article p{color:#8c3a33;grid-column:1/-1;margin:-8px 0 5px;font-size:12px}.notification-list{gap:9px;display:grid}.notification-list article{border:1px solid var(--line);background:#fff;border-radius:14px;gap:13px;padding:16px;display:flex}.notification-list article.unread{background:#eff8f3;border-color:#aed2bf;box-shadow:0 9px 25px #194e3810}.notification-list article>i{width:39px;height:39px;color:var(--brand-2);background:#e4f1e9;border-radius:10px;flex:none;place-items:center;font-style:normal;display:grid}.notification-list article>div{flex:1}.notification-list article>div>div{align-items:center;gap:8px;display:flex}.notification-list em{color:#fff;background:#e34d43;border-radius:99px;padding:2px 5px;font-size:8px;font-style:normal;font-weight:800}.notification-list p{margin:4px 0}.notification-list small{color:var(--muted);display:block}.notification-list .link{margin-top:7px}.guide-layout{grid-template-columns:250px 1fr;gap:16px;display:grid}.guide-layout nav{align-content:start;gap:5px;display:grid}.guide-layout nav button{color:#4b5b52;text-align:left;background:#fff;border:0;border-radius:10px;justify-content:space-between;padding:12px;display:flex}.guide-layout nav button.active{background:var(--brand);color:#fff}.guide-content{min-height:350px;padding:25px}.guide-content h2{margin-top:16px}.profile-grid{grid-template-columns:320px 1fr;gap:15px;display:grid}.profile-grid>section{padding:22px}.profile-grid>section:last-child{grid-column:2}.profile-card{text-align:center;grid-row:1/span 2;align-content:start;justify-items:center;gap:9px;display:grid}.profile-card h2{margin:5px 0 0}.profile-card form{gap:8px;width:100%;margin-top:14px;display:grid}.profile-card input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.approval-sections{gap:13px;display:grid}.approval-sections>section{padding:18px}.count{color:#79530c;background:#fff0d0;border-radius:99px;place-items:center;min-width:27px;height:27px;font-weight:800;display:grid}.approval-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.approval-row p{margin:4px 0}.approval-row small{color:var(--muted)}.approval-row>div:last-child{gap:7px;display:flex}.agents-toolbar{box-shadow:none;align-items:center;gap:12px;margin-bottom:14px;padding:13px;display:flex}.agents-toolbar input{max-width:480px}.agents-toolbar span{color:var(--muted);margin-left:auto;font-size:12px}.agent-list{grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:12px;display:grid}.agent-card{padding:17px}.agent-identity{align-items:center;gap:11px;display:flex}.agent-identity>div{flex:1;min-width:0;display:grid}.agent-identity small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agent-stats{grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 4px;display:grid}.agent-stats span{background:#f5f8f6;border-radius:9px;padding:9px;display:grid}.agent-stats small{color:var(--muted);text-transform:uppercase;font-size:9px}.admin-tools{grid-template-columns:1fr 1fr;gap:15px;display:grid}.admin-tools>section{padding:22px}.admin-tools h2{margin-bottom:4px}.two-cols{grid-template-columns:1fr 1fr;gap:10px;display:grid}@media (width<=1080px){.stats-grid{grid-template-columns:repeat(3,1fr)}.stats-grid .stat-card:nth-child(4),.stats-grid .stat-card:nth-child(5){grid-column:span 1}.filters{grid-template-columns:1fr 1fr}.profile-grid{grid-template-columns:280px 1fr}}@media (width<=760px){body{padding-bottom:calc(69px + env(safe-area-inset-bottom))}.auth-page{grid-template-columns:1fr}.auth-hero{display:none}.auth-panel{place-items:start center;min-height:100vh;padding:25px 18px}.mobile-brand{margin-bottom:34px;display:block}.mobile-brand .brand{color:var(--brand)}.mobile-brand .brand small{color:#60816f}.auth-card h2{font-size:28px}.install-steps{grid-template-columns:1fr}.topbar{height:60px;padding:0 13px}.topbar .brand span{display:none}.topbar .brand img{width:38px;height:38px}.user-button>span,.view-banner{display:none}.user-button{padding:0}.app-layout{min-height:auto;display:block}.sidebar{display:none}.content{padding:19px 14px}.bottom-nav{z-index:40;padding:6px 5px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffed;grid-template-columns:repeat(6,1fr);display:grid;position:fixed;inset:auto 0 0}.bottom-nav button{color:#738079;background:0 0;border:0;justify-items:center;gap:2px;padding:4px 1px;display:grid;position:relative}.bottom-nav button.active{color:var(--brand-2);font-weight:800}.bottom-nav i{font-size:17px;font-style:normal}.bottom-nav span{font-size:8px}.bottom-nav em{border-color:#fff;top:-1px;right:4px}.page-head{align-items:flex-start;margin-bottom:18px}.page-head h1{font-size:28px}.page-head>div:first-child{min-width:0}.page-head>div:first-child>p:last-child{font-size:12px}.page-actions{flex:none}.page-actions .primary{padding:9px 11px;font-size:11px}.page-actions input[type=month]{width:123px;min-width:0;font-size:11px}.team-banner{padding:19px;display:grid}.team-banner h2{font-size:21px}.team-figures{grid-template-columns:1fr 1fr;display:grid}.team-figures span{min-width:0;padding:12px}.team-figures strong{font-size:19px}.section-title{align-items:flex-start}.activity-chip{font-size:9px}.stats-grid,.stats-grid.compact{grid-template-columns:1fr 1fr}.stat-card{min-height:93px;padding:15px}.stat-card strong{font-size:21px}.stats-grid .stat-card:last-child{grid-column:1/-1}.leaderboard{padding:15px}.leader-list article{grid-template-columns:24px 34px 1fr}.agent-production{text-align:left;grid-column:3}.filters{grid-template-columns:1fr 1fr;padding:11px}.filters .field:first-child{grid-column:1/-1}.activity-overview>input{width:140px}.activity-grid{display:flex;overflow-x:auto}.activity-grid article{min-width:170px}.lead-list{grid-template-columns:1fr}.lead-card{padding:15px}.lead-progress{grid-template-columns:1fr 1fr}.lead-progress span:last-child{grid-column:1/-1}.lead-card footer{flex-wrap:wrap}.lead-card footer .link{margin-left:auto}.backdrop{place-items:end center;padding:0}.modal,.modal.wide{border-radius:20px 20px 0 0;width:100%;max-height:calc(100vh - 18px);padding:18px}.modal>header{border-radius:20px 20px 0 0;margin:-18px -18px 16px;padding:18px;top:-18px}.form-grid,.detail-grid,.profile-grid,.admin-tools{grid-template-columns:1fr}.full-span,.profile-grid>section:last-child{grid-column:auto}.profile-card{grid-row:auto}.timeline{border-top:1px solid var(--line);border-left:0;padding:18px 0 0 20px}.actions-row{flex-wrap:wrap;justify-content:flex-start}.data-list article{grid-template-columns:1fr auto}.data-list .status{grid-column:2}.guide-layout{grid-template-columns:1fr}.guide-layout nav{display:flex;overflow-x:auto}.guide-layout nav button{min-width:max-content}.guide-content{min-height:300px}.approval-row{flex-direction:column;align-items:flex-start}.approval-row>div:last-child{width:100%}.approval-row>div:last-child button{flex:1}.agent-list{grid-template-columns:1fr}.two-cols{grid-template-columns:1fr 1fr}}@media (width<=430px){.page-head{flex-wrap:wrap}.filters{grid-template-columns:1fr}.filters .field:first-child{grid-column:auto}.detail-fields{grid-template-columns:1fr 1fr}.lead-top{align-items:flex-start}.lead-top .status{white-space:normal;max-width:110px}}
