:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;--surface:#fff;--surface-muted:#f7f8fb;--line:#e4e8f0;--line-strong:#d6dce8;--text:#172033;--text-muted:#697389;--primary:#4e6af3;--primary-hover:#3d57d7;--primary-soft:#eef1ff;--success:#16825d;--danger:#c63f52;--warning:#d77c18;--shadow:0 16px 44px #1f2a4414;--radius:18px;background:#f3f5f9;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f3f5f9;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #4e6af333}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--text-muted)}.eyebrow{color:var(--primary);letter-spacing:.11em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:800;display:block}.app-shell{min-height:100vh}.app-header{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-bottom:1px solid #dee3eee6;justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex;position:sticky;top:0}.brand,.user-button,.profile-summary{align-items:center;display:flex}.brand{gap:12px}.brand-mark{color:#fff;background:#263a98;border-radius:13px;place-items:center;width:40px;height:40px;font-weight:800;display:grid;box-shadow:0 8px 18px #263a9833}.brand strong,.brand small,.user-button strong,.user-button small{display:block}.brand strong{font-size:15px}.brand small,.user-button small{color:var(--text-muted);margin-top:2px;font-size:11px}.user-button{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;gap:10px;padding:6px 9px 6px 7px}.user-button:hover{background:var(--surface-muted)}.avatar{color:#3249b9;background:#e8ecff;border-radius:17px;flex:none;place-items:center;width:52px;height:52px;font-weight:800;display:grid}.avatar.small{border-radius:12px;width:36px;height:36px;font-size:13px}.app-body{grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 72px);display:grid}.project-rail{border-right:1px solid var(--line);background:#fafbfc;height:calc(100vh - 72px);padding:28px 18px;position:sticky;top:72px;overflow-y:auto}.rail-heading{padding:0 10px 16px}.rail-heading h2{margin-bottom:0;font-size:20px}.project-list{gap:7px;display:grid}.project-button{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:14px;grid-template-columns:8px minmax(0,1fr);align-items:center;gap:11px;width:100%;padding:13px 12px;transition:all .16s;display:grid}.project-button:hover{border-color:var(--line);background:#fff}.project-button.is-active{background:#fff;border-color:#dce2ff;box-shadow:0 8px 24px #2f408012}.project-button strong,.project-button small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-button strong{font-size:13px}.project-button small{color:var(--text-muted);margin-top:4px;font-size:10px}.project-mark{background:#cbd2e2;border-radius:8px;width:7px;height:28px}.project-button.is-active .project-mark{background:var(--primary)}.workspace{min-width:0;padding:34px clamp(20px,4vw,56px) 64px}.project-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.project-header h1{margin-bottom:8px;font-size:clamp(27px,4vw,38px)}.project-header p{color:var(--text-muted);margin-bottom:0;font-size:13px}.project-actions,.heading-actions,.form-actions{align-items:center;gap:10px;display:flex}.primary-button,.secondary-button,.text-button,.icon-button,.action-chips button{cursor:pointer;border:0;transition:all .15s}.primary-button,.secondary-button{border-radius:12px;min-height:42px;padding:0 16px;font-size:12px;font-weight:700}.primary-button{color:#fff;background:var(--primary);box-shadow:0 7px 16px #4e6af32e}.primary-button:hover:not(:disabled){background:var(--primary-hover);transform:translateY(-1px)}.secondary-button{border:1px solid var(--line-strong);background:#fff}.secondary-button:hover:not(:disabled){background:#fafbff;border-color:#bfc8da}.primary-button.compact,.secondary-button.compact{min-height:36px;padding:0 13px}button:disabled{cursor:not-allowed;opacity:.55}.icon-button{background:var(--surface-muted);border-radius:11px;place-items:center;width:36px;height:36px;font-size:23px;font-weight:400;display:grid}.icon-button:hover{background:#eef0f5}.text-button{color:var(--primary);background:0 0;padding:4px;font-size:12px;font-weight:700}.project-tabs{border:1px solid var(--line);background:#ffffffb8;border-radius:15px;gap:4px;margin:0 0 22px;padding:5px;display:flex;overflow-x:auto}.project-tabs button{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;padding:10px 14px;font-size:12px;font-weight:700;position:relative}.project-tabs button:hover{color:var(--text)}.project-tabs button.is-active{color:#263a98;background:#edf0ff}.soon-dot{background:#c4cada;border-radius:50%;width:5px;height:5px;position:absolute;top:7px;right:7px}.stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:15px;display:grid}.stats-grid article{border:1px solid var(--line);background:#fff;border-radius:16px;min-height:92px;padding:17px}.stats-grid span,.stats-grid strong{display:block}.stats-grid span{color:var(--text-muted);font-size:11px;font-weight:600}.stats-grid strong{margin-top:10px;font-size:25px}.stats-grid .urgent-stat{background:#fff9f7;border-color:#f2d7ce}.urgent-stat strong{color:#cf4e32}.filters-card{border:1px solid var(--line);background:#fff;border-radius:17px;margin-bottom:16px;padding:14px}.search-field{border:1px solid var(--line);background:var(--surface-muted);border-radius:12px;align-items:center;gap:8px;margin-bottom:12px;padding:0 12px;display:flex}.search-field>span{color:var(--text-muted);font-size:20px}.search-field input{background:0 0;border:0;outline:0;width:100%;height:42px;padding:0}.filter-row{grid-template-columns:repeat(3,minmax(130px,1fr)) minmax(170px,auto);align-items:end;gap:10px;display:grid}.filter-row label>span,.task-form label>span{color:var(--text-muted);margin-bottom:6px;font-size:10px;font-weight:700;display:block}select,input[type=text],input[type=datetime-local],textarea{border:1px solid var(--line-strong);width:100%;color:var(--text);background:#fff;border-radius:11px}select,input[type=text],input[type=datetime-local]{height:42px;padding:0 11px}textarea{resize:vertical;padding:11px 12px;line-height:1.55}.checkbox-field{border:1px solid var(--line);border-radius:11px;align-items:center;gap:8px;min-height:42px;padding:0 10px;display:flex}.checkbox-field>span{white-space:nowrap;color:var(--text)!important;margin:0!important}.task-workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}.task-workspace.has-detail{grid-template-columns:minmax(300px,.86fr) minmax(390px,1.14fr)}.task-list{gap:9px;display:grid}.task-row{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:16px;width:100%;padding:16px 17px;transition:all .15s}.task-row:hover{border-color:#cad2e5;transform:translateY(-1px);box-shadow:0 8px 25px #2531540f}.task-row.is-active{box-shadow:inset 3px 0 var(--primary);border-color:#aab8fb}.task-row-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.task-row strong{font-size:13px;line-height:1.4}.task-row p{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0 0;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.priority-dot{background:#aeb7ca;border-radius:50%;flex:none;width:8px;height:8px;margin-top:5px}.priority-high{background:#e59b27}.priority-urgent{background:#d8445d;box-shadow:0 0 0 4px #ffe9ed}.priority-low{background:#6ab69b}.task-tags{flex-wrap:wrap;align-items:center;gap:6px;margin-top:11px;display:flex}.task-tags>span{color:#5c667c;background:#f2f4f7;border-radius:7px;padding:4px 7px;font-size:9px;font-weight:700}.task-tags .status-pill{color:#3d538f;background:#edf1fb}.status-pill.status-in_progress{color:#6950a8;background:#f0eafa}.status-pill.status-review{color:#9a6115;background:#fff0d9}.status-pill.status-done{color:#28775d;background:#e5f5ef}.status-pill.status-canceled{color:#86636a;background:#f3eaec}.status-pill.status-postponed{color:#6b7080;background:#eceef2}.task-dates{color:#8a92a2;justify-content:space-between;gap:10px;margin-top:12px;font-size:9px;display:flex}.detail-column{min-width:0;position:sticky;top:88px}.details-card,.editor-card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;overflow:hidden}.section-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:21px 22px;display:flex}.section-heading h2,.section-heading h3{margin-bottom:0}.section-heading h2{margin-top:10px;font-size:22px;line-height:1.25}.section-heading h3{font-size:19px}.details-heading .task-tags{margin-top:0}.details-grid{border-bottom:1px solid var(--line);background:var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.details-grid>div{background:#fbfcfd;padding:14px 20px}.details-grid span,.details-grid strong{display:block}.details-grid span{color:var(--text-muted);text-transform:uppercase;font-size:9px;font-weight:700}.details-grid strong{margin-top:5px;font-size:11px}.details-section{border-bottom:1px solid var(--line);padding:20px 22px}.details-section:last-child{border-bottom:0}.details-section h3{margin-bottom:12px;font-size:13px}.details-section>p{white-space:pre-wrap;margin-bottom:0;font-size:12px;line-height:1.65}.action-chips{flex-wrap:wrap;gap:7px;display:flex}.action-chips button{color:#3950bb;background:#f3f5ff;border:1px solid #d8defa;border-radius:10px;min-height:34px;padding:0 11px;font-size:10px;font-weight:700}.action-chips button:hover:not(:disabled){background:#e9edff}.inline-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.inline-heading h3{margin-bottom:0}.inline-heading>span{color:var(--text-muted);background:var(--surface-muted);border-radius:8px;padding:3px 7px;font-size:10px}.comments-list{gap:8px;margin-top:13px;display:grid}.comment{background:var(--surface-muted);border-radius:12px;padding:11px 12px}.comment>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.comment strong,.comment time{font-size:9px}.comment time{color:var(--text-muted)}.comment p{white-space:pre-wrap;margin:7px 0 0;font-size:11px;line-height:1.55}.comment-form{margin-top:12px}.comment-form>div{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.comment-form small{color:var(--text-muted);font-size:9px}.history-list{gap:0;margin-top:15px;display:grid}.history-list article{grid-template-columns:13px 1fr;gap:9px;padding-bottom:14px;display:grid;position:relative}.history-list article:not(:last-child):after{content:"";background:var(--line);width:1px;position:absolute;top:10px;bottom:-2px;left:4px}.history-dot{z-index:1;background:var(--primary);border:2px solid #fff;border-radius:50%;width:9px;height:9px;margin-top:3px;box-shadow:0 0 0 1px #bbc5f7}.history-list p{margin-bottom:3px;font-size:10px}.history-list small,.history-list time{color:var(--text-muted);font-size:9px;display:block}.task-form{gap:15px;padding:22px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.switch-field{border:1px solid var(--line);cursor:pointer;border-radius:13px;align-items:center;gap:11px;padding:12px;display:flex}.switch-field input{opacity:0;pointer-events:none;position:absolute}.switch{background:#cbd1dc;border-radius:20px;flex:none;width:36px;height:21px;transition:all .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:15px;height:15px;transition:all .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0003}.switch-field input:checked+.switch{background:var(--primary)}.switch-field input:checked+.switch:after{transform:translate(15px)}.switch-field span:last-child{color:var(--text);margin:0}.switch-field strong,.switch-field small{display:block}.switch-field strong{font-size:11px}.switch-field small{color:var(--text-muted);margin-top:3px;font-size:9px;font-weight:400}.form-actions{justify-content:flex-end;padding-top:3px}.field-error{color:var(--danger);margin:0;font-size:10px;font-weight:700}.tag-help{flex-wrap:wrap;gap:6px;display:flex}.tag-help span{color:#586378;background:var(--surface-muted);border-radius:8px;padding:5px 8px;font-size:9px}.empty-card,.coming-soon-card{border-radius:var(--radius);color:var(--text-muted);text-align:center;background:#ffffff8c;border:1px dashed #ccd3e0;place-items:center;padding:44px 24px;display:grid}.empty-card strong{color:var(--text);margin-bottom:7px;font-size:15px}.empty-card span{font-size:11px}.empty-card.large{min-height:360px}.coming-soon-card{min-height:390px}.coming-soon-card h2{color:var(--text);margin-bottom:10px;font-size:25px}.coming-soon-card p{max-width:510px;margin-bottom:0;font-size:12px;line-height:1.7}.coming-icon{width:55px;height:55px;color:var(--primary);background:var(--primary-soft);border-radius:18px;place-items:center;margin-bottom:18px;font-size:28px;display:grid}.mobile-project-select{display:none}.profile-panel{z-index:50;background:#fff;width:min(390px,92vw);height:100vh;padding:25px;transition:all .2s;position:fixed;top:0;right:0;overflow-y:auto;transform:translate(105%);box-shadow:-20px 0 55px #161f3421}.profile-panel.is-open{transform:translate(0)}.panel-backdrop{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a4d;border:0;position:fixed;inset:0}.panel-heading{justify-content:space-between;gap:18px;display:flex}.panel-heading h2{margin-bottom:0;font-size:24px}.profile-summary{background:var(--surface-muted);border-radius:16px;gap:13px;margin:25px 0;padding:16px}.profile-summary strong,.profile-summary p{display:block}.profile-summary strong{font-size:13px}.profile-summary p{color:var(--text-muted);margin:4px 0 0;font-size:10px}.panel-section{margin-top:24px}.panel-section h3{font-size:13px}.profile-projects{gap:8px;display:grid}.profile-project{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:12px;justify-content:space-between;gap:12px;padding:13px;display:flex}.profile-project:hover{border-color:#bcc6e0}.profile-project>span{min-width:0}.profile-project strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.profile-project span small{white-space:normal;margin-top:5px;display:block}.profile-project small{color:var(--text-muted);white-space:nowrap;font-size:9px}.technical-card{color:#657087;background:#f1f3f7;border-radius:13px;gap:5px;margin-top:24px;padding:14px;display:grid}.technical-card span{text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:800}.technical-card small{font-size:9px}.toast{z-index:70;color:#fff;border-radius:13px;align-items:center;gap:14px;max-width:min(410px,100vw - 30px);padding:13px 15px;font-size:11px;font-weight:700;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 16px 35px #1a233a33}.error-toast{background:#a83549}.success-toast{background:#187257}.toast button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:19px}.centered-state{text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:30px;display:grid}.centered-state h1{margin:9px 0;font-size:27px}.centered-state p{max-width:480px;color:var(--text-muted);font-size:12px;line-height:1.6}.centered-state code{color:#40519f;background:#e9edff;border-radius:9px;padding:8px 10px;font-size:10px}.state-icon{width:54px;height:54px;color:var(--danger);background:#ffe9ed;border-radius:18px;place-items:center;font-size:27px;font-weight:700;display:grid}.loader{border:3px solid #dce1ef;border-top-color:var(--primary);border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.app-body{grid-template-columns:210px minmax(0,1fr)}.project-rail{padding-inline:12px}.workspace{padding-inline:22px}.stats-grid{grid-template-columns:repeat(5,minmax(90px,1fr));overflow-x:auto}.filter-row{grid-template-columns:repeat(2,minmax(150px,1fr))}.task-workspace.has-detail{grid-template-columns:minmax(260px,.8fr) minmax(350px,1.2fr)}}@media (width<=820px){.app-header{height:62px;padding:0 15px}.brand small,.user-button>span:last-child{display:none}.brand-mark{border-radius:12px;width:36px;height:36px}.app-body{min-height:calc(100vh - 62px);display:block}.project-rail{display:none}.workspace{padding:19px 13px 55px}.mobile-project-select{margin-bottom:18px;display:block}.mobile-project-select label>span{color:var(--text-muted);margin-bottom:5px;font-size:9px;font-weight:700;display:block}.project-header{align-items:flex-start}.project-header h1{font-size:27px}.project-header p{font-size:10px}.project-actions{flex-direction:column-reverse;align-items:stretch}.project-tabs{border-left:0;border-right:0;border-radius:0;margin-inline:-13px;padding-inline:13px}.stats-grid{grid-template-columns:repeat(5,106px);margin-right:-13px;padding-right:13px}.stats-grid article{min-height:82px;padding:14px}.filters-card{padding:11px}.filter-row{grid-template-columns:1fr 1fr}.checkbox-field{grid-column:1/-1}.task-workspace.has-detail{display:block}.task-workspace.has-detail .task-list{display:none}.detail-column{position:static}.details-card,.editor-card{box-shadow:none;border-radius:15px}.section-heading,.details-section,.task-form{padding-inline:16px}.heading-actions{align-items:flex-start}.form-grid{grid-template-columns:1fr}.toast{bottom:15px;right:15px}}@media (width<=520px){.project-header{display:block}.project-actions{grid-template-columns:1fr 1fr;margin-top:15px;display:grid}.primary-button,.secondary-button{padding-inline:11px}.filter-row{grid-template-columns:1fr}.checkbox-field{grid-column:auto}.task-dates{display:grid}.details-grid{grid-template-columns:1fr 1fr}.section-heading h2{font-size:19px}}
