:root{color:#22253a;--text:#22253a;--muted:#59617a;--border:#e4e7f0;--accent:#5842c8;background:#f6f7fb;font-family:system-ui,Microsoft YaHei,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app-header{border-bottom:1px solid var(--border);background:#fff}.app-header-inner,.dashboard{width:min(100% - 64px,1120px);margin-inline:auto}.app-header-inner{justify-content:space-between;align-items:center;gap:16px;min-height:72px;display:flex}.brand{white-space:nowrap;align-items:center;gap:12px;font-size:1.125rem;font-weight:750;display:flex}.brand-icon,.stat-icon{flex:none;place-items:center;display:grid}.brand-icon{background:var(--accent);color:#fff;border-radius:11px;width:36px;height:36px;font-size:1.375rem}.storage-label{color:var(--muted);text-align:right;font-size:.8125rem}.dashboard{padding-block:48px 72px}.dashboard h1{margin:0 0 24px;font-size:clamp(1.75rem,4vw,2.25rem);line-height:1.25}.task-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 28px;display:grid}.stat-card,.panel{border:1px solid var(--border);background:#fff;border-radius:16px;min-width:0;box-shadow:0 2px 4px #1b1f3708}.stat-card{justify-items:start;padding:20px;display:grid}.stat-icon{border-radius:10px;width:36px;height:36px;margin-bottom:12px;font-size:1.25rem;font-weight:700}.stat-icon--violet{color:#5641bd;background:#eeebff}.stat-icon--green{color:#1f7149;background:#e6f6ed}.stat-icon--amber{color:#925712;background:#fff2db}.stat-card dt{color:var(--muted);font-size:.875rem}.stat-card dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:4px 0 0;font-size:clamp(1.375rem,5vw,2rem);font-weight:750;line-height:1.2}.workspace{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start;gap:20px;display:grid}.panel{padding:24px}.panel h2{margin:0;font-size:1.125rem}.task-form{gap:10px;margin-top:20px;display:grid}.task-form label{font-size:.875rem;font-weight:650}.task-form input,.task-form select{width:100%;min-width:0;min-height:44px;color:var(--text);background:#fff;border:1px solid #bec4d3;border-radius:9px;padding:10px 12px}.task-form select{font:inherit;cursor:pointer}.task-form input::placeholder{color:var(--muted)}.task-form input[aria-invalid=true]{border-color:#b4233a}.form-error,.save-error{color:#a42036;font-size:.875rem}.form-error{margin:0}.save-error{background:#fff0f2;border-radius:10px;margin:0 0 20px;padding:12px 16px}.add-button,.delete-button{cursor:pointer;border:0;border-radius:9px;font-weight:650}.add-button{background:var(--accent);color:#fff;justify-content:center;align-items:center;gap:6px;min-height:44px;margin-top:4px;padding:8px 12px;display:flex}.add-button span{font-size:1.25rem;line-height:1}.add-button:hover{background:#4933b2}.list-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.list-header span{color:var(--muted);font-variant-numeric:tabular-nums;background:#eef0f7;border-radius:999px;padding:3px 10px;font-size:.8125rem}.task-filters{background:#f2f3f8;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:16px;padding:4px;display:grid}.task-filters button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:6px 4px;font-size:.875rem;font-weight:650}.task-filters button:hover{background:#eae7fa}.task-filters button[aria-pressed=true]{color:var(--accent);background:#fff;border-color:#dcd5f9}.empty-state{text-align:center;align-content:center;justify-items:center;min-height:228px;padding:24px 8px;display:grid}.empty-icon{background:#eeebff;border-radius:15px;align-content:center;justify-items:center;gap:5px;width:52px;height:52px;display:grid}.empty-icon span{background:#7461d0;border-radius:2px;width:20px;height:2px}.empty-state p{margin:14px 0 4px;font-weight:700}.empty-state>span{color:var(--muted);font-size:.875rem}.task-list{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.task-row{border:1px solid var(--border);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:6px 8px 6px 12px;display:flex}.task-row--completed{background:#f1f8f4;border-color:#dcebe3}.task-label{cursor:pointer;flex:1;align-items:center;gap:10px;min-width:0;min-height:44px;padding-block:6px;display:flex}.task-label input{accent-color:#23754f;cursor:pointer;flex:none;width:18px;height:18px;margin:0}.task-details{flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0;display:flex}.task-name{overflow-wrap:anywhere}.priority-badge{white-space:nowrap;border-radius:999px;flex:none;padding:2px 8px;font-size:.75rem;font-weight:650}.priority-badge--high{color:#fff;background:#b4233a}.priority-badge--medium{color:#825019;background:#fff2db}.priority-badge--low{color:#26558d;background:#e6efff}.task-row--completed .task-name{color:#53675e;text-decoration:line-through}.delete-button{color:#a42036;background:0 0;flex:none;min-height:44px;padding:6px 10px;font-size:.875rem}.delete-button:hover{background:#fff0f2}@media (width<=720px){.app-header-inner,.dashboard{width:calc(100% - 32px)}.app-header-inner{gap:10px;min-height:64px}.brand{gap:8px;font-size:1rem}.dashboard{padding-block:28px 48px}.task-stats,.workspace{gap:10px}.task-stats{margin-bottom:18px}.stat-card{padding:12px 8px}.stat-icon{width:30px;height:30px;margin-bottom:8px}.workspace{grid-template-columns:1fr}.panel{padding:18px}.task-filters button{padding-inline:2px;font-size:.8125rem}.task-details{flex-direction:column;align-items:flex-start}}
