:root{--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;--cream:#fdfaf1;--cream-deep:#f4efdf;--mist:#eef7df;--leaf:#6fae4b;--leaf-deep:#39762f;--forest:#173f2a;--forest-soft:#38614a;--sage:#8cae82;--coral:#df745f;--coral-deep:#a9493c;--gold:#c39138;--silver:#788c95;--bronze:#ad754a;--ink-muted:#5b7464;--line:#173f2a1f;--shadow-soft:0 18px 55px #2b582c1a;--shadow-card:0 8px 30px #2b582c12;--radius-lg:30px;--radius-md:20px;--radius-sm:13px;--accent-hover:#43833c;--accent-soft-hover:#e0efc8;--accent-soft-hover-alt:#deefc7;--accent-solid:#39762f;--accent-control:#397b2e;--accent-native:#407f3e;--focus-strong:#23572e;--danger-soft:#fae3dc;--danger-panel:#fbe8e1;--danger-button:#fff3ed;--danger-hover:#ffe8df;--danger-soft-hover:#f7d6cd;--on-danger:#3e1a12;--hero-start:#32682f;--hero-end:#477c32;--hero-end-old:#75af50;--hero-muted:#edf7e1;--hero-secondary:#edf7e1;--hero-description:#edf7e1;--hero-sad-start:#637e5d;--hero-sad-end:#9eaa72;--undo-surface:#edf5d9;--text-secondary:#48634e;--day-text:#34553b;--day-border:#81917b;--day-surface:#fffdf6;--success-surface:#e1efc5;--success-border:#7ba554;--success-text:#24481b;--slip-surface:#fbe0d5;--slip-border:#c78972;--slip-text:#8a3327;--card-solid:#fffdf7;--calendar-border:#dee5d4;--stats-surface:#eef4df;--stats-border:#d7e3bf;--stats-text:#315b27;--milestone-surface:#f0ede3;--milestone-text:#526044;--earned-surface:#edf3d9;--celebration-surface:#f6edc6;--celebration-border:#cfb668;--celebration-text:#5a481e;--catalog-border:#dce3d0;--catalog-text:#4d6550;--chip-surface:#edf1e3;--chip-text:#37573b;--card-surface:#fffffacc;--auth-surface:#fffffac7;--onboarding-surface:#fffffabd;--input-surface:#ffffffc2;--settings-surface:#fffffcc4;--privacy-surface:#fffffcc7;--nav-surface:#fffffae8;--self-surface:#eef7df8c;--note-surface:#eef7df80;--slip-row-surface:#fae3dc5c;--page-glow:#abd3822e;--page-glow-secondary:#eecc9321;--auth-gradient-start:#eef7dfdb;--auth-gradient-end:#fdfaf1f5;--focus-ring:#39762f;--input-border:#81917b;--focus-glow:#6fae4b21;--nav-border:#4f9b4521;--surface-raised:#fff;--on-accent:#fff;font-family:Nunito,Avenir Next,Segoe UI,sans-serif}:root[data-theme]:not([data-theme=classic]){--cream:var(--theme-background);--cream-deep:var(--theme-soft);--mist:var(--theme-soft);--forest:var(--theme-text);--forest-soft:var(--theme-secondary);--ink-muted:var(--theme-muted);--leaf-deep:var(--theme-accent);--leaf:var(--theme-accent);--sage:var(--theme-muted);--accent-solid:var(--theme-accent);--accent-control:var(--theme-accent);--accent-native:var(--theme-accent);--accent-hover:var(--theme-hover);--accent-soft-hover:var(--theme-soft);--accent-soft-hover-alt:var(--theme-soft);--focus-strong:var(--theme-accent);--focus-ring:var(--theme-accent);--surface-raised:var(--theme-surface);--card-surface:var(--theme-surface);--auth-surface:var(--theme-surface);--onboarding-surface:var(--theme-surface);--input-surface:var(--theme-surface);--settings-surface:var(--theme-surface);--privacy-surface:var(--theme-surface);--nav-surface:var(--theme-surface);--card-solid:var(--theme-surface);--day-surface:var(--theme-surface);--self-surface:var(--theme-soft);--note-surface:var(--theme-soft);--undo-surface:var(--theme-soft);--stats-surface:var(--theme-soft);--milestone-surface:var(--theme-soft);--earned-surface:var(--theme-soft);--chip-surface:var(--theme-soft);--text-secondary:var(--theme-secondary);--day-text:var(--theme-text);--stats-text:var(--theme-accent);--milestone-text:var(--theme-secondary);--catalog-text:var(--theme-secondary);--chip-text:var(--theme-secondary);--day-border:var(--control-border);--calendar-border:var(--line);--stats-border:var(--line);--catalog-border:var(--line);--input-border:var(--control-border);--nav-border:var(--line);--hero-start:var(--theme-hero-start);--hero-end:var(--theme-hero-end);--hero-end-old:var(--theme-hero-end);--hero-muted:var(--hero-label);--hero-secondary:var(--hero-label);--hero-description:var(--hero-label);--hero-sad-start:var(--theme-hero-start);--hero-sad-end:var(--theme-hero-end);--auth-gradient-start:var(--theme-soft);--auth-gradient-end:var(--theme-background);--danger-soft:var(--error-surface);--danger-panel:var(--error-surface);--danger-button:var(--error-surface);--danger-hover:var(--error-surface-hover);--danger-soft-hover:var(--error-surface-hover);--slip-surface:var(--error-surface);--slip-row-surface:var(--error-surface);--slip-text:var(--coral-deep);--slip-border:var(--error-border);--success-surface:var(--success-panel);--success-text:var(--success-ink);--success-border:var(--success-line);--hero-label:#f0f4ed;--line:color-mix(in srgb, var(--theme-text) 20%, transparent);--control-border:color-mix(in srgb, var(--theme-text) 55%, var(--theme-surface));--focus-glow:color-mix(in srgb, var(--theme-accent) 20%, transparent);--page-glow:color-mix(in srgb, var(--theme-accent) 8%, transparent);--page-glow-secondary:transparent;--shadow-soft:0 18px 55px #00000018;--shadow-card:0 8px 30px #00000012;--coral:#df745f;--coral-deep:#a03b2d;--error-surface:#fbe8e1;--error-surface-hover:#f5d6cb;--error-border:#b45b48;--on-danger:#3e1a12;--on-danger-hover:#fff;--on-accent:#fff;--success-panel:#e1efda;--success-ink:#284b24;--success-line:#567e4a}:root[data-theme=mint]{--theme-background:#f0faf5;--theme-surface:#fbfffd;--theme-accent:#176b54;--theme-hover:#11563f;--theme-soft:#dcefe5;--theme-text:#203e34;--theme-secondary:#446657;--theme-muted:#526d60;--theme-hero-start:#16533f;--theme-hero-end:#27694e}:root[data-theme=ocean]{--theme-background:#f0f7fc;--theme-surface:#fbfdff;--theme-accent:#20628b;--theme-hover:#184f73;--theme-soft:#dcecf6;--theme-text:#213b4e;--theme-secondary:#415e73;--theme-muted:#536b7c;--theme-hero-start:#194f73;--theme-hero-end:#2b6689}:root[data-theme=lavender]{--theme-background:#f7f3fc;--theme-surface:#fefbff;--theme-accent:#70519b;--theme-hover:#593d81;--theme-soft:#ece2f5;--theme-text:#392d49;--theme-secondary:#62516f;--theme-muted:#71617d;--theme-hero-start:#563d7a;--theme-hero-end:#71538f}:root[data-theme=rose]{--theme-background:#fcf2f5;--theme-surface:#fffbfc;--theme-accent:#994565;--theme-hover:#7e3451;--theme-soft:#f5dfe7;--theme-text:#482c38;--theme-secondary:#73505f;--theme-muted:#775864;--theme-hero-start:#78364f;--theme-hero-end:#96516b}:root[data-theme=sunset]{--theme-background:#fff5ec;--theme-surface:#fffcf8;--theme-accent:#a64e24;--theme-hover:#873c1a;--theme-soft:#f7e4d2;--theme-text:#4c3326;--theme-secondary:#765944;--theme-muted:#775d49;--theme-hero-start:#7b3c21;--theme-hero-end:#96502d}:root[data-theme=forest-night]{--theme-background:#101e18;--theme-surface:#1b3025;--theme-accent:#a3d786;--theme-hover:#b5e49b;--theme-soft:#293f31;--theme-text:#edf5ee;--theme-secondary:#c1d5c6;--theme-muted:#b0c4b5;--theme-hero-start:#193e2b;--theme-hero-end:#2d5639}:root[data-theme=midnight]{--theme-background:#121d2c;--theme-surface:#1e3045;--theme-accent:#92cdef;--theme-hover:#b1dff7;--theme-soft:#2a4055;--theme-text:#edf4fc;--theme-secondary:#c0d2e4;--theme-muted:#acbfd2;--theme-hero-start:#193b57;--theme-hero-end:#2a526f}:root[data-theme=plum-night]{--theme-background:#211827;--theme-surface:#34263e;--theme-accent:#d4b0f0;--theme-hover:#e2c5f7;--theme-soft:#463451;--theme-text:#f7eefb;--theme-secondary:#dcc8e6;--theme-muted:#cbb3d7;--theme-hero-start:#463054;--theme-hero-end:#614169}:root[data-theme][data-theme=forest-night],:root[data-theme][data-theme=midnight],:root[data-theme][data-theme=plum-night]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--on-accent:#13251d;--coral:#edaa98;--coral-deep:#ffc2b1;--error-surface:#422a29;--error-surface-hover:#55322f;--error-border:#cd8b78;--on-danger:#351710;--on-danger-hover:#351710;--success-panel:#283e2d;--success-ink:#c3e6b2;--success-line:#94bc82;--celebration-surface:#453b20;--celebration-border:#b59a54;--celebration-text:#f0dfa8}:root{--feedback-surface:#173f2a;--feedback-text:#fff;--shadow-feedback:0 8px 24px #16382330;--shadow-button:0 9px 20px #4f9b4538;--shadow-button-hover:0 12px 24px #4f9b4547;--shadow-danger:0 8px 18px #df745f33;--border-subtle:#4f9b451f;--border-decoration:#6fae4b33;--border-decoration-warm:#df745f33;--shadow-hero:0 20px 45px #3e7b3b3b;--hero-decoration:#fff3;--hero-decoration-alt:#ffffff30;--border-action:#4f9b4533;--shadow-checkin:0 9px 20px #4f9b4533;--border-danger:#a9493c29;--border-note:#6fae4b4d;--overlay:#173f2a4d;--sheet-border:#fff9;--shadow-sheet:0 -5px 40px #173f2a2e;--border-invite:#6fae4b40;--border-update:#4f9b452e;--shadow-nav:0 12px 35px #173f2a21;--shadow-dialog:0 24px 80px #16382340;--dialog-overlay:#17372180;--shadow-catalog:0 6px 18px #28492e07}:root[data-theme]:not([data-theme=classic]){--feedback-surface:var(--accent-solid);--feedback-text:var(--on-accent);--border-subtle:var(--line);--border-action:var(--line);--border-danger:var(--error-border);--border-note:var(--line);--border-invite:var(--line);--border-update:var(--line);--border-decoration:var(--line);--border-decoration-warm:var(--line);--shadow-button:var(--shadow-card);--shadow-button-hover:var(--shadow-soft);--shadow-danger:var(--shadow-card);--shadow-hero:var(--shadow-soft);--shadow-checkin:var(--shadow-card);--shadow-feedback:var(--shadow-card);--shadow-nav:var(--shadow-soft);--shadow-catalog:var(--shadow-card);--overlay:#00000070;--dialog-overlay:#00000080;--sheet-border:var(--line)}*{box-sizing:border-box}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.leader-actions{flex:none;align-items:center;gap:8px;display:flex}.leader-actions .button{min-height:44px;padding:8px 12px}.leader-actions .text-button{min-height:44px}.friend-support{justify-items:end;gap:6px;display:grid}.support-feedback{z-index:30;bottom:calc(110px + env(safe-area-inset-bottom,0px));background:var(--feedback-surface);width:max-content;max-width:calc(100vw - 32px);color:var(--feedback-text);box-shadow:var(--shadow-feedback);text-align:center;pointer-events:none;border-radius:20px;padding:12px 20px;position:fixed;left:50%;transform:translate(-50%)}.support-card{border:1px solid var(--line);background:var(--cream);border-radius:24px;margin:24px 0;padding:24px}.support-card ul{gap:16px;padding:0;list-style:none;display:grid}.support-card li{overflow-wrap:anywhere;flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.support-card li>*{min-width:0}.support-card h2{font-size:clamp(1.25rem,3vw,1.5rem)}@media (max-width:480px){.support-card{padding:20px}.support-card li{flex-direction:column;align-items:flex-start;gap:6px}}.support-card .section-hint{margin-bottom:0}.friend-more{min-width:44px;font-size:.78rem;font-weight:600}.friend-menu{gap:12px;display:grid}.friend-menu .settings-action{justify-content:center}html{background:var(--cream);min-width:320px;scroll-padding-block:calc(16px + env(safe-area-inset-top,0px)) calc(120px + env(safe-area-inset-bottom,0px))}body{min-width:320px;min-height:100vh;color:var(--forest);background:radial-gradient(circle at 9% 7%, var(--page-glow), transparent 23rem), radial-gradient(circle at 92% 35%, var(--page-glow-secondary), transparent 22rem), var(--cream);-webkit-font-smoothing:antialiased;margin:0;font-family:DM Sans,Avenir Next,Segoe UI,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.58}:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}h1,h2,p{margin-top:0}h1,h2,strong,.brand,.nav-item,.button{font-family:Nunito,Avenir Next,sans-serif}h1{letter-spacing:-.04em;margin-bottom:11px;font-size:clamp(2rem,5vw,3.35rem);line-height:1.04}h2{letter-spacing:-.025em;margin-bottom:7px;font-size:1.34rem;line-height:1.1}p{line-height:1.55}.screen-center{place-content:center;justify-items:center;gap:18px;min-height:100vh;padding:24px;display:grid}.muted,.fine-print,.section-hint,.topbar__tag,small{color:var(--ink-muted)}.eyebrow{color:var(--leaf-deep);letter-spacing:.13em;text-transform:uppercase;margin-bottom:9px;font-size:.72rem;font-weight:800;line-height:1.3}.lede{max-width:560px;color:var(--forest-soft);font-size:1.03rem}.fine-print{max-width:360px;margin:19px auto 0;font-size:.76rem;line-height:1.45}.apple-mark{color:#6fae4b;flex:none;display:block}.apple-mark__leaf{color:#4f9b45}.apple-mark__shine{opacity:.8}.apple-mark--sad{color:#df745f}.apple-mark--sad .apple-mark__leaf{color:#38614a}.apple-mark--pulse{animation:2.2s ease-in-out infinite apple-pulse}.apple-mark--sad-motion{animation:.35s ease-in-out apple-sad}.evil-cake-mark{color:#df745f;--coral:#df745f;--coral-deep:#a9493c;--cream-deep:#f4efdf;--forest:#173f2a;--leaf-deep:#4f9b45;flex:none;display:block}.button{border-radius:999px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:12px 19px;font-size:.93rem;font-weight:800;text-decoration:none;transition:transform .16s,box-shadow .16s,background .16s;display:inline-flex}.button:hover{transform:translateY(-2px)}.button--wide{width:100%}.button--primary{color:var(--on-accent);background:var(--leaf-deep);box-shadow:var(--shadow-button)}.button--primary:hover{background:var(--accent-hover);box-shadow:var(--shadow-button-hover)}.button--secondary{color:var(--forest);background:var(--mist)}.button--secondary:hover{background:var(--accent-soft-hover)}.button--coral{color:#fff;background:var(--coral);box-shadow:var(--shadow-danger)}.button--coral:hover{background:var(--coral-deep)}.button--google{color:#26352d;background:#fff;box-shadow:0 7px 25px #2340271a}.button--google:hover{box-shadow:0 11px 28px #23402726}.google-g{color:#4285f4;border:1px solid #d7e0e8;border-radius:50%;place-items:center;width:22px;height:22px;font-family:Arial,sans-serif;font-weight:700;display:grid}.icon-button{min-width:44px;min-height:44px;color:var(--forest-soft);background:0 0;border-radius:50%;place-items:center;display:inline-grid}.icon-button:hover{background:var(--mist)}.text-button{min-height:44px;color:var(--leaf-deep);text-underline-offset:3px;background:0 0;padding:7px 2px;font-weight:800;text-decoration:underline}.auth-page{background:linear-gradient(150deg, var(--auth-gradient-start), var(--auth-gradient-end) 50%), var(--cream);place-items:center;min-height:100vh;padding:42px 20px;display:grid;position:relative;overflow:hidden}.auth-card{z-index:1;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--auth-surface);width:min(100%,480px);box-shadow:var(--shadow-soft);text-align:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:clamp(32px,7vw,58px) clamp(25px,7vw,62px);position:relative}.auth-card__apple{margin:0 auto 19px}.auth-card h1{font-size:clamp(2.15rem,7vw,3.5rem)}.auth-card .lede{margin:0 auto 28px}.auth-orbit{border:1px solid var(--border-decoration);border-radius:50%;position:absolute}.auth-orbit--one{width:580px;height:580px;top:-280px;right:-130px}.auth-orbit--two{border-color:var(--border-decoration-warm);width:400px;height:400px;bottom:-210px;left:-140px}.auth-privacy{color:var(--forest-soft);align-items:center;gap:6px;font-size:.82rem;text-decoration:none;display:inline-flex;position:absolute;bottom:27px}.auth-privacy:hover{text-decoration:underline}.welcome-page{flex-direction:column;justify-content:center;gap:28px;min-height:100svh;padding:40px 24px 24px;display:flex}.welcome-layout{grid-template-columns:1fr 1fr;align-items:center;gap:64px;width:min(100%,960px);margin:auto;display:grid}.welcome-copy .brand{align-items:center;gap:10px;margin-bottom:36px;font-size:1.25rem;display:flex}.welcome-copy h1{font-size:clamp(2.5rem,5vw,4rem)}.welcome-copy .lede{max-width:36ch;margin-block:18px 24px}.welcome-actions{gap:10px;max-width:350px;display:grid}.welcome-copy .fine-print{margin:18px 0 0}.welcome-preview{border:1px solid var(--line);background:var(--card-surface);box-shadow:var(--shadow-soft);border-radius:32px;padding:20px;transform:rotate(2deg)}.welcome-preview-label{color:var(--forest-soft);margin:0 0 14px 8px;font-size:.8rem;display:block}.welcome-preview .streak-hero{min-height:245px;padding:25px}.welcome-preview .streak-number strong{font-size:5rem}.welcome-preview .growth-tree{width:42%}.welcome-preview-note{align-items:center;gap:12px;margin:20px 8px 0;display:flex}.welcome-preview-note p{margin:0;font-size:.85rem}.welcome-privacy{min-height:44px;color:var(--forest-soft);justify-content:center;align-items:center;gap:6px;font-size:.8rem;display:flex}.demo-banner{border:1px solid var(--line);background:var(--mist);border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 16px;width:min(100% - 32px,850px);margin:0 auto;padding:8px 18px;font-size:.8rem;display:flex}.demo-banner .text-button{font-size:.8rem}.demo-feedback{background:var(--mist);border-radius:16px;padding:12px 16px}.demo-leaderboard{border:1px solid var(--line);background:var(--card-surface);border-radius:24px;overflow:hidden}.demo-friend{align-items:center;gap:12px;padding:18px;display:flex}.demo-friend+.demo-friend{border-top:1px solid var(--line)}.demo-friend>div{flex:1;min-width:0}.demo-friend small{margin-top:4px;font-size:.8rem;display:block}.demo-friend .button{padding:10px 12px;font-size:.8rem}.demo-sad .growth-tree{animation:.35s ease-in-out apple-sad}@media (max-width:700px){.welcome-page{gap:18px;padding:24px 22px 16px}.welcome-layout{grid-template-columns:1fr;gap:25px;max-width:440px}.welcome-copy .brand{margin-bottom:22px}.welcome-copy h1{font-size:2.7rem}.welcome-copy .lede{margin-block:14px 18px}.welcome-actions{max-width:none}.welcome-preview{border-radius:24px;padding:14px;transform:none}.welcome-preview .streak-hero{min-height:175px;padding:20px}.welcome-preview .streak-number strong{font-size:4rem}.welcome-preview-note{margin-top:12px}.demo-friend{gap:8px;padding:14px 10px}}@media (prefers-reduced-motion:reduce){.demo-shell .demo-sad>.growth-tree{opacity:.7;animation:none}}.onboarding-page{place-items:center;min-height:100vh;padding:30px 20px;display:grid}.onboarding-card{border:1px solid var(--line);background:var(--onboarding-surface);width:min(100%,910px);box-shadow:var(--shadow-soft);border-radius:36px;grid-template-columns:.92fr 1fr;gap:clamp(30px,7vw,90px);padding:clamp(28px,6vw,70px);display:grid}.onboarding-intro{align-self:center}.onboarding-intro h1{font-size:clamp(2.25rem,5vw,3.5rem)}.onboarding-intro .apple-mark{margin-bottom:26px}.form-stack{align-content:center;gap:19px;display:grid}.field{color:var(--forest);gap:8px;font-size:.88rem;font-weight:600;display:grid}.field input,.field textarea{border:1px solid var(--input-border);border-radius:var(--radius-sm);width:100%;min-height:50px;color:var(--forest);background:var(--input-surface);outline:0;padding:12px 15px;font-size:1rem;font-weight:500}.field textarea{font-family:inherit;line-height:1.5}.field input:focus,.field textarea:focus{border-color:var(--leaf-deep);box-shadow:0 0 0 4px var(--focus-glow)}.field small{font-size:.74rem;font-weight:500;line-height:1.4}.input-with-suffix{position:relative}.input-with-suffix input{padding-right:65px}.input-with-suffix span{color:var(--ink-muted);font-size:.83rem;font-weight:700;position:absolute;top:16px;right:14px}.form-error{color:var(--coral-deep);margin:0;font-size:.83rem;font-weight:700}.app-shell{--nav-bottom:19px;--nav-height:66px;--nav-clearance:calc(var(--nav-height) + var(--nav-bottom) + 36px + env(safe-area-inset-bottom,0px));min-height:100vh}.topbar{width:min(100%,1120px);min-height:72px;padding:calc(15px + env(safe-area-inset-top,0px)) max(26px, env(safe-area-inset-right,0px)) 15px max(26px, env(safe-area-inset-left,0px));justify-content:space-between;align-items:center;margin:0 auto;display:flex}.brand{color:var(--forest);align-items:center;gap:9px;font-size:1.13rem;font-weight:900;text-decoration:none;display:inline-flex}.brand .apple-mark{color:#4f9b45}.topbar__tag{font-family:Nunito,sans-serif;font-size:.78rem;font-weight:700}.page-frame{width:min(100%,900px);padding:22px max(24px, env(safe-area-inset-right,0px)) var(--nav-clearance) max(24px, env(safe-area-inset-left,0px));margin:0 auto}.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.page-heading h1{max-width:700px;font-size:clamp(1.8rem,4vw,2.3rem)}.page-heading p:last-child{margin-bottom:0;font-size:.9rem}.page-heading .eyebrow{margin-bottom:6px}.connection-pill{color:var(--leaf-deep);background:var(--mist);border-radius:99px;flex:none;align-items:center;gap:7px;margin-top:10px;padding:7px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.connection-pill span{background:currentColor;border-radius:50%;width:7px;height:7px}.connection-pill--offline{color:var(--coral-deep);background:var(--danger-soft)}.offline-banner{color:var(--coral-deep);background:var(--danger-soft);text-align:center;border-radius:99px;justify-content:center;align-items:center;gap:9px;margin:-22px auto 22px;padding:9px 14px;font-size:.76rem;font-weight:700;display:flex}.offline-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.inline-error,.sync-note,.success-note{border-radius:var(--radius-sm);align-items:center;gap:8px;margin:-12px 0 21px;padding:12px 15px;font-size:.82rem;font-weight:700;display:flex}.inline-error{color:var(--coral-deep);background:var(--danger-panel)}.sync-note{color:var(--forest-soft);background:var(--mist)}.success-note{color:var(--leaf-deep);background:var(--mist)}.streak-hero{border-radius:var(--radius-lg);color:#fff;background:linear-gradient(120deg, var(--accent-native), var(--hero-end-old));min-height:295px;box-shadow:var(--shadow-hero);justify-content:space-between;align-items:center;margin-bottom:17px;padding:43px 58px;display:flex;position:relative;overflow:hidden}.streak-hero:after{border:1px solid var(--hero-decoration);content:"";border-radius:50%;width:330px;height:330px;position:absolute;top:-175px;right:-60px}.streak-hero__copy{z-index:1;position:relative}.streak-hero .eyebrow{color:var(--hero-muted)}.streak-number{align-items:baseline;gap:13px;display:flex}.streak-number strong{letter-spacing:-.08em;font-size:clamp(5.2rem,15vw,8.7rem);font-weight:900;line-height:.92}.streak-number span{color:var(--hero-secondary);font-family:Nunito,sans-serif;font-size:1.08rem;font-weight:800}.streak-message{max-width:280px;color:var(--hero-description);margin:18px 0 0;font-size:.96rem}.streak-hero__apple{z-index:1;color:#b5d979;filter:drop-shadow(0 14px 12px #19452238);position:relative}.streak-hero__apple .apple-mark__leaf{color:#e2efb0}.streak-hero--sad{background:linear-gradient(120deg, var(--hero-sad-start), var(--hero-sad-end))}.streak-hero--sad .streak-hero__apple{color:#f29b84}.hero-sprout{border:1px solid var(--hero-decoration-alt);border-radius:50%;width:130px;height:130px;position:absolute;bottom:-50px}.hero-sprout--one{right:128px}.hero-sprout--two{width:190px;height:190px;bottom:-85px;right:38px}.daily-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;margin-bottom:10px;display:grid}.checkin-action{min-width:0}.checkin-button{border:1px solid var(--border-action);width:100%;min-height:58px;color:var(--on-accent);background:var(--leaf-deep);text-align:center;touch-action:manipulation;border-radius:17px;justify-content:center;align-items:center;gap:9px;padding:10px 14px;font-family:Nunito,sans-serif;font-size:.93rem;font-weight:900;line-height:1.2;transition:transform .16s,box-shadow .16s,background .16s;display:flex}.checkin-button:hover{background:var(--accent-hover);box-shadow:var(--shadow-checkin);transform:translateY(-2px)}.checkin-button:disabled{cursor:default;opacity:1;color:var(--leaf-deep);background:var(--mist);box-shadow:none}.checkin-button:disabled:hover{transform:none}.checkin-button__icon{width:28px;height:28px;color:var(--leaf-deep);background:var(--surface-raised);border-radius:50%;flex:0 0 28px;place-items:center;display:grid}.daily-actions--celebrating .checkin-button__icon{animation:.65s ease-out checkin-pop}.checkin-message{color:var(--forest-soft);text-align:center;margin:10px 4px 0;font-size:.78rem;line-height:1.45;animation:.25s ease-out checkin-message-in}.checkin-feedback{min-height:2.9em;margin:0 4px 12px;animation:none}.week-help{margin:-4px 0 12px;font-size:.8rem}.slip-button{border:1px solid var(--border-danger);width:100%;min-width:0;min-height:58px;color:var(--coral-deep);background:var(--danger-button);text-align:center;touch-action:manipulation;border-radius:17px;justify-content:center;align-items:center;gap:10px;margin:0;padding-inline:14px;font-family:Nunito,sans-serif;font-size:.93rem;font-weight:900;line-height:1.2;transition:transform .16s,background .16s;display:flex}.slip-button:hover{background:var(--danger-hover);transform:translateY(-2px)}.slip-button__face{width:28px;height:28px;color:var(--on-danger);background:var(--coral);border-radius:50%;place-items:center;font-size:.84rem;display:grid}.section-block{margin-top:22px}.section-title{justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px;display:flex}.section-title .eyebrow{margin-bottom:6px}.section-title h2{margin:0}.section-hint{font-size:.75rem}.history-card,.leaderboard-card,.settings-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--settings-surface);box-shadow:var(--shadow-card);overflow:hidden}.history-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:67px;padding:10px 18px;display:flex}.history-row:last-child{border-bottom:0}.history-row--slipped{background:var(--slip-row-surface)}.history-date{gap:3px;font-family:Nunito,sans-serif;font-size:.9rem;font-weight:800;display:grid}.history-date small{font-family:DM Sans,sans-serif;font-size:.7rem;font-weight:500}.history-toggle{min-width:87px;min-height:40px;color:var(--leaf-deep);background:var(--mist);border-radius:99px;justify-content:center;align-items:center;gap:6px;font-size:.76rem;font-weight:800;display:inline-flex}.history-toggle:hover{background:var(--accent-soft-hover-alt)}.history-toggle--slipped{color:var(--coral-deep);background:var(--danger-soft)}.history-toggle--slipped:hover{background:var(--danger-soft-hover)}.gentle-note{border:1px dashed var(--border-note);border-radius:var(--radius-sm);color:var(--forest-soft);background:var(--note-surface);align-items:flex-start;gap:11px;margin:25px 0;padding:17px 18px;font-size:.82rem;display:flex}.gentle-note svg{color:var(--leaf-deep);flex:none}.gentle-note p{margin:0}.undo-bar{min-height:49px;color:var(--forest);background:var(--undo-surface);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;padding:7px 10px 7px 17px;font-size:.83rem;font-weight:700;display:flex}.undo-bar button{min-height:44px;color:var(--leaf-deep);background:var(--surface-raised);border-radius:9px;padding:6px 12px;font-weight:900}.undo-count{color:var(--ink-muted);font-size:.75rem}.sheet-backdrop{z-index:20;background:var(--overlay);place-items:end center;padding:20px;display:grid;position:fixed;inset:0}.confirmation-sheet{border:1px solid var(--sheet-border);width:min(100%,470px);color:var(--forest);background:var(--cream);box-shadow:var(--shadow-sheet);text-align:center;border-radius:29px;padding:36px 30px 29px;animation:.22s ease-out sheet-up;position:relative}.confirmation-sheet .evil-cake-mark{margin:0 auto 14px}.confirmation-sheet h2{font-size:1.65rem}.confirmation-sheet p:not(.eyebrow){color:var(--forest-soft);font-size:.92rem}.sheet-close{position:absolute;top:10px;right:10px}.sheet-actions{justify-content:center;gap:10px;margin-top:23px;display:flex}.sheet-actions .button{flex:1}.confirmation-sheet--danger>svg{color:var(--coral);margin-bottom:10px}.leaf-badge{color:var(--gold);flex:none;align-items:center;gap:7px;margin-top:8px;font-family:Nunito,sans-serif;font-weight:900;display:flex}.invite-card{border-radius:var(--radius-md);color:var(--forest);background:var(--mist);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:15px;margin-bottom:25px;padding:19px;display:grid}.invite-card>div:only-child{grid-column:1/-1}.invite-card .text-button{align-items:center;min-height:44px;margin-top:8px;display:inline-flex}.invite-card__icon{width:45px;height:45px;color:var(--leaf-deep);background:var(--surface-raised);border-radius:15px;place-items:center;display:grid}.invite-card h2{margin-bottom:3px;font-size:1.04rem}.invite-card p{max-width:470px;color:var(--forest-soft);margin:0;font-size:.78rem}.invite-card .button{white-space:nowrap;min-height:42px}.invite-link-card{border:1px solid var(--border-invite);border-radius:var(--radius-sm);background:var(--surface-raised);justify-content:space-between;align-items:center;gap:12px;margin:-10px 0 27px;padding:14px 15px;display:flex}.invite-link-card>div{gap:6px;min-width:0;display:grid}.invite-link-card .eyebrow{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.64rem;overflow:hidden}.invite-link-card code{color:var(--forest-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.leader-row{border-bottom:1px solid var(--line);align-items:center;gap:13px;min-height:76px;padding:13px 18px;display:flex}.leader-row:last-child{border-bottom:0}.leader-row--self{background:var(--self-surface)}.rank-leaf{color:var(--leaf);flex:0 0 37px;place-items:center;display:grid;position:relative}.rank-leaf svg{position:absolute}.rank-leaf span{z-index:1;color:#fff;margin-top:2px;font-family:Nunito,sans-serif;font-size:.68rem;font-weight:900;position:relative}.rank-leaf--1{color:#8a601d}.rank-leaf--2{color:#526872}.rank-leaf--3{color:#885331}.rank-leaf--4{color:#39762f}.rank-leaf--unranked{color:#8cae82}.leader-person{flex:1;gap:3px;min-width:0;display:grid}.leader-person strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.3;display:-webkit-box;overflow:hidden}.leader-row>.apple-mark{flex-shrink:0}.leader-person span{color:var(--ink-muted);font-size:.75rem}.leader-row>.text-button{font-size:.73rem}.generated-note{color:var(--ink-muted);text-align:right;margin:12px 2px 0;font-size:.72rem}.circle-search{margin-bottom:16px}.circle-more{margin:16px 0 8px}.update-prompt{z-index:30;border:1px solid var(--border-update);max-width:calc(100% - 30px);color:var(--forest);background:var(--surface-raised);box-shadow:var(--shadow-card);border-radius:99px;align-items:center;gap:13px;padding:9px 10px 9px 15px;font-size:.78rem;font-weight:700;display:flex;position:fixed;top:15px;right:15px}.update-prompt button{min-height:34px;color:var(--on-accent);background:var(--leaf-deep);border-radius:99px;padding:6px 12px;font-size:.75rem;font-weight:800}.empty-state{color:var(--forest-soft);text-align:center;justify-items:center;gap:7px;padding:38px 20px;display:grid}.empty-state .apple-mark{margin-bottom:3px}.empty-state strong{font-size:.95rem}.empty-state span{font-size:.78rem}.settings-card{margin-bottom:16px;padding:20px}.settings-card .form-stack{gap:15px}.settings-card>.section-title{text-align:left;flex-direction:row;align-items:center}.settings-card>.section-title>div{min-width:0}.settings-card>.section-title>svg{color:var(--leaf-deep);flex-shrink:0}.settings-card .button{margin-top:5px}.settings-card--quiet{padding:5px 21px}.settings-line{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:66px;display:flex}.settings-line:last-child{border-bottom:0}.settings-line>div{gap:4px;display:grid}.settings-line strong{font-size:.9rem}.settings-line span{color:var(--ink-muted);font-size:.75rem}.settings-line>svg{color:var(--leaf-deep);flex:none}.settings-action{border-bottom:1px solid var(--line);width:100%;min-height:57px;color:var(--forest);text-align:left;background:0 0;align-items:center;gap:13px;font-family:Nunito,sans-serif;font-size:.9rem;font-weight:800;display:flex}.settings-action:last-child{border-bottom:0}.settings-action>svg:last-child{margin-left:auto}.settings-action:hover{color:var(--leaf-deep)}.settings-action--danger{color:var(--coral-deep)}.privacy-page{min-height:100vh;padding:28px 20px 50px}.privacy-brand{width:min(100%,730px);margin:0 auto 30px}.privacy-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--privacy-surface);width:min(100%,730px);box-shadow:var(--shadow-card);margin:0 auto;padding:clamp(25px,6vw,55px)}.privacy-card h1{max-width:600px}.privacy-card h2{margin-top:32px}.privacy-card p{color:var(--forest-soft)}.privacy-card .button{margin-top:15px}.invite-page .auth-card{max-width:540px}.state-card{border-radius:var(--radius-md);color:var(--forest-soft);background:var(--mist);align-items:flex-start;gap:13px;margin:30px 0;padding:19px;display:flex}.state-card>svg{color:var(--leaf-deep);flex:none}.state-card strong{margin-bottom:4px;display:block}.state-card p{margin:0 0 12px;font-size:.84rem}.state-card--error{color:var(--coral-deep);background:var(--danger-panel)}.state-card--error>svg{color:var(--coral)}@keyframes apple-pulse{0%,to{transform:scale(1)rotate(-2deg)}50%{transform:scale(1.05)rotate(2deg)}}@keyframes apple-sad{0%{transform:translateY(0)rotate(0)}25%{transform:translateY(5px)rotate(-5deg)}55%{transform:translateY(0)rotate(5deg)}to{transform:translateY(0)rotate(0)}}@keyframes checkin-pop{0%{transform:scale(1)rotate(0)}45%{transform:scale(1.2)rotate(-8deg)}to{transform:scale(1)rotate(0)}}@keyframes checkin-message-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-up{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media (max-width:700px){.topbar{min-height:64px;padding:calc(12px + env(safe-area-inset-top,0px)) max(18px, env(safe-area-inset-right,0px)) 12px max(18px, env(safe-area-inset-left,0px))}.topbar__tag{display:none}.page-frame{padding:16px max(16px, env(safe-area-inset-right,0px)) var(--nav-clearance) max(16px, env(safe-area-inset-left,0px))}.page-heading{margin-bottom:16px}.page-heading h1{font-size:1.8rem}.streak-hero{min-height:260px;padding:34px 27px}.streak-hero__apple{width:118px;height:118px}.daily-actions{grid-template-columns:1fr}.invite-card .button{grid-column:1/-1;width:100%}.onboarding-card{border-radius:27px;grid-template-columns:1fr;gap:28px;padding:31px 23px}.onboarding-intro .apple-mark{margin-bottom:16px}.onboarding-intro h1{font-size:2.4rem}.app-shell{--nav-bottom:12px}}@media (max-width:430px){.auth-page{padding:22px 14px 70px}.auth-card{border-radius:26px;padding:33px 22px 29px}.auth-card h1{font-size:2.25rem}.page-heading{display:block}.connection-pill{margin-top:16px}.streak-hero{align-items:flex-start;padding:28px 22px}.streak-hero__apple{opacity:.88;width:108px;height:108px;position:absolute;bottom:13px;right:11px}.streak-number strong{font-size:6.3rem}.section-title{flex-direction:column;align-items:start;gap:5px}.history-row{padding-inline:13px}.leader-row{gap:9px;padding-inline:11px}.leader-row>.apple-mark{width:37px;height:37px}.leader-row{gap:7px}.leader-row .rank-leaf{flex-basis:28px}.leader-actions{gap:4px}.leader-actions .button{padding-inline:10px;font-size:.8rem}.leader-row>.text-button{font-size:.67rem}.confirmation-sheet{padding-inline:21px}.sheet-actions{flex-direction:column-reverse}.sheet-actions .button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.streak-hero--sad .streak-hero__apple{opacity:.65}}.bottom-nav{z-index:10;left:calc(50% + (env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)) / 2);right:auto;bottom:calc(var(--nav-bottom,19px) + env(safe-area-inset-bottom,0px));width:min(calc(100% - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)), 420px);min-height:var(--nav-height,66px);border:1px solid var(--nav-border);background:var(--nav-surface);box-shadow:var(--shadow-nav);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-radius:23px;justify-content:space-around;align-items:stretch;display:flex;position:fixed;transform:translate(-50%)}.nav-item{min-width:0;min-height:64px;color:var(--ink-muted);border-radius:18px;flex:1;place-content:center;justify-items:center;gap:3px;font-size:.68rem;font-weight:900;text-decoration:none;display:grid;position:relative}.challenge-badge{min-width:17px;color:var(--on-accent);background:var(--accent-solid);border-radius:20px;padding:2px 4px;font-size:.65rem;position:absolute;top:4px;right:6px}.challenge-card{border:1px solid var(--line);background:var(--card-surface);overflow-wrap:anywhere;border-radius:24px;margin:12px 0;padding:16px}.challenge-card h3{margin:0 0 6px;font-size:1.05rem;line-height:1.3}.challenge-goal{margin-bottom:6px;font-size:.85rem;font-weight:600}.challenge-dates{color:var(--forest-soft);margin-bottom:12px;font-size:.8rem}.challenge-calendar-note{margin-top:3px;font-size:.72rem;display:block}.challenge-person{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:5px 12px;margin:12px 0;font-size:.85rem;display:grid}.challenge-person>strong{overflow-wrap:anywhere;min-width:0}.challenge-person>span{text-align:right;font-size:.8rem}.challenge-person>progress,.challenge-person>small{grid-column:1/-1}.challenge-person progress{width:100%;accent-color:var(--accent-solid);height:12px}.challenge-person small{line-height:1.35}.challenge-actions{flex-wrap:wrap;gap:12px;display:flex}.challenge-toolbar{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:18px;display:flex}.challenge-toolbar .text-button{padding:10px 4px}.challenge-empty{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--mist);padding:28px 24px}.challenge-empty h2{margin:0 0 12px}.challenge-empty p{max-width:48ch;line-height:1.6}.challenge-empty .section-hint{margin-bottom:0}.together-apples{border-bottom:5px solid var(--sage);border-radius:50%;align-items:end;gap:4px;width:-moz-fit-content;width:fit-content;margin-bottom:16px;padding:0 12px 8px;display:flex}.together-apples .apple-mark:first-child{transform:rotate(-8deg)}.together-apples .apple-mark:last-child{color:#4f9b45;transform:rotate(8deg)}.section-title.week-heading{flex-flow:wrap;align-items:center;gap:8px 12px}.week-heading h2{font-size:clamp(1.25rem,3vw,1.5rem)}.week-heading .text-button{align-items:center;font-size:.85rem;display:inline-flex}.challenge-actions button,.leader-actions a{align-items:center;min-height:44px;display:inline-flex}.form-stack select{border:1px solid var(--line);width:100%;min-height:44px;font:inherit;color:var(--forest);background:var(--cream);border-radius:12px;padding:12px}.nav-item:hover{color:var(--leaf-deep)}.nav-item.active{color:var(--leaf-deep);background:var(--mist)}.nav-item svg{stroke-width:2.2px}.ga-dialog{width:min(440px, calc(100% - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;background:var(--cream);color:var(--forest);box-shadow:var(--shadow-dialog);border:0;border-radius:28px;padding:22px;scroll-padding-block:16px;overflow:auto}html:has(dialog[open]){overflow:hidden}.ga-dialog h2{overflow-wrap:anywhere}.ga-dialog .sheet-actions{flex-wrap:wrap}.ga-dialog .sheet-actions .button{white-space:normal;flex-basis:150px}@media (max-width:430px){.ga-dialog .sheet-actions .button{flex:none}}.notification-intro-actions{gap:10px;margin-top:23px;display:grid}.help-card{margin-block:20px}.help-points{margin-block:16px 22px;padding-left:20px;line-height:1.6}.help-points li+li{margin-top:10px}.managed-invite{margin-top:16px}.managed-invite code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;font-size:.85rem;display:block}.managed-invite-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.avatar-field{border:0;min-width:0;margin:0;padding:0}.avatar-field legend{margin-bottom:12px;font-weight:800}.avatar-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.avatar-choice{border:2px solid var(--line);background:var(--cream);min-height:94px;color:var(--forest);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px 2px;font-size:.72rem;font-weight:700;display:flex}.avatar-choice .apple-mark{color:#70a84a}.avatar-choice[aria-pressed=true]{border-color:var(--accent-solid);background:var(--mist);box-shadow:inset 0 0 0 1px var(--accent-solid)}.avatar-choice:focus-visible{outline:3px solid var(--focus-strong);outline-offset:3px}.ga-dialog .evil-cake-mark{margin:0 auto 16px}.ga-dialog .field{min-width:0}.ga-dialog input,.ga-dialog select{min-width:0;max-width:100%}.ga-dialog::backdrop{background:var(--dialog-overlay)}.ga-dialog>.icon-button{float:right;z-index:1;background:var(--cream);position:sticky;top:0}.ga-dialog h2{margin:12px 0 20px}.ga-dialog p{line-height:1.6}.growth-tree{flex-shrink:0;width:170px;height:170px}.count-explanation{color:var(--text-secondary);margin:16px 4px 24px;font-size:.85rem;line-height:1.6}.week-strip,.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.day-cell{border:1px solid var(--day-border);background:var(--day-surface);min-width:44px;min-height:72px;color:var(--day-text);cursor:pointer;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px 0;display:flex}.day-cell small{font-size:.67rem}.day-cell strong{font-size:1rem}.day-cell--confirmed{background:var(--success-surface);border-color:var(--success-border);color:var(--success-text)}.day-cell--slip{background:var(--slip-surface);border-color:var(--slip-border);color:var(--slip-text)}.day-cell:disabled{opacity:.45;cursor:default}.day-cell:focus-visible,.ga-dialog button:focus-visible{outline:3px solid var(--focus-strong);outline-offset:2px}.calendar-legend{color:var(--text-secondary);margin:16px 0;font-size:.78rem;line-height:1.7}.calendar-card{background:var(--card-solid);border:1px solid var(--calendar-border);border-radius:24px;margin-top:24px;padding:18px 12px}.calendar-card h2{font-size:1.1rem}.calendar-card .section-title{flex-direction:row;align-items:center;gap:6px}.streak-hero--sad>.growth-tree{animation:.35s ease-out apple-sad}.month-grid>small{text-align:center;color:var(--text-secondary);padding:8px 0}.progress-stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.progress-back-link{align-items:center;width:-moz-fit-content;width:fit-content;min-height:44px;margin-bottom:16px;display:flex}.progress-stats section{background:var(--stats-surface);border:1px solid var(--stats-border);border-radius:24px;flex-direction:column;gap:8px;padding:22px;display:flex}.progress-stats strong{color:var(--stats-text);font-size:3rem}.progress-stats small{color:var(--text-secondary)}.milestone-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:24px;display:grid}.milestone-row>div{background:var(--milestone-surface);color:var(--milestone-text);border-radius:18px;flex-direction:column;align-items:center;padding:4px 2px 12px;display:flex}.milestone-row .growth-tree{width:100%;height:auto}.milestone-row small{margin-top:6px;font-size:.65rem}.milestone-row .milestone-earned{background:var(--earned-surface);color:var(--stats-text)}.milestone-celebration{background:var(--celebration-surface);border:1px solid var(--celebration-border);color:var(--celebration-text);border-radius:24px;margin:20px 0;padding:22px;animation:.5s ease-out checkin-pop}.install-card{flex-wrap:wrap;align-items:center;gap:14px;padding:18px 0;display:flex}.text-button,.icon-button{min-height:44px}.icon-button{min-width:44px}.checkin-button,.button--primary{background:var(--accent-solid)}.checkin-button:disabled{color:var(--stats-text)}.button--coral{color:var(--on-danger)}.button--coral:hover{color:var(--on-danger-hover,#fff)}.streak-hero{background:linear-gradient(120deg, var(--hero-start), var(--hero-end))}.habit-switcher{justify-content:flex-end;align-items:center;gap:2px;display:flex}.habit-switcher>.icon-button{flex-shrink:0}.habit-switcher__picker{flex-shrink:0;position:relative}.habit-switcher__trigger{width:44px;height:44px;color:var(--forest-soft);background:0 0;border-radius:50%;place-items:center;display:grid}.habit-switcher__trigger:hover,.habit-switcher__trigger[aria-expanded=true]{background:var(--mist);color:var(--forest)}.habit-switcher__list{z-index:20;width:min(290px,100vw - 36px);max-height:min(360px, calc(100dvh - 180px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));overscroll-behavior:contain;border:1px solid var(--line);background:var(--cream);color:var(--forest);box-shadow:var(--shadow-soft);border-radius:16px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto}.habit-switcher__option{cursor:pointer;overflow-wrap:anywhere;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:10px 12px;font-size:.9rem;line-height:1.35;display:flex}.habit-switcher__option>span{min-width:0}.habit-switcher__option>svg{flex-shrink:0}.habit-switcher__option[aria-selected=true]{font-weight:700}.habit-switcher__option:hover{background:var(--mist)}.habit-switcher__option.is-active{background:var(--mist);outline:2px solid var(--accent-solid);outline-offset:-2px}.habit-switcher--demo{gap:12px;margin-bottom:20px}.habit-manage-row{border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;display:grid}.habit-manage-row>.habit-mascot,.habit-manage-row>.apple-mark{width:48px;max-width:none;height:auto}.habit-manage-row h3{overflow-wrap:anywhere;margin:0;font-size:1rem}.habit-manage-row p{color:var(--ink-muted);margin:4px 0 0;font-size:.8rem}.habit-manage-actions{align-items:center;gap:8px;display:flex}.habit-manage-actions>*{align-items:center;min-height:44px;display:inline-flex}.habit-catalog{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;display:grid}.habit-catalog-card{border:1px solid var(--catalog-border);background:var(--card-solid);box-shadow:var(--shadow-catalog);border-radius:20px;grid-template-columns:48px minmax(0,1fr) auto;align-content:start;align-items:center;gap:10px 12px;padding:16px;display:grid}.habit-catalog-copy{min-width:0}.habit-catalog-copy h3{margin:0 0 4px;font-size:1rem;line-height:1.2}.habit-catalog-copy p{color:var(--catalog-text);margin-bottom:6px;font-size:.82rem;line-height:1.4}.habit-catalog-card .button{min-height:44px;padding:9px 12px;font-size:.85rem}.habit-catalog-card .text-button{margin-top:8px}.habit-chip{background:var(--chip-surface);color:var(--chip-text);border-radius:20px;padding:3px 8px;font-size:.72rem;line-height:1.3;display:inline-flex}.habit-mascot{flex-shrink:0;width:225px;max-width:47%;height:auto;display:block}.habit-mascot--compact{width:76px;max-width:100%}.habit-catalog-card>.habit-mascot--compact,.habit-catalog-card>.apple-mark{width:48px;height:auto}.habit-apple-world{flex-shrink:0;width:210px;max-width:45%;position:relative}.habit-apple-world .growth-tree{width:100%;height:auto;display:block}.habit-apple-companion{color:#d8eb91;filter:drop-shadow(0 3px 3px #173f2a30);position:absolute;bottom:5px;left:0}.habit-hero{gap:10px}.habit-hero>.streak-hero__copy{min-width:0}.habit-hero .streak-message{overflow-wrap:anywhere}.streak-hero--sad .habit-mascot,.streak-hero--sad .habit-apple-world{animation:.35s ease-out apple-sad}.habit-share{align-items:center;gap:10px;min-height:44px;display:flex}.habit-share input{width:22px;height:22px;accent-color:var(--accent-native)}.smoking-goal-details{margin-bottom:14px;font-size:.88rem}.smoking-goal-details p{overflow-wrap:anywhere;margin-bottom:6px}.smoking-goal-details .section-hint{font-size:.8rem}.sync-notices{display:block}.sync-notices p{margin:0 0 8px}.milestone-row .habit-mascot--compact{width:72px;max-width:100%}.mascot-gallery{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;display:grid}.mascot-gallery figure{border:1px solid var(--catalog-border);background:var(--card-solid);border-radius:18px;margin:0;padding:14px}.mascot-gallery .habit-mascot,.mascot-gallery .habit-apple-world{width:100%;max-width:100%}.mascot-gallery .habit-apple-companion{width:32%;height:auto}.mascot-gallery figcaption{color:var(--chip-text);margin-top:6px;font-size:.8rem}@media (max-width:600px){.habit-manage-row{gap:10px}.habit-catalog{grid-template-columns:1fr}.habit-catalog-card{padding:14px}.habit-hero{align-items:center;min-height:230px;padding:26px 20px}.habit-hero .streak-number strong{font-size:4rem}.habit-hero .streak-number span{font-size:1rem}.habit-hero>.habit-mascot{width:145px;max-width:48%}.habit-apple-world{width:125px;max-width:45%}.habit-apple-companion{width:40px;height:40px}}@media (prefers-reduced-motion:reduce){.streak-hero--sad .habit-mascot,.streak-hero--sad .habit-apple-world{opacity:.75;animation:none}}@media (max-width:420px){.week-strip{gap:3px}.calendar-card{padding-inline:4px}.month-grid{gap:2px}.streak-hero>.growth-tree{align-self:flex-end;width:110px;height:110px}.progress-stats section{padding:16px}}@media (prefers-reduced-motion:reduce){.milestone-celebration{animation:none}}.notification-settings fieldset{border:0;gap:8px;margin:16px 0;padding:0;display:grid}.notification-settings fieldset label{align-items:center;gap:12px;min-height:44px;display:flex}.notification-settings input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent-control)}.reaction-picker{gap:8px;margin-top:16px;display:grid}.reaction-picker .button{white-space:normal;text-align:left;justify-content:flex-start;min-height:44px}.reaction-picker .button[aria-pressed=true]{outline:2px solid var(--accent-solid);outline-offset:-2px}.appearance-card>.section-hint{margin-bottom:14px}.theme-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.theme-choice{border:2px solid var(--line);background:var(--cream);min-width:0;min-height:86px;color:var(--forest);border-radius:14px;align-content:start;justify-items:stretch;gap:7px;padding:6px;font-size:.76rem;font-weight:700;line-height:1.3;display:grid}.theme-choice[aria-pressed=true]{border-color:var(--accent-solid)}.theme-choice:disabled{cursor:default;opacity:.75}.theme-preview{background:var(--preview-background);border:1px solid var(--preview-accent);border-radius:8px;height:44px;display:block;position:relative;overflow:hidden}.theme-preview>span{border:1px solid var(--preview-accent);background:var(--preview-surface);border-radius:6px;position:absolute;inset:9px 12px 8px}.theme-preview>i{background:var(--preview-accent);border-radius:5px;width:22px;height:6px;position:absolute;bottom:14px;left:19px}.theme-preview>svg{color:var(--preview-accent);background:var(--preview-background);border-radius:50%;position:absolute;top:3px;right:3px}.appearance-status{min-height:1.5em;color:var(--ink-muted);margin:12px 0 0;font-size:.78rem}.theme-save-notice{z-index:35;top:calc(12px + env(safe-area-inset-top,0px));border:1px solid var(--slip-border);background:var(--danger-panel);width:min(500px,100% - 32px);color:var(--coral-deep);box-shadow:var(--shadow-card);border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 16px;padding:12px 16px;font-size:.85rem;display:flex;position:fixed;left:50%;transform:translate(-50%)}.theme-save-notice>span{text-align:center;flex-basis:100%}.email-login-card{text-align:left;width:min(100%,440px)}.email-login-card>.apple-mark{margin:0 auto 16px;display:block}.email-login-card h1{font-size:clamp(1.45rem,5vw,1.9rem)}.email-login-card>.text-button{margin-top:12px;display:flex}.email-code-form{width:100%;min-width:0}.email-code-form .section-hint{margin:0}.email-code-input{letter-spacing:.25em;font-variant-numeric:tabular-nums;font-size:1.3rem}.email-code-actions{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.email-code-actions button,.signin-method .text-button{min-height:44px}.signin-methods>h2{margin:0}.signin-method{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.signin-method>div{gap:4px;min-width:0;display:grid}.signin-method>div>span{overflow-wrap:anywhere;color:var(--ink-muted);font-size:.875rem}.signin-method>.text-button{flex-shrink:0}@media (max-width:420px){.signin-method{flex-wrap:wrap}}.training-editor{gap:12px;min-width:0;display:grid}.training-editor fieldset{border:0;min-width:0;margin:0;padding:0}.training-editor legend{margin-bottom:8px;font-weight:700}.training-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.training-choice{border:1px solid var(--line);background:var(--cream);cursor:pointer;border-radius:12px;align-items:center;gap:8px;min-width:0;min-height:44px;padding:8px 10px;display:flex}.training-choice input{width:20px;height:20px;accent-color:var(--accent-control);flex:0 0 20px;margin:0}.training-choice:has(input:checked){border-color:var(--accent-control)}.training-choice span{overflow-wrap:anywhere;font-size:.875rem}.training-tags,.training-suggestions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.training-tags .habit-chip{white-space:normal;overflow-wrap:anywhere;max-width:100%}.training-custom{border:1px solid var(--line);background:var(--cream);max-width:100%;min-height:44px;color:var(--forest);font:inherit;overflow-wrap:anywhere;border-radius:12px;padding:8px 12px;font-size:.875rem}.training-editor textarea,.training-retained textarea{resize:vertical;width:100%;min-height:100px}.training-summary{min-width:0}.training-note{white-space:pre-wrap;overflow-wrap:anywhere}.training-today{margin-top:12px}.training-retained{overflow-wrap:anywhere;margin:8px 0}.training-retained summary{cursor:pointer;min-height:44px;padding-block:10px}.training-photo-section h3{align-items:center;gap:10px;margin:0 0 8px;display:flex}.training-photo-section h3 small{color:var(--ink-muted);font-size:.8rem}.training-photos{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px;min-width:0;margin-block:12px;display:grid}.training-photos--compact{flex-wrap:wrap;display:flex}.training-photos--compact .training-photo{width:80px}.training-photo{min-width:0}.training-photo__preview{aspect-ratio:1;border:1px solid var(--line);background:var(--cream);cursor:pointer;border-radius:12px;width:100%;padding:0;display:block;overflow:hidden}.training-photo__preview img{object-fit:cover;width:100%;height:100%;display:block}.training-photo__placeholder{background:var(--cream);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:12px;min-height:80px;padding:8px;font-size:.8rem}.training-photo .text-button{white-space:normal;align-items:center;min-height:44px;display:inline-flex}.training-photo-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.training-photo-actions .text-button{min-height:44px}.training-photo-expanded{object-fit:contain;width:100%;max-height:65dvh;display:block}.private-storage-notice{z-index:1000;background:var(--cream);max-width:640px;color:var(--forest);border:1px solid var(--line);box-shadow:var(--shadow-soft);margin:0 auto;position:fixed;top:16px;left:16px;right:16px}
