
:root{--bg:#F7F5F2;--panel:#FBFAF8;--text:#2F3337;--muted:#747B83;--line:#D9DDE2;--sage:#DDE8D8;--sage-text:#476047;--blue:#E8EDF3;--blue-text:#485A6B;--orange:#F3E2C7;--orange-text:#76552D;--done:#9AA0A6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;padding:8px 12px;border-radius:8px;transition:background .15s,color .15s}button:hover{background:#eeede8}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid var(--sage-text);outline-offset:3px}button svg,svg{vertical-align:middle;flex-shrink:0}input,textarea,select{border:1px solid #D8D8D1;background:#fffefa;border-radius:8px;padding:10px 12px;min-width:0;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--sage-text);outline:2px solid #47604716}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;accent-color:var(--sage-text)}
h1,h2,h3,h4,p{margin-top:0}h1{font-size:31px;font-weight:650;letter-spacing:-.7px;margin-bottom:0;line-height:1.35}h2{font-size:18px;font-weight:600;margin:0;line-height:1.5}h3{font-size:17px;font-weight:600;margin:24px 0 12px}h4{font-size:15px;font-weight:600;margin:0 0 5px}a{color:inherit;text-decoration:none}small,.muted,.description{color:var(--muted)}small{font-size:12px}.description{white-space:pre-wrap;overflow-wrap:anywhere}.dot{padding:0 5px;opacity:.55}
.primary{background:#4C6250;color:white;display:inline-flex;gap:7px;align-items:center;justify-content:center;padding:9px 16px;font-weight:550}.primary:hover{background:#3f5443}.quiet{border:1px solid var(--line);background:transparent;padding:8px 14px}.text-button{color:var(--sage-text);padding:6px 0;display:inline-flex;align-items:center;gap:6px}.text-button:hover{background:none;text-decoration:underline;text-underline-offset:4px}.danger{color:#9c4940;border:1px solid #d7b5af;background:none}.icon-button{width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;padding:6px}.eyebrow{font-size:14px;color:var(--muted);margin-bottom:6px;font-weight:500;letter-spacing:.1px}.boot{padding:60px;max-width:800px;margin:auto}
/* Application shell: page, surface, accent. */
.sidebar{width:216px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:24px 22px;display:flex;flex-direction:column;background:#F0EEE9}.brand{font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:600;letter-spacing:-.6px;display:block;color:var(--text);line-height:1.3;padding:0 14px;margin-bottom:25px}.sidebar nav{display:grid;gap:7px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;color:var(--muted);padding:11px 14px;text-align:left;font-size:14px}.nav-item.active{background:#E2E8DC;color:var(--sage-text);font-weight:600;position:relative}.nav-item.active:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:2px;background:#71866C}.sidebar-bottom{margin-top:auto}main{margin-left:216px;min-height:100vh}.topbar{height:48px;padding:10px 40px;display:flex;align-items:center;justify-content:flex-end;gap:12px}.sync-status{font-size:12px;color:var(--orange-text);padding:4px 8px}.sync-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block;margin-right:7px}.mobile-brand,.mobile-settings,.bottom-nav{display:none}.page-content{max-width:1060px;margin:auto;padding:16px 40px 56px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-today .page-heading h1{font-size:32px;font-weight:650;letter-spacing:-.7px}.date-controls{display:flex;align-items:center;gap:2px;border:1px solid var(--line);padding:3px;border-radius:9px;background:#FBFAF850}.date-controls .quiet{border:0;background:#EAEDE5;color:var(--sage-text);font-size:12px;padding:5px 12px}
.section-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.section-heading h2 span,.count-label{font-size:12px;font-weight:500;color:var(--muted);display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;margin-left:6px;border-radius:5px;background:#EEEFE9;vertical-align:middle}.section-heading .text-button{font-size:13px}.list-section{margin-bottom:26px}.panel-description{font-size:13px;color:var(--muted);margin:6px 0 20px}
/* Weekly theme uses a narrow accent bar. */
.theme-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--sage);padding:18px 24px 18px 27px;margin-bottom:24px;min-height:132px;overflow:hidden}.theme-card:before{content:"";position:absolute;top:18px;bottom:18px;left:0;width:3px;background:#7C9273;border-radius:0 2px 2px 0}.theme-copy{flex:1;min-width:0}.theme-label{font-size:12px;color:var(--sage-text);font-weight:600;letter-spacing:.4px;display:block;margin-bottom:7px}.theme-title{display:block;text-align:left;font-size:23px;line-height:1.35;font-weight:600;color:var(--text);letter-spacing:-.4px;padding:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.theme-title:hover{background:none;text-decoration:underline;text-underline-offset:4px}.theme-meta{font-size:13px;color:var(--muted);margin:6px 0 10px}.theme-record{display:flex;gap:13px;font-size:13px;min-width:0;color:var(--muted)}.theme-record>span:first-child{flex-shrink:0;color:#62765E}.theme-record>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.theme-actions{display:flex;flex-direction:column;align-items:flex-end;gap:28px;flex-shrink:0}.theme-actions .text-button{font-size:13px}.record-link{font-weight:550;white-space:nowrap}.record-link svg{width:15px;height:15px}.theme-empty{background:var(--panel);min-height:88px;padding:15px 24px 15px 27px}.theme-empty:before{top:15px;bottom:15px;background:#94A48A}.theme-empty-title{font-size:16px;font-weight:550;color:var(--muted)}.theme-empty .theme-label{margin-bottom:4px}.theme-empty .record-link{align-self:center}.theme-overview{min-height:112px}.theme-overview .theme-meta{margin-bottom:0}.theme-overview .theme-actions{gap:17px}
/* List rows inside a shared panel. */
.task-row{display:flex;align-items:center;gap:16px;min-height:82px;border-bottom:1px solid #EAE8E2;padding:13px 0}.task-row:last-child{border-bottom:0}.checkbox{width:23px;height:23px;padding:0;border:1.5px solid #B7C1B5;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#FCFCF8}.checkbox:hover{background:#E1E9DB;border-color:#71866C}.checkbox svg{width:15px;height:15px}.done .checkbox{background:#EBEEE7;border-color:#BBC7B5;color:#778A6E}.row-main{flex:1;text-align:left;min-width:0;padding:3px 0;display:grid;gap:4px}.row-main:hover{background:none}.row-main:hover .row-title{color:var(--sage-text)}.row-title{font-size:16px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.row-meta{font-size:13px;color:var(--muted);line-height:1.5}.row-adjust{font-size:12px;color:var(--muted);padding:6px 8px}.done .row-title{color:var(--done);text-decoration:line-through}.done .row-meta{color:var(--done)}.skipped .row-title{color:var(--muted)}.completed,.skipped-list{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.completed .section-heading h2{color:var(--muted)}
.empty{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px 4px;color:var(--muted)}.empty>svg{width:25px;height:25px;color:#899783}.empty h3{font-size:16px;margin:0 0 5px;color:var(--text);font-weight:550}.empty p{font-size:13px;max-width:410px;margin:0;line-height:1.7}.empty>.quiet{font-size:13px;white-space:nowrap}.today-list{padding:18px 22px}.today-list .section-heading{margin-bottom:8px}.today-list>.empty{padding:16px 4px 18px}.welcome{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:14px 4px;margin-top:12px}.welcome h3{font-size:13px;margin:0 0 2px;font-weight:550;color:var(--muted)}.welcome p{font-size:13px;color:var(--muted);margin-bottom:0}.welcome .text-button{font-size:13px;white-space:nowrap}
/* Continuous week track. */
.week-setting{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;margin:0 2px 16px}.week-list{padding:8px 24px}.week-day{position:relative;display:grid;grid-template-columns:114px 1fr;gap:22px;padding:14px 4px;border-bottom:1px solid #EAE8E2}.week-day:last-child{border-bottom:0}.week-day.is-empty{min-height:70px;padding-top:10px;padding-bottom:10px}.week-day.is-empty:before{top:20px;bottom:-20px}.week-day.is-empty .free-day{margin:4px 0}.week-day:before{content:"";position:absolute;left:12px;top:24px;bottom:-24px;width:1px;background:#D6DBD0;z-index:0}.week-day:last-child:before{display:none}.week-date{position:relative;text-align:left;align-self:start;display:grid;gap:3px;padding:0 0 0 29px;justify-content:start;border-radius:0;color:var(--muted)}.week-date:before{content:"";position:absolute;left:3px;top:8px;width:11px;height:11px;border:1px solid #BEC8B6;border-radius:50%;background:var(--panel)}.week-date strong{font-size:15px;font-weight:600;color:var(--text)}.week-date span{font-size:13px}.week-date small{font-size:11px;color:var(--sage-text)}.week-day.is-today{background:#EFF3E9;border-radius:8px;border-bottom-color:transparent;margin:0 -10px;padding-left:14px;padding-right:14px}.week-day.is-today:before{left:22px}.is-today .week-date:before{background:var(--sage-text);border-color:var(--sage-text)}.is-today .week-date strong,.is-today .week-date span{color:var(--sage-text)}.week-content{min-width:0}.week-content .task-row{min-height:62px;padding:8px 0;border:0}.week-content .row-title{font-size:15px}.week-theme{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--sage-text);background:#E9EFE2;text-align:left;padding:5px 8px;max-width:100%;margin-bottom:6px;border-radius:5px}.week-theme svg{width:15px;height:15px}.free-day{color:#A1A69B;font-size:13px;margin:8px 0}
/* Calendar tags are strips, not pills. */
.calendar-legend{display:flex;gap:22px;font-size:12px;color:var(--muted);margin:0 0 17px}.calendar-legend span:before{content:"";width:8px;height:8px;display:inline-block;margin-right:7px;border-radius:2px}.legend-theme:before{background:#CCDCC1}.legend-task:before{background:#D6E0EA}.legend-special:before{background:#EAD6B5}.calendar{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:15px 0;font-size:12px;font-weight:550;text-align:center;color:var(--muted);border-bottom:1px solid var(--line);background:#F1F0EB}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{height:137px;border-radius:0;border-right:1px solid #E9E7E1;border-bottom:1px solid #E9E7E1;padding:11px 9px;text-align:left;display:flex;flex-direction:column;overflow:hidden}.calendar-day:nth-child(7n){border-right:0}.calendar-day:hover{background:#F0F1EA}.calendar-day.outside{opacity:.38}.calendar-day.is-today{background:#F0F4EA}.day-number{width:28px;height:28px;display:inline-grid;place-items:center;font-size:13px;font-weight:550;border-radius:7px;margin-bottom:8px}.calendar-day.is-today .day-number{background:#62795A;color:white}.day-tags{display:flex;flex-direction:column;gap:4px;max-width:100%}.tag{font-size:11px;border-radius:2px;padding:2px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-left:2px solid transparent;line-height:1.5}.tag.theme{background:#E9F0E3;color:var(--sage-text);border-left-color:#A6BA99}.tag.task{background:#EEF1F5;color:var(--blue-text);border-left-color:#B4C4D3}.tag.special{background:#F8EFE0;color:var(--orange-text);border-left-color:#D9BF98}.tag-done{text-decoration:line-through;opacity:.6}.more{font-size:11px;color:var(--muted)}
/* Inventory and theme history. */
.tasks-tabs{display:flex;gap:24px;margin:0 0 24px;border-bottom:1px solid var(--line)}.tasks-tabs button{font-size:14px;border-radius:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:10px 2px;color:var(--muted)}.tasks-tabs button[aria-selected=true]{border-bottom-color:#71876B;color:var(--sage-text);font-weight:600}.managed-row{display:flex;align-items:center;gap:16px;min-height:80px;border-bottom:1px solid #E9E7E1;padding:12px 0}.managed-row:last-child{border:0}.routine-mark{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #E1E5DA;background:#F0F3EB;color:#7C8E70;border-radius:8px;flex-shrink:0}.routine-mark svg{width:17px;height:17px}.managed-actions{display:flex;gap:13px;align-items:center;flex-shrink:0}.managed-actions button{font-size:12px}.managed-actions .quiet{padding:5px 11px}.delete-link{color:var(--muted)}.delete-link:hover{color:#9c4940}.row-chevron{color:#9DA696;width:25px}.is-paused>.routine-mark,.is-paused>.row-main{opacity:.5}.is-paused .row-meta{color:#8A8F86}.theme-group{margin-bottom:26px}.theme-group:last-child{margin-bottom:0}.theme-group>.empty{padding:10px 0 16px;gap:12px}.theme-group>.empty h3{font-size:14px}.theme-group>.empty .quiet{border:0;color:var(--sage-text);padding:4px 0}.theme-history-row{width:100%;display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #E9E7E1;border-radius:0;text-align:left;gap:15px}.theme-history-row>span:first-child{min-width:0;overflow-wrap:anywhere}.theme-history-row strong{font-size:16px;font-weight:550}.theme-history-row small{display:block;margin-top:5px;font-size:13px}.theme-status{font-size:12px;color:var(--sage-text);white-space:nowrap;background:#EEF2E8;padding:3px 8px;border-radius:4px}
/* Shared drawers and forms. */
.backdrop{position:fixed;inset:0;background:#20272238;z-index:20}.sheet{position:fixed;right:0;top:0;bottom:0;width:min(560px,94vw);background:var(--bg);z-index:21;overflow:auto;border-left:1px solid var(--line);outline:none}.sheet-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 26px;position:sticky;top:0;background:var(--bg);border-bottom:1px solid var(--line);z-index:1}.sheet-header h2{font-size:20px;font-weight:600;overflow-wrap:anywhere}.sheet-body{padding:26px}.sheet .theme-card{padding:19px 18px 19px 22px;gap:14px}.sheet .theme-title{font-size:21px}.sheet .theme-actions{gap:27px}.detail-grid{display:grid;grid-template-columns:95px 1fr;gap:15px;font-size:14px;margin:25px 0}.detail-grid dt{color:var(--muted)}.detail-grid dd{margin:0;overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.field{display:grid;gap:7px;margin-bottom:19px;font-size:13px}.field>span{font-weight:550}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.form-grid .field:first-child:nth-last-child(3){grid-column:1/-1}.form-help{font-size:12px;color:var(--muted);margin:0 0 16px}.form-footer{display:flex;gap:10px;margin:25px 0 5px}.check-label{display:flex;align-items:center;gap:10px;font-size:13px;margin:18px 0}.weekday-picker{display:flex;flex-wrap:wrap;gap:7px}.weekday-picker label{display:flex;align-items:center;gap:4px;padding:6px;background:#ECEFE7;border-radius:5px;font-size:12px}.weekday-picker input{width:14px;height:14px}fieldset{border:0;padding:0;margin:0 0 20px}legend{font-size:13px;margin-bottom:8px}.rule-grid{border-top:1px solid var(--line);padding-top:19px}.history-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:13px;border-bottom:1px solid var(--line);padding:13px 0}.history-row span:nth-child(2){margin-left:auto;color:var(--muted)}.history-row small{width:100%}.history-row p{width:100%;margin:0;color:var(--muted);white-space:pre-wrap}.theme-detail-name{font-size:25px;color:var(--sage-text);font-weight:600;margin-bottom:10px}.daily-log{width:100%;text-align:left;border-radius:0;border-bottom:1px solid var(--line);padding:15px 0}.daily-log>span{font-size:13px;color:var(--muted)}.daily-log p{font-size:14px;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.daily-log small{display:block;margin-top:6px}.error-message{color:#9c4940;font-size:13px;overflow-wrap:anywhere}.modal-open{overflow:hidden}
#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,10px);max-width:calc(100vw - 32px);background:#384338;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}
/* Settings: secondary navigation on desktop, grouped scrolling on phone. */
.sheet.wide{width:min(1040px,calc(100vw - 64px));height:min(820px,calc(100vh - 64px));inset:32px auto auto 50%;transform:translateX(-50%);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.wide .sheet-header{flex-shrink:0;background:#F5F3EE}.wide .sheet-body{padding:0;min-height:0;flex:1;display:flex;overflow:hidden}.settings-layout{display:grid;grid-template-columns:194px minmax(0,1fr);width:100%;min-height:0}.settings-nav{padding:23px 14px;border-right:1px solid var(--line);background:#F3F1EC;display:flex;flex-direction:column;gap:6px}.settings-nav-item{text-align:left;font-size:14px;color:var(--muted);padding:11px 14px}.settings-nav-item[aria-current=page]{background:#E5EBDF;color:var(--sage-text);font-weight:600}.settings-content{padding:26px 30px;overflow:auto;min-width:0}.settings-pane:not(.is-active){display:none}.settings-block{padding:23px;margin-bottom:22px}.settings-block:last-child{margin-bottom:0}.settings-block header h3{margin:0 0 18px;font-size:18px}.settings-block header:has(.panel-description) h3{margin-bottom:6px}.settings-block .field:last-child{margin-bottom:0}.settings-block .actions{margin-bottom:0}.account-local{display:flex;align-items:flex-start;gap:11px;padding:4px 0 6px}.account-local strong{font-size:15px;font-weight:550}.account-local p{font-size:13px;color:var(--muted);margin:5px 0 0}.state-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#819773;flex-shrink:0;margin:8px 8px 0 0;vertical-align:baseline}.state-dot.neutral{background:#AAB1A4}.account-summary{display:grid;grid-template-columns:86px minmax(0,1fr);gap:16px;font-size:14px;margin:0 0 22px}.account-summary dt{color:var(--muted)}.account-summary dd{margin:0;overflow-wrap:anywhere}.account-summary .state-dot{margin-top:0}.login-status{font-size:14px;margin-bottom:22px;color:var(--muted)}.settings-save{display:flex;justify-content:flex-end;padding:0 0 12px}.backup-action{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:5px 0 23px;margin-bottom:22px;border-bottom:1px solid var(--line)}.backup-action p{font-size:13px;color:var(--muted);margin:0}.backup-action button{white-space:nowrap;font-size:13px}.install-platform{margin-bottom:23px}.install-platform p{font-size:13px;color:var(--muted);margin:0}.install-platform h4{margin-bottom:6px}
@media(min-width:768px) and (max-width:1199px){.sidebar{width:180px;padding:24px 15px}.brand{font-size:28px;padding-left:11px}.nav-item{padding-left:11px}main{margin-left:180px}.page-content{padding:15px 28px 50px}.topbar{padding-right:28px}.managed-row{gap:11px}.managed-actions{gap:10px}.routine-mark{width:30px;height:30px}.managed-actions .delete-link{display:none}.calendar-day{height:129px}.settings-layout{grid-template-columns:170px minmax(0,1fr)}.settings-content{padding:22px}}
@media(max-width:767px){
.sidebar{display:none}main{margin-left:0}.topbar{height:61px;justify-content:space-between;padding:13px 16px}.mobile-brand{display:block;font-family:Georgia,serif;font-size:25px;font-weight:600;letter-spacing:-.6px}.mobile-settings{display:inline-flex;margin-left:auto}.sync-status{font-size:11px;margin-left:auto;max-width:205px}.sync-status:not([hidden])+.mobile-settings{margin-left:0}.page-content{padding:15px 16px calc(93px + env(safe-area-inset-bottom))}.page-heading{gap:9px;margin-bottom:22px;align-items:center}.page-heading h1{font-size:28px}.page-today .page-heading h1{font-size:29px}.eyebrow{font-size:12px;margin-bottom:5px}.date-controls{padding:2px;gap:0}.date-controls .quiet{font-size:11px;padding:5px 8px}.date-controls .icon-button{width:26px;height:29px}.icon-button{width:31px;height:31px}.page-heading>.primary{font-size:12px;padding:8px 11px}.section-panel{padding:18px 16px}.section-heading h2{font-size:17px}.section-heading .text-button{font-size:12px}
.theme-card{padding:18px 16px 18px 20px;min-height:152px;gap:12px;align-items:flex-start;margin-bottom:24px}.theme-title{font-size:22px}.theme-meta{font-size:12px;margin:6px 0 11px}.theme-record{font-size:12px;gap:9px;flex-wrap:wrap}.theme-record>span:last-child{flex-basis:100%}.theme-actions{gap:70px;align-self:stretch;justify-content:space-between}.theme-actions .text-button{font-size:12px}.record-link svg{width:12px}.theme-empty .record-link{font-size:12px}.theme-empty-title{font-size:20px}.today-list{padding:18px 16px}.task-row{gap:12px;min-height:78px;padding:12px 0}.row-title{font-size:15px}.row-meta{font-size:12px}.row-adjust{font-size:11px;padding:5px}.checkbox{width:22px;height:22px}.empty p{font-size:12px}.empty{grid-template-columns:25px minmax(0,1fr);gap:12px;padding:16px 0}.empty>.quiet{grid-column:2;justify-self:start;padding:6px 12px}.today-list{padding:17px}.welcome{gap:10px;padding:12px 2px;align-items:center}.welcome .text-button{font-size:12px}.theme-empty{min-height:82px;padding:14px 16px 14px 20px;align-items:center}.theme-empty .theme-empty-title{font-size:16px}.theme-empty .record-link{align-self:center}.theme-overview{min-height:110px}.welcome p{font-size:12px}.completed{margin-top:19px;padding-top:18px}
.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:var(--panel);border-top:1px solid var(--line);padding:7px 12px calc(8px + env(safe-area-inset-bottom));z-index:10}.bottom-nav button{display:flex;flex-direction:column;gap:4px;align-items:center;color:var(--muted);font-size:11px;padding:6px}.bottom-nav button.active{color:var(--sage-text)}.bottom-nav button.active svg{stroke-width:2}
.week-setting{font-size:12px;margin-bottom:15px}.week-list{padding:4px 13px}.week-day{grid-template-columns:82px 1fr;gap:12px;padding:12px 0}.week-day.is-empty{min-height:68px;padding-top:9px;padding-bottom:9px}.week-day.is-empty:before{top:20px;bottom:-20px}.week-date{padding-left:24px}.week-date strong{font-size:14px}.week-date span{font-size:12px}.week-date:before{left:2px;top:7px;width:10px;height:10px}.week-day:before{left:7px;top:23px;bottom:-22px}.week-day.is-today{margin:0 -6px;padding-left:6px;padding-right:6px}.week-day.is-today:before{left:13px}.week-content .row-title{font-size:14px}.week-content .task-row{gap:9px;min-height:58px}.week-theme{font-size:11px;padding:4px 6px;gap:5px;overflow-wrap:anywhere}
.calendar-legend{font-size:11px;gap:14px;margin-bottom:17px}.calendar-weekdays{font-size:10px;padding:12px 0}.calendar-day{height:113px;padding:7px 3px}.day-number{width:24px;height:24px;font-size:12px;margin-bottom:7px}.tag{font-size:9px;padding:2px 3px;border-left-width:1px}.day-tags{gap:3px}.more{font-size:10px}.page-month{padding-left:12px;padding-right:12px}.page-month .page-heading,.page-month .calendar-legend{padding-left:4px;padding-right:4px}.calendar{border-radius:10px}
.tasks-tabs{gap:24px;margin-bottom:21px}.managed-row{display:grid;grid-template-columns:29px minmax(0,1fr) 24px;gap:7px 11px;padding:14px 0}.routine-mark{width:29px;height:29px;align-self:start;margin-top:5px}.routine-mark svg{width:15px;height:15px}.managed-row .row-main{min-width:0}.managed-row .row-meta{font-size:12px}.managed-actions{grid-column:2/-1;justify-self:end;gap:18px}.managed-actions .quiet{font-size:11px;padding:4px 10px}.managed-actions .text-button{font-size:11px}.theme-history-row strong{font-size:15px}.theme-history-row small{font-size:12px}.theme-status{font-size:10px;padding:2px 6px}.theme-group{margin-bottom:24px}
.sheet{width:100%;border:0}.sheet-header{padding:18px 16px;padding-top:calc(18px + env(safe-area-inset-top))}.sheet-header h2{font-size:18px}.sheet-body{padding:22px 16px calc(30px + env(safe-area-inset-bottom))}.sheet .theme-card{padding:18px 15px 18px 20px}.sheet .theme-actions{gap:64px}.theme-detail-panel{padding:18px 15px}.form-grid{gap:0 12px}.detail-grid{grid-template-columns:85px 1fr;gap:13px;font-size:13px}.description{font-size:13px}#toast{bottom:calc(91px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 32px)}
.sheet.wide{width:100%;height:100%;inset:0;transform:none;border:0;border-radius:0;overflow:auto;display:block}.wide .sheet-header{position:sticky}.wide .sheet-body{display:block;overflow:visible;padding:0}.settings-layout{display:block}.settings-nav{display:none}.settings-content{padding:22px 16px calc(30px + env(safe-area-inset-bottom));overflow:visible}.settings-pane:not(.is-active){display:block}.settings-pane{margin-bottom:26px}.settings-block{padding:20px 17px;margin-bottom:20px}.settings-save{justify-content:flex-start;padding:0}.backup-action{gap:15px;align-items:flex-start;flex-direction:column}.account-summary{grid-template-columns:74px minmax(0,1fr);gap:13px;font-size:13px}.settings-block header h3{font-size:17px}
}
.field{align-content:start}.form-grid{align-items:start}
.settings-block .form-grid>.field:first-child:nth-last-child(3){grid-column:auto}
@media(max-width:767px){.settings-block .form-grid{display:block}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.auth-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 20px}.auth-tabs .text-button{padding:8px 2px;border-radius:0;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--muted)}.auth-tabs [aria-pressed=true]{color:var(--sage-text);border-bottom-color:var(--sage-text);font-weight:600}
