*{box-sizing:border-box} :root{--bg:#f5f7fb;--ink:#172235;--muted:#7c8798;--line:#e8edf4;--navy:#101d32;--teal:#21bfa7;--blue:#5488e8;--shadow:0 12px 35px rgba(22,39,65,.055)}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}h1,h2,h3,.brand{font-family:'Space Grotesk',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.sidebar{width:252px;background:#0d192c;color:#dce5f2;position:fixed;inset:0 auto 0 0;padding:27px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;letter-spacing:-.5px;color:#fff;padding:0 8px 38px}.brand small{display:block;font:600 8px 'DM Sans';letter-spacing:1.1px;color:#7f91aa;margin-top:5px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#25d0b4,#328bd0);display:grid;place-items:center;color:#092239;font-size:19px}.nav-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.45px;color:#95a2b5}.nav-label{padding:0 12px 12px}.nav-link{height:46px;border-radius:10px;display:flex;align-items:center;gap:13px;padding:0 13px;color:#9eacc0;font-weight:600;margin:3px 0}.nav-link:hover,.nav-link.active{background:#1a2c46;color:#fff}.nav-link.active{box-shadow:inset 3px 0 #26c6ad}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid #26364c;padding:18px 8px 12px}.profile b,.profile small{display:block}.profile small{color:#8494aa;font-size:11px;margin-top:3px}.avatar,.top-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d9f5ef;color:#087e70;font-weight:700}.main{margin-left:252px;max-width:1600px;padding:0 42px 60px}.topbar{height:76px;display:flex;align-items:center;justify-content:flex-end;border-bottom:1px solid var(--line);margin-bottom:34px}.top-right{display:flex;align-items:center;gap:9px;color:#778497;font-size:12px}.live-dot,.tiny-dot{width:7px;height:7px;border-radius:50%;background:#22c6a7;display:inline-block}.top-avatar{width:30px;height:30px;margin-left:10px}.mobile-brand{display:none}.welcome-row,.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.welcome-row h1,.page-heading h1{font-size:32px;letter-spacing:-1.2px;margin:9px 0 5px}.welcome-row p,.page-heading p{margin:0}.accent{color:#18a991}.muted{color:var(--muted);line-height:1.55}.tiny-dot{margin:0 7px 1px}.btn{border:0;border-radius:10px;padding:12px 17px;font-weight:700;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;gap:9px;justify-content:center}.btn:hover{transform:translateY(-1px)}.primary{background:#142b45;color:white;box-shadow:0 5px 13px #142b4520}.primary:hover{background:#1d3d60}.ghost{background:#f1f4f8;color:#566477}.small{padding:9px 12px;font-size:12px}.full{width:100%;margin-top:8px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:19px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.stat-card{padding:19px 20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#778497;font-size:12px;font-weight:600}.stat-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#edf3ff;color:#527fdb}.stat-icon.blue{background:#edf3ff;color:#5287e8}.stat-icon.green{background:#e8f8f3;color:#18a98f}.stat-icon.amber{background:#fff5e6;color:#d49b36}.stat-card strong{display:block;font:700 30px 'Space Grotesk';margin:12px 0 2px}.stat-card small{color:#9aa4b2;font-size:11px}.content-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px;margin-bottom:18px}.panel{padding:22px;margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-head h2{font-size:17px;margin:0 0 5px;letter-spacing:-.3px}.panel-head p{font-size:12px;margin:0}.text-link{color:#159e8a;font-size:12px;font-weight:700}.progress-wrap{display:flex;align-items:center;gap:34px;padding:5px 15px 7px}.progress-ring{width:130px;height:130px;border-radius:50%;background:conic-gradient(#1db99f calc(var(--progress)*1%),#edf1f6 0);display:grid;place-items:center;position:relative;flex:none}.progress-ring:before{content:'';position:absolute;inset:10px;border-radius:50%;background:#fff}.progress-ring div{position:relative;text-align:center}.progress-ring b{font:700 27px 'Space Grotesk';display:block}.progress-ring small{font-size:10px;color:#8a95a5}.legend{flex:1;display:grid;gap:12px}.legend div{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:9px;color:#748094;font-size:12px}.legend b{color:#27364b}.legend-dot{width:8px;height:8px;border-radius:50%;background:#aeb9c8}.legend-dot.pending{background:#e5ae53}.legend-dot.in_progress{background:#5e8fe7}.legend-dot.completed{background:#22b99d}.legend-dot.not_started{background:#aeb9c8}.panel-emoji{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#e9f8f4;color:#18a991}.insight-number{font:700 44px 'Space Grotesk';letter-spacing:-2px;margin-top:9px}.mini-track{height:7px;background:#edf1f5;border-radius:8px;margin:18px 0 12px;overflow:hidden}.mini-track span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#21c6a7,#5b9ee9)}.insight-foot{font-size:11px;color:#8a95a5}.task-list{display:grid}.task-row{display:flex;align-items:center;gap:13px;padding:14px 2px;border-top:1px solid #f0f2f6;min-width:0}.task-row:first-child{border-top:0}.task-check{width:23px;height:23px;border-radius:8px;background:#f1f4f8;display:grid;place-items:center;color:#91a0b2;flex:none;font-size:17px}.task-check.completed{background:#e5f7f1;color:#13a98e}.task-main{min-width:0;flex:1}.task-main b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-main small{display:block;color:#9aa4b2;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill{font-size:10px;font-weight:700;padding:6px 9px;border-radius:7px;white-space:nowrap;background:#f0f2f6;color:#788597}.pill.in_progress{background:#edf3ff;color:#5285df}.pill.pending{background:#fff5e6;color:#bf8b34}.pill.completed{background:#e9f8f3;color:#159b83}.pill.not_started{background:#f0f2f6;color:#7d8999}.pill.urgent{background:#fff0ef;color:#d45c55}.priority{font-size:10px;color:#9aa4b2;min-width:45px;text-align:right}.priority.urgent,.priority.high{color:#d96a61}.priority.medium{color:#bd9146}.empty-state{text-align:center;padding:42px 15px}.empty-icon{width:48px;height:48px;border-radius:15px;background:#eaf8f4;color:#1aa78f;display:grid;place-items:center;font-size:23px;margin:0 auto 14px}.empty-state h3{font-size:17px;margin:0 0 7px}.empty-state p{color:#909baa;margin:0 0 17px;font-size:12px}.overdue-panel{border-color:#f4d9d6}.overdue-line{display:flex;align-items:center;gap:15px;padding:10px 0;border-top:1px solid #f6eeee}.overdue-line span{flex:1;font-weight:600}.overdue-line small{color:#d16b62}.overdue-line a{color:#159e8a;font-size:11px;font-weight:700}.heading-count{font:600 12px 'DM Sans';background:#e9f7f3;color:#159b83;border-radius:7px;padding:5px 8px;margin-left:10px;vertical-align:middle}.filter-bar{display:flex;gap:10px;margin-bottom:18px;align-items:center}.search-box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 9px 0 13px;flex:1;min-width:160px;height:43px}.search-box span{font-size:20px;color:#98a3b2}.search-box input{border:0;outline:0;flex:1;min-width:0}.search-box button{border:0;background:#eef8f5;color:#159b83;border-radius:7px;padding:7px 11px;font-weight:700;cursor:pointer}.filter-bar select,.form-grid select,.form-grid input,.form-grid textarea,.stack-form input{border:1px solid #e4e9f0;background:#fff;border-radius:9px;padding:11px 12px;color:#334258;outline:0}.filter-bar select{height:43px;min-width:135px}.clear-link{color:#159e8a;font-size:12px}.task-panel{padding:8px 22px}.task-row-full{padding:17px 0}.row-actions{display:flex;align-items:center;gap:3px}.row-actions form{margin:0}.icon-btn{border:0;background:transparent;color:#8390a1;width:30px;height:30px;border-radius:8px;cursor:pointer;font-size:16px}.icon-btn:hover{background:#f1f4f8;color:#24364c}.danger-text{color:#d56b65}.modal-backdrop{position:fixed;inset:0;background:#0b1729a8;display:none;align-items:center;justify-content:center;padding:20px;z-index:20;backdrop-filter:blur(5px)}.modal-backdrop.show{display:flex}.modal{width:min(620px,100%);background:#fff;border-radius:18px;padding:25px;box-shadow:0 25px 80px #07132655;max-height:92vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.modal-head h2{margin:6px 0 0;font-size:23px}.modal-head .eyebrow{color:#1aa58f}.modal-head .icon-btn{font-size:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label,.stack-form label{display:grid;gap:7px;font-size:11px;font-weight:700;color:#59677b}.form-grid .span-2{grid-column:span 2}.form-grid input,.form-grid select,.form-grid textarea{width:100%;font-size:13px;font-weight:400}.form-grid textarea{resize:vertical}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.stack-form input:focus{border-color:#5bc9b4;box-shadow:0 0 0 3px #21b99f17}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px;padding-top:17px;border-top:1px solid #edf0f4}.toast{position:fixed;top:88px;right:30px;padding:13px 18px;border-radius:10px;background:#e8f8f2;color:#168c77;box-shadow:var(--shadow);z-index:40;font-weight:600}.toast.error{background:#fff0ef;color:#c4524c}.report-note{display:flex;gap:14px;background:#eaf8f4;border:1px solid #d8f1e9;border-radius:14px;padding:18px;margin-bottom:20px;color:#255b55}.report-icon{font-size:22px;color:#18a78f}.report-note b{font-size:13px}.report-note p{margin:5px 0 0;color:#6c8984;font-size:12px}.report-card{max-width:900px}.report-text{white-space:pre-wrap;font:13px/1.8 'DM Sans',sans-serif;color:#536176;background:#fafbfd;border:1px solid #edf0f4;border-radius:10px;padding:20px;margin:0}.auth-body{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 20% 20%,#e4f8f3,transparent 32%),radial-gradient(circle at 90% 80%,#e5edff,transparent 30%),#f5f7fb}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:34px;box-shadow:0 20px 70px #182b4710}.auth-brand{color:#172235;padding:0 0 35px}.auth-brand small{color:#8995a5}.auth-card h1{font-size:28px;letter-spacing:-.8px;margin:10px 0 6px}.auth-card .eyebrow{color:#17a58d}.stack-form{display:grid;gap:15px;margin-top:25px}.stack-form input{width:100%;font-size:13px}.auth-foot{text-align:center;color:#8c97a6;font-size:12px;margin:22px 0 0}.auth-foot a{color:#159e8a;font-weight:700}.alert{padding:11px;border-radius:8px;font-size:12px;margin-top:15px}.alert.error{background:#fff0ef;color:#c4524c}@media(max-width:1050px){.sidebar{width:220px}.main{margin-left:220px;padding:0 25px 50px}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{width:100%;height:64px;inset:0 0 auto;padding:10px 15px;flex-direction:row;align-items:center}.brand{padding:0;font-size:17px}.brand small,.nav-label,.sidebar .nav-link span,.sidebar-bottom{display:none}.sidebar .nav-link{margin:0 0 0 auto;padding:0 12px;height:40px}.sidebar .nav-link:nth-of-type(2){display:none}.main{margin:64px 0 0;padding:0 15px 35px}.topbar{height:53px;margin-bottom:24px}.top-right{font-size:10px}.mobile-brand{display:block;margin-right:auto;font-weight:700}.mobile-brand span{color:#9aa4b2;font-weight:400}.welcome-row,.page-heading{align-items:flex-start;flex-direction:column}.welcome-row h1,.page-heading h1{font-size:27px}.welcome-row>.btn,.page-heading>.btn{align-self:stretch}.stat-grid{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:26px}.content-grid{grid-template-columns:1fr;gap:0}.progress-wrap{gap:22px;padding:0}.progress-ring{width:112px;height:112px}.panel{padding:17px}.filter-bar{flex-wrap:wrap}.search-box{flex-basis:100%}.filter-bar select{flex:1;min-width:0}.task-row{gap:8px}.task-row .priority{display:none}.task-row-full{flex-wrap:wrap}.task-row-full .task-main{flex-basis:calc(100% - 42px)}.task-row-full>.pill{margin-left:31px}.row-actions{margin-left:auto}.modal{padding:19px}.form-grid{gap:12px}.toast{left:15px;right:15px;top:74px}.report-card .panel-head{align-items:flex-start}.overdue-line{gap:8px}.overdue-line span{font-size:12px}}@media print{.sidebar,.topbar,.btn,.report-note{display:none!important}.main{margin:0;padding:0}.panel{box-shadow:none;border:0}.report-text{border:0;background:#fff}}
