@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--color-background: #faf9f7;--color-surface: #ffffff;--color-surface-raised: #ffffff;--color-border: #e5e1db;--color-text: #202124;--color-text-muted: #6b7280;--color-text-inverse: #faf9f7;--color-accent-primary: #3d6b54;--color-accent-primary-surface: #e3f1e6;--color-danger: #c0392b;--color-danger-surface: #fbe7e4;--color-success: #2f8f5b;--color-warning: #92660a;--color-overlay: rgba(32, 33, 36, .45);--color-routine-surface: #dcf3f3;--color-routine-accent: #14707a;--color-groceries-surface: #fbe4ed;--color-groceries-accent: #b0335a;--color-budget-surface: #fff2d4;--color-budget-accent: #92660a;--color-reminders-surface: #efe5fa;--color-reminders-accent: #6647a6;--color-notes-surface: #ffe9dc;--color-notes-accent: #a34e1d;--color-chat-surface: #e4e8ff;--color-chat-accent: #3f4fb5;--color-focus-surface: #e6eef7;--color-focus-accent: #33618c;--color-bronze: #a8662f;--color-bronze-surface: #f6e3d3;--color-silver: #6f7a87;--color-silver-surface: #e8ecf0;--color-gold: #a57c0a;--color-gold-surface: #fbefc6;--color-platinum: #2f7489;--color-platinum-surface: #d9eff5;--space-2xs: 4px;--space-xs: 8px;--space-sm: 12px;--space-md: 16px;--space-lg: 20px;--space-xl: 24px;--space-2xl: 32px;--space-3xl: 40px;--space-4xl: 48px;--space-5xl: 64px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 20px;--radius-xl: 24px;--radius-pill: 999px;--font-family: "Nunito Variable", Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--duration-fast: .12s;--duration-base: .2s;--duration-slow: .32s;--easing-standard: cubic-bezier(.2, 0, 0, 1);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-background: #17181a;--color-surface: #1f2023;--color-surface-raised: #25272b;--color-border: #2d2f33;--color-text: #f3f1ec;--color-text-muted: #a6abb3;--color-text-inverse: #17181a;--color-accent-primary: #8fd4b0;--color-accent-primary-surface: #1f3a2c;--color-danger: #f2867a;--color-danger-surface: #3a2422;--color-success: #7fd9a8;--color-warning: #f0c766;--color-overlay: rgba(0, 0, 0, .6);--color-routine-surface: #1c3a3c;--color-routine-accent: #7fd6de;--color-groceries-surface: #3a2430;--color-groceries-accent: #f4a5c4;--color-budget-surface: #3a3220;--color-budget-accent: #f0c766;--color-reminders-surface: #2e2740;--color-reminders-accent: #c7aef0;--color-notes-surface: #3b2a20;--color-notes-accent: #f5b48c;--color-chat-surface: #232a4a;--color-chat-accent: #aeb8ff;--color-focus-surface: #1d2b3a;--color-focus-accent: #9cc3ea;--color-bronze: #e0a676;--color-bronze-surface: #3b2a1f;--color-silver: #c3cbd5;--color-silver-surface: #2c3036;--color-gold: #f0c766;--color-gold-surface: #3a3220;--color-platinum: #9fd6e8;--color-platinum-surface: #1e3640;color-scheme:dark}}:root[data-theme=dark]{--color-background: #17181a;--color-surface: #1f2023;--color-surface-raised: #25272b;--color-border: #2d2f33;--color-text: #f3f1ec;--color-text-muted: #a6abb3;--color-text-inverse: #17181a;--color-accent-primary: #8fd4b0;--color-accent-primary-surface: #1f3a2c;--color-danger: #f2867a;--color-danger-surface: #3a2422;--color-success: #7fd9a8;--color-warning: #f0c766;--color-overlay: rgba(0, 0, 0, .6);--color-routine-surface: #1c3a3c;--color-routine-accent: #7fd6de;--color-groceries-surface: #3a2430;--color-groceries-accent: #f4a5c4;--color-budget-surface: #3a3220;--color-budget-accent: #f0c766;--color-reminders-surface: #2e2740;--color-reminders-accent: #c7aef0;--color-notes-surface: #3b2a20;--color-notes-accent: #f5b48c;--color-chat-surface: #232a4a;--color-chat-accent: #aeb8ff;--color-focus-surface: #1d2b3a;--color-focus-accent: #9cc3ea;--color-bronze: #e0a676;--color-bronze-surface: #3b2a1f;--color-silver: #c3cbd5;--color-silver-surface: #2c3036;--color-gold: #f0c766;--color-gold-surface: #3a3220;--color-platinum: #9fd6e8;--color-platinum-surface: #1e3640;color-scheme:dark}@media(prefers-reduced-motion:reduce){:root{--duration-fast: 0ms;--duration-base: 0ms;--duration-slow: 0ms}}[data-reduced-motion=true]{--duration-fast: 0ms;--duration-base: 0ms;--duration-slow: 0ms}:root[data-accent=ocean]{--color-accent-primary: #2e628f;--color-accent-primary-surface: #e2eef8}@media(prefers-color-scheme:dark){:root[data-accent=ocean]:not([data-theme=light]){--color-accent-primary: #9cc6ee;--color-accent-primary-surface: #1c2e40}}:root[data-accent=ocean][data-theme=dark]{--color-accent-primary: #9cc6ee;--color-accent-primary-surface: #1c2e40}:root[data-accent=lavender]{--color-accent-primary: #6a4fa3;--color-accent-primary-surface: #eee7fa}@media(prefers-color-scheme:dark){:root[data-accent=lavender]:not([data-theme=light]){--color-accent-primary: #c7b4f0;--color-accent-primary-surface: #2b2540}}:root[data-accent=lavender][data-theme=dark]{--color-accent-primary: #c7b4f0;--color-accent-primary-surface: #2b2540}:root[data-accent=coral]{--color-accent-primary: #b0472f;--color-accent-primary-surface: #fce7e1}@media(prefers-color-scheme:dark){:root[data-accent=coral]:not([data-theme=light]){--color-accent-primary: #f5a08a;--color-accent-primary-surface: #3a2620}}:root[data-accent=coral][data-theme=dark]{--color-accent-primary: #f5a08a;--color-accent-primary-surface: #3a2620}:root[data-accent=honey]{--color-accent-primary: #86610c;--color-accent-primary-surface: #fff2d4}@media(prefers-color-scheme:dark){:root[data-accent=honey]:not([data-theme=light]){--color-accent-primary: #f0c766;--color-accent-primary-surface: #3a3220}}:root[data-accent=honey][data-theme=dark]{--color-accent-primary: #f0c766;--color-accent-primary-surface: #3a3220}:root[data-accent=rose]{--color-accent-primary: #a3345c;--color-accent-primary-surface: #fbe4ed}@media(prefers-color-scheme:dark){:root[data-accent=rose]:not([data-theme=light]){--color-accent-primary: #f4a5c4;--color-accent-primary-surface: #3a2430}}:root[data-accent=rose][data-theme=dark]{--color-accent-primary: #f4a5c4;--color-accent-primary-surface: #3a2430}:root[data-accent=graphite]{--color-accent-primary: #3f4652;--color-accent-primary-surface: #eceef1}@media(prefers-color-scheme:dark){:root[data-accent=graphite]:not([data-theme=light]){--color-accent-primary: #c9cfd8;--color-accent-primary-surface: #2a2d33}}:root[data-accent=graphite][data-theme=dark]{--color-accent-primary: #c9cfd8;--color-accent-primary-surface: #2a2d33}:root{--color-plus-surface: #efe5fa;--color-plus-accent: #6647a6}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-plus-surface: #2e2740;--color-plus-accent: #c7aef0}}:root[data-theme=dark]{--color-plus-surface: #2e2740;--color-plus-accent: #c7aef0}.settings-icon--plus{background:var(--color-plus-surface);color:var(--color-plus-accent)}.btn.btn--plus{background:var(--color-plus-accent);color:var(--color-text-inverse)}.spinner.spinner--sm{width:16px;height:16px;border-width:2px;border-color:currentColor;border-top-color:transparent}.plus-badge{display:inline-block;padding:3px 10px;border-radius:var(--radius-pill);background:var(--color-plus-surface);color:var(--color-plus-accent);font-weight:800;font-size:.8rem}.plus-adds{background:var(--color-plus-surface);border-radius:var(--radius-lg);padding:var(--space-md)}.plus-adds__title{color:var(--color-plus-accent);font-size:.95rem;font-weight:800;margin:0 0 var(--space-xs)}.plus-adds__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-xs)}.plus-adds__list li{display:flex;align-items:flex-start;gap:var(--space-xs);font-size:.95rem;line-height:1.4}.plus-adds__list svg{flex-shrink:0;margin-top:1px;color:var(--color-plus-accent)}.plus-sheet{display:flex;flex-direction:column;gap:var(--space-md)}.plus-sheet__badge-row{display:flex;align-items:center;gap:var(--space-xs)}.plus-sheet__muted,.plus-sheet__fine{color:var(--color-text-muted)}.plus-sheet__body{margin:0;font-size:1rem;line-height:1.45}.plus-sheet__actions{display:flex;flex-direction:column;gap:var(--space-xs)}.plus-sheet__fine{margin:0 0 var(--space-2xs);font-size:.82rem;text-align:center}.plus-sheet__error,.plus-plans__error{margin:0;color:var(--color-danger);font-size:.9rem;text-align:center}.plus-status{background:var(--color-plus-surface);border-radius:var(--radius-xl);padding:var(--space-lg);display:flex;flex-direction:column;gap:var(--space-xs)}.plus-status--free{background:var(--color-surface);border:1px solid var(--color-border)}.plus-status--free .plus-status__icon{color:var(--color-text-muted);background:var(--color-background)}.plus-status__head{display:flex;align-items:center;gap:var(--space-sm)}.plus-status__icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--color-surface);color:var(--color-plus-accent);flex-shrink:0}.plus-status__title{margin:0;font-size:1.15rem;font-weight:800;min-width:0;overflow-wrap:anywhere}.plus-status__detail,.plus-status__meta{margin:0;color:var(--color-text-muted)}.plus-status__meta{font-size:.85rem}.plus-plans{display:flex;flex-direction:column;gap:var(--space-md)}.plus-plans__intro{color:var(--color-plus-accent);margin:var(--space-sm) 0 0;font-size:1.05rem;font-weight:700}.plus-plan-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm)}.plus-plan--yearly{--tile-accent: var(--color-plus-accent);--tile-surface: var(--color-plus-surface)}.plus-plan--monthly{--tile-accent: var(--color-routine-accent);--tile-surface: var(--color-routine-surface)}.plus-plan--family{--tile-accent: var(--color-groceries-accent);--tile-surface: var(--color-groceries-surface)}.plus-plan--lifetime{--tile-accent: var(--color-budget-accent);--tile-surface: var(--color-budget-surface)}.plus-plan{display:flex;flex-direction:column;gap:var(--space-xs);min-width:0;background:var(--tile-surface);border:1px solid color-mix(in srgb,var(--tile-accent) 25%,transparent);border-radius:var(--radius-xl);padding:var(--space-md)}.plus-plan--yearly,.plus-plan--lifetime{grid-column:1 / -1}.plus-plan--lifetime{border:2px solid var(--tile-accent);box-shadow:0 6px 24px color-mix(in srgb,var(--tile-accent) 28%,transparent)}.plus-plan--recommended{border:2px solid var(--tile-accent);box-shadow:0 6px 24px color-mix(in srgb,var(--tile-accent) 22%,transparent)}.plus-plan__head{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-xs)}.plus-plan__icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--tile-accent);color:var(--tile-surface)}.plus-plan__name{margin:0;font-size:1.05rem;font-weight:800;color:var(--tile-accent)}.plus-plan__badge{display:inline-flex;align-items:center;gap:4px;background:var(--tile-accent);color:var(--tile-surface);border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:800;letter-spacing:.01em;white-space:nowrap}.plus-plan__body{flex:1 1 auto}.plus-plan__price{margin:0;font-size:1.3rem;font-weight:800;color:var(--color-text)}.plus-plan__note{margin:2px 0 0;color:var(--color-text-muted);font-size:.88rem}.btn.plus-plan__buy{background:var(--tile-accent);color:var(--tile-surface);border-color:transparent;font-weight:800}.btn.plus-plan__buy:hover:not(:disabled){filter:brightness(1.08)}@media(min-width:640px){.plus-plan--yearly,.plus-plan--lifetime{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head buy" "body buy";align-items:center;column-gap:var(--space-lg)}.plus-plan--yearly .plus-plan__head,.plus-plan--lifetime .plus-plan__head{grid-area:head}.plus-plan--yearly .plus-plan__body,.plus-plan--lifetime .plus-plan__body{grid-area:body}.plus-plan--yearly .plus-plan__buy,.plus-plan--lifetime .plus-plan__buy{grid-area:buy;width:auto;min-width:180px}}@media(max-width:420px){.plus-plan{padding:var(--space-sm)}.plus-plan__price{font-size:1.15rem}}.plus-plans__fine{margin:0;color:var(--color-text-muted);font-size:.85rem}.plus-section__text{margin:0;padding:var(--space-md) var(--space-lg);color:var(--color-text-muted);border-bottom:1px solid var(--color-border)}.settings-group>.plus-section__text:last-child{border-bottom:none}.plus-family{list-style:none;margin:0;padding:0}.plus-family__row{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-lg);border-bottom:1px solid var(--color-border)}.settings-group>.plus-family:last-child .plus-family__row:last-child{border-bottom:none}.plus-family__name{flex:1 1 auto;min-width:0;font-weight:700;overflow-wrap:anywhere}.plus-family__remove{color:var(--color-danger)}.plus-leave{align-self:flex-start}.plus-welcome{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-md);padding:var(--space-3xl) var(--space-md)}.plus-welcome__icon{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--color-plus-surface);color:var(--color-plus-accent)}.plus-welcome__title{margin:0;font-size:1.5rem;font-weight:800}.plus-welcome__body{margin:0;color:var(--color-text-muted);max-width:420px}.landing-quip--focus{--quip-surface: var(--color-focus-surface);--quip-accent: var(--color-focus-accent)}.landing-hero__founders{display:inline-flex;align-items:center;gap:8px;margin-bottom:var(--space-md);padding:7px 14px;border-radius:999px;background:var(--color-budget-surface);color:var(--color-budget-accent);border:1px solid color-mix(in srgb,var(--color-budget-accent) 35%,transparent);font-size:.9rem;font-weight:800;text-decoration:none;box-shadow:0 6px 20px color-mix(in srgb,var(--color-budget-accent) 18%,transparent);transition:transform .2s ease}.landing-hero__founders:hover{transform:translateY(-1px) rotate(-1deg)}.landing-features{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:var(--space-md)}.landing-features__card--routine{--tile-accent: var(--color-routine-accent);--tile-surface: var(--color-routine-surface)}.landing-features__card--groceries{--tile-accent: var(--color-groceries-accent);--tile-surface: var(--color-groceries-surface)}.landing-features__card--budget{--tile-accent: var(--color-budget-accent);--tile-surface: var(--color-budget-surface)}.landing-features__card--reminders{--tile-accent: var(--color-reminders-accent);--tile-surface: var(--color-reminders-surface)}.landing-features__card--notes{--tile-accent: var(--color-notes-accent);--tile-surface: var(--color-notes-surface)}.landing-features__card--chat{--tile-accent: var(--color-chat-accent);--tile-surface: var(--color-chat-surface)}.landing-features__card--focus{--tile-accent: var(--color-focus-accent);--tile-surface: var(--color-focus-surface)}.landing-features__card--plus{--tile-accent: var(--color-plus-accent);--tile-surface: var(--color-plus-surface)}.landing-features__card{display:flex;flex-direction:column;gap:var(--space-xs);padding:var(--space-lg);border-radius:var(--radius-xl);background:var(--tile-surface);border:1px solid color-mix(in srgb,var(--tile-accent) 22%,transparent);transition:transform .2s ease,box-shadow .2s ease}.landing-features__card:nth-child(odd):hover{transform:translateY(-3px) rotate(-.6deg)}.landing-features__card:nth-child(2n):hover{transform:translateY(-3px) rotate(.6deg)}.landing-features__card:hover{box-shadow:0 10px 28px color-mix(in srgb,var(--tile-accent) 20%,transparent)}.landing-features__icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--tile-accent);color:var(--tile-surface);margin-bottom:var(--space-2xs)}.landing-features__icon:has(.luna-avatar){background:none}.landing-features__title{margin:0;font-size:1.08rem;font-weight:800;color:var(--tile-accent)}.landing-features__text{margin:0;color:var(--color-text);font-size:.95rem;line-height:1.5}.landing-focus__grid{display:grid;gap:var(--space-2xl);align-items:center}@media(min-width:860px){.landing-focus__grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}.landing-focus__stage{position:relative;display:flex;justify-content:center;padding:var(--space-xl) var(--space-lg)}.landing-focus__cushion{display:flex;align-items:flex-end;justify-content:center;width:min(300px,80vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 50% 78%,color-mix(in srgb,var(--color-focus-accent) 30%,transparent) 0 34%,transparent 35%),var(--color-focus-surface);border:2px solid color-mix(in srgb,var(--color-focus-accent) 30%,transparent);padding-bottom:8%}.landing-focus__timer,.landing-focus__chip{position:absolute;display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-md, 0 8px 24px rgb(0 0 0 / .12));font-weight:800;color:var(--color-text)}.landing-focus__timer{top:4%;left:50%;translate:-50% 0;padding:8px 16px;font-size:1.15rem;font-variant-numeric:tabular-nums;color:var(--color-focus-accent)}.landing-focus__chip{padding:6px 12px;font-size:.85rem}.landing-focus__chip--sound{bottom:12%;left:2%;rotate:-4deg}.landing-focus__chip--paw{bottom:22%;right:2%;rotate:5deg;padding:4px 10px 4px 4px;color:var(--color-focus-accent)}.landing-focus__points{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-lg)}.landing-focus__points li{display:flex;gap:var(--space-md);align-items:flex-start}.landing-focus__points h3{margin:0 0 4px;font-size:1.05rem;font-weight:800}.landing-focus__points p{margin:0;color:var(--color-text-muted);line-height:1.5}.landing-focus__icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:var(--color-focus-surface);color:var(--color-focus-accent)}.landing-plus__founders{display:grid;gap:var(--space-lg);align-items:center;margin:0 auto var(--space-2xl);max-width:880px;padding:var(--space-xl);border-radius:var(--radius-xl);background:var(--color-budget-surface);border:2px solid var(--color-budget-accent);box-shadow:0 10px 32px color-mix(in srgb,var(--color-budget-accent) 25%,transparent)}@media(min-width:720px){.landing-plus__founders{grid-template-columns:auto minmax(0,1fr)}}.landing-plus__founders-luna{display:flex;justify-content:center}.landing-plus__founders-copy{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-sm)}.landing-plus__badge{padding:3px 12px;border-radius:999px;background:var(--color-budget-accent);color:var(--color-budget-surface);font-size:.8rem;font-weight:800;letter-spacing:.02em}.landing-plus__founders-title{margin:0;font-size:clamp(1.3rem,2.6vw,1.7rem);font-weight:800;color:var(--color-text)}.landing-plus__founders-text{margin:0;color:var(--color-text);line-height:1.55}.btn.landing-plus__founders-cta{background:var(--color-budget-accent);color:var(--color-budget-surface);border-color:transparent;font-weight:800}.landing-plus__plans{display:grid;gap:var(--space-md);max-width:880px;margin:0 auto}@media(min-width:720px){.landing-plus__plans{grid-template-columns:repeat(2,minmax(0,1fr))}}.landing-plus__plan{padding:var(--space-xl);border-radius:var(--radius-xl);background:var(--color-background);border:1px solid var(--color-border)}.landing-plus__plan--plus{background:var(--color-plus-surface);border:2px solid var(--color-plus-accent)}.landing-plus__plan-title{display:flex;align-items:center;gap:8px;margin:0 0 var(--space-md);font-size:1.25rem;font-weight:800}.landing-plus__plan--free .landing-plus__plan-title{color:var(--color-text-muted)}.landing-plus__plan--plus .landing-plus__plan-title{color:var(--color-plus-accent)}.landing-plus__plan ul{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-sm)}.landing-plus__plan li{display:flex;gap:10px;align-items:flex-start;line-height:1.45}.landing-plus__plan li svg{flex:none;margin-top:3px}.landing-plus__plan--free li svg{color:var(--color-text-muted)}.landing-plus__plan--plus li svg{color:var(--color-plus-accent)}@media(max-width:559px){.landing-features{gap:var(--space-sm)}.landing-features__card{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:var(--space-md);row-gap:2px;padding:var(--space-md)}.landing-features__icon{grid-row:span 2;margin-bottom:0}.landing-features__title{font-size:1rem}.landing-features__text{font-size:.9rem;line-height:1.45}}.landing-header__nav a{white-space:nowrap}@media(min-width:1000px)and (max-width:1119px){.landing-header .landing-header__nav{display:none}.landing-header .landing-header__menu-button{display:inline-flex}.landing-header .landing-header__menu{display:block}}.landing-section__title:has(>.landing-section__eyebrow){display:flex;flex-direction:column;align-items:center;gap:var(--space-sm)}.landing-section__title>.landing-section__eyebrow{line-height:1.6}.landing-plus__price{min-height:3.2rem;margin:calc(-1 * var(--space-sm)) 0 var(--space-md);color:var(--color-text-muted);font-size:.95rem}.landing-plus__price p{margin:0}.landing-plus__price strong{color:var(--color-text);font-size:1.35rem;font-weight:800}.landing-plus__plan--plus .landing-plus__price{min-height:4.6rem}.landing-plus__price-more{margin-top:4px!important;font-size:.85rem}.landing-easy__answer{display:flex;align-items:center;justify-content:center;gap:var(--space-lg);max-width:720px;margin:calc(-1 * var(--space-md)) auto var(--space-xl)}.landing-easy__luna{flex:none;rotate:-6deg}.landing-easy__nope{margin:0;font-size:clamp(3rem,9vw,5rem);line-height:1;font-weight:900;letter-spacing:-.04em;color:var(--color-routine-accent);rotate:-3deg;transform-origin:left center}.landing-easy__subtitle{margin:var(--space-sm) 0 0;color:var(--color-text-muted);font-size:1.05rem;line-height:1.5}.landing-easy__meter{max-width:720px;margin:0 auto var(--space-2xl);padding-top:52px}.landing-easy__track{position:relative;height:14px;border-radius:999px;background:linear-gradient(90deg,var(--color-routine-accent),var(--color-budget-accent) 55%,var(--color-groceries-accent));opacity:.9}.landing-easy__marker{position:absolute;left:clamp(60px,9%,100%);bottom:22px;translate:-50% 0;display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 4px;border-radius:999px;background:var(--color-surface);border:1px solid var(--color-border);box-shadow:0 10px 24px -14px color-mix(in srgb,var(--color-text) 50%,transparent);font-size:.85rem;white-space:nowrap}.landing-easy__marker:after{content:"";position:absolute;left:50%;bottom:-8px;translate:-50% 0;border:7px solid transparent;border-top-color:var(--color-surface);border-bottom:0}.landing-easy__ends{display:flex;justify-content:space-between;gap:var(--space-md);margin-top:var(--space-sm);color:var(--color-text-muted);font-size:.85rem;font-weight:700}.landing-easy__ends span:last-child{text-align:right}.landing-easy__points{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.landing-easy__points li{padding:var(--space-lg);border-radius:var(--radius-xl);background:var(--color-surface);border:1px solid var(--color-border)}.landing-easy__points h3{margin:var(--space-sm) 0 4px;font-size:1.02rem;font-weight:800}.landing-easy__points p{margin:0;color:var(--color-text-muted);line-height:1.5;font-size:.93rem}.landing-easy__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:var(--color-routine-surface);color:var(--color-routine-accent)}@media(max-width:559px){.landing-easy__answer{flex-direction:column;text-align:center;gap:var(--space-sm)}.landing-easy__points{gap:var(--space-sm)}.landing-easy__points li{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:var(--space-md);padding:var(--space-md)}.landing-easy__icon{grid-row:span 2}.landing-easy__points h3{margin-top:0}.landing-easy__nope{transform-origin:center}.landing-easy__luna{zoom:.8}}.landing-plus__fine{max-width:880px;margin:var(--space-lg) auto 0;color:var(--color-text-muted);font-size:.85rem;line-height:1.55;text-align:center}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}html{overflow-x:hidden}body{margin:0;min-height:100dvh;background:var(--color-background);color:var(--color-text);font-family:var(--font-family);font-size:1rem;line-height:1.4;-webkit-font-smoothing:antialiased}img,svg{display:block;max-width:100%}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit}ul,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,p{margin:0}:focus-visible{outline:2px solid var(--color-accent-primary);outline-offset:2px;border-radius:var(--radius-sm)}@keyframes piccola-fade-in{0%{opacity:0}to{opacity:1}}@keyframes piccola-fade-in-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes piccola-sheet-in{0%{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes piccola-toast-in{0%{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.app-shell{display:flex;min-height:100dvh}.app-shell__sidebar{display:none}.app-shell__main{flex:1;min-width:0;display:flex;flex-direction:column}.page{width:100%;max-width:720px;margin:0 auto;padding:var(--space-lg) var(--space-lg) calc(112px + env(safe-area-inset-bottom,0px))}@media(min-width:900px){.page{padding-bottom:var(--space-5xl)}}.page--wide{max-width:1040px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);margin-top:calc(var(--space-lg) - var(--space-sm));padding:calc(var(--space-sm) + env(safe-area-inset-top,0px)) 0 var(--space-md);flex-wrap:wrap;position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--color-background) 78%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}.page-header>div:first-child{min-width:0;flex:1 1 auto}.page-header h1{font-size:1.125rem;font-weight:700;letter-spacing:-.01em;overflow-wrap:break-word}.page-header--home h1{font-size:1.875rem;line-height:1.15}.page-header__subtitle{color:var(--color-text-muted);font-size:.9rem;margin-top:2px}.two-col{display:grid;grid-template-columns:1fr;gap:var(--space-lg)}@media(min-width:900px){.app-shell__sidebar{display:flex}.two-col{grid-template-columns:1.4fr 1fr;align-items:start}}.sidebar{width:232px;flex-shrink:0;border-right:1px solid var(--color-border);padding:var(--space-lg) var(--space-sm);flex-direction:column;gap:var(--space-lg);position:sticky;top:0;height:100dvh}.sidebar__brand{display:flex;align-items:center;gap:var(--space-xs);font-size:var(--space-lg);font-weight:700;padding:0 var(--space-sm)}.sidebar__brand-logo{width:40px;height:40px;border-radius:22.5%;object-fit:cover;flex-shrink:0;margin-right:var(--space-xs)}.sidebar__nav{display:flex;flex-direction:column;gap:2px}.sidebar__link{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm);border-radius:var(--radius-md);text-decoration:none;color:var(--color-text-muted);font-weight:500;transition:background-color var(--duration-fast) var(--easing-standard)}.sidebar__link:hover{background:var(--color-surface)}.sidebar__link[aria-current=page]{background:var(--nav-active-surface, var(--color-accent-primary-surface));color:var(--nav-active-accent, var(--color-accent-primary))}.sidebar__link .nav-icon{width:20px;height:20px}.sidebar__footer{margin-top:auto}.tab-dock{position:fixed;left:var(--space-md);right:var(--space-md);bottom:calc(var(--space-sm) + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:center;gap:10px;z-index:40;pointer-events:none}.tab-dock>*{pointer-events:auto}.tab-bar{flex:1;max-width:380px;display:flex;justify-content:space-around;align-items:center;padding:6px;border-radius:var(--radius-pill);border:1px solid var(--color-border);background:color-mix(in srgb,var(--color-surface) 78%,transparent);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);box-shadow:0 8px 24px #00000014}.tab-add{flex-shrink:0;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;border:1px solid color-mix(in srgb,var(--color-accent-primary) 70%,transparent);background:color-mix(in srgb,var(--color-accent-primary) 88%,transparent);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);color:var(--color-text-inverse, #fff);box-shadow:0 8px 24px #0000001f;cursor:pointer;transition:transform var(--duration-fast) var(--easing-standard)}.tab-add:active{transform:scale(.94)}.tab-add:focus-visible{outline:2px solid var(--color-accent-primary);outline-offset:3px}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.tab-bar{background:var(--color-surface)}}@media(prefers-contrast:more),(forced-colors:active){.tab-bar{background:var(--color-surface);backdrop-filter:none;-webkit-backdrop-filter:none}}.tab-bar__item{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;flex:1;min-width:0;padding:8px 2px;border-radius:var(--radius-pill);text-decoration:none;color:var(--color-text-muted);min-height:44px;justify-content:center;transition:color var(--duration-fast) var(--easing-standard)}.tab-bar__item[aria-current=page]{color:var(--nav-active-accent, var(--color-accent-primary))}.tab-bar__indicator{position:absolute;inset:2px 4px;border-radius:var(--radius-pill);background:var(--nav-active-surface, var(--color-accent-primary-surface));z-index:-1;opacity:0;transform:scale(.9);transition:opacity var(--duration-base) var(--easing-standard),transform var(--duration-base) var(--easing-standard)}.tab-bar__item[aria-current=page] .tab-bar__indicator{opacity:1;transform:scale(1)}.tab-bar__icon{width:22px;height:22px}.tab-bar__icon-wrap{position:relative;display:inline-flex}.nav-count{min-width:17px;height:17px;padding:0 4px;border-radius:var(--radius-pill);background:var(--color-border);color:var(--color-text);font-size:10px;font-weight:700;line-height:17px;text-align:center;font-variant-numeric:tabular-nums}.nav-count--notes,.nav-count--chat{background:#e2834a;color:#fff}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .nav-count--notes,:root:not([data-theme=light]) .nav-count--chat{background:#f2a06a;color:#17181a}}:root[data-theme=dark] .nav-count--notes,:root[data-theme=dark] .nav-count--chat{background:#f2a06a;color:#17181a}.tab-bar__icon-wrap .nav-count{position:absolute;top:-6px;left:13px;box-shadow:0 0 0 1.5px var(--color-surface)}.sidebar__link .nav-count{margin-left:auto}.tab-bar__label{font-size:11px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:400px){.tab-bar{left:var(--space-xs);right:var(--space-xs);padding:4px}.tab-bar__label{font-size:10px;letter-spacing:-.01em}.tab-bar__icon{width:20px;height:20px}}@media(min-width:900px){.tab-dock,.btn.page-back{display:none}}@media(max-width:899.98px){.btn.home-add{display:none}}.page-header__lead{display:flex;align-items:center;gap:var(--space-sm)}.page-header__lead>div{min-width:0}.profile-link{display:block;text-decoration:none;width:40px;height:40px;border-radius:50%;flex-shrink:0}.profile-link img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid var(--color-border)}.profile-link .person-avatar{border:1px solid var(--color-border)}.profile-link:focus-visible{outline:2px solid var(--color-accent-primary);outline-offset:2px}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:var(--space-lg);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.card--flush{padding:0;overflow:hidden}.module-card{border-radius:var(--radius-xl);padding:var(--space-lg);border:1px solid transparent;text-decoration:none;color:var(--color-text);display:flex;flex-direction:column;gap:var(--space-xs);min-height:108px;min-width:0;transition:transform var(--duration-fast) var(--easing-standard);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.module-card__title,.module-card__metric,.module-card__caption{overflow-wrap:break-word}.module-card:hover{transform:translateY(-2px)}.module-card{position:relative;overflow:hidden}.module-card__mark{position:absolute;top:-10px;right:-12px;opacity:.12;transform:rotate(12deg);pointer-events:none}.module-card>:not(.module-card__mark){position:relative}.module-card__caption:not(.module-card__line .module-card__caption){padding-right:var(--space-lg)}.module-card__bar{display:block;height:6px;margin-top:auto;border-radius:3px;overflow:hidden;background:color-mix(in srgb,var(--tile-accent, currentColor) 18%,transparent)}.module-card__bar>span{display:block;height:100%;border-radius:3px;background:var(--tile-accent, currentColor)}.module-card__bar--thin{height:4px;margin-top:6px}.module-card__bar--over>span{background:var(--color-danger)}.module-card__title{font-weight:600;display:flex;align-items:center;gap:var(--space-xs)}.module-card__title svg{flex-shrink:0}.module-card__metric{font-size:var(--space-xl);font-weight:700}.module-card__metric-unit{font-size:.85rem;font-weight:600}.module-card__caption{font-size:.85rem;color:var(--color-text)}.module-card--routine{background:var(--color-routine-surface);color:var(--color-text)}.module-card--routine{--tile-accent: var(--color-routine-accent)}.module-card--routine .module-card__title svg,.module-card--routine .module-card__mark{color:var(--color-routine-accent)}.module-card--groceries{background:var(--color-groceries-surface);color:var(--color-text)}.module-card--groceries{--tile-accent: var(--color-groceries-accent)}.module-card--groceries .module-card__title svg,.module-card--groceries .module-card__mark{color:var(--color-groceries-accent)}.module-card--budget{background:var(--color-budget-surface);color:var(--color-text)}.module-card--budget{--tile-accent: var(--color-budget-accent)}.module-card--budget .module-card__title svg,.module-card--budget .module-card__mark{color:var(--color-budget-accent)}.module-card--reminders{background:var(--color-reminders-surface);color:var(--color-text)}.module-card--reminders{--tile-accent: var(--color-reminders-accent)}.module-card--reminders .module-card__title svg,.module-card--reminders .module-card__mark{color:var(--color-reminders-accent)}.module-card--notes{background:var(--color-notes-surface);color:var(--color-text)}.module-card--notes{--tile-accent: var(--color-notes-accent)}.module-card--notes .module-card__title svg,.module-card--notes .module-card__mark{color:var(--color-notes-accent)}.module-card--chat{background:var(--color-chat-surface);color:var(--color-text)}.module-card--chat{--tile-accent: var(--color-chat-accent)}.module-card--chat .module-card__title svg,.module-card--chat .module-card__mark{color:var(--color-chat-accent)}.module-card--focus{background:var(--color-focus-surface);color:var(--color-text)}.module-card--focus{--tile-accent: var(--color-focus-accent)}.module-card--focus .module-card__title svg,.module-card--focus .module-card__mark{color:var(--color-focus-accent)}.module-pair{display:flex;flex-direction:column;gap:var(--space-xs);min-width:0}.module-pair>.module-card{flex:1}.module-card--half{min-height:0;padding:var(--space-sm) var(--space-md);gap:var(--space-2xs)}.module-card--half .module-card__title{font-size:.92rem}.module-card__line{min-width:0}.module-card__line .module-card__metric,.module-card__line .module-card__caption{display:inline}.module-card__line--one{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-card--half .module-card__metric{font-size:1.3rem;line-height:1.2}.module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-md)}.module-grid>:last-child:nth-child(odd){grid-column:1 / -1}@media(min-width:760px){.module-grid:not(.module-grid--five):not(.module-grid--six){grid-template-columns:repeat(4,minmax(0,1fr))}.module-grid:not(.module-grid--five):not(.module-grid--six)>:last-child:nth-child(odd){grid-column:auto}}@media(min-width:560px){.module-grid--six{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:1100px){.module-grid--six{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(min-width:900px){.module-grid--five{grid-template-columns:repeat(5,minmax(0,1fr))}.module-grid--five>:last-child:nth-child(odd){grid-column:auto}}.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs);min-height:44px;padding:0 var(--space-lg);border-radius:var(--radius-pill);border:1px solid transparent;font-weight:600;font-size:.95rem;cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard),opacity var(--duration-fast) var(--easing-standard);background:var(--nav-active-accent, var(--color-accent-primary));color:var(--color-text-inverse)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border)}.btn--ghost{background:transparent;color:var(--nav-active-accent, var(--color-accent-primary));border-color:transparent;padding:0 var(--space-sm)}.btn--danger{background:var(--color-danger);color:#fff}.btn--sm{min-height:36px;padding:0 var(--space-md);font-size:.85rem}.btn--icon{min-height:40px;min-width:40px;padding:0;border-radius:var(--radius-pill);background:var(--color-surface);color:var(--color-text);border-color:var(--color-border)}.btn--block{width:100%}.btn-group{display:inline-flex;align-items:center;padding:0 2px;border:1px solid var(--color-border);border-radius:var(--radius-pill);background:var(--color-surface)}.btn-group .btn--icon{min-width:36px;border-color:transparent;background:transparent}.btn-group .btn--icon[aria-pressed=true],.btn-group .btn-group__active{color:var(--nav-active-accent, var(--color-accent-primary))}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:var(--space-md)}.field label,.field__label{font-size:.85rem;font-weight:600;color:var(--color-text-muted)}.interval-field{display:flex;align-items:center;gap:var(--space-sm)}.interval-field label{font-size:.95rem;color:var(--color-text)}.interval-field input{width:84px;flex:0 0 84px;text-align:center}.interval-field span{color:var(--color-text)}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),select,textarea{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:10px var(--space-sm);min-height:44px;min-width:0;font-size:1rem;color:var(--color-text);width:100%;transition:border-color var(--duration-fast) var(--easing-standard),box-shadow var(--duration-fast) var(--easing-standard)}textarea{min-height:88px;resize:vertical}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-opacity='0.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:var(--color-accent-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-accent-primary) 25%,transparent)}input:disabled,select:disabled,textarea:disabled{opacity:.6;cursor:not-allowed}input::placeholder,textarea::placeholder{color:var(--color-text-muted)}.field__error{color:var(--color-danger);font-size:.8rem}.field__hint{color:var(--color-text-muted);font-size:.8rem}input.code-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.75rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.4em;text-align:center;padding-left:calc(var(--space-sm) + .4em);min-height:56px}.resend-code{display:flex;flex-direction:column;align-items:center;gap:var(--space-xs);margin-top:var(--space-sm);text-align:center}.checkbox-row{display:flex;align-items:center;gap:var(--space-sm)}.checkbox-row input[type=checkbox]{width:20px;height:20px}.time-input{display:flex;align-items:center;gap:var(--space-2xs, 4px)}.time-input select{width:auto;flex:1 1 0;min-width:72px}.time-input__colon{font-weight:700;color:var(--color-text-muted)}.segmented{display:inline-flex;padding:4px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-pill);gap:2px}.segmented__item{border:none;background:transparent;padding:8px var(--space-md);border-radius:var(--radius-pill);font-weight:600;font-size:.85rem;color:var(--color-text-muted);cursor:pointer;min-height:36px}.segmented__item[aria-pressed=true]{background:var(--nav-active-surface, var(--color-accent-primary-surface));color:var(--nav-active-accent, var(--color-accent-primary))}.segmented__icon{display:inline-flex;vertical-align:-2px;margin-left:5px}.shared-indicator{display:inline-flex;vertical-align:-2px;margin-left:6px;color:var(--color-groceries-accent)}.state-block{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-sm);padding:var(--space-2xl) var(--space-lg);color:var(--color-text-muted)}.state-block__icon{width:40px;height:40px;opacity:.6}.state-block__title{font-weight:600;color:var(--color-text)}.state-block--celebrate{background:linear-gradient(135deg,var(--color-routine-surface),var(--color-groceries-surface));border-radius:var(--radius-xl);padding:var(--space-xl) var(--space-lg)}.state-block--celebrate .state-block__icon{opacity:1;color:var(--color-routine-accent);animation:celebrate-pop .5s cubic-bezier(.34,1.56,.64,1)}.state-block--celebrate .state-block__title{font-size:1.05rem}.state-block--celebrate p{color:var(--color-text-muted)}@keyframes celebrate-pop{0%{transform:scale(.5) rotate(-15deg);opacity:0}60%{transform:scale(1.15) rotate(8deg);opacity:1}to{transform:scale(1) rotate(0)}}.spinner{width:22px;height:22px;border-radius:50%;border:2.5px solid var(--color-border);border-top-color:var(--color-accent-primary);animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.spin-icon{animation:spin 1s linear infinite}.skeleton{background:linear-gradient(90deg,var(--color-border) 25%,var(--color-surface-raised) 37%,var(--color-border) 63%);background-size:400% 100%;animation:skeleton 1.4s ease infinite;border-radius:var(--radius-md)}@keyframes skeleton{0%{background-position:100% 50%}to{background-position:0 50%}}.list-row{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-sm);padding:var(--space-sm) 0;border-bottom:1px solid var(--color-border);animation:piccola-fade-in-up var(--duration-base) var(--easing-standard) both}.list-row>div,.list-row>span,.list-row>button.list-row--button{min-width:0}.list-row__title,.list-row__meta{overflow-wrap:break-word}.list-row:last-child{border-bottom:none}.list-row--tinted{--tint-amount: 18%;background:color-mix(in srgb,var(--row-tint, var(--color-routine-accent)) var(--tint-amount),var(--color-surface));border-bottom:none;border-radius:var(--radius-md);padding:var(--space-sm) var(--space-sm);margin-bottom:var(--space-xs)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .list-row--tinted{--tint-amount: 32%}}:root[data-theme=dark] .list-row--tinted{--tint-amount: 32%}.list-row--tinted:last-child{margin-bottom:0}.list-row--highlight{outline:2px solid var(--row-tint, var(--color-routine-accent));outline-offset:2px;transition:outline-color .3s}:root .list-row--tinted.list-row--done{--tint-amount: 7%}.completion-cell{--completion-tint: 30%;--completion-ink: var(--color-text);background:color-mix(in srgb,color-mix(in srgb,var(--color-routine-accent) var(--completion-done, 0%),var(--color-groceries-accent)) var(--completion-tint),var(--color-surface));color:var(--completion-ink)}.completion-cell--today{background:color-mix(in srgb,color-mix(in srgb,var(--color-routine-accent) var(--completion-tint),var(--color-surface)) var(--completion-today, 0%),var(--color-border))}.completion-cell--faint{--completion-ink: var(--color-text)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .completion-cell{--completion-tint: 100%;--completion-ink: var(--color-text-inverse)}:root:not([data-theme=light]) .completion-cell--faint{--completion-ink: var(--color-text)}}:root[data-theme=dark] .completion-cell{--completion-tint: 100%;--completion-ink: var(--color-text-inverse)}:root[data-theme=dark] .completion-cell--faint{--completion-ink: var(--color-text)}.list-row--button{width:100%;text-align:left;background:none;border:none;cursor:pointer;border-radius:var(--radius-md)}.list-row--timed{flex-wrap:nowrap;align-items:center}.list-row__body{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:0;color:inherit;font:inherit}.list-row__note-label{display:inline-flex;align-items:center;gap:4px}.time-column{width:50px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--color-text);font-variant-numeric:tabular-nums}.time-column__main{font-size:1rem;font-weight:700;line-height:1.2;white-space:nowrap}.time-column--words .time-column__main{font-size:.8rem;white-space:normal}.time-column__suffix{font-size:.7rem;font-weight:600;color:var(--color-text-muted)}.time-column--muted .time-column__main{color:var(--color-text-muted)}.category-bars{display:flex;flex-direction:column;gap:var(--space-sm)}.category-bar__row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);margin-bottom:6px}.category-bar__name{display:flex;align-items:center;gap:8px;min-width:0;font-weight:600;overflow-wrap:break-word}.category-bar__dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.category-bar__amount{font-weight:700;white-space:nowrap}.category-bar__track{height:10px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-text) 8%,var(--color-surface));overflow:hidden}.category-bar__fill{height:100%;border-radius:var(--radius-pill);transition:width .4s ease}.checkbox-control{width:26px;height:26px;border-radius:50%;border:2px solid var(--color-border);background:var(--color-surface);flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center}.checkbox-control[aria-checked=true]{background:var(--nav-active-accent, var(--color-accent-primary));border-color:var(--nav-active-accent, var(--color-accent-primary));color:var(--color-text-inverse)}.status-mark{width:26px;height:26px;border-radius:50%;border:2px solid var(--color-border);flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--color-text-muted)}.status-mark--done{background:var(--nav-active-accent, var(--color-accent-primary));border-color:var(--nav-active-accent, var(--color-accent-primary));color:var(--color-text-inverse)}.status-mark--not-done{border-style:dashed;opacity:.7}.list-row--not-done .list-row__title{color:var(--color-text-muted)}.list-row--done .list-row__title{text-decoration:line-through;color:var(--color-text-muted)}.list-row__title{font-weight:500}.list-row__meta{font-size:.8rem;color:var(--color-text-muted)}.list-row__spacer{flex:1}.pill{display:inline-flex;align-items:center;padding:2px 10px;border-radius:var(--radius-pill);font-size:.75rem;font-weight:600;background:var(--color-border)}.badge-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.sheet-overlay{position:fixed;inset:0;background:var(--color-overlay);display:flex;align-items:flex-end;justify-content:center;z-index:100;padding:0;animation:piccola-fade-in var(--duration-fast) var(--easing-standard) both}@media(min-width:640px){.sheet-overlay{align-items:center;padding:var(--space-lg)}}.sheet{position:relative;background:var(--color-surface);width:100%;max-width:540px;max-height:calc(100% - 24px);border-radius:var(--radius-xl) var(--radius-xl) 0 0;box-shadow:0 -8px 40px #0000002e;display:flex;flex-direction:column;min-height:0;animation:piccola-sheet-in var(--duration-base) var(--easing-standard) both}.sheet:before{content:"";position:absolute;top:8px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:var(--radius-pill);background:var(--color-border)}@media(min-width:640px){.sheet{border-radius:var(--radius-xl);box-shadow:0 24px 64px #00000038;max-height:min(calc(100% - 48px),860px)}.sheet:before{display:none}}.sheet__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);padding:var(--space-xl) var(--space-lg) var(--space-sm);flex:0 0 auto}.sheet__header .btn--icon{min-height:36px;min-width:36px;border-color:transparent;background:color-mix(in srgb,var(--color-text) 6%,transparent)}.sheet__title{font-size:1.15rem;font-weight:700;letter-spacing:-.01em;min-width:0;overflow-wrap:break-word}.sheet__body{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;flex:1 1 auto;min-height:0;padding:var(--space-xs) var(--space-lg) var(--space-lg)}.sheet__body>form>.field:last-child,.sheet__body>.field:last-child{margin-bottom:0}.sheet__actions{display:flex;justify-content:flex-end;gap:var(--space-sm);flex:0 0 auto;background:var(--color-surface);border-top:1px solid var(--color-border);padding:var(--space-sm) var(--space-lg) calc(var(--space-sm) + env(safe-area-inset-bottom,0px));border-radius:0 0 var(--radius-xl) var(--radius-xl)}@media(max-width:639px){.sheet__actions>.btn{flex:1 1 0}.sheet__actions{border-radius:0}}.sheet__body:last-child{padding-bottom:calc(var(--space-xl) + env(safe-area-inset-bottom,0px))}.form-section{margin:0 0 var(--space-md);padding:var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--color-background) 55%,var(--color-surface));min-width:0}.form-section:last-child{margin-bottom:0}.form-section__title{float:left;width:100%;padding:0;margin:0 0 var(--space-sm);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted)}.form-section__title+*{clear:both}.form-section>.field:last-child,.form-section>:last-child>.field:last-child{margin-bottom:0}.form-section__hint{margin-top:var(--space-xs);font-size:.8rem;color:var(--color-text-muted)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--space-sm)}.field-grid--wide-first{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.toggle-field{display:flex;align-items:center;gap:var(--space-md);margin-bottom:var(--space-md)}.toggle-field:last-child{margin-bottom:0}.toggle-field__text{flex:1;min-width:0}.toggle-field__label{font-weight:600;font-size:.95rem;cursor:pointer}.toggle-field__hint{margin-top:2px;font-size:.8rem;color:var(--color-text-muted)}.chips{display:flex;flex-wrap:wrap;gap:var(--space-xs)}.chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border-radius:var(--radius-pill);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;font-size:.875rem;font-weight:600;cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard),border-color var(--duration-fast) var(--easing-standard),color var(--duration-fast) var(--easing-standard)}.chip:hover{border-color:color-mix(in srgb,var(--nav-active-accent, var(--color-accent-primary)) 45%,var(--color-border))}.chip[aria-pressed=true]{background:var(--nav-active-surface, var(--color-accent-primary-surface));border-color:var(--nav-active-accent, var(--color-accent-primary));color:var(--nav-active-accent, var(--color-accent-primary))}.chips--sm .chip{min-height:34px;min-width:44px;justify-content:center;padding:0 12px}.chip__dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.amount-field{display:flex;align-items:stretch;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);transition:border-color var(--duration-fast) var(--easing-standard),box-shadow var(--duration-fast) var(--easing-standard)}.amount-field:focus-within{border-color:var(--color-accent-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-accent-primary) 25%,transparent)}.amount-field--invalid{border-color:var(--color-danger)}.amount-field select,.amount-field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){border:none;background-color:transparent;box-shadow:none;min-height:56px}.amount-field select{width:auto;flex:0 0 auto;font-weight:700;border-right:1px solid var(--color-border);border-radius:var(--radius-md) 0 0 var(--radius-md)}.amount-field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){flex:1;font-size:1.6rem;font-weight:700;letter-spacing:-.01em;border-radius:0 var(--radius-md) var(--radius-md) 0}.amount-field select:focus-visible,.amount-field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible{box-shadow:none}.upload-tile{display:flex;align-items:center;gap:var(--space-sm);min-height:56px;padding:var(--space-sm) var(--space-md);border:1.5px dashed var(--color-border);border-radius:var(--radius-md);color:var(--color-text-muted);cursor:pointer;transition:border-color var(--duration-fast) var(--easing-standard),background-color var(--duration-fast) var(--easing-standard)}.upload-tile:hover{border-color:var(--nav-active-accent, var(--color-accent-primary));background:color-mix(in srgb,var(--nav-active-accent, var(--color-accent-primary)) 6%,transparent)}.upload-tile:focus-within{outline:2px solid var(--color-accent-primary);outline-offset:2px}.upload-tile--filled{border-style:solid;cursor:default;color:var(--color-text)}.upload-tile--filled:hover{background:none;border-color:var(--color-border)}.upload-tile--disabled{cursor:not-allowed;opacity:.7}.upload-tile--disabled:hover{border-color:var(--color-border);background:none}.upload-tile__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-weight:600;color:var(--color-text)}.upload-tile__hint{font-weight:400;font-size:.8rem;color:var(--color-text-muted)}.receipt-picker{display:flex;gap:var(--space-xs);flex-wrap:wrap}.receipt-picker>.upload-tile{flex:1 1 200px}.receipt-picker__camera{min-height:56px}.amount-field__currency{position:relative;display:flex;align-items:center;gap:4px;flex:0 0 auto;padding:0 var(--space-sm) 0 var(--space-md);border-right:1px solid var(--color-border);font-weight:700;color:var(--color-text)}.amount-field .amount-field__currency select{position:absolute;inset:0;width:100%;min-height:0;padding:0;opacity:0;cursor:pointer}.color-picker__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}.color-picker__selected{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:.85rem;font-weight:600;color:var(--color-text);overflow-wrap:anywhere}.color-picker__chip{width:12px;height:12px;border-radius:50%;flex-shrink:0;border:1px solid color-mix(in srgb,var(--color-text) 15%,transparent)}.swatches{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:clamp(6px,1.6vw,10px);padding:6px;margin:-6px}.swatch{width:100%;max-width:36px;aspect-ratio:1;justify-self:center;border-radius:50%;border:1px solid color-mix(in srgb,var(--color-text) 12%,transparent);cursor:pointer;padding:0;display:grid;place-items:center;color:#202124;transition:transform var(--duration-fast) var(--easing-standard)}.swatch:hover{transform:scale(1.1)}.swatch[aria-pressed=true]{box-shadow:0 0 0 3px var(--color-surface),0 0 0 5px var(--color-text)}.color-picker__toggle{align-self:flex-start;margin-top:var(--space-2xs);padding:0 var(--space-xs)}.color-picker__toggle svg{transition:transform var(--duration-fast) var(--easing-standard)}.color-picker__chevron--up{transform:rotate(180deg)}.card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-sm);margin-bottom:var(--space-md)}.card__heading{min-width:0}.card__title{font-size:1.05rem;font-weight:700;letter-spacing:-.01em}.card__subtitle{margin-top:2px;font-size:.85rem;color:var(--color-text-muted)}.card__action{flex-shrink:0;display:flex;align-items:center;gap:var(--space-2xs)}.card--list{padding:0;overflow:hidden}.card--list>.card__header{padding:var(--space-lg) var(--space-lg) 0;margin-bottom:var(--space-xs)}.card--list .list-row{padding:var(--space-sm) var(--space-lg)}.card--list .list-group__label{padding:var(--space-md) var(--space-lg) var(--space-2xs)}.list-group__label{display:flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted);padding:var(--space-md) 0 var(--space-2xs)}.list-group__label:first-child{padding-top:var(--space-2xs)}.card--list .list-group__label:first-child{padding-top:var(--space-lg)}.icon-action{width:36px;height:36px;flex-shrink:0;display:inline-grid;place-items:center;border:none;border-radius:50%;background:transparent;color:var(--color-text-muted);cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard),color var(--duration-fast) var(--easing-standard)}.icon-action:hover,.icon-action:focus-visible{background:color-mix(in srgb,var(--color-text) 7%,transparent);color:var(--color-text)}.icon-action--danger:hover,.icon-action--danger:focus-visible{background:var(--color-danger-surface);color:var(--color-danger)}.icon-action:disabled{opacity:.4;cursor:not-allowed}.action-menu{position:fixed;z-index:90;min-width:180px;padding:4px;display:flex;flex-direction:column;border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 14px 36px -12px #00000047;animation:piccola-fade-in var(--duration-fast) var(--easing-standard) both}.action-menu__item{display:flex;align-items:center;gap:var(--space-xs);width:100%;padding:8px 10px;border:none;border-radius:calc(var(--radius-md) - 4px);background:transparent;color:var(--color-text);font:inherit;font-size:.9rem;text-align:left;cursor:pointer}.action-menu__item svg{flex-shrink:0;color:var(--color-text-muted)}.action-menu__item:hover,.action-menu__item:focus-visible{background:color-mix(in srgb,var(--color-text) 7%,transparent);outline:none}.action-menu__item--danger,.action-menu__item--danger svg{color:var(--color-danger)}.action-menu__item--danger:hover,.action-menu__item--danger:focus-visible{background:var(--color-danger-surface)}.action-menu__text{display:flex;flex-direction:column;gap:1px;min-width:0}.action-menu__hint{font-size:.75rem;color:var(--color-text-muted)}.choice-list{display:flex;flex-direction:column;border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow:hidden}.choice-row{display:flex;align-items:center;gap:var(--space-sm);width:100%;min-height:56px;padding:var(--space-sm) var(--space-md);border:none;border-bottom:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard)}.choice-row:last-child{border-bottom:none}.choice-row:hover{background:color-mix(in srgb,var(--color-text) 4%,var(--color-surface))}.choice-row__icon{width:36px;height:36px;border-radius:var(--radius-sm);display:grid;place-items:center;flex-shrink:0;background:var(--nav-active-surface, var(--color-accent-primary-surface));color:var(--nav-active-accent, var(--color-accent-primary))}.choice-row__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.choice-row__label{font-weight:600;display:flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap}.choice-row__meta{font-size:.8rem;color:var(--color-text-muted)}.choice-row__trailing{flex-shrink:0;display:flex;align-items:center;gap:var(--space-2xs);color:var(--color-text-muted)}.choice-row--static{cursor:default}.choice-row--static:hover{background:var(--color-surface)}.choice-row--muted .choice-row__label,.choice-row--muted .routine-dot{opacity:.55}.snooze-options{display:flex;flex-direction:column;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);border-bottom:1px solid var(--color-border);background:color-mix(in srgb,var(--color-reminders-surface) 45%,var(--color-surface))}.snooze-options:last-child{border-bottom:none}.snooze-options__prompt{font-size:.85rem;color:var(--color-text-muted)}.drag-handle{flex-shrink:0;width:32px;height:36px;margin-left:calc(var(--space-xs) * -1);display:grid;place-items:center;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);cursor:grab;touch-action:none}.drag-handle:hover{color:var(--color-text);background:color-mix(in srgb,var(--color-text) 6%,transparent)}.drag-handle:focus-visible{outline:2px solid var(--nav-active-accent, var(--color-accent-primary));outline-offset:1px}.choice-list--dragging{-webkit-user-select:none;user-select:none;cursor:grabbing}.choice-list--dragging .drag-handle{cursor:grabbing}.choice-row--dragging,.choice-row--dragging:hover{position:relative;z-index:1;background:var(--color-surface-raised, var(--color-surface));box-shadow:0 6px 18px #00000024}.list-order-hint{margin:0 0 var(--space-sm)}.choice-row__main{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-sm);padding:0;border:none;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:var(--radius-sm)}.routine-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 0%,transparent);border:1px solid color-mix(in srgb,var(--color-text) 12%,transparent)}.sheet-tabs{margin-bottom:var(--space-md)}.sheet-tabs .segmented{display:flex;width:100%}.sheet-tabs .segmented__item{flex:1}.field__inline-action{align-self:flex-start;margin-top:var(--space-2xs);padding:0 var(--space-xs)}.inline-add{display:flex;gap:var(--space-xs);margin-top:var(--space-md)}.inline-add>input{flex:1}.inline-add>.btn{flex-shrink:0;min-height:44px}.list-row__badge{width:32px;height:32px;border-radius:var(--radius-sm);display:grid;place-items:center;flex-shrink:0}.list-row__badge--routine{background:var(--color-routine-surface);color:var(--color-routine-accent)}.list-row__badge--groceries{background:var(--color-groceries-surface);color:var(--color-groceries-accent)}.list-row__badge--budget{background:var(--color-budget-surface);color:var(--color-budget-accent)}.list-row__badge--reminders{background:var(--color-reminders-surface);color:var(--color-reminders-accent)}.list-row__badge--notes{background:var(--color-notes-surface);color:var(--color-notes-accent)}.list-row__badge--chat{background:var(--color-chat-surface);color:var(--color-chat-accent)}.list-row__badge--focus{background:var(--color-focus-surface);color:var(--color-focus-accent)}.list-row__badge--system{background:var(--color-accent-primary-surface);color:var(--color-accent-primary)}.list-row__badge--round{width:26px;height:26px;border-radius:50%}.list-row__chevron{flex-shrink:0;color:var(--color-text-muted)}.notif-bell{position:relative}.notif-bell__count{position:absolute;top:0;right:0;background:var(--color-accent-primary);color:var(--color-text-inverse);box-shadow:0 0 0 1.5px var(--color-background)}.notif-bell__actions{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);min-height:36px;margin-bottom:var(--space-xs)}.notif-bell__summary{color:var(--color-text-muted);font-size:.85rem;font-weight:600}.notif-banner{display:flex;align-items:flex-start;gap:var(--space-sm);padding:var(--space-sm) var(--space-xs) var(--space-sm) var(--space-sm);margin-bottom:var(--space-sm);border-radius:var(--radius-md);background:var(--color-budget-surface)}.notif-banner__icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--color-surface);color:var(--color-budget-accent)}.notif-banner__text{flex:1;min-width:0}.notif-banner__title{margin:0;font-weight:600;color:var(--color-text)}.notif-banner__body{margin:2px 0 0;font-size:.85rem;color:var(--color-text-muted)}.notif-banner__actions{margin-top:var(--space-xs)}.notif-banner__dismiss{margin-top:-4px}.home-columns{display:flex;flex-direction:column;gap:var(--space-lg);margin-top:var(--space-xl)}.period-nav{display:inline-flex;align-items:center;gap:var(--space-2xs);padding:2px;border:1px solid var(--color-border);border-radius:var(--radius-pill);background:var(--color-surface)}.period-nav__label{min-width:128px;text-align:center;font-weight:700;font-size:.95rem;white-space:nowrap;padding:0 var(--space-2xs)}.period-nav__trailing{display:flex;align-items:center;padding-right:var(--space-2xs)}.page-toolbar__scroll{max-width:100%;overflow-x:auto}@media(max-width:699px){.page-toolbar__scroll{margin-inline:calc(-1 * var(--space-lg));padding-inline:var(--space-lg);max-width:none;scrollbar-width:none}.page-toolbar__scroll::-webkit-scrollbar{display:none}.page-toolbar__scroll .chips{flex-wrap:nowrap}.page-toolbar__scroll .chip{flex-shrink:0}}.agenda{display:flex;flex-direction:column;gap:var(--space-xl);max-width:760px}.agenda__heading{display:flex;align-items:center;gap:var(--space-xs);margin-bottom:var(--space-sm);font-size:.95rem;font-weight:700;color:var(--color-text-muted)}.agenda__day--today .agenda__heading{color:var(--color-text)}.agenda__today{display:inline-flex;align-items:center;padding:2px 10px;border-radius:var(--radius-pill);background:var(--color-routine-surface);color:var(--color-routine-accent);font-size:.75rem;font-weight:700}.agenda__empty{color:var(--color-text-muted);font-size:.9rem;padding:var(--space-sm) var(--space-md);border:1px dashed var(--color-border);border-radius:var(--radius-md)}.agenda__missed{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.agenda__missed-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-xs);width:100%;padding:var(--space-sm) var(--space-md);border:none;background:none;color:var(--color-text);font:inherit;text-align:left;cursor:pointer}.agenda__missed-toggle>svg:first-child{color:var(--color-warning)}.agenda__missed-title{font-weight:700}.agenda__missed-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:var(--radius-pill);background:var(--color-budget-surface);color:var(--color-warning);font-size:.75rem;font-weight:800}.agenda__missed-hint{flex:1;min-width:140px;font-size:.85rem;color:var(--color-text-muted)}.agenda__missed-toggle>svg:last-child{color:var(--color-text-muted);transition:transform var(--duration-fast) var(--easing-standard)}.agenda__chevron--open{transform:rotate(180deg)}.agenda__missed-days{display:flex;flex-direction:column;gap:var(--space-md);padding:0 var(--space-md) var(--space-md)}.agenda__subheading{margin-bottom:var(--space-xs);font-size:.8rem;font-weight:700;color:var(--color-text-muted)}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--space-xs)}.week-strip__day{display:flex;flex-direction:column;align-items:center;gap:2px;padding:var(--space-xs) 0;border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;cursor:pointer;transition:transform var(--duration-fast) var(--easing-standard)}.week-strip__day:hover{transform:translateY(-1px)}.week-strip__day--today{border-color:var(--color-routine-accent)}.week-strip__day[aria-pressed=true]{border:2px solid var(--color-text)}.week-strip__weekday{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;opacity:.8}.week-strip__date{font-size:1.1rem;font-weight:700}.week-strip__ratio{font-size:.7rem;opacity:.85}.search-field{position:relative;display:flex;align-items:center}.search-field>svg{position:absolute;left:14px;color:var(--color-text-muted);pointer-events:none}.search-field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){padding-left:40px;border-radius:var(--radius-pill)}.list-add-row{display:flex;align-items:center;gap:var(--space-sm);width:100%;padding:var(--space-sm) var(--space-lg);min-height:52px;border:none;border-top:1px solid var(--color-border);background:none;color:var(--nav-active-accent, var(--color-accent-primary));font:inherit;font-weight:600;cursor:pointer;text-align:left;transition:background-color var(--duration-fast) var(--easing-standard)}.list-add-row:hover{background:color-mix(in srgb,var(--nav-active-accent, var(--color-accent-primary)) 7%,transparent)}.grocery-quick-add{margin-top:0;padding:var(--space-sm) var(--space-lg);border-bottom:1px solid var(--color-border)}.grocery-quick-add>.btn{min-width:44px;padding:0}.list-row--pending{color:var(--color-text-muted)}.list-row--pending .checkbox-control{cursor:default;opacity:.5}.sync-pill{flex-shrink:0;font-weight:500;color:var(--color-text-muted)}.sync-pill--failed{background:var(--color-danger-surface);color:var(--color-danger);font-weight:600}.card__footer{display:flex;flex-wrap:wrap;gap:var(--space-2xs);padding:var(--space-xs) var(--space-sm);border-top:1px solid var(--color-border);background:color-mix(in srgb,var(--color-background) 50%,var(--color-surface))}.card--list .state-block{padding:var(--space-2xl) var(--space-lg)}select.select-pill{width:auto;min-height:40px;border-radius:var(--radius-pill);font-size:.9rem;font-weight:600;padding-left:14px}.pill--quiet{background:var(--color-surface);border:1px solid var(--color-border);padding:6px 12px;font-size:.85rem}.card__toolbar{display:flex;gap:var(--space-xs);flex-wrap:wrap;padding:0 var(--space-lg) var(--space-xs)}.list-row__amount{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.expense-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.budget-summary{display:flex;align-items:center;gap:var(--space-lg);flex-wrap:wrap;background:radial-gradient(120% 140% at 0% 0%,var(--color-budget-surface) 0%,transparent 60%),var(--color-surface)}.budget-summary__text{flex:1;min-width:150px;display:flex;flex-direction:column;gap:2px}.budget-summary__spent{font-size:1.9rem;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.budget-summary__limit{color:var(--color-text-muted)}.budget-summary__remaining{font-weight:700;color:var(--color-success)}.budget-summary__remaining--over{color:var(--color-danger)}.budget-summary__edit{align-self:flex-start;margin-top:var(--space-sm)}.budget-summary__year-link{align-self:flex-start}.expense-filter-chips{flex:1 1 100%;min-width:0;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.expense-filter-chips .chips{flex-wrap:nowrap}.expense-filter-chips .chip{flex-shrink:0;white-space:nowrap}.set-budget__hint{display:block;margin-bottom:var(--space-md)}.year-summary__back{margin-left:calc(-1 * var(--space-sm));margin-bottom:var(--space-2xs)}.sheet__actions-delete{margin-right:auto;color:var(--color-danger)}.cal{display:flex;flex-direction:column;gap:4px}.cal__row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal__row--head{margin-bottom:2px}.cal__weekday{text-align:center;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);padding:2px 0}.cal__cell{display:flex;justify-content:center}.cal__day{position:relative;width:100%;max-width:48px;aspect-ratio:1;border-radius:50%;border:2px solid transparent;background:transparent;color:var(--color-text);font:inherit;font-size:.95rem;font-weight:500;cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard)}.cal__day:hover{background:color-mix(in srgb,var(--color-text) 6%,transparent)}.cal__day--outside{color:var(--color-text-muted);opacity:.6}.cal__day--has{background:var(--color-reminders-surface);font-weight:700}.cal__day--today{color:var(--color-reminders-accent);font-weight:800}.cal__day[aria-pressed=true]{border-color:var(--color-reminders-accent)}.cal__dot{position:absolute;bottom:12%;left:50%;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--color-reminders-accent)}:root{--note-highlight: color-mix(in srgb, #ffd43b 48%, transparent);--note-code-bg: color-mix(in srgb, var(--color-text) 7%, transparent);--note-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--note-highlight: color-mix(in srgb, #ffd43b 26%, transparent)}}:root[data-theme=dark]{--note-highlight: color-mix(in srgb, #ffd43b 26%, transparent)}.notes-section{margin-bottom:var(--space-xl)}.notes-section>.list-group__label{padding:0 var(--space-2xs) var(--space-sm)}.notes-grid{columns:1;column-gap:var(--space-md)}@media(min-width:600px){.notes-grid{columns:2}}@media(min-width:1000px){.notes-grid{columns:3}}.note-card{--note-card-bg: var(--color-surface);position:relative;break-inside:avoid;display:flex;flex-direction:column;gap:var(--space-xs);margin-bottom:var(--space-md);padding:var(--space-md);border-radius:var(--radius-lg);border:1px solid var(--color-border);background:var(--note-card-bg);transition:transform var(--duration-fast) var(--easing-standard),box-shadow var(--duration-fast) var(--easing-standard);animation:piccola-fade-in-up var(--duration-base) var(--easing-standard) both}.note-card--tinted,.note-editor-page--tinted .note-sheet{--note-card-bg: var(--note-tint);border-color:color-mix(in srgb,var(--note-tint),var(--color-text) 10%)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .note-card--tinted,:root:not([data-theme=light]) .note-editor-page--tinted .note-sheet{--note-card-bg: color-mix(in srgb, var(--note-tint) 20%, var(--color-background));border-color:color-mix(in srgb,var(--note-tint) 40%,var(--color-border))}}:root[data-theme=dark] .note-card--tinted,:root[data-theme=dark] .note-editor-page--tinted .note-sheet{--note-card-bg: color-mix(in srgb, var(--note-tint) 20%, var(--color-background));border-color:color-mix(in srgb,var(--note-tint) 40%,var(--color-border))}.note-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px -20px color-mix(in srgb,var(--color-text) 40%,transparent)}.note-card__link{position:absolute;inset:0;border-radius:inherit;z-index:0}.note-card__link:focus-visible{outline:2px solid var(--color-accent-primary);outline-offset:2px}.note-card__head{display:flex;align-items:flex-start;gap:var(--space-xs)}.note-card__title{flex:1;min-width:0;font-size:1rem;font-weight:700;overflow-wrap:anywhere}.note-card__pin{flex-shrink:0;margin-top:3px;color:var(--color-notes-accent)}.note-card__menu{position:relative;z-index:1;width:28px;height:28px;margin:-4px -6px -4px 0}@media(hover:hover)and (pointer:fine){.note-card__menu{opacity:0;transition:opacity var(--duration-fast) var(--easing-standard)}.note-card:hover .note-card__menu,.note-card:focus-within .note-card__menu,.note-card__menu[aria-expanded=true]{opacity:1}}.note-card__body{display:flex;flex-direction:column;gap:4px}.note-card__text{font-size:.9rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.note-card__item{display:flex;align-items:flex-start;gap:var(--space-xs);font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}.note-card__item .checkbox-control{position:relative;z-index:1;width:20px;height:20px;margin-top:1px}.note-card__item--done span{text-decoration:line-through;color:var(--color-text-muted)}.note-card__more{font-size:.8rem;color:var(--color-text-muted)}.note-card__photo.note-photo__frame{width:auto;max-width:none;height:140px;margin:calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-2xs);border-radius:calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0}.note-card__divider{width:100%;margin:4px 0;border:none;border-top:1px solid color-mix(in srgb,var(--color-text) 14%,transparent)}.note-card__item{margin-left:calc(var(--note-indent, 0) * 16px)}.note-card__marker{flex-shrink:0;min-width:1em;text-align:center;font-variant-numeric:tabular-nums;color:var(--color-notes-accent)}.note-card__quote{padding-left:10px;border-left:3px solid color-mix(in srgb,var(--color-notes-accent) 45%,transparent)}.note-card__foot{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-sm);margin-top:var(--space-2xs);font-size:.78rem;font-weight:600;color:var(--color-text-muted)}.note-card__progress{display:inline-flex;align-items:center;gap:6px}.note-card__bar{width:40px;height:5px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-text) 12%,transparent);overflow:hidden}.note-card__bar>span{display:block;height:100%;border-radius:inherit;background:var(--color-notes-accent)}.note-card__reminder{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--radius-pill);background:var(--color-notes-surface);color:var(--color-notes-accent)}.note-card__reminder--past{background:transparent;color:var(--color-text-muted);text-decoration:line-through}.note-editor-page{max-width:760px}.note-editor__bar{flex-wrap:nowrap}.note-editor__back{padding-left:0;flex-shrink:0}.note-editor__status{flex:1;min-width:0;display:inline-flex;align-items:center;gap:4px;font-size:.8rem;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-editor__status--offline{color:var(--color-warning)}.note-editor__actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.note-editor__actions .icon-action[aria-pressed=true],.note-editor__actions .note-editor__shared{color:var(--color-notes-accent)}.note-sheet{--note-card-bg: var(--color-surface);display:flex;flex-direction:column;gap:var(--space-xs);min-height:55vh;padding:var(--space-xl) var(--space-xl) var(--space-2xl);border-radius:var(--radius-xl);border:1px solid var(--color-border);background:var(--note-card-bg);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}@media(max-width:480px){.note-sheet{padding:var(--space-lg) var(--space-md) var(--space-xl)}}.note-sheet input.note-title:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){font-size:1.5rem;font-weight:800;letter-spacing:-.01em;border:none;background:transparent;padding:0;min-height:0;box-shadow:none}.note-sheet input.note-title:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible{box-shadow:none}.note-blocks{display:flex;flex-direction:column;gap:2px}.note-sheet textarea.note-block,.note-sheet .note-block-mirror{display:block;width:100%;min-height:0;padding:4px 0;border:none;border-radius:0;background:transparent;box-shadow:none;resize:none;overflow:hidden;font-size:1rem;line-height:1.55}.note-sheet textarea.note-block:focus-visible{box-shadow:none;outline:none}.note-check{display:flex;align-items:flex-start;gap:var(--space-xs)}.note-check .checkbox-control{width:22px;height:22px;margin-top:5px}.note-card__item .checkbox-control:not([aria-checked=true]),.note-check .checkbox-control:not([aria-checked=true]),.checklist-sheet__box:not(.checklist-sheet__box--done){background:var(--color-background)}.note-check--done textarea.note-block,.note-check--done .note-block-mirror{text-decoration:line-through;color:var(--color-text-muted)}.note-check__remove{width:30px;height:30px;opacity:0}.note-check:hover .note-check__remove,.note-check:focus-within .note-check__remove{opacity:1}@media(hover:none){.note-check__remove{opacity:.6}}.note-check__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}.note-check__summary{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border:none;border-radius:var(--radius-pill);background:var(--color-surface-raised);color:var(--color-text-muted);font:inherit;font-size:.75rem;font-weight:600;cursor:pointer}.note-check__summary:hover{color:var(--color-text)}.checklist-sheet__progress{margin:0 0 var(--space-sm);color:var(--color-text-muted);font-size:.85rem}.checklist-sheet__items,.checklist-sheet__actions{list-style:none;margin:0 0 var(--space-md);padding:0;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.checklist-sheet__items li+li,.checklist-sheet__actions li+li{border-top:1px solid var(--color-border)}.checklist-sheet__item,.checklist-sheet__action{display:flex;align-items:center;gap:var(--space-sm);width:100%;min-height:48px;padding:6px var(--space-md);border:none;background:none;color:var(--color-text);font:inherit;text-align:left;cursor:pointer}.checklist-sheet__item:hover,.checklist-sheet__action:hover{background:var(--color-surface-raised)}.checklist-sheet__item--done .checklist-sheet__label{color:var(--color-text-muted);text-decoration:line-through}.checklist-sheet__box{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;border:2px solid var(--color-border)}.checklist-sheet__box--done{background:var(--color-notes-accent);border-color:var(--color-notes-accent);color:var(--color-text-inverse)}.checklist-sheet__action{font-weight:500}.checklist-sheet__action--danger{color:var(--color-danger)}.note-check__add{display:inline-flex;align-items:center;gap:6px;margin:2px 0 var(--space-xs) 30px;padding:4px 0;border:none;background:none;color:var(--color-notes-accent);font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}.note-reminder-pill{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:var(--radius-pill);border:none;background:var(--color-notes-surface);color:var(--color-notes-accent);font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}.note-reminder-pill--past{background:color-mix(in srgb,var(--color-text) 6%,transparent);color:var(--color-text-muted)}.note-toolbar{position:sticky;bottom:calc(92px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:var(--space-xs);margin-top:var(--space-md);z-index:20}.note-toolbar__chips{display:flex;gap:var(--space-xs);justify-content:center;flex-wrap:wrap;max-width:100%}.note-toolbar .chip{background:var(--color-surface);box-shadow:0 8px 20px -12px color-mix(in srgb,var(--color-text) 35%,transparent)}@media(max-width:599px){.note-toolbar__chips{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding:4px 4px 14px;margin:-4px -4px -14px}.note-toolbar__chips::-webkit-scrollbar{display:none}.note-toolbar__chips>:first-child{margin-left:auto}.note-toolbar__chips>:last-child{margin-right:auto}.note-toolbar .chip{flex-shrink:0}}@media(min-width:900px){.note-toolbar{bottom:var(--space-lg)}}.note-sheet textarea.note-block.note-fmt--title,.note-sheet .note-block-mirror.note-fmt--title,.note-sheet .note-list-item__marker.note-fmt--title{font-size:1.6rem;font-weight:800;line-height:1.3;letter-spacing:-.01em}.note-sheet textarea.note-block.note-fmt--heading,.note-sheet .note-block-mirror.note-fmt--heading,.note-sheet .note-list-item__marker.note-fmt--heading{font-size:1.25rem;font-weight:700;line-height:1.4}.note-sheet textarea.note-block.note-fmt--small,.note-sheet .note-block-mirror.note-fmt--small,.note-sheet .note-list-item__marker.note-fmt--small{font-size:.85rem}.note-check:has(.note-fmt--title) .checkbox-control{margin-top:12px}.note-check:has(.note-fmt--heading) .checkbox-control{margin-top:8px}.note-fmt--bold,.note-sheet textarea.note-block.note-fmt--bold,.note-sheet .note-block-mirror.note-fmt--bold{font-weight:800}.note-fmt--italic{font-style:italic}.note-fmt--underline{text-decoration-line:underline}.note-fmt--strike{text-decoration-line:line-through}.note-fmt--underline.note-fmt--strike{text-decoration-line:underline line-through}.note-card .note-fmt--title{font-size:1.1rem;font-weight:800}.note-card .note-fmt--heading{font-size:1rem;font-weight:700}.note-card .note-fmt--small{font-size:.8rem}.note-ink,.note-ink-swatch{--ink: var(--ink-light)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .note-ink,:root:not([data-theme=light]) .note-ink-swatch{--ink: var(--ink-dark)}}:root[data-theme=dark] .note-ink,:root[data-theme=dark] .note-ink-swatch{--ink: var(--ink-dark)}.note-ink{color:var(--ink)}.note-check--done textarea.note-block.note-ink,.note-check--done .note-block-mirror.note-ink,.note-card__item--done .note-ink{color:var(--color-text-muted)}.note-toolbar__panel{width:100%;display:flex;justify-content:center}.note-format{display:grid;gap:var(--space-sm);width:100%;max-width:520px;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-lg);border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 10px 28px -16px color-mix(in srgb,var(--color-text) 45%,transparent)}.note-format__row{display:flex;flex-wrap:wrap;gap:var(--space-sm);justify-content:space-between}.note-format__type{display:inline-flex;flex-wrap:wrap;gap:var(--space-xs)}.note-format__sizes,.note-format__toggles{display:inline-flex;gap:2px;padding:2px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-text) 6%,transparent)}.note-format__size,.note-format__toggle{min-height:32px;min-width:36px;padding:0 10px;border:none;border-radius:var(--radius-pill);background:transparent;color:var(--color-text);font:inherit;font-size:.85rem;cursor:pointer;display:inline-grid;place-items:center}.note-format__size--title{font-weight:800}.note-format__size--heading{font-weight:700}.note-format__size--small{font-size:.75rem}.note-format__size[aria-pressed=true],.note-format__toggle[aria-pressed=true]{background:var(--color-surface);color:var(--color-notes-accent);box-shadow:0 1px 3px color-mix(in srgb,var(--color-text) 20%,transparent)}.note-format__toggle[aria-disabled=true]{opacity:.35;cursor:default}.note-lists{width:auto}.note-lists__row{justify-content:center}.note-format__colors{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.note-format__color{width:28px;height:28px;padding:0;border-radius:50%;border:1px solid color-mix(in srgb,var(--color-text) 14%,transparent);background:var(--ink, var(--color-surface));color:#fff;display:grid;place-items:center;cursor:pointer;font:inherit}.note-format__color--default{color:var(--color-text);font-weight:800;font-size:.85rem}.note-format__color[aria-pressed=true]{box-shadow:0 0 0 2px var(--color-surface),0 0 0 4px var(--color-text)}.note-block-field{position:relative;flex:1;min-width:0}.note-sheet .note-block-mirror{position:absolute;inset:0;pointer-events:none;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;color:var(--ink, var(--color-text))}.note-sheet textarea.note-block.note-block--over{position:relative;color:transparent;caret-color:var(--ink, var(--color-text))}.note-sheet textarea.note-block.note-block--over::selection{color:transparent}.note-check--done .note-block-mirror{color:var(--color-text-muted)}.hex-chip{border-radius:3px;background:var(--chip);box-shadow:0 0 0 1px color-mix(in srgb,var(--color-text) 25%,transparent)}.note-sheet textarea.note-block.note-block--over,.note-sheet .note-block-mirror{font-kerning:none}.note-sheet .note-block-mirror .note-mark{color:color-mix(in srgb,currentColor 35%,transparent)}.note-sheet .note-block-mirror .note-inline--bold{-webkit-text-stroke:.035em currentColor;paint-order:stroke fill}.note-sheet .note-block-mirror .note-inline--italic{font-style:italic;color:color-mix(in srgb,currentColor 80%,var(--color-text-muted))}.note-sheet .note-block-mirror .note-inline--underline{text-decoration-line:underline}.note-sheet .note-block-mirror .note-inline--strike{text-decoration-line:line-through}.note-sheet .note-block-mirror .note-inline--underline.note-inline--strike{text-decoration-line:underline line-through}.note-hl,.note-card mark,.note-preview mark,.note-sheet .note-block-mirror .note-inline--highlight{background:var(--note-highlight);color:inherit;border-radius:3px;-webkit-box-decoration-break:clone;box-decoration-break:clone}.note-sheet .note-block-mirror .note-inline--code{background:var(--note-code-bg);border-radius:3px}.note-card code,.note-preview code{font-family:var(--note-mono);font-size:.88em;padding:0 4px;border-radius:4px;background:var(--note-code-bg)}.note-sheet textarea.note-block.note-fmt--code,.note-sheet .note-block-mirror.note-fmt--code{font-family:var(--note-mono);font-size:.9rem;padding:6px 10px;border-radius:var(--radius-sm);background:var(--note-code-bg)}.note-sheet textarea.note-block.note-fmt--code.note-block--over{background:transparent}.note-card .note-fmt--code,.note-preview .note-fmt--code{font-family:var(--note-mono);font-size:.85em}.note-list-item,.note-check{margin-left:calc(var(--note-indent, 0) * 24px)}.note-list-item{display:flex;align-items:flex-start;gap:6px}.note-sheet .note-list-item__marker{flex-shrink:0;min-width:1.4em;padding:4px 0;font-size:1rem;line-height:1.55;text-align:center;font-variant-numeric:tabular-nums;color:var(--ink, var(--color-notes-accent));-webkit-user-select:none;user-select:none}.note-sheet .note-list-item--number .note-list-item__marker{text-align:right}.note-quote{padding-left:14px;border-left:3px solid color-mix(in srgb,var(--color-notes-accent) 45%,transparent)}.note-quote+.note-quote{margin-top:-2px;padding-top:2px}.note-sheet .note-quote textarea.note-block:not(.note-ink),.note-sheet .note-quote .note-block-mirror:not(.note-ink){color:color-mix(in srgb,var(--color-text) 78%,var(--color-text-muted))}.note-sheet .note-quote textarea.note-block.note-block--over{color:transparent}.note-divider{display:flex;align-items:center;gap:var(--space-xs);min-height:30px}.note-divider hr{flex:1;margin:0;border:none;border-top:1.5px solid color-mix(in srgb,var(--color-text) 15%,transparent)}.note-photo{display:flex;flex-direction:column;gap:4px;margin:6px 0}.note-photo__row{display:flex;align-items:flex-start;gap:var(--space-xs)}.note-photo__open,.note-photo__frame{--photo-max-h: 420px;width:min(100%,calc(var(--photo-w) * 1px),calc(var(--photo-max-h) * var(--photo-w) / var(--photo-h)));max-width:100%}.note-photo__open{flex:0 1 auto;min-width:0;padding:0;border:none;border-radius:var(--radius-lg);background:none;cursor:zoom-in}.note-photo__frame{display:grid;grid-template:100% / 100%;place-items:center;aspect-ratio:var(--photo-w) / var(--photo-h);overflow:hidden;border-radius:var(--radius-lg);background:color-mix(in srgb,var(--color-text) 6%,transparent);color:var(--color-text-muted)}.note-photo__frame img{display:block;width:100%;height:100%;max-height:var(--photo-max-h, none);object-fit:cover}.note-photo__frame--empty{min-height:120px}.note-photo__frame--large{--photo-max-h: min(62vh, 640px);margin:0 auto}.note-photo__caption{font-size:.85rem;color:var(--color-text-muted);overflow-wrap:anywhere}.note-photo-sheet{display:flex;flex-direction:column;gap:var(--space-sm);margin:0}.note-photo-sheet .note-photo__caption{text-align:center}.btn.note-photo-sheet__remove{color:var(--color-danger)}.note-object__remove{width:30px;height:30px;opacity:0}.note-divider:hover .note-object__remove,.note-divider:focus-within .note-object__remove,.note-photo:hover .note-object__remove,.note-photo:focus-within .note-object__remove{opacity:1}@media(hover:none){.note-object__remove{opacity:.6}}.note-ai__actions{display:grid;gap:var(--space-xs)}.note-ai__action{display:flex;align-items:center;gap:var(--space-sm);width:100%;padding:var(--space-sm) var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard),border-color var(--duration-fast) var(--easing-standard)}.note-ai__action:hover{background:var(--color-surface-raised);border-color:color-mix(in srgb,var(--color-notes-accent) 40%,var(--color-border))}.note-ai__icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:var(--color-notes-surface);color:var(--color-notes-accent)}.note-ai__text{display:flex;flex-direction:column;gap:2px;min-width:0}.note-ai__label{font-weight:700}.note-ai__hint{font-size:.85rem;color:var(--color-text-muted)}.note-ai__status{padding:var(--space-xl) 0}.note-ai__preview{padding:var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--color-background) 55%,var(--color-surface))}.note-ai__error{padding:var(--space-lg) 0;text-align:center;color:var(--color-text-muted)}.note-preview{display:flex;flex-direction:column;gap:4px;font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}.note-preview__line{min-height:1.5em}.note-preview__text{white-space:pre-wrap}.note-preview__item{display:flex;align-items:flex-start;gap:8px;margin-left:calc(var(--note-indent, 0) * 20px)}.note-preview__marker{flex-shrink:0;min-width:1.2em;text-align:center;font-variant-numeric:tabular-nums;color:var(--color-notes-accent)}.note-preview__marker--number{text-align:right}.note-preview__box{display:grid;place-items:center;flex-shrink:0;width:16px;height:16px;margin-top:3px;border-radius:50%;border:2px solid var(--color-border)}.note-preview__box--done{border-color:var(--color-notes-accent);background:var(--color-notes-accent);color:var(--color-text-inverse)}.note-preview__item--done .note-preview__text{color:var(--color-text-muted);text-decoration:line-through}.note-preview__quote{margin:0;padding-left:12px;border-left:3px solid color-mix(in srgb,var(--color-notes-accent) 45%,transparent)}.note-preview__divider{width:100%;margin:6px 0;border:none;border-top:1.5px solid color-mix(in srgb,var(--color-text) 15%,transparent)}.note-preview__photo{margin:4px 0}.note-preview .note-photo__frame{--photo-max-h: 220px}.note-preview .note-fmt--title{font-size:1.3rem;font-weight:800}.note-preview .note-fmt--heading{font-size:1.1rem;font-weight:700}.note-preview .note-fmt--small{font-size:.82rem}.note-conflict{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-sm);margin-bottom:var(--space-md);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-lg);background:var(--color-budget-surface)}.note-conflict__title{font-weight:700}.note-conflict__text{font-size:.85rem;color:var(--color-text-muted)}.note-conflict__actions{display:flex;gap:var(--space-xs)}.note-colors{display:grid;gap:var(--space-md)}.note-colors__grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:var(--space-sm) var(--space-xs);justify-items:center}.note-colors__none .swatch{width:36px}.swatch--none{background:linear-gradient(135deg,transparent 46%,var(--color-danger) 46%,var(--color-danger) 54%,transparent 54%),var(--color-surface)}.page-stack{display:flex;flex-direction:column;gap:var(--space-lg)}.page-toolbar{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap;margin-bottom:var(--space-lg)}.page-toolbar__grow{flex:1 1 200px;min-width:0}.page-columns{display:flex;flex-direction:column;gap:var(--space-lg)}@media(min-width:740px)and (max-width:899px),(min-width:960px){.page--wide .page-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-lg);align-items:start}.page--wide .page-columns--aside{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.page--wide .page-columns>.page-stack{min-width:0}.page--wide .page-columns__sticky{position:sticky;top:96px}}.logs-day{display:flex;flex-direction:column;gap:var(--space-sm);min-width:0}.logs-day__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);min-height:44px}.logs-day__title{font-size:1.05rem;font-weight:700;letter-spacing:-.01em}.logs-day__list{display:flex;flex-direction:column;gap:var(--space-sm)}.logs-day__list>.list-row{flex-wrap:nowrap;padding:var(--space-sm) var(--space-md);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg)}.logs-day__list>.list-row:last-child{border-bottom:1px solid var(--color-border)}.toast-region{position:fixed;top:calc(var(--space-md) + env(safe-area-inset-top,0px));left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:var(--space-xs);z-index:200;width:min(92vw,420px)}.toast{background:var(--color-text);color:var(--color-background);border-radius:var(--radius-md);padding:var(--space-sm) var(--space-md);display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);box-shadow:0 8px 20px #00000026;animation:piccola-toast-in var(--duration-base) var(--easing-standard) both}.toast--danger{background:var(--color-danger);color:#fff}.toast__action{background:none;border:none;color:inherit;font-weight:700;cursor:pointer;text-decoration:underline;min-height:32px}.text-muted{color:var(--color-text-muted)}.stack{display:flex;flex-direction:column;gap:var(--space-sm)}.row{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-sm)}.row--between{justify-content:space-between}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:-9999px;top:0;background:var(--color-accent-primary);color:var(--color-text-inverse);padding:var(--space-sm) var(--space-md);z-index:300;border-radius:var(--radius-md)}.skip-link:focus{left:var(--space-sm);top:var(--space-sm)}.auth-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-xl);padding:var(--space-lg);background:radial-gradient(circle at 12% 18%,color-mix(in srgb,var(--color-routine-surface) 65%,transparent) 0%,transparent 42%),radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--color-reminders-surface) 65%,transparent) 0%,transparent 42%),radial-gradient(circle at 18% 88%,color-mix(in srgb,var(--color-budget-surface) 55%,transparent) 0%,transparent 42%),radial-gradient(circle at 90% 92%,color-mix(in srgb,var(--color-groceries-surface) 55%,transparent) 0%,transparent 42%),var(--color-background)}.auth-card{width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center;gap:var(--space-lg)}.auth-card__brand{display:flex;flex-direction:column;align-items:center;gap:var(--space-xs);text-align:center}.auth-card__logo-badge{width:60px;height:60px;border-radius:50%;background:var(--color-accent-primary-surface);display:flex;align-items:center;justify-content:center;padding:8px}.auth-card__brand-name{font-weight:700;font-size:1.05rem}.auth-card__title{font-size:1.4rem;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}.auth-card__subtitle{color:var(--color-text-muted);margin-bottom:var(--space-lg)}.auth-card .card{width:100%;border-color:transparent;box-shadow:0 24px 48px -24px color-mix(in srgb,var(--color-text) 20%,transparent)}.auth-footer{display:flex;flex-direction:column;align-items:center;gap:var(--space-xs);text-align:center;font-size:.8rem;color:var(--color-text-muted)}.auth-footer__links{display:flex;gap:var(--space-sm)}.auth-footer__links a{color:inherit;text-decoration:underline;text-underline-offset:2px}.auth-footer__links a:hover{color:var(--color-text)}.auth-consent{margin-top:var(--space-sm);font-size:.8rem;line-height:1.45;text-align:center;color:var(--color-text-muted)}.auth-consent a{color:var(--color-text);text-decoration:underline;text-underline-offset:2px}.social-signin{margin-top:var(--space-md)}.auth-divider{display:flex;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-md);font-size:.8rem;color:var(--color-text-muted)}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--color-border)}.page--settings{max-width:1040px}.settings-layout{display:block}.settings-nav{display:none}.settings-content{display:flex;flex-direction:column;gap:var(--space-xl);max-width:720px;margin:0 auto;min-width:0}@media(min-width:1180px){.settings-layout{display:grid;grid-template-columns:200px minmax(0,720px);justify-content:center;gap:var(--space-2xl);align-items:start}.settings-content{margin:0}.settings-nav{display:flex;flex-direction:column;gap:2px;position:sticky;top:96px}.settings-nav__link{display:flex;align-items:center;gap:var(--space-xs);padding:10px var(--space-sm);border-radius:var(--radius-md);color:var(--color-text-muted);text-decoration:none;font-weight:600;font-size:.9rem;transition:background-color var(--duration-fast) var(--easing-standard),color var(--duration-fast) var(--easing-standard)}.settings-nav__link:hover{background:var(--color-surface);color:var(--color-text)}.settings-nav__badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:var(--color-warning);color:var(--color-surface);font-weight:700;font-size:.7rem}}.settings-profile{display:flex;align-items:center;gap:var(--space-lg);padding:var(--space-xl);border-radius:var(--radius-xl);border:1px solid var(--color-border);background:radial-gradient(120% 140% at 0% 0%,var(--color-routine-surface) 0%,transparent 55%),radial-gradient(120% 140% at 100% 100%,var(--color-reminders-surface) 0%,transparent 60%),var(--color-surface);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.settings-profile__avatar{position:relative;flex-shrink:0;width:84px;height:84px;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:var(--color-accent-primary-surface);color:var(--color-accent-primary);font-size:1.6rem;font-weight:700;letter-spacing:.02em;box-shadow:0 0 0 4px var(--color-surface);transition:transform var(--duration-fast) var(--easing-standard)}.settings-profile__avatar:hover{transform:scale(1.03)}.settings-profile__avatar:focus-within{outline:2px solid var(--color-accent-primary);outline-offset:4px}.settings-profile__avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.settings-profile__avatar.is-busy{opacity:.6;cursor:progress}.settings-profile__camera{position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--color-text);color:var(--color-surface);box-shadow:0 0 0 3px var(--color-surface)}.settings-profile__text{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.settings-profile input.settings-profile__name:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){font-size:1.5rem;font-weight:700;letter-spacing:-.01em;background:transparent;border-color:transparent;padding:2px var(--space-xs);margin-left:calc(-1 * var(--space-xs));min-height:0;width:calc(100% + var(--space-xs));border-radius:var(--radius-sm)}.settings-profile input.settings-profile__name:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):hover{background:color-mix(in srgb,var(--color-surface) 70%,transparent);border-color:var(--color-border)}.settings-profile input.settings-profile__name:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible{background:var(--color-surface)}.settings-profile__email{color:var(--color-text);font-size:.95rem;overflow-wrap:anywhere}.settings-profile__since{color:var(--color-text-muted);font-size:.85rem}.settings-section{scroll-margin-top:96px;animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.settings-section__title{display:flex;align-items:center;gap:var(--space-xs);font-size:.95rem;font-weight:700;margin:0 0 var(--space-sm) var(--space-2xs)}.settings-icon{width:28px;height:28px;border-radius:var(--radius-sm);display:grid;place-items:center;flex-shrink:0}.settings-icon--appearance{background:var(--color-reminders-surface);color:var(--color-reminders-accent)}.settings-icon--calendar{background:var(--color-routine-surface);color:var(--color-routine-accent)}.settings-icon--notifications{background:var(--color-budget-surface);color:var(--color-budget-accent)}.settings-icon--data{background:var(--color-groceries-surface);color:var(--color-groceries-accent)}.settings-icon--account{background:var(--color-accent-primary-surface);color:var(--color-accent-primary)}.settings-icon--danger{background:var(--color-danger-surface);color:var(--color-danger)}.settings-group{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);overflow:hidden}.settings-row{display:block;width:100%;padding:var(--space-md) var(--space-lg);border:none;border-bottom:1px solid var(--color-border);background:transparent;text-align:left;color:inherit;text-decoration:none}.settings-group>.settings-row:last-child,.settings-subgroup>.settings-row:last-child{border-bottom:none}.settings-row__main{display:flex;align-items:center;gap:var(--space-md);flex-wrap:wrap}.settings-row__text{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:2px}.settings-row__label{font-weight:600;font-size:.975rem;color:var(--color-text)}.settings-row__label-with-pill{display:inline-flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap}.settings-row__hint{color:var(--color-text-muted);font-size:.85rem;line-height:1.45}.settings-row__hint-line{display:block}.settings-row__control{flex:0 0 auto;display:flex;align-items:center;max-width:100%}.settings-row__control .segmented{max-width:100%;overflow-x:auto}.settings-row__control .segmented__item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.settings-row__main--wide .settings-row__control{flex:1 1 100%}@media(min-width:560px){.settings-row__main--wide .settings-row__control{flex:0 0 260px}}.settings-row__leading{flex-shrink:0;color:var(--color-text-muted)}.settings-row__chevron{flex-shrink:0;color:var(--color-text-muted);transition:transform var(--duration-fast) var(--easing-standard)}.settings-row--action{cursor:pointer;font:inherit;transition:background-color var(--duration-fast) var(--easing-standard)}.settings-row--action .settings-row__main{flex-wrap:nowrap}.settings-row--action .settings-row__text{flex-basis:auto}.settings-row--action:hover{background:color-mix(in srgb,var(--color-text) 4%,transparent)}.settings-row--action:hover .settings-row__chevron{transform:translate(2px)}.settings-row--action:focus-visible{outline-offset:-2px;border-radius:0}.settings-row--danger .settings-row__label,.settings-row--danger .settings-row__leading{color:var(--color-danger)}.settings-inline-action{display:inline;padding:0;border:none;background:none;color:var(--color-accent-primary);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.settings-cta{white-space:nowrap}.settings-subgroup{border-bottom:1px solid var(--color-border);background:color-mix(in srgb,var(--color-background) 60%,var(--color-surface))}.settings-subgroup:last-child{border-bottom:none}.settings-subgroup__title{padding:var(--space-sm) var(--space-lg) 0;font-size:.75rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-muted)}.settings-row__brand{display:inline-flex;align-items:center;gap:var(--space-xs)}.settings-subgroup .settings-row{padding-left:var(--space-xl)}.accent-picker{display:grid;grid-template-columns:repeat(7,minmax(0,36px));justify-content:space-between;gap:clamp(4px,2vw,10px);width:100%;padding:2px}.accent-swatch{--swatch: var(--swatch-light);width:100%;aspect-ratio:1;padding:0;border:none;border-radius:50%;background:var(--swatch);cursor:pointer;transition:box-shadow var(--duration-fast) var(--easing-standard)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .accent-swatch{--swatch: var(--swatch-dark)}}:root[data-theme=dark] .accent-swatch{--swatch: var(--swatch-dark)}.accent-swatch[aria-checked=true]{box-shadow:inset 0 0 0 3px var(--color-surface),0 0 0 2px var(--swatch)}.accent-swatch:focus-visible{outline:2px solid var(--color-text);outline-offset:4px;border-radius:50%}.accent-picker__name{font-weight:700;color:var(--color-text)}.switch{position:relative;flex-shrink:0;width:48px;height:28px;padding:0;border:none;border-radius:var(--radius-pill);background:var(--color-border);cursor:pointer;transition:background-color var(--duration-base) var(--easing-standard)}.switch__thumb{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform var(--duration-base) var(--easing-standard)}.switch[aria-checked=true]{background:var(--color-accent-primary)}.switch[aria-checked=true] .switch__thumb{transform:translate(20px)}.switch:disabled{opacity:.5;cursor:not-allowed}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:var(--radius-pill);font-size:.75rem;font-weight:700}.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill--on{background:var(--color-accent-primary-surface);color:var(--color-success)}.status-pill--off{background:var(--color-border);color:var(--color-text-muted)}.status-pill--warn{background:var(--color-budget-surface);color:var(--color-warning)}.device-list{margin-top:var(--space-sm);display:flex;flex-direction:column;gap:var(--space-xs)}.device-list__item{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap;padding:var(--space-sm);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-background) 60%,var(--color-surface));border:1px solid var(--color-border)}.device-list__icon{width:36px;height:36px;border-radius:var(--radius-sm);display:grid;place-items:center;flex-shrink:0;background:var(--color-surface);color:var(--color-text-muted);border:1px solid var(--color-border)}.device-list__text{flex:1 1 160px;min-width:0}.device-list__name{display:flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap;font-weight:600;overflow-wrap:anywhere}.device-list__name .pill{background:var(--color-accent-primary-surface);color:var(--color-accent-primary)}.device-list__meta{color:var(--color-text-muted);font-size:.8rem}.device-list__actions{display:flex;align-items:center;gap:var(--space-2xs);margin-left:auto}.reauth-note{display:flex;gap:var(--space-sm);align-items:flex-start;margin-top:var(--space-md);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);background:var(--color-budget-surface);color:var(--color-text);font-size:.9rem}.reauth-note>svg{flex-shrink:0;margin-top:2px;color:var(--color-warning)}.reauth-note>div{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-sm)}.reauth-note--ok{background:var(--color-accent-primary-surface)}.reauth-note--ok>svg{color:var(--color-success)}.settings-footer{text-align:center;font-size:.8rem;color:var(--color-text-muted);margin-top:var(--space-sm);padding-bottom:var(--space-lg)}@media(max-width:480px){.settings-profile{padding:var(--space-lg);gap:var(--space-md)}.settings-profile__avatar{width:68px;height:68px;font-size:1.3rem}.settings-profile input.settings-profile__name:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){font-size:1.25rem}.settings-row{padding:var(--space-md)}}.progress-ring-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}.progress-ring-value{position:absolute;text-align:center;font-weight:700}.month-grid{display:flex;flex-direction:column;gap:4px}.month-grid__week{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.month-day{width:100%;height:44px;border:none;border-radius:var(--radius-sm);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font-weight:700;transition:transform .15s ease}.month-day:hover{transform:scale(1.06)}.month-day:focus-visible{outline:2px solid var(--color-text);outline-offset:2px}.month-day__number{font-size:.75rem}.month-day__ratio{font-size:.5rem;font-weight:600;opacity:.9;margin-top:1px}.month-grid__weekday{text-align:center;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);padding:2px 0}.year-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--space-md) var(--space-lg)}.year-month{min-width:0}.year-month--button{display:block;width:100%;padding:6px;margin:-6px;border:none;border-radius:var(--radius-md);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.year-month--button:hover{background:color-mix(in srgb,var(--color-text) 6%,transparent)}.year-month--button:focus-visible{outline:2px solid var(--color-accent-primary);outline-offset:0}.year-month__label{display:block;margin-bottom:4px;font-size:.75rem;font-weight:700;color:var(--color-text-muted)}.year-month__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.year-month__day,.year-month__blank{aspect-ratio:1;border-radius:3px}.year-month__day{display:block;border:none;padding:0}.year-month__day:not(.completion-cell){background:var(--color-border)}.year-month__day--selected{outline:2px solid var(--color-text);outline-offset:1px}.year-legend{display:flex;align-items:center;gap:4px;margin-top:var(--space-md);font-size:.75rem}.year-legend__swatch{width:12px;height:12px;border-radius:3px}.routine-stats{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:var(--space-md);margin:0 0 var(--space-lg);padding:var(--space-md);border-radius:var(--radius-xl);background:var(--color-routine-surface)}.routine-stats__rate{display:grid;justify-items:center;gap:var(--space-2xs)}.routine-stats__rate .progress-ring-value{font-size:1.15rem;color:var(--color-routine-accent)}.routine-stats__streaks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm)}.routine-stats__streak{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon value" "label label";align-items:center;column-gap:var(--space-xs);row-gap:2px;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--color-surface) 70%,transparent)}.routine-stats__icon{grid-area:icon;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#e8590c;background:color-mix(in srgb,#ff922b 18%,transparent)}.routine-stats__streak--longest .routine-stats__icon{color:#e0a800;background:color-mix(in srgb,#fcc419 20%,transparent)}.routine-stats__value{grid-area:value;font-size:1.5rem;font-weight:800;line-height:1}.routine-stats__streak .routine-stats__label{grid-area:label}.routine-stats__label{font-size:.78rem;color:var(--color-text-muted);text-align:center}.routine-stats__streak .routine-stats__label{text-align:left}.routine-archived-note{margin-top:var(--space-md);text-align:center;font-size:.875rem}.list-row__icon{margin-right:6px}.list-row__note{margin-top:2px;white-space:pre-line}.landing-page{display:flex;flex-direction:column;min-height:100dvh}.landing-page>main{flex:1}.landing-container{width:100%;max-width:1120px;margin-inline:auto;padding-inline:var(--space-lg)}.landing-section{padding-block:var(--space-3xl)}@media(min-width:900px){.landing-section{padding-block:var(--space-5xl)}}.landing-section[id],#top{scroll-margin-top:80px}.landing-section--band{background:var(--color-surface);border-block:1px solid var(--color-border)}.landing-section__head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-sm);max-width:640px;margin:0 auto var(--space-2xl)}.landing-section__eyebrow{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:var(--radius-pill);background:var(--section-tint, var(--color-accent-primary-surface));color:var(--color-text);font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.landing-section__title{font-size:clamp(1.6rem,1rem + 2.4vw,2.25rem);font-weight:700;line-height:1.15;letter-spacing:-.01em;text-wrap:balance}.landing-section__subtitle{color:var(--color-text-muted);font-size:1.05rem;line-height:1.5}.landing-header{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--color-background) 80%,transparent);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid color-mix(in srgb,var(--color-border) 70%,transparent)}.landing-header__inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);min-height:64px}.landing-header__brand{display:inline-flex;align-items:center;gap:var(--space-xs);font-weight:800;font-size:1.1rem;letter-spacing:-.01em;color:var(--color-text);text-decoration:none;flex-shrink:0}.landing-header__logo{width:36px;height:36px;border-radius:50%;background:var(--color-accent-primary-surface);display:grid;place-items:center}.landing-header__logo img{width:28px;height:28px;border-radius:50%;object-fit:cover}.landing-header__nav{display:none;align-items:center;gap:2px;padding:4px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-surface) 70%,transparent);border:1px solid var(--color-border)}.landing-header__nav a{padding:6px 14px;border-radius:var(--radius-pill);color:var(--color-text-muted);text-decoration:none;font-weight:700;font-size:.88rem;transition:background var(--duration-fast) var(--easing-standard),color var(--duration-fast) var(--easing-standard)}.landing-header__nav a:hover{color:var(--color-text);background:var(--color-accent-primary-surface)}.landing-header__actions{display:flex;align-items:center;gap:var(--space-xs);flex-shrink:0}.landing-header__lang{position:relative;display:inline-flex;align-items:center;color:var(--color-text-muted)}.landing-header__lang svg{position:absolute;left:10px;pointer-events:none}.landing-header__lang-select{width:auto;min-width:0;min-height:36px;padding:0 30px 0 32px;background-position:right 10px center;border-radius:var(--radius-pill);font-size:.85rem;font-weight:600}.landing-header__menu-button{display:inline-flex}.landing-header__menu{border-top:1px solid var(--color-border);background:var(--color-background);box-shadow:0 24px 40px -32px color-mix(in srgb,var(--color-text) 45%,transparent)}.landing-header__menu-inner{display:flex;flex-direction:column;padding-block:var(--space-sm) var(--space-md)}.landing-header__menu a{padding:12px var(--space-xs);border-bottom:1px solid var(--color-border);color:var(--color-text);font-weight:700;text-decoration:none}.landing-header__menu a:last-child{border-bottom:none}.landing-header__menu-login{color:var(--color-accent-primary)!important}@media(min-width:1000px){.landing-header__nav{display:flex}.landing-header__menu-button,.landing-header__menu{display:none}}@media(max-width:559px){.landing-header__brand-name,.landing-header__login{display:none}.landing-header__lang-select{width:36px;padding:0;color:transparent;background-image:none}.landing-header__lang svg{left:10px}}@media(max-width:399px){.landing-header__theme{display:none}}.landing-hero{position:relative;overflow:hidden;padding:var(--space-3xl) 0 var(--space-2xl);background:var(--color-background)}.landing-hero__glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(40% 50% at 8% 10%,color-mix(in srgb,var(--color-routine-surface) 80%,transparent),transparent 70%),radial-gradient(35% 45% at 92% 8%,color-mix(in srgb,var(--color-reminders-surface) 80%,transparent),transparent 70%),radial-gradient(40% 40% at 78% 92%,color-mix(in srgb,var(--color-groceries-surface) 70%,transparent),transparent 70%),radial-gradient(35% 40% at 20% 95%,color-mix(in srgb,var(--color-budget-surface) 70%,transparent),transparent 70%)}.landing-hero__glow:after{content:"";position:absolute;inset:0;background-image:radial-gradient(color-mix(in srgb,var(--color-text) 9%,transparent) 1px,transparent 1px);background-size:22px 22px;mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent);-webkit-mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent)}.landing-hero__inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-3xl);align-items:center}.landing-hero__copy{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-md);min-width:0}@media(min-width:1000px){.landing-hero{padding:var(--space-5xl) 0 var(--space-3xl)}.landing-hero__inner{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:var(--space-4xl)}.landing-hero__copy{align-items:flex-start;text-align:left}}.landing-hero__eyebrow{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:var(--radius-pill);background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-accent-primary);font-size:.78rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;box-shadow:0 8px 20px -16px color-mix(in srgb,var(--color-text) 40%,transparent)}.landing-stores{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:var(--space-sm) 0;padding:0;list-style:none}@media(min-width:1000px){.landing-hero .landing-stores{justify-content:flex-start}}.landing-store{display:inline-flex;align-items:center;gap:12px;min-width:200px;min-height:60px;padding:10px 22px 10px 16px;border-radius:14px;background:var(--color-text);color:var(--color-background);text-decoration:none;line-height:1.1;box-shadow:0 14px 28px -18px color-mix(in srgb,var(--color-text) 80%,transparent);transition:transform .15s ease,box-shadow .15s ease}.landing-store svg{width:30px;height:30px;flex:none}a.landing-store:hover{transform:translateY(-2px);box-shadow:0 18px 32px -18px color-mix(in srgb,var(--color-text) 90%,transparent)}.landing-store__text{display:grid;text-align:left}.landing-store__text small{font-size:.74rem;font-weight:600;opacity:.85}.landing-store__text b{font-size:1.35rem;font-weight:800;letter-spacing:-.01em}@media(max-width:479px){.landing-stores{gap:10px}.landing-store{min-width:0;min-height:54px;gap:8px;padding:8px 14px 8px 10px}.landing-store svg{width:24px;height:24px}.landing-store__text small{font-size:.66rem}.landing-store__text b{font-size:1.1rem}}.landing-store--soon{background:transparent;color:var(--color-text-muted);border:1.5px dashed var(--color-border-strong, var(--color-border));box-shadow:none}.landing-final-cta .landing-store--soon{color:inherit;border-color:color-mix(in srgb,currentColor 55%,transparent);opacity:.85}@media(prefers-reduced-motion:reduce){.landing-store{transition:none}}.landing-hero__headline{display:flex;flex-direction:column;align-items:inherit;align-self:stretch;gap:var(--space-md)}.landing-hero__headline-text{font-size:clamp(2.3rem,1.1rem + 4.4vw,4rem);font-weight:800;line-height:1.04;letter-spacing:-.03em;text-wrap:balance}.landing-hero__accent{background:linear-gradient(100deg,var(--color-accent-primary),var(--color-routine-accent) 45%,var(--color-reminders-accent));-webkit-background-clip:text;background-clip:text;color:transparent}.landing-hero__subtitle{font-size:1.15rem;line-height:1.55;color:var(--color-text-muted);max-width:560px;text-wrap:pretty}.landing-hero__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-sm);margin-top:var(--space-xs)}@media(min-width:1000px){.landing-hero__actions{justify-content:flex-start}}.landing-hero__actions .btn,.landing-final-cta .btn{min-height:52px;padding-inline:var(--space-xl);font-size:1rem;gap:8px}.landing-hero__cta{box-shadow:0 16px 30px -18px color-mix(in srgb,var(--color-accent-primary) 90%,transparent)}.landing-hero__facts{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-xs) var(--space-md);margin:var(--space-xs) 0 0;padding:0;list-style:none;font-size:.88rem;font-weight:600;color:var(--color-text-muted)}@media(min-width:1000px){.landing-hero__facts{justify-content:flex-start}}.landing-hero__facts li{display:inline-flex;align-items:center;gap:6px}.landing-hero__facts svg{color:var(--color-accent-primary)}.landing-hero__visual{position:relative;width:100%;max-width:620px;margin-inline:auto;display:grid;place-items:center;min-width:0;padding-block:var(--space-md);pointer-events:none;-webkit-user-select:none;user-select:none}.landing-phone{position:relative;width:min(100%,330px);height:640px;padding:12px;border-radius:48px;background:#1d1e21;border:1px solid color-mix(in srgb,var(--color-text) 14%,transparent);box-shadow:0 50px 90px -40px color-mix(in srgb,var(--color-text) 55%,transparent),inset 0 0 0 2px color-mix(in srgb,var(--color-surface) 15%,transparent);rotate:-2deg}.landing-phone__notch{position:absolute;top:22px;left:50%;translate:-50% 0;width:92px;height:26px;border-radius:var(--radius-pill);background:#1d1e21;z-index:2}.landing-phone__screen{height:100%;overflow:hidden;border-radius:38px;background:var(--color-background);padding:52px 14px 90px}.landing-phone__dock{position:absolute;left:24px;right:24px;bottom:26px;display:flex;align-items:center;gap:8px}.landing-phone__tabs{flex:1;display:flex;justify-content:space-around;padding:6px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-surface) 92%,transparent);border:1px solid var(--color-border);box-shadow:0 10px 24px -14px color-mix(in srgb,var(--color-text) 40%,transparent)}.landing-phone__tab{display:grid;justify-items:center;gap:1px;padding:4px 12px;border-radius:var(--radius-pill);font-size:.62rem;font-weight:700;color:var(--color-text-muted)}.landing-phone__tab--active{background:var(--color-accent-primary-surface);color:var(--color-accent-primary)}.landing-phone__add{width:48px;height:48px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--color-accent-primary);color:var(--color-surface);box-shadow:0 10px 24px -12px color-mix(in srgb,var(--color-accent-primary) 80%,transparent)}.landing-sticker{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;max-width:220px;padding:10px 14px 10px 10px;border-radius:var(--radius-lg);background:var(--color-surface);border:1px solid var(--color-border);box-shadow:0 24px 40px -24px color-mix(in srgb,var(--color-text) 45%,transparent);rotate:var(--rot, 0deg)}.landing-sticker__title{font-size:.8rem;font-weight:800}.landing-sticker__text{font-size:.76rem;line-height:1.35;color:var(--color-text-muted)}.landing-sticker--ai{top:-3%;left:0;--rot: -4deg;--delay: 0s}.landing-sticker--ai .ai-card__badge{width:32px;height:32px}.landing-sticker--medal{top:34%;right:0;--rot: 4deg;--delay: 1.6s;background:var(--color-gold-surface);border-color:transparent}.landing-sticker--cheer{bottom:4%;left:2%;--rot: -2deg;--delay: 3s;background:var(--color-chat-surface);border-color:transparent}@media(max-width:639px){.landing-phone{rotate:0deg;width:330px;height:620px;zoom:.8}.landing-sticker{max-width:min(176px,52%);gap:8px;padding:8px 10px 8px 8px}.landing-sticker__title{font-size:.72rem}.landing-sticker__text{font-size:.68rem}.landing-sticker>:first-child{flex-shrink:0;zoom:.85}.landing-sticker--ai{top:-5%;left:0}.landing-sticker--medal{top:38%;right:0}.landing-sticker--cheer{bottom:5%;left:0}}.landing-quips{position:relative;margin-top:var(--space-3xl);overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}.landing-quips__track{display:flex;width:max-content}.landing-quips__list{display:flex;gap:var(--space-sm);margin:0;padding:0 var(--space-sm) 0 0;list-style:none}.landing-quip{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:var(--radius-pill);background:var(--quip-surface);color:var(--color-text);font-size:.88rem;white-space:nowrap}.landing-quip svg{flex-shrink:0;color:var(--quip-accent)}.landing-quip b{font-weight:800;color:var(--quip-accent)}.landing-quip--routine{--quip-surface: var(--color-routine-surface);--quip-accent: var(--color-routine-accent)}.landing-quip--groceries{--quip-surface: var(--color-groceries-surface);--quip-accent: var(--color-groceries-accent)}.landing-quip--budget{--quip-surface: var(--color-budget-surface);--quip-accent: var(--color-budget-accent)}.landing-quip--reminders{--quip-surface: var(--color-reminders-surface);--quip-accent: var(--color-reminders-accent)}.landing-quip--notes{--quip-surface: var(--color-notes-surface);--quip-accent: var(--color-notes-accent)}.landing-quip--chat{--quip-surface: var(--color-chat-surface);--quip-accent: var(--color-chat-accent)}.landing-quip--progress{--quip-surface: var(--color-gold-surface);--quip-accent: var(--color-gold)}@keyframes landing-quips-scroll{to{transform:translate(-50%)}}@media(prefers-reduced-motion:no-preference){.landing-quips__track{animation:landing-quips-scroll 60s linear infinite}.landing-quips:hover .landing-quips__track{animation-play-state:paused}}@media(prefers-reduced-motion:reduce){.landing-quips{mask-image:none;-webkit-mask-image:none}.landing-quips__track,.landing-quips__list{width:auto;flex-wrap:wrap;justify-content:center;padding-inline:var(--space-lg)}.landing-quip{white-space:normal}.landing-quips__list[aria-hidden=true]{display:none}}@keyframes landing-float{0%,to{translate:0 0}50%{translate:0 -8px}}@media(prefers-reduced-motion:no-preference){.landing-sticker{animation:landing-float 6s ease-in-out infinite;animation-delay:var(--delay, 0s)}}.landing-mock{display:flex;flex-direction:column;gap:var(--space-sm);pointer-events:none}.landing-mock *{animation:none!important}.landing-mock__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}.landing-mock__greeting{font-weight:800;font-size:1.25rem;letter-spacing:-.01em}.landing-mock__date{font-size:.8rem;color:var(--color-text-muted)}.landing-mock__date:first-letter{text-transform:uppercase}.landing-mock__actions{display:flex;align-items:center;gap:6px}.landing-mock__icon-btn{position:relative;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--color-border);background:var(--color-surface)}.landing-mock__bell-count{position:absolute;top:-4px;right:-4px;margin:0}.landing-mock__avatar{width:32px;height:32px;font-size:.75rem}.landing-mock .landing-mock__tiles.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-xs)}.landing-mock .landing-mock__tiles.module-grid>:last-child:nth-child(odd){grid-column:auto}.landing-mock .module-card{min-height:0;padding:12px;gap:2px}.landing-mock .module-card:hover,.landing-mock .progress-card:hover{transform:none}.landing-mock .module-card__title{font-size:.8rem}.landing-mock .module-card__metric{font-size:1.25rem}.landing-mock .module-card__caption{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.landing-mock .progress-card{margin-top:0;grid-template-columns:48px minmax(0,1fr) auto 14px;padding:10px 12px}.landing-mock .progress-card__left{width:48px;height:48px}.landing-mock .progress-card__line{font-size:.75rem}.landing-mock__card{padding:12px}.landing-mock__card .card__header{margin-bottom:var(--space-xs)}.landing-mock__card .card__title{font-size:.92rem}.landing-mock__card ul{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.landing-mock__link{display:inline-flex;align-items:center;gap:2px;font-size:.75rem;font-weight:700;color:var(--color-accent-primary)}.landing-mock .list-row{flex-wrap:nowrap}.landing-mock .list-row{min-width:0;padding:8px 10px;font-size:.85rem}.landing-mock .list-row>div{flex:1;min-width:0}.landing-mock .list-row__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.landing-mock__chevron{flex-shrink:0;color:var(--color-text-muted)}.landing-section--ai{background:radial-gradient(55% 45% at 88% 30%,color-mix(in srgb,var(--color-chat-surface) 75%,transparent),transparent),radial-gradient(45% 40% at 8% 85%,color-mix(in srgb,var(--color-notes-surface) 65%,transparent),transparent)}.landing-ai{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-3xl);align-items:center}@media(min-width:960px){.landing-ai{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-4xl)}}.landing-ai__points{display:flex;flex-direction:column;gap:var(--space-xl);min-width:0}.landing-ai__point{display:flex;gap:var(--space-md);align-items:flex-start}.landing-ai__point-icon{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border-radius:14px;background:var(--ai-tone-surface);color:var(--ai-tone)}.landing-ai__point-title{font-size:1.05rem;font-weight:700;margin-bottom:2px}.landing-ai__point p{color:var(--color-text-muted);line-height:1.5}.landing-ai__connect{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-xs) var(--space-sm);padding:var(--space-md);border:1px dashed color-mix(in srgb,var(--color-chat-accent) 35%,var(--color-border));border-radius:var(--radius-lg);background:color-mix(in srgb,var(--color-surface) 70%,transparent)}.landing-ai__works-label{font-size:.85rem;font-weight:700}.landing-ai__works{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}.landing-ai__works li{padding:3px 10px;border-radius:var(--radius-pill);background:var(--color-chat-surface);color:var(--color-chat-accent);font-size:.8rem;font-weight:700}.landing-ai__connect .landing-trust-card__link{margin-top:0;margin-left:auto;font-size:.9rem}.landing-ai__demo{min-width:0;display:flex;flex-direction:column;gap:var(--space-md);padding:var(--space-lg);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-xl);box-shadow:0 30px 60px -36px color-mix(in srgb,var(--color-chat-accent) 55%,transparent);pointer-events:none;-webkit-user-select:none;user-select:none}.landing-ai__demo-head{display:flex;align-items:center;gap:var(--space-sm);padding-bottom:var(--space-sm);border-bottom:1px solid var(--color-border)}.landing-ai__demo-head .chat-list__ai-icon{width:36px;height:36px}.landing-ai__demo-name{font-weight:700}.landing-ai__demo-tag{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:999px;background:var(--color-chat-surface);color:var(--color-chat-accent);font-size:.68rem;font-weight:700;letter-spacing:.04em;vertical-align:2px}.landing-ai__demo-sub{font-size:.78rem;color:var(--color-text-muted)}.landing-ai__demo-thread{display:flex;flex-direction:column;gap:var(--space-sm);font-size:.95rem}.landing-ai__demo-thread .ai-card{width:100%}.landing-ai__tick{width:20px;height:20px;margin-top:8px;flex-shrink:0;display:grid;place-items:center;border-radius:6px;background:var(--color-accent-primary);color:var(--color-surface)}.landing-ai__demo-actions{display:flex;justify-content:flex-end;gap:var(--space-xs)}.landing-ai__fineprint{margin-top:var(--space-2xl);color:var(--color-text-muted);font-size:.85rem;text-align:center}.landing-ai__fineprint svg{display:inline;vertical-align:-2px;color:var(--color-accent-primary)}@media(max-width:639px){.landing-ai__demo{padding:var(--space-md)}}.landing-trust-card__link{color:var(--color-accent-primary);font-weight:600;text-decoration:underline;text-underline-offset:2px;margin-top:auto}.landing-final-cta{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-md);padding:var(--space-5xl) var(--space-lg);border-radius:32px;color:var(--color-text-inverse);background:radial-gradient(50% 80% at 10% 0%,color-mix(in srgb,var(--color-routine-accent) 55%,transparent),transparent 70%),radial-gradient(45% 70% at 95% 100%,color-mix(in srgb,var(--color-reminders-accent) 50%,transparent),transparent 70%),var(--color-accent-primary);box-shadow:0 40px 80px -50px color-mix(in srgb,var(--color-accent-primary) 90%,transparent)}.landing-final-cta h2{font-size:clamp(1.7rem,1rem + 2.6vw,2.6rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;text-wrap:balance;max-width:720px}.landing-final-cta p{max-width:540px;font-size:1.05rem;opacity:.85}.landing-final-cta__deco{position:absolute;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--color-text-inverse) 16%,transparent);color:var(--color-text-inverse);rotate:var(--rot, 0deg)}.landing-final-cta__deco--tl{top:16px;left:16px;--rot: -10deg}.landing-final-cta__deco--tr{top:28px;right:40px;--rot: 10deg}.landing-final-cta__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--space-md);margin-top:var(--space-xs)}.landing-final-cta .landing-final-cta__primary{background:var(--color-text-inverse);color:var(--color-accent-primary);border-color:transparent}.landing-final-cta .landing-final-cta__primary:hover{background:color-mix(in srgb,var(--color-text-inverse) 88%,var(--color-accent-primary))}.landing-final-cta__login{color:var(--color-text-inverse);font-weight:700;text-decoration:underline;text-underline-offset:3px}.landing-final-cta__deco--br{right:16px;bottom:16px;--rot: 8deg}@media(max-width:639px){.landing-final-cta__deco{display:none}}.landing-faq{max-width:820px}.landing-faq__list{display:grid;gap:var(--space-sm)}.landing-faq__item{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-background);transition:border-color var(--duration-fast) var(--easing-standard)}.landing-faq__item[open]{border-color:color-mix(in srgb,var(--color-accent-primary) 40%,var(--color-border))}.landing-faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);padding:var(--space-md) var(--space-lg);font-weight:700;font-size:1.02rem;cursor:pointer;list-style:none}.landing-faq__item summary::-webkit-details-marker{display:none}.landing-faq__chevron{flex-shrink:0;color:var(--color-text-muted);transition:rotate var(--duration-base) var(--easing-standard)}.landing-faq__item[open] .landing-faq__chevron{rotate:180deg}.landing-faq__item p{padding:0 var(--space-lg) var(--space-lg);color:var(--color-text-muted);line-height:1.55}.landing-footer{border-top:1px solid var(--color-border);padding-block:var(--space-3xl) var(--space-2xl);font-size:.9rem;color:var(--color-text-muted)}.landing-footer__top{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-2xl)}@media(min-width:560px){.landing-footer__top{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-footer__brand{grid-column:1 / -1}}@media(min-width:900px){.landing-footer__top{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}.landing-footer__brand{grid-column:auto}}.landing-footer__brand{display:grid;gap:var(--space-xs);align-content:start}.landing-footer__brand-name{display:inline-flex;align-items:center;gap:var(--space-xs);color:var(--color-text);font-weight:800;font-size:1.1rem}.landing-footer__brand img{width:28px;height:28px;border-radius:50%}.landing-footer__tagline{max-width:320px;line-height:1.5}.landing-footer__col{display:grid;gap:10px;align-content:start}.landing-footer__heading{color:var(--color-text);font-weight:800;font-size:.78rem;letter-spacing:.05em;text-transform:uppercase}.landing-footer__col a,.landing-footer__bottom a{color:var(--color-text-muted);text-decoration:none}.landing-footer__col a[aria-current]{color:var(--color-text);font-weight:700}.landing-footer__col a:hover,.landing-footer__bottom a:hover{color:var(--color-text);text-decoration:underline;text-underline-offset:2px}.landing-footer__bottom{display:flex;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap;margin-top:var(--space-2xl);padding-top:var(--space-md);border-top:1px solid var(--color-border);font-size:.85rem}.legal-page{padding-block:var(--space-2xl) var(--space-5xl)}.legal-page__inner{max-width:760px;margin-inline:auto;padding-inline:var(--space-lg)}.legal-back{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;color:var(--color-text-muted);text-decoration:none;margin-bottom:var(--space-lg)}.legal-back:hover{color:var(--color-text)}.legal-notice{background:var(--color-budget-surface);border-radius:var(--radius-md);padding:var(--space-sm) var(--space-md);font-size:.9rem;margin-bottom:var(--space-lg)}.legal-doc{line-height:1.6}.legal-doc h1{font-size:clamp(1.9rem,1.2rem + 3vw,2.5rem);font-weight:700;letter-spacing:-.01em;margin-bottom:var(--space-xs)}.legal-doc__meta{color:var(--color-text-muted);font-size:.9rem;margin-bottom:var(--space-xl)}.legal-doc h2{font-size:1.35rem;font-weight:700;margin:var(--space-2xl) 0 var(--space-sm);scroll-margin-top:88px}.legal-doc p{margin:0 0 var(--space-md)}.legal-doc ul{list-style:disc;padding-left:1.4rem;margin:0 0 var(--space-md);display:flex;flex-direction:column;gap:var(--space-2xs)}.legal-doc a{color:var(--color-accent-primary);text-decoration:underline;text-underline-offset:2px}.legal-toc{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:var(--space-md) var(--space-lg);margin-bottom:var(--space-xl)}.legal-toc__title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin-bottom:var(--space-xs)}.legal-toc ol{list-style:decimal;padding-left:1.4rem;display:flex;flex-direction:column;gap:var(--space-2xs)}@media(min-width:640px){.legal-toc ol{display:block;columns:2;column-gap:var(--space-lg)}.legal-toc li{break-inside:avoid;margin-bottom:var(--space-2xs)}}.legal-toc a{color:var(--color-text);text-decoration:none}.legal-toc a:hover{text-decoration:underline}.settings-icon--connections{background:var(--color-notes-surface);color:var(--color-notes-accent)}.person-avatar{flex-shrink:0;display:grid;place-items:center;border-radius:50%;font-weight:700;letter-spacing:.02em;background:var(--color-notes-surface);color:var(--color-notes-accent);border:2px solid var(--color-surface)}.person-avatar--photo{display:block;box-sizing:border-box;object-fit:cover}.connections-invite{margin-top:var(--space-sm)}.connections-invite input{min-width:0}.connections-sent{margin-top:var(--space-sm);display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);background:var(--color-notes-surface);color:var(--color-notes-accent)}.connections-sent p{flex:1 1 200px;margin:0;font-size:.875rem}.connections-link{margin-top:var(--space-sm)}.connections-sent code{overflow-wrap:anywhere}.device-list__item--highlight{border-color:color-mix(in srgb,var(--color-notes-accent) 45%,var(--color-border));background:color-mix(in srgb,var(--color-notes-surface) 55%,var(--color-surface))}.sheet-actions{display:flex;justify-content:flex-end;margin-top:var(--space-md)}.share-empty{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-sm);color:var(--color-text-muted)}.share-empty p{margin:0}.share-list .chips{flex-shrink:0}.note-card__shared{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;color:var(--color-text-muted);font-weight:600}.note-card__people{display:inline-flex}.note-card__people .person-avatar+.person-avatar{margin-left:-6px}.note-shared-banner{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap;margin-bottom:var(--space-sm);padding:var(--space-xs) var(--space-md);border-radius:var(--radius-md);background:var(--color-notes-surface);color:var(--color-notes-accent);font-size:.875rem;font-weight:600}.chat-list{display:flex;flex-direction:column;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);overflow:hidden}.chat-list__row{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);min-height:68px;color:var(--color-text);text-decoration:none;border-bottom:1px solid var(--color-border);transition:background-color var(--duration-fast) var(--easing-standard)}.chat-list__row:last-child{border-bottom:none}.chat-list__row:hover{background:color-mix(in srgb,var(--color-text) 4%,var(--color-surface))}.chat-list__row:focus-visible{outline:2px solid var(--color-chat-accent);outline-offset:-2px}.chat-list__row--ai{background:color-mix(in srgb,var(--color-chat-surface) 55%,var(--color-surface))}.chat-list__ai-icon{flex-shrink:0;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--color-chat-accent),color-mix(in srgb,var(--color-chat-accent) 55%,var(--color-notes-accent)));color:#fff}.chat-page__header .chat-list__ai-icon{width:36px;height:36px}.chat-list__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.chat-list__name{font-weight:700}.chat-list__preview{color:var(--color-text-muted);font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list__row--unread .chat-list__preview{color:var(--color-text);font-weight:600}.chat-list__meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:.75rem;color:var(--color-text-muted);flex-shrink:0}.chat-list__badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:var(--color-chat-accent);color:var(--color-surface);font-weight:700;font-size:.7rem}.chat-list__chevron{color:var(--color-text-muted)}.chat-list .state-block{padding:var(--space-lg) var(--space-md)}.chat-page{display:flex;flex-direction:column;box-sizing:border-box;height:100dvh;max-width:820px;padding-bottom:calc(var(--space-sm) + env(safe-area-inset-bottom,0px))}.chat-page__header{display:flex;align-items:center;gap:var(--space-sm);padding-bottom:var(--space-sm);border-bottom:1px solid var(--color-border)}.chat-page__who{flex:1;min-width:0}.chat-page__who h1{font-size:1.1rem;margin:0}.chat-page__who h1,.chat-page__sub{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-page__sub{color:var(--color-text-muted);font-size:.8rem}.chat-page__notice{display:flex;align-items:center;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);background:var(--color-chat-surface);color:var(--color-chat-accent);font-size:.875rem;margin:var(--space-sm) 0}.group-avatar{position:relative;flex-shrink:0;display:inline-block}.group-avatar__back{position:absolute;top:0;left:0}.group-avatar__front{position:absolute;right:0;bottom:0}.group-avatar--empty{display:grid;place-items:center;border-radius:50%;background:var(--color-chat-surface);color:var(--color-chat-accent)}.chat-list__row--left .chat-list__name{color:var(--color-text-muted)}.chat-page__who--button{background:none;border:0;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.chat-page__who--button:disabled{cursor:default}.chat-page__who--button:focus-visible{outline:2px solid var(--color-chat-accent);outline-offset:2px;border-radius:var(--radius-sm)}.chat-run{display:flex;align-items:flex-end;gap:8px;align-self:flex-start;max-width:min(94%,720px);min-width:0}.chat-run--first{margin-top:6px}.chat-run__avatar{flex:none;width:28px}.chat-run__body{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.chat-run__body>.chat-bubble,.chat-run__body>.chat-message{max-width:100%;align-self:flex-start}.chat-run__name{padding:0 12px;font-size:.75rem;font-weight:600;color:var(--color-text-muted)}.chat-system{align-self:center;max-width:90%;margin:6px 0;padding:4px 12px;border-radius:999px;background:color-mix(in srgb,var(--color-text) 5%,transparent);color:var(--color-text-muted);font-size:.8rem;text-align:center}.chat-system--hint{background:none}.people-picker{list-style:none;margin:var(--space-xs) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--space-xs)}.people-picker__row{position:relative;display:flex;align-items:center;gap:var(--space-sm);min-height:52px;padding:var(--space-xs) var(--space-sm);border-radius:var(--radius-md);border:1px solid var(--color-border);background:color-mix(in srgb,var(--color-background) 60%,var(--color-surface));cursor:pointer;transition:border-color var(--duration-fast) var(--easing-standard),background-color var(--duration-fast) var(--easing-standard)}.people-picker__row--checked{border-color:var(--color-chat-accent);background:color-mix(in srgb,var(--color-chat-surface) 60%,var(--color-surface))}.people-picker__row:focus-within{outline:2px solid var(--color-chat-accent);outline-offset:1px}.people-picker__input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.people-picker__name{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}.people-picker__tick{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--color-border);display:grid;place-items:center;color:var(--color-surface)}.people-picker__row--checked .people-picker__tick{background:var(--color-chat-accent);border-color:var(--color-chat-accent)}.group-info__hero{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:var(--space-xs) 0 var(--space-lg)}.group-info__photo{position:relative;margin-bottom:var(--space-xs)}.group-info__camera{position:absolute;right:-2px;bottom:-2px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;padding:0;border:2px solid var(--color-surface);background:var(--color-chat-accent);color:var(--color-surface);cursor:pointer}.group-info__camera:disabled{opacity:.6;cursor:default}.group-info__title{display:inline-flex;align-items:center;gap:6px;margin:0;max-width:100%;font-size:1.2rem;overflow-wrap:anywhere}.group-info__pencil{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;padding:0;border:0;background:color-mix(in srgb,var(--color-text) 6%,transparent);color:var(--color-text-muted);cursor:pointer}.group-info__pencil:hover{color:var(--color-text)}.group-info__sub{margin:0;color:var(--color-text-muted);font-size:.875rem}.group-info__link{margin-top:2px;padding:2px 6px;border:0;background:none;color:var(--color-text-muted);font-size:.8rem;text-decoration:underline;cursor:pointer}.group-info__rename{display:flex;flex-direction:column;gap:var(--space-xs);width:100%;max-width:360px}.group-info__rename input{text-align:center}.group-info__rename-actions{display:flex;justify-content:center;gap:var(--space-xs)}.group-info__section{margin:0 0 var(--space-xs) var(--space-xs);font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted)}.group-info__list{list-style:none;margin:0 0 var(--space-md);padding:0;border:1px solid var(--color-border);border-radius:var(--radius-lg, 16px);background:var(--color-surface);overflow:hidden}.group-info__list>li+li{border-top:1px solid var(--color-border)}.group-info__row{display:flex;align-items:center;gap:var(--space-sm);width:100%;min-height:56px;padding:8px 12px;box-sizing:border-box;border:0;background:none;color:var(--color-text);font:inherit;text-align:left}button.group-info__row{cursor:pointer}button.group-info__row:hover{background:color-mix(in srgb,var(--color-text) 4%,var(--color-surface))}.group-info__row-icon{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,currentColor 12%,transparent)}.group-info__row--action{color:var(--color-chat-accent);font-weight:600}.group-info__row--danger{color:var(--color-danger);font-weight:600}.group-info__row-text{flex:1;min-width:0;display:flex;flex-direction:column}.group-info__row-name{font-weight:600;overflow-wrap:anywhere}.group-info__row-meta{font-size:.78rem;color:var(--color-text-muted)}.group-info__remove{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;padding:0;border:0;background:none;color:var(--color-text-muted);cursor:pointer}.group-info__remove:hover{background:color-mix(in srgb,var(--color-danger) 10%,transparent);color:var(--color-danger)}.chat-thread{flex:1;overflow-y:auto;padding:var(--space-md) 2px;display:flex;flex-direction:column;gap:6px;overscroll-behavior:contain}.chat-thread__more{align-self:center}.chat-thread__empty{margin:auto;color:var(--color-text-muted);text-align:center;max-width:320px}.chat-day{align-self:center;margin:var(--space-sm) 0 var(--space-2xs);font-size:.75rem;font-weight:600;color:var(--color-text-muted)}.chat-day span{padding:2px 10px;border-radius:999px;background:color-mix(in srgb,var(--color-text) 6%,transparent)}.chat-bubble{max-width:min(88%,680px);padding:8px 12px 6px;border-radius:18px;line-height:1.4;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:2px}.chat-bubble--mine{align-self:flex-end;background:var(--color-chat-accent);color:var(--color-surface);border-bottom-right-radius:6px}.chat-bubble--theirs{align-self:flex-start;background:var(--color-surface);border:1px solid var(--color-border);border-bottom-left-radius:6px}.chat-bubble--ai{align-self:flex-start;background:color-mix(in srgb,var(--color-chat-surface) 75%,var(--color-surface));border:1px solid color-mix(in srgb,var(--color-chat-accent) 30%,transparent);border-bottom-left-radius:6px;color:var(--color-text)}.chat-ai-avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:color-mix(in srgb,var(--color-chat-accent) 16%,var(--color-surface));color:var(--color-chat-accent)}.chat-bubble--pending{opacity:.7}.chat-bubble__content{white-space:pre-wrap}.chat-bubble__content p{margin:0 0 6px;white-space:normal}.chat-bubble__content p:last-child{margin-bottom:0}.chat-bubble__content ul,.chat-bubble__content ol{margin:0 0 6px;padding-left:1.2em;white-space:normal}.chat-message{display:flex;flex-direction:column;gap:3px;max-width:min(92%,720px)}.chat-message--theirs{align-self:flex-start;align-items:flex-start}.chat-message--mine{align-self:flex-end;align-items:flex-end}.chat-message__row{display:flex;align-items:flex-end;gap:6px;max-width:100%}.chat-message .chat-bubble{max-width:100%;min-width:0}.chat-translate{flex:none;width:28px;height:28px;margin-bottom:2px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);cursor:pointer;transition:color .15s,background-color .15s,border-color .15s}.chat-translate:hover,.chat-translate:focus-visible{color:var(--color-chat-accent);border-color:color-mix(in srgb,var(--color-chat-accent) 35%,var(--color-border));background:color-mix(in srgb,var(--color-chat-accent) 8%,var(--color-surface))}.chat-translate:disabled{cursor:default;color:var(--color-chat-accent)}.chat-translate__spinner{animation:chat-translate-spin .9s linear infinite}@keyframes chat-translate-spin{to{transform:rotate(360deg)}}.chat-translation{max-width:100%;padding:7px 12px 6px;border-radius:6px 18px 18px;background:color-mix(in srgb,var(--color-chat-accent) 10%,var(--color-surface));color:var(--color-text);line-height:1.4;overflow-wrap:anywhere;animation:chat-translation-in .18s ease-out}.chat-translation__text{white-space:pre-wrap}.chat-translation__text--same{color:var(--color-text-muted);font-style:italic}.chat-translation__meta{display:flex;align-items:center;gap:4px;margin-top:3px;font-size:.7rem;color:var(--color-text-muted)}@keyframes chat-translation-in{0%{opacity:0;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.chat-translation,.chat-translate__spinner{animation:none}}.chat-bubble__time{align-self:flex-end;font-size:.68rem;opacity:.7}.chat-bubble--typing{flex-direction:row;gap:4px;padding:12px 14px}.chat-bubble--typing span{width:7px;height:7px;border-radius:50%;background:var(--color-text-muted);animation:chat-typing 1.2s infinite ease-in-out}.chat-bubble--typing span:nth-child(2){animation-delay:.15s}.chat-bubble--typing span:nth-child(3){animation-delay:.3s}@keyframes chat-typing{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.chat-bubble--typing span{animation:none}}.chat-composer{display:flex;align-items:flex-end;gap:var(--space-xs);padding:var(--space-sm) 0 var(--space-md);border-top:1px solid var(--color-border);background:var(--color-background)}.chat-composer textarea{flex:1;resize:none;overflow-y:auto;scrollbar-width:none;min-height:44px;max-height:160px;padding:10px 14px;border-radius:22px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;line-height:1.4}.chat-composer textarea:focus{outline:2px solid color-mix(in srgb,var(--color-chat-accent) 60%,transparent);outline-offset:0}.chat-composer__send{width:44px;height:44px;border-radius:50%;background:var(--color-chat-accent);color:var(--color-surface);flex-shrink:0}.chat-composer__send:disabled{opacity:.45}.chat-composer--photos{flex-wrap:wrap}.chat-composer__field{position:relative;flex:1;min-width:0;display:flex}.chat-composer--photos textarea{padding-left:50px}.chat-composer__photos{position:absolute;left:5px;bottom:5px;z-index:1;width:34px;height:34px;padding:0;border:none;border-radius:50%;display:grid;place-items:center;background:var(--color-chat-surface);color:var(--color-chat-accent);cursor:pointer}.chat-composer__photos:hover:not(:disabled){background:color-mix(in srgb,var(--color-chat-accent) 18%,var(--color-chat-surface))}.chat-composer__photos:focus-visible{outline:2px solid var(--color-chat-accent);outline-offset:2px}.chat-composer__photos:disabled{opacity:.45;cursor:default}.chat-tray{flex:1 0 100%;display:flex;flex-direction:column;gap:6px}.chat-tray__list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.chat-tray__item{position:relative;width:72px;height:72px;border-radius:14px;overflow:hidden;background:color-mix(in srgb,var(--color-text) 7%,transparent)}.chat-tray__item img{display:block;width:100%;height:100%;object-fit:cover}.chat-tray__remove{position:absolute;top:3px;right:3px;width:24px;height:24px;padding:0;border:none;border-radius:50%;display:grid;place-items:center;background:#202124d9;color:#fff;cursor:pointer}.chat-tray__remove:focus-visible{outline:2px solid var(--color-chat-accent);outline-offset:1px}.chat-tray__count{margin:0;font-size:.8rem;font-weight:700;color:var(--color-text-muted)}.chat-tray__count--limit{color:var(--color-danger)}.chat-page{position:relative}.chat-drop{position:absolute;inset:64px 0 72px;z-index:5;display:grid;padding:var(--space-sm) 0;pointer-events:none}.chat-drop__box{display:flex;align-items:center;justify-content:center;gap:10px;padding:var(--space-md);border:2px dashed var(--color-chat-accent);border-radius:20px;background:color-mix(in srgb,var(--color-chat-surface) 92%,transparent);color:var(--color-chat-accent);font-weight:800;text-align:center}.chat-photos{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;width:260px;max-width:100%;border-radius:18px;overflow:hidden}.chat-photos--one{display:block}.chat-photos--one .chat-photos__cell{width:100%;height:100%}.chat-photos--two{grid-template-rows:minmax(0,1fr);aspect-ratio:260 / 170}.chat-photos--three,.chat-photos--four{aspect-ratio:1}.chat-photos--three>:first-child{grid-row:1 / 3}.chat-photos__cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:none;overflow:hidden;background:color-mix(in srgb,var(--color-text) 7%,var(--color-surface));color:var(--color-text-muted)}button.chat-photos__cell{cursor:zoom-in}.chat-photos__cell:focus-visible{outline:3px solid var(--color-chat-accent);outline-offset:-3px;z-index:1}.chat-photos__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity var(--duration-fast) var(--easing-standard)}.chat-photos__img--loaded{opacity:1}.chat-photos--dimmed .chat-photos__cell{opacity:.6}.chat-photos__ring{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#2021248c}.chat-photos__ring svg{animation:chat-photos-spin 1.6s linear infinite}.chat-photos__ring-arc{transition:stroke-dashoffset .3s ease}@keyframes chat-photos-spin{to{transform:rotate(360deg)}}.chat-message__time{padding:0 6px;font-size:.68rem;color:var(--color-text-muted)}.chat-outgoing{display:inline-flex;align-items:center;gap:6px;padding:0 6px;font-size:.72rem;color:var(--color-text-muted)}.chat-outgoing--failed{font-size:.8rem;font-weight:700;color:var(--color-danger)}.chat-outgoing__retry{padding:4px 6px;border:none;border-radius:8px;background:none;font:inherit;font-weight:800;color:var(--color-chat-accent);cursor:pointer}.chat-outgoing__retry:hover,.chat-outgoing__retry:focus-visible{background:color-mix(in srgb,var(--color-chat-accent) 10%,transparent)}.chat-outgoing__retry:focus-visible{outline:2px solid var(--color-chat-accent)}.chat-list__photo{display:inline-block;margin-right:4px;vertical-align:-2px}.photo-viewer{position:fixed;inset:0;z-index:150;display:flex;flex-direction:column;background:#111214;color:#f3f1ec;animation:piccola-fade-in var(--duration-fast) var(--easing-standard) both}.photo-viewer__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(12px,env(safe-area-inset-top,0px)) 12px 8px}.photo-viewer__title{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center}.photo-viewer__title h2{margin:0;font-size:.95rem;font-weight:800;color:inherit}.photo-viewer__title span{font-size:.75rem;color:#a6abb3}.photo-viewer__button{flex:none;width:44px;height:44px;padding:0;border:none;border-radius:50%;display:grid;place-items:center;background:#ffffff1f;color:#f3f1ec;cursor:pointer}.photo-viewer__button:hover:not(:disabled){background:#ffffff38}.photo-viewer__button:focus-visible{outline:2px solid #aeb8ff;outline-offset:2px}.photo-viewer__button:disabled{opacity:.35;cursor:default}.photo-viewer__stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px 68px}.photo-viewer__img{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}.photo-viewer__loading{width:min(70vw,420px);aspect-ratio:1;border-radius:8px;background:#ffffff0f}.photo-viewer__nav{position:absolute;top:50%;transform:translateY(-50%)}.photo-viewer__nav--prev{left:12px}.photo-viewer__nav--next{right:12px}.photo-viewer__foot{display:flex;flex-direction:column;align-items:center;gap:12px;padding:12px 16px max(20px,env(safe-area-inset-bottom,0px))}.photo-viewer__caption{width:100%;max-width:680px;margin:0;font-size:.95rem;line-height:1.4;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere}.photo-viewer__dots{display:flex;gap:8px}.photo-viewer__dot{width:8px;height:8px;border-radius:50%;background:#f3f1ec59}.photo-viewer__dot--on{background:#f3f1ec}@media(max-width:600px){.photo-viewer__stage{padding:8px 0}.photo-viewer__nav{background:#1112148c}}@media(prefers-reduced-motion:reduce){.photo-viewer,.chat-photos__ring svg{animation:none}.chat-photos__img,.chat-photos__ring-arc{transition:none}}.chat-ai-intro{display:flex;flex-direction:column;align-items:center;gap:var(--space-sm);text-align:center;margin-bottom:var(--space-sm)}.chat-ai-intro__privacy{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:.78rem;color:var(--color-text-muted);max-width:520px}.chat-ai-intro__hello{margin:var(--space-md) 0 0;font-weight:600}.chat-ai-intro__suggestions{justify-content:center}.whats-new{margin-bottom:var(--space-lg);padding:var(--space-md) var(--space-lg) var(--space-lg);border-radius:var(--radius-xl);border:1px solid color-mix(in srgb,var(--color-focus-accent) 22%,transparent);background:radial-gradient(120% 140% at 100% 0%,color-mix(in srgb,var(--color-groceries-surface) 80%,transparent) 0%,transparent 55%),linear-gradient(135deg,var(--color-focus-surface) 0%,color-mix(in srgb,var(--color-focus-surface) 45%,var(--color-surface)) 100%);box-shadow:0 18px 40px -28px color-mix(in srgb,var(--color-focus-accent) 70%,transparent);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.whats-new--compact{position:relative;padding:0}.whats-new__open{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:var(--space-md);width:100%;padding:var(--space-md) calc(var(--space-lg) + 36px) var(--space-md) var(--space-md);border:0;border-radius:inherit;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.whats-new__open:focus-visible{outline:2px solid var(--color-focus-accent);outline-offset:2px}.whats-new--compact .whats-new__text>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whats-new__chevron{color:var(--color-focus-accent)}.whats-new--compact .whats-new__close{position:absolute;top:50%;right:var(--space-sm);transform:translateY(-50%)}.whats-new__icon--spark{color:var(--color-focus-accent)}.whats-new__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);margin-bottom:var(--space-sm)}.whats-new__eyebrow{display:inline-flex;align-items:center;gap:6px;margin:0;padding:4px 10px;border-radius:var(--radius-pill);font-size:.75rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;background:color-mix(in srgb,var(--color-surface) 70%,transparent);color:var(--color-focus-accent)}.whats-new__close{background:color-mix(in srgb,var(--color-surface) 70%,transparent);border-color:transparent}.whats-new__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-md)}.whats-new__item{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:var(--space-md)}.whats-new__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--color-surface)}.whats-new__icon--focus{color:var(--color-focus-accent)}.whats-new__icon--home{color:var(--color-accent-primary)}.whats-new__icon--routine{color:var(--color-routine-accent)}.whats-new__icon--chat{color:var(--color-chat-accent)}.whats-new__text{display:grid;gap:2px;min-width:0}.whats-new__text b{font-weight:700}.whats-new__text>span{font-size:.9rem;color:var(--color-text-muted)}.whats-new__try{justify-self:start;display:inline-flex;align-items:center;gap:2px;margin-top:4px;font-size:.85rem;font-weight:700;color:var(--color-focus-accent);text-decoration:none}.whats-new__try:hover{text-decoration:underline}.home-invites{position:relative;overflow:hidden;margin-bottom:var(--space-lg);padding:var(--space-lg);border-radius:var(--radius-xl);border:1px solid color-mix(in srgb,var(--color-chat-accent) 22%,transparent);background:radial-gradient(120% 140% at 100% 0%,color-mix(in srgb,var(--color-notes-surface) 85%,transparent) 0%,transparent 55%),linear-gradient(135deg,var(--color-chat-surface) 0%,color-mix(in srgb,var(--color-chat-surface) 45%,var(--color-surface)) 100%);box-shadow:0 18px 40px -28px color-mix(in srgb,var(--color-chat-accent) 70%,transparent);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.home-invites__eyebrow{display:inline-flex;align-items:center;gap:6px;margin:0 0 var(--space-sm);padding:4px 10px;border-radius:var(--radius-pill);font-size:.75rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;background:color-mix(in srgb,var(--color-surface) 70%,transparent);color:var(--color-chat-accent)}.home-invites__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-sm)}.home-invite{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"avatar text" "actions actions";align-items:center;column-gap:var(--space-md);row-gap:var(--space-sm)}.home-invites__list>.home-invite+.home-invite{padding-top:var(--space-sm);border-top:1px solid color-mix(in srgb,var(--color-chat-accent) 15%,transparent)}.home-invite__avatar{grid-area:avatar;position:relative;display:inline-flex;border-radius:50%;box-shadow:0 0 0 3px var(--color-surface),0 0 0 5px color-mix(in srgb,var(--color-chat-accent) 45%,transparent)}.home-invite__avatar:after{content:"";position:absolute;top:-2px;right:-2px;width:12px;height:12px;border-radius:50%;background:var(--color-chat-accent);border:2px solid var(--color-surface)}.home-invite__text{grid-area:text;min-width:0}.home-invite__title{margin:0;font-size:1.05rem;font-weight:700;color:var(--color-text);overflow-wrap:anywhere}.home-invite__hint{margin:2px 0 0;font-size:.9rem;color:var(--color-text-muted)}.home-invite__email{margin:2px 0 0;font-size:.8rem;color:var(--color-text-muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.home-invite__actions{grid-area:actions;display:flex;gap:var(--space-xs)}.home-invite__accept{flex:1;background:var(--color-chat-accent);color:var(--color-surface)}.home-invite__decline{color:var(--color-text-muted)}@media(min-width:640px){.home-invite{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"avatar text actions"}.home-invite__accept{flex:none}}.home-invites--focus{border-color:color-mix(in srgb,var(--color-focus-accent) 24%,transparent);background:linear-gradient(135deg,var(--color-focus-surface) 0%,color-mix(in srgb,var(--color-focus-surface) 45%,var(--color-surface)) 100%);box-shadow:0 18px 40px -28px color-mix(in srgb,var(--color-focus-accent) 70%,transparent)}.home-invites--focus .home-invites__eyebrow,.fp-sheet--invite .home-invites__eyebrow{color:var(--color-focus-accent)}.home-invites--focus .home-invite__avatar,.fp-sheet--invite .home-invite__avatar{box-shadow:0 0 0 3px var(--color-surface),0 0 0 5px color-mix(in srgb,var(--color-focus-accent) 45%,transparent)}.home-invites--focus .home-invite__avatar:after,.fp-sheet--invite .home-invite__avatar:after{background:var(--color-focus-accent)}.home-invites--focus .home-invite__accept,.fp-sheet--invite .home-invite__accept{background:var(--color-focus-accent);color:var(--color-surface)}.focus-live{display:flex;align-items:center;gap:12px;margin-bottom:var(--space-lg);padding:14px 16px;border-radius:var(--radius-xl);background:#17212e;color:#eef3f9;text-decoration:none;box-shadow:0 18px 40px -26px #17212ee6;animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.focus-live--break{background:#1c3328}.focus-live--done{background:#3b2a22}.focus-live:hover{filter:brightness(1.1)}.focus-live:focus-visible{outline:3px solid var(--color-focus-accent);outline-offset:3px}.focus-live__ring{position:relative;flex:none;width:58px;height:58px;display:grid;place-items:center}.focus-live__ring svg:first-child{position:absolute;inset:0;width:100%;height:100%}.focus-live__track{fill:none;stroke:#9cc3ea40;stroke-width:4}.focus-live__arc{fill:none;stroke:#e07b6a;stroke-width:4;stroke-linecap:round;transition:stroke-dasharray 1s linear}.focus-live--break .focus-live__arc{stroke:#8fd4b0}.focus-live__text{flex:1;min-width:0;display:grid}.focus-live__phase{font-size:.8rem;font-weight:800;color:#9cc3ea}.focus-live--break .focus-live__phase{color:#8fd4b0}.focus-live--done .focus-live__phase{color:#f6c79a;font-size:1rem}.focus-live__time{font-size:1.65rem;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums}.focus-live__room{font-size:.8rem;color:#c9d3de;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.focus-live__chev{flex:none;color:#9cc3ea}.room-cat{display:block;flex:none;overflow:visible}@media(prefers-reduced-motion:reduce){.focus-live{animation:none}.focus-live__arc{transition:none}}.complete-routine{display:flex;flex-direction:column;gap:var(--space-md)}.complete-routine__when{margin:0;color:var(--color-text-muted);font-size:.9rem}.complete-routine__question{margin:0;font-size:1.05rem}.complete-routine__item{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-lg);background:var(--color-reminders-surface)}.complete-routine__item-name{font-weight:700;font-size:1.05rem}.complete-routine__fields{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-sm)}.complete-routine__fields .field{margin:0}.routine-log-defaults{margin-top:var(--space-md)}.log-item__add{align-self:flex-start;margin-top:var(--space-xs)}.completed-section{margin-top:var(--space-sm)}.completed-section__toggle{display:flex;align-items:center;gap:var(--space-sm);width:100%;padding:var(--space-xs) 0;background:none;border:none;color:var(--color-text-muted);cursor:pointer}.completed-section__line{flex:1;height:1px;background:var(--color-border)}.completed-section__pill{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);font-size:.8rem;font-weight:600;letter-spacing:.01em;transition:background var(--duration-fast) var(--easing-standard),color var(--duration-fast) var(--easing-standard),border-color var(--duration-fast) var(--easing-standard)}.completed-section__pill>svg:first-child{color:var(--color-routine-accent)}.completed-section__count{min-width:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--color-routine-accent) 18%,transparent);color:var(--color-routine-accent);font-size:.75rem;line-height:18px;text-align:center}.completed-section__toggle:hover .completed-section__pill,.completed-section__toggle:focus-visible .completed-section__pill{color:var(--color-text);border-color:color-mix(in srgb,var(--color-routine-accent) 45%,var(--color-border))}.completed-section__toggle:focus-visible{outline:none}.completed-section__toggle:focus-visible .completed-section__pill{box-shadow:0 0 0 3px color-mix(in srgb,var(--color-accent-primary) 25%,transparent)}.completed-section__chevron{transition:transform var(--duration-base) var(--easing-standard)}.completed-section--open .completed-section__chevron{transform:rotate(180deg)}.completed-section__panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--duration-base) var(--easing-standard),opacity var(--duration-base) var(--easing-standard)}.completed-section--open .completed-section__panel{grid-template-rows:1fr;opacity:1}.completed-section__inner{min-height:0;overflow:hidden}.completed-section__inner>ul{padding-top:var(--space-xs)}@media(prefers-reduced-motion:reduce){.completed-section__panel,.completed-section__chevron{transition:none}}.list-row__tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;min-width:0}.log-tag{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:1px 8px;border-radius:999px;background:#0000000d;color:var(--color-text-muted);font-size:.75rem;font-weight:500;line-height:1.5;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.log-tag svg{display:inline-block;flex-shrink:0}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .log-tag{background:#ffffff14}}:root[data-theme=dark] .log-tag{background:#ffffff14}.list-row__from-routine{white-space:nowrap}.list-row__from-routine svg{display:inline-block;vertical-align:-1px}.score-ring{position:relative;display:inline-grid;place-items:center;flex-shrink:0}.score-ring svg{position:absolute;inset:0}.score-ring__track{stroke:var(--color-border)}.score-ring__bar{transition:stroke-dashoffset var(--duration-slow) var(--easing-standard)}.score-ring__value{position:relative;display:grid;justify-items:center;line-height:1}.score-ring__number{font-size:1.05rem;font-weight:800;font-variant-numeric:tabular-nums}.score-ring__number--small{font-size:.8rem}.score-ring__caption{margin-top:4px;font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted)}.band-chip{display:inline-flex;align-items:center;gap:6px;width:fit-content;max-width:100%;padding:2px 10px;border-radius:var(--radius-pill);background:var(--band-surface);color:color-mix(in srgb,var(--band) 70%,var(--color-text));font-size:.8rem;font-weight:700;white-space:nowrap}.band-chip--sm{padding:1px 8px;font-size:.75rem}.band-chip__dot{width:8px;height:8px;border-radius:50%;background:var(--band);flex-shrink:0}.streak-flame{display:inline-flex;align-items:center;gap:3px;font-variant-numeric:tabular-nums}.streak-flame__icon,.progress-flame{color:var(--color-notes-accent);flex-shrink:0}.streak-flame__icon--filled{fill:currentColor}.progress-trend{font-size:.85rem;font-weight:700;color:var(--color-text-muted)}.progress-trend--up{color:var(--color-success)}.progress-trend--down{color:var(--color-danger)}.medal{position:relative;display:inline-block;flex-shrink:0}.medal__ring{position:absolute;inset:0}.medal__track{stroke:var(--color-border)}.medal__fill{stroke:var(--medal-next);transition:stroke-dashoffset var(--duration-slow) var(--easing-standard)}.medal__face{position:absolute;display:grid;place-items:center;border-radius:50%;background:var(--color-surface-raised);color:var(--color-text-muted);border:2px dashed var(--color-border)}.medal--earned .medal__face{background:var(--metal-surface);color:var(--metal);border:2px solid var(--metal)}.medal__pill{position:absolute;left:50%;bottom:-4px;transform:translate(-50%);padding:0 7px;border-radius:var(--radius-pill);border:2px solid var(--color-surface);background:var(--metal);color:var(--color-surface);font-size:.68rem;font-weight:800;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}.progress-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto 16px;align-items:center;gap:var(--space-sm);margin-top:var(--space-md);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-xl);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);text-decoration:none;transition:transform var(--duration-fast) var(--easing-standard);animation:piccola-fade-in-up var(--duration-slow) var(--easing-standard) both}.progress-card:hover{transform:translateY(-2px)}.progress-card--tinted{background:var(--progress-card-tint);border-color:transparent}.progress-card__left{position:relative;display:grid;place-items:center;width:56px;height:56px}.progress-card__mid{display:grid;gap:3px;min-width:0}.progress-card__title{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-weight:800;overflow-wrap:anywhere}.progress-card__title .progress-trend{font-size:.8rem}.progress-card__line{font-size:.85rem;font-weight:600;color:var(--color-text-muted);overflow-wrap:anywhere}.progress-card--tinted .progress-card__line{color:var(--color-text)}.progress-card__right{display:grid;justify-items:center}.progress-card__right small{font-size:.7rem;font-weight:700;color:var(--color-text-muted)}.progress-card__streak{display:flex;align-items:center;gap:2px;font-size:1.1rem;font-weight:800;font-variant-numeric:tabular-nums}.progress-card__flame{color:var(--color-notes-accent)}.progress-card__flame--filled{fill:currentColor}.progress-card__rest,.progress-card__shield{display:inline-flex;align-items:center;gap:2px}.progress-card__rest svg{color:var(--color-reminders-accent)}.progress-card__shield svg{color:var(--color-focus-accent)}.progress-card__badge{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--color-surface);color:var(--color-focus-accent)}.progress-card__week{display:grid;grid-template-columns:repeat(7,8px);gap:3px;margin-bottom:2px}.progress-card__week i{width:8px;height:14px;border-radius:3px;background:var(--color-surface-raised);box-shadow:inset 0 0 0 1px var(--color-border)}.progress-card__week i.progress-card__bar--full{background:var(--color-accent-primary);box-shadow:none}.progress-card__week i.progress-card__bar--partial{background:color-mix(in srgb,var(--color-accent-primary) 38%,var(--color-surface));box-shadow:none}.progress-card__chevron{color:var(--color-text-muted)}.progress-card__cheer .person-avatar{background:var(--color-chat-accent);color:var(--color-text-inverse)}.progress-card__heart{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--color-surface);color:var(--color-groceries-accent)}.progress-card__heart svg{fill:currentColor}.progress-tabs{margin-bottom:var(--space-lg)}.progress-tabs .segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.progress-card-meta{font-size:.8rem;font-weight:600;color:var(--color-text-muted)}.progress-note{font-size:.85rem;color:var(--color-text-muted)}.progress-note--info{display:flex;align-items:flex-start;gap:6px;margin-top:var(--space-sm)}.progress-note--info svg{flex-shrink:0;margin-top:2px}.progress-note--foot{margin-top:var(--space-md)}.progress-link{font-weight:700;color:var(--color-accent-primary)}.progress-hero{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:var(--space-lg)}.progress-hero .score-ring__number{font-size:2.1rem;font-weight:900}.progress-hero .score-ring__number--small{font-size:1.4rem}.progress-hero__text{display:grid;gap:6px;min-width:0}.progress-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-xs)}.progress-stats--three{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-stat{display:grid;gap:2px;min-width:0;padding:10px 12px;border-radius:var(--radius-md);background:var(--color-background)}.progress-stat--logs{background:var(--color-reminders-surface)}.progress-stat--budget{background:var(--color-budget-surface)}.progress-stat__label{font-size:.78rem;font-weight:700;color:var(--color-text-muted)}.progress-stat--logs .progress-stat__label,.progress-stat--budget .progress-stat__label{color:var(--color-text)}.progress-stat__value{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:1.35rem;font-weight:800;font-variant-numeric:tabular-nums}.progress-stat__value--sm{font-size:1.1rem}.progress-stat__value small{font-size:.8rem;font-weight:700;color:var(--color-text-muted)}.progress-budget{display:grid;gap:8px;margin-top:var(--space-sm);padding:12px 14px;border-radius:var(--radius-md);background:var(--color-budget-surface)}.progress-budget--over{background:var(--color-danger-surface)}.progress-budget__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-xs);flex-wrap:wrap}.progress-budget__title{font-weight:800}.progress-budget__pill{padding:2px 10px;border-radius:var(--radius-pill);font-size:.78rem;font-weight:800;background:var(--color-surface);color:var(--color-success)}.progress-budget--over .progress-budget__pill{color:var(--color-danger)}.progress-budget__bar{height:8px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-surface) 70%,transparent);overflow:hidden}.progress-budget__bar span{display:block;height:100%;border-radius:inherit;background:var(--color-budget-accent)}.progress-budget--over .progress-budget__bar span{background:var(--color-danger)}.progress-budget__foot{display:flex;justify-content:space-between;gap:var(--space-xs);flex-wrap:wrap;font-size:.85rem;font-variant-numeric:tabular-nums}.progress-budget__foot strong{font-weight:800;color:var(--color-success)}.progress-budget--over .progress-budget__foot strong{color:var(--color-danger)}.progress-leaves,.progress-tokens{display:inline-flex;gap:2px}.progress-leaf{color:var(--color-reminders-accent)}.progress-leaf--empty{color:var(--color-border)}.progress-keep{container-type:inline-size}.progress-stats--keep .progress-stat--streak{grid-column:1 / -1}@container (min-width: 500px){.progress-stats--keep{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-stats--keep .progress-stat--streak{grid-column:auto}}.progress-stat--rest,.progress-stat--shield{--stat-surface: var(--color-reminders-surface);--stat-accent: var(--color-reminders-accent);align-content:start;width:100%;border:0;font:inherit;text-align:left;cursor:pointer;background:var(--stat-surface);color:var(--stat-accent);transition:background-color var(--duration-fast) var(--easing-standard)}.progress-stat--shield{--stat-surface: var(--color-focus-surface);--stat-accent: var(--color-focus-accent)}.progress-stat--rest:hover,.progress-stat--shield:hover{background:color-mix(in srgb,var(--stat-accent) 10%,var(--stat-surface))}.progress-stat--rest:focus-visible,.progress-stat--shield:focus-visible{outline:2px solid var(--stat-accent);outline-offset:2px}.progress-stat--rest .progress-stat__label,.progress-stat--shield .progress-stat__label,.progress-stat--rest .progress-stat__value small,.progress-stat--shield .progress-stat__value small{color:inherit}.progress-stat--rest .progress-stat__value small,.progress-stat--shield .progress-stat__value small{font-size:.95rem;font-weight:800}.progress-stat--rest .progress-stat__value,.progress-stat--shield .progress-stat__value{gap:4px}.progress-stat__hint{font-size:.75rem;font-weight:600}.progress-stat--rest .progress-leaf,.progress-shield{color:var(--stat-accent);fill:currentColor}.progress-stat--rest .progress-leaf--empty,.progress-shield--empty{color:color-mix(in srgb,var(--stat-accent) 40%,transparent);fill:none}.keep-streak{display:grid;gap:var(--space-md)}.keep-streak__row{display:flex;align-items:flex-start;gap:14px}.keep-streak__row h3{margin:0 0 2px;font-size:1.05rem;font-weight:800}.keep-streak__row p{margin:0;line-height:1.4;color:var(--color-text-muted)}.keep-streak__icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:var(--radius-md)}.keep-streak__icon svg{fill:currentColor}.keep-streak__icon--rest{background:var(--color-reminders-surface);color:var(--color-reminders-accent)}.keep-streak__icon--shield{background:var(--color-focus-surface);color:var(--color-focus-accent)}.keep-streak__steps{display:grid;gap:10px;padding:14px 16px;border-radius:var(--radius-lg);background:var(--color-background)}.keep-streak__steps h3{margin:0;font-size:.8rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted)}.keep-streak__steps ol{display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:keep-step}.keep-streak__steps li{display:flex;align-items:center;gap:10px;counter-increment:keep-step}.keep-streak__steps li:before{content:counter(keep-step);display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--color-surface);font-size:.8rem;font-weight:800}.keep-streak__foot{margin:0;font-size:.9rem;line-height:1.4;color:var(--color-text-muted)}.day-strip{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;margin-top:var(--space-md)}.day-strip__day{display:grid;justify-items:center;gap:3px;min-width:0}.day-strip__letter{font-size:.65rem;font-weight:800;color:var(--color-text-muted)}.day-square{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:6px}.day-square--full{background:var(--color-accent-primary)}.day-square--partial{background:color-mix(in srgb,var(--color-accent-primary) 38%,var(--color-surface))}.day-square--missed{background:var(--color-surface-raised);border:1px solid var(--color-border)}.day-square--rested{background:var(--color-reminders-surface);color:var(--color-reminders-accent)}.day-square--shielded{background:color-mix(in srgb,var(--color-focus-accent) 12%,var(--color-focus-surface));color:var(--color-focus-accent)}.day-square--off{border:1px dashed var(--color-border)}.day-square--pending{border:2px solid color-mix(in srgb,var(--color-accent-primary) 60%,var(--color-surface))}.day-square--today{border:2px solid var(--color-text)}.day-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin:var(--space-sm) 0;font-size:.75rem;font-weight:600;color:var(--color-text-muted)}.day-legend li{display:inline-flex;align-items:center;gap:5px}.day-square--legend{width:12px;height:12px;border-radius:3px}.routine-rates{display:grid;gap:var(--space-sm)}.routine-rate{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px}.routine-rate__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.routine-rate__icon{margin-right:6px}.routine-rate__value{font-size:.8rem;font-weight:700;color:var(--color-text-muted);font-variant-numeric:tabular-nums}.routine-rate__track{grid-column:1 / -1;height:8px;border-radius:var(--radius-pill);background:var(--color-surface-raised);overflow:hidden}.routine-rate__fill{display:block;height:100%;border-radius:var(--radius-pill);background:var(--color-routine-accent);transition:width var(--duration-slow) var(--easing-standard)}.routine-rate__fill--weak{background:var(--color-notes-accent)}.progress-kinds{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-bottom:var(--space-md);padding-bottom:2px}.progress-kinds::-webkit-scrollbar{display:none}.progress-kinds .chip{flex-shrink:0;white-space:nowrap}.medal-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-md) var(--space-xs)}@media(min-width:640px){.medal-shelf{grid-template-columns:repeat(5,minmax(0,1fr))}}.medal-button{display:grid;justify-items:center;align-content:start;gap:6px;width:100%;padding:6px 2px;border:none;border-radius:var(--radius-md);background:transparent;color:var(--color-text);text-align:center;cursor:pointer;transition:background-color var(--duration-fast) var(--easing-standard)}.medal-button:hover{background:var(--color-surface-raised)}.medal-button__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:2px;font-size:.78rem;font-weight:800;line-height:1.25}.medal-button__sub{font-size:.72rem;font-weight:700;color:var(--color-text-muted);font-variant-numeric:tabular-nums}.metal-key{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:var(--space-md);font-size:.75rem;font-weight:700;color:var(--color-text-muted)}.metal-key li{display:inline-flex;align-items:center;gap:5px}.metal-key__dot{width:10px;height:10px;border-radius:50%;background:var(--metal)}.milestone-sheet{display:grid;gap:var(--space-lg)}.milestone-sheet__head{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:var(--space-md)}.milestone-sheet__text{display:grid;gap:2px;color:var(--color-text-muted);font-size:.9rem}.milestone-sheet__levels{font-weight:700}.milestone-trail{position:relative;padding-top:4px}.milestone-trail__line{position:absolute;top:22px;height:4px;border-radius:var(--radius-pill);background:var(--color-border);overflow:hidden}.milestone-trail__fill{display:block;height:100%;border-radius:var(--radius-pill);background:var(--trail-metal)}.milestone-trail__nodes{position:relative;display:grid;gap:4px}.milestone-trail__node{display:grid;justify-items:center;gap:4px;text-align:center;min-width:0}.milestone-trail__dot{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--color-surface);border:2px dashed var(--color-border);color:var(--color-text-muted);font-size:.75rem;font-weight:800;font-variant-numeric:tabular-nums}.milestone-trail__node--earned .milestone-trail__dot{background:var(--metal-surface);border:2px solid var(--metal);color:var(--metal)}.milestone-trail__node--next .milestone-trail__dot{border:2px solid var(--metal);color:var(--color-text)}.milestone-trail__caption{font-size:.7rem;font-weight:800;color:var(--color-text-muted);overflow-wrap:anywhere}.milestone-trail__node--earned .milestone-trail__caption{color:color-mix(in srgb,var(--metal) 75%,var(--color-text))}.milestone-foot{display:flex;align-items:center;gap:var(--space-md);padding:var(--space-md);border-radius:var(--radius-lg);background:var(--metal-surface);border:1px solid color-mix(in srgb,var(--metal) 30%,transparent)}.milestone-foot__icon{width:44px;height:44px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--color-surface);color:var(--metal)}.milestone-foot__text{flex:1;min-width:0;display:grid;gap:4px}.milestone-foot__title{font-weight:800}.milestone-foot__body{font-size:.9rem;color:var(--color-text-muted)}.milestone-foot__bar{display:block;height:10px;margin-top:6px;border-radius:var(--radius-pill);background:var(--color-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--metal) 35%,transparent);overflow:hidden}.milestone-foot__bar i{display:block;height:100%;border-radius:inherit;background:var(--metal)}.progress-sharing__summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md)}.progress-sharing__text{display:grid;gap:2px;min-width:0}.progress-sharing__title{font-weight:700}.progress-sharing__panel{display:grid;gap:var(--space-md);margin-top:var(--space-md);padding-top:var(--space-md);border-top:1px solid var(--color-border)}.share-people{display:grid;gap:var(--space-md)}.share-person{display:grid;gap:var(--space-xs)}.share-person+.share-person{padding-top:var(--space-md);border-top:1px solid var(--color-border)}.share-person__who{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-xs);font-weight:700;min-width:0}.share-person__shares{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:var(--radius-pill);background:var(--color-chat-surface);color:var(--color-chat-accent);font-size:.75rem;font-weight:700}.share-person .segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.share-person .segmented__item{padding:6px 4px;font-size:.8rem}.share-routines{display:grid;gap:var(--space-xs)}.share-routines__chips .chip[aria-pressed=true]{background:var(--color-routine-surface);border-color:transparent;color:color-mix(in srgb,var(--color-routine-accent) 75%,var(--color-text))}.share-preview{display:grid;gap:var(--space-xs);padding:var(--space-sm);border-radius:var(--radius-md);background:var(--color-background)}.share-preview__label{font-size:.75rem;font-weight:800;color:var(--color-text-muted)}.progress-people>li+li{border-top:1px solid var(--color-border)}.progress-person{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:var(--space-sm);padding:var(--space-sm) 0}.progress-person--preview{grid-template-columns:36px minmax(0,1fr);padding:0}.progress-person__meta{display:grid;gap:4px;min-width:0}.progress-person__name{font-weight:700;overflow-wrap:anywhere}.progress-person__line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.8rem;font-weight:600;color:var(--color-text-muted)}.progress-person__medal{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--metal-surface);color:var(--metal);border:1px solid var(--metal)}.progress-person__routines{gap:4px 10px}.progress-person__routine{display:inline-flex;align-items:center;gap:3px}.shared-routines-fold{grid-column:1 / -1}@media(min-width:560px){.shared-routines-fold{padding-left:calc(44px + var(--space-sm))}}.shared-routines-fold summary{display:inline-flex;align-items:center;gap:4px;padding:2px 0;color:var(--color-text-muted);font-size:.82rem;font-weight:700;cursor:pointer;list-style:none}.shared-routines-fold summary::-webkit-details-marker{display:none}.shared-routines-fold summary:hover{color:var(--color-text)}.shared-routines-fold__chevron{transition:rotate var(--duration-base) var(--easing-standard)}.shared-routines-fold[open] .shared-routines-fold__chevron{rotate:180deg}.shared-routines{display:grid;gap:6px;margin:6px 0 0;padding:0;list-style:none}.shared-routine{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 12px 8px 8px;border-radius:var(--radius-md);background:color-mix(in srgb,var(--routine-tint) 14%,var(--color-surface))}.shared-routine__icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--routine-tint) 35%,var(--color-surface));font-size:1rem}.shared-routine__dot{width:10px;height:10px;border-radius:50%;background:var(--routine-tint)}.shared-routine__main{display:grid;gap:6px;min-width:0}.shared-routine__name{min-width:0;font-size:.9rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.shared-routine__bar{display:block;height:6px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-text) 8%,transparent);overflow:hidden}.shared-routine__bar i{display:block;height:100%;border-radius:inherit;background:color-mix(in srgb,var(--routine-tint) 80%,var(--color-text))}.shared-routine__stats{display:flex;align-items:center;gap:10px;font-size:.85rem;font-weight:800;font-variant-numeric:tabular-nums}.shared-routine__percent{white-space:nowrap}.progress-person__done{color:var(--color-success)}.btn.progress-cheer{background:var(--color-chat-accent);color:var(--color-text-inverse)}.btn.progress-cheer:disabled.progress-cheer--done{opacity:1;background:var(--color-chat-surface);color:color-mix(in srgb,var(--color-chat-accent) 75%,var(--color-text))}@media(prefers-reduced-motion:reduce){.progress-card,.score-ring__bar,.medal__fill,.routine-rate__fill{transition:none}.progress-card:hover{transform:none}}.routine-together{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap;margin-bottom:var(--space-lg);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-lg);background:var(--color-routine-surface)}.routine-together__avatars{display:inline-flex}.routine-together__avatars .person-avatar{background:var(--color-surface);color:var(--color-routine-accent);border-color:var(--color-routine-surface)}.routine-together__avatars .person-avatar+.person-avatar{margin-left:-7px}.routine-together__text{flex:1 1 160px;min-width:0;font-weight:600;color:var(--color-text)}.routine-together__text--hint{font-weight:400;font-size:.85rem;color:var(--color-text-muted)}.routine-people{display:inline-flex;align-items:center;gap:4px;font-size:.8rem;color:var(--color-text-muted)}.routine-title-row{display:flex;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-lg)}.routine-icon-btn{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border:none;border-radius:var(--radius-lg);background:var(--color-routine-surface);color:var(--color-routine-accent);font-size:1.6rem;cursor:pointer}.routine-form input.routine-title-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){flex:1;min-width:0;min-height:52px;padding:0 2px;border:none;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;box-shadow:none;font-size:1.35rem;font-weight:700}.routine-form input.routine-title-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible{box-shadow:none;border-bottom-color:var(--color-routine-accent)}.routine-form input.routine-title-input[aria-invalid=true]{border-bottom-color:var(--color-danger)}.routine-title-error{display:block;margin:calc(var(--space-2xs) - var(--space-lg)) 0 var(--space-lg) calc(52px + var(--space-sm))}.routine-icons{margin:0 0 var(--space-lg)}.routine-summary{display:flex;align-items:center;gap:var(--space-sm);margin:0 0 var(--space-xl);padding:var(--space-md);border-radius:var(--radius-lg);background:var(--color-routine-surface);color:var(--color-routine-accent);font-weight:600}.routine-summary svg{flex:none}.repeat-custom{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-sm)}.stepper{display:inline-flex;align-items:center;gap:var(--space-2xs);padding:4px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-text) 6%,transparent)}.stepper__btn{width:36px;height:36px;display:grid;place-items:center;border:none;border-radius:50%;background:var(--color-surface);color:var(--color-text);cursor:pointer}.stepper__btn:disabled{opacity:.4;cursor:default}.stepper input.stepper__value:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){width:52px;min-height:36px;padding:0;border:none;background:transparent;box-shadow:none;text-align:center;font-weight:700;font-size:1.05rem;-moz-appearance:textfield}.stepper input.stepper__value::-webkit-outer-spin-button,.stepper input.stepper__value::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.emoji-picker{display:grid;gap:var(--space-xs);padding:var(--space-sm);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface)}.emoji-picker__search{display:flex;align-items:center;gap:var(--space-xs);padding:0 var(--space-sm);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-text) 6%,transparent);color:var(--color-text-muted)}.emoji-picker__search input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){flex:1;min-height:38px;padding:0;border:none;background:transparent;box-shadow:none}.emoji-picker__tabs{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}.emoji-picker__tabs button{flex:none;width:38px;height:34px;border:none;border-radius:var(--radius-md);background:transparent;font-size:1.15rem;cursor:pointer;opacity:.6}.emoji-picker__tabs button[aria-selected=true]{opacity:1;background:var(--color-routine-surface)}.emoji-picker__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));max-height:232px;overflow-y:auto;overscroll-behavior:contain}.emoji-picker__grid button{height:40px;border:none;border-radius:var(--radius-md);background:transparent;font-size:1.45rem;line-height:1;cursor:pointer}.emoji-picker__grid button:hover{background:color-mix(in srgb,var(--color-text) 8%,transparent)}.emoji-picker__grid button[aria-selected=true]{background:var(--color-routine-surface);box-shadow:inset 0 0 0 2px var(--color-routine-accent)}.emoji-picker__none{display:grid;place-items:center;color:var(--color-text-muted)}.emoji-picker__empty{grid-column:1 / -1;padding:var(--space-md);text-align:center;color:var(--color-text-muted)}.manage-categories-row{display:flex;align-items:center;gap:var(--space-sm);width:100%;min-height:52px;margin-bottom:var(--space-md);padding:0 var(--space-md);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);font:inherit;font-weight:500;text-align:left;cursor:pointer}.manage-categories-row>svg:first-child{color:var(--color-routine-accent)}.manage-categories-row>span{flex:1}.manage-categories-row>svg:last-child{color:var(--color-text-muted)}.manage-categories-row:hover{border-color:color-mix(in srgb,var(--color-routine-accent) 45%,var(--color-border))}.progress-card__plus{position:absolute;color:var(--color-routine-accent)}.progress-card__cta{padding:6px 12px;border-radius:var(--radius-pill);background:var(--color-routine-accent);color:var(--color-text-inverse);font-size:.85rem;font-weight:700;white-space:nowrap}@media(max-width:520px){.progress-card--starter .progress-card__cta{display:none}}.item-title-row{display:flex;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-lg)}.item-icon{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border-radius:var(--radius-lg);background:var(--color-groceries-surface);color:var(--color-groceries-accent)}.item-form input.item-title-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){flex:1;min-width:0;min-height:52px;padding:0 2px;border:none;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;box-shadow:none;font-size:1.35rem;font-weight:700}.item-form input.item-title-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible{box-shadow:none;border-bottom-color:var(--color-groceries-accent)}.item-form input.item-title-input[aria-invalid=true]{border-bottom-color:var(--color-danger)}.item-title-error{display:block;margin:calc(var(--space-2xs) - var(--space-lg)) 0 var(--space-lg) calc(52px + var(--space-sm))}.item-summary{display:flex;align-items:center;gap:var(--space-sm);margin:0 0 var(--space-xl);padding:var(--space-md);border-radius:var(--radius-lg);background:var(--color-groceries-surface);color:var(--color-groceries-accent);font-weight:600}.item-quantity{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-sm)}.item-custom-unit{margin-top:var(--space-sm)}.expense-amount-row{display:flex;align-items:center;gap:var(--space-sm);border-bottom:1px solid var(--color-border)}.expense-amount-row:focus-within{border-bottom-color:var(--color-budget-accent)}.expense-amount-row--invalid{border-bottom-color:var(--color-danger)}.expense-currency{position:relative;flex:none;display:inline-flex;align-items:center;gap:2px;height:52px;padding:0 var(--space-sm);margin-bottom:var(--space-xs);border-radius:var(--radius-lg);background:var(--color-budget-surface);color:var(--color-budget-accent);font-weight:800}.expense-currency select{position:absolute;inset:0;opacity:0;cursor:pointer}.expense-form input.expense-amount-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){flex:1;min-width:0;min-height:64px;padding:0 2px;border:none;background:transparent;box-shadow:none;font-size:2.2rem;font-weight:800;letter-spacing:-.01em}.expense-amount-error{display:block;margin-top:var(--space-2xs)}.expense-form input.expense-merchant-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){width:100%;min-height:48px;margin:var(--space-sm) 0 var(--space-lg);padding:0 2px;border:none;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;box-shadow:none;font-size:1.15rem;font-weight:600}.expense-form input.expense-merchant-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):focus-visible{box-shadow:none;border-bottom-color:var(--color-budget-accent)}.expense-summary{display:flex;align-items:center;gap:var(--space-sm);margin:0 0 var(--space-xl);padding:var(--space-md);border-radius:var(--radius-lg);background:var(--color-budget-surface);color:var(--color-budget-accent);font-weight:600}.expense-date-field{margin-top:var(--space-sm)}.entry-items{display:grid;gap:var(--space-sm)}.entry-summary{display:flex;align-items:center;gap:var(--space-sm);margin:0 0 var(--space-xl);padding:var(--space-md);border-radius:var(--radius-lg);background:var(--color-reminders-surface);color:var(--color-reminders-accent);font-weight:600}.entry-when{display:flex;flex-wrap:wrap;gap:var(--space-sm);margin-top:var(--space-sm)}.entry-when .field{flex:1 1 150px;margin:0}.entry-when .field:last-child{flex:0 1 auto}.entry-category{display:flex;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-lg)}.entry-category__icon{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border-radius:var(--radius-lg);background:var(--color-reminders-surface);color:var(--color-reminders-accent)}.entry-category__text{display:flex;flex-direction:column;min-width:0}.entry-category__label{color:var(--color-text-muted);font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.entry-category__name{font-size:1.35rem;font-weight:700}.ai-connections__intro{color:var(--color-text-muted);line-height:1.5}.ai-connections__toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap}.ai-connections__toolbar+.field__hint{margin-top:calc(-1 * var(--space-md))}.btn.ai-connections__danger{color:var(--color-danger)}.ai-token--expired .device-list__icon,.ai-token--expired .device-list__text{opacity:.55}.device-list__name a{color:inherit;text-decoration:none}.device-list__name a:hover{text-decoration:underline}.ai-activity__heading{margin:var(--space-lg) 0 0;font-size:1.05rem}.ai-activity__what{color:var(--color-text-muted);font-size:.875rem;overflow-wrap:anywhere}.ai-activity__what a{color:inherit}.ai-activity__when{margin-left:auto;white-space:nowrap;align-self:flex-start}.ai-activity__more{display:flex;justify-content:center;margin-top:var(--space-md)}.ai-full-segmented .segmented{display:flex;width:100%}.ai-full-segmented .segmented__item{flex:1;padding-left:var(--space-xs);padding-right:var(--space-xs)}.ai-access{display:flex;flex-direction:column;gap:var(--space-sm)}.ai-access__row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-2xs) var(--space-sm)}.ai-access__label{font-weight:600}.ai-access__row .segmented__item{padding:6px 10px;font-size:.85rem}.ai-access__hint{grid-column:1 / -1}@media(max-width:479.98px){.ai-access__row{grid-template-columns:minmax(0,1fr)}}.ai-created{display:flex;flex-direction:column;gap:var(--space-md)}.ai-created .field,.ai-created .form-section{margin-bottom:0}.ai-created__notice{padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);background:var(--color-budget-surface)}.ai-created__title{font-weight:700;color:var(--color-warning)}.ai-created__target{margin:var(--space-sm) 0 var(--space-2xs);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.ai-copy{display:flex;align-items:flex-start;gap:var(--space-xs)}.ai-copy--multiline{flex-direction:column-reverse;align-items:stretch;margin-top:var(--space-sm)}.ai-copy--multiline .ai-copy__button{align-self:flex-end}.ai-copy__text{flex:1;min-width:0;margin:0;padding:10px var(--space-sm);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.ai-copy--multiline .ai-copy__text{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.ai-copy__button{flex-shrink:0;min-height:40px}.chat-bubble__via{font-style:italic}.connect-ai__title{margin:var(--space-lg) 0 var(--space-sm);font-size:clamp(1.8rem,4vw,2.4rem);line-height:1.15;text-wrap:balance}.connect-ai__lede{color:var(--color-text-muted);font-size:1.05rem;line-height:1.6;margin:0 0 var(--space-xl)}.connect-ai__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-md);margin-block:var(--space-md)}.connect-ai__card{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-xs);padding:var(--space-lg);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);margin-bottom:var(--space-md)}.connect-ai__grid .connect-ai__card{margin-bottom:0}.connect-ai__card h2,.connect-ai__subtitle{font-size:1.1rem;margin:0}.connect-ai__card p,.connect-ai__card ul{margin:0;color:var(--color-text-muted);line-height:1.55}.connect-ai__card ul,.connect-ai__examples{list-style:disc;padding-left:1.2em}.connect-ai__icon{color:var(--color-accent-primary)}.connect-ai__address{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-sm);width:100%}.connect-ai__address code{flex:1;min-width:0;padding:10px var(--space-sm);border-radius:var(--radius-md);background:var(--color-background);border:1px solid var(--color-border);font-size:.95rem;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.connect-ai__subtitle{margin-top:var(--space-xl)}.connect-ai__examples{padding-left:1.2em;line-height:1.8;color:var(--color-text-muted)}.auth-card:has(.oauth-consent){max-width:560px}.oauth-consent{display:flex;flex-direction:column;gap:var(--space-sm);text-align:left}.oauth-consent__meta{margin:0;font-size:.85rem;color:var(--color-text-muted);overflow-wrap:anywhere}.oauth-consent__actions{display:flex;justify-content:flex-end;gap:var(--space-sm);margin-top:var(--space-sm)}.ai-tone--chat{--ai-tone: var(--color-chat-accent);--ai-tone-surface: var(--color-chat-surface)}.ai-tone--routine{--ai-tone: var(--color-routine-accent);--ai-tone-surface: var(--color-routine-surface)}.ai-tone--reminders{--ai-tone: var(--color-reminders-accent);--ai-tone-surface: var(--color-reminders-surface)}.ai-tone--budget{--ai-tone: var(--color-budget-accent);--ai-tone-surface: var(--color-budget-surface)}.ai-tone--notes{--ai-tone: var(--color-notes-accent);--ai-tone-surface: var(--color-notes-surface)}.ai-tone--groceries{--ai-tone: var(--color-groceries-accent);--ai-tone-surface: var(--color-groceries-surface)}.ai-tone--accent{--ai-tone: var(--color-accent-primary);--ai-tone-surface: var(--color-accent-primary-surface)}.ai-card{width:min(100%,440px);margin-top:6px;padding:12px;display:flex;flex-direction:column;gap:10px;border-radius:20px;border:1px solid color-mix(in srgb,var(--color-chat-accent) 22%,var(--color-border));background:linear-gradient(180deg,color-mix(in srgb,var(--color-chat-surface) 60%,var(--color-surface)) 0%,var(--color-surface) 70%);box-shadow:0 1px 2px #0000000a,0 8px 24px -16px color-mix(in srgb,var(--color-chat-accent) 40%,transparent)}.ai-card--cancelled,.ai-card--expired{background:var(--color-surface);border-color:var(--color-border);box-shadow:none}.ai-card--cancelled .ai-card__changes,.ai-card--expired .ai-card__changes{opacity:.6}.ai-card__head{display:flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700}.ai-card__badge{width:24px;height:24px;border-radius:var(--radius-pill);display:grid;place-items:center;flex-shrink:0;background:var(--color-chat-accent);color:var(--color-surface)}.ai-card__title{flex:1;min-width:0}.ai-card__status{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:var(--radius-pill);font-size:.75rem;font-weight:600;white-space:nowrap}.ai-card__status--pending{background:var(--color-chat-surface);color:var(--color-chat-accent)}.ai-card__status--done{background:var(--color-accent-primary-surface);color:var(--color-accent-primary)}.ai-card__status--warn{background:var(--color-danger-surface);color:var(--color-danger)}.ai-card__status--off{background:color-mix(in srgb,var(--color-text) 6%,transparent);color:var(--color-text-muted)}.ai-card__changes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.ai-card__changes--sheet{gap:16px}.ai-change{display:flex;align-items:flex-start;gap:10px}.ai-change--off{opacity:.5}.ai-change__pick{flex:1;min-width:0;display:flex;align-items:flex-start;gap:10px;cursor:pointer}.ai-change__pick input{flex-shrink:0;width:20px;height:20px;margin:11px 0 0;accent-color:var(--color-accent-primary);cursor:pointer}.ai-change__icon{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:var(--ai-tone-surface);color:var(--ai-tone)}.ai-card__changes--sheet .ai-change__icon{width:42px;height:42px;border-radius:14px}.ai-change__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ai-change__title{font-size:.78rem;font-weight:700;color:var(--ai-tone)}.ai-change__summary{font-size:.95rem;line-height:1.35;color:var(--color-text);overflow-wrap:anywhere}.ai-change__quote{margin:6px 0 0}.ai-change__quote figcaption{margin-bottom:4px;font-size:.75rem;color:var(--color-text-muted)}.ai-change__quote blockquote{margin:0;padding:8px 12px;border-radius:16px 16px 16px 6px;background:var(--color-chat-surface);color:var(--color-text);font-size:.92rem;white-space:pre-wrap;overflow-wrap:anywhere}.ai-change__warning{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:.78rem;font-weight:600;color:var(--color-danger)}.ai-change__outcome{font-size:.8rem;color:var(--color-text-muted)}.ai-change__outcome--failed{color:var(--color-danger)}.ai-change__done{width:24px;height:24px;flex-shrink:0;margin-top:6px;display:grid;place-items:center;border-radius:var(--radius-pill);background:var(--color-accent-primary-surface);color:var(--color-accent-primary)}.ai-card__actions{display:flex;justify-content:flex-end}.ai-sheet__intro{display:flex;align-items:center;gap:6px;margin:0 0 var(--space-md);color:var(--color-text-muted);font-size:.9rem}.ai-sheet__intro svg{color:var(--color-chat-accent)}.device-list__icon.ai-history__icon{background:var(--ai-tone-surface);color:var(--ai-tone);border-color:transparent}.chat-bubble:has(.ai-md__table){width:min(96%,760px);max-width:min(96%,760px)}.chat-message:has(.ai-md__table){width:min(96%,760px);max-width:min(96%,760px)}.chat-message:has(.ai-md__table) .chat-message__row,.chat-message:has(.ai-md__table) .chat-bubble{width:100%}.chat-message:has(.ai-md__table) .chat-message__row .chat-bubble{flex:1;width:auto}.chat-run:has(.ai-md__table){width:min(96%,760px);max-width:min(96%,760px)}.chat-run:has(.ai-md__table) .chat-run__body{flex:1}.chat-run:has(.ai-md__table) .chat-run__body>.chat-bubble,.chat-run:has(.ai-md__table) .chat-run__body>.chat-message{width:100%;max-width:100%}.ai-md{display:flex;flex-direction:column;gap:8px;white-space:normal;line-height:1.45;min-width:0}.ai-md>*{margin:0}.chat-bubble__content .ai-md p,.chat-bubble__content .ai-md ul,.chat-bubble__content .ai-md ol{margin:0}.ai-md__h{margin:4px 0 0;font-weight:700;letter-spacing:-.01em;line-height:1.3}.ai-md>.ai-md__h:first-child{margin-top:0}.ai-md__h1{font-size:1.12rem}.ai-md__h2{font-size:1.02rem}.ai-md__h3{font-size:.92rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em}.ai-md ul,.ai-md ol{padding-left:1.3em;display:flex;flex-direction:column;gap:3px}.ai-md ul{list-style:disc}.ai-md ol{list-style:decimal}.ai-md li ul{list-style:circle}.ai-md li ul,.ai-md li ol{margin-top:3px}.ai-md ul>li::marker{color:var(--color-chat-accent)}.ai-md ol>li::marker{color:var(--color-text-muted);font-variant-numeric:tabular-nums;font-weight:600}.ai-md li.ai-md__task{list-style:none;margin-left:-1.3em}.ai-md__check{display:inline-block;width:15px;height:15px;margin-right:7px;vertical-align:-2px;border-radius:5px;border:1.5px solid var(--color-text-muted)}.ai-md__check--done{border-color:var(--color-accent-primary);background:var(--color-accent-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat}.ai-md__task-done{color:var(--color-text-muted);text-decoration:line-through}.ai-md code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;padding:1px 5px;border-radius:6px;background:color-mix(in srgb,var(--color-text) 8%,transparent)}.ai-md pre{padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--color-text) 6%,transparent);overflow-x:auto;white-space:pre}.ai-md pre code{padding:0;background:none;font-size:.84rem}.ai-md blockquote{padding:2px 0 2px 12px;border-left:3px solid var(--color-chat-accent);color:var(--color-text-muted);display:flex;flex-direction:column;gap:6px}.ai-md hr{border:0;height:1px;background:var(--color-border)}.ai-md a{color:var(--color-chat-accent);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.ai-md del{color:var(--color-text-muted)}.ai-md__table{max-width:100%;overflow-x:auto;border-radius:12px;border:1px solid var(--color-border);background:var(--color-surface);overscroll-behavior-x:contain}.ai-md__table:focus-visible{outline:2px solid var(--color-chat-accent);outline-offset:2px}.ai-md table{border-collapse:collapse;width:100%;font-size:.9rem;line-height:1.35}.ai-md th,.ai-md td{padding:7px 12px;white-space:nowrap;border-bottom:1px solid var(--color-border)}.ai-md th{font-size:.78rem;font-weight:700;color:var(--color-text-muted);background:color-mix(in srgb,var(--color-text) 7%,var(--color-surface))}.ai-md tbody tr:last-child td{border-bottom:0}.ai-md tbody tr:nth-child(2n) td{background:color-mix(in srgb,var(--color-text) 3.5%,var(--color-surface))}.ai-md__num{font-variant-numeric:tabular-nums}.chat-bubble--mine .ai-md a,.chat-bubble--mine .ai-md del,.chat-bubble--mine .ai-md th,.chat-bubble--mine .ai-md__h3,.chat-bubble--mine .ai-md__task-done,.chat-bubble--mine .ai-md ul>li::marker,.chat-bubble--mine .ai-md ol>li::marker{color:inherit}.chat-bubble--mine .ai-md del,.chat-bubble--mine .ai-md th,.chat-bubble--mine .ai-md__h3,.chat-bubble--mine .ai-md__task-done,.chat-bubble--mine .ai-md blockquote{opacity:.8}.chat-bubble--mine .ai-md blockquote{color:inherit;border-left-color:currentColor}.chat-bubble--mine .ai-md hr{background:color-mix(in srgb,currentColor 30%,transparent)}.chat-bubble--mine .ai-md__check{border-color:currentColor}.chat-bubble--mine .ai-md code,.chat-bubble--mine .ai-md pre{background:color-mix(in srgb,currentColor 12%,transparent)}.chat-bubble--mine .ai-md__table{border-color:color-mix(in srgb,currentColor 25%,transparent);background:transparent}.chat-bubble--mine .ai-md th,.chat-bubble--mine .ai-md td{border-bottom-color:color-mix(in srgb,currentColor 18%,transparent)}.chat-bubble--mine .ai-md th{background:color-mix(in srgb,currentColor 8%,transparent)}.chat-bubble--mine .ai-md tbody tr:nth-child(2n) td{background:color-mix(in srgb,currentColor 5%,transparent)}.luna-avatar{flex:none;display:inline-grid;place-items:center;border-radius:999px;overflow:hidden;background:var(--color-chat-surface)}.luna-avatar .onb-luna{display:block;margin-top:8%}.luna-ai-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--color-chat-surface);color:var(--color-chat-accent);font-size:.68rem;font-weight:800;letter-spacing:.04em;vertical-align:2px;line-height:1.5}
