@import url('/assets/fonts.css');
:root{--ink:#203128;--muted:#849088;--line:#e7ebe5;--paper:#fff;--bg:#f7f8f5;--green:#d4f59a;--dark:#17271f;--red:#c64c47;--blue:#567dba;--radius:18px;--shadow:0 12px 40px #17271f0a;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button{color:inherit}button,a{touch-action:manipulation}button{border:0;background:none}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;letter-spacing:-.04em}h1{font-size:38px;font-weight:650}h2{font-size:24px;font-weight:600}h3{font-size:18px}input,textarea,select{border:1px solid #dce3d9;border-radius:11px;background:white;color:var(--ink);outline:none;min-width:0}input,select{height:46px;padding:0 13px}textarea{width:100%;padding:12px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:#7f9d6d;box-shadow:0 0 0 3px #d4f59a50}input::placeholder,textarea::placeholder{color:#a0a79f}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #81ac57;outline-offset:3px}label{font-size:13px;font-weight:550;display:block;margin:16px 0 7px}input[type=checkbox]{accent-color:#547e35;width:18px;height:18px}button svg{pointer-events:none}[hidden]{display:none!important}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:650;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border-radius:11px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:#20351d}.primary:hover{background:#c5ea85}.quiet{background:#f0f3ed;color:#5e6d61}.quiet:hover{background:#e7ede0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;min-height:40px;border-radius:10px;flex-shrink:0}.icon-button:hover{background:#eef2e9}.text-button{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;min-height:40px;color:#5b7846}.text-button:hover{color:#2d5121}.status-dot{width:6px;height:6px;border-radius:50%;background:#89b461;display:inline-block;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:650;letter-spacing:-1.5px}.brand-mark{width:38px;height:38px;background:var(--green);color:#20351d;display:inline-flex;align-items:center;justify-content:center;font-size:36px;font-weight:750;font-family:Georgia,serif;font-style:italic;line-height:1;border-radius:12px;padding-bottom:4px}.brand-mark span{font-size:30px;margin-left:-4px;margin-top:10px}.brand-dot{color:var(--green)}.boot{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;color:var(--muted)}.boot .brand-mark{animation:breathe 1.5s ease-in-out infinite}@keyframes breathe{50%{transform:scale(1.08);opacity:.65}}
/* Sign-in */
.login-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:var(--dark);color:#f3f5ed;padding:48px 64px;display:flex;flex-direction:column;min-height:100dvh;position:relative;overflow:hidden}.login-story:after{content:'';width:440px;height:440px;border:1px solid #d4f59a15;border-radius:50%;position:absolute;bottom:-240px;right:-180px;box-shadow:0 0 0 60px #d4f59a05,0 0 0 120px #d4f59a03;pointer-events:none}.story-content{margin:auto 0;padding:72px 0}.story-content .eyebrow{color:#9dae91}.story-content h1{font-size:clamp(36px,3.6vw,58px);line-height:1.12;font-weight:550;letter-spacing:-.05em;margin:24px 0}.story-content h1 em{color:var(--green);font-style:normal}.story-content p{font-size:16px;line-height:1.8;color:#9eafa3}.story-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}.story-chips span{border:1px solid #ffffff14;border-radius:20px;padding:9px 14px;color:#bfccbe;font-size:12px}.story-footer{display:flex;align-items:center;gap:9px;font-size:11px;color:#839a87}.login-panel{display:flex;align-items:center;justify-content:center;padding:48px}.login-box{width:100%;max-width:340px}.login-lock{width:50px;height:50px;border-radius:16px;background:#f0f5e8;display:grid;place-items:center;margin-bottom:30px;color:#64834c}.login-box h2{font-size:30px;margin:10px 0}.login-box .muted{margin-bottom:28px}.login-box input{width:100%;height:50px}.password-field{position:relative}.password-field input{padding-right:48px}.password-field .icon-button{position:absolute;right:5px;top:5px;color:#7f8c7b}.login-submit{width:100%;margin-top:24px;height:50px;justify-content:space-between}.login-security{font-size:10px;color:#929c91;display:flex;align-items:center;gap:7px;margin-top:26px}.login-security svg{width:15px;height:15px}
/* Workspace shell */
.app{min-height:100dvh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:230px;background:var(--dark);color:#ced9ce;padding:32px 20px 20px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:0 12px;color:white}.space-label{font-size:9px;letter-spacing:.14em;color:#718779;padding:0 14px;margin:48px 0 14px;font-weight:650}.category-label{margin-top:34px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;min-height:48px;border-radius:11px;font-size:13px;font-weight:500;color:#9eb1a2;text-align:left}.nav-item.active{background:var(--green);color:#23371b}.nav-item:not(.active):hover{background:#ffffff07;color:white}.nav-count{margin-left:auto;background:#0000000d;padding:1px 7px;font-size:11px;border-radius:6px}.category-nav{display:flex;flex-direction:column;gap:4px}.category-item{display:flex;align-items:center;gap:12px;padding:11px 14px;min-height:43px;border-radius:9px;font-size:12px;text-align:left;color:#91a695}.category-item.active{color:#edf2e7;background:#ffffff07}.category-item span:last-child:not(:first-child){margin-left:auto;font-size:11px}.category-dot{width:13px;height:13px;border-radius:4px;border:1.5px solid #a6bd99}.sidebar-bottom{margin-top:auto;padding-top:36px}.telegram-link{display:flex;align-items:center;gap:10px;margin:0 10px 25px;font-size:11px;color:#9bae9d;min-height:44px}.telegram-link svg:last-child{margin-left:auto;width:14px}.account-button{border-top:1px solid #ffffff0d;display:flex;align-items:center;gap:10px;width:100%;padding:22px 3px 0;text-align:left}.avatar{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#eef3e9;color:#526d3b;border-radius:50%;font-weight:650;flex-shrink:0}.account-button strong{display:block;color:#d5dfd1;font-size:12px;max-width:110px;overflow:hidden;text-overflow:ellipsis}.account-button small{display:block;font-size:9px;color:#7e9684;margin-top:4px}.account-button>svg{margin-left:auto;width:16px;color:#829786}.main{margin-left:230px}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid var(--line);background:#ffffffaa;gap:20px}.search-wrap{display:flex;align-items:center;gap:10px;width:300px;color:#8a9787}.search-wrap input{border:0;background:transparent;box-shadow:none;width:100%;padding:0;font-size:12px;height:42px}.search-wrap svg{width:17px}.search-wrap kbd{font:11px inherit;border:1px solid #e0e6dc;padding:2px 7px;border-radius:5px;color:#a1ac9d}.sync-status{display:flex;align-items:center;gap:8px;font-size:10px;color:#8b9886}.sync-status.offline{color:#bc7061}.sync-status.offline .status-dot{background:#bc7061}.content{padding:38px 44px 0;max-width:1530px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.date-eyebrow{font-size:11px;color:#8b9786;display:flex;gap:12px;align-items:center;margin-bottom:13px}.timezone{font-size:9px;letter-spacing:.04em;border-left:1px solid #d9e0d4;padding-left:12px}.page-heading h1 span{color:#93b764}.page-heading p{color:#96a08f;font-size:12px;margin-top:9px}.mobile-brand,.mobile-account,.mobile-categories,.mobile-nav{display:none}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:32px}.stat-card{background:white;display:flex;gap:13px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:21px 18px;text-align:left;position:relative;transition:transform .15s,border-color .15s}.stat-card:hover{transform:translateY(-2px);border-color:#cad7bd}.today-stat{background:#edf4e2;border-color:#e3ecd6}.stat-icon{width:39px;height:39px;display:grid;place-items:center;background:#f4f6f0;border-radius:12px;color:#869374}.today-stat .stat-icon{background:#deebc9;color:#668742}.overdue-icon{color:#bf8a72;background:#fbf2ed}.stat-label{display:block;font-size:10px;color:#8c9785;white-space:nowrap}.stat-card strong{display:block;font-size:26px;line-height:1.2;letter-spacing:-1px;margin-top:5px;font-weight:600}.stat-arrow{width:15px;position:absolute;right:13px;top:13px;color:#9aaf84}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.filters{display:flex;gap:4px;overflow:auto;scrollbar-width:none;padding:2px}.filters button{font-size:11px;color:#8a9683;padding:9px 12px;border-radius:8px;white-space:nowrap;min-height:40px}.filters button.active{background:#e9eee2;color:#415c30;font-weight:600}.filters button:hover:not(.active){background:#eef1e9}.sort-label{display:flex;align-items:center;gap:5px;margin:0;color:#87927f;flex-shrink:0}.sort-label svg{width:15px}.sort-label select{background:transparent;border:0;box-shadow:none;font-size:10px;color:#819076;padding:0 3px;height:36px}.category-section{margin-bottom:24px;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 2px 6px #17271f02}.category-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px;border-bottom:1px solid #edf0e9;background:#fdfefb}.category-header h2{font-size:14px;letter-spacing:-.02em;display:flex;gap:9px;align-items:center}.category-header .count{font-size:10px;background:#eff3e9;color:#99a58f;min-width:22px;text-align:center;border-radius:6px;padding:2px 6px;margin-left:2px}.category-header>.icon-button{width:28px;min-height:28px;color:#87997a}.category-header>.icon-button svg{width:17px}.task-row{display:flex;align-items:center;gap:14px;padding:17px 22px;border-bottom:1px solid #f0f2ed;position:relative;transition:background .15s}.task-row:last-child{border-bottom:0}.task-row:hover{background:#fbfcf8}.task-check{border:1.5px solid #dce4d6;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;flex-shrink:0;position:relative;padding:0}.task-check:before{content:'';position:absolute;inset:-11px}.task-check svg{width:14px;height:14px;opacity:0}.task-check:hover{border-color:#8aa56d;background:#f4f8ed}.task-row.done .task-check{background:#dcebc9;border-color:#dcebc9;color:#69834d}.task-row.done .task-check svg{opacity:1}.task-main{display:block;text-align:left;flex:1;min-width:0;padding:0}.task-title{font-size:13px;font-weight:500;line-height:1.6;display:block;overflow-wrap:anywhere}.task-row.done .task-title{text-decoration:line-through;color:#a2ad99}.task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;font-size:10px;color:#9da694;margin-top:6px}.task-meta>span{display:inline-flex;align-items:center;gap:4px}.task-meta svg{width:12px;height:12px}.task-meta .overdue{color:#c67962}.task-meta .urgent-label{color:#be8071}.task-category-dot{width:6px;height:6px;border-radius:50%;background:#7598c3}.task-category-dot.personal{background:#b497c8}.task-end{color:#c2cbb9;display:flex;align-items:center;gap:14px;font-size:9px}.task-end svg{width:14px}.urgent-point{width:6px;height:6px;background:#d97d69;border-radius:50%}.empty-category{padding:28px 22px;color:#a0aa95;font-size:11px;display:flex;align-items:center;gap:8px}.empty-category svg{width:15px}.empty-state{padding:65px 25px;text-align:center;color:#8f9b83;background:#fff;border:1px dashed #dbe3d3;border-radius:16px}.empty-state>svg{width:38px;height:38px;margin-bottom:16px;color:#aabc99}.empty-state h3{color:#677c54;margin-bottom:8px}.empty-state .button{margin-top:20px}.main-footer{display:flex;align-items:center;justify-content:center;gap:8px;font-size:9px;color:#a4af9b;padding:30px 0}
/* Calendar */
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:5px 0 24px}.month-heading{display:flex;align-items:center;gap:12px}.month-heading h2{font-size:19px;text-transform:capitalize;white-space:nowrap}.month-heading .quiet{padding:8px 12px;font-size:10px;min-height:34px}.month-arrows{display:flex;gap:3px}.month-arrows .icon-button{width:32px;min-height:34px;background:white;border:1px solid var(--line)}.calendar-modes{display:flex;background:#edf1e7;border-radius:9px;padding:3px;gap:2px}.calendar-modes button{min-height:34px;padding:7px 12px;font-size:10px;color:#87967a;border-radius:7px}.calendar-modes .active{background:white;color:#415b30;box-shadow:0 2px 5px #1b35220a}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start}.calendar-body{min-width:0}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.weekday{padding:14px 2px;font-size:10px;text-align:center;font-weight:500;color:#9aa58e;border-bottom:1px solid var(--line);background:#fcfdfa}.calendar-cell{position:relative;min-height:105px;padding:10px 5px 5px;border-right:1px solid #edf0e9;border-bottom:1px solid #edf0e9;min-width:0;cursor:pointer}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.other-month{background:#fafbf8}.calendar-cell.selected{background:#f1f7e7;box-shadow:inset 0 0 0 1.5px #aec78e}.calendar-cell:hover{background:#f8fbf1}.day-number{font-size:10px;width:26px;min-height:26px;border-radius:8px;display:grid;place-items:center;color:#66765a;margin-bottom:5px;position:relative;z-index:1}.other-month .day-number{color:#c0c8b7}.calendar-cell.is-today .day-number{background:#d7edb6;color:#36591f;font-weight:700}.calendar-event{width:100%;font-size:9px;line-height:1.5;background:#edf2fa;color:#6682a5;border-radius:4px;margin:3px 0;padding:4px 5px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;position:relative;z-index:1}.calendar-event.personal{background:#f4eef8;color:#9b81af}.calendar-event.deadline{border-left:2px solid #d69676}.calendar-event.done{opacity:.45;text-decoration:line-through}.more-events{font-size:9px;color:#8a9a77;min-height:22px;width:100%;text-align:left;padding-left:5px}.calendar-dots{display:none}.day-panel{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}.day-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 18px 16px;border-bottom:1px solid var(--line)}.day-heading .eyebrow{font-size:8px;letter-spacing:.14em}.day-heading h2{font-size:18px;margin-top:7px;letter-spacing:-.03em}.add-day{width:30px;min-height:30px;background:#edf4e3;color:#789453}.day-panel .task-row{padding:16px;gap:10px;align-items:flex-start}.day-panel .task-check{margin-top:2px;width:19px;height:19px;border-radius:6px}.day-panel .task-title{font-size:11px}.day-panel .task-meta{font-size:9px;gap:5px}.day-panel .task-end{display:none}.day-empty{padding:36px 20px;text-align:center;color:#a0ad93;font-size:11px}.day-empty svg{display:block;margin:0 auto 12px;width:28px;height:28px;color:#b6c3a7}.day-empty button{margin-top:16px}.calendar-footer{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:10px;color:#98a58c;gap:10px}.legend-divider{margin:0 9px}.calendar-footer .text-button{font-size:10px}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-height:390px}.week-day{background:white;border:1px solid var(--line);border-radius:10px;min-width:0;padding:8px 5px}.week-day.selected{border-color:#b1c98f;background:#fbfdf6}.week-heading{width:100%;padding:5px 0 12px;text-align:center;border-bottom:1px solid var(--line);margin-bottom:8px;display:flex;align-items:center;flex-direction:column;gap:5px}.week-heading strong{font-size:18px;font-weight:500}.week-heading span{font-size:9px;color:#9aa68d}.week-empty{text-align:center;color:#c0cbb5;font-size:12px;margin:20px 0}.agenda-group{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}.agenda-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;background:#fcfdf9;padding:15px 20px;width:100%;text-align:left;border-bottom:1px solid var(--line)}.agenda-title svg{width:15px;color:#90a077}.agenda-empty{padding:55px 20px;text-align:center;color:#92a083}
/* Editor, account and transient feedback */
dialog{border:0;padding:0;border-radius:20px;box-shadow:0 30px 130px #12251c30;color:var(--ink);width:560px;max-width:calc(100vw - 32px);max-height:90dvh;background:white}dialog::backdrop{background:#182c1d55;backdrop-filter:blur(3px)}.task-form{display:flex;flex-direction:column;max-height:90dvh}.dialog-heading{padding:25px 28px 22px;display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:23px;margin-top:6px}.dialog-scroll{padding:4px 28px 20px;overflow-y:auto;overscroll-behavior:contain}.dialog-scroll>input,.dialog-scroll>textarea,.dialog-scroll select,.account-content input{width:100%}.dialog-scroll>input#task-title{font-size:15px;height:50px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.date-fields{display:grid;grid-template-columns:minmax(0,1fr) 115px 36px;gap:8px;align-items:center}.date-fields input{width:100%;font-size:13px}.clear-date{color:#a6b19c;width:36px;min-height:40px}.field-hint{font-size:10px;color:#9aa58f;margin-top:9px;line-height:1.6}.dialog-scroll>.field-hint{margin:14px 0 18px}details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;color:#748566;font-size:12px;min-height:26px}summary::-webkit-details-marker{display:none}summary svg{width:14px}details[open] summary svg{transform:rotate(180deg)}details[open]{padding-bottom:20px}.absolute-reminders{margin-top:16px}.remind-at-row{display:flex;align-items:center;gap:8px;margin:8px 0}.remind-at-row input{flex:1;width:100%;font-size:12px}.remind-at-row button{color:#a0ac94}.done-toggle{display:flex;align-items:center;gap:9px;font-size:12px;color:#748565;margin-top:20px}.dialog-footer{padding:18px 28px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);background:#fdfefa}.dialog-footer .danger{margin-right:auto}.danger{color:#b66c5b;background:#fbf1ed}.danger:hover{background:#fae6df}.form-error{color:#be6d58;font-size:12px;line-height:1.5;background:#fff6f0;border-radius:9px;padding:11px 13px;margin-top:14px}.account-dialog{max-width:460px}.account-content{padding:22px 28px 26px}.account-content>p{font-size:12px;color:#899779}.account-content>p strong{color:#425c30}.account-content h3{font-size:16px;margin:26px 0 18px}.account-content .button{width:100%;margin-top:20px}.logout{background:#f6f7f2;color:#879878}.toast{position:fixed;left:calc(50% + 115px);bottom:28px;transform:translateX(-50%);z-index:100;background:#24382a;color:#eef3e9;box-shadow:0 10px 40px #1b35222b;padding:10px 10px 10px 20px;border-radius:12px;display:flex;align-items:center;gap:18px;font-size:12px;max-width:calc(100vw - 32px)}.toast>span{min-width:0}.toast>button:not(.icon-button){font-size:12px;font-weight:600;color:var(--green);min-height:38px;white-space:nowrap}.toast .icon-button{width:32px;min-height:32px;color:#97ac8b}.toast .icon-button:hover{background:#ffffff0c}.toast .icon-button svg{width:15px}.offline-banner{position:fixed;top:0;left:230px;right:0;z-index:60;background:#fff3de;color:#8e7041;padding:10px 20px;font-size:11px;text-align:center}.offline-banner button{font-weight:650;text-decoration:underline;margin-left:10px}.mobile-add svg{width:24px;height:24px}
@media(min-width:1650px){.content{padding-top:48px}.stats-grid{gap:20px}.stat-card{padding:25px}.calendar-cell{min-height:125px}}
@media(max-width:1250px){.sidebar{width:205px;padding:28px 15px 18px}.main{margin-left:205px}.topbar{padding:0 28px}.content{padding:30px 28px 0}.stat-card{padding:18px 13px;gap:10px}.stat-icon{width:32px;height:32px;border-radius:10px}.stat-label{font-size:9px}.calendar-layout{grid-template-columns:minmax(0,1fr)}.day-panel{margin-top:0}.day-heading{padding:17px 22px}.day-panel .task-row{padding:16px 22px}.day-panel .task-title{font-size:13px}.calendar-cell{min-height:110px}.calendar-event{font-size:10px}.toast{left:calc(50% + 102px)}.offline-banner{left:205px}.week-grid{min-height:250px}}
@media(max-width:900px){.sidebar{width:185px;padding:28px 12px 18px}.main{margin-left:185px}.topbar{padding:0 22px}.content{padding:28px 22px 0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat-card{padding:16px}.stat-label{font-size:10px}.stat-card strong{font-size:24px}.page-heading h1{font-size:32px}.page-heading .desktop-add{font-size:11px;padding:10px 12px}.list-toolbar{gap:6px}.filters{gap:0}.filters button{font-size:10px;padding:9px}.sort-label select{max-width:105px}.calendar-toolbar{flex-wrap:wrap}.calendar-cell{min-height:91px}.calendar-event{font-size:9px}.story-content h1{font-size:40px}.login-story{padding:38px 36px}.login-panel{padding:32px}.toast{left:calc(50% + 92px)}.offline-banner{left:185px}.account-button>svg{display:none}}
@media(max-width:700px){body{font-size:14px}.sidebar{display:none}.main{margin-left:0}.topbar{height:68px;padding:0 20px;gap:12px;position:sticky;top:0;z-index:25;background:#f9fbf6f2;backdrop-filter:blur(12px)}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:23px;letter-spacing:-1px;flex-shrink:0}.mobile-brand .brand-mark{width:29px;height:29px;font-size:28px;border-radius:9px}.mobile-brand .brand-mark span{font-size:22px;margin-left:-3px;margin-top:8px}.mobile-account{display:flex;width:32px;height:32px;font-size:12px;border:1px solid #dfe7d6}.search-wrap{width:auto;margin-left:auto;max-width:185px;gap:6px}.search-wrap input{font-size:12px;min-width:65px;height:40px}.search-wrap kbd,.sync-status{display:none}.content{padding:26px 20px 95px}.page-heading{margin-bottom:21px}.page-heading h1{font-size:32px}.date-eyebrow{font-size:10px;margin-bottom:10px;gap:9px}.timezone{font-size:8px;padding-left:9px}.page-heading p{font-size:11px;margin-top:7px}.desktop-add{display:none}.mobile-categories{display:flex;gap:7px;margin-bottom:24px;overflow:auto;scrollbar-width:none}.mobile-categories button{padding:8px 14px;border:1px solid #e1e8da;background:white;border-radius:22px;font-size:11px;white-space:nowrap;min-height:39px}.mobile-categories .active{background:#e6eedb;border-color:#e6eedb;color:#4c6a32;font-weight:600}.stats-grid{gap:10px;margin-bottom:24px}.stat-card{padding:16px 13px;border-radius:13px;gap:12px}.stat-icon{width:32px;height:32px}.stat-icon svg{width:18px;height:18px}.stat-label{font-size:10px}.stat-card strong{font-size:25px;margin-top:3px}.stat-arrow{display:none}.list-toolbar{display:block;margin-bottom:13px}.filters{justify-content:space-between;padding:0}.filters button{font-size:11px;padding:9px 11px;min-height:42px}.sort-label{display:none}.category-section{border-radius:14px;margin-bottom:18px}.category-header{padding:16px}.category-header h2{font-size:13px}.category-header>.icon-button{width:36px;min-height:32px}.task-row{padding:17px 16px;gap:13px;align-items:flex-start}.task-check{width:22px;height:22px;margin-top:2px}.task-title{font-size:13px;line-height:1.65}.task-meta{font-size:10px;gap:6px 10px;margin-top:7px}.task-end{padding-top:3px}.task-end>span:not(.urgent-point){display:none}.task-end svg{width:13px}.empty-category{padding:24px 16px;font-size:11px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;align-items:center;justify-content:space-evenly;gap:30px;background:#ffffffee;backdrop-filter:blur(12px);border-top:1px solid #e2e9da;height:calc(68px + env(safe-area-inset-bottom));padding:5px 24px calc(5px + env(safe-area-inset-bottom))}.mobile-nav>button:not(.mobile-add){display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:#9aa98b;font-size:9px;width:90px;min-height:50px}.mobile-nav>button.active{color:#4c722e}.mobile-nav>button.active svg{stroke-width:2}.mobile-add{display:flex;align-items:center;justify-content:center;width:50px;height:45px;background:var(--green);border-radius:15px;box-shadow:0 4px 16px #bad59140;flex-shrink:0;color:#365621}.main-footer{padding:23px 0 0;font-size:8px;gap:6px}.calendar-toolbar{margin:0 0 16px;gap:17px;display:block}.month-heading{justify-content:space-between;gap:8px}.month-heading h2{font-size:19px}.month-heading .button{font-size:10px}.month-arrows{gap:4px}.calendar-modes{margin-top:16px;width:100%;justify-content:space-around}.calendar-modes button{flex:1;min-height:37px;font-size:11px}.calendar-layout{gap:16px}.month-grid{border-radius:13px}.weekday{font-size:9px;padding:11px 0}.calendar-cell{min-height:62px;padding:6px 2px 5px;display:flex;align-items:center;flex-direction:column}.day-number{font-size:11px;min-height:28px;width:28px;margin-bottom:1px}.calendar-cell .calendar-event,.calendar-cell .more-events{display:none}.calendar-dots{display:flex;gap:3px;align-items:center;justify-content:center;height:10px;pointer-events:none}.calendar-dots .dot{width:4px;height:4px;background:#8ca9cc;border-radius:50%}.calendar-dots .dot.personal{background:#b49bc5}.calendar-dots .dot.deadline{background:#ce937b}.calendar-dots .overflow-dot{font-size:7px;color:#94a383}.calendar-footer{font-size:9px;gap:4px;flex-wrap:wrap}.calendar-footer .text-button{font-size:10px}.day-heading h2{font-size:20px}.day-panel .task-row{padding:17px 16px}.day-panel .task-title{font-size:13px}.day-panel .task-meta{font-size:10px}.day-panel .task-check{width:22px;height:22px}.week-grid{display:flex;flex-direction:column;gap:8px;min-height:0}.week-day{padding:14px;display:grid;grid-template-columns:57px minmax(0,1fr);gap:5px 12px;border-radius:12px}.week-heading{grid-row:1 / span 12;padding:0;border-bottom:0;border-right:1px solid var(--line);margin:0;min-height:50px;justify-content:flex-start;align-items:flex-start;gap:3px}.week-heading strong{font-size:23px}.week-heading span{font-size:9px}.week-day .calendar-event{font-size:12px;white-space:normal;padding:8px;line-height:1.5}.week-empty{text-align:left;font-size:11px;margin:12px 0;color:#aab79c}.agenda-title{font-size:12px;padding:16px}.toast{left:16px;right:16px;bottom:calc(85px + env(safe-area-inset-bottom));transform:none;max-width:none;padding:9px 8px 9px 15px;gap:10px;font-size:11px}.toast>span{flex:1}.offline-banner{left:0;top:68px;font-size:10px;padding:8px 12px}.login-screen{display:block;background:var(--bg)}.login-story{min-height:0;padding:27px 26px 34px;background:var(--dark)}.login-story .brand{font-size:25px}.login-story .brand-mark{width:34px;height:34px;font-size:32px}.story-content{padding:30px 0 0}.story-content .eyebrow{font-size:8px}.story-content h1{font-size:33px;margin:14px 0;line-height:1.12}.story-content h1 br:last-of-type{display:none}.story-content h1 em{display:inline}.story-content p,.story-chips,.story-footer{display:none}.login-panel{padding:34px 26px 42px}.login-box{max-width:420px}.login-lock{display:none}.login-box h2{font-size:25px}.login-box .eyebrow{font-size:8px}.login-box .muted{font-size:12px;margin-bottom:22px}.login-security{font-size:9px;margin-top:20px}.login-submit{margin-top:23px}dialog{width:100%;max-width:none;max-height:94dvh;margin:auto 0 0;border-radius:22px 22px 0 0;box-shadow:0 -20px 80px #17271f33}.task-form{max-height:94dvh}.dialog-heading{padding:22px 20px 18px}.dialog-heading h2{font-size:23px}.dialog-scroll{padding:2px 20px 20px}.dialog-scroll>input#task-title{font-size:16px}.dialog-scroll input,.dialog-scroll select,.dialog-scroll textarea,.login-box input,.account-content input{font-size:16px}.date-fields{grid-template-columns:minmax(0,1fr) 103px 32px;gap:6px}.date-fields input{font-size:14px;padding:0 8px}.date-fields input[type=date]{min-height:46px}.form-row{gap:10px}.form-row select{font-size:14px;padding:0 8px}.dialog-footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom));gap:6px}.dialog-footer .button{font-size:12px;padding:10px 14px}.dialog-footer .danger{padding:10px}.account-dialog{max-width:none}.account-content{padding:20px 24px calc(28px + env(safe-area-inset-bottom))}.empty-state{padding:45px 20px}}
@media(max-width:360px){.content{padding-left:14px;padding-right:14px}.topbar{padding:0 14px}.mobile-brand strong{display:none}.stat-card{gap:8px;padding:13px 10px}.stat-icon{width:28px;height:28px}.stat-label{font-size:9px}.filters button{font-size:10px;padding:8px}.date-fields{grid-template-columns:minmax(0,1fr) 91px 28px}.dialog-scroll{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Comfortable reading and touch targets on phones. */
.task-check{position:relative}.task-check::before{content:"";position:absolute;inset:-11px}
.task-title{font-size:14px}.category-header h2{font-size:15px}
@media(max-width:700px){.task-title,.day-panel .task-title{font-size:15px;line-height:1.55}.task-meta,.day-panel .task-meta{font-size:12px}.category-header h2{font-size:15px}.stat-label{font-size:11px}.filters button{font-size:12px}.mobile-nav>button:not(.mobile-add){font-size:11px}.mobile-categories button{font-size:12px}.page-heading p{font-size:12px}.calendar-cell{min-height:49px}.day-number{font-size:13px}.category-header>.icon-button{min-height:40px;width:40px}.calendar-footer{font-size:10px}.main-footer{font-size:10px}.main-footer>span:last-child{display:none}.login-security{font-size:11px}.login-box .muted{font-size:14px}.empty-category{font-size:13px}.week-heading span{font-size:11px}.week-day .calendar-event{font-size:13px}}
@media(max-width:360px){.filters button{font-size:11px;padding:8px}.task-title,.day-panel .task-title{font-size:14px}.task-meta,.day-panel .task-meta{font-size:11px}}
