@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#332b2a;background:#f9f5f0;font-synthesis:none;--ink:#332b2a;--muted:#968b86;--rose:#c77982;--rose-dark:#a95866;--paper:#fffdfb;--line:#eee5df;--sage:#718978}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 4% 5%,#fae9e7 0,transparent 27rem),radial-gradient(ellipse at 98% 37%,#eff0e8 0,transparent 24rem),#f9f5f0}.app-shell{width:min(100%,620px);min-height:100vh;margin:0 auto;padding:calc(22px + env(safe-area-inset-top)) 25px calc(20px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;gap:12px}.brand-mark{width:43px;height:43px;border-radius:15px;background:#f1d9d8;color:#b6616b;display:grid;place-items:center;font-size:24px}.topbar h1{font:600 20px 'Playfair Display',Georgia,serif;margin:0}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#a78f8a;margin:0 0 5px}.icon-button{margin-left:auto;width:39px;height:39px;border:1px solid var(--line);border-radius:50%;background:#fffaf8;color:var(--rose-dark);font-size:19px}.welcome{display:flex;align-items:flex-end;justify-content:space-between;margin:38px 0 22px}.welcome h2,.section-heading h2,.dialog-heading h2{font:600 27px 'Playfair Display',Georgia,serif;margin:0}.welcome h2 span{color:#d5a968;font-family:serif}.subtle{font-size:12px;color:var(--muted);margin:7px 0 0}.date-pill{font-size:11px;font-weight:600;color:#89636a;background:#f3e4e2;padding:9px 12px;border-radius:15px;white-space:nowrap}.progress-card{background:#fffdfb;border:1px solid #f0e8e3;border-radius:22px;padding:21px 21px 16px;box-shadow:0 10px 28px #6242340a}.progress-copy{display:flex;align-items:end;justify-content:space-between;gap:12px}.progress-copy strong{font:600 38px 'Playfair Display',Georgia,serif;color:#b76570;line-height:1.1}.progress-copy>p{font-size:11px;color:var(--muted);margin:0 0 5px}.progress-track{height:8px;border-radius:9px;background:#f1e8e4;margin:17px 0 10px;overflow:hidden}.progress-bar{height:100%;width:0;background:linear-gradient(90deg,#d69a94,#b96772);border-radius:inherit;transition:width .3s ease}.progress-foot{display:flex;justify-content:space-between;color:#9b908a;font-size:10px}.tasks-section{margin-top:32px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-heading h2{font-size:22px}.add-button{width:40px;height:40px;border:0;border-radius:15px;background:#ba6d77;color:white;font-size:26px;line-height:1;box-shadow:0 5px 12px #ba6d7736}.task-list{display:grid;gap:10px}.task-card{display:flex;gap:13px;align-items:flex-start;background:#fffdfb;border:1px solid #f0e8e3;border-radius:18px;padding:15px 15px 14px;box-shadow:0 5px 16px #62423408;transition:opacity .2s}.task-card.completed{opacity:.62}.check-button{flex:0 0 23px;width:23px;height:23px;margin-top:1px;border:1.5px solid #d7b4b4;border-radius:8px;background:transparent;color:white;font-size:14px;padding:0}.completed .check-button{background:#8d9e8d;border-color:#8d9e8d}.task-main{min-width:0;flex:1}.task-topline{display:flex;justify-content:space-between;align-items:center;gap:8px}.task-title{font-size:13px;font-weight:600;line-height:1.4}.completed .task-title{text-decoration:line-through;color:#89807b}.task-time{font-size:10px;color:#af7478;background:#f8edeb;border-radius:8px;padding:5px 7px;white-space:nowrap}.task-notes{font-size:11px;line-height:1.45;color:var(--muted);margin:6px 0 0}.task-meta{margin-top:8px;font-size:9px;color:#a39a94;display:flex;gap:9px;align-items:center}.overdue-tag{color:#aa666c}.expiry-tag{color:#a18355}.delete-button{border:0;background:transparent;color:#b8aaa4;font-size:17px;padding:0 2px}.empty-state{text-align:center;padding:33px 20px;background:#fffdfb;border:1px dashed #e6d5d0;border-radius:20px}.empty-heart{font-size:31px;color:#c9858a}.empty-state h3{font:600 19px 'Playfair Display',Georgia,serif;margin:8px 0}.empty-state p{font-size:11px;color:var(--muted);line-height:1.6;max-width:230px;margin:0 auto 14px}.text-button{border:0;background:transparent;color:#a95e68;font:600 11px inherit}.app-shell footer{display:flex;justify-content:center;gap:7px;color:#b3a49e;font-size:10px;margin-top:32px}.task-dialog{width:min(calc(100% - 28px),460px);border:0;border-radius:25px;padding:23px;background:#fffdfb;color:var(--ink);box-shadow:0 20px 80px #332b2a40}.task-dialog::backdrop{background:#332b2a66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:23px}.close-button{border:0;background:#f6eeea;border-radius:50%;width:32px;height:32px;font-size:21px;color:#8b7771}.task-dialog label{display:block;font-size:11px;font-weight:600;margin-bottom:7px}.task-dialog label span{font-weight:400;color:#a69a94}.task-dialog input,.task-dialog textarea,.task-dialog select{width:100%;border:1px solid #eadfda;border-radius:11px;background:#fff;padding:11px 12px;font:12px inherit;color:var(--ink);outline:none;margin-bottom:15px}.task-dialog input:focus,.task-dialog textarea:focus,.task-dialog select:focus{border-color:#cf9297;box-shadow:0 0 0 3px #cf92971c}.task-dialog textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-hint{font-size:10px;color:#9a8c86;line-height:1.45;margin:0 0 15px}.primary-button{width:100%;border:0;border-radius:13px;padding:13px;background:#b96b75;color:#fff;font:600 12px 'DM Sans',sans-serif}.primary-button span{margin-left:5px}@media(min-width:650px){.app-shell{padding-top:36px}.welcome{margin-top:48px}}
