:root{--bg:#f4f6fa;--panel:#fff;--ink:#172238;--muted:#7d8799;--line:#e9edf3;--nav:#111b2d;--nav2:#1b2940;--blue:#526df5;--cyan:#20b8c7;--green:#19a77b;--orange:#f2a64b;--red:#e36a72;--shadow:0 8px 28px rgba(25,42,70,.06)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}.app-shell{min-height:100vh;display:flex}.sidebar{width:258px;background:var(--nav);color:#dce5f2;display:flex;flex-direction:column;padding:24px 16px 14px;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 27px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#637bff,#21c1c9);display:grid;place-items:center;color:white;font:700 22px 'Space Grotesk';box-shadow:0 5px 20px #526df555}.brand b{font:700 17px 'Space Grotesk';letter-spacing:.3px}.brand b span{color:#54d0d2}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#8d9bb0;margin-top:3px}.workspace{display:flex;align-items:center;gap:9px;background:var(--nav2);border:1px solid #2c3b54;border-radius:11px;padding:12px 10px;margin:0 2px 24px}.workspace b,.workspace small{display:block}.workspace b{font-size:11px}.workspace small{font-size:10px;color:#8796ad;margin-top:4px}.workspace-dot{width:8px;height:8px;border-radius:50%;background:#48d4a5;box-shadow:0 0 0 4px #48d4a51c}.chevron{margin-left:auto;color:#8593a8}.nav-label{font-size:9px;letter-spacing:1.7px;color:#73839d;padding:0 12px 9px}.nav-spaced{margin-top:22px}.nav-item{width:100%;border:0;background:transparent;color:#9cabc0;padding:11px 12px;border-radius:9px;text-align:left;display:flex;align-items:center;gap:12px;font:500 12px 'DM Sans';cursor:pointer;margin:2px 0}.nav-item>span{font-size:17px;width:18px;text-align:center}.nav-item:hover,.nav-item.active{background:#263653;color:#fff}.nav-item.active{box-shadow:inset 3px 0 #6f83ff}.nav-item em{font-style:normal;margin-left:auto;background:#344766;color:#b9c8dc;border-radius:20px;padding:2px 7px;font-size:10px}.live-dot{width:6px;height:6px;border-radius:50%;background:#44d4a4;margin-left:auto}.sidebar-bottom{margin-top:auto}.help-card{padding:15px;background:linear-gradient(145deg,#1b2b45,#223958);border:1px solid #344968;border-radius:12px;margin-bottom:15px}.help-icon{color:#66d6d2;font-size:19px;margin-bottom:8px}.help-card b{font-size:12px}.help-card p{font-size:10px;line-height:1.6;color:#9eacc0;margin:6px 0 12px}.help-card button{border:0;background:transparent;color:#7fd8dc;padding:0;font-size:10px;cursor:pointer}.profile{border-top:1px solid #2a3850;padding:15px 4px 0;display:flex;align-items:center;gap:9px}.avatar,.top-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e6eaff;color:#4d60cb;font-size:10px;font-weight:700}.profile b,.profile small{display:block}.profile b{font-size:11px}.profile small{font-size:9px;color:#8796ad;margin-top:3px}.profile>span{margin-left:auto;color:#91a0b5}.main{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:67px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumb{font-size:11px;color:#9aa3b2}.breadcrumb span{padding:0 8px;color:#c3cad4}.breadcrumb b{color:#35425a;font-weight:600}.top-actions{display:flex;align-items:center;gap:17px}.search-global{background:#f6f7fa;border:1px solid #edf0f4;border-radius:8px;padding:7px 11px;color:#8c97a9}.search-global input{border:0;background:transparent;outline:0;width:180px;font:11px 'DM Sans';margin-left:5px}.icon-btn{border:0;background:transparent;font-size:19px;color:#66748b;position:relative;cursor:pointer}.icon-btn i{position:absolute;width:5px;height:5px;border-radius:50%;background:#f17b83;right:1px;top:2px}.top-avatar{width:30px;height:30px}.mobile-menu{display:none}.page-content{padding:29px 34px 35px;flex:1;max-width:1600px;width:100%;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:23px;gap:15px}.eyebrow{color:#7785a0;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;font-weight:700}.page-heading h1{font:600 25px 'Space Grotesk';margin:6px 0 5px;letter-spacing:-.6px}.page-heading p{margin:0;color:var(--muted);font-size:11px}.heading-actions{display:flex;gap:9px;align-items:center}.btn{border:1px solid var(--line);background:#fff;color:#43516a;padding:9px 13px;border-radius:8px;font:600 11px 'DM Sans';cursor:pointer}.btn:hover{border-color:#b8c4ff}.btn.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 5px 12px #526df52b}.btn.dark{background:#1a2940;color:white;border-color:#1a2940}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:17px}.stat-card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:17px 18px;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#8490a3;font-size:10px}.stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:15px}.stat-value{font:600 25px 'Space Grotesk';margin:12px 0 5px;letter-spacing:-.6px}.stat-foot{font-size:10px;color:#8d97a8}.positive{color:var(--green);font-weight:700}.negative{color:var(--red);font-weight:700}.dashboard-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:15px;margin-bottom:15px}.panel{padding:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-head h3{font:600 13px 'Space Grotesk';margin:0}.panel-head p{margin:4px 0 0;color:#929cad;font-size:10px}.text-link{border:0;background:transparent;color:var(--blue);font-size:10px;font-weight:600;cursor:pointer}.chart{height:190px;position:relative;padding:8px 2px 22px 28px}.chart svg{width:100%;height:100%;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#a3acba;font-size:9px;padding-left:28px;margin-top:-13px}.legend{display:flex;gap:14px;color:#8994a5;font-size:9px}.legend span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#6277f6;margin-right:5px}.legend span:last-child:before{background:#29c1c5}.source-list{display:grid;gap:15px}.source-row{display:grid;grid-template-columns:85px 1fr 32px;align-items:center;gap:9px;font-size:10px;color:#69768b}.bar-track{height:7px;background:#f0f2f7;border-radius:10px;overflow:hidden}.bar-fill{height:100%;border-radius:10px;background:linear-gradient(90deg,#6478f7,#42c3cc)}.source-row b{text-align:right;color:#34425a;font-size:10px}.lower-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:9px;color:#9aa4b3;font-weight:600;padding:10px 9px;border-bottom:1px solid #edf0f4}td{padding:12px 9px;border-bottom:1px solid #f0f2f6;font-size:10px;color:#59677d}td strong{color:#293750;font-size:10px}.person-cell{display:flex;align-items:center;gap:8px}.mini-avatar{width:25px;height:25px;border-radius:8px;background:#eef0ff;color:#5968cf;display:grid;place-items:center;font-size:9px;font-weight:700}.pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:20px;font-size:9px;font-weight:600;background:#eff1f6;color:#738096}.pill.green{background:#e8f8f1;color:#1b9c73}.pill.blue{background:#edf0ff;color:#5969d5}.pill.orange{background:#fff4e6;color:#c9872e}.pill.red{background:#fff0f0;color:#d86a70}.activity-list{display:grid;gap:15px}.activity{display:flex;gap:10px}.activity-icon{width:28px;height:28px;flex-shrink:0;border-radius:9px;background:#eff2ff;color:#6577ed;display:grid;place-items:center}.activity b{font-size:10px;color:#3b4960}.activity p{font-size:9px;color:#8b96a7;margin:4px 0}.activity small{font-size:9px;color:#adb5c1}.section-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.project-card{padding:0;overflow:hidden}.project-cover{height:112px;background:linear-gradient(120deg,#192b47,#5570a6);position:relative;overflow:hidden}.project-cover:before,.project-cover:after{content:'';position:absolute;bottom:-15px;width:68px;height:120px;background:linear-gradient(90deg,#9fb1cb,#e1e8f1);opacity:.35;transform:skewY(-8deg);left:35%}.project-cover:after{left:55%;height:150px;width:55px;opacity:.2}.project-cover span{position:absolute;top:12px;left:14px;color:white;font-size:9px;background:#ffffff25;padding:5px 8px;border-radius:20px}.project-info{padding:15px}.project-info h3{font:600 13px 'Space Grotesk';margin:0 0 5px}.project-info p{font-size:10px;color:#8b96a7;margin:0 0 13px}.project-meta{display:flex;justify-content:space-between;color:#8a95a6;font-size:9px;margin-bottom:7px}.progress{height:6px;background:#eef1f6;border-radius:10px;overflow:hidden}.progress div{height:100%;background:#6377f5;border-radius:10px}.toolbar{display:flex;justify-content:space-between;gap:10px;margin-bottom:13px;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;gap:8px;align-items:center}.field,.select{border:1px solid var(--line);background:white;border-radius:8px;padding:9px 11px;font:11px 'DM Sans';color:#47556c;outline:none}.field{min-width:190px}.kanban{display:grid;grid-template-columns:repeat(5,minmax(175px,1fr));gap:12px;overflow:auto;padding-bottom:8px}.kanban-col{background:#edf0f6;border-radius:11px;padding:11px;min-height:300px}.kanban-title{display:flex;justify-content:space-between;font-size:10px;font-weight:700;color:#56637a;margin-bottom:11px}.kanban-card{background:white;border:1px solid #e7ebf2;border-radius:9px;padding:12px;margin-bottom:9px;box-shadow:0 3px 10px #243b5b08}.kanban-card b{font-size:10px}.kanban-card p{font-size:9px;color:#8d98a9;margin:5px 0 9px}.kanban-card small{font-size:9px;color:#63718a}.visit-list{display:grid;gap:10px}.visit-item{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:10px;padding:13px}.date-tile{width:43px;height:45px;border-radius:9px;background:#eff1ff;color:#5969d5;text-align:center;padding:6px}.date-tile b{display:block;font:600 17px 'Space Grotesk'}.date-tile small{font-size:8px;text-transform:uppercase}.visit-item b{font-size:11px}.visit-item p{margin:4px 0 0;color:#8d97a7;font-size:9px}.visit-item .pill{margin-left:auto}.assistant-layout{display:grid;grid-template-columns:1fr 300px;gap:15px}.chat-panel{display:flex;flex-direction:column;min-height:470px}.chat-messages{flex:1;display:flex;flex-direction:column;gap:13px;padding:5px 0 18px}.message{max-width:78%;padding:12px 14px;border-radius:12px;font-size:11px;line-height:1.6}.message.bot{background:#f0f3ff;color:#42517b;align-self:flex-start;border-bottom-left-radius:3px}.message.user{background:#526df5;color:white;align-self:flex-end;border-bottom-right-radius:3px}.chat-compose{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:13px}.chat-compose input{flex:1;border:1px solid var(--line);border-radius:8px;padding:11px;font:11px 'DM Sans';outline:none}.suggestions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.suggestions button{background:#f7f8fb;border:1px solid var(--line);border-radius:20px;padding:6px 9px;font-size:9px;color:#6d7a90;cursor:pointer}.automation-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f0f2f6}.automation-symbol{width:34px;height:34px;border-radius:10px;background:#eff1ff;color:#6275ed;display:grid;place-items:center}.automation-row b{font-size:11px}.automation-row p{font-size:9px;color:#8e98a8;margin:4px 0 0}.toggle{margin-left:auto;width:34px;height:19px;border-radius:20px;background:#cbd2df;position:relative;cursor:pointer;border:0}.toggle:after{content:'';position:absolute;width:13px;height:13px;background:white;border-radius:50%;top:3px;left:3px;transition:.2s}.toggle.on{background:#536ff3}.toggle.on:after{left:18px}.empty{padding:35px;text-align:center;color:#9aa4b2;font-size:11px}.modal-backdrop{display:none;position:fixed;inset:0;background:#101a2b88;z-index:10;align-items:center;justify-content:center;padding:20px}.modal-backdrop.show{display:flex}.modal{background:white;border-radius:15px;padding:22px;width:min(480px,100%);box-shadow:0 20px 70px #0b183344}.modal h2{font:600 18px 'Space Grotesk';margin:0 0 5px}.modal>p{font-size:10px;color:#8b96a7;margin:0 0 18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-field{display:grid;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-size:10px;color:#69768b;font-weight:600}.form-field input,.form-field select{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;font:11px 'DM Sans';outline:none}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;bottom:22px;right:22px;background:#17263e;color:white;padding:12px 17px;border-radius:9px;font-size:11px;box-shadow:var(--shadow);opacity:0;transform:translateY(10px);transition:.25s;pointer-events:none;z-index:20}.toast.show{opacity:1;transform:translateY(0)}footer{padding:13px 34px;border-top:1px solid var(--line);font-size:9px;color:#a2abba;display:flex;gap:18px}footer span{color:#a2abba}.env-pill{margin-left:auto;background:#fff4e6;color:#bd8739;padding:4px 7px;border-radius:20px;font-size:8px}
@media(max-width:1050px){.sidebar{width:225px}.page-content{padding:24px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.lower-grid{grid-template-columns:1fr}.section-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{position:fixed;z-index:9;left:-270px;top:0;bottom:0;width:258px;transition:.25s}.sidebar.open{left:0}.mobile-menu{display:block;border:0;background:transparent;font-size:19px;color:#52617a}.topbar{padding:0 15px;height:58px}.breadcrumb{margin-right:auto;margin-left:10px}.search-global{display:none}.page-content{padding:20px 14px}.page-heading{display:block}.heading-actions{margin-top:14px}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:21px}.section-grid{grid-template-columns:1fr}.assistant-layout{grid-template-columns:1fr}.top-actions{gap:10px}footer{padding:12px 14px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.kanban{grid-template-columns:repeat(5,190px)}}
