:root{--bg:#f4f7fb;--paper:#fff;--ink:#1b304a;--muted:#64748b;--line:#e2e9f1;--accent:#3869dd;--soft:#eaf0f8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,sans-serif}main{max-width:680px;margin:auto;padding:24px 22px 112px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:38px}.brand{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1px}.mark{display:grid;place-items:center;background:var(--ink);color:white;width:31px;height:31px;border-radius:10px}.tag{font-size:11px;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.4px;color:var(--accent);text-transform:uppercase;font-weight:650}h1{font-size:38px;line-height:1.15;letter-spacing:-1.4px;margin:10px 0 12px}h2{font-size:17px;margin:0}.intro{font-size:14px;color:var(--muted);margin:0}.stats{display:flex;margin:25px 0;border-bottom:1px solid var(--line);padding-bottom:22px}.stats div{flex:1;border-right:1px solid var(--line);padding-left:18px}.stats div:first-child{padding-left:0}.stats div:last-child{border:none}.stats strong{display:block;font-size:30px;font-weight:500}.stats span{color:var(--muted);font-size:12px}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:var(--soft);color:var(--ink);border-radius:12px;min-height:44px;padding:10px 14px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #8bb0ff;outline-offset:3px}.primary{background:var(--accent);color:white;font-weight:600;width:100%;min-height:49px}.add{text-align:left;padding:15px 18px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px}.text-button{font-size:12px;background:transparent;color:var(--accent);padding-right:0}.task{display:flex;gap:12px;width:100%;text-align:left;background:var(--paper);border:1px solid var(--line);padding:16px;margin:9px 0;border-radius:16px}.task .circle{width:23px;height:23px;border:1px solid #bdcce0;border-radius:8px;flex-shrink:0;margin-top:3px;display:grid;place-items:center;color:var(--accent)}.task .body{min-width:0}.task b{display:block;font-weight:600;overflow-wrap:anywhere}.task small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.task.overdue small{color:#ac4c30}.task .arrow{margin-left:auto;align-self:center;color:#8e9db0}.empty{padding:32px 22px;border:1px dashed #bccbdd;border-radius:18px;background:#ffffff80;color:var(--muted);text-align:center}.empty strong{display:block;color:var(--ink);font-size:18px;margin-bottom:8px}.footnote{font-size:11px;color:var(--muted);margin:20px 0}nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;border-top:1px solid var(--line);background:var(--paper);padding:8px 10px max(10px,env(safe-area-inset-bottom));z-index:2}nav button{width:150px;max-width:33%;background:transparent;color:var(--muted);font-size:11px;display:flex;flex-direction:column;align-items:center;gap:3px}nav button span{font-size:23px;line-height:1.1}nav button.selected{color:var(--accent);background:#f0f4fd}.help-card{background:white;border:1px solid var(--line);padding:22px;border-radius:18px;margin:26px 0}.help-card p{font-size:14px;color:var(--muted)}dialog{width:calc(100% - 28px);max-width:520px;max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:22px;color:var(--ink);background:white}dialog::backdrop{background:#14243c70}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.dialog-top button{font-size:24px;background:none}label{display:block;font-size:12px;color:var(--muted);margin:15px 0}input:not([type=checkbox]),textarea,select{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #cdd8e5;border-radius:10px;color:var(--ink);background:#fbfcfe;min-width:0}textarea{resize:vertical}.check{display:flex;align-items:center;gap:10px;font-size:14px}.check input{width:19px;height:19px}.actions{display:flex;gap:10px;margin-top:12px}.actions button{flex:1;font-size:13px}#cancel-task{background:#fff3ee;color:#98412d}#notice:not(:empty){background:#fff0df;color:#794512;padding:12px;border-radius:12px;font-size:13px;margin:0 0 18px}#form-error{color:#a53333;font-size:13px}[hidden]{display:none!important}@media(min-width:700px){main{padding-top:40px}header{margin-bottom:45px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,transform .12s}button:active{transform:translateY(1px)}}

nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
