:root{--bg:#f7f7f2;--surface:#fff;--ink:#10213a;--muted:#687387;--teal:#0d8d8b;--teal-dark:#087472;--line:#e6e8e7;--amber:#c76a13;--shadow:0 12px 38px rgba(28,43,58,.1);font-family:Inter,ui-rounded,"SF Pro Rounded","SF Pro Display",system-ui,-apple-system,sans-serif;color:var(--ink);background:#dde3e2}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% 0,#f8faf8 0,#dce4e2 58%,#cfd9d7 100%)}button,input,select{font:inherit;color:inherit}button{cursor:pointer}.app-shell{position:relative;width:100%;max-width:480px;min-height:100dvh;margin:0 auto;background:var(--bg);overflow:hidden}.view{display:none;padding:env(safe-area-inset-top,18px) 20px calc(104px + env(safe-area-inset-bottom,0px));min-height:100dvh}.view.is-active{display:block}.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 0 22px}.topbar.compact{padding-bottom:28px}.eyebrow{margin:0 0 6px;text-transform:uppercase;letter-spacing:.11em;font-size:.72rem;font-weight:800;color:var(--teal)}h1{font-size:clamp(1.8rem,7vw,2.25rem);line-height:1.08;margin:0;letter-spacing:-.035em}h2{margin:0;font-size:1.55rem;letter-spacing:-.03em}h3{font-size:1rem;margin:0 0 12px}.avatar,.round-button{border:0;width:44px;height:44px;border-radius:50%;background:#e0efed;color:var(--teal-dark);font-weight:800}.quick-add{width:100%;border:0;border-radius:18px;background:var(--teal);color:#fff;padding:17px 20px;font-weight:800;font-size:1.06rem;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 8px 22px rgba(13,141,139,.24)}.quick-add span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;color:var(--teal);font-size:1.35rem}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 30px}.summary-card{border:1px solid transparent;background:#eef3f2;border-radius:16px;padding:14px 11px;text-align:left;min-height:86px}.summary-card span{display:block;color:var(--muted);font-size:.8rem;font-weight:700;margin-bottom:5px}.summary-card strong{font-size:1.55rem}.summary-card.active{background:#dcefed;border-color:#b6dfda}.summary-card.warning{background:#f9ead8}.summary-card.warning strong{color:var(--amber)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.text-button{border:0;background:transparent;color:var(--teal-dark);font-size:.85rem;font-weight:750;padding:8px 0}.task-list{display:flex;flex-direction:column;gap:10px}.task-card{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:16px 14px;display:grid;grid-template-columns:auto 1fr;gap:12px;text-align:left;box-shadow:0 3px 14px rgba(20,37,50,.035)}.task-card.done{opacity:.58}.task-card.done .task-title{text-decoration:line-through}.check{width:25px;height:25px;border:2px solid #8d98a8;border-radius:50%;background:#fff;flex:none}.check.checked{background:var(--teal);border-color:var(--teal);position:relative}.check.checked:after{content:"✓";position:absolute;inset:0;color:#fff;display:grid;place-items:center;font-size:.75rem;font-weight:900}.task-main{min-width:0}.task-title{font-weight:760;line-height:1.28;display:block;margin-bottom:8px}.task-meta{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:.78rem}.project-label:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--project,#8d7bea);margin-right:5px}.tip-card{display:flex;gap:12px;background:#edf2f0;border-radius:16px;padding:15px;margin-top:22px}.tip-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#d2e9e5;color:var(--teal-dark);font-weight:900}.tip-card strong{font-size:.85rem}.tip-card p{font-size:.75rem;line-height:1.4;color:var(--muted);margin:4px 0 0}.bottom-nav{position:absolute;z-index:20;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);padding:10px 8px calc(9px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.94);border-top:1px solid var(--line);backdrop-filter:blur(18px)}.nav-item{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;color:#687387;padding:3px}.nav-item span{font-size:1.35rem;font-weight:800;line-height:1}.nav-item small{font-size:.7rem}.nav-item.active{color:var(--teal-dark)}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.project-card{border:0;border-radius:20px;min-height:152px;padding:18px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;color:var(--ink)}.project-card span{font-size:1.15rem;font-weight:850}.project-card strong{margin-top:auto;font-size:.9rem}.project-card small{color:var(--muted);margin-top:4px}.project-card.violet{background:#ebe7fa}.project-card.blue{background:#e2eff9}.project-card.green{background:#e3f1e8}.project-card.amber{background:#f8ead7}.settings-list{display:flex;flex-direction:column;gap:10px}.settings-list button{border:1px solid var(--line);background:#fff;border-radius:16px;padding:15px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;text-align:left}.settings-list strong,.settings-list small{display:block}.settings-list small{margin-top:3px;color:var(--muted)}.settings-list b{font-size:1.4rem;color:#8993a0}.backdrop{position:fixed;z-index:40;inset:0;background:rgba(13,29,42,.38);backdrop-filter:blur(2px)}.sheet{position:fixed;z-index:50;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:480px;min-height:min(78dvh,690px);background:#fcfcf9;border-radius:26px 26px 0 0;padding:9px 20px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -18px 50px rgba(12,28,43,.18);animation:slideUp .24s ease}.sheet[hidden],.backdrop[hidden]{display:none}.sheet-handle{width:42px;height:5px;border-radius:10px;background:#cbd0d0;margin:0 auto 8px}.sheet-header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;margin-bottom:15px}.sheet-header button{border:0;background:transparent;font-size:1.65rem}.sheet-header h2{font-size:1.15rem}.title-field input{width:100%;border:0;background:#f0f1ef;border-radius:18px;padding:23px 18px;font-size:1.35rem;font-weight:750;outline:none}.title-field input:focus{box-shadow:0 0 0 3px rgba(13,141,139,.18)}.form-options{margin:18px 0;display:flex;flex-direction:column;gap:10px}.form-options label{display:grid;grid-template-columns:35px 1fr auto;align-items:center;border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px}.form-options select{border:0;background:transparent;color:var(--muted);text-align:right;outline:none}.option-icon{font-size:1.2rem}.violet-dot{color:#8c78db}.primary-button{width:100%;border:0;border-radius:16px;background:var(--teal);color:#fff;padding:16px;font-weight:800;font-size:1rem;margin-top:12px}.detail-sheet{min-height:min(88dvh,790px)}.detail-content{padding:4px 2px}.detail-title-row{display:flex;align-items:flex-start;gap:13px}.detail-title-row h2{font-size:1.6rem;line-height:1.16}.detail-meta{padding:20px 38px 15px;border-bottom:1px solid var(--line)}.detail-meta p{margin:0 0 13px;color:var(--muted)}.notes,.subtasks{padding:18px 0;border-bottom:1px solid var(--line)}.notes p{margin:0;padding:14px;border-radius:13px;background:#f0f1ef;color:#576376;line-height:1.45}.subtasks{display:flex;flex-direction:column;gap:12px}.subtasks h3{margin-bottom:1px}.subtasks label{display:flex;gap:10px}.toast{position:fixed;z-index:70;left:50%;bottom:95px;transform:translate(-50%,20px);background:#13253b;color:#fff;padding:12px 18px;border-radius:999px;font-size:.85rem;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes slideUp{from{transform:translate(-50%,30px);opacity:.7}to{transform:translate(-50%,0);opacity:1}}@media(min-width:700px){body{padding:28px 0}.app-shell{min-height:calc(100dvh - 56px);border-radius:28px;box-shadow:var(--shadow)}.view{min-height:calc(100dvh - 56px)}.bottom-nav{border-radius:0 0 28px 28px}.sheet{bottom:28px;border-radius:26px}.backdrop{background:rgba(13,29,42,.48)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.bottom-nav{position:fixed;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:480px}
.auth-view{min-height:100dvh;padding:clamp(54px,16vh,130px) 24px 40px;display:flex;flex-direction:column;align-items:center;text-align:center}.auth-view[hidden],#app[hidden]{display:none}.auth-view h1{margin:12px 0 8px}.auth-view>p:not(.eyebrow){color:var(--muted);max-width:320px;line-height:1.5}.brand-mark{width:64px;height:64px;border-radius:20px;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:900;box-shadow:0 12px 28px rgba(13,141,139,.25)}.spinner{width:28px;height:28px;border:3px solid #d8e5e2;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite;margin-top:20px}.login-form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:14px;margin-top:24px;text-align:left}.login-form label{font-size:.82rem;font-weight:800}.login-form input{display:block;width:100%;height:52px;margin-top:7px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 14px;font-size:16px;outline:none}.login-form input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,141,139,.14)}.login-form .primary-button{margin-top:4px}.native-link{color:var(--teal-dark);font-size:.84rem;font-weight:700;margin-top:22px}.form-error{background:#fff0ed;color:#a43f2f;border-radius:12px;padding:10px 12px;font-size:.82rem;line-height:1.4;margin:8px 0 0}.empty-state{text-align:center;padding:38px 20px;color:var(--muted)}.empty-state span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#dcefeb;color:var(--teal);font-size:1.4rem;font-weight:900}.empty-state h3{color:var(--ink);margin-bottom:6px}.empty-state p{margin:0;font-size:.84rem}.settings-list a{color:inherit;text-decoration:none}.settings-list a,.settings-list button{border:1px solid var(--line);background:#fff;border-radius:16px;padding:15px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;text-align:left}.primary-button:disabled,.quick-add:disabled{opacity:.55;cursor:wait}@keyframes spin{to{transform:rotate(360deg)}}
