.main-header time{color:var(--muted);flex:1}.atlas-placeholder{min-height:40px;padding:0 var(--space-3);border:var(--border) dashed var(--line);border-radius:var(--radius-m);color:var(--muted);font-size:var(--text-caption);text-align:center;justify-content:center;align-items:center;display:flex}.add-row{flex-direction:row}.add-row input{flex:1}.more{align-self:flex-start;min-height:28px}.priority{flex:none}.count{font-size:var(--text-caption);color:var(--muted);flex:none}.handle{opacity:.45;margin-right:calc(-1 * var(--space-2));touch-action:none}.event-row .row-line{min-height:var(--row-h-short)}.event-row .event-text{min-height:var(--row-h-short);line-height:var(--row-h-short)}.event-marker{color:var(--muted)}.age{border-radius:var(--radius-pill);font-variant-numeric:tabular-nums;background:color-mix(in srgb, currentColor 14%, transparent);flex:none;justify-content:center;align-items:center;min-width:18px;height:16px;padding:0 5px;font-size:11px;font-weight:600;line-height:16px;display:inline-flex}.age.age-normal{color:var(--muted)}.forgotten-row .row-line .more-actions{width:24px;margin-left:calc(-1 * var(--space-1));margin-right:calc(-1 * var(--space-1))}.row-buttons{gap:var(--space-2);padding:0 0 var(--space-2) 32px;flex-wrap:wrap;display:flex}.row-buttons input{min-height:var(--control-h-compact);height:var(--control-h-compact)}.subtasks{padding-left:32px}.subtasks li{align-items:center;gap:var(--space-2);display:flex}.subtasks .row-text{min-height:var(--row-h-short)}.sheet{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:var(--radius-m) var(--radius-m) 0 0;background:var(--bg);width:100%;max-width:520px;max-height:90dvh;color:var(--fg);inset:auto 0 0;bottom:var(--sheet-bottom,0px);max-height:min(90dvh, var(--sheet-max,90dvh));border:0;margin:0 auto;padding:0;position:fixed;overflow:hidden auto}.sheet-top{z-index:1;background:var(--bg);border-bottom:var(--border) solid var(--line);position:sticky;top:0}.sheet-grabber{width:36px;height:5px;margin:var(--space-2) auto 0;border-radius:var(--radius-pill);background:var(--muted);opacity:.4}.sheet-bar{min-height:var(--control-h);padding:0 var(--space-2);grid-template-columns:1fr auto 1fr;align-items:center;display:grid}.sheet-title{font-size:var(--text-body);font-weight:var(--weight-heading);text-align:center}.sheet-bar .sheet-bar-btn{min-height:var(--control-h);padding:0 var(--space-2);font-size:var(--text-body);text-decoration:none}.sheet-cancel{justify-self:start}.sheet-done{font-weight:var(--weight-strong);justify-self:end}.sheet::backdrop{background:var(--backdrop)}.sheet-body{gap:var(--space-3);padding:var(--space-4);flex-direction:column;display:flex}.sheet .date-pair{gap:var(--space-2);grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.sheet .inline{gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.sheet .field-line{flex-wrap:nowrap}.sheet .field-line>input{flex:1;width:auto}.sheet .field-line>.btn,.sheet .field-line>.select-wrap{flex:none}.sub-edit{gap:var(--space-2);flex-direction:column;display:flex}.sub-edit ul:empty{display:none}.sub-edit li{align-items:center;gap:var(--space-2);display:flex}.sub-edit .sub-text{flex:1}.sub-edit .done .sub-text{color:var(--muted);text-decoration:line-through}.sheet .menu{flex-wrap:nowrap}.sheet .menu .btn{padding:0 var(--space-1);flex:1}.label-input{flex:1;min-width:0;position:relative}.label-input input{width:100%}.label-suggestions{border:1px solid var(--line);border-radius:var(--radius-m);background:var(--bg);margin:4px 0 0;padding:4px 0;list-style:none}.label-suggestions button{width:100%;min-height:var(--control-h);text-align:left;color:var(--fg);padding:0 12px;display:block}.label-chips{margin-top:var(--space-2);flex-wrap:wrap}.add-label{align-items:flex-start;gap:var(--space-2);padding:var(--space-2) 0;display:flex}.frequent-labels .row-line{justify-content:space-between}.sheet:focus{outline:none}.list-screen input[type=search]{width:100%}.screen>.chip-row{margin:0 calc(-1 * var(--space-2));padding:0 var(--space-2)}.archive-row{padding:0 var(--space-1)}.switch{gap:var(--space-2);display:flex}.switch .btn{flex:1}.journal-block{padding:0 var(--space-1);flex-direction:column;gap:2px;display:flex}.journal-head{padding-top:var(--space-2);font-size:var(--text-caption);color:var(--muted)}.journal-line{overflow-wrap:anywhere}.journal-block .row-meta{padding-bottom:var(--space-2)}.journal-block .btn{margin:var(--space-1) 0 var(--space-2);align-self:flex-start}.settings-links{gap:var(--space-4);padding:0 var(--space-1);display:flex}.field-inline input{text-align:right;width:72px}.habit-edit{gap:var(--space-2);padding:var(--space-2) 0;flex-direction:column;display:flex}.days{gap:var(--space-1);display:flex}.days .chip{flex:1;min-width:0;padding:0}.habit-actions{align-items:center;gap:var(--space-2);display:flex}fieldset.scope{display:contents}.habits-row{gap:var(--space-1);padding:0 var(--space-1) var(--space-2);touch-action:pan-y;flex-direction:column;display:flex}.habit-chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.habit-c1{--h:var(--habit-1);--h-tint:var(--habit-1-tint)}.habit-c2{--h:var(--habit-2);--h-tint:var(--habit-2-tint)}.habit-c3{--h:var(--habit-3);--h-tint:var(--habit-3-tint)}.habit-c4{--h:var(--habit-4);--h-tint:var(--habit-4-tint)}.habit-c5{--h:var(--habit-5);--h-tint:var(--habit-5-tint)}.habit-c6{--h:var(--habit-6);--h-tint:var(--habit-6-tint)}.habit-c7{--h:var(--habit-7);--h-tint:var(--habit-7-tint)}.habit-c8{--h:var(--habit-8);--h-tint:var(--habit-8-tint)}.habit-c9{--h:var(--habit-9);--h-tint:var(--habit-9-tint)}.habit-c10{--h:var(--habit-10);--h-tint:var(--habit-10-tint)}.habit-c11{--h:var(--habit-11);--h-tint:var(--habit-11-tint)}.habit-c12{--h:var(--habit-12);--h-tint:var(--habit-12-tint)}:root .habit-chips .chip.habit-chip{gap:var(--space-1);border-color:var(--h-tint);background:var(--h-tint);height:36px;min-height:36px;color:var(--h);position:relative}:root .habit-chips .chip.habit-chip[aria-pressed=true]{border-color:var(--h);background:var(--h);color:var(--habit-on)}.habit-chip:after{content:"";position:absolute;inset:-4px 0}.habit-mark{border:1.5px solid;border-radius:3px;flex:none;justify-content:center;align-items:center;width:10px;height:10px;display:inline-flex}.habit-chip .habit-mark .check-mark{display:none}.habit-chip[aria-pressed=true] .habit-mark{border:0;width:12px;height:12px}.habit-chip[aria-pressed=true] .habit-mark .check-mark{opacity:1;width:14px;height:14px;margin:0;display:block}.habit-dot{background:var(--h);vertical-align:middle;border-radius:50%;flex:none;width:8px;height:8px;margin-right:6px;display:inline-block}.habit-name-line{align-items:center;display:flex}.habit-name-line input{flex:1}.habit-swatch-btn{flex:none;justify-content:center;align-items:center;width:44px;height:44px;margin-left:-10px;display:inline-flex}.habit-swatch{background:var(--h);border-radius:50%;width:24px;height:24px}.colour-grid{gap:var(--space-2);padding:var(--space-2) 0;grid-template-columns:repeat(4,1fr);display:grid}.colour-cell{justify-content:center;align-items:center;height:56px;display:flex}.colour-swatch{background:var(--h);width:44px;height:44px;color:var(--habit-on);border-radius:50%;justify-content:center;align-items:center;display:flex}:root .colour-cell .colour-swatch .check-mark{opacity:1;width:26px;height:26px;margin:0;display:block}.colour-cell[aria-checked=true] .colour-swatch{outline:2px solid var(--fg);outline-offset:3px}.history-grid tr[class] .checkbox-box[data-checked=true]{background:var(--h);border-color:var(--h);color:var(--habit-on)}.history-grid tr[class] .checkbox-box[data-checked=true]:after{border-color:var(--habit-on)}.metrics-line{width:100%;min-height:var(--control-h);text-align:left;color:var(--fg);align-items:center;gap:6px;padding:0;display:flex}.metrics-label{color:var(--muted);font-size:13px}.metrics-value{font-variant-numeric:tabular-nums;font-size:15px}.metrics-band{color:var(--muted);font-size:13px}.metrics-sep{color:var(--muted)}.metrics-swatch{border-radius:3px;flex:none;width:10px;height:10px}.metrics-swatch.band-1{background:var(--band-1)}.metrics-swatch.band-2{background:var(--band-2)}.metrics-swatch.band-3{background:var(--band-3)}.metrics-swatch.band-4{background:var(--band-4)}.metrics-swatch.band-5{background:var(--band-5)}.metrics-chevron{color:var(--muted);margin-left:auto}.panel.history-scroll{padding:var(--space-2) var(--space-1) var(--space-2) 0;overflow-x:auto}.history-grid{border-collapse:collapse;font-size:var(--text-micro)}.history-grid th,.history-grid td{text-align:center;padding:0;font-weight:400}.history-grid thead th{min-width:28px;color:var(--muted)}.history-grid thead th span{line-height:var(--leading-tight);display:block}.history-grid .weekend{color:var(--red)}.history-grid tbody th{z-index:1;background:var(--bg);padding:0 var(--space-2);text-align:left;white-space:nowrap;position:sticky;left:0}.history-grid .cell{width:28px;height:var(--control-h-compact);justify-content:center;align-items:center;display:flex}.history-grid .cell .checkbox-box{width:var(--checkbox);height:var(--checkbox)}.history-grid .cell.off .checkbox-box{opacity:.4}.chart-readout{min-height:20px;font-size:var(--text-caption);font-variant-numeric:tabular-nums;color:var(--fg)}.chart-body{display:flex;position:relative}.chart-axis{flex:none}.chart-scroll{overscroll-behavior-x:contain;scrollbar-width:none;flex:1;min-width:0;overflow:auto hidden}.chart-scroll::-webkit-scrollbar{display:none}.chart-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chart-scroll svg{display:block}.chart-overlay{pointer-events:none;position:absolute;top:0;left:0}.chart-tick{font-size:var(--text-micro);fill:var(--muted);font-variant-numeric:tabular-nums}.chart-grid{stroke:var(--line);stroke-width:1px}.chart-cursor{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3}.chart-band-label{font-size:var(--text-micro);fill:var(--muted)}.sleep-bar.band-1{fill:var(--band-1)}.sleep-bar.band-2{fill:var(--band-2)}.sleep-bar.band-3{fill:var(--band-3)}.sleep-bar.band-4{fill:var(--band-4)}.sleep-bar.band-5{fill:var(--band-5)}.sleep-bar.selected{stroke:var(--fg);stroke-width:1.5px}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#fff;--page:#eceff4;--fg:#181c24;--muted:#5b6475;--line:#d9dde5;--accent:#2f6fed;--accent-fg:#fff;--surface:#f3f5f9;--yellow:#b7791f;--red:#c53030;--backdrop:#0006;--band-1:#d6453d;--band-2:#e5771c;--band-3:#b78d1b;--band-4:#35a58f;--band-5:#2f6fd0;--habit-1:#0c776c;--habit-1-tint:#e2efed;--habit-2:#7a4fd6;--habit-2-tint:#efeafa;--habit-3:#a75416;--habit-3-tint:#f4eae3;--habit-4:#b6397a;--habit-4-tint:#f6e7ef;--habit-5:#637217;--habit-5-tint:#eceee3;--habit-6:#087295;--habit-6-tint:#e1eef2;--habit-7:#8c5a36;--habit-7-tint:#f1ebe7;--habit-8:#5b6694;--habit-8-tint:#ebedf2;--habit-9:#297945;--habit-9-tint:#e5efe9;--habit-10:#a0449a;--habit-10-tint:#f4e9f3;--habit-11:#7b6921;--habit-11-tint:#efede4;--habit-12:#4f707f;--habit-12-tint:#eaeef0;--habit-on:#fff;--faint:var(--muted);--divider:var(--line);--main-tint:var(--surface);--check-border:var(--muted);--ok-fg:var(--accent);--ok-bg:var(--surface);--warn-fg:var(--yellow);--warn-bg:var(--surface);--danger-fg:var(--red);--danger-bg:var(--surface);--neutral-fg:var(--muted);--neutral-bg:var(--surface);--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--text-micro:.7rem;--text-caption:.8rem;--text-body:1rem;--text-title:1.2rem;--weight-strong:600;--weight-heading:700;--leading-tight:1.25;--leading-body:1.4;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--radius-s:4px;--radius-m:12px;--radius-pill:999px;--border:1px;--control-h:44px;--control-h-compact:32px;--row-h:44px;--row-h-short:36px;--checkbox:22px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#181c24;--page:#11141a;--fg:#ecf0f7;--muted:#9aa4b6;--line:#2d3342;--accent:#6b9bff;--accent-fg:#101319;--surface:#212633;--yellow:#ecc94b;--red:#fc8181;--band-1:#d6453d;--band-2:#e8893a;--band-3:#e0b030;--band-4:#35a58f;--band-5:#2f6fd0;--habit-1:#12b3a3;--habit-1-tint:#143c45;--habit-2:#af95e6;--habit-2-tint:#363653;--habit-3:#e68945;--habit-3-tint:#423330;--habit-4:#da89b3;--habit-4-tint:#403348;--habit-5:#94ab23;--habit-5-tint:#303b28;--habit-6:#0dade3;--habit-6-tint:#123b53;--habit-7:#c99773;--habit-7-tint:#3c363a;--habit-8:#9aa1c1;--habit-8-tint:#31384b;--habit-9:#3eb668;--habit-9-tint:#1d3d38;--habit-10:#ce8bca;--habit-10-tint:#3d344d;--habit-11:#bba033;--habit-11-tint:#39382c;--habit-12:#8aa8b6;--habit-12-tint:#2e3a49;--habit-on:#0b101a}}:root:is([data-look=b],[data-look=c]){--page:#f2f5fb;--bg:#fff;--fg:#101a2e;--muted:#63708a;--faint:#a3adc0;--divider:#e9edf5;--line:#e9edf5;--accent:#1249b8;--main-tint:#e3ebfb;--accent-fg:#fff;--surface:#f2f5fb;--check-border:#838ea5}:root[data-look=b]{--second:#0b7974;--second-tint:#ddf3f1;--on-second:#fff}:root[data-look=c]{--second:#6b46d9;--second-tint:#ece6fb;--on-second:#fff}:root[data-look]{--ok-fg:#17733f;--ok-bg:#e2f3e8;--warn-fg:#8a5a06;--warn-bg:#fbf0d6;--danger-fg:#b3312b;--danger-bg:#fbe5e3;--neutral-fg:#4f5b70;--neutral-bg:#edf0f5;--yellow:var(--warn-fg);--red:var(--danger-fg);--backdrop:#0006}@media (prefers-color-scheme:dark){:root:is([data-look=b],[data-look=c]){--page:#0b101a;--bg:#141b2a;--fg:#e8edf7;--muted:#97a3ba;--faint:#55607a;--divider:#222b3d;--line:#222b3d;--accent:#82a8ff;--main-tint:#1b2a4a;--accent-fg:#0b101a;--surface:#0b101a;--check-border:#5c6780}:root[data-look=b]{--second:#4fd1c5;--second-tint:#12302e;--on-second:#0b101a}:root[data-look=c]{--second:#b39dff;--second-tint:#261f45;--on-second:#0b101a}:root[data-look]{--ok-fg:#7dd8a0;--ok-bg:#16301f;--warn-fg:#f0c56a;--warn-bg:#3a2c0c;--danger-fg:#ff9a93;--danger-bg:#40191a;--neutral-fg:#b4bed0;--neutral-bg:#222b3d;--backdrop:#0000008c}}*{box-sizing:border-box}html,body{background:var(--page);color:var(--fg);font-family:var(--font);font-size:var(--text-body);line-height:var(--leading-body);margin:0}#root{max-width:520px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 14px) env(safe-area-inset-right) calc(48px + env(safe-area-inset-bottom)) env(safe-area-inset-left);margin:0 auto}h1,h2,p{margin:0}ul{margin:0;padding:0;list-style:none}.screen{gap:var(--space-2);padding:0 var(--space-2) var(--space-2);flex-direction:column;display:flex}.screen-header{align-items:center;gap:var(--space-2);min-height:var(--control-h);display:flex}.screen-header h1,.screen>h1{font-size:var(--text-title);line-height:var(--control-h);font-weight:var(--weight-heading)}.hint,.empty{font-size:var(--text-caption);color:var(--muted)}.empty{text-align:center;padding:var(--space-2) 0}[role=alert]{color:var(--red)}form{gap:var(--space-2);flex-direction:column;display:flex}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn{justify-content:center;align-items:center;gap:var(--space-1);min-height:var(--control-h);padding:0 var(--space-3);border:var(--border) solid var(--line);border-radius:var(--radius-m);background:var(--surface);color:var(--fg);font-size:var(--text-body);white-space:nowrap;display:inline-flex}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.btn-danger{color:var(--red)}.btn-quiet{min-height:0;padding:0 var(--space-1);color:var(--accent);background:0 0;border-color:#0000;text-decoration:underline}.btn-compact{min-height:var(--control-h-compact);height:var(--control-h-compact);padding:0 var(--space-2);font-size:var(--text-caption)}.btn-quiet.btn-compact{padding:0 var(--space-1)}a.quiet-link{color:var(--accent);text-decoration:underline}.icon-btn{min-height:var(--control-h);width:28px;color:var(--fg);flex:none;justify-content:center;align-items:center;display:inline-flex}.checkbox{width:var(--checkbox);height:var(--checkbox);flex:none;display:inline-flex;position:relative}.checkbox input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.checkbox-box{border:2px solid var(--muted);border-radius:var(--radius-s);background:var(--bg);pointer-events:none;width:100%;height:100%}.checkbox-box:after{content:"";border:solid var(--accent-fg);opacity:0;border-width:0 2.5px 2.5px 0;width:6px;height:11px;margin:2px auto 0;display:block;transform:rotate(45deg)}.checkbox input:checked+.checkbox-box,.checkbox-box[data-checked=true]{background:var(--accent);border-color:var(--accent)}.checkbox input:checked+.checkbox-box:after,.checkbox-box[data-checked=true]:after{opacity:1}.checkbox input:disabled+.checkbox-box{opacity:.5}.checkbox input:focus-visible+.checkbox-box{outline:2px solid var(--accent);outline-offset:2px}.check{align-items:center;gap:var(--space-2);min-height:var(--control-h);display:flex}.tick{width:var(--row-h);height:var(--row-h);flex:none;justify-content:center;align-items:center;margin:0 -10px;display:flex}input,select,textarea{font:inherit;color:var(--fg);font-size:16px}input:not([type=checkbox]),select,textarea{min-height:var(--control-h);min-width:0;padding:0 var(--space-3);border:var(--border) solid var(--line);border-radius:var(--radius-m);background:var(--surface)}input[type=date],input[type=datetime-local]{appearance:none;width:100%;height:var(--control-h);text-align:left}input[aria-invalid=true]{border-color:var(--red)}input:disabled,select:disabled{opacity:.5}select{appearance:none;padding-right:36px}.select-wrap{display:inline-flex;position:relative}.select-wrap:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);pointer-events:none;width:7px;height:7px;position:absolute;top:50%;right:15px;transform:translateY(-70%)rotate(45deg)}.field{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.field>input:not([type=checkbox]){width:100%}.field-label{font-size:var(--text-caption);color:var(--muted)}.field-inline{justify-content:space-between;align-items:center;gap:var(--space-2);flex-direction:row}.field-inline>input:not([type=checkbox]){width:auto}.chip{min-height:var(--control-h-compact);height:var(--control-h-compact);padding:0 var(--space-2);border:var(--border) solid var(--line);border-radius:var(--radius-pill);background:var(--surface);color:var(--fg);font-size:var(--text-caption);white-space:nowrap;flex:none;justify-content:center;align-items:center;display:inline-flex}.chip[aria-pressed=true],.chip[aria-checked=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.chip-row{gap:var(--space-2);scrollbar-width:none;display:flex;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.tag{font-size:var(--text-caption);padding:0 var(--space-2);border-radius:var(--radius-pill);background:var(--surface);color:var(--muted);flex:none}.panel{padding:0 var(--space-1);border-radius:var(--radius-m);background:var(--bg);flex-direction:column;display:flex}.panel-body{gap:var(--space-2);padding:0 var(--space-1) var(--space-3);flex-direction:column;display:flex}.section-head-row{align-items:center;gap:var(--space-1);display:flex}.section-title{min-width:0;font-size:var(--text-body);font-weight:var(--weight-heading);flex:1}.section-head{align-items:center;gap:var(--space-2);width:100%;min-height:var(--control-h);padding:0 var(--space-1);text-align:left;font-weight:var(--weight-heading);display:flex}.section-chevron{color:var(--muted);flex:none;transition:transform .18s;transform:rotate(90deg)}.section-head[aria-expanded=false] .section-chevron{transform:rotate(0)}.section-name{flex:none}.section-summary{text-align:right;min-width:0;font-size:var(--text-caption);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-weight:400;overflow:hidden}.section-head-row .btn-quiet{min-height:var(--control-h);font-size:var(--text-caption);flex:none}.section-body{grid-template-rows:1fr;transition:grid-template-rows .18s;display:grid}.section-body[data-collapsed]{grid-template-rows:0fr}.section-inner{min-height:0;margin:0 calc(-1 * var(--space-1));padding:0 var(--space-1);flex-direction:column;display:flex;overflow:hidden}@media (prefers-reduced-motion:reduce){.section-body,.section-chevron{transition:none}}.rows{flex-direction:column;display:flex}.rows>li{border-bottom:var(--border) solid var(--line);background:var(--bg)}.panel .rows:last-child>li:last-child{border-bottom:0}.row-line{align-items:center;gap:var(--space-2);min-height:var(--row-h);display:flex}.row-text{min-width:0;min-height:var(--row-h);text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;padding:0;overflow:hidden}span.row-text{line-height:var(--row-h)}.row-text.wrap{white-space:normal;overflow-wrap:anywhere;line-height:var(--leading-body);min-height:0;padding:var(--space-3) 0}.row-meta{font-size:var(--text-caption);color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.done .row-text{color:var(--muted);text-decoration:line-through}.toast{left:var(--space-3);right:var(--space-3);bottom:calc(56px + env(safe-area-inset-bottom));justify-content:space-between;align-items:center;gap:var(--space-3);max-width:496px;padding:var(--space-1) var(--space-1) var(--space-1) var(--space-4);border:var(--border) solid var(--line);border-radius:var(--radius-m);background:var(--bg);color:var(--fg);margin:0 auto;display:flex;position:fixed}.toast .btn{font-weight:var(--weight-strong);color:var(--accent)}.bottom-nav{background:var(--bg);border-top:var(--border) solid var(--line);max-width:520px;padding-bottom:env(safe-area-inset-bottom);margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{min-height:48px;color:var(--muted);font-size:var(--text-caption);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;text-decoration:none;display:flex}.bottom-nav a.active{color:var(--accent);font-weight:var(--weight-strong)}.nav-icon{display:block}.nav-indicator{border-radius:var(--radius-pill);background:0 0;width:4px;height:4px}.bottom-nav a.active .nav-indicator{background:currentColor}.bottom-nav a[aria-disabled=true]{opacity:.5;pointer-events:none}.status-line p{font-size:var(--text-caption);color:var(--muted)}.status-line [role=alert]{color:var(--red)}.codes{gap:var(--space-2);grid-template-columns:1fr;font-family:ui-monospace,monospace;display:grid}.age-normal{color:inherit}.age-yellow{color:var(--yellow)}.age-red{color:var(--red)}.check-mark,.priority-tile,.atlas-spark{display:none}:root[data-look] .screen{gap:12px}:root[data-look] .screen-header h1,:root[data-look] .screen>h1{font-size:22px;font-weight:700}:root[data-look] .main-header time{color:var(--muted);font-size:15px}:root[data-look] .panel{background:var(--bg);border-radius:20px;padding:0 16px}:root[data-look] .section-inner{margin:0 -16px;padding:0 16px}:root[data-look] .panel-body{padding:0 0 16px}:root[data-look] .section-head{gap:13px;min-height:48px;padding:0 0 0 3px}:root[data-look] .section-head.static{padding:0}:root[data-look] .section-title,:root[data-look] .section-head{font-size:17px;font-weight:600}:root[data-look] .section-summary{color:var(--muted);font-size:13px}:root[data-look] .section-chevron{color:var(--muted)}:root[data-look] .rows>li{border-bottom:0;position:relative}:root[data-look] .rows>li:after{content:"";background:var(--divider);height:1px;position:absolute;bottom:0;left:32px;right:0}:root[data-look] .rows:not(:has(~.rows))>li:last-child:after{display:none}:root[data-look] .archive-row,:root[data-look] .journal-block{padding-left:0;padding-right:0}:root[data-look] .rows>li.journal-block:after,:root[data-look] .rows>li.habit-edit:after{left:0}:root[data-look] .rows>li:has(>.archive-row):after{left:0}:root[data-look] .tick{margin:0 -9px 0 -11px}:root[data-look] .done .row-text{color:var(--muted)}:root[data-look] .checkbox-box{border:1.5px solid var(--check-border);background:var(--bg);color:var(--accent-fg);border-radius:7px}:root[data-look] .checkbox-box:after{display:none}:root[data-look] .check-mark{opacity:0;width:calc(100% + 3px);height:calc(100% + 3px);margin:-1.5px;display:block}:root[data-look] .checkbox input:checked+.checkbox-box,:root[data-look] .checkbox-box[data-checked=true]{background:var(--accent);border-color:var(--accent)}:root[data-look] .checkbox input:checked+.checkbox-box .check-mark,:root[data-look] .checkbox-box[data-checked=true] .check-mark{opacity:1}:root[data-look] .check{gap:10px}:root[data-look] .event-marker{background:var(--second-tint);width:28px;height:28px;color:var(--second);border-radius:8px;margin:0 -1px 0 -3px}:root[data-look] .event-marker svg{width:18px;height:18px}:root[data-look] .event-row .row-meta{color:var(--muted);font-size:13px}:root[data-look] .priority{display:none}:root[data-look] .priority-tile{border-radius:6px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}:root[data-look] .priority-tile svg{width:16px;height:16px}:root[data-look] .prio-3{background:var(--danger-bg);color:var(--danger-fg)}:root[data-look] .prio-2{background:var(--warn-bg);color:var(--warn-fg)}:root[data-look] .prio-1{background:var(--neutral-bg);color:var(--neutral-fg)}:root[data-look] .handle{color:var(--faint);opacity:1}:root[data-look] .age{background:var(--neutral-bg);color:var(--neutral-fg)}:root[data-look] .age.age-yellow{background:var(--warn-bg);color:var(--warn-fg)}:root[data-look] .age.age-red{background:var(--danger-bg);color:var(--danger-fg)}:root[data-look] .forgotten-row .row-line .more-actions{color:var(--muted)}:root[data-look] .btn{border:0;border-radius:14px}:root[data-look] .btn-primary{background:var(--accent);color:var(--accent-fg)}:root[data-look] .btn-secondary{background:var(--surface);color:var(--fg)}:root[data-look] .btn-danger{background:var(--danger-bg);color:var(--danger-fg)}:root[data-look] .btn-quiet{color:var(--accent);background:0 0;text-decoration:none}:root[data-look] .btn-compact{border-radius:10px}:root[data-look] .btn-quiet:focus-visible,:root[data-look] .btn-quiet:active,:root[data-look] a.quiet-link:focus-visible,:root[data-look] a.quiet-link:active{text-decoration:underline}:root[data-look] a.quiet-link{text-decoration:none}:root[data-look] .icon-btn{color:var(--muted)}:root[data-look] input:not([type=checkbox]),:root[data-look] select,:root[data-look] textarea{background:var(--surface);border:0;border-radius:14px}:root[data-look] input:not([type=checkbox]):focus-visible,:root[data-look] select:focus-visible{outline:2px solid var(--accent);outline-offset:0}:root[data-look] input[aria-invalid=true]{outline:2px solid var(--danger-fg)}:root[data-look] .field-label{color:var(--muted);font-size:13px}:root[data-look] .screen>input,:root[data-look] .screen>form>input,:root[data-look] .screen>form>.btn-secondary,:root[data-look] .screen>.switch>.btn-secondary,:root[data-look] .screen>.chip-row>.chip:not([aria-checked=true]):not([aria-pressed=true]),:root[data-look] .main-header .chip:not([aria-pressed=true]){background:var(--bg)}:root[data-look] .chip{background:var(--surface);color:var(--fg);border:0}:root[data-look] .chip[aria-pressed=true],:root[data-look] .chip[aria-checked=true]{background:var(--main-tint);color:var(--accent);font-weight:600}:root[data-look] .tag{background:var(--neutral-bg);color:var(--neutral-fg)}:root[data-look] .bottom-nav{border-top:1px solid var(--divider);background:var(--bg)}:root[data-look] .bottom-nav a{color:var(--muted)}:root[data-look] .bottom-nav a.active{color:var(--accent);font-weight:600}:root[data-look] .toast{border:1px solid var(--divider);background:var(--bg);border-radius:16px}:root[data-look] .toast .btn{color:var(--accent);background:0 0}:root[data-look] .sheet{background:var(--bg);border-radius:24px 24px 0 0}:root[data-look] .sheet-grabber{background:var(--faint);opacity:1}:root[data-look] .sheet-top{border-bottom-color:var(--divider)}:root[data-look] .sheet-done{color:var(--accent);font-weight:600}:root[data-look] .status-line p{background:var(--warn-bg);color:var(--warn-fg);border-radius:999px;align-self:flex-start;padding:2px 10px;font-size:13px;display:inline-block}:root[data-look] .status-line [role=alert]{background:var(--danger-bg);color:var(--danger-fg)}:root[data-look] .atlas-placeholder{border:1px dashed var(--second);border-radius:14px;align-items:center;gap:8px;display:flex}:root[data-look] .atlas-spark{color:var(--second);flex:none;display:block}:root[data-look] .chart-grid{stroke:var(--divider)}:root[data-look] .panel.history-scroll{padding:12px 16px 12px 0}:root[data-look] .history-grid tbody th{padding:0 8px 0 16px}
