:root{color-scheme:light;--chrome:#9271c5;--page:#f6f3fa;--surface:#fff;--surface-raised:#f5f2f8;--text:#292534;--text-muted:#6e687a;--line:#e9e5ed;--input-line:#e5dfeb;--accent:#7251a3;--accent-action:#7957ac;--accent-border:#bba7db;--accent-soft:#eae4ff;--accent-wash:#f2eef9;--accent-ink:#443a60;--blue:#e0efff;--green:#e1f4e9;--pink:#fce5e8;--orange:#fff0d8;--track:#c7e3d1;--track-fill:#53956a;--banner-ink:#785b2d;--danger:#a22f50;--danger-bg:#ffe5e9;--list-muted:#625c6b}:root[data-palette=ocean]{--chrome:#2d7594;--accent:#22647f;--accent-action:#286d8a;--accent-border:#92bdcd;--accent-soft:#ddf1f8;--accent-wash:#edf6fa;--accent-ink:#23465a}:root[data-palette=sage]{--chrome:#527d62;--accent:#3c674d;--accent-action:#477455;--accent-border:#91b99e;--accent-soft:#e1f1e4;--accent-wash:#edf5ef;--accent-ink:#294a35}:root[data-palette=rose]{--chrome:#ad607d;--accent:#92405f;--accent-action:#9b4b69;--accent-border:#d6a0b5;--accent-soft:#f8e3ec;--accent-wash:#fbf0f5;--accent-ink:#592e42}:root[data-night=true]{color-scheme:dark;--chrome:#000;--page:#000;--surface:#000;--surface-raised:#1a1720;--text:#f4eff9;--text-muted:#c6bbd1;--line:#38313e;--input-line:#52485c;--accent:#d6b9ff;--accent-action:#7957ac;--accent-border:#aa8bcb;--accent-soft:#2b2039;--accent-wash:#1e1827;--accent-ink:#ead9ff;--blue:#142b3d;--green:#142c22;--pink:#341f2e;--orange:#342616;--track:#293c33;--track-fill:#81bd94;--banner-ink:#f4cb90;--danger:#ffb0c4;--danger-bg:#421f2b;--list-muted:#e2d8ea}:root[data-night=true][data-palette=ocean]{--accent:#a3e0f5;--accent-action:#286d8a;--accent-border:#79b1c7;--accent-soft:#142d3a;--accent-wash:#101f28;--accent-ink:#c6ebf8}:root[data-night=true][data-palette=sage]{--accent:#b7e3ba;--accent-action:#477455;--accent-border:#81b88a;--accent-soft:#192e20;--accent-wash:#101f16;--accent-ink:#ccebd0}:root[data-night=true][data-palette=rose]{--accent:#ffbdd5;--accent-action:#9b4b69;--accent-border:#cb8aa7;--accent-soft:#351e2a;--accent-wash:#281721;--accent-ink:#ffdfeb}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}h1{font-size:25px;letter-spacing:-.7px;margin:4px 0}h2{font-size:20px;margin:9px 0}h3{font-size:15px;margin:0}p{margin:5px 0}.muted{color:var(--text-muted);font-size:12px}.tiny{font-size:11px}.shell{max-width:460px;margin:20px auto;background:var(--surface);min-height:700px;border:1px solid var(--line);border-radius:28px;overflow:hidden;box-shadow:0 12px 35px #33224812}.screen{padding:25px 20px 35px;min-height:610px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.brand{font-size:11px;letter-spacing:1px;color:var(--accent);font-weight:800}.avatar{display:grid;place-items:center;background:var(--accent-soft);border-radius:50%;height:42px;width:42px;font-size:21px}.hero{background:var(--accent-soft);border-radius:16px;padding:17px;color:var(--accent-ink);margin-bottom:14px}.hero span{font-size:12px;font-weight:700}.hero p{font-size:12px}.lavender{margin-top:15px}.two,.actiongrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tile{padding:16px;border-radius:16px;display:flex;flex-direction:column;gap:5px;text-align:left}.tile span{font-size:12px}.tile b{font-size:25px}.tile small{font-size:11px}.blue{background:var(--blue)}.green{background:var(--green)}.pink{background:var(--pink)}.orange{background:var(--orange)}.section{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px}.section button:not(.primary){color:var(--accent);font-size:12px;font-weight:700}.panel{border:1px solid var(--line);border-radius:16px;padding:8px 15px}.entry{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.entry:last-child{border-bottom:0}.entry strong{display:block;font-size:13px}.entry small{display:block;color:var(--text-muted);font-size:11px;margin-top:4px}.entry .grow{flex:1}.dot{width:9px;height:9px;border-radius:50%;background:#e9a76c}.dot.purple{background:#aa8cd7}.actiongrid button,.actiongrid .tile{padding:15px;border-radius:15px;text-align:left;font-size:23px}.actiongrid span{display:block;font-size:12px;font-weight:700;margin-top:8px}.addrow{display:flex;gap:7px;margin:15px 0}.addrow input{min-width:0;flex:1}.addrow input,.auth input,.date-label input{border:1px solid var(--input-line);border-radius:11px;padding:11px;background:var(--surface);color:var(--text);max-width:100%}.primary{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:11px;background:var(--accent-action);color:#fff;padding:11px 14px;font-size:12px;font-weight:700}.check{width:22px;height:22px;border:2px solid var(--accent-border);border-radius:7px;flex-shrink:0}.check.done{background:var(--accent-action);border-color:var(--accent-action);color:#fff}.strike{text-decoration:line-through;opacity:.5}.delete{color:var(--text-muted)}.progress{margin:15px 0}.progress b{font-size:22px}.track{height:8px;border-radius:8px;background:var(--track);overflow:hidden;margin-top:10px}.track div{height:100%;background:var(--track-fill)}.date-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;margin:18px 0}.hint{font-size:12px;color:var(--text-muted);line-height:1.6}.more{margin:20px 0}.more svg{color:var(--accent);flex-shrink:0}.signout{display:flex;gap:8px;align-items:center;color:var(--accent);font-size:13px;margin:15px 0}nav{position:sticky;bottom:0;background:var(--surface);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);padding:9px 7px calc(12px + env(safe-area-inset-bottom))}nav button{display:flex;align-items:center;flex-direction:column;gap:5px;padding:8px 0;color:var(--text-muted);border-radius:12px;font-size:10px}nav button.active{color:var(--accent);background:var(--accent-soft);font-weight:800}.demo-banner{text-align:center;background:var(--orange);padding:9px;font-size:10px;color:var(--banner-ink)}.error{color:var(--danger);background:var(--danger-bg);border-radius:9px;padding:10px;margin:12px 0;font-size:12px}.auth{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{max-width:390px;width:100%;background:var(--surface);padding:30px;border-radius:22px;box-shadow:0 10px 30px #33224812}.auth-card form{display:flex;flex-direction:column;gap:15px;margin:24px 0}.auth-card label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:6px}@media(max-width:500px),(max-height:500px)and (pointer:coarse){html,body,#root{height:100%}body{background:var(--surface);overflow:hidden}#root{display:flex;flex-direction:column;height:100vh;height:var(--app-viewport-height,100dvh);padding-top:env(safe-area-inset-top)}.shell{margin:0;max-width:none;flex:1 1 auto;min-height:0;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow:hidden}.screen{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right))}.auth{min-height:0;flex:1 1 auto;overflow:auto;padding-bottom:max(20px,env(safe-area-inset-bottom))}.screen :where(input:not([type=checkbox],[type=radio],[type=range],[type=color]),select,textarea),.auth input{font-size:16px;min-width:0;max-width:100%;scroll-margin:16px}nav{position:relative;bottom:auto;flex:0 0 auto;z-index:10;padding-bottom:calc(12px + env(safe-area-inset-bottom));padding-inline:max(7px,env(safe-area-inset-left)) max(7px,env(safe-area-inset-right))}.demo-banner{flex:0 0 auto}[data-keyboard] nav,[data-keyboard] .demo-banner{display:none}}.app-status{display:flex;flex:0 0 auto;align-items:center;gap:8px;flex-wrap:wrap;width:100%;max-width:460px;margin:auto;padding:4px 14px;background:var(--orange);font-size:12px;color:var(--text)}.app-status span{flex:1;min-width:110px}.app-update{background:var(--accent-wash)}.app-status button{min-height:44px;padding:0 6px;color:var(--accent);font-weight:700}.app-status button:disabled{opacity:.55}@media(prefers-reduced-motion:reduce){html,.screen{scroll-behavior:auto}}button.primary{color:#fff;-webkit-text-fill-color:#ffffff;opacity:1;white-space:nowrap;flex-shrink:0}.budget-link{color:var(--accent);padding:8px 0;margin-bottom:6px;font-weight:700}.budget-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.budget-summary strong{display:block;font-size:clamp(12px,3.6vw,17px);overflow-wrap:anywhere}.budget-row{width:100%;text-align:left}.budget-row .grow{min-width:0;overflow-wrap:anywhere}.budget-form{padding:12px 15px}.budget-form fieldset{display:grid;gap:10px;border:0;padding:0;margin:0;min-width:0}.budget-form label{display:grid;gap:4px;font-size:13px;font-weight:700}.budget-form input:not([type=checkbox]){width:100%;min-width:0;padding:9px;border:1px solid var(--input-line);border-radius:11px;background:var(--surface);color:inherit;font-size:16px}.budget-form .budget-check{display:flex;align-items:center}.budget-actions{display:flex;gap:8px;align-items:center}.budget-delete{color:var(--danger);margin-left:auto}.dashboard{display:grid;gap:12px;min-width:0}.dash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard button{min-height:44px;overflow-wrap:anywhere}.dashboard button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.dashboard .tile{padding:12px;gap:4px;align-items:flex-start}.dashboard .tile span,.dash-actions button{display:flex;align-items:center;gap:6px;font-weight:650}.dashboard .tile svg,.dash-actions svg{flex-shrink:0}.dashboard .tile b{font-size:clamp(17px,5vw,24px)}.dash-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.dash-heading h2{font-size:16px;margin:8px 0}.dash-heading button{font-weight:650;font-size:12px;color:var(--accent)}.dash-agenda{padding:0 12px}.dash-agenda p,.dash-event small,.dash-list small{color:var(--text-muted);font-size:12px}.dash-agenda p{margin:12px 0}.dash-event{display:flex;gap:10px;padding:9px 0;overflow-wrap:anywhere}.dash-event+.dash-event{border-top:1px solid var(--line)}.dash-event i{width:4px;border-radius:4px;flex-shrink:0}.dash-event strong,.dash-list strong{display:block;font-size:14px}.dash-event small,.dash-list small{display:block;margin-top:2px}.dash-list{display:flex;align-items:center;gap:8px;padding:10px;border-radius:14px;text-align:left}.dash-list>span:first-child{font-size:21px}.dash-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.dash-actions button{justify-content:center;flex-wrap:wrap;padding:8px 4px;border-radius:12px;font-size:13px}.calendar-week-agenda{margin-bottom:10px}.calendar-week-agenda section+section{border-top:1px solid var(--line)}.calendar-week-agenda h4{margin:10px 0 6px;color:var(--text-muted);font-size:12px}.calendar-week-agenda .grow{min-width:0;overflow-wrap:anywhere}.weekly-briefing-card{margin:0}.weekly-briefing-card h2{display:flex;align-items:center;gap:7px;font-size:16px;margin:0}.weekly-briefing-card ul{margin:8px 0;padding-inline-start:18px;font-size:12px}.weekly-briefing-card .primary{margin-top:7px}.briefing-counts{display:flex;flex-wrap:wrap;gap:6px 10px;margin:8px 0;font-size:12px}.briefing-shortcut{justify-self:start;color:var(--accent);font-size:13px;font-weight:700}.weekly-briefing{display:grid;gap:14px;overflow-wrap:anywhere}.weekly-briefing h2{font-size:16px}.weekly-briefing .hint{margin:8px 0}.briefing-days>section{padding:8px 0}.briefing-days>section+section{border-top:1px solid var(--line)}.briefing-days h3{font-size:13px}.briefing-event{display:flex;gap:8px;padding:7px 0;font-size:13px}.briefing-event i{width:4px;border-radius:4px;flex:none}.briefing-event small{display:block;color:var(--text-muted);font-size:11px}.briefing-task{width:100%;text-align:left}.briefing-preference{padding-top:8px;border-top:1px solid var(--line)}.briefing-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.briefing-schedule label{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:700}.briefing-schedule :is(select,input){width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid var(--input-line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:16px}.briefing-schedule button{grid-column:1 / -1;justify-self:start;min-height:44px}.briefing-schedule button:disabled{opacity:.55}.task-entry{flex-wrap:wrap}.task-entry .grow{min-width:0;overflow-wrap:anywhere}.task-entry:focus{outline:2px solid var(--accent);outline-offset:2px}.task-date-action{color:var(--accent);min-width:32px;min-height:32px}.task-date-form{display:flex;align-items:end;flex-wrap:wrap;gap:6px;width:100%}.task-date-form label{display:grid;gap:4px;font-size:12px}.task-date-form input{max-width:100%;background:var(--surface);color:var(--text);border:1px solid var(--input-line);border-radius:9px;padding:6px;font-size:16px}.more-link{width:100%;text-align:left;min-height:48px}.more-placeholder,.more .more-placeholder svg{color:var(--text-muted)}.list-swatch{background:var(--list-color,var(--accent-soft));color:#292534}:root[data-night=true] .list-swatch{color:var(--text);background:var(--surface-raised);background:color-mix(in srgb,var(--list-color,var(--accent-soft)) 18%,var(--surface-raised))}.dash-list small{color:var(--list-muted)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input[type=radio],input[type=checkbox]{accent-color:var(--accent-action)}.settings-page{display:grid;gap:14px}.settings-page h1,.settings-page h2{margin:0}.settings-page h2{font-size:16px;margin-bottom:8px}.settings-back{display:inline-flex;gap:4px;align-items:center;justify-self:start;min-height:44px;padding:0;color:var(--accent);font-weight:700}.settings-panel{padding:10px 14px;background:var(--surface-raised)}.settings-mode{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.settings-mode svg{color:var(--accent)}.settings-mode strong{flex:1;font-size:14px}.settings-mode input{width:19px;height:19px;margin:0}.settings-palettes{border:0;padding:0;margin:12px 0;min-width:0}.settings-palettes legend{font-size:13px;font-weight:700;margin-bottom:6px}.settings-palette-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-palette{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:13px;cursor:pointer}.settings-palette:after{content:"";width:12px;height:12px;border-radius:50%;margin-left:auto;background:var(--swatch)}.settings-palette[data-swatch=lavender]{--swatch:#9271c5}.settings-palette[data-swatch=ocean]{--swatch:#2d7594}.settings-palette[data-swatch=sage]{--swatch:#527d62}.settings-palette[data-swatch=rose]{--swatch:#ad607d}.settings-palette input{margin:0}.settings-members{list-style:none;margin:0;padding:0}.settings-members .grow{min-width:0;overflow-wrap:anywhere}.settings-member-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--accent-soft);color:var(--accent)}.settings-you{font-size:11px;font-weight:700;color:var(--accent)}.notification-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.notification-actions button{min-height:44px;font-size:12px;font-weight:700;padding:8px 12px;border-radius:10px}.notification-actions button:not(.primary){color:var(--accent);background:var(--accent-wash)}.notification-actions button:disabled{opacity:.55}.messages-contact{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700}.messages-contact select{flex:1;min-width:0}.messages-thread{display:flex;flex-direction:column;gap:8px;min-height:100px;max-height:min(46dvh,420px);overflow:auto;overscroll-behavior:contain;padding:10px}.message-bubble{align-self:flex-start;max-width:90%;padding:8px 10px;border-radius:12px;background:var(--surface-raised);overflow-wrap:anywhere}.message-bubble.mine{align-self:flex-end;background:var(--accent-soft)}.message-bubble small{display:block;font-size:11px;color:var(--text-muted)}.message-bubble p{font-size:14px;line-height:1.4;white-space:pre-wrap;margin:4px 0 0}.messages-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}.messages-compose label,.messages-compose .error{grid-column:1/-1}.messages-compose label{font-size:13px;font-weight:700}.messages-compose textarea,.messages-contact select{border:1px solid var(--input-line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:16px;padding:8px}.messages-compose textarea{width:100%;max-height:160px;resize:vertical}.messages-compose .primary{min-height:44px}.messages-compose .primary:disabled{opacity:.55}.message-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--accent-action);color:#fff;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}nav button{position:relative}.nav-message-badge{position:absolute;top:2px;left:calc(50% + 4px);border:1px solid var(--surface)}.household-setup{align-items:start;overflow-y:auto}.household-setup .auth-card{width:min(100%,34rem);margin:auto}.household-form,.household-profile{display:grid;gap:10px}.household-form label,.household-profile label{display:grid;gap:4px;min-width:0}.household-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:8px}.household-features,.household-profile{min-width:0;border:1px solid var(--line);border-radius:12px;padding:10px}.household-features label{display:flex;align-items:center;gap:8px;margin-block:4px}.household-setup select,.household-form select{width:100%}
