.shell{display:block}.sidebar{position:fixed;top:0;left:0;right:0;width:auto;height:88px;padding:0;border:0;background:var(--header-surface,var(--page-bg));border-bottom:1px solid #ece8f2b3;box-shadow:0 4px 16px #35284d05;-webkit-backdrop-filter:blur(20px) saturate(140%);backdrop-filter:blur(20px) saturate(140%);display:flex;justify-content:center;z-index:15}.sidebar .brand{position:absolute;left:28px;top:24px}.brand-sub,.side-note,#settings-nav{display:none}.side-nav{display:flex;flex-direction:row;align-items:center;gap:4px;margin:14px 0 0;padding:5px;background:#eeebf3;border-radius:40px;height:60px}.nav-btn{margin:0;min-width:88px;min-height:44px;padding:10px 14px;border-radius:30px;font-size:16px;gap:6px}.nav-btn svg{width:20px;height:20px}.nav-btn.active{background:white;color:var(--accent);box-shadow:var(--shadow)}.nav-dot{display:none}.workspace{margin-left:0;width:100%;padding:110px 0 0}.topbar{position:fixed;right:22px;top:22px;height:44px;padding:0;left:auto;z-index:16;background:transparent}.desktop-date,.mobile-brand,.demo-pill{display:none}.topbar-right{gap:10px;flex:none}.topbar-right>.icon-btn{width:44px;height:44px;min-height:44px;flex:none;padding:0}.topbar-right>.icon-btn svg{width:22px;height:22px}.avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;background:var(--accent-soft);color:var(--accent);font-family:inherit;font-weight:600;line-height:1}.content{max-width:1200px;margin:0 auto;padding:0 32px 72px}.page-head{margin:0 0 24px}.quick-add{position:static;flex:none;justify-content:center;left:auto;right:auto;top:auto;bottom:auto;transform:none;padding:0;width:44px;height:44px;min-height:44px;border-radius:50%;font-size:0;box-shadow:none;z-index:17;background:var(--accent);color:white}.quick-add svg{width:24px;height:24px}.quick-add span{display:none}.mobile-nav{display:none}.two-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px;align-items:start}.bounded{max-width:760px;margin-inline:auto}.task-groups{display:grid;gap:24px}.today-main{order:0}.today-anytime{order:1}.toast{left:50%;bottom:28px;transform:translateX(-50%);max-width:calc(100vw - 32px)}dialog{max-width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);border-radius:24px}dialog .sheet{padding:24px;overflow:auto;max-height:calc(100dvh - 48px)}.ai-page{min-height:calc(100dvh - 180px);display:flex;flex-direction:column}.ai-composer{position:sticky;bottom:16px;margin-top:auto}.ai-composer textarea{min-height:92px;resize:vertical}.signed-out .sidebar,.signed-out .mobile-nav,.signed-out .quick-add{display:none}
@media(max-width:1023px){.sidebar{display:none}.workspace{padding:88px 0 0}.content{padding:0 24px 136px}.topbar{top:16px;right:20px;left:20px;justify-content:space-between}body:not(.signed-out) .topbar{top:0;right:0;left:0;height:72px;margin:0;padding:12px 20px;background:var(--header-surface,var(--page-bg));border-bottom:1px solid #ece8f2b3;box-shadow:0 4px 16px #35284d05;-webkit-backdrop-filter:blur(20px) saturate(140%);backdrop-filter:blur(20px) saturate(140%)}.mobile-brand{display:flex;font-size:20px;gap:8px}.avatar{display:none}.two-columns{display:flex;flex-direction:column;gap:24px}.two-columns>*{width:100%}.today-anytime{order:0}.today-main{order:1}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:auto;padding:10px 20px calc(10px + env(safe-area-inset-bottom));gap:4px;z-index:20;background:#faf9fdf0;border:0;backdrop-filter:blur(16px)}.nav-primary{display:flex;flex:4;gap:4px}.mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:auto;min-width:0;min-height:60px;border-radius:30px;padding:8px;font-size:13px;color:var(--muted)}.mobile-nav button.active{background:var(--accent-soft);color:var(--accent)}.mobile-nav>button{flex:1}.mobile-nav svg{width:24px;height:24px}.toast{bottom:calc(106px + env(safe-area-inset-bottom))}.ai-page{min-height:calc(100dvh - 228px)}.ai-composer{bottom:calc(100px + env(safe-area-inset-bottom))}.keyboard-open .mobile-nav{display:none}.keyboard-open .content{padding-bottom:24px}.keyboard-open .ai-page{min-height:calc(var(--visual-height,100dvh) - 110px)}.keyboard-open .ai-composer{position:sticky;bottom:0}}
@media(max-width:599px){.content{padding:0 16px 132px}.mobile-nav{background:transparent;border:0;backdrop-filter:none;gap:10px;padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.nav-primary{flex:1;background:#ffffffed;border:1px solid var(--line);border-radius:40px;padding:5px;box-shadow:var(--shadow);backdrop-filter:blur(16px)}.mobile-nav button{font-size:11px;min-height:54px;padding:6px 3px;gap:3px}.mobile-nav>button{flex:none;width:64px;height:64px;border-radius:50%;background:var(--accent-soft);border:5px solid white;box-shadow:var(--shadow)}.mobile-nav>button.active{background:#ded0ff}.topbar{left:16px;right:16px}body:not(.signed-out) .topbar{left:0;right:0;padding-inline:16px}.field-row{grid-template-columns:1fr}.sheet-actions{flex-wrap:wrap}dialog{margin:auto 0 0;width:100%;max-width:100%;max-height:calc(100dvh - 12px);border-radius:24px 24px 0 0}dialog .sheet{max-height:calc(100dvh - 12px);padding:24px 16px calc(24px + env(safe-area-inset-bottom))}.filter-bar{flex-wrap:wrap}.timeline-head{flex-direction:column}.search-box{flex-wrap:wrap}.search-box input{min-width:0}.week-strip button{padding:8px 0}}
.sidebar{flex-direction:row;align-items:flex-start}.side-nav{flex:none;width:max-content}
.ai-page{height:calc(100dvh - 180px);min-height:480px}.assistant-empty{flex:1;min-height:0;overflow:auto;padding:24px 12px}.ai-composer{position:relative;bottom:auto;flex:none}
@media(max-width:1023px){.ai-page{height:calc(var(--visual-height,100dvh) - 254px);min-height:480px}.ai-composer{bottom:auto}.keyboard-open .ai-page{height:auto;min-height:calc(var(--visual-height,100dvh) - 110px)}.keyboard-open .assistant-empty{display:none}.keyboard-open .ai-composer{position:relative;bottom:auto}}

@media(max-width:1023px){.today-anytime{display:contents}.today-anytime>.task-group{width:100%;order:0}.today-anytime>.routine-card{width:100%;order:2}.today-main{order:1}}

/* Keep controls clear over scrolling content; opaque fallback without backdrop support. */
html{scroll-padding-top:104px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--header-surface:rgba(250,249,253,.78)}}
@media(max-width:1023px){html{scroll-padding-top:88px}}
