.offline-bar{z-index:20;padding:var(--s-2) var(--s-4);border-bottom:1px solid var(--line);background:var(--surface);color:var(--accent);font-size:var(--fs-small);line-height:var(--lh-small);text-align:center;position:sticky;top:0}.offline-bar.bad{color:var(--bad)}.btn{justify-content:center;align-items:center;gap:var(--s-2);min-height:var(--tap);padding:0 var(--s-5);border-radius:var(--r-sm);background:var(--surface-2);color:var(--text);font:inherit;font-weight:var(--fw-semibold);cursor:pointer;white-space:nowrap;transition:background var(--t-fast) var(--ease);border:0;display:inline-flex}.btn:hover{background:var(--surface-3)}.btn.primary{background:var(--accent);color:var(--on-accent)}.btn.primary:hover{filter:brightness(1.05)}.btn.outline{box-shadow:inset 0 0 0 1px var(--line-strong);background:0 0}.btn.ghost{color:var(--accent);background:0 0}.btn.block{width:100%;display:flex}.btn:disabled{opacity:.45;cursor:default}.field{gap:var(--s-2);flex-direction:column;display:flex}.field-label{font-size:var(--fs-small);line-height:var(--lh-small);font-weight:var(--fw-medium);color:var(--text-2)}.field-input{width:100%;min-height:var(--tap);padding:0 var(--s-4);border-radius:var(--r-sm);background:var(--surface);color:var(--text);font:inherit;box-shadow:inset 0 0 0 1px var(--line-strong);border:0}.field-input.invalid{box-shadow:inset 0 0 0 1px var(--bad)}.field-error{font-size:var(--fs-small);line-height:var(--lh-small);color:var(--bad);margin:0}.sign-in{width:100%;max-width:440px;padding:var(--s-8) var(--s-4) var(--s-6);gap:var(--s-6);flex-direction:column;flex:1;margin:0 auto;display:flex}.sign-in-title{margin:var(--s-10) 0 0;font-size:var(--fs-title);line-height:var(--lh-title);font-weight:var(--fw-semibold)}.sign-in-form{gap:var(--s-5);flex-direction:column;flex:1;display:flex}.sign-in-action{margin-top:auto}.empty-state{align-items:center;gap:var(--s-3);padding:var(--s-8) var(--s-4);color:var(--text-2);text-align:center;flex-direction:column;display:flex}.empty-state p{margin:0}.toast{align-items:center;gap:var(--s-3);min-height:var(--tap);padding:var(--s-2) var(--s-4);border-radius:var(--r-sm);background:var(--text);color:var(--bg);box-shadow:var(--shadow-2);display:flex}.toast-message{flex:1;min-width:0}.toast-action{min-height:var(--tap);padding:0 var(--s-3);color:inherit;font:inherit;font-weight:var(--fw-semibold);cursor:pointer;background:0 0;border:0;text-decoration:underline}.i{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.i.sm{width:16px;height:16px}.i.lg{width:24px;height:24px}.icon-btn{min-width:var(--tap);min-height:var(--tap);border-radius:var(--r-full);color:var(--text-2);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.sheet-scrim{z-index:40;background:var(--scrim);position:fixed;inset:0}.sheet{z-index:50;max-height:92dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--surface);color:var(--text);box-shadow:var(--shadow-2);flex-direction:column;display:flex;position:fixed;bottom:0;left:0;right:0}.sheet:focus{outline:none}.sheet-grabber{width:36px;height:4px;margin-top:var(--s-2);border-radius:var(--r-full);background:var(--surface-3);align-self:center}.sheet-head{justify-content:space-between;align-items:center;gap:var(--s-2);padding:var(--s-2) var(--s-3) var(--s-2) var(--s-4);display:flex}.sheet-title{font-size:var(--fs-heading);line-height:var(--lh-heading);font-weight:var(--fw-semibold);margin:0}.sheet-body{padding:0 var(--s-4) var(--s-4);overflow-y:auto}.sheet-foot{padding:var(--s-3) var(--s-4);border-top:1px solid var(--line);background:var(--surface);position:sticky;bottom:0}@media (width>=600px){.sheet{width:min(560px, 100vw - 2 * var(--s-4));border-radius:var(--r-lg);inset:50% auto auto 50%;transform:translate(-50%,-50%)}}.sheet-footer{gap:var(--s-2);flex-direction:column;display:flex}.sheet-footer-buttons{justify-content:flex-end;gap:var(--s-2);display:flex}.sheet-footer-buttons .btn{min-width:96px}.sheet-footer-error{color:var(--bad);font-size:var(--fs-small);line-height:var(--lh-small);margin:0}.amount-grid{grid-template-columns:repeat(auto-fill, minmax(var(--tap), 1fr));gap:var(--s-2);display:grid}.amount-choice{min-height:var(--tap)}.amount-other{grid-column:1/-1}.amount-spent{margin-bottom:var(--s-3)}.amount-spent-toggle{min-height:var(--tap)}.carried{gap:var(--s-2);flex-direction:column;display:flex}.carried-toggle{min-height:var(--tap);padding:0 var(--s-3);border-radius:var(--r-full);background:var(--surface-2);color:var(--text-2);font:inherit;font-size:var(--fs-small);cursor:pointer;border:0;align-self:flex-start}.carried-note{font-size:var(--fs-small);line-height:var(--lh-small);color:var(--text-3);margin:0}.carried-list{gap:var(--s-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.carried-item{justify-content:space-between;align-items:center;gap:var(--s-3);min-height:var(--tap);display:flex}.carried-text{flex-direction:column;min-width:0;display:flex}.carried-title{overflow-wrap:anywhere}.carried-meta{color:var(--text-3)}.carried-tick{min-width:var(--tap);min-height:var(--tap);border-radius:var(--r-full);background:var(--surface-2);color:var(--text-2);font:inherit;cursor:pointer;border:0;flex:none}.carried-choices{justify-content:flex-end;gap:var(--s-1);flex-wrap:wrap;flex:none;display:flex}.carried-choice{min-height:var(--tap);padding:0 var(--s-2);border-radius:var(--r-full);background:var(--surface-2);color:var(--text-2);font:inherit;font-size:var(--fs-small);cursor:pointer;border:0}.item-actions{gap:var(--s-2);margin-bottom:var(--s-3);flex-wrap:wrap;display:flex}.item-actions>*{min-height:var(--tap)}.item-more-toggle{margin-top:var(--s-2);align-self:flex-start;padding-left:0}.item-more{gap:var(--s-3);flex-direction:column;display:flex}.item-repeat{margin:var(--s-3) 0 0}.item-repeat a{min-height:var(--tap);color:var(--accent);font-weight:var(--fw-semibold);align-items:center;display:inline-flex}.quick-add{align-items:flex-end;gap:var(--s-2);display:flex}.quick-add .field{flex:1;min-width:0}.ring{flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-28{width:28px;height:28px}.ring-44{width:44px;height:44px}.ring-64{width:64px;height:64px}.ring-120{width:120px;height:120px}.ring-track{fill:none;stroke:var(--surface-3)}.ring-fill{fill:none;stroke:var(--accent);stroke-linecap:round;transition:stroke-dashoffset var(--t-base) var(--ease)}.ring-label{color:var(--text);font-size:var(--fs-small);font-weight:var(--fw-semibold);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.screen-head{justify-content:space-between;align-items:flex-start;gap:var(--s-3);padding:var(--s-4) var(--s-4) var(--s-3);display:flex}.screen-head-text{min-width:0}.screen-title{font-size:var(--fs-title);line-height:var(--lh-title);font-weight:var(--fw-semibold);margin:0}.screen-sub{color:var(--text-2);font-size:var(--fs-small);line-height:var(--lh-small)}.screen-actions{align-items:center;gap:var(--s-2);display:flex}.today-header{gap:var(--s-2);touch-action:pan-y;flex-direction:column;display:flex}.today-nav{justify-content:space-between;align-items:center;gap:var(--s-2);display:flex}.check{min-width:var(--tap);min-height:var(--tap);color:var(--on-accent);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.check:before{content:"";border:2px solid var(--text-3);border-radius:var(--r-full);background:var(--surface);width:22px;height:22px;transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);position:absolute}.check.sm:before{width:18px;height:18px}.check>.i{opacity:0;stroke-width:3px;width:14px;height:14px;position:relative}.check.on:before{border-color:var(--accent);background:var(--accent)}.check.on>.i{opacity:1}.check:disabled{cursor:default;opacity:.5}.chip{align-items:center;gap:var(--s-2);min-height:28px;padding:0 var(--s-3);border-radius:var(--r-full);background:var(--surface-2);color:var(--text-2);font:inherit;font-size:var(--fs-small);line-height:var(--lh-small);white-space:nowrap;border:0;display:inline-flex}button.chip{cursor:pointer}.chip.on{background:var(--accent-soft);color:var(--accent);font-weight:var(--fw-semibold)}.chip.tint{background:var(--accent-soft);color:var(--accent)}.chip .n{color:var(--text-3)}.task-row{align-items:center;gap:var(--s-2);min-height:var(--tap);padding:var(--s-1) var(--s-3) var(--s-1) 0;border-bottom:1px solid var(--line);display:flex}.task-body{min-width:0;min-height:var(--tap);color:inherit;font:inherit;text-align:start;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;padding:0;display:flex}button.task-body{cursor:pointer}.task-title{font-weight:var(--fw-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-meta{color:var(--text-3);font-size:var(--fs-small);line-height:var(--lh-small);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-row.done .task-title{color:var(--text-3);text-decoration:line-through}.workspace{gap:var(--s-2);flex-direction:column;display:flex}.workspace-title{font-size:var(--fs-small);line-height:var(--lh-small);font-weight:var(--fw-semibold);color:var(--text-2);margin:0}.workspace-items{flex-direction:column;display:flex}.amount-chip{min-width:var(--tap);min-height:var(--tap);font:inherit;cursor:pointer;border:0;justify-content:center}.item-meta{color:var(--text-2)}.today{gap:var(--s-6);width:100%;max-width:440px;padding:var(--s-8) var(--s-4) var(--s-6);flex-direction:column;flex:1;margin:0 auto;display:flex}.app-links{padding:var(--s-4);justify-content:center;display:flex}.app-links a{min-height:var(--tap);padding:0 var(--s-4);color:var(--accent);font-size:var(--fs-body);align-items:center;text-decoration:none;display:inline-flex}.projects,.project-page{gap:var(--s-6);width:100%;max-width:440px;padding:var(--s-8) var(--s-4) var(--s-6);flex-direction:column;flex:1;margin:0 auto;display:flex}.project-list{gap:var(--s-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.project-row{align-items:center;gap:var(--s-3);min-height:var(--tap);padding:var(--s-3) var(--s-4);border-radius:var(--r-sm);background:var(--surface);box-shadow:var(--shadow-1);color:var(--text);text-decoration:none;display:flex}.project-row-text{flex-direction:column;min-width:0;display:flex}.project-row-name{font-size:var(--fs-body);line-height:var(--lh-body);font-weight:var(--fw-medium)}.project-row-sub,.project-schedule-sub,.project-section-due{font-size:var(--fs-small);line-height:var(--lh-small);color:var(--text-2)}.project-form{gap:var(--s-4);flex-direction:column;display:flex}.project-form-pair{gap:var(--s-3);grid-template-columns:1fr 1fr;display:grid}.project-form select.field-input{min-height:var(--tap);background:var(--surface);color:var(--text);border-radius:var(--r-xs);font:inherit;font-size:var(--fs-body);padding:0 var(--s-3);border:0}.project-days{gap:var(--s-3);border:0;flex-direction:column;margin:0;padding:0;display:flex}.project-day-row{gap:var(--s-2);flex-wrap:wrap;display:flex}.project-day{min-width:var(--tap);min-height:var(--tap);padding:0 var(--s-3);border-radius:var(--r-full);background:var(--surface-2);color:var(--text-2);font:inherit;font-size:var(--fs-small);cursor:pointer;border:0}.project-day[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);font-weight:var(--fw-semibold)}.project-progress{align-items:center;gap:var(--s-3);flex-direction:column;display:flex}.project-section{gap:var(--s-2);flex-direction:column;display:flex}.project-section-title{font-size:var(--fs-heading);line-height:var(--lh-heading);font-weight:var(--fw-semibold);color:var(--text);margin:0}.project-schedules{gap:var(--s-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.project-schedule{padding:var(--s-3) var(--s-4);border-radius:var(--r-sm);background:var(--surface);box-shadow:var(--shadow-1);flex-direction:column;display:flex}.project-schedule-title{font-size:var(--fs-body);line-height:var(--lh-body)}.project-schedule-link{align-items:center;gap:var(--s-3);min-height:var(--tap);color:var(--text);flex-direction:row;text-decoration:none}.project-schedule-text{flex-direction:column;flex:1;min-width:0;display:flex}.project-schedule-open{color:var(--accent);font-weight:var(--fw-semibold)}.project-schedule-go{color:var(--accent);font-size:var(--fs-heading);line-height:var(--lh-heading)}.project-add-repeat{align-self:flex-start}.project-figure{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text-2);margin:0}.project-back{text-align:center;font-size:var(--fs-small);margin:0}.project-back a{min-height:var(--tap);padding:0 var(--s-4);color:var(--accent);align-items:center;text-decoration:none;display:inline-flex}.project-task-done{opacity:.7;text-decoration:line-through}.project-log-extra{margin-top:var(--s-2);min-height:var(--tap)}.history-card{gap:var(--s-2)}.history-weeks,.history-streaks{gap:var(--s-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.history-week{min-height:var(--tap);flex-direction:column;display:flex}.history-week-label{font-weight:var(--fw-semibold)}.history-totals{color:var(--text-2);margin:0}.history-week-summary{color:var(--text-2)}.project-section-empty{color:var(--text-2);margin:0}.history-weeks-toggle{align-self:flex-start;padding-left:0}.spark{gap:var(--s-2);flex-direction:column;margin:0;display:flex}.spark-chart{width:100%;max-width:240px;height:auto;overflow:visible}.spark-base{stroke:var(--line-strong);stroke-width:1px}.spark-done,.spark-reference{fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.spark-done{stroke:var(--accent)}.spark-reference{stroke:var(--text-3);stroke-dasharray:4 4}.spark-dot{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.spark-legend{gap:var(--s-4);color:var(--text-2);font-size:var(--fs-small);line-height:var(--lh-small);flex-wrap:wrap;display:flex}.spark-key{align-items:center;gap:var(--s-2);display:inline-flex}.spark-swatch{width:var(--s-5);border-top:2px solid var(--accent);height:0;display:inline-block}.spark-swatch-reference{border-top:2px dashed var(--text-3)}.settings{gap:var(--s-6);width:100%;max-width:440px;padding:var(--s-8) var(--s-4) var(--s-6);flex-direction:column;flex:1;margin:0 auto;display:flex}.settings-card{gap:var(--s-4);padding:var(--s-4);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--shadow-1);flex-direction:column;display:flex}.settings-card-title{font-size:var(--fs-heading);line-height:var(--lh-heading);font-weight:var(--fw-semibold);margin:0}.settings-small{font-size:var(--fs-small);line-height:var(--lh-small);color:var(--text-2);margin:0}.settings-form{gap:var(--s-3);flex-direction:column;display:flex}.settings-secret,.settings-connect,.settings-confirm{gap:var(--s-3);padding:var(--s-4);border-radius:var(--r-sm);background:var(--accent-soft);flex-direction:column;display:flex}.settings-secret-lead{font-size:var(--fs-body);line-height:var(--lh-body);font-weight:var(--fw-medium);margin:0}.settings-secret-value,.settings-code{padding:var(--s-3);border-radius:var(--r-xs);background:var(--surface);color:var(--text);font-family:ui-monospace,monospace;font-size:var(--fs-small);line-height:var(--lh-small);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;display:block}.settings-list{gap:var(--s-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.settings-row{justify-content:space-between;align-items:center;gap:var(--s-3);flex-wrap:wrap;display:flex}.settings-row-text{flex-direction:column;min-width:0;display:flex}.settings-row-name{font-size:var(--fs-body);line-height:var(--lh-body);font-weight:var(--fw-medium);overflow-wrap:anywhere}.settings-row-actions{gap:var(--s-2);flex-wrap:wrap;display:flex}.settings-confirm{flex:100%}.settings-details summary{min-height:var(--tap);color:var(--accent);cursor:pointer;align-items:center;display:flex}.settings-details{gap:var(--s-3);flex-direction:column;display:flex}.settings-foot{justify-content:center;display:flex}.repeats{gap:var(--s-6);width:100%;max-width:440px;padding:var(--s-8) var(--s-4) var(--s-6);flex-direction:column;flex:1;margin:0 auto;display:flex}.repeat-list{gap:var(--s-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.repeat-add{padding:var(--s-3) 0 var(--s-4);background:var(--bg);margin-top:auto;position:sticky;bottom:0}.repeat-row{min-height:var(--tap);padding:var(--s-3) var(--s-4);border-radius:var(--r-sm);background:var(--surface);box-shadow:var(--shadow-1);color:var(--text);font-size:var(--fs-body);line-height:var(--lh-body);align-items:center;text-decoration:none;display:flex}.repeat-row-sentence{overflow-wrap:anywhere;min-width:0}.repeat-row-paused{padding-left:var(--s-3);color:var(--text-2);font-size:var(--fs-small);white-space:nowrap;margin-left:auto}.repeat-body{gap:var(--s-4);flex-direction:column;display:flex}.repeat-offline{padding:var(--s-3) var(--s-4);border-radius:var(--r-xs);border-left:var(--s-1) solid var(--warn);background:var(--surface-2);color:var(--text);font-size:var(--fs-body);line-height:var(--lh-body);margin:0}.repeat-sentence{align-items:center;gap:var(--s-1) 0;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);flex-wrap:wrap;margin:0;display:flex}.repeat-picker{gap:var(--s-3);flex-direction:column;display:flex}.repeat-picker-title{font-size:var(--fs-small);line-height:var(--lh-small);font-weight:var(--fw-semibold);color:var(--text-2);margin:0}.repeat-pair{gap:var(--s-3);grid-template-columns:1fr 1fr;align-items:end;display:grid}.repeat-chips{gap:var(--s-2);flex-wrap:wrap;display:flex}.repeat-rule,.repeat-until{gap:var(--s-3);flex-direction:column;display:flex}.repeat-applies{align-items:flex-start;gap:var(--s-2);padding-top:var(--s-3);border-top:1px solid var(--line);flex-direction:column;display:flex}.repeat-applies-line{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text-2);margin:0}.repeat-pause{gap:var(--s-2);display:flex}.repeat-sentence .chip,.repeat-chips .chip{min-height:var(--tap)}:root{--font:"Inter", system-ui, -apple-system, "Segoe UI", roboto, sans-serif;--bg:#f6f5f1;--bg-side:#f1efea;--surface:#fcfbf9;--surface-2:#f0eee9;--surface-3:#e7e4de;--line:#28241c12;--line-strong:#28241c1f;--text:#24221f;--text-2:#615d56;--text-3:#6e6a63;--accent:#2f6e64;--accent-soft:#2f6e6417;--on-accent:#fff;--good:#4f8a63;--warn:#b3832f;--bad:#b5604f;--focus:0 0 0 3px #2f6e6447;--scrim:#1e1a1438;--shadow-1:0 1px 2px #1e1a140a, 0 1px 1px #1e1a1405;--shadow-2:0 12px 32px #1e1a141a, 0 2px 6px #1e1a140d;--s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:20px;--s-6:24px;--s-8:32px;--s-10:40px;--s-12:48px;--r-xs:8px;--r-sm:12px;--r-md:16px;--r-lg:20px;--r-full:999px;--fs-small:13px;--fs-body:15px;--fs-heading:17px;--fs-title:22px;--lh-small:18px;--lh-body:22px;--lh-heading:24px;--lh-title:28px;--fw-medium:500;--fw-semibold:600;--tap:44px;--ease:cubic-bezier(.2, .7, .2, 1);--t-fast:.15s;--t-base:.18s;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#161514;--bg-side:#131211;--surface:#1c1b1a;--surface-2:#222120;--surface-3:#2a2826;--line:#fff8eb0f;--line-strong:#fff8eb1a;--text:#e8e6e3;--text-2:#aba7a0;--text-3:#938f88;--accent:#79b8ab;--accent-soft:#79b8ab1c;--on-accent:#10201d;--good:#8fb596;--warn:#d1af6f;--bad:#d48e81;--focus:0 0 0 3px #79b8ab4d;--scrim:#00000073;--shadow-1:none;--shadow-2:0 18px 44px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#161514;--bg-side:#131211;--surface:#1c1b1a;--surface-2:#222120;--surface-3:#2a2826;--line:#fff8eb0f;--line-strong:#fff8eb1a;--text:#e8e6e3;--text-2:#aba7a0;--text-3:#938f88;--accent:#79b8ab;--accent-soft:#79b8ab1c;--on-accent:#10201d;--good:#8fb596;--warn:#d1af6f;--bad:#d48e81;--focus:0 0 0 3px #79b8ab4d;--scrim:#00000073;--shadow-1:none;--shadow-2:0 18px 44px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font);font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}#root{flex-direction:column;min-height:100dvh;display:flex}:focus-visible{box-shadow:var(--focus);outline:none}
