:root{font-family:Inter,"Noto Sans",sans-serif;color:#23332f;background:#f7f8f4;font-size:15px;--green:#20675b;--muted:#687971;--line:#dfe6df}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid var(--line);background:white;color:#294139;padding:10px 15px;border-radius:8px;text-decoration:none;font-size:14px}button:hover,.button:hover{background:#edf3ed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9ec8ad;outline-offset:2px}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#185448}button:disabled{opacity:.5;cursor:wait}input,textarea,select{background:white;border:1px solid #cbd6cf;border-radius:7px;padding:11px;width:100%;color:inherit}textarea{resize:vertical;line-height:1.6}label{display:block;font-size:13px;font-weight:600}label input,label textarea,label select{margin-top:7px}aside{background:#eef2eb;width:245px;flex-shrink:0;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;font-size:20px;font-weight:700;margin:0 5px 40px}.brand small{display:block;font-size:10px;letter-spacing:.3px;font-weight:500;color:var(--muted);margin-top:4px}nav{display:flex;flex-direction:column;gap:5px}nav button{display:flex;justify-content:space-between;border:0;background:transparent;text-align:left;padding:13px 14px}nav button.active{background:#d7e7db;color:#1d574a;font-weight:700}nav .section{font-size:10px;letter-spacing:1.7px;color:var(--muted);margin:24px 14px 8px}.count{font-size:12px;color:var(--muted);background:#ffffff77;padding:1px 7px;border-radius:7px}.aside-bottom{margin-top:auto;padding-top:30px}.aside-bottom button{width:100%}.aside-bottom small{font-size:10px;display:block;color:var(--muted);line-height:1.6;overflow-wrap:anywhere;margin-top:13px}main{max-width:1300px;padding:48px 48px 20px;flex:1;min-width:0}header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--green)}h1{font-size:34px;letter-spacing:-1px;line-height:1.15;margin:12px 0}h2{font-size:21px;margin:0}p{line-height:1.65}header p{margin:0;color:var(--muted);font-size:14px}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.toolbar>input{flex:1;min-width:100px}.check{display:flex;align-items:center;white-space:nowrap;gap:6px;font-size:12px;color:var(--muted)}.check input{width:auto;margin:0}#status{font-size:12px;color:var(--muted);min-height:24px;margin:5px 0 16px}#status.error{color:#985728;cursor:pointer}.task-list{border:1px solid var(--line);background:white;border-radius:13px;overflow:hidden}.task{display:flex;align-items:center;gap:13px;padding:20px;border-bottom:1px solid #e9eee8}.task:last-child{border:0}.task input[type=checkbox]{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}.task-main{flex:1;min-width:0;cursor:pointer}.task-title{line-height:1.5;overflow-wrap:anywhere}.task.done .task-title{text-decoration:line-through;color:var(--muted)}.meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px;font-size:11px;color:var(--muted)}.tag{background:#eef3ed;border-radius:4px;padding:3px 7px}.tag.due{background:#f7ebd7;color:#916629}.tag.priority{background:#e6eee9;color:#20675b}.task .edit{font-size:12px;border:0;color:var(--green);background:#f1f5ee}.empty{padding:65px 25px;border:1px dashed #cbd8ce;text-align:center;border-radius:13px;color:var(--muted)}.empty strong{display:block;color:#334f41;font-size:20px;margin-bottom:12px}footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;letter-spacing:.4px;padding:24px 0}.calendar-nav{display:flex;gap:10px;align-items:center;margin-bottom:15px}.calendar-nav strong{flex:1}.calendar{background:white;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);margin-bottom:25px}.day-name{font-size:11px;text-align:center;padding:10px;color:var(--muted);border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.day{min-height:104px;border:0;border-radius:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:9px;background:white;font-size:12px}.day.today{box-shadow:inset 0 0 0 2px #649581;background:#f2f7f1}.day.blank{background:#f7f9f5}.event{display:block;background:#e2eee4;color:#1c5749;font-size:10px;padding:4px;margin-top:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border-radius:3px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.card{background:white;padding:23px;border-radius:12px;border:1px solid var(--line)}.card strong{font-size:26px;display:block;color:var(--green);margin-bottom:10px}.card p{color:var(--muted);font-size:13px}.reference{padding:28px;white-space:pre-wrap;line-height:1.8;background:white;border-radius:12px;border:1px solid var(--line);overflow-wrap:anywhere}dialog{color:inherit;border:1px solid var(--line);border-radius:14px;padding:26px;width:min(540px,95vw);max-height:92vh;box-shadow:0 20px 90px #102a2838}dialog.wide{width:min(880px,95vw)}dialog::backdrop{background:#173d334f}dialog label{margin:15px 0}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.dialog-heading button{border:0;font-size:23px;padding:2px 10px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.hint{font-size:12px;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.connection-path{font:12px monospace;overflow-wrap:anywhere}#file-text{font:13px/1.8 monospace}hr{border:0;border-top:1px solid var(--line);margin:24px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 23px;border-radius:9px;background:#203f36;color:white;z-index:20;max-width:90vw}
@media(max-width:900px){main{padding:30px 24px}aside{width:205px;padding:25px 12px}.toolbar{flex-wrap:wrap}.toolbar>input{flex-basis:100%}.day{min-height:80px;padding:5px}.event{font-size:9px}h1{font-size:29px}}@media(max-width:620px){body{display:block}aside{position:relative;width:auto;height:auto;padding:18px}.brand{margin:0 0 15px}.brand small{display:none}nav{flex-direction:row;overflow:auto}nav button{flex-shrink:0;padding:9px 12px}nav .section,.aside-bottom{display:none}main{padding:25px 17px}header{align-items:flex-start}header>button{font-size:12px;white-space:nowrap}header p{font-size:12px}.toolbar{gap:7px}.task{padding:15px 12px}.task .edit{padding:8px}.two{gap:10px}.cards{grid-template-columns:1fr}.calendar{font-size:10px}.day{min-height:67px}.event{font-size:8px}.calendar-nav button{padding:8px}footer span:last-child{display:none}}
