:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f3f2ef;--surface: #ffffff;--surface-strong: #ffffff;--card: #ffffff;--row: #f6f5f2;--ink: #1c1b19;--muted: #6f6c66;--line: #eeede9;--line-strong: #d6d3cd;--accent: #ea6a3a;--on-ink: #ffffff;--nav-height: 74px;--ink-faint: #aaa7a0;--track: #e4e2dd;--inset: #ebeae6;--chip-off: #ebeae6;--chip-ink: #aaa7a0;--chip-line: #cfccc6;--danger: #c2412d;--scrim: rgba(28, 27, 25, .3);--handle: #d6d3cd;--sheet-btn: #f0efeb;--nav-bg: rgba(243, 242, 239, .88);--frame: #e8e7e3;--check-line: #c4c1ba;--accent-ring: rgba(234, 106, 58, .45);--accent-soft: rgba(234, 106, 58, .08);--accent-edge: rgba(234, 106, 58, .32);--ink-tint: rgba(28, 27, 25, .14);--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -8px rgba(0, 0, 0, .09);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 3px 8px -3px rgba(0, 0, 0, .08);--lift: var(--shadow-sm);--raise: var(--shadow-sm);--raise-sm: var(--shadow-sm);--sheet-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .18);--frame-shadow: 0 0 60px rgba(0, 0, 0, .06);--toast-bg: #1f1e1b;--toast-ink: #f3f2ef;--toast-accent: #ff8a5c;--knob-on: #ffffff;--knob-off: #ffffff;--spring: cubic-bezier(.34, 1.56, .64, 1);--ease-out: cubic-bezier(.2, .8, .2, 1);color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;background:var(--bg);overscroll-behavior-y:none}button,input{font:inherit}input:focus{border-color:var(--line-strong);background:var(--card)}button{color:inherit}button{transition:scale .35s var(--spring),background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .25s ease,opacity .2s ease}button:active:not(:disabled){scale:.965;transition-duration:.08s}button,input{touch-action:manipulation}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-shell{width:100%;max-width:480px;min-height:100vh;min-height:100dvh;margin:0 auto;padding:calc(10px + env(safe-area-inset-top)) 16px calc(var(--nav-height) + 26px + env(safe-area-inset-bottom))}.topbar{min-height:54px;display:flex;align-items:center;justify-content:space-between}.brand{border:0;background:transparent;padding:0;font-size:24px;line-height:1;font-weight:800;letter-spacing:-.045em;cursor:pointer}.brand span{color:var(--accent)}.topbar-mark{font-size:11.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:600}main{min-height:calc(100dvh - 150px)}.screen{animation:screen-enter .2s ease-out}@keyframes screen-enter{0%{opacity:.45;transform:translateY(3px)}}.screen>*{animation:enter .5s var(--ease-out) backwards}.screen>:nth-child(2){animation-delay:.04s}.screen>:nth-child(3){animation-delay:.08s}.screen>:nth-child(4){animation-delay:.12s}.screen>:nth-child(5){animation-delay:.16s}.screen>:nth-child(n+6){animation-delay:.2s}@keyframes enter{0%{opacity:0;transform:translateY(10px)}}h1{margin:4px 0 20px;font-size:clamp(38px,12vw,54px);line-height:.98;font-weight:800;letter-spacing:-.05em}.eyebrow{margin-top:8px;color:var(--muted);font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.date-hero{margin-top:8px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.hero-date{display:flex;align-items:flex-end;gap:10px;min-width:0}.hero-left{display:flex;flex-direction:column;align-items:flex-end;min-width:0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.3;text-align:right;white-space:nowrap}.hero-left b{margin-bottom:3px;color:var(--ink);font-size:24px;line-height:1;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.hero-number{font-size:clamp(66px,21vw,84px);line-height:.8;font-weight:800;letter-spacing:-.055em;font-variant-numeric:tabular-nums}.hero-caption{display:flex;flex-direction:column;gap:3px;min-width:0}.hero-caption b{font-size:19px;line-height:1.15;font-weight:600;letter-spacing:-.02em}.hero-caption small{color:var(--muted);font-size:13.5px;font-weight:400}.year-track{height:3px;margin-top:14px;border-radius:99px;background:var(--track);overflow:hidden}.year-track i{display:block;height:100%;border-radius:inherit;background:var(--ink);transform-origin:left;animation:grow-x 1.1s var(--ease-out) .15s backwards}@keyframes grow-x{0%{transform:scaleX(0)}}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin:16px 0;padding:4px 0}.week-strip button{min-width:0;display:grid;place-items:center;gap:5px;padding:4px 0;border:0;border-radius:14px;background:transparent;cursor:pointer}.week-strip button:disabled{cursor:default}.week-strip span{font-size:11.5px;font-weight:600;letter-spacing:.04em;color:var(--muted);text-transform:uppercase}.week-strip b{position:relative;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--card);box-shadow:var(--shadow-sm);font-size:14.5px;font-weight:600}.week-strip b svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:rotate(-90deg)}.week-strip .ring-track,.week-strip .ring-fill{fill:none;stroke-width:2.4}.week-strip .ring-track{stroke:var(--line)}.week-strip .ring-fill{stroke:var(--ink);stroke-linecap:round;transition:stroke-dashoffset .8s var(--ease-out)}.week-strip .ring-fill[data-empty]{opacity:0}.week-strip .future .ring-track{stroke:var(--track);stroke-dasharray:2.4 3.4}.week-strip .future b{background:none;box-shadow:none}.week-strip .future em,.week-strip .future span{color:var(--ink-faint)}.week-strip em{position:relative;font-style:normal}.week-strip .today span{color:var(--accent)}.week-strip .today b{background:var(--accent);box-shadow:0 4px 12px -4px var(--accent-edge)}.week-strip .today em{color:#fff;font-weight:700}.week-strip .today .ring-track{stroke:#ffffff47}.week-strip .today .ring-fill{stroke:#fff}.week-strip .selected:not(.today){background:var(--inset)}.ring-pulse{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;pointer-events:none;animation:ring-glow .7s ease-out forwards}@keyframes ring-glow{0%{box-shadow:0 0 0 0 var(--accent-edge)}to{box-shadow:0 0 0 11px transparent}}.week-strip .today b:has(.ring-pulse){animation:pop .45s var(--spring)}@keyframes pop{40%{transform:scale(1.14)}}.week-strip i{height:11px;display:grid;place-items:center}.week-strip i .icon-check{width:11px;height:11px;stroke-width:3.4}.day-banner{margin:0 0 14px;padding:9px 9px 9px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:16px;background:var(--card);box-shadow:var(--shadow-sm);font-size:13px;font-weight:500}.day-banner button{flex:0 0 auto;padding:7px 12px;border:0;border-radius:99px;background:var(--ink);color:var(--on-ink);font-size:12px;font-weight:600;cursor:pointer}.medal-card{margin:2px 0 14px;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:20px;background:var(--ink);color:var(--on-ink);animation:enter .5s var(--spring) backwards}.medal-mark{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:2px solid var(--on-ink);border-radius:50%}.medal-mark .icon-check{width:18px;height:18px;stroke:var(--on-ink)}.medal-card strong{font-size:16px;font-weight:600}.content-block{margin-top:12px;padding:14px;border-radius:24px;background:var(--card);box-shadow:var(--shadow)}.section-header{margin:0 0 9px;display:flex;align-items:baseline;justify-content:space-between}.section-header h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em}.section-header span{color:var(--muted);font-size:11px;font-weight:600}.stack{display:flex;flex-direction:column;gap:8px}.stack.compact{gap:0}.check-row{width:100%;min-height:52px;border:0;border-top:1px solid var(--line);background:transparent;padding:8px 2px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer}.check-row:first-child{border-top:0}.check-row.done{color:var(--muted)}.check-circle{position:relative;flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border:1.5px solid var(--check-line);border-radius:50%;transition:background .2s ease,border-color .2s ease}.check-circle .icon-check{width:15px;height:15px;stroke:var(--on-ink);stroke-dashoffset:1;transition:stroke-dashoffset .26s ease-out}.check-row.done .check-circle{border-color:var(--ink);background:var(--ink)}.check-row.done .check-circle .icon-check{stroke-dashoffset:0}.check-row>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:15px;font-weight:400}.check-row small{color:var(--muted);font-size:12px}.goal-today+.goal-today{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.empty{padding:14px 2px;color:var(--muted);font-size:12px}.progress-heading{margin-top:12px}.progress-heading h1{margin-bottom:16px;font-size:clamp(33px,9vw,44px)}.period-switch,.segmented{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px;padding:4px;border-radius:16px;background:var(--inset)}.period-switch{margin:10px 0 18px}.segmented{margin:14px 0}.period-switch button,.segmented button{position:relative;min-height:40px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:14px;font-weight:500;cursor:pointer}.period-switch button.active,.segmented button.active{color:var(--ink)}.segmented-thumb{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px - (var(--n) - 1) * 2px) / var(--n));border-radius:12px;background:var(--card);box-shadow:var(--shadow-sm);transform:translate(calc(var(--idx) * (100% + 2px)));transition:transform .45s var(--spring)}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.summary-card{min-height:116px;display:flex;flex-direction:column;padding:16px;border-radius:22px;background:var(--card);box-shadow:var(--shadow)}.summary-card>span{font-size:11.5px;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}.summary-card strong{margin-top:6px;font-size:34px;line-height:1;font-weight:800;letter-spacing:-.045em}.summary-card small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.35}.summary-grid.one-up{grid-template-columns:1fr}.summary-grid.one-up .summary-card{min-height:0}.progress-bar{height:4px;margin-top:auto;overflow:hidden;border-radius:99px;background:var(--track)}.progress-bar i{display:block;height:100%;border-radius:inherit;background:var(--ink);transform-origin:left;animation:grow-x .9s var(--ease-out) .2s backwards}.progress-list{display:flex;flex-direction:column;gap:0}.goal-progress-row{padding:11px 1px;border-top:1px solid var(--line)}.goal-progress-row:first-child{border-top:0}.goal-progress-copy{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.goal-progress-copy strong{font-size:15px;font-weight:500}.goal-progress-copy span{color:var(--muted);font-size:12px}.goal-progress-row .progress-bar{margin-top:8px}.calendar-head,.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar-head{margin:18px 0 7px;padding:0 2px;text-align:center;color:var(--muted);font-size:11px;font-weight:700}.month-day{position:relative;aspect-ratio:1;max-width:100%;min-width:0;display:grid;place-items:center;overflow:hidden;border-radius:11px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.month-day>span{position:relative}.month-day.is-partial{background:var(--card);box-shadow:var(--shadow-sm)}.month-fill{position:absolute;left:0;right:0;bottom:0;background:var(--ink-tint);transition:height .5s ease}.month-day.is-medal{background:var(--ink);color:var(--on-ink)}.month-day.is-future{color:var(--ink-faint);outline:1.5px dashed var(--line-strong);outline-offset:-1.5px}.month-day.is-untracked{color:var(--ink-faint);font-weight:500}.month-day.is-today{box-shadow:inset 0 0 0 2px var(--accent)}.legend .month-day{width:14px;height:14px;border-radius:4px;display:inline-block}.legend .month-day.is-untracked{box-shadow:inset 0 0 0 1px var(--line)}.year-title{display:flex;justify-content:space-between;align-items:flex-end;gap:14px}.year-title h1{margin-bottom:0}.year-title>div{padding-bottom:4px;display:flex;flex-direction:column;text-align:right}.year-title strong{font-size:28px;letter-spacing:-.05em}.year-title span{color:var(--muted);font-size:12px}.month-card{min-height:88px;padding:12px;display:flex;flex-direction:column;gap:4px;border-radius:16px;background:var(--row)}.month-card strong{font-size:12px;font-weight:600}.month-card span{color:var(--muted);font-size:12px}.month-bar{height:3px;margin-top:auto;overflow:hidden;border-radius:99px;background:var(--track)}.month-bar i{display:block;height:100%;background:var(--ink)}.life-screen h1{margin-bottom:8px}.add-new{width:100%;min-height:52px;margin-bottom:12px;border:0;border-radius:18px;background:var(--card);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:600;cursor:pointer}.add-new span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:16px;line-height:1}.tab-pane{animation:slide-in .42s var(--ease-out) backwards}.tab-pane.from-right{--from: 28px}.tab-pane.from-left{--from: -28px}@keyframes slide-in{0%{opacity:0;transform:translate(var(--from))}}.life-groups{display:flex;flex-direction:column;gap:16px;margin-bottom:8px}.life-group-label{margin:0 6px 7px;color:var(--muted);font-size:11.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.inset-list{margin:0;padding:0;list-style:none;overflow:hidden;border-radius:20px;background:var(--card);box-shadow:var(--shadow)}.inset-row{min-height:58px;padding:0 14px 0 0;display:flex;align-items:center;gap:10px}.inset-row+.inset-row{box-shadow:inset 0 1px 0 var(--line)}.inset-row-main{flex:1;min-width:0;align-self:stretch;padding:10px 0 10px 16px;border:0;background:transparent;display:flex;flex-direction:column;justify-content:center;gap:2px;text-align:left;cursor:pointer}.inset-row-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:400;transition:color .25s ease}.inset-row-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12.5px}.inset-row.is-off .inset-row-main strong,.inset-row.is-off .inset-row-main small{color:var(--ink-faint)}.inset-row-meta{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.switch{position:relative;flex:none;width:46px;height:28px;border:0;border-radius:999px;background:var(--check-line);cursor:pointer}.switch:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:999px;background:var(--knob-off);box-shadow:0 1px 3px #00000038;transition:transform .45s var(--spring),width .2s ease,background .25s ease}.switch[aria-checked=true]{background:var(--ink)}.switch[aria-checked=true]:after{transform:translate(18px);background:var(--knob-on)}.switch:active:after{width:27px}.switch[aria-checked=true]:active:after{transform:translate(13px)}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:flex-end;justify-content:center;padding-top:env(safe-area-inset-top);background:var(--scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade-in .25s ease both}.editor-sheet{animation:sheet-up .5s cubic-bezier(.2,1.1,.3,1) both;width:100%;max-width:480px;max-height:min(86dvh,760px);overflow-y:auto;padding:10px 16px calc(20px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:var(--card);box-shadow:var(--sheet-shadow)}.sheet-handle{width:36px;height:5px;margin:0 auto 12px;border-radius:99px;background:var(--handle)}.sheet-header{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.sheet-header strong{font-size:21px;font-weight:700;letter-spacing:-.03em}.sheet-header button{width:44px;height:44px;border:0;border-radius:50%;background:var(--sheet-btn);font-size:22px;cursor:pointer}.field{margin-top:12px;display:flex;flex-direction:column;gap:7px}.field>span{color:var(--muted);font-size:11.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}input{width:100%;min-height:48px;border:1px solid transparent;border-radius:14px;background:var(--row);padding:0 14px;color:var(--ink);outline:0;font-size:16px;transition:border-color .2s ease,background-color .2s ease}.date-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.date-fields input,.field input[type=date],.field input[type=time]{min-width:0;width:100%;box-sizing:border-box}.form-hint{margin:10px 0 0;font-size:13px;color:var(--muted);text-align:center}.primary:disabled{opacity:.45;cursor:default}.weekday-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.weekday-picker button{aspect-ratio:1;min-width:0;border:0;border-radius:50%;background:var(--row);color:var(--ink-faint);font-size:13px;font-weight:600;cursor:pointer}.weekday-picker button.active{background:var(--ink);color:var(--on-ink)}.primary{width:100%;min-height:52px;margin-top:16px;border:0;border-radius:16px;background:var(--ink);color:var(--on-ink);font-size:16px;font-weight:600;cursor:pointer}.danger-link{width:100%;min-height:44px;margin-top:9px;border:0;background:transparent;color:var(--danger);font-size:13px;font-weight:500;cursor:pointer}.editor-divider{height:1px;margin:18px 0 4px;background:var(--line)}.editor-task-list .check-row{border-bottom:1px solid var(--line);border-top:0}.task-add{margin-top:9px;display:grid;grid-template-columns:1fr 48px;gap:7px}.task-add button{border:0;border-radius:14px;background:var(--ink);color:var(--on-ink);font-size:21px;cursor:pointer}.utility-section{margin-top:28px;padding-top:13px;border-top:1px solid var(--line)}.utility-row,.ios-hint{width:100%;min-height:58px;padding:10px 1px;border:0;border-bottom:1px solid var(--line);background:transparent;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.utility-row{cursor:pointer}.utility-row span,.ios-hint{display:flex;flex-direction:column;align-items:flex-start}.utility-row strong,.ios-hint strong{font-size:14px;font-weight:500}.utility-row small,.ios-hint span{margin-top:2px;color:var(--muted);font-size:12px}.utility-row i{color:var(--muted);font-size:20px;font-style:normal}.backup-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.backup-actions button{min-height:46px;border:0;border-radius:14px;background:var(--row);font-size:13px;font-weight:500;cursor:pointer}.bottom-nav{position:fixed;z-index:10;left:50%;bottom:0;transform:translate(-50%);width:min(480px,100%);min-height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:7px 10px calc(7px + env(safe-area-inset-bottom));display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:var(--nav-bg);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-nav button{min-height:56px;border:0;border-radius:14px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ink-faint);font-size:11.5px;font-weight:500;cursor:pointer}.bottom-nav button.active{color:var(--ink);font-weight:600}.nav-icon{position:relative;display:grid}.bottom-nav button.active .nav-icon svg{animation:hop .5s var(--spring)}@keyframes hop{35%{transform:translateY(-4px) scale(1.12)}70%{transform:translateY(1px) scale(.97)}}.nav-badge{position:absolute;top:-2px;right:-4px;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--bg);animation:pop .45s var(--spring)}.bottom-nav button.active .fill{fill:currentColor}.bottom-nav button.active .cut{stroke:var(--bg)}.bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}@media(min-width:481px){body{background:var(--frame)}.app-shell{min-height:100dvh;background:var(--bg);box-shadow:var(--frame-shadow)}}@media(max-width:370px){.app-shell{padding-left:13px;padding-right:13px}.hero-number{font-size:42px}.hero-caption b{font-size:12px}.summary-card{padding:12px}.months-grid{grid-template-columns:repeat(2,1fr)}}.screen-loader{min-height:48vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.screen-loader span{width:28px;height:28px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:loader-spin .7s linear infinite}.screen-loader small{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}@keyframes loader-spin{to{transform:rotate(360deg)}}.topbar-menu{width:40px;height:40px;border:0;border-radius:50%;background:var(--card);box-shadow:var(--shadow-sm);display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer}.data-sheet-copy{display:flex;flex-direction:column;gap:4px;padding:4px 0 10px}.data-sheet-copy strong{font-size:13px}.data-sheet-copy span{color:var(--muted);font-size:11px;line-height:1.45}.accordion-header{width:100%;min-height:32px;padding:0;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.accordion-header h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em}.accordion-header-right{display:flex;align-items:center;gap:8px}.accordion-header-right b{color:var(--muted);font-size:13.5px;font-weight:400;font-variant-numeric:tabular-nums}.icon-chevron{width:16px;height:16px;flex:none;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-90deg);transition:transform .4s var(--spring)}[aria-expanded=true] .icon-chevron{transform:rotate(0)}.icon-chevron-right{width:16px;height:16px;flex:none;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.accordion-content{padding-top:8px}.collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .38s var(--ease-out),opacity .3s ease}.collapse.open{grid-template-rows:1fr;opacity:1}.collapse-inner{min-height:0;overflow:hidden}.nested-accordion{padding:0;border-top:1px solid var(--line)}.nested-accordion:first-child{border-top:0}.goal-accordion-header{width:100%;min-height:48px;padding:8px 1px;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.goal-accordion-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.goal-accordion-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500}.goal-accordion-copy small{color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums}.goal-today.is-idle .goal-accordion-header{cursor:default;color:var(--muted)}.goal-progress-row.is-idle .goal-progress-copy strong{color:var(--muted)}.goal-task-list{padding-bottom:2px}.quarters-list{display:flex;flex-direction:column;gap:12px}.quarter-card{padding:14px;border-radius:24px;background:var(--card);box-shadow:var(--shadow)}.quarter-card.current{box-shadow:var(--shadow),inset 0 0 0 1.5px var(--accent-edge)}.quarter-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.quarter-header>div:first-child{min-width:0;display:flex;flex-direction:column;gap:3px}.quarter-header strong{font-size:20px;font-weight:700;letter-spacing:-.03em}.quarter-header span{color:var(--muted);font-size:12px;font-weight:500}.quarter-meta{display:flex;flex-direction:column;align-items:flex-end;gap:1px}.quarter-meta b{font-size:16px}.quarter-meta span{color:var(--muted);font-size:11px}.quarter-months{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quarter-progress{margin-top:9px;padding-top:8px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.routine-timeline{display:flex;flex-direction:column}.icon-check{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}.task-check{position:relative;flex:none;width:28px;height:28px;display:grid;place-items:center;border:1.5px solid var(--check-line);border-radius:50%;transition:background .2s ease,border-color .2s ease}.task-check .icon-check{stroke:var(--on-ink);stroke-dashoffset:1}.is-done .task-check,.is-ticking .task-check,.anytime-row.done .task-check{border-color:var(--ink);background:var(--ink)}.is-done .task-check .icon-check,.is-ticking .task-check .icon-check,.anytime-row.done .task-check .icon-check{stroke-dashoffset:0}.is-ticking .task-check{animation:tick-pop .42s var(--spring)}.is-ticking .task-check .icon-check{transition:stroke-dashoffset .26s .05s ease-out}@keyframes tick-pop{40%{transform:scale(1.22)}}.is-ticking .task-check:after{content:"";position:absolute;top:-1.5px;right:-1.5px;bottom:-1.5px;left:-1.5px;border:2px solid var(--ink);border-radius:50%;pointer-events:none;animation:ripple .6s ease-out forwards}@keyframes ripple{0%{opacity:.45;transform:scale(1)}to{opacity:0;transform:scale(2.1)}}.done-pill{width:100%;min-height:46px;margin-bottom:4px;padding:0 14px 0 11px;border:0;border-radius:16px;background:var(--row);display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500;text-align:left;cursor:pointer}.done-pill:disabled{cursor:default}.done-pill .icon-chevron{margin-left:auto}.done-pill-mark{flex:none;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--ink)}.done-pill-mark .icon-check{width:13px;height:13px;stroke:var(--on-ink)}.done-pill-count{display:inline-block;margin-left:5px;font-weight:700;font-variant-numeric:tabular-nums;animation:count-bump .45s var(--spring)}@keyframes count-bump{40%{transform:scale(1.3);color:var(--accent)}}.done-list{margin:6px 0 4px}.timeline-list{position:relative;margin:12px 0 0;padding:0;list-style:none}.timeline-list:before{content:"";position:absolute;left:53.5px;top:14px;bottom:14px;width:1px;background:var(--track)}.timeline-item{display:grid;grid-template-rows:1fr;transition:grid-template-rows .4s var(--ease-out),opacity .25s ease,translate .4s var(--ease-out)}.timeline-item.is-leaving{grid-template-rows:0fr;opacity:0;translate:14px 0}.timeline-item-inner{min-height:0;overflow:hidden;display:grid;grid-template-columns:40px 12px minmax(0,1fr);align-items:center;gap:0 8px}.timeline-gap{height:5px}.timeline-gap.is-long{position:relative;height:34px}.timeline-gap.is-long:before{content:"";position:absolute;left:53.5px;top:0;bottom:0;width:1px;background:repeating-linear-gradient(to bottom,var(--card) 0 3px,transparent 3px 7px)}.timeline-item time{color:var(--muted);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;text-align:right}.timeline-dot{position:relative;z-index:1;justify-self:center;width:9px;height:9px;border:1.5px solid var(--ink-faint);border-radius:50%;background:var(--card);transition:background .3s ease,border-color .3s ease}.timeline-task{width:100%;min-height:48px;padding:8px 9px 8px 13px;border:1px solid transparent;border-radius:16px;background:var(--row);display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.timeline-task:disabled{cursor:default}.timeline-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.timeline-copy strong{font-size:15px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}.is-missed .timeline-task{border:1px dashed var(--line-strong);background:none}.is-missed .timeline-copy strong{color:var(--muted)}.is-missed .task-check{border-style:dashed}.is-missed .timeline-dot{border-color:var(--ink-faint)}.is-due .timeline-task{border-color:var(--accent-edge);background:var(--accent-soft)}.is-due .task-check{border-color:var(--accent)}.is-due .timeline-dot{border-color:var(--accent);background:var(--accent)}.is-next .timeline-task{border-color:var(--line);background:var(--card);box-shadow:var(--shadow-sm)}.is-next .timeline-dot{border-color:var(--ink)}.is-done .timeline-task{border-color:transparent}.is-done .timeline-copy strong{color:var(--muted);font-weight:400;text-decoration:line-through;text-decoration-color:var(--ink-faint)}.is-done .timeline-dot,.is-ticking .timeline-dot{border-color:var(--ink);background:var(--ink)}.timeline-task:disabled .task-check{opacity:.45;border-style:dashed}.is-ticking .timeline-task:disabled .task-check{opacity:1;border-style:solid}.now-marker{position:relative;z-index:2;margin:6px 0;display:grid;grid-template-columns:40px 12px minmax(0,1fr);align-items:center;gap:0 8px;pointer-events:none}.now-marker time{color:var(--accent);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.now-dot{position:relative;justify-self:center;width:11px;height:11px;border-radius:50%;background:var(--accent)}.now-dot:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:var(--accent);animation:halo 2.4s ease-out infinite}@keyframes halo{0%{opacity:.55;transform:scale(1)}to{opacity:0;transform:scale(3)}}.now-line{height:1.5px;border-radius:99px;background:var(--accent);opacity:.75}.anytime-list{display:flex;flex-direction:column}.anytime-row{width:100%;min-height:50px;padding:7px 4px;border:0;border-top:1px solid var(--line);background:transparent;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:10px;text-align:left;cursor:pointer}.anytime-row:first-child{border-top:0}.anytime-row>span:first-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:15px;line-height:1.3;font-weight:500}.anytime-row.done>span:first-child{color:var(--muted);text-decoration:line-through}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 16px;border-left:3px solid var(--accent);border-radius:16px;background:var(--card);box-shadow:var(--shadow)}.error-banner div{display:flex;flex-direction:column;gap:3px;min-width:0}.error-banner strong{font-size:14px;letter-spacing:-.01em}.error-banner span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.error-banner button{flex:none;padding:8px 14px;border:0;border-radius:999px;background:var(--row);font-size:13px;font-weight:500}:root[data-theme=dark]{--bg: #121211;--surface: #1d1c1a;--surface-strong: #242320;--card: #1d1c1a;--row: #242320;--ink: #f3f2ef;--muted: #a3a09a;--line: #2b2a27;--line-strong: #45423d;--accent: #f3875c;--on-ink: #121211;--ink-faint: #6d6a64;--track: #3a3834;--inset: #2a2926;--chip-off: #2a2926;--chip-ink: #6d6a64;--chip-line: #4d4a45;--danger: #f08a78;--scrim: rgba(0, 0, 0, .55);--handle: #45423d;--sheet-btn: #2a2926;--nav-bg: rgba(18, 18, 17, .88);--frame: #0b0b0a;--check-line: #57534d;--accent-ring: rgba(243, 135, 92, .5);--accent-soft: rgba(243, 135, 92, .1);--accent-edge: rgba(243, 135, 92, .38);--ink-tint: rgba(243, 242, 239, .17);--shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -10px rgba(0, 0, 0, .7);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);--sheet-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .7);--frame-shadow: 0 0 60px rgba(0, 0, 0, .5);--toast-bg: #f3f2ef;--toast-ink: #121211;--toast-accent: #c9501f;--knob-on: #121211;--knob-off: #ffffff;color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #121211;--surface: #1d1c1a;--surface-strong: #242320;--card: #1d1c1a;--row: #242320;--ink: #f3f2ef;--muted: #a3a09a;--line: #2b2a27;--line-strong: #45423d;--accent: #f3875c;--on-ink: #121211;--ink-faint: #6d6a64;--track: #3a3834;--inset: #2a2926;--chip-off: #2a2926;--chip-ink: #6d6a64;--chip-line: #4d4a45;--danger: #f08a78;--scrim: rgba(0, 0, 0, .55);--handle: #45423d;--sheet-btn: #2a2926;--nav-bg: rgba(18, 18, 17, .88);--frame: #0b0b0a;--check-line: #57534d;--accent-ring: rgba(243, 135, 92, .5);--accent-soft: rgba(243, 135, 92, .1);--accent-edge: rgba(243, 135, 92, .38);--ink-tint: rgba(243, 242, 239, .17);--shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -10px rgba(0, 0, 0, .7);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);--sheet-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .7);--frame-shadow: 0 0 60px rgba(0, 0, 0, .5);--toast-bg: #f3f2ef;--toast-ink: #121211;--toast-accent: #c9501f;--knob-on: #121211;--knob-off: #ffffff;color-scheme:dark}}.theme-field{margin:0}.note-card .goal-accordion-copy strong{font-size:17px;font-weight:600;letter-spacing:-.01em;white-space:normal;overflow:visible}.note-card .goal-accordion-copy small{font-size:12px}.notes-list{display:flex;flex-direction:column;gap:10px}.note-card{border-radius:22px;background:var(--card);box-shadow:var(--shadow);overflow:hidden}.note-card-head{display:flex;align-items:center}.note-card-head .goal-accordion-header{flex:1;min-width:0;padding-left:16px}.note-menu{flex:0 0 44px;width:44px;height:44px;margin-right:8px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:17px;line-height:1;cursor:pointer}.note-menu:hover{background:var(--inset);color:var(--ink)}.note-entries{padding:0 14px 12px 16px;display:flex;flex-direction:column}.note-entry{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 2px;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;font-size:15px;font-weight:400;cursor:pointer}.note-entry span{min-width:0;overflow-wrap:anywhere;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.entry-textarea{width:100%;min-height:140px;padding:12px 14px;border:0;border-radius:14px;background:var(--row);color:var(--ink);font:inherit;font-size:16px;line-height:1.4;resize:none}.note-entry i{flex:none;font-style:normal}.note-entry.is-made>span{color:var(--muted)}.entry-mark{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--inset);color:var(--muted)}.entry-mark.is-fresh{background:var(--accent-soft);color:var(--accent);animation:pop .5s var(--spring)}.icon-line{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.entry-edit{display:flex;gap:8px;margin-bottom:14px}.icon-button{flex:none;width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:14px;background:var(--row);cursor:pointer}.icon-button.danger{color:var(--danger)}.icon-button .icon-line{width:18px;height:18px}.make-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.make-tile{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1.5px solid var(--line);border-radius:18px;background:var(--card);font-size:14px;font-weight:500;cursor:pointer}.make-tile .icon-line{width:21px;height:21px}.make-tile[aria-pressed=true]{border-color:var(--ink);background:var(--row)}.make-tile[aria-pressed=true] .icon-line{animation:hop .45s var(--spring)}.make-tile:disabled{opacity:.35;cursor:default}.make-options{display:grid;gap:12px;padding-top:14px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{min-height:36px;padding:0 14px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;background:var(--row);color:var(--muted);font-size:14px;font-weight:500;cursor:pointer}.chip small{font-size:12.5px;font-weight:400;opacity:.75;font-variant-numeric:tabular-nums}.chip[aria-pressed=true]{background:var(--ink);color:var(--on-ink)}.make-time{width:auto;align-self:start}.span-line{position:relative;height:44px;margin:4px 8px 0}.span-track,.span-fill{position:absolute;left:0;top:7px;height:4px;border-radius:4px}.span-track{right:0;background:var(--line)}.span-fill{background:var(--ink);transition:width .5s var(--spring)}.span-fill:before,.span-fill:after{content:"";position:absolute;top:-4px;width:12px;height:12px;border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 3px var(--ink)}.span-fill:before{left:-6px}.span-fill:after{right:-6px}.span-date{position:absolute;top:22px;left:0;color:var(--muted);font-size:12.5px;white-space:nowrap;font-variant-numeric:tabular-nums}.span-date.is-end{transform:translate(-100%);color:var(--ink);font-weight:500;transition:left .5s var(--spring)}.make-create{animation:enter .35s var(--ease-out) backwards}.note-entries .task-add{margin-top:10px}.field-error{margin-top:10px;font-size:12px;color:var(--danger)}.primary:disabled{opacity:.45;cursor:not-allowed}.streak-chip{height:34px;padding:0 12px 0 9px;display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:var(--card);box-shadow:var(--shadow-sm);font-size:13.5px;font-weight:500;font-variant-numeric:tabular-nums}.icon-streak{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.day-body{touch-action:pan-y}.week-summary{margin-bottom:14px;padding:16px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:4px 14px;border-radius:24px;background:var(--card);box-shadow:var(--shadow)}.summary-label{color:var(--muted);font-size:11.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.week-summary-copy strong{display:block;margin-top:4px;font-size:38px;line-height:1;font-weight:800;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.week-summary-copy small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.day-bars{height:58px;display:flex;align-items:flex-end;gap:5px}.day-bars span{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.day-bars i{width:8px;max-height:40px;border-radius:4px;background:var(--ink);transform-origin:bottom;transition:height .5s var(--ease-out);animation:grow-y .7s var(--spring) backwards}.day-bars span:nth-child(2) i{animation-delay:.04s}.day-bars span:nth-child(3) i{animation-delay:.08s}.day-bars span:nth-child(4) i{animation-delay:.12s}.day-bars span:nth-child(5) i{animation-delay:.16s}.day-bars span:nth-child(6) i{animation-delay:.2s}.day-bars span:nth-child(7) i{animation-delay:.24s}@keyframes grow-y{0%{transform:scaleY(0)}}.day-bars i.is-partial{background:var(--ink-tint)}.day-bars i.is-future{height:32px;background:none;outline:1.5px dashed var(--line-strong);outline-offset:-1.5px}.day-bars i.is-untracked{width:5px;height:5px;margin-bottom:2px;border-radius:50%;background:var(--line-strong)}.day-bars em{color:var(--muted);font-size:11px;font-style:normal;font-weight:700}.day-bars .is-today em{color:var(--accent)}.heatmap-head,.heatmap-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(7,17px) 32px;align-items:center;gap:4px}.heatmap-head span{color:var(--muted);font-size:11px;font-weight:700;text-align:center}.heatmap-head .is-today{color:var(--accent)}.heatmap-group-label{margin:12px 2px 3px;color:var(--muted);font-size:11.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.heatmap-row{padding:6px 0;border-top:1px solid var(--line)}.heatmap-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:500}.heatmap-score{color:var(--muted);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.heat-cell{position:relative;width:17px;height:17px;border-radius:5px}.heat-cell.is-done{background:var(--ink)}.heat-cell.is-missed{box-shadow:inset 0 0 0 1.5px var(--line-strong);background:repeating-linear-gradient(135deg,transparent 0 3px,var(--line-strong) 3px 4.5px)}.heat-cell.is-ahead{outline:1.5px dashed var(--line-strong);outline-offset:-1.5px}.heat-cell.is-off:after{content:"";position:absolute;top:6.5px;right:6.5px;bottom:6.5px;left:6.5px;border-radius:50%;background:var(--line-strong)}.legend{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--muted);font-size:12px}.legend span{display:inline-flex;align-items:center;gap:6px}.legend .heat-cell{width:12px;height:12px;border-radius:3px}.legend .heat-cell.is-off:after{top:4px;right:4px;bottom:4px;left:4px}.celebration{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:16px;background:var(--scrim);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fade-in .2s ease both;cursor:pointer}.celebration-card{width:min(260px,100%);padding:26px 20px 22px;display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:28px;background:var(--card);box-shadow:var(--shadow);text-align:center;animation:rise .5s cubic-bezier(.2,.8,.2,1.15) both}.celebration-card strong{font-size:22px;font-weight:800;letter-spacing:-.035em}.celebration-card>span{color:var(--muted);font-size:13px}.celebration-card em{margin-top:10px;padding:6px 12px;border-radius:999px;background:var(--row);font-size:13px;font-style:normal;font-weight:600}.celebration-ring{position:relative;width:96px;height:96px;margin-bottom:10px}.celebration-ring svg{position:absolute;top:0;right:0;bottom:0;left:0;transform:rotate(-90deg)}.celebration-ring .track{fill:none;stroke:var(--line);stroke-width:6}.celebration-ring .fill{fill:none;stroke:var(--ink);stroke-width:6;stroke-linecap:round;animation:ring-close .7s .15s cubic-bezier(.3,.7,.2,1) forwards}.celebration-tick{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.celebration-tick .icon-check{width:40px;height:40px;stroke:var(--ink);stroke-width:3.2;stroke-dashoffset:1;animation:draw .32s .8s ease-out forwards}.celebration-burst i{position:absolute;left:45px;top:45px;width:6px;height:6px;border-radius:50%;background:var(--ink);opacity:0;animation:burst .75s .85s ease-out forwards}.celebration-burst i:nth-child(2n){background:var(--accent)}@keyframes ring-close{to{stroke-dashoffset:0}}@keyframes draw{to{stroke-dashoffset:0}}@keyframes burst{0%{opacity:1;transform:rotate(var(--angle)) translateY(0)}to{opacity:0;transform:rotate(var(--angle)) translateY(-74px)}}@keyframes rise{0%{opacity:0;transform:translateY(24px) scale(.96)}}@keyframes fade-in{0%{opacity:0}}@keyframes sheet-up{0%{transform:translateY(100%)}}.undo-toast{position:fixed;z-index:30;left:50%;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 12px);width:min(448px,calc(100% - 24px));transform:translate(-50%);padding:12px 10px 14px 16px;display:flex;align-items:center;gap:10px;overflow:hidden;border-radius:16px;background:var(--toast-bg);color:var(--toast-ink);box-shadow:0 14px 30px -8px #00000073;font-size:13.5px;font-weight:600;animation:toast-in .3s cubic-bezier(.2,.8,.2,1) both}.undo-toast span{flex:1;min-width:0;overflow-wrap:anywhere}.undo-toast button{flex:none;padding:6px 8px;border:0;background:none;color:var(--toast-accent);font-size:14px;font-weight:700;cursor:pointer}.undo-toast-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--toast-accent);transform-origin:left;animation:drain linear forwards}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,16px)}}@keyframes drain{to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;transition-delay:0ms!important}}.cloud-panel{display:grid;gap:10px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line, rgba(128, 128, 128, .25))}.cloud-panel input{font:inherit;padding:12px 14px;border-radius:12px;border:1px solid var(--line, rgba(128, 128, 128, .35));background:transparent;color:inherit}.cloud-error{color:#c0392b;font-size:.9rem}.welcome{display:grid;align-content:center;gap:18px;min-height:100dvh;padding:24px 16px}.welcome .brand{font-size:2.4rem;margin:0}.welcome-title{margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em}.welcome-lead{margin:0;opacity:.8}.welcome-form{border-bottom:0;margin:0;padding:0}.cloud-panel input{border-color:var(--line-strong);background:var(--surface)}.cloud-panel input:focus{outline:2px solid var(--accent);outline-offset:1px}.cloud-panel .backup-actions button.primary{background:var(--accent);color:#fff;font-weight:600}.cloud-panel .backup-actions button:disabled{opacity:.6}.welcome-form .backup-actions{grid-template-columns:1fr}.topbar-right{display:flex;align-items:center;gap:12px}.topbar-avatar{padding:0;border:0;border-radius:50%;background:transparent;line-height:0;cursor:pointer;box-shadow:var(--shadow-sm)}.avatar{display:inline-block;border-radius:50%;background:var(--card);overflow:hidden}.avatar i{display:block;width:100%;height:100%;background:var(--ink);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}.profile-form{display:grid;gap:14px}.avatar-picker{display:flex;justify-content:center;gap:8px}.avatar-picker button{padding:3px;border:2px solid transparent;border-radius:50%;background:transparent;line-height:0;cursor:pointer}.avatar-picker button.selected{border-color:var(--accent)}.profile-field{display:grid;gap:6px;font-size:13px;color:var(--muted)}.profile-field input{font:inherit;font-size:16px;color:var(--ink, inherit);padding:12px 14px;border-radius:12px;border:1px solid var(--line-strong);background:var(--surface)}.profile-field input:focus{outline:2px solid var(--accent);outline-offset:1px}.profile-reminders{border:1px solid var(--line-strong);border-radius:14px;background:var(--surface)}.profile-reminders-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.profile-reminders-toggle span{display:grid;gap:1px}.profile-reminders-toggle small{font-size:12px;color:var(--muted)}.profile-reminders-toggle strong{font-size:15px}.profile-reminder-options{display:grid;gap:6px;padding:0 8px 8px}.profile-reminder-options label{display:flex;gap:12px;align-items:flex-start;padding:10px;border-radius:10px;cursor:pointer}.profile-reminder-options label.selected{background:var(--row)}.profile-reminder-options label span{display:grid;gap:2px}.profile-reminder-options small{color:var(--muted);font-size:12px}.profile-reminder-options input[type=radio]{flex:none;width:18px;height:18px;min-height:0;padding:0;margin-top:2px;accent-color:var(--accent)}.profile-note{font-size:13px;color:var(--muted)}.profile-sync{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.profile-sync button{border:0;background:none;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}:root{--gold: #d99a14;--silver: #8798ac;--bronze: #bf6f3a}.icon-medal{width:1em;height:1em;flex:none}.icon-medal path{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-medal.tier-gold{color:var(--gold)}.icon-medal.tier-silver{color:var(--silver)}.icon-medal.tier-bronze{color:var(--bronze)}.icon-medal.inline{margin-right:4px;vertical-align:-2px}.week-strip .tier-gold .ring-fill{stroke:var(--gold)}.week-strip .tier-silver .ring-fill{stroke:var(--silver)}.week-strip .tier-bronze .ring-fill{stroke:var(--bronze)}.week-strip i .icon-medal{width:11px;height:11px}.done-pill-mark.has-tier{background:transparent}.done-pill-mark .icon-medal{width:100%;height:100%}.tier-badge{display:inline-flex;align-items:center;gap:4px;margin-left:8px;font-size:12px;font-weight:600;vertical-align:middle}.tier-badge.tier-gold{color:var(--gold)}.tier-badge.tier-silver{color:var(--silver)}.tier-badge.tier-bronze{color:var(--bronze)}.tier-badge .icon-medal{width:14px;height:14px}.month-day.is-medal.tier-gold{background:var(--gold);color:#fff}.month-day.is-partial.tier-silver{background:var(--silver);color:#fff}.month-day.is-partial.tier-bronze{background:var(--bronze);color:#fff}.summary-grid.three-up{grid-template-columns:repeat(3,1fr)}.card-banner{margin:2px 0 14px;padding:14px;border-radius:20px;background:var(--card);box-shadow:var(--shadow-sm);animation:enter .4s var(--spring) backwards}.card-banner p{margin:4px 0 0;font-size:14px;line-height:1.4;color:var(--muted)}.card-banner-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.card-banner-deadline{font-size:12px;color:var(--muted)}.card-banner-tier{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}.card-backs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.card-back{min-height:88px;border:1.5px dashed var(--line-strong);border-radius:16px;background:var(--row);color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer;display:grid;grid-template-rows:1fr auto;justify-items:center;align-items:center;gap:6px;padding:12px 6px 10px;transition:transform .2s var(--spring),border-color .2s}.card-back:active{transform:scale(.97)}.card-back:disabled{opacity:.6}.star-row{display:inline-flex;gap:3px;color:var(--accent)}.star-row svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}.card-banner-tier{display:inline-flex;align-items:center;gap:8px}.card-banner-tier .star-row svg{width:13px;height:13px}.card-banner-title{display:block;margin-top:8px;font-size:18px}.card-banner-done{margin-top:12px;width:100%;min-height:44px;border:0;border-radius:14px;background:var(--ink);color:var(--on-ink);font:inherit;font-weight:600;cursor:pointer}.card-banner.is-done{display:flex;align-items:center;gap:12px;padding:10px 14px;box-shadow:none;background:var(--row)}.card-banner.is-done span:last-child{display:grid}.card-banner.is-done small{color:var(--muted)}.card-banner-check{flex:none;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--ink)}.card-banner-check .icon-check{width:13px;height:13px;stroke:var(--on-ink)}.tier-badge{letter-spacing:0;text-transform:none}.card-counters{margin-top:16px}.card-counters .summary-card{padding-inline:12px}.card-banner.is-fold{padding:0}.card-banner-toggle{width:100%;display:flex;align-items:center;gap:10px;padding:12px 14px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.card-banner-summary{flex:1;min-width:0;display:grid;gap:1px}.card-banner-summary strong{font-size:15px}.card-banner-summary small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-banner-toggle .star-row svg{width:13px;height:13px}.card-banner-body{padding:0 14px 14px}.profile-form .backup-actions{margin-top:0;align-items:stretch}.profile-form .backup-actions button{min-height:46px;height:46px}.profile-form .backup-actions button.primary{margin-top:0;font-size:13px;background:var(--accent);color:#fff;font-weight:600}.profile-form .backup-actions button:disabled{opacity:.6}.editor-sheet:focus{outline:none}.day-summary{margin:2px 0 14px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px;padding:14px 16px;border-radius:20px;background:var(--card);box-shadow:var(--shadow-sm)}.day-summary-copy{display:grid;gap:2px}.day-summary-copy strong{font-size:18px;font-variant-numeric:tabular-nums}.day-summary-copy small{font-size:13px;color:var(--muted)}.day-summary-medal{width:28px;height:28px}.day-summary-bar{grid-column:1 / -1;height:4px;border-radius:99px;background:var(--track);overflow:hidden}.day-summary-bar b{display:block;height:100%;border-radius:inherit;background:var(--ink);transition:width .5s var(--ease-out)}.done-pill-mark.is-empty{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line-strong)}.first-run{margin:2px 0 14px;display:grid;gap:8px;padding:18px 16px;border-radius:20px;background:var(--card);box-shadow:var(--shadow-sm)}.first-run strong{font-size:18px}.first-run span{color:var(--muted);font-size:14px;line-height:1.45}.first-run .primary{margin-top:6px}.confirm-body{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.45;white-space:pre-line}.confirm-actions{display:grid;gap:8px}.confirm-actions .primary{margin-top:0}.confirm-actions .primary.is-danger{background:var(--danger);color:#fff}.confirm-cancel{min-height:48px;border:0;border-radius:16px;background:var(--row);color:inherit;font:inherit;font-weight:500;cursor:pointer}.profile-save{margin-top:0}.profile-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:10px}.profile-section h3{margin:0;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.profile-muted{margin:0;color:var(--muted);font-size:14px}.profile-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:var(--muted)}.link-button{border:0;background:none;padding:8px 0;color:var(--ink);font:inherit;font-weight:600;cursor:pointer}.link-button:disabled{opacity:.5}.profile-section .backup-actions{margin-top:0}.profile-signout{min-height:48px;border:0;border-radius:16px;background:var(--row);color:inherit;font:inherit;font-weight:600;cursor:pointer}.welcome-legal{margin:0;font-size:12.5px;color:var(--muted);text-align:center}.welcome-legal a,.profile-link{color:inherit;text-decoration:underline}.profile-link{justify-self:center;padding:6px;font-size:13px;color:var(--muted)}.secondary-button{width:100%;min-height:48px;margin-top:8px;border:0;border-radius:16px;background:var(--row);color:inherit;font:inherit;font-weight:600;cursor:pointer}.life-group-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:4px 4px 4px 0;border:0;background:none;color:inherit;cursor:pointer}.card-banner-undo{margin-left:auto;border:0;background:none;padding:10px 4px;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}.offline-banner{margin:0 0 12px;padding:10px 14px;border-radius:14px;background:var(--row);color:var(--muted);font-size:13px;text-align:center}.onboarding{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;grid-template-rows:auto 1fr auto;max-width:480px;margin:0 auto;padding:calc(16px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));background:var(--bg);overflow-y:auto}.onboarding-top{display:flex;justify-content:space-between;align-items:center;min-height:44px}.onboarding-top .brand{cursor:default}.onboarding-skip{color:var(--muted);font-weight:500}.onboarding-slide{align-self:center;display:grid;gap:12px;padding:24px 0;animation:screen-enter .3s ease-out}.onboarding-slide h1{margin:0;font-size:30px;line-height:1.1;letter-spacing:-.03em}.onboarding-slide p{margin:0;color:var(--muted);font-size:16px;line-height:1.5}.onboarding-art{height:180px;margin-bottom:12px;border-radius:24px;background:var(--card);box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:center;gap:14px}.onboarding-art.medals .icon-medal{width:56px;height:56px}.onboarding-art.medals .icon-medal.tier-gold{width:76px;height:76px}.onboarding-art.cards .card-back{width:78px;min-height:104px;cursor:default}.onboarding-art.timeline{flex-direction:column;align-items:stretch;gap:10px;padding:0 24px}.onboarding-art.timeline span{display:flex;align-items:center;gap:12px;font-size:15px}.onboarding-art.timeline b{width:46px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.onboarding-art.timeline i{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--line-strong)}.onboarding-art.timeline i.done{border:0;background:var(--ink)}.onboarding-art.timeline .now b{color:var(--accent)}.onboarding-art.timeline .now em{flex:1;height:2px;background:var(--accent)}.onboarding-bottom{display:grid;gap:16px}.onboarding-bottom .primary{margin-top:0}.onboarding-dots{display:flex;justify-content:center;gap:8px}.onboarding-dots i{width:7px;height:7px;border-radius:50%;background:var(--line-strong);transition:width .25s}.onboarding-dots i.on{width:22px;border-radius:99px;background:var(--ink)}.template-list{display:grid;gap:8px;margin-top:6px}.template-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:10px 14px;border:0;border-radius:16px;background:var(--card);box-shadow:var(--shadow-sm);color:inherit;font:inherit;text-align:left;cursor:pointer}.template-row span{display:grid;gap:2px}.template-row small{color:var(--muted);font-size:12.5px}.template-row .task-check{flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line-strong)}.template-row .task-check .icon-check{width:14px;height:14px;opacity:0}.template-row.on .task-check{background:var(--ink);box-shadow:none}.template-row.on .task-check .icon-check{opacity:1;stroke:var(--on-ink)}.template-row.on .task-check .icon-check{stroke-dashoffset:0;transition:stroke-dashoffset .2s ease-out}.card-back-single{width:100%;min-height:120px;margin-top:4px;display:grid;place-items:center;font-size:15px;background:repeating-linear-gradient(45deg,var(--accent-soft) 0 8px,transparent 8px 16px),var(--row)}.card-back-single span{color:var(--ink)}.onboarding-art.cards .card-back-single{width:110px;min-height:140px}.card-banner-body>p{margin:10px 0 0}.card-banner-head .card-banner-title{margin-top:0}.card-banner.is-complete .card-banner-toggle{gap:12px}.card-note{margin-top:14px;display:grid;gap:8px}.card-note label{font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.card-note textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:84px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);color:inherit;font:inherit;font-size:16px;line-height:1.45}.card-note textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.card-note-actions{display:flex;justify-content:space-between;align-items:center}.card-note-save{min-height:40px;padding:0 18px;border:0;border-radius:12px;background:var(--ink);color:var(--on-ink);font:inherit;font-weight:600;cursor:pointer}.card-cadence{margin-top:14px}.year-card-list{list-style:none;margin:0;padding:0;display:grid}.year-card-list li{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line)}.year-card-list li:first-child{border-top:0}.year-card-date{flex:0 0 52px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.year-card-copy{display:grid;gap:4px}.year-card-copy small{color:var(--muted);font-size:14px;line-height:1.4;white-space:pre-line}.entry-preview{margin:0 0 12px;font-size:15px;color:var(--muted);overflow-wrap:anywhere;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.menu-list{display:flex;flex-direction:column}.menu-row{min-height:52px;display:flex;align-items:center;gap:14px;padding:0 4px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);font-size:16px;font-weight:500;text-align:left;cursor:pointer}.menu-row .icon-line{width:20px;height:20px;color:var(--muted)}.menu-row small{margin-left:auto;color:var(--muted);font-size:13px;font-weight:400}.menu-row:disabled{opacity:.35;cursor:default}.menu-row.is-danger,.menu-row.is-danger .icon-line{color:var(--danger)}.sheet-back{min-height:44px;margin-bottom:8px;padding:0 4px;border:0;background:transparent;color:var(--muted);font-size:15px;font-weight:500;cursor:pointer}
