:root{--bg:#f4f5ef;--card:#fff;--ink:#24392e;--muted:#748075;--line:#e3e7dd;--accent:#d6e789;--accent-dark:#39532d;--soft:#edf0e6;--error:#943b32;--radius:20px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #9cab53;outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #9cab53;outline-offset:2px}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:1500px;min-height:100vh;margin:auto;display:grid;grid-template-columns:246px minmax(0,1fr)}.sidebar{padding:38px 23px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:19px;font-weight:650;letter-spacing:-.5px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:5px}.brand-mark{width:43px;height:43px;display:flex;align-items:center;justify-content:center;background:var(--ink);color:var(--accent);border-radius:13px;font-weight:700;font-size:17px;position:relative;letter-spacing:-1px}.brand-mark>span{width:6px;height:6px;background:var(--accent);border-radius:50%;position:absolute;top:7px;right:7px}.navigation{display:flex;flex-direction:column;gap:7px;margin-top:53px}.nav-link{display:flex;align-items:center;gap:13px;border-radius:12px;padding:14px 15px;font-size:14px;color:#728073;transition:background .15s,color .15s}.nav-link:hover{background:#e9ede0}.nav-link.active{background:var(--accent);color:var(--accent-dark);font-weight:600}.nav-count{margin-left:auto;border-radius:6px;background:#ffffff70;min-width:21px;text-align:center;padding:2px 4px;font-size:11px}.sidebar-note{font-size:12px;line-height:1.65;color:var(--muted);margin-top:auto;display:flex;gap:8px;align-items:baseline;padding:0 12px}.small-dot{height:6px;width:6px;min-width:6px;background:#859c59;border-radius:50%}.main-content{padding:28px 48px 24px;min-width:0;max-width:1130px}.topbar{display:flex;justify-content:space-between;align-items:center;height:36px;margin-bottom:32px}.topbar-label{font-size:10px;letter-spacing:1.7px;font-weight:600;color:#879282}.icon-button{display:grid;place-items:center;border:1px solid var(--line);background:transparent;width:36px;height:36px;border-radius:50%;color:#71806d}.icon-button:hover{background:var(--soft)}.page-heading{margin-bottom:27px}.eyebrow{color:#748268;font-size:10px;font-weight:650;letter-spacing:1.6px;text-transform:uppercase;margin:0 0 12px}h1{font-weight:600;letter-spacing:-1.5px;font-size:38px;margin:0 0 11px;line-height:1.14}.page-heading>p:last-child{color:var(--muted);font-size:14px;line-height:1.6;margin:0}h2{font-size:20px;font-weight:600;letter-spacing:-.45px;line-height:1.35;margin:0}h3{font-size:18px;font-weight:600;letter-spacing:-.4px;line-height:1.4;margin:0}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:27px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;color:#69744e}.section-label{font-size:10px;font-weight:650;letter-spacing:1.6px;line-height:1.5;color:#7d876a}.today-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(215px,1fr);gap:20px}.plan-card{background:#eff3e1;border-color:#e2e8d2;min-width:0}.plan-card h2{font-size:24px;margin-bottom:10px}.card-description{font-size:13px;color:#7c856e;line-height:1.7;margin:0 0 18px}.plan-card textarea{background:#fff9;border-color:#dfe5d2;min-height:175px;font-size:14px;line-height:1.8;padding:15px}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px}.form-note{font-size:11px;line-height:1.6;color:var(--muted)}.button{border:0;border-radius:10px;min-height:42px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button.primary{background:var(--ink);color:#fff}.button.primary:hover{background:#395342}.button.primary .icon{width:16px;height:16px}.button.secondary{background:var(--soft);color:var(--ink)}.button.secondary:hover{background:#e3e9d9}.button:active{transform:translateY(1px)}.today-side{display:flex;flex-direction:column;gap:20px}.compact-card{padding:24px}.stats-row{display:flex;gap:15px;align-items:center;margin:16px 0 17px}.stat-number{font-size:48px;font-weight:550;letter-spacing:-2px;line-height:1.1}.stats-row>div>span{font-size:13px}.stats-row p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.5}.text-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:550;color:#547047}.text-link:hover{color:var(--ink)}.text-link .icon{width:15px;height:15px}.context-card{flex:1;background:#fffef8}.context-card h3{margin:15px 0 10px}.context-card p{font-size:12px;line-height:1.75;color:var(--muted);margin:0 0 16px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:32px 0 16px}.section-heading h2{font-size:18px}.task-list{display:grid;gap:10px}.task-item{display:flex;align-items:flex-start;gap:13px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px 19px}.task-check{width:24px;height:24px;min-width:24px;padding:0;border:1.5px solid #c5cebf;border-radius:8px;background:transparent;display:grid;place-items:center;color:white;margin-top:1px}.task-check:hover{border-color:#637854;background:#f1f5e8}.task-check.done{border-color:#779c5b;background:#779c5b}.task-check .icon{height:16px;width:16px}.task-main{min-width:0;flex:1}.task-title{font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere}.task-item.is-done .task-title{text-decoration:line-through;color:#7d897b}.task-item.is-cancelled .task-title{color:#889182}.task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:10px;line-height:1.7;color:#85907e;margin-top:5px}.task-direction{padding:1px 7px;background:#f0f3e9;border-radius:5px;color:#70815f}.task-due.overdue{color:#a3563b}.task-source{overflow-wrap:anywhere}.task-status{padding:5px 7px;max-width:137px;width:auto;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:10px;color:#7b8772;min-height:29px;flex-shrink:0;margin-top:0}.empty-state{border:1px dashed #d8dfcd;border-radius:16px;padding:31px 24px;color:var(--muted);background:#f9faf5;text-align:center}.empty-state>svg{width:28px;height:28px;color:#8b9c71;margin-bottom:9px}.empty-state h3{font-size:15px;margin:0 0 8px;color:#64775b}.empty-state p{font-size:12px;line-height:1.75;margin:0 auto;max-width:400px}.empty-state .button{margin-top:17px}.profile-card{padding:29px}.in-card{margin:0 0 23px}.prose{font-size:14px;line-height:1.8;overflow-wrap:anywhere;max-width:740px}.prose h2{font-size:22px;line-height:1.4;margin:27px 0 12px}.prose h3{font-size:17px;margin:24px 0 10px}.prose h4{font-size:14px;margin:20px 0 8px}.prose p{margin:0 0 13px;white-space:pre-wrap;color:#67745f}.prose ul{padding-left:21px;color:#67745f}.prose li{margin-bottom:6px}.prose>:first-child{margin-top:0}label{display:block;font-size:12px;font-weight:550;margin:0 0 9px;color:#65765a}input,select,textarea{width:100%;border:1px solid #dfe4d8;border-radius:10px;background:#fbfcf8;padding:12px 13px;color:var(--ink);font-size:13px}textarea{resize:vertical;min-height:120px;line-height:1.75}input::placeholder,textarea::placeholder{color:#97a18e}select{min-height:43px}#profile-text{min-height:360px;font-family:"Cascadia Code",Consolas,monospace;font-size:12px}.button-group{display:flex;gap:8px}.directions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.direction-card{position:relative;overflow:hidden;min-height:182px;display:flex;flex-direction:column}.direction-index{font-size:11px;color:#8a987c;margin-bottom:18px}.direction-card h2{font-size:22px}.direction-card p{font-size:13px;line-height:1.75;color:var(--muted);margin:10px 0 20px;overflow-wrap:anywhere}.direction-card .direction-count{font-size:11px;color:#748367;margin-top:auto;display:flex;align-items:center;gap:6px}.direction-card:nth-child(4n+1){background:#eff3e1}.direction-card:nth-child(4n+2){background:#fffdf3}.direction-card:nth-child(4n+3){background:#edf3ee}.task-compose{padding:24px}.task-title-row{display:flex;gap:10px}.task-title-row input{flex:1;min-width:0}.task-title-row .button{font-size:13px}.task-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.field{min-width:0}.field label{font-size:11px}.optional{font-weight:400;color:#939c89;font-size:10px}.tasks-toolbar{flex-wrap:wrap}.filter-group{display:flex;gap:3px;padding:3px;border-radius:9px;background:#e9ede1}.filter-button{border:0;border-radius:7px;background:transparent;padding:8px 11px;font-size:11px;color:#7b8971}.filter-button.active{background:white;box-shadow:0 1px 3px #263d2a0b;color:var(--ink)}.sources-list{display:grid;gap:12px}.source-card{display:flex;align-items:center;gap:16px;padding:20px 23px}.source-icon{width:41px;height:41px;flex-shrink:0;display:grid;place-items:center;background:#eef2e5;border-radius:12px;color:#819368}.source-detail{flex:1;min-width:0}.source-detail h3{font-size:14px;overflow-wrap:anywhere}.source-detail p{font-size:11px;color:#8a9580;margin:6px 0 0}.source-date{font-size:10px;color:#87917f;flex-shrink:0;text-align:right;max-width:150px;line-height:1.6}.connection-card{margin-top:22px;max-width:540px}.connection-card h2{font-size:17px;margin-bottom:18px}.connection-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 0;font-size:13px}.connection-status{font-size:11px;color:#8a9582}.connection-status.connected{color:#63884d}.connection-card>.form-note{margin:6px 0 0}.page-footer{display:flex;gap:16px;color:#8d9883;border-top:1px solid var(--line);padding-top:20px;margin-top:39px;font-size:10px}.page-footer>span{color:#a3ac99}.notice{border:1px solid #d1dfc5;border-radius:12px;padding:13px 16px;font-size:12px;line-height:1.7;background:#edf6e8;color:#496c39;margin-bottom:20px;overflow-wrap:anywhere}.notice.error{border-color:#e7c8bf;background:#fff2ee;color:var(--error)}.loading{display:flex;align-items:center;justify-content:center;gap:11px;min-height:290px;color:var(--muted);font-size:13px}.loading-dot{width:9px;height:9px;border-radius:50%;background:#9bb462;animation:pulse 1.4s ease-in-out infinite}.load-error{padding:50px 0;max-width:490px}.load-error h1{font-size:27px}.load-error p{color:var(--muted);font-size:14px;line-height:1.75;margin:17px 0 24px}.visually-hidden{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@keyframes pulse{50%{opacity:.35}}@media(min-width:1350px){.main-content{padding-left:63px;padding-right:63px}}@media(max-width:1060px){.app-shell{grid-template-columns:216px minmax(0,1fr)}.main-content{padding:26px 29px}.sidebar{padding:35px 17px}.today-grid{grid-template-columns:1fr}.today-side{display:grid;grid-template-columns:1fr 1fr}.plan-card textarea{min-height:155px}.compact-card{padding:22px}.context-card h3{font-size:16px}.task-options{gap:12px}}
@media(max-width:700px){.app-shell{display:block}.sidebar{position:static;height:auto;border:0;padding:24px 22px 0}.brand{font-size:18px;gap:11px}.brand-mark{height:38px;width:38px;border-radius:11px;font-size:15px}.brand small{font-size:10px;margin-top:3px}.sidebar-note{display:none}.navigation{position:fixed;bottom:0;left:0;right:0;z-index:20;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:9px max(5px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e1e7d6;background:#f9fbf5f5;backdrop-filter:blur(18px)}.nav-link{flex-direction:column;justify-content:center;gap:5px;padding:7px 2px;font-size:9px;border-radius:11px;position:relative}.nav-link .icon{width:19px;height:19px}.nav-link.active{background:#e7edcf}.nav-count{position:absolute;top:0;right:calc(50% - 23px);font-size:8px;background:#d1dfa5;padding:1px 3px;min-width:14px}.main-content{padding:20px 20px calc(91px + env(safe-area-inset-bottom));max-width:none}.topbar{height:30px;margin-bottom:27px;position:relative}.topbar-label{font-size:8px;letter-spacing:1.4px}.icon-button{position:absolute;right:0;top:-57px;width:34px;height:34px}.page-heading{margin-bottom:23px}h1{font-size:34px;letter-spacing:-1.2px}.page-heading>p:last-child{font-size:12px}.eyebrow{font-size:9px;margin-bottom:10px}.card{border-radius:17px;padding:22px}.today-grid{gap:14px}.card-heading{margin-bottom:17px}.plan-card h2{font-size:22px}.card-description{font-size:12px}.plan-card textarea{min-height:174px;font-size:13px}.plan-card .form-footer{align-items:center;gap:9px}.plan-card .form-note{font-size:9px;max-width:135px}.plan-card .button{font-size:11px;padding:11px 12px;gap:7px}.today-side{gap:13px}.compact-card{padding:17px}.section-label{font-size:8px;letter-spacing:1.2px}.stat-number{font-size:38px}.stats-row{gap:9px;margin:15px 0}.stats-row>div>span{font-size:10px}.stats-row p{font-size:9px}.compact-card .text-link{font-size:10px;gap:5px}.context-card h3{font-size:14px;margin:13px 0 8px}.context-card p{font-size:10px;line-height:1.7;margin-bottom:12px}.section-heading{margin-top:25px}.section-heading h2{font-size:16px}.section-heading .text-link{font-size:10px}.task-item{padding:15px 13px;gap:10px;flex-wrap:wrap}.task-title{font-size:13px}.task-check{width:23px;min-width:23px;height:23px}.task-meta{font-size:9px;gap:5px 7px}.task-status{font-size:9px;max-width:111px;padding:5px;width:auto}.task-item .task-main{flex-basis:calc(100% - 33px)}.task-item .task-status{margin-left:33px;min-height:29px;margin-top:2px}.task-item.compact .task-main{flex-basis:0}.task-item.compact .task-status{display:none}.prose{font-size:13px}.prose h2{font-size:20px}.prose h3{font-size:16px}.in-card{margin-top:0}.in-card .button{font-size:10px;padding:9px 11px;min-height:35px}.profile-card .form-footer{flex-direction:column;align-items:stretch}.profile-card .button-group{justify-content:flex-end}.directions-grid{grid-template-columns:1fr;gap:13px}.direction-card{min-height:160px}.direction-index{margin-bottom:13px}.direction-card h2{font-size:21px}.direction-card p{font-size:12px}.task-compose{padding:18px}.task-title-row{gap:8px}.task-title-row input{font-size:12px;padding:11px}.task-title-row .button{font-size:11px;padding:10px}.task-title-row .button .icon{width:14px;height:14px}.task-options{grid-template-columns:1fr;gap:14px;margin-top:15px}.tasks-toolbar{gap:14px}.filter-group{width:100%;justify-content:space-between}.filter-button{flex:1}.source-card{padding:16px;gap:11px;flex-wrap:wrap}.source-icon{height:35px;width:35px;border-radius:10px}.source-detail h3{font-size:12px}.source-detail p{font-size:10px}.source-date{margin-left:46px;max-width:none;text-align:left;font-size:9px}.page-footer{font-size:9px;gap:11px;margin-top:30px}.notice{font-size:11px}.empty-state{padding:26px 18px}.load-error h1{font-size:25px}}
@media(max-width:370px){.main-content{padding-left:14px;padding-right:14px}.sidebar{padding-left:16px}.today-side{grid-template-columns:1fr}.stats-row>div>span{font-size:12px}.stats-row p{font-size:10px}.context-card h3{font-size:16px}.context-card p{font-size:12px}.compact-card .text-link{font-size:11px}.plan-card .form-footer{align-items:flex-end;flex-direction:column}.plan-card .form-note{max-width:none;align-self:flex-start}.task-title-row .button>span{display:none}.task-title-row .button{width:42px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.telegram-setup{margin-top:22px;border-top:1px solid var(--line);padding-top:21px}.telegram-setup h3{font-size:16px;margin-bottom:16px}.telegram-setup form{display:flex;flex-wrap:wrap;gap:10px}.telegram-setup form label{width:100%;margin:0}.telegram-setup input{flex:1;min-width:130px}.telegram-setup>.form-note{margin:12px 0}.telegram-setup .setup-error{color:var(--error)}.telegram-setup #telegram-setup-waiting{margin-top:15px}.telegram-setup #telegram-setup-waiting>.form-note{margin-bottom:0}
.chatgpt-setup{margin-top:22px;padding-top:21px;border-top:1px solid var(--line)}.chatgpt-setup h3{font-size:16px;margin-bottom:8px}.chatgpt-setup>.form-note{margin:9px 0 14px}.chatgpt-button{border:1px solid #d8ddd3;background:#fff;color:#17271c;min-height:44px;font-size:12px;padding:11px 17px}.chatgpt-button:hover{background:#f4f7ef}.chatgpt-account{font-size:11px;color:#65795a;line-height:1.6;overflow-wrap:anywhere;margin:0 0 17px}.chatgpt-setup .setup-error{color:var(--error)}.chatgpt-setup form{margin-top:17px}.chatgpt-setup form>.form-note{margin-bottom:0}
.current-card{margin-top:20px}.field-note{font-size:10px;line-height:1.6;color:var(--muted);margin:8px 0 0}.source-entry{padding:0;overflow:hidden}.source-toggle{flex-shrink:0;border:0;background:var(--soft);color:#5d7650;border-radius:8px;padding:9px 11px;min-height:34px;font-size:10px;white-space:nowrap}.source-toggle:hover{background:#e2e9d6}.source-content{padding:21px 23px;border-top:1px solid var(--line);background:#fafbf6}.source-text{margin:0;font:inherit;font-size:12px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#63745a}.source-text:empty{display:none}@media(max-width:700px){.source-toggle{margin-left:auto;font-size:9px;min-height:31px}.source-content{padding:17px}.source-text{font-size:11px;line-height:1.8}.current-card{margin-top:14px}.field-note{font-size:9px}}
