:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#21343d;background:#f3f4f0;font-synthesis:none;--ink:#172b36;--muted:#6b7b7c;--line:#e3e8e4;--green:#25765d;--paper:#fff;--orange:#aa682a}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}a{color:var(--green);text-decoration:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #63a695;outline-offset:3px}button,input,select{min-height:44px}.hidden{display:none!important}.shell{max-width:960px;margin:auto}.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 28px}.brand{display:flex;align-items:center;gap:11px;font-weight:750;color:var(--ink);font-size:18px;letter-spacing:1px}.brand small{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:2px;display:block;margin-top:1px}.brand-mark{display:grid;place-items:center;width:36px;height:40px;background:var(--ink);color:white;border-radius:8px 8px 8px 0;font-size:19px}.identity{border:1px solid #d4ddd6;border-radius:30px;padding:5px 16px;background:white;font-size:13px}main{padding:30px 28px 120px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:650;margin:0 0 6px}.daybar{display:flex;justify-content:space-between;align-items:center;gap:12px}h1{font-size:28px;letter-spacing:-.7px;line-height:1.35;margin:0;font-weight:700}h2{font-size:18px;line-height:1.45;margin:0}.sync{font-size:11px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--green)}.sync:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.sync.offline{color:#a65a3c}.sync.connecting{color:#87938c}.datebar{display:flex;align-items:center;gap:7px;margin:18px 0}.date-label{display:flex;align-items:center;gap:8px;margin:0!important}.date-label input{border:0;background:transparent;width:142px;font-weight:650;color:var(--ink);padding:0;min-height:36px}.date-label span{font-size:12px;color:var(--muted)}.icon-btn{font-size:24px;width:32px}.text-btn{color:var(--green);font-size:12px;padding:0 8px}.refresh{margin-left:auto;font-size:23px;width:42px}.summary{background:var(--ink);color:white;border-radius:16px;padding:22px 24px;display:grid;grid-template-columns:1fr auto;gap:0 25px;position:relative}.summary>div:first-child span{display:block;font-size:11px;letter-spacing:.4px;color:#b1c4c6}.summary strong{font-size:34px;font-weight:600;line-height:1.4;letter-spacing:1px}.summary strong em{font-size:20px;color:#91a9ac;font-style:normal}.completion{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.completion b{font-size:26px;font-weight:500}.completion span{font-size:10px;color:#a4babd}.summary progress{width:100%;height:4px;grid-column:1/-1;border:0;border-radius:10px;overflow:hidden;margin-top:15px;appearance:none;background:#3c5159}.summary progress::-webkit-progress-bar{background:#3c5159}.summary progress::-webkit-progress-value{background:#85c0a6}.summary p{grid-column:1/-1;font-size:10px;color:#93adaf;margin:8px 0 0}.team-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:17px 0 26px}.member{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid transparent;border-radius:10px;text-align:left}.member.active{background:#fff;border-color:#d4ded6}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#dde6dc;font-size:11px;font-weight:650;flex-shrink:0}.member:nth-child(2) .avatar{background:#e6e2f0}.member:nth-child(3) .avatar{background:#f0e4d5}.member:nth-child(4) .avatar{background:#dce8ed}.member-name{display:block;font-size:12px}.member-data{display:block;font-size:10px;color:var(--muted);white-space:nowrap}.content-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 16px}.content-heading p{font-size:11px;color:var(--muted);margin:4px 0 0}.primary{background:var(--green);color:#fff;border-radius:9px;font-size:14px;font-weight:600;min-height:46px;padding:10px 20px}.primary.small{font-size:12px;min-height:38px;padding:8px 13px;white-space:nowrap}.primary.full{width:100%}.filters{display:flex;gap:7px;margin-bottom:18px}.filters button{min-height:32px;border-radius:20px;padding:5px 13px;font-size:11px;color:#708079;border:1px solid transparent}.filters button.selected{background:#e2e9e1;border-color:#d3ded3;color:#2c5346}.task-group{border:1px solid var(--line);border-radius:13px;background:#fff;margin-bottom:12px;overflow:hidden}.task-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fbfcfa}.task-group>summary::-webkit-details-marker{display:none}.task-group>summary:after{content:"⌄";color:#7b8b80;margin-left:2px}.task-group[open]>summary:after{content:"⌃"}.priority{font-size:10px;font-weight:700;min-width:32px;height:29px;border:1px solid #ccd8d2;border-radius:6px;display:grid;place-items:center;color:#466559}.priority.p1{background:#203d49;color:white;border-color:#203d49}.priority.p2{background:#e3ebe5;color:#355a4a}.group-title{font-size:14px;font-weight:650}.group-sub{font-size:10px;color:var(--muted);margin-left:6px;font-weight:400}.group-count{font-size:11px;color:var(--muted);margin-left:auto}.main-tag{font-size:9px;background:#e5eddf;color:#4b653c;padding:2px 5px;border-radius:4px;margin-left:6px}.task-row{display:flex;align-items:center;padding:0 15px;border-top:1px solid #edf0eb;gap:12px;min-height:81px}.task-main{display:block;flex:1;min-width:0;padding:14px 0;text-align:left}.task-heading{display:flex;align-items:center;gap:8px;margin-bottom:4px}.task-name{font-weight:600;font-size:13px}.task-row.done .task-name{color:#648274}.task-preview{color:#77847e;font-size:11px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.task-meta{font-size:10px;display:flex;align-items:center;gap:7px;color:#84918a;margin-top:6px}.task-owner{color:#476356}.task-side{display:flex;align-items:flex-end;flex-direction:column;gap:4px}.status{display:inline-block;border-radius:5px;padding:3px 7px;font-size:10px;white-space:nowrap;background:#edf0ee;color:#7b8581}.status.running{background:#e6eef4;color:#376d93}.status.waiting{background:#f0ecdf;color:#89733d}.status.done{background:#e4efe7;color:#2d7755}.status.blocked{background:#fae9e4;color:#b25e41}.quick{font-size:11px;min-height:32px;padding:0 5px;color:var(--green);white-space:nowrap}.empty{border:1px dashed #cfd9cf;border-radius:13px;padding:35px 20px;text-align:center;color:#7a8880;background:#f9faf7}.empty b{display:block;color:#3e5e4e;font-size:15px;margin-bottom:8px}.empty p{font-size:12px}.empty button{margin-top:10px}.notice{border:1px solid #dfcfac;border-radius:9px;background:#fbf5e7;color:#8b663b;padding:12px 14px;font-size:12px;margin:12px 0}.footnote{font-size:10px;color:#8b9690;text-align:center;margin:25px 0 0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,960px);padding:9px 22px calc(9px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #e5e9e3;display:grid;grid-template-columns:repeat(4,1fr);z-index:5}.bottom-nav button{font-size:10px;min-height:48px;color:#849089;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;position:relative}.bottom-nav button span{font-size:21px;line-height:1.2}.bottom-nav .selected{color:var(--green);font-weight:650}.bottom-nav .selected:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;bottom:-3px;background:var(--green)}dialog{border:0;color:var(--ink);padding:25px;width:min(560px,calc(100% - 32px));max-height:90dvh;border-radius:18px;box-shadow:0 18px 80px #10241c30;overflow-y:auto}dialog::backdrop{background:#142b355c;backdrop-filter:blur(2px)}.sheet-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.close{font-size:26px;width:40px;height:40px;min-height:40px;background:#f2f5f0;border-radius:50%;flex-shrink:0}.muted{font-size:13px;color:var(--muted)}.fine{font-size:11px;color:#8c968f;margin-top:20px}.person-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.person-choice{border:1px solid #dce4db;border-radius:12px;min-height:80px;font-size:18px;background:#f6f8f3}.person-choice:hover{background:#e8eee3;border-color:#9bb59e}label{display:block;font-size:12px;font-weight:600;margin:15px 0 0}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #dbe2da;border-radius:9px;background:#fafbf8;padding:10px 12px;font-size:14px;color:var(--ink);margin-top:6px}textarea{resize:vertical;line-height:1.65;min-height:75px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkbox{display:flex;align-items:center;gap:8px;font-weight:400;font-size:11px;color:var(--muted)}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px;margin:0}.savebar{position:sticky;bottom:-25px;background:#fff;padding:18px 0 4px;margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:15px}.savebar span{font-size:10px;color:#8e9890}.error{font-size:12px;color:#b5573d;white-space:pre-wrap;margin:8px 0}.toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%) translateY(20px);background:#1b342feF;color:white;padding:12px 20px;border-radius:10px;max-width:90%;font-size:12px;pointer-events:none;opacity:0;transition:.2s;z-index:100}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.report-actions{display:flex;gap:10px;margin-bottom:15px}.report-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 20px;margin-bottom:12px}.report-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.report-card header b{font-size:15px}.report-card header small{color:var(--muted)}.report-item{border-top:1px solid #edf0e9;padding:10px 0;font-size:12px}.report-item p{margin:3px 0 0;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.report-item a{display:block;word-break:break-all;margin-top:4px}.update-list{padding:0;list-style:none}.update-list li{border-top:1px solid #edf0e9;padding:9px 0;font-size:11px;color:var(--muted)}.update-list b{color:#415f4d;font-weight:600}.offline-placeholder{color:#a46b45}.report-switch{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;color:var(--muted)}
.heading-actions{display:flex;gap:6px;align-items:center}.heading-actions .identity{font-size:11px;min-height:38px;padding:5px 11px}
.date-label{white-space:nowrap;flex-shrink:0}.date-label span{white-space:nowrap}
@media(max-width:480px){.date-label span{display:none}.date-label input{width:132px}.icon-btn{width:28px}.refresh{width:36px}.datebar .text-btn{padding:0 6px}}
@media(min-width:700px){.task-groups{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.task-group{margin:0}.task-group.primary-group{grid-column:1/-1}.task-group.primary-group .task-row{min-height:77px}.empty{grid-column:1/-1}.summary{padding:25px 28px}.summary strong{font-size:40px}.team-strip{gap:20px}.member{padding:14px}.member-name{font-size:13px}.member-data{font-size:11px}.avatar{width:38px;height:38px;font-size:12px}.bottom-nav{padding-left:170px;padding-right:170px}.content-heading{margin-top:30px}}
@media(max-width:480px){.topbar{height:74px;padding:0 20px}main{padding:24px 18px 115px}h1{font-size:25px}.summary{padding:20px}.team-strip{gap:1px;margin-top:12px}.member{padding:9px 3px;gap:5px}.avatar{width:27px;height:27px;font-size:10px}.member-name{font-size:11px}.member-data{font-size:9px}.identity{padding:5px 11px}.datebar{gap:2px}.date-label span{font-size:10px}.group-sub{font-size:9px}.task-group>summary{padding:13px}.task-row{padding:0 13px;gap:7px}.task-name{font-size:13px}.content-heading h2{font-size:17px}.content-heading p{max-width:220px;font-size:10px}.primary.small{font-size:11px;padding:7px 10px}.sheet:not(.compact){margin:0 auto;position:fixed;top:auto;bottom:0;width:100%;max-width:560px;max-height:94dvh;border-radius:18px 18px 0 0;padding-bottom:calc(25px + env(safe-area-inset-bottom))}.savebar{bottom:calc(-25px - env(safe-area-inset-bottom));padding-bottom:calc(12px + env(safe-area-inset-bottom))}.savebar span{max-width:130px}.bottom-nav{padding-left:8px;padding-right:8px}.task-meta{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
