:root{font-family:Inter,"Segoe UI",sans-serif;color:#233b36;background:#f6f7f3;font-synthesis:none;--green:#203e38;--muted:#63716a;--line:#dfe4da}
*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}button,input,select,textarea{font:inherit}
button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #ad6b36;outline-offset:3px}
.sidebar{width:260px;position:fixed;inset:0 auto 0 0;padding:42px 25px;background:#eef1e9;border-right:1px solid var(--line);display:flex;flex-direction:column}
.brand{display:flex;gap:12px;align-items:center;color:var(--green);text-decoration:none;font-size:17px;font-weight:650}.brand small{display:block;font-size:8px;letter-spacing:1.7px;margin-top:7px}.mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--green);color:#fff;font-size:30px;font-family:Georgia,serif}
nav{display:grid;gap:7px;margin-top:58px}nav button{display:flex;justify-content:space-between;border:0;background:transparent;border-radius:8px;text-align:left;padding:14px 15px;color:#53645c;font-size:14px}
nav button[aria-pressed=true]{background:var(--green);color:white}nav button:hover{box-shadow:inset 0 0 0 1px #85998b}.sidebar-note{margin-top:auto;font-size:12px;color:#52685c;line-height:1.7}.sidebar-note p{font-size:13px;max-width:170px}.dot{display:inline-block;border-radius:50%;width:7px;height:7px;background:#80946a;margin-right:6px}
main{margin-left:260px;width:calc(100% - 260px);max-width:1310px;padding:38px 7vw 30px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.tag{font-size:9px;letter-spacing:1.5px;border:1px solid var(--line);border-radius:30px;padding:8px 13px}
.intro{margin:61px 0 34px}.eyebrow{font-size:10px;letter-spacing:2.4px;color:#71816b;font-weight:650}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,4.2vw,58px);font-weight:400;letter-spacing:-1.8px;margin:13px 0 14px}.intro>p:last-child{font-size:15px;color:var(--muted)}
h2{font-size:15px;font-weight:600;margin:0 0 16px}.capture{background:white;border:1px solid var(--line);border-radius:15px;padding:25px;box-shadow:0 6px 18px #233b3603}.capture-row{display:flex;gap:12px}.capture-row input{flex:1;min-width:0;background:#f6f7f3}.capture-row button,form>button{border:0;border-radius:7px;background:var(--green);color:white;padding:12px 20px;white-space:nowrap}.capture-row button span{margin-left:12px}input,textarea,select{width:100%;padding:11px;border:1px solid var(--line);border-radius:6px;background:white;color:#233b36}
details{margin-top:18px}summary{font-size:12px;color:var(--muted);cursor:pointer}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:22px 0}.fields label,dialog label{display:grid;gap:7px;font-size:12px;color:#53645c}.wide{grid-column:1/-1}.hint{font-size:12px;color:var(--muted);line-height:1.7}
.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:26px 0 31px;border-bottom:1px solid var(--line);margin-bottom:29px}.overview>div{display:flex;align-items:center;gap:12px}.overview strong{font-family:Georgia,serif;font-weight:400;font-size:31px}.overview span{font-size:11px;color:var(--muted);max-width:120px}
.list-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.list-head h2{margin:0}.text-button{background:transparent;color:var(--muted);border:0;font-size:12px;padding:8px}
.tasks{display:grid;gap:10px}.task{display:flex;align-items:flex-start;gap:14px;padding:19px;background:white;border:1px solid var(--line);border-radius:10px}.check{display:grid;place-items:center;flex-shrink:0;margin-top:2px;background:white;border:1px solid #aab8a6;border-radius:50%;width:25px;height:25px;color:var(--green)}.task.done .check{background:#e4ebdc}.task.done h3{text-decoration:line-through;color:#738172}.task-body{flex:1;min-width:0}.task h3{font-size:14px;font-weight:550;margin:3px 0 8px;overflow-wrap:anywhere}.meta{display:flex;flex-wrap:wrap;gap:7px}.badge{font-size:10px;color:#667461;padding:4px 7px;border-radius:4px;background:#eef2e9}.badge.urgent{background:#fbecdf;color:#945223}.notes{font-size:12px;line-height:1.6;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.edit{font-size:12px;border:0;background:transparent;color:#657563;padding:7px}.empty{text-align:center;padding:42px 15px;color:var(--muted);border:1px dashed #ced8c8;border-radius:12px}.empty>span{font-size:33px;color:#80926d}.empty h3{font-family:Georgia,serif;font-size:23px;font-weight:400;color:var(--green)}.empty p{font-size:13px}
footer{font-size:11px;color:var(--muted);line-height:1.7;margin-top:40px;max-width:600px}#notice:not(:empty){padding:12px 15px;background:#e8efdf;border-radius:8px;margin:0 0 20px;font-size:13px}#notice.error{background:#fae9df;color:#88401f}dialog{border:1px solid var(--line);border-radius:14px;padding:25px;width:min(600px,calc(100% - 30px));max-height:90vh;color:var(--green)}dialog::backdrop{background:#162b2866}#edit-error{color:#9d3e25;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
@media(min-width:1500px){main{padding-left:110px;padding-right:110px}}
@media(max-width:850px){.sidebar{width:210px;padding:30px 16px}main{margin-left:210px;width:calc(100% - 210px);padding:30px}.brand{font-size:14px}.brand small{font-size:7px}.overview>div{display:block}.overview span{display:block;margin-top:5px}.intro{margin-top:42px}}
@media(max-width:620px){body{display:block}.sidebar{position:static;width:100%;padding:20px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:16px}.brand small{font-size:8px}.mark{width:36px;height:36px;font-size:25px}nav{display:flex;overflow:auto;margin-top:20px;gap:5px;padding-bottom:12px}nav button{white-space:nowrap;padding:10px;font-size:12px}nav button span{display:none}.sidebar-note{display:none}main{margin:0;width:100%;padding:23px 20px}.tag{display:none}.intro{margin:34px 0 26px}h1{font-size:39px}.capture{padding:18px}.capture-row{gap:8px}.capture-row button{padding:11px 14px}.capture-row button span{display:none}.capture-row input{font-size:13px}.overview{gap:10px}.overview span{font-size:10px}.fields{grid-template-columns:1fr}.task{padding:15px;gap:10px}.edit{padding:7px 0}.wide{grid-column:auto}}

.auth-page{display:grid;place-items:center;min-height:100vh;padding:30px 20px}
.auth-card{width:min(100%,510px);margin:0;padding:38px;background:#fff;border:1px solid var(--line);border-radius:18px}
.auth-card .brand{margin-bottom:42px}.auth-card h1{font-size:40px;letter-spacing:-1px}
.auth-card>p{font-size:14px;line-height:1.7;color:var(--muted)}
.auth-card form{display:grid;gap:18px;margin:26px 0}.auth-card label{display:grid;gap:8px;font-size:13px}
.auth-card #login-error,.auth-card #consent-error{color:#9d3e25;font-size:13px;margin:0}
.auth-actions{display:grid;gap:12px;margin-top:25px}.auth-actions button{padding:13px;border:1px solid var(--green);border-radius:7px;background:var(--green);color:#fff}
.auth-actions #deny{background:#fff;color:var(--green)}
.account-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}
@media(max-width:620px){.auth-card{padding:25px}.auth-card h1{font-size:32px}}

.connection-card{padding:20px 0;border-top:1px solid var(--line)}
.connection-card h3{font-size:16px;margin:0 0 10px;overflow-wrap:anywhere}
.connection-card .hint{margin:10px 0}.connection-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}
.connection-actions button,.disconnect-button{padding:12px 16px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--green);min-height:44px}
.connection-actions .danger-button{background:#8a3828;border-color:#8a3828;color:white}
.disconnect-button{color:#8a3828;margin-top:8px}
#disconnect-description{overflow-wrap:anywhere;line-height:1.6}
#disconnect-error{color:#9d3e25}#connections-message{font-size:13px;line-height:1.6}
