:root{--bg: #eef3fa;--card: #ffffff;--ink: #1b2437;--ink-2: #55617a;--ink-3: #93a0b5;--line: #e5ebf5;--line-2: #d6dfee;--brand: #2563eb;--brand-dark: #1d4ed8;--brand-soft: #eaf1fe;--danger: #d93b3b;--danger-soft: #fdecec;--ok: #12855a;--ok-soft: #e9f7ef;--warn: #b45309;--warn-soft: #fdf3e3;--radius-card: 18px;--radius-ctl: 10px;--radius-item: 12px;--shadow-card: 0 1px 2px rgba(20, 32, 58, .04), 0 10px 28px rgba(20, 32, 58, .06)}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}.page{min-height:100vh;padding:40px 16px 64px}.shell{max-width:780px;margin:0 auto}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:32px 28px 26px}.head{text-align:center}.head-mark{width:54px;height:54px;margin:0 auto 14px;border-radius:15px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center}.head-mark svg{width:27px;height:27px;stroke:var(--brand)}.head h1{margin:0;font-size:22px;font-weight:600;letter-spacing:.3px}.head p{margin:6px 0 0;font-size:13px;color:var(--ink-3)}.stats{margin-top:24px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat{background:#f7fafd;border:1px solid var(--line);border-radius:var(--radius-item);padding:12px 6px;text-align:center}.stat-value{display:block;font-size:20px;font-weight:600;line-height:1.35;color:var(--ink)}.stat-label{display:block;font-size:12px;color:var(--ink-3)}.stat--done .stat-value{color:var(--ok)}.stat--todo .stat-value{color:var(--warn)}.progress{margin-top:30px}.progress-top{display:flex;align-items:baseline;justify-content:space-between;font-size:12.5px;color:var(--ink-2);margin-bottom:7px}.progress-rate{font-size:14px;font-weight:600;color:var(--brand)}.progress-bar{height:7px;border-radius:99px;background:#eef2f9;overflow:hidden}.progress-fill{display:block;height:100%;border-radius:99px;background:var(--brand);transition:width .35s ease}.field{height:44px;padding:0 13px;font-family:inherit;font-size:14px;color:var(--ink);background:#fff;border:1px solid var(--line-2);border-radius:var(--radius-ctl);outline:none;transition:border-color .18s,box-shadow .18s}.field::placeholder{color:var(--ink-3)}.field:focus{border-color:var(--brand);box-shadow:0 0 0 3px #2563eb21}.field:disabled{background:#f6f8fc;color:var(--ink-3);cursor:not-allowed}select.field{cursor:pointer}.btn-primary{height:44px;padding:0 22px;font-family:inherit;font-size:14px;font-weight:500;color:#fff;background:var(--brand);border:1px solid var(--brand);border-radius:var(--radius-ctl);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background .18s,box-shadow .18s,transform .1s}.btn-primary:hover:not(:disabled){background:var(--brand-dark);border-color:var(--brand-dark);box-shadow:0 4px 12px #2563eb42}.btn-primary:active:not(:disabled){transform:translateY(1px);box-shadow:none}.btn-primary:disabled{background:#b9c9e8;border-color:#b9c9e8;cursor:not-allowed}.composer{margin-top:4px;display:flex;gap:9px}.composer-title{flex:1;min-width:0}.composer-priority{flex:0 0 132px;width:132px}.composer-date{flex:0 0 152px;width:152px}.composer-hint{margin:7px 0 0;font-size:12px;color:var(--ink-3)}.toolbar{margin-top:18px;display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1 1 220px;min-width:180px}.search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--ink-3);pointer-events:none}.search .field{width:100%;padding-left:38px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{height:34px;padding:0 13px;font-family:inherit;font-size:12.5px;color:var(--ink-2);background:#fff;border:1px solid var(--line-2);border-radius:var(--radius-ctl);cursor:pointer;transition:all .18s}.chip:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.chip.is-active{color:#fff;background:var(--brand);border-color:var(--brand)}.chip.is-active:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.list{margin-top:16px;display:flex;flex-direction:column;gap:9px}.item{display:flex;align-items:center;gap:11px;padding:12px 13px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-item);transition:border-color .18s,box-shadow .18s,transform .18s}.item:hover{border-color:#c2d3f0;box-shadow:0 4px 14px #14203a17;transform:translateY(-1px)}.item.is-done{background:#fcfdff;border-color:#eef1f7}.item.is-done:hover{transform:none;box-shadow:none}.item.is-overdue{border-color:#f3cfcf}.item.is-overdue:hover{border-color:#e9bcbc}.tick{flex:0 0 auto;width:19px;height:19px;padding:0;border:1.5px solid var(--line-2);border-radius:6px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .18s}.tick:hover{border-color:var(--brand);background:var(--brand-soft)}.tick svg{width:12px;height:12px;stroke:#fff;opacity:0;transition:opacity .15s}.item.is-done .tick{background:var(--brand);border-color:var(--brand)}.item.is-done .tick svg{opacity:1}.item-main{flex:1;min-width:0;display:flex;align-items:center;gap:11px}.item-meta{flex:0 0 auto;display:flex;align-items:center;gap:9px}.item-title{flex:1;min-width:0;font-size:14.5px;color:var(--ink);word-break:break-word}.item.is-done .item-title{color:var(--ink-3);text-decoration:line-through}.tag{flex:0 0 auto;font-size:11.5px;line-height:1;font-weight:500;padding:5px 9px;border-radius:6px;border:1px solid transparent}.tag--high{color:#c92a2a;background:var(--danger-soft);border-color:#f8d7d7}.tag--medium{color:var(--warn);background:var(--warn-soft);border-color:#f7e3c4}.tag--low{color:var(--ok);background:var(--ok-soft);border-color:#d3ecdd}.due{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:var(--ink-3);white-space:nowrap}.due.is-overdue{color:var(--danger);font-weight:500}.due svg{width:12px;height:12px;stroke:currentColor}.del{flex:0 0 auto;width:30px;height:30px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--ink-3);cursor:pointer;transition:all .18s}.del svg{width:15px;height:15px;stroke:currentColor}.del:hover:not(:disabled){color:var(--danger);background:var(--danger-soft);border-color:#f8d7d7}.del:disabled,.tick:disabled{cursor:not-allowed;opacity:.5}.placeholder{padding:34px 16px;text-align:center;font-size:13.5px;color:var(--ink-3);border:1px dashed var(--line-2);border-radius:var(--radius-item)}.placeholder--error{color:var(--danger);border-color:#f3cfcf}.notice{margin-top:16px;padding:10px 13px;font-size:12.5px;line-height:1.5;color:var(--warn);background:var(--warn-soft);border:1px solid #f7e3c4;border-radius:var(--radius-ctl)}.notice b{font-weight:600}.foot{margin-top:18px;padding-top:13px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--ink-3)}@media (max-width: 640px){.page{padding:18px 12px 40px}.card{padding:22px 15px 18px;border-radius:16px}.head h1{font-size:19px}.head-mark{width:48px;height:48px;border-radius:13px;margin-bottom:11px}.head-mark svg{width:24px;height:24px}.stat-value{font-size:18px}.composer{flex-wrap:wrap}.composer-title{flex:1 1 100%}.composer-priority{flex:1 1 100px;width:auto}.composer-date{flex:1 1 130px;width:auto}.btn-primary{flex:1 1 100%}.toolbar{gap:8px}.search{flex:1 1 100%}.chips{width:100%}.chip{flex:1 0 auto;height:34px;padding:0 10px}.item{padding:11px;gap:9px;align-items:flex-start}.item-main{flex-direction:column;align-items:flex-start;gap:6px}.item-title{width:100%;font-size:14px}.item-meta{gap:8px;flex-wrap:wrap}.tick{margin-top:2px}.del{margin-top:-2px}}
