:root{color:#142033;background:#f7fafc;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{border:0}.page{min-height:100vh;padding:calc(18px + env(safe-area-inset-top)) 14px 28px;background:linear-gradient(180deg,#edf5ff,#f7fafc 38%,#f8faf9)}.hero{padding:20px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#172554,#0f766e 54%,#16a34a);box-shadow:0 18px 42px #0f2d5238}.hero-top,.section-head,.task-card header,.meta,.progress-row,.field-row,.reminder-row,.switch-row,.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.eyebrow{display:block;color:#ffffffb8;font-size:12px}h1,h2,h3,p{margin:0}h1{margin-top:6px;font-size:28px;line-height:1.15}.round-button{width:44px;height:44px;border-radius:50%;color:#fff;background:#ffffff2e;font-size:20px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}.summary-grid strong,.summary-grid span{display:block}.summary-grid strong{font-size:28px}.summary-grid span,.completion{color:#ffffffc2;font-size:12px}.warning{color:#fde68a}.danger{color:#fecaca}.completion{display:flex;align-items:center;gap:10px;margin-top:18px}.completion-bar{flex:1;height:7px;overflow:hidden;border-radius:99px;background:#ffffff3d}.completion-bar div{height:100%;border-radius:inherit;background:#fff}.quick-actions{display:grid;grid-template-columns:1.3fr .9fr;gap:10px;margin:18px 0}.voice-button,.add-button,.submit-button{min-height:52px;border-radius:16px;font-weight:800}.voice-button{color:#0f766e;background:#fff;box-shadow:0 12px 30px #14203314}.voice-button span{margin-right:8px;font-size:18px}.voice-button.recording{color:#dc2626}.add-button,.submit-button{color:#fff;background:#2563eb;box-shadow:0 12px 26px #2563eb42}.voice-result,.task-card,.sheet{background:#fff;box-shadow:0 14px 34px #14203314}.voice-result{margin-bottom:18px;padding:14px;border-radius:16px}.voice-result span,.section-head p,.section-head>span,.meta,.subtask small,.switch-row small{color:#718096;font-size:12px}.voice-result p{margin-top:6px;color:#263246;line-height:1.55}.section-head{align-items:flex-end;margin:22px 2px 12px}.section-head h2{font-size:20px}.section-head.compact{align-items:center}.task-list{display:grid;gap:14px}.task-card{padding:18px;border:1px solid rgba(148,163,184,.18);border-radius:20px}.task-card h3{font-size:17px;line-height:1.35}.status{display:inline-flex;margin-top:8px;padding:5px 9px;border-radius:99px;color:#2563eb;background:#dbeafe;font-size:12px;font-weight:800}.status-overdue{color:#dc2626;background:#fee2e2}.status-done{color:#047857;background:#d1fae5}.link-button,.danger-link{flex:0 0 auto;color:#2563eb;background:transparent;font-weight:800}.danger-link{color:#dc2626}.content{margin-top:12px;color:#4a5568;line-height:1.6}.meta,.progress-row,.reminders,.subtasks,.subtask-add{margin-top:14px}.progress-row input{flex:1;accent-color:#10b981}.progress-row strong{width:48px;text-align:right;color:#0f766e}.reminders{display:flex;flex-wrap:wrap;gap:8px}.reminders span{padding:6px 8px;border-radius:10px;color:#334155;background:#eef2f7;font-size:12px}.subtasks{padding-left:10px;border-left:2px solid #dbeafe}.subtask{display:flex;width:100%;align-items:flex-start;gap:8px;padding:5px 0;text-align:left;background:transparent}.subtask i{width:8px;height:8px;margin-top:7px;border-radius:50%;background:#2563eb}.subtask b,.subtask small{display:block}.subtask b{color:#1f2937}.subtask small{margin-top:3px}.subtask-add{width:100%;min-height:42px;border-radius:12px;color:#2563eb;background:#eff6ff;font-weight:800}.sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:flex-end;background:#0f172a7a}.sheet{width:100%;max-height:86vh;overflow-y:auto;padding:18px 14px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.sheet-head{margin-bottom:16px}.sheet-head h2{font-size:20px}.sheet-head button{width:34px;height:34px;border-radius:50%;color:#475569;background:#f1f5f9;font-size:22px}.field{display:block;margin-top:16px;color:#334155;font-weight:800}.field input,.field textarea,.field select{width:100%;margin-top:8px;border:1px solid #d8e0ea;border-radius:14px;background:#f8fafc;color:#142033}.field input,.field select{height:46px;padding:0 12px}.field textarea{min-height:108px;padding:12px;resize:vertical}.progress-field input{accent-color:#2563eb}.reminder-editor{margin-top:10px;padding:12px;border-radius:16px;background:#f8fafc}.reminder-row input{flex:1;margin-top:0;background:#fff}.reminder-row select{width:84px;margin-top:0;background:#fff}.chip-grid{display:flex;flex-wrap:wrap;gap:8px}.chip-grid.top-gap,.reminder-editor .chip-grid{margin-top:10px}.chip-grid button{padding:8px 11px;border:1px solid #d8e0ea;border-radius:12px;color:#475569;background:#fff;font-weight:800}.chip-grid button.active{color:#fff;border-color:#2563eb;background:#2563eb}.switch-row{margin-top:18px;padding:14px;border-radius:16px;background:#f8fafc}.switch-row b,.switch-row small{display:block}.switch-row input{width:46px;height:26px;accent-color:#2563eb}.submit-button{width:100%;margin-top:20px}.toast{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom));z-index:40;max-width:calc(100vw - 56px);transform:translate(-50%);padding:10px 14px;border-radius:999px;color:#fff;background:#0f172adb;font-size:13px}
