:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Source Han Sans SC,Noto Sans SC,system-ui,sans-serif;color:#252822;background:#f7f7f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:flex}.sidebar{width:248px;background:#fff;border-right:1px solid #e9eae5;display:flex;flex-direction:column;padding:22px 15px;position:fixed;inset:0 auto 0 0;z-index:5}.side-top,.brand,.side-bottom,.topbar,.page-heading,.project-heading,.heading-actions,.panel-head,.task-row,.task-main,.task-meta,.task-actions,.member-row,.join-box,.join-box form,.card-foot,.modal-head,.modal-actions{display:flex;align-items:center}.side-top{justify-content:space-between;padding:0 8px 32px}.brand{gap:10px;font-size:16px}.brand-mark{width:38px;height:38px;border-radius:12px;background:#344c3d;color:#fff;display:grid;place-items:center;font-weight:700;font-size:19px}.brand-mark.small{width:29px;height:29px;border-radius:9px;font-size:15px}.side-label,.project-label,.eyebrow{font-size:11px;color:#969b91;letter-spacing:1px}.side-label{padding:0 10px 9px}.nav,.project-link{width:100%;border:0;background:none;color:#656b61;text-align:left;display:flex;align-items:center;gap:11px;padding:10px;border-radius:8px;font-size:13px}.nav.active,.project-link.selected{background:#edf1ec;color:#344c3d;font-weight:600}.project-label{display:flex;justify-content:space-between;align-items:center;padding:28px 10px 9px}.tiny-icon,.icon-btn{border:0;background:transparent;color:#858b81;display:grid;place-items:center;border-radius:7px;padding:6px}.tiny-icon:hover,.icon-btn:hover{background:#f0f1ed}.project-list{display:grid;gap:3px}.project-link{font-size:12px;padding:9px 11px}.dot{width:7px;height:7px;border-radius:50%;background:#a9b6a9}.side-bottom{margin-top:auto;border-top:1px solid #eff0ec;padding:17px 3px 0;gap:9px}.avatar{width:31px;height:31px;flex:none;border-radius:50%;display:grid;place-items:center;background:#e8eee8;color:#405b48;font-weight:700;font-size:12px}.user-meta{min-width:0;display:grid;gap:3px;flex:1}.user-meta b{font-size:12px}.user-meta span{font-size:10px;color:#969b91;overflow:hidden;text-overflow:ellipsis}.main{margin-left:248px;flex:1;min-width:0}.topbar{height:62px;background:#fff;border-bottom:1px solid #e9eae5;padding:0 42px;justify-content:space-between}.crumb{font-size:12px;color:#9a9e96}.crumb span{padding:0 8px;color:#c5c8c1}.crumb b{color:#363b34}.top-right{font-size:11px;color:#747b70;display:flex;align-items:center;gap:7px}.live-dot{width:7px;height:7px;border-radius:50%;background:#5c9b6a}.content{max-width:1120px;margin:0 auto;padding:43px 42px 70px}.page-heading,.project-heading{justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{margin:0 0 9px}.page-heading h1,.project-heading h1{font-size:27px;letter-spacing:-.7px;margin:0 0 8px;font-weight:650}.muted{color:#92978e;font-size:12px;margin:0;line-height:1.7}.primary,.secondary{border:1px solid #344c3d;border-radius:8px;padding:10px 15px;background:#344c3d;color:#fff;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary:hover{background:#293e31}.primary:disabled,.secondary:disabled{opacity:.6;cursor:default}.secondary{background:#fff;color:#465b49;border-color:#dce2d9}.secondary:hover{background:#f4f6f2}.full{width:100%;margin-top:8px;padding:12px}.join-box{background:#fff;border:1px solid #e9eae5;border-radius:12px;padding:18px 20px;justify-content:space-between;gap:20px;margin-bottom:25px}.join-box b{font-size:13px}.join-box p{margin-top:5px}.join-box form{gap:8px}.join-box input{width:190px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project-card{border:1px solid #e9eae5;border-radius:12px;background:#fff;text-align:left;padding:20px;min-height:175px;display:flex;flex-direction:column;color:inherit}.project-card:hover{border-color:#aebcaf;transform:translateY(-1px)}.card-icon{width:34px;height:34px;background:#eff3ee;color:#536b56;border-radius:9px;display:grid;place-items:center;margin-bottom:17px}.card-title{font-size:14px;font-weight:650}.project-card p{font-size:11px;color:#979b93;line-height:1.6;margin:7px 0 20px}.card-foot{margin-top:auto;padding-top:12px;border-top:1px solid #f0f1ed;justify-content:space-between;color:#969b91;font-size:10px}.card-foot span:last-child{color:#506651}.empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#555;margin-top:20px}.empty h3{font-size:15px;margin:13px 0 6px}.empty p{font-size:12px;color:#999;margin:0 0 17px}.empty-icon{width:48px;height:48px;background:#edf1ec;color:#607661;border-radius:15px;display:grid;place-items:center}.empty.compact{min-height:140px}.project-heading{align-items:flex-start}.heading-actions{gap:9px}.tabs{display:flex;gap:25px;border-bottom:1px solid #e7e9e3;margin-bottom:23px}.tab{background:none;border:0;border-bottom:2px solid transparent;color:#888e84;font-size:12px;padding:0 2px 13px;display:flex;align-items:center;gap:7px}.tab.active{border-color:#3f5b45;color:#3f5b45;font-weight:600}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.stat,.panel{background:#fff;border:1px solid #e9eae5;border-radius:11px}.stat{padding:17px 18px;display:grid;gap:8px}.stat span{font-size:11px;color:#8f958b}.stat b{font-size:25px;font-weight:600}.stat small{font-size:10px;color:#a2a69e}.panel{padding:20px;margin-bottom:15px}.panel-head{justify-content:space-between;margin-bottom:17px}.panel-head h3{font-size:13px;margin:0 0 5px}.panel-head .muted{font-size:10px}.panel-head>b{font-size:19px}.progress{height:8px;border-radius:10px;background:#edf0eb;overflow:hidden}.progress span{height:100%;display:block;background:#65816a;border-radius:10px}.legend{display:flex;gap:20px;margin-top:14px}.legend span{font-size:10px;color:#888f85;display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:50%}.l-todo{background:#c5c9c0}.l-doing{background:#d9ad67}.l-done{background:#719477}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}.two-col .panel{margin:0}.text-btn{background:none;border:0;color:#637a65;font-size:11px}.task-row{justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #f0f1ed}.task-main{gap:11px;min-width:0}.task-status{color:#b4b9b0;display:grid}.task-status.doing{color:#c69b55}.task-status.done{color:#6b916e}.task-main b{font-size:12px;font-weight:550}.task-main b.finished{text-decoration:line-through;color:#a2a69e}.task-meta{gap:12px;margin-top:6px;flex-wrap:wrap}.task-meta span{font-size:10px;color:#9b9f97;display:inline-flex;align-items:center;gap:4px}.priority{padding:2px 6px;border-radius:4px;background:#f2f3ef}.priority.high{background:#fbefeb;color:#b36a55}.priority.low{background:#edf3ed;color:#6d886e}.task-actions{gap:8px}.task-actions select{max-width:105px;font-size:10px;padding:6px}.delete{opacity:.55}.delete:hover{color:#ba6258;background:#fbefed}.member-list{display:grid}.member-row{gap:10px;padding:12px 0;border-top:1px solid #f0f1ed}.member-info{display:grid;gap:4px;flex:1}.member-info b{font-size:11px}.member-info span{font-size:10px;color:#9a9f96}.role{font-size:10px;color:#879083}.invite-strip{background:#f6f7f4;border-radius:8px;padding:13px;display:flex;align-items:center;gap:12px;margin-bottom:10px}.invite-strip span{font-size:11px;color:#858b81}.invite-strip code{font-size:13px;letter-spacing:2px;color:#344c3d;font-weight:700}.small-btn{padding:8px 11px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1d241d55;z-index:20;display:grid;place-items:center;padding:20px}.modal{width:min(460px,100%);background:#fff;border-radius:14px;padding:22px;box-shadow:0 20px 70px #0002;max-height:92vh;overflow:auto}.modal-head{justify-content:space-between;margin-bottom:20px}.modal-head h3{font-size:15px;margin:0}.modal form,.auth-card form{display:grid;gap:14px}.modal label,.auth-card label{font-size:11px;color:#6d746a;display:grid;gap:7px}input,textarea,select{border:1px solid #e2e5de;border-radius:7px;padding:10px 11px;background:#fff;color:#343a32;outline:none;font-size:12px;min-width:0}input:focus,textarea:focus,select:focus{border-color:#8ea38d;box-shadow:0 0 0 3px #eaf0e8}textarea{resize:vertical;min-height:75px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:8px}.auth-wrap,.setup{min-height:100vh;display:grid;place-items:center;background:#f6f7f4;padding:20px}.auth-card,.setup-card{width:min(390px,100%);background:#fff;border:1px solid #e9eae5;border-radius:15px;padding:32px;box-shadow:0 10px 40px #25301f08}.auth-card>.brand-mark{margin-bottom:17px}.auth-card h1,.setup-card h1{font-size:23px;margin:0 0 5px}.auth-card>.muted{margin-bottom:23px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3f4f1;padding:4px;border-radius:8px;margin-bottom:20px}.auth-tabs button{border:0;background:none;padding:8px;border-radius:6px;font-size:11px;color:#8b9088}.auth-tabs button.active{background:#fff;color:#344c3d;box-shadow:0 1px 4px #0001}.notice{font-size:11px;color:#a65f4d;background:#fbf1ed;padding:9px;border-radius:7px}.tiny{font-size:10px;color:#a0a49d;text-align:center;margin:18px 0 0}.center{height:100vh;display:grid;place-items:center;color:#8c9389;font-size:13px}.setup-card{width:min(520px,100%)}.setup-card h3{font-size:14px;margin:25px 0 10px}.setup-card ol{padding-left:20px;font-size:12px;line-height:2.1;color:#555}.setup-card code{background:#f1f2ef;padding:2px 4px;border-radius:4px}.setup-card .muted{margin-top:15px}.mobile-open,.mobile-close{display:none}@media(max-width:900px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:32px 25px}.topbar{padding:0 25px}.project-grid,.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.sidebar{transform:translate(-100%);transition:transform .2s;width:260px;box-shadow:none}.sidebar.show{transform:translate(0);box-shadow:10px 0 40px #0002}.mobile-open,.mobile-close{display:grid}.main{margin-left:0}.topbar{height:56px;padding:0 15px;gap:10px}.crumb{flex:1}.top-right{font-size:10px}.content{padding:27px 16px 50px}.page-heading h1,.project-heading h1{font-size:23px}.page-heading,.project-heading{align-items:flex-start}.project-heading{display:block}.heading-actions{margin-top:17px}.join-box{align-items:stretch;flex-direction:column}.join-box form input{flex:1;width:100%}.project-grid{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:13px}.stat b{font-size:22px}.two-col{grid-template-columns:1fr}.tabs{gap:18px}.task-row{align-items:flex-start}.task-actions{flex-direction:column-reverse;align-items:flex-end}.task-actions select{max-width:92px}.legend{gap:11px;flex-wrap:wrap}.invite-strip{flex-wrap:wrap}}.task-row.is-today{background:#fffaf9}.task-main b.today-text{color:#cf3f34}.due-date.red{color:#cf3f34;font-weight:700}.stat b.red{color:#cf3f34}.tag{display:inline-flex;align-items:center;font-size:9px;line-height:1;padding:3px 6px;border-radius:4px;white-space:nowrap;font-weight:600}.tag.today{background:#fdecea;color:#c0392b}.tag.overdue{background:#fdecea;color:#b3392c}.tag.project{background:#eef2ee;color:#4b6350;font-weight:500}.due-banner{display:flex;align-items:center;gap:8px;background:#fdf1ee;border:1px solid #f6dcd6;color:#b3554a;border-radius:9px;padding:11px 14px;font-size:11.5px;margin-bottom:14px}.task-row,.task-main{align-items:flex-start}.task-status{margin-top:2px}.task-body{min-width:0;flex:1}.task-title-line{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.task-main b{line-height:1.5}.assignees{display:inline-flex;flex-wrap:wrap;gap:5px;align-items:center}.task-meta span.chip{display:inline-flex;align-items:center;gap:4px;background:#f1f4ef;color:#4a5c4d;border-radius:999px;padding:2px 8px 2px 3px;font-size:10px;white-space:nowrap;font-weight:500}.mini-avatar{width:15px;height:15px;border-radius:50%;background:#dde7dc;color:#40573f;display:inline-grid;place-items:center;font-size:9px;font-style:normal;font-weight:700;flex:none}.task-meta span.chip.muted-chip{background:#f5f5f2;color:#a2a69e;padding:2px 8px}.task-times{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}.task-times span{font-size:9.5px;color:#98a08f;background:#f6f7f3;border-radius:4px;padding:2px 6px}.icon-btn.edit:hover{color:#3f5b45;background:#eef2ee}.task-actions .icon-btn{opacity:.55}.task-actions .icon-btn:hover{opacity:1}.nav-badge{margin-left:auto;min-width:18px;height:16px;padding:0 5px;border-radius:999px;background:#e3eae2;color:#3f5b45;font-size:9.5px;font-weight:700;display:inline-grid;place-items:center}.nav.active .nav-badge{background:#344c3d;color:#fff}.row-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 8px}.filter-chip{border:1px solid #e2e5de;background:#fff;color:#6d746a;border-radius:999px;padding:6px 12px;font-size:11px}.filter-chip:hover{background:#f4f6f2}.filter-chip.active{background:#344c3d;border-color:#344c3d;color:#fff;font-weight:600}.role{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:600;background:#f2f3ef;color:#7c8378}.role.leader{background:#fbf3e0;color:#96712c}.role.member{background:#f2f3ef;color:#7c8378;font-weight:500}.leader-btn{border:1px solid #dfe5dd;background:#fff;color:#4b6350;font-size:10px;border-radius:6px;padding:4px 8px;margin-left:8px}.leader-btn:hover{background:#f2f6f1;border-color:#b9c9b8}.field{display:grid;gap:7px}.field-label{font-size:11px;color:#6d746a}.check-list{display:grid;gap:2px;max-height:185px;overflow:auto;border:1px solid #e2e5de;border-radius:8px;padding:7px;background:#fdfdfb}.modal .check-item{display:flex;align-items:center;gap:8px;font-size:12px;color:#48503f;padding:5px 6px;border-radius:6px;cursor:pointer;font-weight:400}.modal .check-item:hover{background:#f3f6f2}.modal .check-item input{width:14px;height:14px;accent-color:#344c3d;margin:0;padding:0;flex:none}.mini-tag{font-style:normal;font-size:9px;color:#96712c;background:#fbf3e0;border-radius:4px;padding:1px 5px;margin-left:auto}.form-hint{font-size:10px;color:#9aa096;line-height:1.6;margin:0}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%);background:#2f3d33;color:#fff;font-size:12px;padding:9px 16px;border-radius:999px;box-shadow:0 8px 24px #0000001f;z-index:60}.center{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-align:center;padding:20px}.center p{margin:0;color:#8c9389;font-size:13px}.loader{width:26px;height:26px;border:2.5px solid #e2e7e0;border-top-color:#5c7a62;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.net-hint{display:grid;gap:9px;justify-items:center;max-width:360px;color:#8b5a4d;font-size:11px;text-align:center;line-height:1.7}@media(max-width:650px){.task-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}.task-actions select{max-width:110px}.task-meta{gap:8px}.member-row{flex-wrap:wrap}.check-list{max-height:150px}.row-filters{gap:6px}.due-banner{font-size:11px}}
