:root{--bg:#f7f5f0;--surface:#fff;--surface-2:#efece5;--border:#e3dfd6;--text:#1f2328;--muted:#6b6f76;--accent:#2c3e50;--accent-text:#fff;--amber:#f39c12;--danger:#c0392b;--success:#1e8449;--shadow:0 1px 2px #0000000d, 0 4px 16px #0000000a;--radius:14px;--nav-h:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#16181d;--surface:#1f2228;--surface-2:#2a2e36;--border:#333843;--text:#eceef1;--muted:#9aa0aa;--accent:#8fb4ff;--accent-text:#0f1420;--danger:#ff7b6b;--success:#5fd38a;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#16181d;--surface:#1f2228;--surface-2:#2a2e36;--border:#333843;--text:#eceef1;--muted:#9aa0aa;--accent:#8fb4ff;--accent-text:#0f1420;--danger:#ff7b6b;--success:#5fd38a;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font:16px/1.45 -apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,system-ui,sans-serif}h1,h2,h3{margin:0;line-height:1.2}h1{letter-spacing:-.01em;font-size:1.6rem}h2{margin-bottom:12px;font-size:1.05rem}h3{color:var(--muted);margin-bottom:6px;font-size:.9rem;font-weight:600}p{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.grow{flex:1}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row.end{justify-content:flex-end}.stack{flex-direction:column;gap:12px;display:flex}.error{color:var(--danger);font-size:.9rem}.success{color:var(--success)}.empty{padding:8px 0;font-size:.9rem}.btn{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-height:44px;padding:10px 16px;font-weight:600}.btn.small{min-height:36px;padding:6px 12px;font-size:.9rem}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 40%, transparent)}.btn.ghost{background:0 0;border-color:#0000}.btn:disabled{opacity:.5}.icon-btn{background:0 0;border:0;border-radius:10px;width:40px;height:40px;font-size:1.5rem;line-height:1}.icon-btn:hover:not(:disabled){background:var(--surface-2)}.icon-btn:disabled{opacity:.3}input,select,textarea{border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;min-height:44px;padding:10px 12px}textarea{resize:vertical}label{color:var(--muted);flex-direction:column;gap:4px;font-size:.85rem;font-weight:600;display:flex}label>input,label>select,label>textarea{color:var(--text);font-size:1rem;font-weight:400}label.toggle{color:var(--text);flex-direction:row;align-items:center;gap:8px}label.toggle input{width:20px;height:20px;min-height:20px}fieldset{border:0;margin:0;padding:0}legend{color:var(--muted);margin-bottom:6px;font-size:.85rem;font-weight:600}.chip{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;min-height:34px;padding:4px 12px 4px 6px;font-size:.9rem;display:inline-flex}.chip.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.chip.round{justify-content:center;width:38px;height:38px;padding:0}.filters{flex-wrap:wrap;gap:6px;display:flex}.weekday-pick{gap:6px;display:flex}.pill{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.75rem;display:inline-block}.pill.warn{background:color-mix(in srgb, var(--amber) 22%, transparent);color:var(--text)}.segmented{background:var(--surface-2);border-radius:10px;padding:3px;display:inline-flex}.segmented button{background:0 0;border:0;border-radius:8px;padding:6px 14px;font-size:.9rem;font-weight:600}.segmented button.on{background:var(--surface);box-shadow:var(--shadow)}.avatar{border-radius:50%;flex:none;place-items:center;line-height:1;display:inline-grid}.dots{gap:3px;display:inline-flex}.dot{border-radius:50%;width:10px;height:10px}.live-dot{background:var(--amber);border-radius:50%;flex:none;width:10px;height:10px}.live-dot.live{background:var(--success)}.live-dot.offline{background:var(--danger)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:16px}.shell{min-height:100dvh}.main{padding:max(16px, env(safe-area-inset-top)) 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom));max-width:1280px;margin:0 auto}.sidebar{z-index:10;background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);justify-content:space-around;display:flex;position:fixed;inset:auto 0 0}.brand,.sidebar-foot{display:none}.tab{height:var(--nav-h);color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.7rem;font-weight:600;text-decoration:none;display:flex}.tab-icon{filter:grayscale();opacity:.7;font-size:1.35rem}.tab.on{color:var(--text)}.tab.on .tab-icon{filter:none;opacity:1}@media (width>=900px){.shell{grid-template-columns:220px 1fr;display:grid}.sidebar{border-top:0;border-right:1px solid var(--border);background:var(--surface);flex-direction:column;justify-content:flex-start;gap:4px;height:100dvh;padding:20px 12px;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:0 10px 18px;font-weight:700;display:flex}.brand img{border-radius:8px}.tab{border-radius:10px;flex-direction:row;flex:none;justify-content:flex-start;gap:12px;height:44px;padding:0 12px;font-size:.95rem}.tab.on{background:var(--surface-2)}.tab-icon{font-size:1.1rem}.sidebar-foot{align-items:center;gap:8px;margin-top:auto;padding:0 10px;display:flex}.main{width:100%;padding:28px 32px 40px}}.page{flex-direction:column;gap:16px;display:flex}.page.narrow{max-width:640px}.page-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.page-head.wrap{flex-wrap:wrap}.cal-title{text-align:center;min-width:9ch;font-size:1.25rem}.today-grid{gap:16px;display:grid}@media (width>=760px){.today-grid{grid-template-columns:1fr 1fr;align-items:start}.span-2{grid-column:span 2}}.upcoming{gap:16px;display:grid}@media (width>=760px){.upcoming{grid-template-columns:repeat(3,1fr)}}.agenda{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.agenda-item{text-align:left;border:0;border-left:4px solid var(--accent);background:var(--surface-2);border-radius:8px;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 10px;display:flex}.agenda .past{opacity:.5}.agenda-time{font-variant-numeric:tabular-nums;flex-direction:column;min-width:62px;font-size:.85rem;font-weight:600;display:flex}.agenda-time small{color:var(--muted);font-weight:400}.agenda-body{flex-direction:column;flex:1;min-width:0;display:flex}.agenda-body strong{overflow-wrap:anywhere;font-weight:600}.travel{color:var(--text);font-weight:500}.week{gap:10px;display:grid}.week-day{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:10px}.week-day.is-today{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.week-day h3{align-items:baseline;gap:6px;display:flex}.week-day h3 strong{color:var(--text);font-size:1.1rem}@media (width>=1000px){.week{grid-template-columns:repeat(7,minmax(0,1fr))}.week-day{min-height:60vh}.week .agenda-item{flex-direction:column;align-items:flex-start;gap:2px}.week .agenda-time{flex-direction:row;gap:4px;min-width:0}.week .agenda-time small{display:none}}.month-wrap{gap:16px;display:grid}@media (width>=1100px){.month-wrap{grid-template-columns:1fr 340px;align-items:start}}.month{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.month-head{text-align:center;color:var(--muted);padding:4px 0;font-size:.75rem;font-weight:600}.month-cell{text-align:left;border:1px solid var(--border);background:var(--surface);aspect-ratio:1;border-radius:10px;flex-direction:column;align-items:stretch;min-width:0;padding:4px;display:flex;position:relative;overflow:hidden}.month-cell.other{opacity:.45}.month-cell.is-today .month-date{background:var(--accent);color:var(--accent-text)}.month-cell.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.month-date{border-radius:999px;align-self:flex-start;padding:0 6px;font-size:.8rem;font-weight:600}.month-events{display:none}.month-count{background:var(--surface-2);border-radius:999px;padding:0 6px;font-size:.7rem;position:absolute;bottom:6px;right:6px}@media (width>=760px){.month-cell{aspect-ratio:auto;min-height:104px}.month-events{flex-direction:column;gap:2px;margin-top:2px;display:flex}.month-event{white-space:nowrap;text-overflow:ellipsis;border-left:3px solid var(--c);padding-left:4px;font-size:.72rem;overflow:hidden}.month-count{display:none}.more{font-size:.7rem}}.chore-board{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.card .chore-board{grid-template-columns:1fr}@media (width>=1200px){.card .chore-board{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}.chore-col{background:var(--surface);border:1px solid var(--border);border-top:4px solid var(--member);border-radius:var(--radius);padding:12px}.card .chore-col{border-width:0 0 0 4px;border-left-color:var(--member);background:var(--surface-2);border-radius:8px}.chore-col header{align-items:center;gap:10px;display:flex}.chore-col header div{flex-direction:column;display:flex}.chore-col ul{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.progress{background:var(--surface-2);border-radius:999px;height:6px;margin-top:10px;overflow:hidden}.card .progress{background:var(--border)}.progress span{background:var(--member);height:100%;transition:width .3s;display:block}.chore{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px 10px;transition:background .15s;display:flex}.chore:disabled{opacity:.85}.chore-emoji{font-size:1.3rem}.chore-title{flex:1;font-weight:500}.chore-points{color:var(--muted);font-size:.8rem}.check{border:2px solid var(--border);color:#fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-weight:700;display:grid}.chore.done{background:color-mix(in srgb, var(--member) 12%, var(--surface))}.chore.done .chore-title{color:var(--muted);text-decoration:line-through}.chore.done .check{background:var(--member);border-color:var(--member)}.chore-admin{margin:0;padding:0;list-style:none}.list-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;padding:10px 4px;display:flex}.list-row .grow{flex-direction:column;display:flex}.assistant{max-width:760px}.chat{flex-direction:column;gap:10px;min-height:40vh;display:flex}.bubble{background:var(--surface);border:1px solid var(--border);white-space:pre-line;border-radius:16px;flex-direction:column;gap:8px;max-width:85%;padding:10px 14px;display:flex}.bubble.me{background:var(--accent);color:var(--accent-text);border-color:var(--accent);align-self:flex-end}.typing{color:var(--muted)}.suggestions{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.suggestions .chip{padding-left:12px}.chat-input{bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px);gap:8px;display:flex;position:sticky}@media (width>=900px){.chat-input{bottom:16px}}.modal-backdrop{z-index:50;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{background:var(--bg);width:100%;max-height:92dvh;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;overflow-y:auto}@media (width>=640px){.modal-backdrop{align-items:center}.modal{border-radius:18px;width:560px;padding:20px}}.modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-head h2{margin:0;font-size:1.2rem}.form .grid-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.grid-emoji{grid-template-columns:72px 1fr;gap:10px;display:grid}.emoji-input{text-align:center;font-size:1.4rem}.details p{font-size:1rem}.notes{white-space:pre-line;background:var(--surface-2);border-radius:10px;padding:10px}.login{place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.login-card{text-align:center;flex-direction:column;align-items:stretch;gap:16px;width:100%;max-width:440px;display:flex}.login-logo{border-radius:18px;align-self:center}.profile-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.profile{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);flex-direction:column;align-items:center;gap:6px;padding:14px 6px;font-weight:600;display:flex}.wall{min-height:100dvh;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left));flex-direction:column;gap:16px;display:flex}.wall-head{justify-content:space-between;align-items:flex-start;display:flex}.wall-clock{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:clamp(3rem,8vw,6.5rem);font-weight:700;line-height:1}.wall-date{color:var(--muted);margin-top:6px;font-size:clamp(1.1rem,2.2vw,1.8rem)}.wall-grid{flex:1;gap:16px;display:grid}@media (width>=900px){.wall-grid{grid-template-columns:minmax(320px,2fr) 3fr;align-items:start}}.wall .agenda-item{min-height:56px;font-size:1.1rem}.wall-next{margin-top:16px}.chore-board.large .chore{min-height:60px;font-size:1.1rem}.chore-board.large .check{width:32px;height:32px}@media (width>=900px){.wall-chores .chore-board{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}.linked-calendars{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.linked-calendar{border-bottom:1px solid var(--border);gap:6px;padding-bottom:10px}.linked-calendar .toggle .grow{flex:1}.indent{gap:8px;padding-left:28px}label.toggle.small{font-size:.9rem;font-weight:500}.link-btn{color:var(--accent);background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}a.btn{color:var(--text);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.btn.google{color:#1f1f1f;background:#fff;border-color:#dadce0;justify-content:center;align-items:center;gap:10px;min-height:48px;text-decoration:none;display:inline-flex}
