@font-face{font-family:Figtree;src:url(/fonts/figtree-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Figtree;src:url(/fonts/figtree-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Figtree;src:url(/fonts/figtree-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}:root{--bg: #f6f7f9;--card: #ffffff;--surface-alt: #eef0f4;--text: #16181d;--muted: #6b6e76;--muted-2: #8a8d95;--muted-3: #b9bcc4;--border: #e4e6ea;--accent: #3b49b8;--accent-strong: #2b3690;--accent-soft: #ecedfa;--on-accent: #ffffff;--danger: #dc2626;--radius: 16px;--radius-field: 14px;--radius-quote: 24px;--radius-pill: 999px;--shadow-seg: 0 1px 2px rgba(20, 25, 40, .12);--focus-ring: 2px solid var(--accent);--motion-fast: .18s;--touch-target: 44px;--font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--dark-bg: #101218;--dark-card: #191c24;--dark-surface-alt: #232733;--dark-text: #f3f4f7;--dark-muted: #9095a1;--dark-muted-2: #7a7f8b;--dark-muted-3: #5c6270;--dark-border: #262a35;--dark-accent: #7f8cff;--dark-accent-strong: #9aa6ff;--dark-accent-soft: #232842;--dark-on-accent: #0e1016}:root[data-theme=dark]{--bg: var(--dark-bg);--card: var(--dark-card);--surface-alt: var(--dark-surface-alt);--text: var(--dark-text);--muted: var(--dark-muted);--muted-2: var(--dark-muted-2);--muted-3: var(--dark-muted-3);--border: var(--dark-border);--accent: var(--dark-accent);--accent-strong: var(--dark-accent-strong);--accent-soft: var(--dark-accent-soft);--on-accent: var(--dark-on-accent)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]):not([data-theme=dark]){--bg: var(--dark-bg);--card: var(--dark-card);--surface-alt: var(--dark-surface-alt);--text: var(--dark-text);--muted: var(--dark-muted);--muted-2: var(--dark-muted-2);--muted-3: var(--dark-muted-3);--border: var(--dark-border);--accent: var(--dark-accent);--accent-strong: var(--dark-accent-strong);--accent-soft: var(--dark-accent-soft);--on-accent: var(--dark-on-accent)}}*{box-sizing:border-box}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}button:focus-visible,a:focus-visible{outline:var(--focus-ring);outline-offset:2px}body{margin:0;font-family:var(--font-body);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.app{max-width:560px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;padding:0 20px calc(76px + env(safe-area-inset-bottom))}.onboarding{max-width:560px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}.onboarding-step{display:flex;flex-direction:column;gap:16px}.onboarding-lines{display:flex;flex-direction:column;gap:12px}.onboarding-progress{display:flex;gap:8px;justify-content:center;margin-bottom:4px}.onboarding-progress .dot{width:8px;height:8px;border-radius:999px;background:var(--muted-3)}.onboarding-progress .dot.active{background:var(--accent)}.onboarding-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.onboarding-cancel{align-self:center}.home-header{padding:22px 2px 18px}.wordmark{font-size:1.75rem;font-weight:700;color:var(--text);letter-spacing:-.045em;line-height:1}.brand{font-weight:700;letter-spacing:-.045em}.sub{font-size:.92rem;color:var(--muted);margin:6px 0 0}.main{flex:1;display:flex;flex-direction:column}h2{font-weight:700;font-size:1.75rem;letter-spacing:-.045em;margin:0 0 12px}h3{font-size:1rem;margin:0 0 10px}.muted{color:var(--muted);font-size:.9rem}.section-label{margin:26px 2px 10px;font-size:.74rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted-2)}.navbar{display:flex;align-items:center;gap:12px;padding:20px 0 14px;min-height:64px}.navbar h2{flex:1;font-size:1.1rem;font-weight:600;letter-spacing:-.02em;margin:0;min-width:0}.navbar-back{width:36px;height:36px;flex:none;border-radius:50%;background:var(--card);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--text);cursor:pointer}.navbar-back svg{width:17px;height:17px}.navbar-act{flex:none;margin-left:auto;background:none;border:none;padding:8px 2px;min-height:var(--touch-target);font:inherit;font-size:.9rem;font-weight:600;color:var(--accent);cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:none;border-radius:var(--radius);min-height:52px;padding:12px 22px;font-family:inherit;font-size:1rem;font-weight:600;letter-spacing:-.01em;cursor:pointer;transition:opacity .12s ease}.btn:active{opacity:.86}.btn svg{width:20px;height:20px}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-ghost{background:var(--card);color:var(--text);border:1px solid var(--border)}.btn-wide{width:100%;min-height:58px;font-size:1.02rem}.btn-row{display:flex;gap:10px;margin-top:16px}.btn-row .btn{flex:1}.btn-small{display:inline-flex;align-items:center;min-height:var(--touch-target);background:var(--card);border:1px solid var(--border);border-radius:10px;color:var(--muted);font-size:.8rem;padding:8px 14px;cursor:pointer}.btn-danger{color:var(--danger);border-color:var(--danger)}.btn-star{padding:8px 10px}.btn-star svg{width:18px;height:18px}.btn-star[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.btn-star[aria-pressed=true] svg{fill:currentColor}.ico-star svg{fill:currentColor}.btn-quiet{background:none;border:none;min-height:var(--touch-target);padding:8px;font:inherit;font-size:.92rem;color:var(--muted);cursor:pointer}.btn-quiet u,.btn-quiet span{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0}.row{display:flex;align-items:center;gap:14px;width:100%;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;min-height:66px;font:inherit;text-align:left;color:var(--text);cursor:pointer}.row:active{background:var(--surface-alt)}.ico{width:38px;height:38px;flex:none;border-radius:12px;background:var(--accent-soft);display:flex;align-items:center;justify-content:center;color:var(--accent)}:root[data-theme=dark] .ico{color:var(--accent-strong)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]):not([data-theme=dark]) .ico{color:var(--accent-strong)}}.ico svg{width:19px;height:19px}.txt{flex:1;min-width:0}.txt b{display:block;font-size:1rem;font-weight:600;letter-spacing:-.01em;color:var(--text)}.txt span{display:block;font-size:.82rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.count{flex:none;font-size:.78rem;font-weight:700;color:var(--on-accent);background:var(--accent);border-radius:var(--radius-pill);padding:2px 8px}.chev{width:16px;height:16px;flex:none;color:var(--muted-3)}.rescue-idle{display:flex;flex-direction:column}.rescue-empty,.rescue-done,.rescue-grounding{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:12px;padding:24px 0}.rescue-grounding{text-align:left;justify-content:flex-start;padding:0 0 18px}.rescue-empty h2{font-size:1.3rem;letter-spacing:-.02em}.rescue-idle .rescue-empty{flex:none}.rescue-suggest{flex:1;display:flex;flex-direction:column;padding-bottom:18px}.rescue-suggest .btn-row,.rescue-stack{margin-top:auto}.rescue-stack{display:flex;flex-direction:column;gap:10px;padding-top:16px}.rescue-stack .btn-row{margin-top:0}.quote{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-quote);padding:26px 24px;display:flex;flex-direction:column;gap:16px;animation:quote-in var(--motion-fast) ease both}@keyframes quote-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.quote cite{font-size:.82rem;font-style:normal;color:var(--muted-2)}.quote-fill{flex:1;justify-content:center;padding:28px 24px}.suggestion-title{font-size:1.45rem;font-weight:700;letter-spacing:-.03em;line-height:1.2;margin:0}.suggestion-notes{color:var(--muted);margin:0;line-height:1.55;white-space:pre-wrap}.doing-hint{margin:0;font-weight:600;color:var(--accent)}.rescue-tasks{flex:1;display:flex;flex-direction:column;padding-bottom:18px}.task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.recipe-notes{white-space:pre-wrap;margin:0 0 16px;font-size:1rem;line-height:1.55;color:var(--muted)}.grounding-sentence{font-size:1.3rem;font-weight:500;letter-spacing:-.015em;line-height:1.4;margin:0;color:var(--text);text-wrap:pretty}.grounding-dots{display:flex;justify-content:center;gap:6px;padding:14px 0}.grounding-dot{width:7px;height:7px;border-radius:50%;background:var(--muted-3);transition:width var(--motion-fast) ease}.grounding-dot.active{background:var(--accent);width:20px;border-radius:var(--radius-pill)}.grounding-footer{margin-top:auto;text-align:center;padding-top:16px}.grounding-quote-body{display:flex;flex-direction:column;gap:10px}.grounding-sentence-long{font-size:1.05rem;line-height:1.5}.grounding-author{font-size:.88rem;font-style:normal;font-weight:600;color:var(--muted)}.done-disc{position:relative;width:96px;height:96px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--accent)}.done-disc:before{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;border-radius:50%;border:2px solid var(--accent-soft);animation:done-pulse 1.1s ease-out}@keyframes done-pulse{0%{transform:scale(.6);opacity:.9}to{transform:scale(1.4);opacity:0}}.done-check{width:44px;height:44px;color:var(--on-accent)}.affirm-emoji{font-size:3rem}.affirm{font-weight:700;letter-spacing:-.03em;font-size:1.5rem}.rescue-done .btn-row{justify-content:center}.confetti{position:relative;height:0}.confetti-piece{position:absolute;top:0;left:50%;width:8px;height:8px;border-radius:2px;animation:confetti-fall .9s ease-out forwards}@keyframes confetti-fall{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(var(--dx, 0),90px) rotate(var(--rot, 180deg));opacity:0}}@media (prefers-reduced-motion: reduce){.confetti,.confetti-piece{display:none}}.form{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.input{width:100%;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--card);color:var(--text);padding:14px;min-height:52px;font-size:1rem;font-family:inherit}.input::placeholder{color:var(--muted-3)}textarea.input{resize:vertical;min-height:96px;line-height:1.4}.input:focus-visible{outline:var(--focus-ring);border-color:transparent}.input-title{font-weight:600}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:.8rem;font-weight:600;color:var(--muted)}.field-hint{font-size:.76rem;font-weight:400;color:var(--muted-2)}.field.field-toggle{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:14px;cursor:pointer}.field-toggle-text{display:flex;flex-direction:column;gap:2px}.field-toggle-label{font-size:.95rem;font-weight:600;color:var(--text)}.toggle{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:44px;height:26px;margin-top:2px;border-radius:var(--radius-pill);background:var(--muted-3);cursor:pointer;transition:background var(--motion-fast) ease}.toggle:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform var(--motion-fast) ease}.toggle:checked{background:var(--accent)}.toggle:checked:after{transform:translate(18px)}.toggle:focus-visible{outline:var(--focus-ring);outline-offset:2px}@media (prefers-reduced-motion: reduce){.toggle,.toggle:after{transition:none}}.segmented{display:flex;background:var(--surface-alt);border-radius:12px;padding:3px}.segmented button{flex:1;min-width:0;min-height:40px;border:none;background:transparent;color:var(--muted);border-radius:9px;padding:9px 6px;font-family:inherit;font-size:.86rem;font-weight:600;cursor:pointer;white-space:nowrap}.segmented button.active{background:var(--card);color:var(--text);box-shadow:var(--shadow-seg)}.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 16px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{display:inline-flex;align-items:center;min-height:36px;flex-shrink:0;border:1px solid var(--border);background:var(--card);color:var(--muted);border-radius:var(--radius-pill);padding:6px 14px;font-size:.85rem;font-weight:600;cursor:pointer}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px}.tag{background:var(--surface-alt);color:var(--muted);border-radius:var(--radius-pill);padding:5px 10px;font-size:.78rem;font-weight:600}.activities,.settings{padding-top:8px}.category-group{margin-bottom:18px}.category-group h3{color:var(--muted-2);text-transform:uppercase;font-size:.74rem;font-weight:700;letter-spacing:.09em;margin:16px 2px 10px}.list-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:10px}.list-item-main{display:flex;flex-direction:column;gap:2px;min-width:0}.list-item-title{font-weight:600;letter-spacing:-.01em}.list-item-meta{font-size:.82rem;color:var(--muted)}.list-item-actions{display:flex;gap:6px;flex-shrink:0}.invite-link{font-size:.85rem;color:var(--muted);word-break:break-all;margin:8px 0 0}.archived{margin-top:24px}.archived summary{color:var(--muted);cursor:pointer;margin-bottom:10px;min-height:var(--touch-target);display:flex;align-items:center}.journal{padding-top:8px}.journal .sub{margin:-6px 0 4px}.check-chip{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}:root[data-theme=dark] .check-chip{color:var(--accent-strong)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]):not([data-theme=dark]) .check-chip{color:var(--accent-strong)}}.check-chip svg{width:19px;height:19px}.settings{display:flex;flex-direction:column;gap:16px}.version-stamp{text-align:center;font-size:.75rem;margin:8px 0 0}.install-steps{margin-top:14px}.install-steps h4{font-size:.9rem;margin:0 0 8px}.steps{margin:0;padding-left:1.4em;display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:.9rem}.steps li{padding-left:4px}.shelf-finished-link{margin-top:22px}.sheet-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c0e1661;z-index:40}:root[data-theme=dark] .sheet-scrim{background:#00000080}@media (prefers-color-scheme: dark){:root:not([data-theme=light]):not([data-theme=dark]) .sheet-scrim{background:#00000080}}.sheet{position:fixed;left:12px;right:12px;bottom:12px;z-index:41;max-width:560px;margin:0 auto;background:var(--card);border:1px solid var(--border);border-radius:22px;padding:18px 18px calc(18px + env(safe-area-inset-bottom))}.sheet-form{display:flex;flex-direction:column;gap:12px}.dup-hint{display:flex;align-items:center;gap:10px;background:var(--accent-soft);border:none;border-radius:12px;padding:10px 12px;font:inherit;font-size:.85rem;text-align:left;color:var(--text);cursor:pointer}.dup-hint-ico{display:flex;flex:none;color:var(--accent)}.dup-hint-ico svg{width:16px;height:16px}.btn-remove{align-self:center;margin-top:2px;justify-content:center}.tabbar{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:9px 8px calc(9px + env(safe-area-inset-bottom))}.tabbar button{flex:1;max-width:180px;display:flex;flex-direction:column;align-items:center;gap:4px;border:none;background:transparent;color:var(--muted-2);font-size:.7rem;font-weight:600;padding:6px 0;border-radius:12px;cursor:pointer}.tabbar button.active{color:var(--accent)}.tab-icon{display:flex;width:22px;height:22px}.tab-icon svg{width:100%;height:100%}.menu{padding-top:8px;display:flex;flex-direction:column;gap:16px}.achievements{display:flex;flex-direction:column;gap:16px}.achv-add,.grounding-add,.grounding-reset{align-self:flex-start}.achv-add.btn,.grounding-add.btn,.grounding-reset.btn{flex:none}.grounding-editor{display:flex;flex-direction:column;gap:16px}.grounding-editor>.muted{margin:0}.grounding-lines{display:flex;flex-direction:column}.grounding-line-toggle{background:none;border:none;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;flex:1}.grounding-line-toggle:focus-visible{outline:var(--focus-ring);outline-offset:2px;border-radius:8px}.grounding-editor .list-item{min-height:calc(var(--touch-target) + 24px)}.grounding-line-input{min-height:96px}.grounding-char-count{font-size:.75rem;color:var(--muted-2);text-align:right;margin-top:-10px}.grounding-line-text{overflow-wrap:anywhere;line-height:1.45}.grounding-line-clamped{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.achv-item-toggle{background:none;border:none;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;flex:1}.achv-item-toggle:focus-visible{outline:var(--focus-ring);outline-offset:2px;border-radius:8px}.achv-year{position:relative;padding-left:36px;margin-bottom:6px}.achv-year:before{content:"";position:absolute;left:13px;top:14px;bottom:-24px;width:2px;background:var(--border)}.achv-year:last-of-type:before{bottom:10px}.achv-year h3{font-size:1.4rem;font-weight:700;letter-spacing:-.03em;color:var(--text);text-transform:none;margin:0 0 10px}.achv-year h3:before{content:"";position:absolute;left:6px;top:14px;width:10px;height:10px;border-radius:50%;border:3px solid var(--muted-2);background:var(--bg)}.achv-year .list-item{position:relative;min-height:calc(var(--touch-target) + 24px)}.achv-year .list-item:before{content:"";position:absolute;left:-29px;top:50%;translate:0 -50%;width:10px;height:10px;border-radius:50%;background:var(--muted-2);border:2px solid var(--bg)}.achv-year--timeless:before{width:0;background:none;border-left:2px dashed var(--border)}.achv-year--timeless h3{font-size:1.05rem;color:var(--muted)}.achv-year--timeless .list-item:before{background:var(--bg);border:2px solid var(--muted-2)}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-trio{display:grid;grid-template-columns:minmax(64px,.5fr) 1fr 1fr;gap:10px}
