:root{--grey-0:#fff;--grey-25:#fcfcfb;--grey-50:#f8f8f6;--grey-100:#f2f2ef;--grey-200:#e7e6e2;--grey-300:#d4d3cd;--grey-400:#a3a29c;--grey-500:#75746e;--grey-600:#54534e;--grey-700:#3d3c38;--grey-800:#282825;--grey-900:#181817;--brand:#8e51ff;--accent-50:color-mix(in srgb, var(--brand) 8%, #fff);--accent-100:color-mix(in srgb, var(--brand) 17%, #fff);--accent-200:color-mix(in srgb, var(--brand) 32%, #fff);--accent-400:color-mix(in srgb, var(--brand) 72%, #fff);--accent-500:var(--brand);--accent-600:color-mix(in srgb, var(--brand) 88%, #000);--accent-700:color-mix(in srgb, var(--brand) 72%, #000);--accent-gradient:linear-gradient(135deg, var(--brand), var(--accent-400));--button-bg:var(--accent-500);--button-bg-hover:var(--accent-600);--done-50:#e7f5ed;--done-600:#1a7f45;--warn-50:#fdf3e3;--warn-600:#9a6414;--danger-50:#fdecec;--danger-600:#b42318;--bg:#f8f7f4;--surface:var(--grey-0);--surface-sunken:var(--grey-25);--border:var(--grey-200);--border-strong:var(--grey-300);--text:var(--grey-900);--text-muted:var(--grey-500);--text-faint:var(--grey-400);--accent:var(--accent-500);--accent-hover:var(--accent-600);--accent-soft:var(--accent-50);--font:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;--text-xs:.75rem;--text-sm:.8125rem;--text-md:.875rem;--text-lg:1rem;--text-xl:1.25rem;--text-2xl:1.75rem;--weight-normal:400;--weight-medium:500;--weight-bold:600;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--radius-sm:5px;--radius-md:8px;--radius-lg:12px;--radius-pill:999px;--shadow-sm:none;--shadow-md:0 8px 24px -12px #14171c29;--rail-width:5.25rem;--content-max:60rem;--ring:0 0 0 2px var(--accent-200);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101010;--surface:#1f1f1f;--surface-sunken:#191918;--border:#2e2e2c;--border-strong:#3d3d3a;--text:#f2f1ed;--text-muted:#a3a29c;--text-faint:#75746e;--accent:var(--accent-400);--accent-hover:color-mix(in srgb, var(--brand) 55%, #fff);--accent-soft:color-mix(in srgb, var(--brand) 22%, var(--surface));--accent-50:color-mix(in srgb, var(--brand) 15%, var(--surface));--accent-100:color-mix(in srgb, var(--brand) 25%, var(--surface));--accent-700:color-mix(in srgb, var(--brand) 85%, #fff);--done-50:#16301f;--done-600:#5ec98a;--warn-50:#33260f;--warn-600:#e3a84e;--danger-50:#35191a;--danger-600:#f07a72;--shadow-sm:none;--shadow-md:0 8px 24px -12px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ck-color-base-foreground:var(--surface-sunken);--ck-color-base-background:var(--surface);--ck-color-base-border:var(--border);--ck-color-base-text:var(--text);--ck-color-base-focus:var(--accent);--ck-color-base-active:var(--accent);--ck-color-base-active-focus:var(--accent-hover);--ck-color-button-default-hover-background:var(--track);--ck-color-button-on-background:var(--accent-soft);--ck-color-button-on-color:var(--accent);--ck-content-font-color:var(--text);--ck-content-color-image-caption-background:var(--surface-sunken);--ck-content-color-image-caption-text:var(--text-muted);--ck-content-color-table-caption-background:var(--surface-sunken);--ck-content-color-table-caption-text:var(--text-muted)}}:root[data-theme=dark]{--bg:#101010;--surface:#1f1f1f;--surface-sunken:#191918;--border:#2e2e2c;--border-strong:#3d3d3a;--text:#f2f1ed;--text-muted:#a3a29c;--text-faint:#75746e;--accent:var(--accent-400);--accent-hover:color-mix(in srgb, var(--brand) 55%, #fff);--accent-soft:color-mix(in srgb, var(--brand) 22%, var(--surface));--accent-50:color-mix(in srgb, var(--brand) 15%, var(--surface));--accent-100:color-mix(in srgb, var(--brand) 25%, var(--surface));--accent-700:color-mix(in srgb, var(--brand) 85%, #fff);--done-50:#16301f;--done-600:#5ec98a;--warn-50:#33260f;--warn-600:#e3a84e;--danger-50:#35191a;--danger-600:#f07a72;--shadow-sm:none;--shadow-md:0 8px 24px -12px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ck-color-base-foreground:var(--surface-sunken);--ck-color-base-background:var(--surface);--ck-color-base-border:var(--border);--ck-color-base-text:var(--text);--ck-color-base-focus:var(--accent);--ck-color-base-active:var(--accent);--ck-color-base-active-focus:var(--accent-hover);--ck-color-button-default-hover-background:var(--track);--ck-color-button-on-background:var(--accent-soft);--ck-color-button-on-color:var(--accent);--ck-content-font-color:var(--text);--ck-content-color-image-caption-background:var(--surface-sunken);--ck-content-color-image-caption-text:var(--text-muted);--ck-content-color-table-caption-background:var(--surface-sunken);--ck-content-color-table-caption-text:var(--text-muted)}:root[data-font=serif]{--font:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif}:root[data-font=mono]{--font:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace}:root[data-font=rounded]{--font:ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Varela Round", system-ui, sans-serif}:root[data-accent=blue]{--brand:#3b82f6}:root[data-accent=teal]{--brand:#0d9488}:root[data-accent=green]{--brand:#16a34a}:root[data-accent=amber]{--brand:#d97706}:root[data-accent=rose]{--brand:#e11d48}*,:after,:before{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:var(--text-md);-webkit-font-smoothing:antialiased;font-optical-sizing:auto;line-height:1.5}body,figure,h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}:focus-visible{box-shadow:var(--ring);border-radius:var(--radius-sm);outline:none}.shell{grid-template-columns:var(--rail-width) 1fr;min-height:100vh;display:grid}.rail{z-index:20;align-items:center;gap:var(--space-2);height:100vh;padding:var(--space-4) var(--space-2);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;display:flex;position:sticky;top:0}.rail-mark{width:3.25rem;height:3.25rem;margin-bottom:var(--space-3);color:var(--accent);place-items:center;display:grid}.rail-mark .brand-name{display:none}.rail-item{width:100%;padding:var(--space-2) 0;border-radius:var(--radius-md);color:var(--text-faint);font-size:.6875rem;font-weight:var(--weight-medium);text-align:center;flex-direction:column;align-items:center;gap:3px;display:flex}.rail-item svg{display:block}.rail-item:hover{color:var(--text-muted);background:var(--track)}.rail-item.active{color:var(--accent);background:var(--accent-50)}.rail-item.disabled{opacity:.45;cursor:default}.rail-item.disabled:hover{color:var(--text-faint);background:0 0}.rail-center{gap:var(--space-2);margin:auto 0}.rail-bottom,.rail-center{flex-direction:column;align-items:center;display:flex}.rail-bottom{gap:var(--space-3);margin-top:0}.notif-icon-wrap{display:inline-flex;position:relative}.mobile-notif-bell{font:inherit;cursor:pointer;border:0;display:none}.notif-badge{border-radius:var(--radius-pill);background:var(--danger-600);color:#fff;min-width:1.1rem;height:1.1rem;font-size:.625rem;font-weight:var(--weight-bold);place-items:center;padding:0 3px;line-height:1;display:grid;position:absolute;top:-5px;right:-7px}.rail-links{display:contents}.avatar-trigger{width:100%;padding:var(--space-2) 0;border-radius:var(--radius-md);color:var(--text-muted);font:inherit;font-size:.6875rem;font-weight:var(--weight-medium);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;display:flex}.avatar-trigger:hover,.avatar-trigger[aria-expanded=true]{background:var(--track);color:var(--text)}.avatar-trigger:hover .avatar,.avatar-trigger[aria-expanded=true] .avatar{box-shadow:0 0 0 2px var(--accent)}.avatar-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.menu.user-menu{min-width:13rem}.menu-user{padding:var(--space-2) var(--space-3) var(--space-1);flex-direction:column;display:flex}.menu-user strong{font-size:var(--text-sm)}.menu-user span{font-size:var(--text-xs);color:var(--text-muted);text-overflow:ellipsis;overflow:hidden}.avatar{width:2.75rem;height:2.75rem;font-size:var(--text-md);border-radius:var(--radius-pill);background:var(--accent-100);color:var(--accent-700);font-weight:var(--weight-bold);border:0;place-items:center;transition:box-shadow .14s;display:grid}.content{padding:var(--space-6)}.container{max-width:var(--content-max);margin:0 auto}.page-title{font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:-.02em}.muted{color:var(--text-muted)}.faint{color:var(--text-faint)}.sm{font-size:var(--text-sm)}.xs{font-size:var(--text-xs)}.num{font-variant-numeric:tabular-nums}.block{display:block}.row{gap:var(--space-3)}.between,.row{align-items:center;display:flex}.between{justify-content:space-between;gap:var(--space-4)}.grow{flex:1;min-width:0}.stack>*+*{margin-top:var(--space-2)}.card{background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);border:0}.card-link{display:block}.card-link:hover .card{border-color:var(--border-strong)}.card-link:hover .card-title{color:var(--accent)}.card-body{padding:var(--space-4)}.card-title{font-size:var(--text-lg);letter-spacing:-.01em}.card-title,button.primary{font-weight:var(--weight-medium)}button.primary{background:var(--button-bg);white-space:nowrap;color:#fff;padding:var(--space-2) var(--space-4);border-radius:var(--radius-sm);border:0}button.primary:hover{background:var(--button-bg-hover)}button.primary:disabled{opacity:.5;cursor:default}button.ghost{color:var(--accent);padding:var(--space-2) 0;font-size:var(--text-sm);font-weight:var(--weight-medium);background:0 0;border:0}button.ghost:hover{color:var(--accent-hover)}button.quiet{color:var(--text-muted);font-size:var(--text-sm);background:0 0;border:0;padding:0}button.quiet:hover,input,select{color:var(--text)}input,select{width:100%;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:var(--track);font:inherit;border:1px solid #0000}input:hover,select:hover{border-color:var(--border-strong)}input::placeholder{color:var(--text-faint)}input:focus,select:focus{border-color:var(--accent);box-shadow:var(--ring);outline:none}label{font-size:var(--text-sm);color:var(--text-muted);margin-bottom:var(--space-1);display:block}.field+.field{margin-top:var(--space-3)}.notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);background:var(--danger-50);color:var(--danger-600);font-size:var(--text-sm);margin-bottom:var(--space-4)}.pill{font-size:var(--text-xs);font-weight:var(--weight-medium);padding:2px var(--space-2);border-radius:var(--radius-pill);background:var(--track);color:var(--text-muted);white-space:nowrap;border:0;display:inline-block}.pill.completed{background:var(--done-50);color:var(--done-600)}.pill.in_progress{background:var(--accent-soft);color:var(--accent)}.bar{border-radius:var(--radius-pill);background:var(--track);height:8px;overflow:hidden}.bar>span{background:var(--accent-gradient);border-radius:inherit;height:100%;transition:width .18s ease-out;display:block}.inline-form{gap:var(--space-2);margin-top:var(--space-2);align-items:center;display:flex}.inline-form input{flex:auto;min-width:0}.inline-form button{white-space:nowrap;flex:none}.ms-list{gap:var(--space-2);flex-direction:column}.ms-list,.ms-row{display:flex}.ms{background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);flex:1}.ms,.ms-head{border-radius:var(--radius-lg);border:0}.ms-head{align-items:center;gap:var(--space-3);width:100%;padding:var(--space-3) var(--space-4);text-align:left;color:inherit;background:0 0;display:flex}.ms-state{border-radius:var(--radius-pill);width:2.5rem;height:2.5rem;font-size:var(--text-md);font-weight:var(--weight-bold);background:var(--grey-300);color:#fff;flex:none;place-items:center;transition:box-shadow .16s;display:grid}.ms-state.empty{background:var(--grey-200)}@media (prefers-reduced-motion:reduce){.ms-state{transition:none}}.ms-title{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:-.01em}.ms-sub{align-items:center;gap:var(--space-2);font-size:var(--text-sm);margin-top:2px;display:flex}.ms-count,.ms-sub{color:var(--text-muted)}.ms-count{font-size:var(--text-md);font-weight:var(--weight-medium)}.chevron{color:var(--text-faint);transition:transform .16s}.chevron.open{transform:rotate(180deg)}.trow .t-title{min-width:0;font-size:var(--text-md);font-weight:var(--weight-medium);flex:1}.t-meta{align-items:center;gap:var(--space-2);color:var(--text-faint);font-size:var(--text-sm);min-width:0;display:flex}.t-cat{color:var(--text-muted)}.t-date{text-align:right;min-width:6.5rem}.t-date.undefined{color:var(--text-faint)}.check{appearance:none;aspect-ratio:1;border:1.5px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:3px;flex:none;width:1.25rem;min-width:1.25rem;max-width:1.25rem;height:1.25rem;margin:0;padding:0;transition:background-color .13s,border-color .13s,transform 90ms}.check:hover{border-color:var(--accent)}.check:active{transform:scale(.92)}.check:checked{background-color:var(--accent);border-color:var(--accent);background-image:url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%223.6%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M5.5%2012.5%2010%2017l8.5-9.5%22%2F%3E%3C%2Fsvg%3E);background-position:50%;background-repeat:no-repeat;background-size:74%}@media (prefers-reduced-motion:reduce){.check{transition:none}.check:active{transform:none}}.t-menu{color:var(--text-muted);border-radius:var(--radius-sm);background:0 0;border:0;place-items:center;width:2rem;height:2rem;display:grid}.t-menu:hover{color:var(--text);background:var(--track)}.t-menu[aria-expanded=true]{color:var(--accent);background:var(--accent-50)}.menu{z-index:60;min-width:10rem;padding:var(--space-1);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-md);position:fixed}.menu button{align-items:center;gap:var(--space-2);text-align:left;width:100%;padding:var(--space-2) var(--space-3);color:inherit;font-size:var(--text-sm);border-radius:var(--radius-sm);background:0 0;border:0;display:flex}.menu button:hover{background:var(--track)}.menu button.danger{color:var(--danger-600)}.menu button{white-space:nowrap}.menu-sep{height:1px;margin:var(--space-1) 0;background:var(--border);border:0}.add-row{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-5) 0;display:flex}.headline{justify-content:space-between;align-items:flex-start;gap:var(--space-5);display:flex}.figure{font-size:var(--text-2xl);font-weight:var(--weight-bold);letter-spacing:-.02em;line-height:1.1}@media (width<=52rem){.shell{--chrome:0px;grid-template-rows:minmax(0,1fr);grid-template-columns:1fr}.rail{z-index:20;top:auto;left:0;right:0;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:var(--radius-pill);-webkit-backdrop-filter:blur(20px)saturate(180%);width:calc(100% - 32px);max-width:24rem;height:auto;box-shadow:var(--shadow-md);background:#0000008c;border:1px solid #ffffff24;flex-direction:row;justify-content:space-evenly;align-items:center;gap:0;margin-inline:auto;padding:8px;transition:padding .18s,width .18s;position:fixed}.rail.compact{width:calc(100% - 96px);max-width:19rem;padding:5px}.rail.compact .rail-item{width:2.1rem;height:2.1rem}.rail.compact .rail-item svg{width:1.15rem;height:1.15rem}.rail.compact .avatar{width:1.65rem;height:1.65rem}.rail-mark{display:none}.rail-center{display:contents}.rail-item{color:#ffffffeb;flex:none;justify-content:center;width:2.6rem;height:2.6rem;padding:0}.rail-item,.rail-item svg{transition:width .18s,height .18s}.rail-item svg{stroke-width:2.1px;width:1.35rem;height:1.35rem}.rail-item.active{color:#fff;background:#ffffff29}.rail-item>span:not(.notif-icon-wrap){display:none}.avatar-trigger{flex:none;justify-content:center;width:2.6rem;height:2.6rem;padding:0}.avatar{width:1.9rem;height:1.9rem;transition:width .18s,height .18s;box-shadow:0 0 0 1.5px #ffffff59}.avatar-name,.notif-bell{display:none}.mobile-notif-bell{z-index:20;top:calc(10px + env(safe-area-inset-top));-webkit-backdrop-filter:blur(20px)saturate(180%);color:#ffffffeb;width:2.75rem;height:2.75rem;box-shadow:var(--shadow-md);background:#0000008c;border:1px solid #ffffff24;border-radius:50%;justify-content:center;align-items:center;display:flex;position:fixed;right:10px}.theme-toggle{display:none}.content{padding:var(--space-4);padding-top:calc(4rem + env(safe-area-inset-top));padding-bottom:calc(4.5rem + env(safe-area-inset-bottom))}}.goal-head{gap:var(--space-2);margin:var(--space-4) 0 var(--space-5);flex-direction:column;display:flex}.goal-head-main,.goal-head-top{gap:var(--space-4);display:flex}.goal-head-main{flex:auto;align-items:flex-start;min-width:0}.goal-icon{border-radius:15px;flex:none;width:3.5rem;height:3.5rem}.goal-title{font-size:1.9rem;font-weight:var(--weight-bold);letter-spacing:-.022em;line-height:1.15}.tabs{gap:var(--space-5);border-bottom:1px solid var(--border);margin-bottom:var(--space-5);display:flex}.tab{padding:var(--space-3) 0;font-size:var(--text-md);font-weight:var(--weight-medium);color:var(--text-muted);background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px}.tab:hover{color:var(--text)}.tab.active{color:var(--accent);border-bottom-color:var(--accent)}.tab:disabled{color:var(--text-faint);cursor:default}.step{border-radius:var(--radius-pill);width:1.75rem;height:1.75rem;font-size:var(--text-xs);font-weight:var(--weight-bold);background:var(--track);color:var(--text-muted);flex:none;place-items:center;display:grid}.step.completed{background:var(--done-600);color:#fff}.step.in_progress{background:var(--accent);color:#fff}.trow{align-items:center;gap:var(--space-3);padding:var(--space-3) 0;display:flex;position:relative}.trow+.trow:before{content:"";top:0;left:calc(1.25rem + var(--space-3));background:color-mix(in srgb,var(--border) 55%,transparent);height:1px;position:absolute;right:0}.chip{font-size:var(--text-xs);color:var(--text-faint);white-space:nowrap}.pill.not_started{background:var(--track);color:var(--text-muted)}.pill.empty{background:var(--track);color:var(--text-faint)}.pill.active{background:var(--done-50);color:var(--done-600)}.pill.paused{background:var(--warn-50);color:var(--warn-600)}.pill.abandoned{background:var(--track);color:var(--text-faint)}.pill:disabled{cursor:default}button.ghost,button.quiet{white-space:nowrap}.row-menu{display:inline-flex}.inline-value{cursor:text}.inline-value:hover{-webkit-text-decoration:underline dotted var(--border-strong);-webkit-text-decoration:underline dotted var(--border-strong);text-decoration:underline dotted var(--border-strong);text-underline-offset:3px}.inline-edit{width:100%;padding:2px var(--space-2);border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--surface);color:inherit;font:inherit}.toasts{z-index:80;right:var(--space-4);bottom:var(--space-4);gap:var(--space-2);flex-direction:column;max-width:min(24rem,100vw - 2rem);display:flex;position:fixed}.toast{align-items:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-md);font-size:var(--text-sm);animation:.16s ease-out toast-in;display:flex}.toast.error{border-left:3px solid var(--danger-600)}.toast.success{border-left:3px solid var(--done-600)}.toast button{color:var(--text-faint);font-size:var(--text-lg);background:0 0;border:0;padding:0;line-height:1}.toast button:hover{color:var(--text)}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.toast{animation:none}.bar>span,.chevron{transition:none}}.empty-state{text-align:center;padding:var(--space-7) var(--space-4);border:1px dashed var(--border-strong);border-radius:var(--radius-lg);color:var(--text-muted)}.empty-state h3{font-size:var(--text-lg);color:var(--text);margin-bottom:var(--space-1)}.skeleton{background:linear-gradient(90deg,var(--grey-100) 25%,var(--grey-200) 37%,var(--grey-100) 63%);border-radius:var(--radius-sm);background-size:400% 100%;animation:1.4s infinite shimmer}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.brand{align-items:center;gap:var(--space-2);display:flex}.brand-name{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:-.02em}.page-head{justify-content:space-between;align-items:flex-end;gap:var(--space-4);margin-bottom:var(--space-5);flex-wrap:wrap;display:flex}.page-heading{font-size:var(--text-2xl);font-weight:var(--weight-bold);letter-spacing:-.022em;line-height:1.15}.page-sub{margin-top:var(--space-1);font-size:var(--text-md);color:var(--text-muted)}:root{--track:color-mix(in srgb, var(--text) 8%, transparent)}button.primary.with-icon{align-items:center;gap:var(--space-2);height:2.25rem;display:inline-flex}button.secondary{height:2.25rem;padding:0 var(--space-4);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-weight:var(--weight-medium);white-space:nowrap}button.secondary:hover{background:var(--track)}.icon-button{border-radius:var(--radius-sm);width:2rem;height:2rem;color:var(--text-muted);background:0 0;border:0;place-items:center;display:grid}.icon-button:hover{background:var(--track);color:var(--text)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;overflow:hidden;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important}.drawer-root{z-index:70;position:fixed;inset:0}.drawer-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c0a1861;position:absolute;inset:0}.drawer{top:var(--space-2);right:var(--space-2);bottom:var(--space-2);width:min(30rem,calc(100vw - var(--space-4)));background:var(--surface);border:1px solid var(--border);border-radius:20px;outline:none;flex-direction:column;display:flex;position:absolute;overflow:hidden;box-shadow:0 16px 40px -20px #1410284d}.drawer-head{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-4) 0 var(--space-6);display:flex}.drawer-title{font-weight:var(--weight-medium)}.drawer-desc,.drawer-title{font-size:var(--text-sm);color:var(--text-muted)}.drawer-desc{margin-top:2px}.drawer-head .icon-button{border-radius:var(--radius-pill);background:var(--track)}.drawer-head .icon-button:hover{background:color-mix(in srgb,var(--text) 14%,transparent)}.drawer-form{min-height:0}.drawer-body,.drawer-form{flex-direction:column;flex:1;display:flex}.drawer-body{gap:var(--space-6);padding:var(--space-2) var(--space-6) var(--space-6);overflow-y:auto}.drawer-foot{justify-content:flex-end;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-3) var(--space-6);border-top:1px solid var(--border);display:flex}.drawer-foot button{border-radius:var(--radius-pill);height:2.5rem}.drawer-foot button.primary{padding:0 var(--space-5)}.drawer-foot button.primary:disabled{opacity:1;background:var(--track);color:var(--text-faint);box-shadow:none}.kbd-hint{font-size:var(--text-xs);color:var(--text-faint);align-items:center;gap:3px;margin-right:auto;display:inline-flex}.kbd-hint kbd{border:1px solid var(--border);min-width:1.35rem;font:inherit;text-align:center;color:var(--text-muted);border-bottom-width:2px;border-radius:5px;padding:1px 5px;font-size:.6875rem}.kbd-hint kbd:last-of-type{margin-right:4px}.ghost-button{padding:0 var(--space-4);color:var(--text-muted);font-weight:var(--weight-medium);background:0 0;border:0}.ghost-button:hover{background:var(--track);color:var(--text)}.drawer-enter-active,.drawer-leave-active{transition:opacity .22s}.drawer-enter-active .drawer{transition:transform .32s cubic-bezier(.22,1,.36,1)}.drawer-leave-active .drawer{transition:transform .2s ease-in}.drawer-enter-from,.drawer-leave-to{opacity:0}.drawer-enter-from .drawer,.drawer-leave-to .drawer{transform:translateX(calc(100% + var(--space-4)))}@media (width<=40rem){.drawer{border-radius:20px 20px 0 0;width:100%;max-height:92dvh;inset:auto 0 0}.drawer-enter-from .drawer,.drawer-leave-to .drawer{transform:translateY(100%)}.kbd-hint{display:none}}@media (prefers-reduced-motion:reduce){.drawer-enter-active,.drawer-enter-active .drawer,.drawer-leave-active,.drawer-leave-active .drawer{transition:none}}.title-input{resize:none;width:100%;font:inherit;font-size:1.625rem;font-weight:var(--weight-bold);letter-spacing:-.02em;color:var(--text);field-sizing:content;background:0 0;border:0;min-height:2.1rem;margin:0;padding:0;line-height:1.25}.title-input::placeholder{color:var(--text-faint)}.title-input:focus{box-shadow:none;outline:none}.sheet-section{gap:var(--space-3);flex-direction:column;display:flex}.sheet-label{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-faint);text-transform:uppercase;letter-spacing:.08em}.notif-list{flex-direction:column;gap:2px;display:flex}.notif-row-button{align-items:flex-start;gap:var(--space-3);width:100%;padding:var(--space-3) var(--space-2);border-radius:var(--radius-md);color:inherit;font:inherit;text-align:left;background:0 0;border:0;display:flex}.notif-row-button:hover{background:var(--track)}.notif-dot{background:0 0;border-radius:50%;flex:none;width:8px;height:8px;margin-top:6px}.notif-row.unread .notif-dot{background:var(--accent)}.notif-row-body{flex-direction:column;gap:2px;min-width:0;display:flex}.notif-row-title{font-weight:var(--weight-medium)}.notif-row.unread .notif-row-title{font-weight:var(--weight-bold)}.notif-row-text{font-size:var(--text-sm);color:var(--text-muted)}.notif-row-time{margin-top:2px}.notif-empty{padding:var(--space-6) 0;color:var(--text-faint);font-size:var(--text-sm);text-align:center;flex-direction:column;align-items:center}.area-chips,.notif-empty{gap:var(--space-2);display:flex}.area-chips{flex-wrap:wrap}.area-chip{--hue:var(--accent);height:2.25rem;padding:0 var(--space-3) 0 10px;border-radius:var(--radius-pill);background:var(--track);color:var(--text-muted);font-size:var(--text-md);font-weight:var(--weight-medium);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;margin:0;transition:background-color .14s,color .14s,box-shadow .14s,transform 90ms;display:inline-flex}.area-chip.violet{--hue:#8e51ff}.area-chip.blue{--hue:#2f6fe4}.area-chip.rose{--hue:#d6316c}.area-chip.amber{--hue:#c07a12}.area-chip.green{--hue:#1f9254}.area-chip.teal{--hue:#0f8a80}.area-chip svg{color:var(--hue)}.area-chip:hover{color:var(--text);background:color-mix(in srgb,var(--text) 12%,transparent)}.area-chip:active{transform:scale(.97)}.area-chip.on{background:color-mix(in srgb,var(--hue) 14%,var(--surface));color:color-mix(in srgb,var(--hue) 75%,var(--text));box-shadow:inset 0 0 0 1.5px var(--hue)}.area-chip:has(input:focus-visible){box-shadow:inset 0 0 0 1.5px var(--hue),var(--ring)}.period-card{gap:var(--space-3);padding:var(--space-3);background:var(--surface-sunken);border:1px solid var(--border);border-radius:16px;flex-direction:column;display:flex}.segmented{background:var(--track);border-radius:12px;grid-template-columns:repeat(6,minmax(0,1fr));padding:3px;display:grid}.segment{height:2rem;color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);white-space:nowrap;background:0 0;border:0;border-radius:9px;padding:0 2px;transition:background-color .14s,color .14s,box-shadow .14s}.segment.on,.segment:hover{color:var(--text)}.segment.on{background:var(--surface);box-shadow:inset 0 0 0 1px var(--border)}.date-tiles{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.date-tile-wrap{min-width:0;position:relative}.date-tile{width:100%;padding:var(--space-3);border:1px solid var(--border);background:var(--surface);color:var(--text);text-align:left;border-radius:12px;flex-direction:column;align-items:flex-start;gap:2px;transition:border-color .14s,box-shadow .14s;display:flex}.date-tile:hover{border-color:var(--border-strong)}.date-tile:focus-visible{border-color:var(--accent);box-shadow:var(--ring)}.date-tile.invalid{border-color:var(--danger-600)}.date-tile-label{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-muted);align-items:center;gap:6px;display:inline-flex}.date-tile .dot{border-radius:50%;width:7px;height:7px}.date-tile .dot.start{background:var(--accent)}.date-tile .dot.end{box-shadow:inset 0 0 0 2px var(--accent);background:0 0}.date-tile-value{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:-.01em;white-space:nowrap}.date-tile-year{font-size:var(--text-xs);color:var(--text-faint);white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.date-tile.empty .date-tile-value{color:var(--text-faint);font-weight:var(--weight-medium)}.date-native{opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;border:0!important;width:100%!important;height:1px!important;padding:0!important}.date-tile-clear{top:var(--space-2);right:var(--space-2);border-radius:var(--radius-pill);background:var(--track);width:1.375rem;height:1.375rem;color:var(--text-muted);border:0;place-items:center;display:grid;position:absolute}.date-tile-clear:hover{background:var(--danger-50);color:var(--danger-600)}.period-track{align-items:center;gap:var(--space-2);padding:0 var(--space-1);display:flex}.period-line{background:color-mix(in srgb,var(--accent) 35%,transparent);border-radius:2px;flex:1;height:2px}.period-badge{padding:3px var(--space-3);border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-size:var(--text-xs);font-weight:var(--weight-bold);white-space:nowrap}.period-track.open .period-line{background:repeating-linear-gradient(90deg,var(--border-strong) 0 6px,transparent 6px 11px)}.period-track.open .period-badge{background:var(--track);color:var(--text-muted)}.period-track.invalid .period-line{background:color-mix(in srgb,var(--danger-600) 40%,transparent)}.period-track.invalid .period-badge{background:var(--danger-50);color:var(--danger-600)}@media (width<=26rem){.segmented{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:2px}}@media (prefers-reduced-motion:reduce){.area-chip,.date-tile,.segment{transition:none}.area-chip:active{transform:none}}.goals-toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);border-bottom:1px solid var(--border);flex-wrap:wrap;display:flex}.filter-tabs{gap:var(--space-5);scrollbar-width:none;min-width:0;display:flex;overflow-x:auto}.filter-tab{align-items:center;gap:var(--space-2);padding:var(--space-3) 0;color:var(--text-muted);font-size:var(--text-md);font-weight:var(--weight-medium);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;display:inline-flex}.filter-tab.on,.filter-tab:hover{color:var(--text)}.filter-tab.on{border-bottom-color:var(--accent)}.filter-tab .count{border-radius:var(--radius-pill);background:var(--track);min-width:1.25rem;color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);text-align:center;padding:0 6px;line-height:1.25rem}.filter-tab.on .count{background:var(--accent-soft);color:var(--accent)}.toolbar-controls{align-items:center;gap:var(--space-2);padding-block:var(--space-2);display:flex}.toolbar-filters,.toolbar-search-row{display:contents}.toolbar-filter-toggle{display:none}select.control-select{width:auto;height:2rem;padding:0 var(--space-6) 0 var(--space-3);font-size:var(--text-sm);color:var(--text);border-color:var(--border)}.view-switch{background:var(--track);border-radius:var(--radius-md);gap:2px;padding:2px;display:flex}.view-switch button{width:1.75rem;height:1.75rem;color:var(--text-muted);border-radius:var(--radius-sm);background:0 0;border:0;place-items:center;display:grid}.view-switch button:hover{color:var(--text)}.view-switch button.on{background:var(--surface);color:var(--text);box-shadow:inset 0 0 0 1px var(--border)}@media (width<=40rem){.toolbar-controls{padding-block:var(--space-3);flex-direction:column;align-items:stretch}.toolbar-search-row{align-items:center;gap:var(--space-2);width:100%;display:flex}.toolbar-search-row .filter-search{flex:1;min-width:0}.toolbar-search-row .filter-search input{width:100%}.toolbar-filter-toggle{border-radius:var(--radius-pill);background:var(--surface);width:2rem;height:2rem;color:var(--text-faint);border:1px solid #0000;flex:none;place-items:center;display:grid}.toolbar-filter-toggle:hover{border-color:var(--border-strong);color:var(--text)}.toolbar-filter-toggle.on{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.toolbar-filters{align-items:center;gap:var(--space-2);margin-top:var(--space-2);display:none}.toolbar-filters.open{display:flex}.view-switch{display:none}}.tile{border-radius:14px;flex:none;place-items:center;width:3.25rem;height:3.25rem;display:grid}.tile.violet{background:color-mix(in srgb,#8e51ff 13%,var(--surface));color:#8e51ff}.tile.blue{background:color-mix(in srgb,#2f6fe4 13%,var(--surface));color:#2f6fe4}.tile.green{background:color-mix(in srgb,#1a7f45 13%,var(--surface));color:var(--done-600)}.tile.amber{background:color-mix(in srgb,#c98a1e 16%,var(--surface));color:#a86b12}.tile.rose{background:color-mix(in srgb,#d6316c 13%,var(--surface));color:#d6316c}.tile.teal{background:color-mix(in srgb,#0f766e 13%,var(--surface));color:#0f8a80}.tile-xs{border-radius:7px;width:1.75rem;height:1.75rem}.goal-list{--goal-columns:minmax(0, 1fr) minmax(9rem, 13rem) 7.5rem 6.5rem 2rem;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:0;overflow:hidden}.goal-list,.goal-list:hover{background:var(--surface)}.goal-list-head{padding:var(--space-2) var(--space-5);background:var(--surface-sunken);border-bottom:1px solid var(--border);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-faint);text-transform:uppercase;letter-spacing:.06em}.goal-list .goal-row,.goal-list-head{grid-template-columns:var(--goal-columns);gap:var(--space-5);display:grid}.goal-list .goal-row{padding:var(--space-4) var(--space-5);align-items:center;transition:background-color .12s;position:relative}.goal-list .goal-row+.goal-row{border-top:1px solid var(--border)}.goal-list .goal-row:hover{background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.goal-list .tile{border-radius:10px;width:2.5rem;height:2.5rem}.goal-ident{align-items:center;gap:var(--space-3);min-width:0;display:flex}.goal-main{flex:1;min-width:0}.goal-link{font-size:var(--text-md);font-weight:var(--weight-bold);letter-spacing:-.005em;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.goal-link:first-letter{text-transform:uppercase}.goal-link:after{content:"";border-radius:inherit;position:absolute;inset:0}.goal-link:focus-visible{box-shadow:none}.goal-row:has(.goal-link:focus-visible){box-shadow:inset var(--ring)}.goal-row:hover .goal-link{color:var(--accent)}.goal-meta{align-items:center;gap:var(--space-2);font-size:var(--text-sm);color:var(--text-muted);white-space:nowrap;margin-top:2px;display:flex;overflow:hidden}.dot-sep{background:var(--text-faint);border-radius:50%;flex:none;width:3px;height:3px}.goal-progress{align-items:center;gap:var(--space-3);min-width:0;display:flex}.goal-progress .bar{background:var(--track);flex:1;height:6px}.goal-progress .value{text-align:right;width:2.5rem;font-weight:var(--weight-bold);flex:none}.goal-due,.goal-progress .value{font-size:var(--text-sm);color:var(--text)}.goal-due{align-items:center;gap:var(--space-1);white-space:nowrap;display:flex}.goal-due.none{color:var(--text-faint)}.goal-due.overdue{color:var(--danger-600);font-weight:var(--weight-medium)}.goal-actions{z-index:1;justify-content:flex-end;display:flex;position:relative}.pill.status{padding:2px var(--space-2) 2px 7px;align-items:center;gap:6px;display:inline-flex}.pill.status:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.goal-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));display:grid}.goal-grid .goal-row{row-gap:var(--space-4);-moz-column-gap:var(--space-3);column-gap:var(--space-3);padding:var(--space-4) var(--space-4) var(--space-3);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"ident actions""progress progress""due status";transition:border-color .12s,box-shadow .12s;display:grid;position:relative}.goal-grid .goal-row:hover{border-color:var(--border-strong)}.goal-grid .goal-ident{grid-area:ident}.goal-grid .goal-actions{grid-area:actions;align-self:start}.goal-grid .goal-progress{grid-area:progress}.goal-grid .goal-due{grid-area:due}.goal-grid .goal-status{grid-area:status;justify-content:flex-end;display:flex}.goal-grid .tile{border-radius:12px;width:2.75rem;height:2.75rem}.empty-state .empty-icon{width:3.25rem;height:3.25rem;margin:0 auto var(--space-3);border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);place-items:center;display:grid}@media (width<=48rem){.goal-list-head{display:none}.goal-list .goal-row{row-gap:var(--space-2);-moz-column-gap:var(--space-3);column-gap:var(--space-3);padding:var(--space-4);grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"ident ident actions""progress status status""due due due"}.goal-list .goal-ident{grid-area:ident}.goal-list .goal-actions{grid-area:actions}.goal-list .goal-progress{grid-area:progress}.goal-list .goal-status{grid-area:status}.goal-list .goal-due{font-size:var(--text-xs);grid-area:due}.goal-list .goal-due.none{display:none}.page-head{align-items:flex-start}}.goal-head{margin:0 0 var(--space-6)}.goal-head-top{align-items:flex-start}.goal-head-main{align-items:center}.goal-head .goal-icon{border-radius:14px;width:3.25rem;height:3.25rem}.goal-head .goal-title{font-size:1.625rem;line-height:1.25}.goal-head .goal-title:first-letter{text-transform:uppercase}.goal-subline{align-items:center;gap:var(--space-2);margin-top:var(--space-1);font-size:var(--text-sm);color:var(--text-muted);flex-wrap:wrap;display:flex}.goal-subline svg{vertical-align:-2px;margin-right:2px}.goal-score{text-align:right;flex:none;min-width:10rem}.goal-score .figure small{font-size:var(--text-lg);font-weight:var(--weight-medium);color:var(--text-muted);letter-spacing:0;margin-left:1px}.goal-score .bar{width:10rem;height:6px;margin:var(--space-2) 0 0 auto;background:var(--track)}.tab:disabled{opacity:.6;cursor:not-allowed}.ov{gap:var(--space-4);flex-direction:column;display:flex}.ov-card{border-radius:var(--radius-lg);background:var(--surface);min-width:0;padding:var(--space-5);border:0}.ov-top{gap:var(--space-4);grid-template-columns:1fr 1fr;align-items:stretch;display:grid}.ov-progress{justify-content:space-between;align-items:center;gap:var(--space-5);display:flex}.ov-progress-main{flex:1;min-width:0}.ov-progress-head{align-items:center;gap:var(--space-3);margin-bottom:var(--space-2);display:flex}.ov-progress-head h2{font-size:var(--text-lg);font-weight:var(--weight-bold)}.ov-progress-main p{font-size:var(--text-sm);color:var(--text-muted);line-height:1.5}.ov-progress-actions{gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.ov-progress-ring{align-items:center;gap:var(--space-2);flex-direction:column;flex:none;display:flex}.ov-progress-ring .habit-ring{flex:none}.ov-ring-halo{background:color-mix(in srgb,var(--hue) 7%,var(--surface));border-radius:50%;place-items:center;width:168px;height:168px;display:grid}.ov-progress-chip{border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:var(--weight-medium);background:color-mix(in srgb,var(--done-600) 16%,var(--surface));color:var(--done-600);align-items:center;gap:6px;padding:4px 10px;display:inline-flex}.ov-progress-chip .dot{background:currentColor;border-radius:50%;width:6px;height:6px}.ov-progress-chip.behind{background:color-mix(in srgb,var(--danger-600) 16%,var(--surface));color:var(--danger-600)}.ov-time .figure{margin-top:var(--space-1)}.ov-time-sub{margin-top:var(--space-4)}.ov-time-sub-head{justify-content:space-between;align-items:baseline;margin-bottom:6px;display:flex}.ov-time-deadline-head span:first-child,.ov-time-sub-head span:first-child{text-transform:uppercase;letter-spacing:.03em;font-size:.6875rem}.ov-time-bar{width:100%}.ov-time-bar>span,.ov-time-deadline-bar>span{background:var(--hue)}.ov-time-deadline{margin-top:var(--space-5)}.ov-time-deadline-head{justify-content:space-between;align-items:baseline;margin-bottom:6px;display:flex}.ov-time-deadline-head span:first-child{align-items:center;gap:6px;display:flex}.ov-time-deadline-bar{width:100%}.ov-stats{margin-top:var(--space-1);flex-direction:column}.ov-stats,.ov-stats>div{gap:var(--space-2);display:flex}.ov-stats>div{justify-content:space-between;align-items:center}.ov-stats dt{font-size:var(--text-sm);color:var(--text-muted);font-weight:var(--weight-normal);align-items:center;gap:6px;display:flex}.ov-stats dd{font-size:var(--text-sm);font-weight:var(--weight-medium)}.ov-time-stats{gap:var(--space-3);margin-top:var(--space-5);grid-template-columns:repeat(2,1fr);display:grid}.ov-time-stats>div{padding:var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--hue) 8%,var(--surface));flex-direction:column;gap:6px;display:flex}.ov-time-stats dt{font-size:.6875rem;font-weight:var(--weight-medium);text-transform:uppercase;letter-spacing:.03em;color:var(--text-faint)}.ov-time-stats dd{font-size:var(--text-lg);font-weight:var(--weight-bold)}.ov-bottom{grid-template-columns:1.4fr 1fr;align-items:start;display:grid}.ov-bottom,.ov-side{gap:var(--space-4);min-width:0}.ov-side{flex-direction:column;display:flex}.ov-card-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.ov-card-head h3,.ov-tags h3{align-items:center;gap:var(--space-2);min-width:0;font-size:var(--text-md);font-weight:var(--weight-bold);display:flex}.ov-card-head .link-button{white-space:nowrap;flex:none}.ov-tags h3{margin-bottom:var(--space-3)}.ov-empty{padding:var(--space-3) 0}.ov-task-row{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--border);display:flex}.ov-task-row:first-of-type{border-top:0}.ov-task-title{text-align:left;min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;padding:0;overflow:hidden}.ov-task-title:hover{color:var(--accent)}.ov-task-due{flex:none;align-items:center;gap:4px;display:flex}.ov-ms-row{align-items:flex-start;gap:var(--space-3);padding:var(--space-2) 0;display:flex}.ov-ms-row+.ov-ms-row{border-top:1px solid var(--border)}.ov-ms-dot{border:1.5px solid var(--border-strong);color:#fff;border-radius:50%;flex:none;place-items:center;width:1.25rem;height:1.25rem;margin-top:2px;display:grid}.ov-ms-dot.completed{background:var(--accent);border-color:var(--accent)}.ov-ms-dot.in_progress{border-color:var(--accent);background:var(--accent-soft)}.ov-tag-list{gap:var(--space-2);flex-wrap:wrap;display:flex}.ov-tag .count{opacity:.7;margin-left:4px}.ov-habit-weeks{gap:var(--space-4);flex-direction:column;display:flex}.ov-habit-empty{align-items:center;gap:var(--space-4);border-style:dashed;display:flex}.ov-habit-empty-text{flex:1;min-width:0}.ov-habit-empty-text strong{font-size:var(--text-md);font-weight:var(--weight-bold);margin-bottom:2px;display:block}.ov-habit-empty-text p{margin:0}@media (width<=30rem){.ov-habit-empty{flex-wrap:wrap}}.ov-habit-week-head,.ov-habit-week-head h3{align-items:flex-start}.ov-habit-week-head .tile{margin-top:2px}.ov-habit-week-body{align-items:stretch;gap:var(--space-5);display:flex}.ov-habit-week-days{justify-content:space-between;gap:var(--space-2);flex:1;min-width:0;display:flex}.ov-habit-week-day{align-items:center;gap:var(--space-2);flex-direction:column;display:flex}.ov-habit-week-day-name{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-muted)}.ov-habit-week-day.today .ov-habit-week-day-name{color:var(--hue);font-weight:var(--weight-bold)}.ov-habit-week-day-date{font-size:.6875rem}.ov-habit-week-divider{background:var(--border);flex:none;width:1px}.ov-habit-week-stat{flex-direction:column;flex:none;justify-content:center;width:9rem;display:flex}.ov-habit-week-stat .figure{line-height:1}.ov-habit-week-dots{margin-top:var(--space-3);gap:4px;display:flex}.ov-habit-week-dot{background:var(--surface-sunken);border:1px solid var(--border);border-radius:4px;width:1rem;height:1rem}.ov-habit-week-dot.on{background:var(--hue);border-color:var(--hue)}.ov-habit-week-days .habit-cell{background:color-mix(in srgb,var(--hue) 10%,var(--surface));border-width:1.5px;border-color:color-mix(in srgb,var(--hue) 30%,var(--border));cursor:default;width:2.5rem;height:2.5rem}.ov-habit-week-days .habit-cell:hover{border-color:color-mix(in srgb,var(--hue) 30%,var(--border));transform:none}.ov-habit-week-days .habit-cell.done{background:var(--hue);border-color:#0000}.ov-habit-week-days .habit-cell.today{border-style:solid;border-color:var(--hue);background:color-mix(in srgb,var(--hue) 16%,var(--surface));box-shadow:0 0 0 4px color-mix(in srgb,var(--hue) 12%,transparent)}.ov-habit-week-days .habit-cell.missed{background:color-mix(in srgb,var(--danger-600) 14%,var(--surface));border-color:color-mix(in srgb,var(--danger-600) 45%,var(--border))}.ov-habit-week-days .habit-cell.future{opacity:1;background:color-mix(in srgb,var(--hue) 7%,var(--surface))}.ov-habit-week-days .habit-cell.future-off,.ov-habit-week-days .habit-cell.off,.ov-habit-week-days .habit-cell.outside{opacity:1;background:var(--surface-sunken);border-color:var(--border)}@media (width<=48rem){.ov-bottom,.ov-top{grid-template-columns:1fr}.ov-progress{text-align:left;flex-direction:column;align-items:flex-start}.ov-progress-ring{align-self:center}.ov-time-stats{grid-template-columns:1fr}.ov-habit-week-head{align-items:flex-start;gap:var(--space-3)}.ov-habit-week-body,.ov-habit-week-head{flex-direction:column}.ov-habit-week-divider{width:100%;height:1px}.ov-habit-week-stat{width:auto}.ov-habit-week-day-date{display:none}.ov-habit-week-days{overflow-x:auto}}.ms-list{gap:var(--space-3)}.ms,.ms-head{border-radius:14px}.ms-head{padding:var(--space-4) var(--space-5)}.ms-state{width:2.25rem;height:2.25rem;font-size:var(--text-sm)}.ms-state.not_started{background:var(--track);color:var(--text-muted)}.ms-state.empty{color:var(--text-faint);border:1.5px dashed var(--border-strong);background:0 0}.ms-state.completed{background:var(--done-600)}.ms-state.in_progress{background:var(--button-bg)}.ms-title:first-letter{text-transform:uppercase}.ms-sub{margin-top:var(--space-1)}.ms .pill.empty{box-shadow:inset 0 0 0 1px var(--border-strong);background:0 0}.ms-count{border-radius:var(--radius-pill);background:var(--track);font-size:var(--text-sm);padding:2px 10px}.ms-head .chevron{margin-left:var(--space-1)}.ms-body{--ms-indent:calc(var(--space-5) + 2.25rem + var(--space-3));padding:var(--space-3) var(--space-5) var(--space-4) var(--ms-indent);border-top:1px solid var(--border);background:color-mix(in srgb,var(--text) 2.5%,var(--surface));border-radius:0 0 13px 13px}.ms-empty{padding:var(--space-2) 0;font-size:var(--text-sm);color:var(--text-muted)}.ms-panel{margin:0}.ms-body .add-row{padding:var(--space-2) 0 0}@media (width<=40rem){.ms-body{--ms-indent:var(--space-5)}}.trow .t-title:first-letter{text-transform:uppercase}.t-cat{padding:1px var(--space-2);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:var(--text-xs)}.t-date{font-size:var(--text-sm);color:var(--text-muted);justify-content:flex-end}.add-link,.t-date{align-items:center;gap:6px;display:inline-flex}.add-link{border-radius:var(--radius-pill);color:var(--accent);font-size:var(--text-md);font-weight:var(--weight-medium);background:0 0;border:0;margin-left:-10px;padding:6px 10px}.add-link:hover{background:var(--accent-soft)}.ms .inline-form button.primary,.ms .inline-form input,.ms-new button.primary,.ms-new input{height:2.25rem}.ms .inline-form button.quiet,.ms-new button.quiet{padding:0 var(--space-2)}.ms-new{padding:var(--space-2);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;flex:1;margin:0}.ms-new input{border-color:#0000}.ms-new input:focus{border-color:var(--accent)}.ms-add{justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-3);border:1.5px dashed var(--border-strong);color:var(--text-muted);font-weight:var(--weight-medium);background:0 0;border-radius:14px;flex:1;transition:border-color .14s,color .14s,background-color .14s;display:flex}.ms-add:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}@media (width<=40rem){.goal-head-top{flex-wrap:wrap}.goal-score{text-align:left;width:100%}.goal-score .bar{width:100%;margin-left:0}}@media (prefers-reduced-motion:reduce){.ms,.ms-add{transition:none}}.status-trigger{cursor:pointer;gap:6px;transition:box-shadow .12s}.status-trigger svg{opacity:.7;margin-left:-1px}.status-trigger:hover:not(:disabled),.status-trigger[aria-expanded=true]{box-shadow:inset 0 0 0 1px}.status-trigger:disabled{opacity:.6;cursor:progress}.status-banner{--tone:var(--accent);align-items:center;gap:var(--space-3);margin:calc(var(--space-2)*-1) 0 var(--space-5);padding:var(--space-3) var(--space-3) var(--space-3) var(--space-4);border:1px solid color-mix(in srgb,var(--tone) 28%,var(--border));background:color-mix(in srgb,var(--tone) 7%,var(--surface));border-radius:12px;display:flex}.status-banner.done{--tone:var(--done-600)}.status-banner.warn{--tone:var(--warn-600)}.status-banner.muted{--tone:var(--text-muted)}.status-banner-icon{border-radius:var(--radius-pill);background:color-mix(in srgb,var(--tone) 16%,var(--surface));width:2rem;height:2rem;color:var(--tone);flex:none;place-items:center;display:grid}.status-banner strong{font-size:var(--text-md);font-weight:var(--weight-bold);display:block}.status-banner-text{font-size:var(--text-sm);color:var(--text-muted)}.status-banner button{flex:none;height:2.25rem}@media (width<=40rem){.status-banner{flex-wrap:wrap}.status-banner button{width:100%}}@media (prefers-reduced-motion:reduce){.status-trigger{transition:none}}button.secondary.with-icon{align-items:center;gap:6px;display:inline-flex}.ms-head-row{padding-right:var(--space-3);align-items:center;display:flex;position:relative}.ms-head-row .ms-head{min-width:0;padding-right:var(--space-2);flex:1}.ms-rename .inline-edit{font-size:var(--text-lg);font-weight:var(--weight-bold);padding:var(--space-1) var(--space-2)}.ms-handle{z-index:1;border-radius:var(--radius-sm);width:1.25rem;height:2rem;color:var(--text-faint);cursor:grab;touch-action:none;opacity:0;background:0 0;border:0;place-items:center;transition:opacity .12s,color .12s;display:grid;position:absolute;top:50%;left:2px;transform:translateY(-50%)}.ms-handle:focus-visible,.ms:hover .ms-handle{opacity:1}.ms-handle:hover{color:var(--text-muted);background:var(--track)}@media (hover:none){.ms-handle{opacity:1}}.ms-row.dragging{z-index:10;-webkit-user-select:none;user-select:none;position:relative}.ms-row.dragging .ms{border-color:var(--accent);box-shadow:var(--shadow-md)}.ms-row.dragging .ms-handle{opacity:1;cursor:grabbing;color:var(--accent)}@media (prefers-reduced-motion:reduce){.ms-handle{transition:none}}.task-chip{height:1.625rem;padding:0 var(--space-2);border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);white-space:nowrap;align-items:center;gap:5px;transition:border-color .12s,color .12s,background-color .12s,opacity .12s;display:inline-flex}.task-chip:hover,.task-chip[aria-expanded=true]{border-color:var(--border-strong);color:var(--text)}.task-chip-label{text-overflow:ellipsis;max-width:9rem;overflow:hidden}.task-chip.empty{color:var(--text-faint);opacity:0;background:0 0;border-style:dashed;border-color:#0000}.task-chip.empty .task-chip-label{display:none}.task-chip.empty:focus-visible,.task-chip.empty[aria-expanded=true],.trow:hover .task-chip.empty{opacity:1;border-color:var(--border-strong)}.task-chip.empty:focus-visible .task-chip-label,.task-chip.empty[aria-expanded=true] .task-chip-label,.trow:hover .task-chip.empty .task-chip-label{display:inline}@media (hover:none){.task-chip.empty{opacity:1}}.task-chip.due.overdue{color:var(--danger-600);border-color:color-mix(in srgb,var(--danger-600) 35%,var(--border));background:color-mix(in srgb,var(--danger-600) 7%,var(--surface))}.task-chip.due.today{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 35%,var(--border));background:var(--accent-soft)}.task-chip.due.late{color:var(--warn-600);border-color:color-mix(in srgb,var(--warn-600) 35%,var(--border))}.trow .t-title{flex:0 auto}.trow .row-menu:has(.task-chip.due){margin-left:auto}.menu.popover{width:17rem;padding:var(--space-3)}.popover-label{margin-bottom:var(--space-2);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-faint);text-transform:uppercase;letter-spacing:.06em}.popover-options{margin-bottom:var(--space-3);flex-wrap:wrap;gap:6px;display:flex}.menu .option-chip{border:1px solid var(--border);border-radius:var(--radius-pill);width:auto;font-size:var(--text-sm);padding:4px 10px}.menu .option-chip:hover{border-color:var(--border-strong);background:var(--track)}.menu .option-chip.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.popover-field{gap:6px;display:flex}.popover-field input{min-width:0;height:2rem;padding:0 var(--space-2);font-size:var(--text-sm);flex:1}.menu .popover-field button.primary{width:auto;height:2rem;padding:0 var(--space-3);color:#fff;background:var(--button-bg)}.menu .popover-field button.primary:hover{background:var(--button-bg-hover)}.menu .popover-field button.primary:disabled{opacity:.5}.popover-list{flex-direction:column;display:flex;position:relative}.menu .popover-list button{justify-content:space-between}.menu .popover-list button.on{color:var(--accent);background:var(--accent-soft)}.menu .popover-list .calendar-option span{align-items:center;gap:var(--space-2);display:inline-flex}.menu .popover-clear{margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--border);color:var(--text-muted);font-size:var(--text-sm);border-radius:0}.menu .popover-clear:hover{color:var(--danger-600);background:0 0}@media (width<=40rem){.trow{row-gap:var(--space-1);flex-wrap:wrap}.trow .t-title{flex:calc(100% - 3rem)}}@media (prefers-reduced-motion:reduce){.task-chip{transition:none}}.t-handle{left:calc(var(--space-6)*-1);border-radius:var(--radius-sm);width:1.25rem;height:1.75rem;color:var(--text-faint);cursor:grab;touch-action:none;opacity:0;background:0 0;border:0;place-items:center;transition:opacity .12s,color .12s;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.t-handle:focus-visible,.trow:hover .t-handle{opacity:1}.t-handle:hover{color:var(--text-muted);background:var(--track)}@media (hover:none){.t-handle{opacity:1}}.trow.dragging{z-index:10;-webkit-user-select:none;user-select:none;background:var(--surface);border-radius:var(--radius-md);box-shadow:0 0 0 1px var(--accent),var(--shadow-md)}.trow.dragging+.trow:before,.trow.dragging:before{opacity:0}.trow.dragging .t-handle{opacity:1;cursor:grabbing;color:var(--accent)}@media (width<=40rem){.t-handle{left:calc(var(--space-5)*-1)}}@media (prefers-reduced-motion:reduce){.t-handle{transition:none}}:where(.board-card,.flat-row,.filter-hue,.tray-card,.cal-block,.mg-entry,.cal-drag-ghost,.entry-head){--hue:var(--accent)}.mhue-violet{--hue:#8e51ff}.mhue-blue{--hue:#2f6fe4}.mhue-rose{--hue:#d6316c}.mhue-amber{--hue:#c07a12}.mhue-green{--hue:#1f9254}.mhue-teal{--hue:#0f8a80}.tasks-toolbar{justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.tasks-summary,.tasks-toolbar{align-items:center;display:flex}.tasks-summary{gap:var(--space-2);font-size:var(--text-sm);color:var(--text-muted)}.board{gap:var(--space-3);padding-bottom:var(--space-2);grid-template-columns:repeat(3,minmax(15rem,1fr));align-items:start;display:grid;overflow-x:auto}.board-column{--col:var(--text-faint);gap:var(--space-2);min-height:12rem;padding:var(--space-3);background:var(--bg);border:1px solid #0000;border-radius:14px;flex-direction:column;transition:border-color .12s,background-color .12s;display:flex}.board-column.in_progress{--col:var(--accent)}.board-column.completed{--col:var(--done-600)}.board-column.drop-target{border-color:color-mix(in srgb,var(--col) 55%,transparent);background:color-mix(in srgb,var(--col) 7%,var(--bg))}.board-column-head{align-items:center;gap:var(--space-2);padding:0 var(--space-1) var(--space-1);display:flex}.board-column-head h3{font-size:var(--text-md);font-weight:var(--weight-bold)}.board-dot{background:var(--col);border-radius:50%;width:8px;height:8px}.board-count{border-radius:var(--radius-pill);background:var(--track);min-width:1.35rem;color:var(--text-muted);font-size:var(--text-xs);text-align:center;padding:0 6px;line-height:1.35rem}.board-add{width:100%;height:2.25rem;padding:0 var(--space-3);border:1px dashed var(--border-strong);color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);background:0 0;border-radius:10px;align-items:center;gap:6px;display:flex}.board-add:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.board-add-form{gap:var(--space-2);padding:var(--space-2);border:1px solid var(--accent);background:var(--surface);border-radius:10px;flex-direction:column;display:flex}.board-add-form input,.board-add-form select{height:2.125rem;font-size:var(--text-sm)}.board-add-actions{justify-content:flex-end;align-items:center;gap:var(--space-2);display:flex}.board-add-actions button.primary{height:2rem;padding:0 var(--space-3);font-size:var(--text-sm)}.board-card,.board-cards{gap:var(--space-2);flex-direction:column;display:flex}.board-card{padding:var(--space-3) var(--space-3) var(--space-2) calc(var(--space-3) + 3px);background:var(--surface);cursor:grab;border:0;border-radius:10px;transition:opacity .12s;position:relative;overflow:hidden}.board-card:before{content:"";background:var(--hue);width:4px;position:absolute;top:0;bottom:0;left:0}.board-card.is-dragging{opacity:.35}.board-card-top{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:1.25rem;display:flex}.board-card-milestone{white-space:nowrap;text-overflow:ellipsis;font-size:var(--text-xs);font-weight:var(--weight-bold);color:color-mix(in srgb,var(--hue) 80%,var(--text));overflow:hidden}.board-card-milestone:first-letter{text-transform:uppercase}.card-grip{border-radius:var(--radius-sm);width:1.25rem;height:1.25rem;color:var(--text-faint);touch-action:none;opacity:0;flex:none;place-items:center;transition:opacity .12s;display:grid}.board-card:hover .card-grip{opacity:1}@media (hover:none){.card-grip{opacity:1}}.board-card-title{align-items:flex-start;gap:var(--space-2);font-weight:var(--weight-medium);line-height:1.35;display:flex}.board-card-title .check{width:1.1rem;min-width:1.1rem;max-width:1.1rem;height:1.1rem;margin-top:1px}.board-card-title span{overflow-wrap:anywhere;min-width:0}.board-card-title span:first-letter{text-transform:uppercase}.board-card.done .board-card-title span{color:var(--text-muted)}.board-card-foot{flex-wrap:wrap;align-items:center;gap:6px;min-height:1.75rem;display:flex}.board-card-foot .row-menu:has(.task-chip.due){margin-left:0}.board-card .task-chip.empty{opacity:0}.board-card .task-chip.empty:focus-visible,.board-card .task-chip.empty[aria-expanded=true],.board-card:hover .task-chip.empty{opacity:1;border-color:var(--border-strong)}.board-card:hover .task-chip.empty .task-chip-label{display:inline}@media (hover:none){.board-card .task-chip.empty{opacity:1}}.board-empty{padding:var(--space-5) var(--space-3);border:1px dashed var(--border);text-align:center;font-size:var(--text-sm);color:var(--text-faint);border-radius:10px}.board-ghost{z-index:90;pointer-events:none;cursor:grabbing;box-shadow:var(--shadow-md);border-color:color-mix(in srgb,var(--hue) 50%,var(--border));position:fixed;transform:rotate(1.5deg)}.tasks-flat{padding:var(--space-1) var(--space-4);border:1px solid var(--border);background:var(--surface);border-radius:14px}.flat-row .t-title{flex:0 auto}.flat-milestone{white-space:nowrap;text-overflow:ellipsis;max-width:11rem;padding:1px var(--space-2);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--hue) 12%,var(--surface));color:color-mix(in srgb,var(--hue) 80%,var(--text));font-size:var(--text-xs);font-weight:var(--weight-medium);overflow:hidden}.tasks-flat .board-empty{border:0}@media (width<=48rem){.board{scroll-snap-type:x mandatory;grid-template-columns:repeat(3,minmax(16rem,85%))}.board-column{scroll-snap-align:start}}@media (prefers-reduced-motion:reduce){.board-card,.board-column,.card-grip{transition:none}.board-ghost{transform:none}}.tasks-filters{margin:calc(var(--space-2)*-1) 0 var(--space-4);flex-wrap:wrap;align-items:center;gap:6px;display:flex}.filter-search{height:2rem;padding:0 var(--space-3);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-faint);border:1px solid #0000;align-items:center;gap:6px;margin:0;display:inline-flex}.filter-search:hover{border-color:var(--border-strong)}.filter-search:focus-within{border-color:var(--accent);box-shadow:var(--ring)}.filter-search input{width:9rem;height:100%;font-size:var(--text-sm);background:0 0;border:0;padding:0}.filter-search input:focus{box-shadow:none}.filter-chip{height:2rem;padding:0 var(--space-3);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);white-space:nowrap;border:1px solid #0000;align-items:center;gap:6px;display:inline-flex}.filter-chip:hover,.filter-chip[aria-expanded=true]{border-color:var(--border-strong);color:var(--text)}.filter-chip.on{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));background:var(--accent-soft);color:var(--accent)}.filter-chip-value{text-overflow:ellipsis;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--accent) 16%,transparent);max-width:9rem;font-size:var(--text-xs);padding:0 6px;overflow:hidden}.filters-clear{height:2rem;padding:0 var(--space-2);color:var(--text-muted);font-size:var(--text-sm);background:0 0;border:0;align-items:center;gap:4px;display:inline-flex}.filters-clear:hover{color:var(--danger-600)}.menu.filter-popover{width:16rem}.filter-options{flex-direction:column;max-height:16rem;display:flex;overflow-y:auto}.menu .filter-option{gap:var(--space-2)}.menu .filter-option.on{color:var(--text)}.filter-option-label{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.filter-option-label:first-letter{text-transform:uppercase}.filter-tick{color:var(--accent)}.filter-box{border:1.5px solid var(--border-strong);color:#fff;border-radius:4px;flex:none;place-items:center;width:1rem;height:1rem;display:grid}.filter-option.on .filter-box{border-color:var(--accent);background:var(--accent)}.filter-hue{background:var(--hue);border-radius:50%;flex:none;width:8px;height:8px}.board-empty .link-button{margin:var(--space-2) auto 0;font-size:var(--text-sm);display:block}@media (width<=40rem){.filter-search{flex:100%}.filter-search input{width:100%}}.link-button{color:var(--accent);font-weight:var(--weight-medium);background:0 0;border:0;padding:0}.link-button:hover{color:var(--accent-hover);text-decoration:underline}.tabs{scrollbar-width:none;box-shadow:inset 0 -1px 0 var(--border);border-bottom:0;overflow:auto hidden}.tabs .tab{margin-bottom:0}.tabs::-webkit-scrollbar{display:none}.tab{white-space:nowrap;flex:none}.drawer-foot{padding-bottom:max(var(--space-3),env(safe-area-inset-bottom))}.board.dragging{scroll-snap-type:none}@media (width<=40rem){.goal-head-main{gap:var(--space-3)}.goal-head .goal-icon{border-radius:12px;width:2.75rem;height:2.75rem}.goal-head .goal-title{font-size:1.375rem}.goal-score{min-width:0}.ms-head{padding:var(--space-3) var(--space-2) var(--space-3) var(--space-5);gap:var(--space-2)}.ms-count{padding:2px 8px}.tasks-toolbar{flex-wrap:wrap}.tasks-flat{padding:var(--space-1) var(--space-3)}.board{gap:var(--space-2);margin:0 calc(var(--space-4)*-1);padding:0 var(--space-4) var(--space-2);scroll-padding:0 var(--space-4);grid-template-columns:repeat(3,minmax(15rem,86%))}.board-column{min-height:8rem}}@media (pointer:coarse){input,select,textarea{font-size:16px!important}.title-input{font-size:1.625rem!important}.task-chip{height:2rem;padding:0 10px}.filter-chip,.filter-search,.t-menu{height:2.5rem}.t-menu{width:2.5rem}.menu button{padding-block:10px}.view-switch button{width:2.25rem;height:2.25rem}.card-grip{width:2rem;height:2rem}.ms-handle,.t-handle{width:1.5rem}}.shell{grid-template-columns:var(--rail-width) minmax(0,1fr)}.content{min-width:0}:root{--chrome:0px}:root[data-rail=right] .shell{grid-template-columns:minmax(0,1fr) var(--rail-width)}:root[data-rail=right] .rail{border-right:0;border-left:1px solid var(--border);order:2}:root[data-rail=bottom] .shell,:root[data-rail=top] .shell{--chrome:3.5rem;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}:root[data-rail=bottom] .rail,:root[data-rail=top] .rail{align-items:center;gap:var(--space-1);min-width:0;height:auto;padding:var(--space-1) var(--space-3);border-right:0;border-bottom:1px solid var(--border);flex-direction:row}:root[data-rail=bottom] .rail-mark,:root[data-rail=top] .rail-mark{align-items:center;gap:var(--space-2);width:auto;height:2.25rem;margin:0 var(--space-2) 0 0;display:flex}:root[data-rail=bottom] .rail-mark img,:root[data-rail=top] .rail-mark img{width:2rem;height:2rem}:root[data-rail=bottom] .rail-mark .brand-name,:root[data-rail=top] .rail-mark .brand-name{color:var(--text);display:block}:root[data-rail=bottom] .rail-center,:root[data-rail=top] .rail-center{display:contents}:root[data-rail=bottom] .rail-links,:root[data-rail=top] .rail-links{align-items:center;gap:var(--space-1);margin:0 auto;display:flex}:root[data-rail=bottom] .rail-item,:root[data-rail=top] .rail-item{width:auto;min-width:0;padding:2px var(--space-3);flex:none}:root[data-rail=bottom] .rail-bottom,:root[data-rail=top] .rail-bottom{gap:var(--space-2);flex-direction:row;flex:none;margin-top:0}:root[data-rail=bottom] .rail-bottom .rail-item,:root[data-rail=top] .rail-bottom .rail-item{flex:none;width:2.25rem}:root[data-rail=bottom] .avatar,:root[data-rail=top] .avatar{width:2.25rem;height:2.25rem;font-size:var(--text-xs)}:root[data-rail=bottom] .avatar-trigger,:root[data-rail=top] .avatar-trigger{width:auto;padding:var(--space-1)}:root[data-rail=bottom] .avatar-name,:root[data-rail=top] .avatar-name{display:none}:root[data-rail=bottom] .shell{grid-template-rows:minmax(0,1fr) auto}:root[data-rail=bottom] .rail{border-bottom:0;border-top:1px solid var(--border);padding-bottom:max(var(--space-2),env(safe-area-inset-bottom));order:2;top:auto;bottom:0}@media (width<=52rem){.shell{grid-template-columns:minmax(0,1fr)}.rail{min-width:0}.avatar{font-size:var(--text-xs)}}.board-card-top .card-grip{margin-left:auto}.board-card-top .t-menu{width:1.75rem;height:1.75rem;margin:-4px -6px -4px 0}button.rail-item{font:inherit;background:0 0;border:0}button.rail-item:hover{background:var(--track)}@media (width<=40rem){.flat-row .t-title,.trow .t-title{flex:calc(100% - 3rem);min-width:0}.trow .row-menu:has(.task-chip.due){margin-left:0}.trow>.row-menu:last-child{margin-left:auto}.flat-row,.ms-panel .trow{padding-left:calc(1.25rem + var(--space-3))}.flat-row>.check,.ms-panel .trow>.check{margin-left:calc((1.25rem + var(--space-3))*-1)}}.priority-bars{--tone:var(--text-faint);flex:none;align-items:flex-end;gap:2px;height:12px;display:inline-flex}.priority-bars>span{background:color-mix(in srgb,var(--text) 18%,transparent);border-radius:1px;width:3px}.priority-bars>span:first-child{height:5px}.priority-bars>span:nth-child(2){height:8px}.priority-bars>span:nth-child(3){height:12px}.priority-bars>span.on{background:var(--tone)}.priority-bars.high{--tone:var(--danger-600)}.priority-bars.medium{--tone:var(--warn-600)}.priority-bars.low{--tone:#4f8ad9}.goal-priority{gap:5px}.goal-priority,.priority-trigger{align-items:center;display:inline-flex}.priority-trigger{height:1.5rem;padding:0 var(--space-2);border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);gap:6px}.priority-trigger:hover,.priority-trigger[aria-expanded=true]{border-color:var(--border-strong);color:var(--text)}.priority-trigger svg{opacity:.7}.menu .priority-menu-item.on{color:var(--accent);background:var(--accent-soft)}.priority-options{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.priority-option{justify-content:center;align-items:center;gap:var(--space-2);border:1px solid var(--border);background:var(--surface);height:2.5rem;color:var(--text-muted);font-size:var(--text-md);font-weight:var(--weight-medium);cursor:pointer;border-radius:12px;margin:0;transition:border-color .14s,background-color .14s,color .14s;display:flex}.priority-option:hover{border-color:var(--border-strong);color:var(--text)}.priority-option.on{color:var(--text);border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.priority-option:has(input:focus-visible){box-shadow:inset 0 0 0 1px var(--accent),var(--ring)}@media (pointer:coarse){.priority-trigger{height:2rem}}@media (prefers-reduced-motion:reduce){.priority-option{transition:none}}.goal-title-edit{border-radius:var(--radius-sm);color:inherit;font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer;background:0 0;border:0;margin:0;padding:0;transition:color .12s;display:inline}.goal-title-edit:hover{color:color-mix(in srgb,var(--text) 82%,var(--accent))}.goal-title-pencil{margin-left:var(--space-2);vertical-align:.05em;color:var(--text-faint);opacity:0;transition:opacity .12s}.goal-title-edit:focus-visible .goal-title-pencil,.goal-title-edit:hover .goal-title-pencil{opacity:1}@media (hover:none){.goal-title-pencil{opacity:.6}}@media (prefers-reduced-motion:reduce){.goal-title-edit,.goal-title-pencil{transition:none}}.page-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.page-actions button.secondary{height:2.25rem}.count-badge{border-radius:var(--radius-pill);background:var(--track);min-width:1.25rem;color:var(--text-muted);font-size:var(--text-xs);text-align:center;padding:0 6px;line-height:1.25rem}.back-link{margin:0 0 var(--space-2) -2px;color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.back-link:hover{color:var(--accent)}.flip{transform:scaleX(-1)}.pill.archived{background:var(--track);color:var(--text-muted)}@media (width<=40rem){.page-actions{width:100%}.page-actions button{flex:1;justify-content:center}}.desc-input{width:100%;margin-top:calc(var(--space-4)*-1);resize:none;font:inherit;font-size:var(--text-md);color:var(--text-muted);field-sizing:content;background:0 0;border:0;min-height:1.5rem;padding:0;line-height:1.5}.desc-input::placeholder{color:var(--text-faint)}.desc-input:focus{box-shadow:none;color:var(--text);outline:none}.goal-desc{margin-top:var(--space-2);max-width:46rem;font-size:var(--text-md);color:var(--text-muted);white-space:pre-line;-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.t-title-button{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline}.t-title-button:first-letter{text-transform:uppercase}.t-title-button:hover{color:var(--accent)}.t-notes-icon{vertical-align:-1px;color:var(--text-faint);margin-left:4px}.board-card{cursor:pointer}.board-card:active{cursor:grabbing}.task-notes{margin-top:calc(var(--space-4)*-1);min-height:4.5rem}.segmented.three{grid-template-columns:repeat(3,minmax(0,1fr))}.segmented.four{grid-template-columns:repeat(4,minmax(0,1fr))}.segmented.five{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:2px}.segmented .segment.on.in_progress{color:var(--accent)}.segmented .segment.on.completed{color:var(--done-600)}.sheet-input,.sheet-select{border-radius:10px;height:2.5rem}label.sheet-label{margin:0}.option-row{flex-wrap:wrap;gap:6px;display:flex}.option-pill{height:2rem;padding:0 var(--space-3);border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium)}.option-pill:hover{border-color:var(--border-strong);color:var(--text)}.option-pill.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.due-field{align-items:center;gap:var(--space-3);display:flex}.due-field .sheet-input{max-width:12rem}.ai-thinking{text-align:center;align-items:center;gap:var(--space-2);padding:var(--space-7) var(--space-4);flex-direction:column;display:flex}.ai-thinking-icon{background:var(--accent-soft);width:3.5rem;height:3.5rem;color:var(--accent);border-radius:50%;place-items:center;animation:1.6s ease-in-out infinite ai-pulse;display:grid}.ai-thinking-text{font-size:var(--text-md);font-weight:var(--weight-medium)}@keyframes ai-pulse{0%,to{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.ai-thinking-icon{animation:none}}.ai-prompt-field{position:relative}.ai-char-count{right:var(--space-3);bottom:var(--space-2);font-size:var(--text-xs);color:var(--text-faint);position:absolute}.ai-empty-state{align-items:flex-start;gap:var(--space-4);padding-top:var(--space-4);flex-direction:column;display:flex}.ai-empty-avatar{background:var(--accent-soft);width:3.5rem;height:3.5rem;color:var(--accent);border-radius:50%;place-items:center;display:grid}.ai-empty-title{font-size:var(--text-xl);font-weight:var(--weight-bold)}.ai-suggestions{flex-direction:column;width:100%;display:flex}.ai-suggestion-row{align-items:center;gap:var(--space-3);width:100%;padding:var(--space-2) var(--space-2);border-radius:var(--radius-sm);color:var(--text);font-size:var(--text-sm);text-align:left;background:0 0;border:0;display:flex}.ai-suggestion-row:hover{background:var(--surface-sunken)}.ai-suggestion-icon{border-radius:var(--radius-sm);background:var(--track);width:1.75rem;height:1.75rem;color:var(--text-muted);flex:none;place-items:center;display:grid}.ai-plan-editor{gap:var(--space-6);flex-direction:column;display:flex}.ai-fab{right:var(--space-6);bottom:var(--space-6);z-index:50;border:1px solid var(--border);background:var(--surface);width:3.5rem;height:3.5rem;box-shadow:var(--shadow-md);border-radius:50%;place-items:center;transition:transform .12s,border-color .12s;display:grid;position:fixed}.ai-fab:hover{border-color:var(--accent);transform:scale(1.06)}.ai-fab:active{transform:scale(.96)}@media (width<=52rem){.ai-fab{right:var(--space-4);bottom:calc(5rem + env(safe-area-inset-bottom))}}.ai-field{border-radius:var(--radius-sm);color:inherit;font:inherit;background:0 0;border:1px solid #0000;padding:3px 6px;transition:background-color .12s,border-color .12s}.ai-field:hover{background:var(--surface-sunken)}.ai-field:focus{background:var(--surface);border-color:var(--accent);box-shadow:var(--ring);outline:none}.ai-field::placeholder{color:var(--text-faint)}.ai-milestone{border-radius:var(--radius-md)}.ai-milestone+.ai-milestone{margin-top:var(--space-1)}.ai-milestone-head{padding:var(--space-2) 0}.ai-milestone-head,.ai-milestone-toggle{align-items:center;gap:var(--space-2);display:flex}.ai-milestone-toggle{border-radius:var(--radius-sm);background:0 0;border:0;flex:none;padding:4px}.ai-milestone-toggle:hover{background:var(--surface-sunken)}.ai-milestone-chevron{color:var(--text-faint);transition:transform .15s;transform:rotate(-90deg)}.ai-milestone-chevron.open{transform:rotate(0)}.ai-milestone-num{background:var(--track);width:1.5rem;height:1.5rem;color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);border-radius:50%;place-items:center;display:grid}.ai-milestone-title{min-width:0;font-size:var(--text-md);font-weight:var(--weight-bold);flex:1}.ai-task-count{font-size:var(--text-xs);color:var(--text-faint);flex:none}.ai-row-delete{opacity:0;flex:none}.ai-milestone-head:hover .ai-row-delete,.ai-row-delete:focus-visible,.ai-task-row:hover .ai-row-delete{opacity:1}@media (hover:none){.ai-row-delete{opacity:1}}.ai-chip{border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--text-muted);flex:none;align-items:center;gap:4px;padding:2px 6px;display:inline-flex}.ai-chip,.ai-chip-input{font-size:var(--text-xs)}.ai-chip-input{width:4.5rem;height:1.25rem;padding:0}.ai-chip-input:focus,.ai-chip-input:hover{background:0 0}.ai-task-kind{width:5.5rem}.ai-task-minutes{width:2.5rem}.ai-chip-input::-webkit-calendar-picker-indicator{opacity:.6}.ai-task-row{align-items:flex-start;gap:var(--space-2);margin-left:2.25rem;padding:4px 0;display:flex}.ai-task-dot{background:var(--border-strong);border-radius:50%;flex:none;width:5px;height:5px;margin-top:12px}.ai-task-body{flex:1;min-width:0}.ai-task-title{width:100%;display:block}.ai-task-chips{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.ai-add-task{font-size:var(--text-sm);margin-top:2px;margin-left:2.25rem}@media (width<=30rem){.ai-add-task,.ai-task-row{margin-left:var(--space-4)}}.ai-confirm-progress{flex-direction:column;gap:6px;display:flex}.ai-confirm-progress .bar>span{background:var(--accent)}.ai-dropzone{position:relative}.ai-dropzone-overlay{inset:var(--space-2);z-index:10;justify-content:center;align-items:center;gap:var(--space-2);border:2px dashed var(--accent);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--accent);font-size:var(--text-sm);font-weight:var(--weight-medium);pointer-events:none;flex-direction:column;display:flex;position:absolute}.ai-chat-body{gap:var(--space-4)}.ai-chat-toolbar{justify-content:flex-end;display:flex}.ai-new-chat{opacity:.7}.ai-new-chat:hover{opacity:1}.ai-msg{flex-direction:column;animation:.16s ease-out toast-in;display:flex}.ai-msg-user{align-items:flex-end}.ai-msg-assistant{align-items:stretch;gap:var(--space-2)}@media (prefers-reduced-motion:reduce){.ai-msg{animation:none}}.ai-bubble-user{max-width:85%;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--accent-soft);color:var(--text);font-size:var(--text-sm);flex-direction:column;align-items:flex-end;gap:4px;display:flex}.ai-bubble-user p{white-space:pre-wrap;margin:0}.ai-file-chip{font-size:var(--text-xs);color:var(--text-faint);align-items:center;gap:4px;display:inline-flex}.ai-msg-assistant-head{align-items:center;display:flex}.ai-msg-avatar{border-radius:var(--radius-pill);background:var(--accent-soft);width:1.5rem;height:1.5rem;color:var(--accent);justify-content:center;align-items:center;display:inline-flex}.ai-msg-text{font-size:var(--text-sm);margin:0}.ai-plan-cta{margin-top:var(--space-2);align-self:flex-start}.ai-chat-foot{padding-left:var(--space-6);padding-right:var(--space-6);align-items:stretch}.ai-chat-foot,.ai-chat-input-card{gap:var(--space-2);flex-direction:column}.ai-chat-input-card{border-radius:var(--radius-lg);background:var(--surface);padding:var(--space-3);border:1px solid #0000;display:flex}.ai-chat-input-card:focus-within{border-color:var(--accent);box-shadow:var(--ring)}.ai-file-staged{padding:2px var(--space-2);border-radius:var(--radius-pill);background:var(--surface-sunken);font-size:var(--text-xs);color:var(--text-faint);align-self:flex-start;align-items:center;gap:6px;display:inline-flex}.ai-file-staged-remove{width:1.25rem;height:1.25rem}.ai-chat-textarea{resize:none;width:100%;min-height:1.5rem;max-height:8rem;font-size:var(--text-sm);font:inherit;background:0 0;border:0;padding:0;line-height:1.4;overflow-y:auto}.ai-chat-textarea:focus,.ai-chat-textarea:focus-visible{box-shadow:none;outline:none}.ai-chat-toolbar-row{align-items:center;gap:var(--space-2);display:flex}.ai-chat-toolbar-spacer{flex:1}.ai-chat-toolbar-row .icon-button,.primary.icon-button.ai-send,.primary.icon-button.ai-stop{width:2rem;height:2rem;padding:0}.ai-send{background:var(--accent);color:var(--surface);border-radius:var(--radius-pill);flex:none}.ai-send:disabled{opacity:.45}.ai-stop{background:var(--danger-600);color:#fff;border-radius:var(--radius-pill);flex:none}.ghost-button.danger-ghost{color:var(--text-muted);align-items:center;gap:6px;display:inline-flex}.ghost-button.danger-ghost:hover{color:var(--danger-600);background:var(--danger-50)}.ms-head-row .ms-due{flex:none}.ms-expand{align-items:center;gap:var(--space-2);height:2.25rem;padding:0 var(--space-2);border-radius:var(--radius-pill);color:inherit;background:0 0;border:0;display:inline-flex}.ms-expand:hover .ms-count{background:color-mix(in srgb,var(--text) 14%,transparent)}.ms-head-row .ms-due .task-chip.empty{opacity:0}.ms-due .task-chip.empty:focus-visible,.ms-due .task-chip.empty[aria-expanded=true],.ms:hover .ms-due .task-chip.empty{opacity:1;border-color:var(--border-strong)}.ms:hover .ms-due .task-chip.empty .task-chip-label{display:inline}@media (hover:none){.ms-head-row .ms-due .task-chip.empty{opacity:1}}.ms-head-meta{display:contents}@media (width<=40rem){.ms-head-row{flex-wrap:wrap}.ms-head-meta{justify-content:flex-end;align-items:center;gap:var(--space-2);margin:var(--space-2) 0 0 calc(var(--space-5) + 2.25rem + var(--space-2));flex:100%;display:flex}}.container.wide{max-width:none}.cal-page{--cal-gap:var(--space-4);gap:var(--cal-gap);height:calc(100dvh - var(--space-6)*2 - var(--chrome,0px));grid-template-columns:18rem minmax(0,1fr);min-height:36rem;display:grid}.cal-tray{scrollbar-width:thin;min-height:0;overflow-y:auto}.cal-main{flex-direction:column;min-width:0;min-height:0;display:flex}.cal-tray-toggle{display:none}.tray-head{align-items:center;gap:var(--space-2);min-height:1.75rem;margin:var(--space-1) 0 var(--space-3);display:flex}.tray-head h2{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:-.01em}.tray-filters{gap:var(--space-2);margin-bottom:var(--space-4);flex-direction:column;display:flex}.tray-search{border-radius:10px;width:100%;height:2.25rem}.tray-search input{font-size:var(--text-sm)}.tray-chips{gap:var(--space-2);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.tray-chips .row-menu{min-width:0;display:block}.tray-chips .filter-chip{width:100%;height:2.125rem;padding:0 var(--space-2) 0 10px;font-size:var(--text-sm);border-radius:10px}.tray-chips .filter-chip>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.tray-chips .filter-chip>svg{flex:none}.tray-chips .filter-chip>svg:last-child{opacity:.7;flex:none;margin-left:auto}.tray-chips .filter-chip.on>span:first-of-type{display:none}.tray-chips .filter-chip-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:none;font-size:var(--text-sm);background:0 0;flex:0 auto;padding:0;overflow:hidden}.tray-clear{height:auto;font-size:var(--text-xs);margin-left:auto;padding:2px 0}.tray-empty .link-button{font-size:var(--text-sm);margin-left:auto}.tray-search input{width:100%}.tray-hint{margin-bottom:var(--space-3);padding:var(--space-2) var(--space-3);background:var(--accent-soft);color:var(--text);font-size:var(--text-sm);border-radius:10px}.tray-hint .link-button{font-size:var(--text-sm);margin-left:4px}.cal-tray.drop-target{outline:2px dashed var(--accent);outline-offset:-4px;background:var(--accent-soft);border-radius:12px}.tray-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.tray-card{padding:var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 3px);background:var(--surface);cursor:grab;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:12px;transition:border-color .12s,opacity .12s;position:relative;overflow:hidden}.tray-card:before{content:"";background:color-mix(in srgb,var(--hue) 70%,transparent);width:3px;position:absolute;top:0;bottom:0;left:0}.tray-card:focus-visible{box-shadow:var(--ring)}.tray-card.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--accent-soft)}.tray-card.dragging{opacity:.45}.tray-card:has(.skeleton){cursor:default;border-style:dashed}.tray-title{font-weight:var(--weight-medium);line-height:1.35}.tray-title:first-letter{text-transform:uppercase}.tray-goal{gap:6px;min-width:0;margin-top:2px}.tray-goal,.tray-meta{font-size:var(--text-xs);color:var(--text-muted);align-items:center;display:flex}.tray-meta{margin-top:var(--space-2);flex-wrap:wrap;gap:4px}.tray-meta .overdue{color:var(--danger-600);font-weight:var(--weight-medium)}.tray-status{border-radius:var(--radius-pill);background:var(--track);margin-left:auto;padding:1px 7px}.tray-status.in_progress{background:var(--accent-soft);color:var(--accent)}.tray-dot{background:var(--hue,var(--accent));border-radius:50%;flex:none;width:7px;height:7px}.tray-empty{gap:var(--space-2);padding:var(--space-4) var(--space-3);border:1px dashed var(--border);font-size:var(--text-sm);color:var(--text-muted);border-radius:12px;list-style:none;display:flex}.tray-empty svg{color:var(--done-600);flex:none;margin-top:2px}.cal-toolbar{justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap}.cal-nav,.cal-toolbar{align-items:center;display:flex}.cal-nav{gap:var(--space-1);min-width:0}.cal-today{height:2.25rem;margin-right:var(--space-1)}.cal-title{margin-left:var(--space-2);font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:-.015em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cal-title:first-letter{text-transform:uppercase}.segmented.cal-views{grid-template-columns:repeat(3,minmax(0,auto))}.segmented.cal-views .segment{padding:0 var(--space-3)}.segmented.cal-views .segment.on{color:var(--accent)}.segmented.two{grid-template-columns:repeat(2,minmax(0,1fr))}.cal-surface{flex:1;min-height:0;transition:opacity .15s;display:flex}.cal-surface.loading{opacity:.7}.tg{--gutter:3.5rem;border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.tg-head{grid-template-columns:var(--gutter) repeat(var(--days,7),minmax(0,1fr));border-bottom:1px solid var(--border);display:grid}.tg:not(.single) .tg-head{--days:7}.tg.single .tg-head{--days:1}.tg-gutter{border-right:1px solid #0000}.tg-dayhead{border:0;border-left:1px solid var(--border);height:3rem;color:var(--text-muted);font-size:var(--text-sm);background:0 0;justify-content:center;align-items:center;gap:6px;padding:0;display:flex}.tg:not(.single) .tg-dayhead:hover{background:var(--track);color:var(--text)}.tg.single .tg-dayhead{cursor:default;padding-left:var(--space-4);justify-content:flex-start}.tg-dnum{border-radius:var(--radius-pill);min-width:1.9rem;height:1.9rem;font-size:var(--text-md);font-weight:var(--weight-bold);color:var(--text);place-items:center;display:grid}.tg-dayhead.today{color:var(--accent)}.tg-dayhead.today .tg-dnum{background:var(--accent);color:#fff}.tg-body{scrollbar-width:thin;flex:1;min-height:0;overflow:hidden auto}.tg-canvas{grid-template-columns:var(--gutter) minmax(0,1fr);display:grid}.tg-canvas,.tg-hours{position:relative}.tg-hours span{right:var(--space-2);color:var(--text-faint);font-size:.6875rem;position:absolute;transform:translateY(-50%)}.tg-cols{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.tg-col{border-left:1px solid var(--border);background-image:linear-gradient(to bottom,var(--border) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,var(--border) 45%,transparent) 1px,transparent 1px);background-size:100% var(--hour),100% var(--hour);background-position:0 0,0 calc(var(--hour)/2);cursor:cell;position:relative}.tg-col.today{background-color:color-mix(in srgb,var(--accent) 3%,transparent)}.tg-now{z-index:3;pointer-events:none;height:2px;left:-1px;right:0}.tg-now,.tg-now:before{background:var(--accent);position:absolute}.tg-now:before{content:"";border-radius:50%;width:10px;height:10px;top:-4px;left:-4px}.cal-block{z-index:2;background:color-mix(in srgb,var(--hue) 13%,var(--surface));box-shadow:inset 3px 0 0 color-mix(in srgb,var(--hue) 75%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--hue) 18%,transparent);color:var(--text);text-align:left;cursor:grab;border:0;border-radius:8px;flex-direction:column;align-items:flex-start;gap:1px;padding:4px 6px 4px 8px;transition:box-shadow .12s,opacity .12s;display:flex;position:absolute;overflow:hidden}.cal-block:hover{box-shadow:inset 3px 0 0 var(--hue),inset 0 0 0 1px color-mix(in srgb,var(--hue) 40%,transparent)}.cal-block:focus-visible{box-shadow:inset 3px 0 0 var(--hue),var(--ring)}.cal-block-title{max-width:100%;font-size:var(--text-xs);font-weight:var(--weight-bold);align-items:center;gap:3px;line-height:1.25;display:flex;overflow:hidden}.cal-block-title:first-letter{text-transform:uppercase}.cal-block-time{color:var(--text-muted);white-space:nowrap;font-size:.6875rem}.cal-block.short{flex-direction:row;align-items:center;gap:6px;padding-block:1px}.cal-block.short .cal-block-title{white-space:nowrap;text-overflow:ellipsis}.cal-block.done{opacity:.6}.cal-block.done .cal-block-title{text-decoration:line-through;-webkit-text-decoration-color:color-mix(in srgb,var(--text) 40%,transparent);text-decoration-color:color-mix(in srgb,var(--text) 40%,transparent)}.cal-block.ghosted{opacity:.3}.cal-block.pending{opacity:.75}.cal-block-event-mark{color:color-mix(in srgb,var(--hue) 70%,transparent);opacity:.7;display:flex;position:absolute;bottom:3px;right:4px}.cal-block-resize{cursor:ns-resize;touch-action:none;height:8px;position:absolute;bottom:0;left:0;right:0}.cal-block-resize:after{content:"";background:color-mix(in srgb,var(--hue) 55%,transparent);opacity:0;border-radius:2px;width:18px;height:3px;transition:opacity .12s;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.cal-block:hover .cal-block-resize:after{opacity:1}.cal-block.preview{z-index:4;background:color-mix(in srgb,var(--accent) 16%,var(--surface));box-shadow:inset 0 0 0 1.5px var(--accent);pointer-events:none;left:2px;right:2px}.cal-block.preview .cal-block-time{color:var(--accent);font-weight:var(--weight-medium)}.calendar-dragging,.calendar-dragging *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.cal-drag-ghost{z-index:95;max-width:15rem;padding:var(--space-2) var(--space-3);background:var(--surface);box-shadow:inset 3px 0 0 var(--hue),0 0 0 1px var(--border),var(--shadow-md);font-size:var(--text-xs);pointer-events:none;border-radius:10px;flex-direction:column;gap:2px;display:flex;position:fixed}.cal-drag-ghost strong{font-size:var(--text-sm)}.cal-drag-ghost span{color:var(--text-muted)}.cal-drag-ghost.placed span{color:var(--accent);font-weight:var(--weight-medium)}.cal-drag-ghost.removing{box-shadow:inset 3px 0 0 var(--danger-600),0 0 0 1px var(--border),var(--shadow-md)}.cal-drag-ghost.removing span{color:var(--danger-600);font-weight:var(--weight-medium)}.mg{background:var(--surface);border:0;border-radius:14px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.mg-weekdays{border-bottom:1px solid var(--border);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.mg-weekdays span{padding:var(--space-2) var(--space-3);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-muted)}.mg-days{flex:1;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(5.5rem,1fr);display:grid;overflow-y:auto}.mg-cell{min-width:0;padding:var(--space-1) var(--space-2) var(--space-2);border-right:1px solid var(--border);border-bottom:1px solid var(--border);cursor:pointer;flex-direction:column;gap:3px;display:flex}.mg-cell:nth-child(7n){border-right:0}.mg-cell:hover{background:color-mix(in srgb,var(--text) 2.5%,transparent)}.mg-cell:focus-visible{box-shadow:inset var(--ring)}.mg-cell.outside{background:color-mix(in srgb,var(--text) 2%,transparent)}.mg-cell.outside .mg-num{color:var(--text-faint)}.mg-cell.drop-target{background:var(--accent-soft);box-shadow:inset 0 0 0 1.5px var(--accent)}.mg-num{border-radius:var(--radius-pill);min-width:1.6rem;height:1.6rem;font-size:var(--text-sm);font-weight:var(--weight-medium);align-self:flex-start;place-items:center;display:grid}.mg-cell.today .mg-num{background:var(--accent);color:#fff}.mg-entry{background:color-mix(in srgb,var(--hue) 13%,var(--surface));width:100%;box-shadow:inset 2px 0 0 color-mix(in srgb,var(--hue) 75%,transparent);color:var(--text);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:grab;border:0;border-radius:5px;padding:1px 6px;font-size:.6875rem;line-height:1.5;display:block;overflow:hidden}.mg-entry .num{color:var(--text-muted)}.mg-entry.done{opacity:.6;text-decoration:line-through}.mg-entry.ghosted{opacity:.3}.mg-entry.is-event{font-style:italic}.mg-more{color:var(--text-muted);padding-left:6px;font-size:.6875rem}.side-card{padding:var(--space-4);background:var(--surface);border:0;border-radius:14px}.side-card h3{font-size:var(--text-md);font-weight:var(--weight-bold)}.side-card h3:first-letter{text-transform:uppercase}.mini-head{margin-bottom:var(--space-2);justify-content:space-between;align-items:center;display:flex}.mini-nav{gap:2px;display:flex}.mini-nav .icon-button{width:1.75rem;height:1.75rem}.mini-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.mini-weekday{color:var(--text-faint);padding-bottom:4px;font-size:.6875rem}.mini-day{aspect-ratio:1;border-radius:var(--radius-pill);max-width:100%;color:var(--text);font-size:var(--text-xs);background:0 0;border:0;place-items:center;display:grid;position:relative}.mini-day:hover{background:var(--track)}.mini-day.outside{color:var(--text-faint)}.mini-day.today{color:var(--accent);font-weight:var(--weight-bold)}.mini-day.selected{background:var(--accent);color:#fff;font-weight:var(--weight-bold)}.mini-day.marked:after{content:"";background:var(--accent);border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px}.mini-day.selected.marked:after{background:#fff}.timeflow-head{justify-content:space-between;align-items:baseline;display:flex}.timeflow-head span{font-size:var(--text-lg);font-weight:var(--weight-bold)}.timeflow-range{margin:2px 0 var(--space-3);font-size:var(--text-xs);color:var(--text-muted)}.timeflow-rows{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.timeflow-rows li{font-size:var(--text-sm);grid-template-columns:1fr auto;row-gap:5px;display:grid}.timeflow-label{align-items:center;gap:6px;display:flex}.timeflow-value{font-weight:var(--weight-medium)}.timeflow-bar{border-radius:var(--radius-pill);background:var(--track);grid-column:1/-1;height:5px;overflow:hidden}.timeflow-bar span{border-radius:inherit;background:color-mix(in srgb,var(--hue) 60%,transparent);height:100%;display:block}.timeflow-empty{font-size:var(--text-sm);color:var(--text-muted)}.when-grid{gap:var(--space-2);grid-template-columns:1.4fr 1fr 1fr;display:grid}.when-field{font-size:var(--text-xs);color:var(--text-muted);flex-direction:column;gap:4px;margin:0;display:flex}.entry-head{padding-left:var(--space-3);box-shadow:inset 3px 0 0 color-mix(in srgb,var(--hue) 70%,transparent)}.entry-title{font-size:1.375rem;font-weight:var(--weight-bold);letter-spacing:-.015em;line-height:1.25}.entry-title:first-letter{text-transform:uppercase}.entry-context{align-items:center;gap:6px;margin-top:4px;display:flex}.entry-context,.entry-notes{font-size:var(--text-sm);color:var(--text-muted)}.entry-notes{margin-top:var(--space-3);white-space:pre-line}.entry-link{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--accent);align-self:flex-start;align-items:center;gap:4px;display:inline-flex}.entry-link:hover{text-decoration:underline}@media (width<=80rem){.cal-page{grid-template-columns:15.5rem minmax(0,1fr)}}@media (width<=52rem){.cal-page{grid-template-rows:auto;grid-template-columns:minmax(0,1fr);height:auto}.cal-tray{overflow:visible}.cal-tray-toggle{width:100%;height:2.75rem;padding:0 var(--space-3);border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:var(--weight-medium);border-radius:12px;justify-content:space-between;align-items:center;display:flex}.cal-tray .tray{margin-top:var(--space-2);display:none}.cal-tray.open .tray{display:block}.cal-tray .tray-head{display:none}.cal-tray .tray-list{max-height:45dvh;overflow-y:auto}.cal-main{height:72dvh;min-height:30rem}.cal-title{font-size:var(--text-lg)}.tg{--gutter:2.75rem}.tg:not(.single) .tg-dayhead{flex-direction:column;gap:0;height:3.25rem}.mg-days{grid-auto-rows:minmax(4.5rem,1fr)}.mg-entry .num{display:none}}@media (width<=40rem){.cal-toolbar{gap:var(--space-2)}.cal-nav{width:100%}.segmented.cal-views{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.when-grid{grid-template-columns:1fr 1fr}.when-grid .when-date{grid-column:1/-1}.mg-entry{height:5px;padding:0;font-size:0}}@media (pointer:coarse){.cal-block-resize{height:14px}.cal-block-resize:after{opacity:1}}@media (prefers-reduced-motion:reduce){.cal-block,.cal-surface,.tray-card{transition:none}}.cal-title-short{display:none}@media (width<=40rem){.cal-title-long{display:none}.cal-title-short{display:inline}}.cal-select-hint{justify-content:space-between}.cal-select-hint,.estimate-field{align-items:center;gap:var(--space-3);display:flex}.estimate-field label{font-size:var(--text-sm);color:var(--text-muted);align-items:center;gap:6px;margin:0;display:inline-flex}.estimate-field input{width:4.5rem}@media (prefers-reduced-motion:reduce){.avatar{transition:none}}.segment.with-icon{justify-content:center;align-items:center;gap:6px;display:inline-flex}.swatches{gap:var(--space-2);flex-wrap:wrap;display:flex}.swatch{border-radius:var(--radius-pill);background:var(--swatch);color:#fff;border:0;place-items:center;width:2.25rem;height:2.25rem;transition:transform .12s,box-shadow .12s;display:grid;box-shadow:inset 0 0 0 1px #0000001f}.swatch:hover{transform:scale(1.06)}.swatch.on{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--swatch)}.swatch-custom{cursor:pointer;margin:0}.swatch-custom:not(.on){background:var(--track);color:var(--text-muted);box-shadow:inset 0 0 0 1.5px var(--border-strong)}.swatch-custom:has(input:focus-visible){box-shadow:0 0 0 2px var(--surface),var(--ring)}.font-options{gap:var(--space-2);grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));display:grid}.font-option{align-items:center;gap:var(--space-2);height:2.75rem;padding:0 var(--space-3);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);border-radius:12px;display:flex}.font-option:hover{border-color:var(--border-strong);color:var(--text)}.font-option.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.font-sample{font-size:var(--text-lg);font-weight:var(--weight-bold)}.font-option.font-default{font-family:Inter,system-ui,sans-serif}.font-option.font-serif{font-family:Iowan Old Style,Palatino Linotype,Palatino,Georgia,serif}.font-option.font-mono{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,monospace}.font-option.font-rounded{font-family:ui-rounded,SF Pro Rounded,Segoe UI Variable Display,Varela Round,system-ui,sans-serif}.drawer-foot .ghost-button:disabled{opacity:.45;cursor:default}.drawer-foot .ghost-button:disabled:hover{color:var(--text-muted);background:0 0}@media (prefers-reduced-motion:reduce){.swatch{transition:none}}.rail-options{gap:var(--space-2);grid-template-columns:repeat(auto-fit,minmax(6.5rem,1fr));display:grid}.rail-option{align-items:center;gap:var(--space-2);height:2.75rem;padding:0 var(--space-3);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);border-radius:12px;display:flex}.rail-option:hover{border-color:var(--border-strong);color:var(--text)}.rail-option.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.rail-diagram{opacity:.75;border:1.5px solid;border-radius:4px;flex:none;width:1.5rem;height:1.25rem;position:relative}.rail-diagram:before{content:"";background:currentColor;position:absolute}.rail-diagram.left:before{border-radius:2px 0 0 2px;width:5px;top:0;bottom:0;left:0}.rail-diagram.right:before{border-radius:0 2px 2px 0;width:5px;top:0;bottom:0;right:0}.rail-diagram.top:before{border-radius:2px 2px 0 0;height:5px;top:0;left:0;right:0}.rail-diagram.bottom:before{border-radius:0 0 2px 2px;height:5px;bottom:0;left:0;right:0}.auth-shell{grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.auth-pitch{padding:var(--space-6) var(--space-7);color:var(--text);background:linear-gradient(180deg,color-mix(in srgb,var(--brand) 5%,var(--surface)) 0,color-mix(in srgb,var(--brand) 12%,var(--surface)) 45%,color-mix(in srgb,var(--brand) 22%,var(--surface)) 100%);flex-direction:column;display:flex;position:relative;overflow:hidden}.auth-brand{z-index:2;color:var(--accent);position:relative}.auth-brand .brand-name{color:var(--text);font-size:var(--text-xl)}.auth-pitch-body{z-index:2;max-width:32rem;margin-top:var(--space-6);position:relative}.auth-eyebrow{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-muted);text-transform:uppercase;letter-spacing:.12em}.auth-headline{margin-top:var(--space-3);font-size:clamp(1.75rem,3vw,2.6rem);font-weight:var(--weight-bold);letter-spacing:-.03em;line-height:1.12}.auth-headline span{color:var(--accent)}.auth-lede{margin-top:var(--space-4);max-width:26rem;font-size:var(--text-lg);color:var(--text-muted);line-height:1.5}.auth-features{margin:var(--space-6) 0 0;gap:var(--space-4);flex-direction:column;padding:0;list-style:none;display:flex}.auth-features li{align-items:flex-start;gap:var(--space-3);display:flex}.auth-features li>span:last-child{flex-direction:column;gap:2px;display:flex}.auth-features strong{font-size:var(--text-md)}.auth-features strong+span{font-size:var(--text-sm);color:var(--text-muted)}.auth-feature-icon{background:color-mix(in srgb,var(--brand) 16%,var(--surface));width:2.75rem;height:2.75rem;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--surface) 60%,transparent);color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.auth-photo-frame,.auth-ridges{z-index:0;pointer-events:none;width:100%;height:62%;position:absolute;bottom:0;left:0;right:0;-webkit-mask-image:linear-gradient(#0000,#00000014 16%,#00000059 32%,#000000bf 52%,#000 72%);mask-image:linear-gradient(#0000,#00000014 16%,#00000059 32%,#000000bf 52%,#000 72%)}.auth-photo{-o-object-fit:cover;object-fit:cover;-o-object-position:center bottom;object-position:center bottom;width:100%;height:100%;display:block}.auth-photo-tint{background:linear-gradient(0deg,#1a123052 0,#1a12300d 35%,transparent 60%),linear-gradient(180deg,color-mix(in srgb,var(--brand) 22%,transparent) 0,color-mix(in srgb,var(--brand) 12%,transparent) 45%,color-mix(in srgb,var(--brand) 6%,transparent) 100%);position:absolute;inset:0}.auth-ridges{fill:var(--accent);height:45%;-webkit-mask-image:none;mask-image:none}.auth-quote{z-index:2;padding-top:var(--space-6);max-width:24rem;margin:auto 0 0;position:relative}.auth-quote blockquote{font-size:var(--text-md);color:#fff;text-shadow:0 1px 10px #18103073;margin:0;line-height:1.55}.auth-quote-rule{width:2rem;height:2px;margin-top:var(--space-3);background:#ffffffb3;border-radius:2px;display:block}.auth-panel{justify-content:center;align-items:center;gap:var(--space-4);padding:var(--space-6) var(--space-4);background:var(--bg);flex-direction:column;display:flex}.auth-brand-compact{color:var(--accent);display:none}.auth-brand-compact .brand-name{color:var(--text);font-size:var(--text-lg)}.auth-card{width:min(26rem,100%);padding:var(--space-6);border:1px solid var(--border);background:var(--surface);border-radius:18px}.auth-title{font-size:1.5rem;font-weight:var(--weight-bold);letter-spacing:-.02em;text-align:center}.auth-subtitle{margin:var(--space-2) 0 var(--space-5);font-size:var(--text-sm);color:var(--text-muted);text-align:center}.auth-form{gap:var(--space-4);flex-direction:column;display:flex}.auth-submit{width:100%;height:2.75rem;margin-top:var(--space-1);font-size:var(--text-md)}.input-icon{color:var(--text-faint);display:block;position:relative}.input-icon>svg{left:var(--space-3);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.input-icon input{border-radius:10px;height:2.75rem;padding-left:2.5rem}.input-icon:has(.input-reveal) input{padding-right:2.75rem}.input-reveal{border-radius:var(--radius-sm);width:2rem;height:2rem;color:var(--text-faint);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.input-reveal:hover{color:var(--text);background:var(--track)}.auth-switch{margin-top:var(--space-5);font-size:var(--text-sm);color:var(--text-muted);text-align:center}.auth-switch a{color:var(--accent);font-weight:var(--weight-medium)}.auth-switch a:hover{text-decoration:underline}.auth-footnote{max-width:26rem;font-size:var(--text-xs);color:var(--text-faint);text-align:center}@media (width<=64rem){.auth-shell{grid-template-columns:minmax(0,1fr)}.auth-pitch{display:none}.auth-panel{padding:var(--space-5) var(--space-4)}.auth-card{background:0 0;border:0;padding:0}.auth-brand-compact{margin-bottom:var(--space-2);display:flex}}.auth-minimal{min-height:100dvh;padding:var(--space-6) var(--space-4);background:var(--surface-sunken);justify-content:center;align-items:center;display:flex}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .auth-minimal{background:#101010}}:root[data-theme=dark] .auth-minimal{background:#101010}.auth-minimal-card{flex-direction:column;align-items:center;width:100%;max-width:22rem;display:flex}.auth-minimal-mark{margin-bottom:var(--space-5);display:flex}.auth-minimal-title{margin-bottom:var(--space-6);font-size:1.375rem;font-weight:var(--weight-bold);letter-spacing:-.02em;text-align:center}.auth-minimal-google{justify-content:center;align-items:center;gap:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-pill);width:100%;height:2.5rem;color:var(--text);font-weight:var(--weight-medium);font-size:var(--text-sm);background:0 0;display:flex}.auth-minimal-google:hover{background:var(--surface)}.auth-minimal-divider{margin:var(--space-5) 0;color:var(--text-faint);font-size:var(--text-sm);justify-content:center;align-items:center;display:flex;position:relative}.auth-minimal-divider:after,.auth-minimal-divider:before{content:"";background:var(--border);flex:1;height:1px}.auth-minimal-divider span{padding:0 var(--space-3)}.auth-minimal-form{gap:var(--space-3);flex-direction:column;width:100%;display:flex}.auth-minimal-input{width:100%;height:3rem;padding:0 var(--space-4);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:var(--text-sm);border-radius:14px}.auth-minimal-input:focus{border-color:var(--accent);box-shadow:var(--ring);outline:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .auth-minimal-google:hover,:root:not([data-theme=light]) .auth-minimal-input{background:#1f1f1f}}:root[data-theme=dark] .auth-minimal-google:hover,:root[data-theme=dark] .auth-minimal-input{background:#1f1f1f}.auth-minimal-field{position:relative}.auth-minimal-field .auth-minimal-input{padding-right:2.75rem}.auth-minimal-reveal{right:var(--space-2);width:2rem;height:2rem;color:var(--text-muted);background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.auth-minimal-reveal:hover{color:var(--text);background:var(--surface-sunken)}button.primary.auth-minimal-submit{width:100%;height:2.5rem;margin-top:var(--space-2);border-radius:var(--radius-pill);font-size:var(--text-md)}.auth-minimal-legal{margin-top:var(--space-4);font-size:var(--text-xs);color:var(--text-faint);text-align:center}.auth-minimal-switch{margin-top:var(--space-5);font-size:var(--text-sm);color:var(--text-muted);text-align:center}.auth-minimal-switch a{color:var(--accent);font-weight:var(--weight-medium)}.auth-minimal-switch a:hover{text-decoration:underline}.field-hint{color:var(--text-muted)}.field-error,.field-hint{margin-top:var(--space-2);font-size:var(--text-sm)}.field-error{color:var(--danger-600)}a.secondary{height:2.25rem;padding:0 var(--space-4);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-weight:var(--weight-medium);white-space:nowrap;align-items:center;display:inline-flex}a.secondary:hover{background:var(--track)}.notice-banner{align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);padding:var(--space-3) var(--space-4);background:var(--accent-soft);color:var(--text);font-size:var(--text-sm);border-radius:12px;display:flex}.notice-banner svg{color:var(--accent);flex:none}.breadcrumb-back{margin-bottom:var(--space-3)}.breadcrumb-back a{font-size:var(--text-sm);color:var(--text-muted);align-items:center;gap:4px;display:inline-flex}.breadcrumb-back a:hover{color:var(--accent)}.habit-tabs{margin-bottom:var(--space-3)}.habits-toolbar{justify-content:space-between;gap:var(--space-2) var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap}.habits-toolbar,.week-nav{align-items:center;display:flex}.week-nav{gap:var(--space-2)}.week-range{margin-left:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--text-muted)}.week-range:first-letter{text-transform:uppercase}.habit-table{border-radius:var(--radius-lg);background:var(--surface);border:0;overflow:hidden}.habit-row{align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-4);grid-template-columns:minmax(10rem,1.6fr) minmax(15rem,22rem) auto;display:grid}.habit-row+.habit-row{border-top:1px solid var(--border)}.habit-head{padding-block:var(--space-2) var(--space-3);background:var(--surface-sunken);border-bottom:1px solid var(--border);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-faint)}.habit-head+.habit-row{border-top:0}.habit-col-name{align-items:center;gap:var(--space-3);min-width:0;display:flex}.habit-days-row{justify-content:space-between;gap:var(--space-1);display:flex}.habit-col-day{text-align:center;color:var(--text-faint);flex:1;font-size:.6875rem;line-height:1.4}.habit-col-day.today{color:var(--accent);font-weight:var(--weight-bold)}.habit-day-letter{font-size:.625rem;font-weight:var(--weight-medium);color:var(--text-faint);text-transform:uppercase;display:none}.habit-col-day.today .habit-day-letter{color:var(--accent)}.habit-row-meta{align-items:center;gap:var(--space-4);display:flex}.habit-col-streak{text-align:center;width:3rem}.habit-col-progress{text-align:center;width:2.5rem}.habit-col-menu{justify-content:flex-end;width:2rem;display:flex}.habit-icon-tile{border-radius:10px;flex:none;place-items:center;width:2.25rem;height:2.25rem;display:grid}.habit-icon-tile.violet{background:color-mix(in srgb,#8e51ff 14%,var(--surface));color:#8e51ff}.habit-icon-tile.blue{background:color-mix(in srgb,#2f6fe4 14%,var(--surface));color:#2f6fe4}.habit-icon-tile.green{background:color-mix(in srgb,#1a7f45 14%,var(--surface));color:var(--done-600)}.habit-icon-tile.amber{background:color-mix(in srgb,#c98a1e 17%,var(--surface));color:#a86b12}.habit-icon-tile.rose{background:color-mix(in srgb,#d6316c 14%,var(--surface));color:#d6316c}.habit-icon-tile.teal{background:color-mix(in srgb,#0f766e 14%,var(--surface));color:#0f8a80}.habit-name-btn{color:inherit;font-size:var(--text-md);font-weight:var(--weight-bold);text-align:left;background:0 0;border:0;padding:0;display:block}.habit-name-btn:first-letter{text-transform:uppercase}.habit-name-btn:hover{color:var(--accent)}.habit-sub{font-size:var(--text-xs);color:var(--text-muted);display:block}.habit-cell{border:1.5px solid var(--border);background:var(--surface);color:#0000;border-radius:50%;place-items:center;width:1.9rem;height:1.9rem;margin:0 auto;transition:border-color .12s,background-color .12s,transform 90ms;display:grid}.habit-cell:not(:disabled):hover{border-color:var(--accent);transform:scale(1.06)}.habit-cell:not(:disabled):active{transform:scale(.94)}.habit-cell:disabled{cursor:default}.habit-cell.done{border-color:var(--done-600);background:var(--done-600);color:#fff}.habit-cell.missed{border-color:color-mix(in srgb,var(--danger-600) 45%,var(--border));color:var(--danger-600)}.habit-cell.today{border-style:dashed;border-color:var(--accent)}.habit-cell.future{border-style:solid;border-color:var(--hue);opacity:.6}.habit-cell.future-off,.habit-cell.off,.habit-cell.outside{border-color:var(--border-strong);opacity:.5}.habit-empty-filter{padding:var(--space-6) var(--space-4);text-align:center;font-size:var(--text-sm);color:var(--text-muted)}.skeleton-table{padding:var(--space-4);gap:var(--space-3);flex-direction:column;display:flex}.habit-view-toggle{flex:none}.habit-year-list{gap:var(--space-3);flex-direction:column;display:flex}.habit-month-list{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));display:grid}.habit-year-card{border-radius:var(--radius-lg);background:var(--surface);padding:var(--space-4);border:0;overflow-x:auto}.habit-year-card-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.hyear-labels{grid-template-columns:repeat(var(--weeks),minmax(10px,1fr));gap:3px;margin-bottom:4px;display:grid}.hyear-label{color:var(--text-faint);white-space:nowrap;font-size:.625rem}.hyear-grid{grid-template-rows:repeat(7,auto);grid-auto-flow:column;grid-template-columns:repeat(var(--weeks),minmax(10px,1fr));gap:3px;display:grid}.habit-cell.hyear-cell{aspect-ratio:1;background:var(--border);border:0;border-radius:3px;width:100%;height:auto;margin:0;padding:0;transition:transform 90ms}.habit-cell.hyear-cell:not(:disabled):hover{transform:scale(1.35)}.habit-cell.hyear-cell.done{background:var(--hue)}.habit-cell.hyear-cell.missed{background:color-mix(in srgb,var(--danger-600) 55%,var(--border))}.habit-cell.hyear-cell.today{box-shadow:0 0 0 1.5px var(--accent)}.habit-cell.hyear-cell.future{background:color-mix(in srgb,var(--hue) 35%,var(--border))}.habit-cell.hyear-cell.future-off,.habit-cell.hyear-cell.off,.habit-cell.hyear-cell.outside{background:var(--border);opacity:.5}.hmonth-weekdays{margin-bottom:var(--space-2);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.hmonth-weekdays span{text-align:center;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-muted)}.hmonth-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.habit-cell.hmonth-cell{aspect-ratio:1;background:var(--border);width:100%;height:auto;color:var(--text);border:0;border-radius:8px;margin:0;transition:background-color .12s,opacity .12s}.hmonth-num{font-size:var(--text-xs);font-weight:var(--weight-medium)}.habit-cell.hmonth-cell.done{background:var(--hue);color:#fff}.habit-cell.hmonth-cell.missed{background:color-mix(in srgb,var(--danger-600) 45%,var(--border));color:var(--danger-600)}.habit-cell.hmonth-cell.today{box-shadow:inset 0 0 0 2px var(--accent)}.habit-cell.hmonth-cell.future{background:color-mix(in srgb,var(--hue) 30%,var(--border))}.habit-cell.hmonth-cell.future-off,.habit-cell.hmonth-cell.off,.habit-cell.hmonth-cell.outside{opacity:.4}.habit-cell.hmonth-cell.other-month{opacity:.25}.weekday-picker{gap:var(--space-2);display:flex}.weekday-btn{border:1px solid var(--border);background:var(--surface);width:2.25rem;height:2.25rem;color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);border-radius:50%;place-items:center;display:grid}.weekday-btn:hover{border-color:var(--border-strong);color:var(--text)}.weekday-btn.on{border-color:var(--accent);background:var(--accent);color:#fff}.duration-picker{gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.duration-chip{height:1.75rem;padding:0 var(--space-3);border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.duration-chip:hover{border-color:var(--accent);color:var(--accent)}.habit-ring{place-items:center;display:inline-grid;position:relative}.habit-ring svg{position:absolute;inset:0;transform:none}.habit-ring-track{fill:none;stroke:var(--track);stroke-width:3px}.habit-ring-value{fill:none;stroke:var(--accent);stroke-width:3px;stroke-linecap:round;transition:stroke-dashoffset .24s}.habit-ring.done .habit-ring-value{stroke:var(--done-600)}.habit-ring-label{font-weight:var(--weight-bold);color:var(--text);position:relative}.reminder-form{margin-bottom:var(--space-4);padding:var(--space-4);border-radius:var(--radius-lg)}.reminder-form-row{gap:var(--space-3);margin-top:var(--space-3);display:flex}.reminder-form-actions{justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-4);display:flex}.reminder-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.reminder-row{--hue:var(--accent);padding:var(--space-3) var(--space-4);border:1px solid var(--border);background:var(--surface);border-radius:12px}.reminder-row,.reminder-who{align-items:center;gap:var(--space-3);display:flex}.reminder-target,.reminder-who{flex:1;min-width:0}.reminder-target{flex-direction:column;display:flex}.reminder-target strong{font-size:var(--text-md);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reminder-target strong:first-letter{text-transform:uppercase}.reminder-controls{align-items:center;gap:var(--space-3);flex:none;display:flex}.reminder-time{flex:none;width:7rem;height:2.25rem}.switch{border-radius:var(--radius-pill);background:var(--track);border:0;flex:none;align-items:center;width:2.5rem;height:1.5rem;padding:2px;transition:background-color .14s;display:flex}.switch.on{background:var(--accent)}.switch-knob{width:1.125rem;height:1.125rem;box-shadow:var(--shadow-sm);background:#fff;border-radius:50%;transition:transform .14s}.switch.on .switch-knob{transform:translate(1rem)}.iw-add-menu{min-width:14rem;max-height:20rem;overflow-y:auto}.iw-add-empty{padding:var(--space-2) var(--space-3)}.iw-grid{gap:var(--space-4)}.iw-card,.iw-grid{flex-direction:column;display:flex}.iw-card{background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);border:0}.iw-card.dragging{z-index:10;-webkit-user-select:none;user-select:none;border-color:var(--accent);box-shadow:var(--shadow-md);position:relative}.iw-card-head{align-items:flex-start;gap:var(--space-2);padding:var(--space-4) var(--space-4) var(--space-3);display:flex}.iw-handle{border-radius:var(--radius-sm);width:1.5rem;height:1.5rem;color:var(--text-faint);cursor:grab;touch-action:none;opacity:0;background:0 0;border:0;flex:none;place-items:center;margin-top:1px;transition:opacity .12s;display:grid}.iw-card:hover .iw-handle,.iw-handle:focus-visible{opacity:1}.iw-handle:hover{color:var(--text-muted);background:var(--track)}.iw-card.dragging .iw-handle{opacity:1;cursor:grabbing;color:var(--accent)}@media (hover:none){.iw-handle{opacity:1}}.iw-card-icon{background:var(--track);width:2rem;height:2rem;color:var(--text-muted);border-radius:8px;flex:none;place-items:center;margin-top:1px;display:grid}.iw-card-titles{flex:1;min-width:0}.iw-card-title{font-size:var(--text-md);font-weight:var(--weight-medium);letter-spacing:-.01em}.iw-card-desc{font-size:var(--text-xs);color:var(--text-muted);margin-top:2px}.iw-card-body{padding:0 var(--space-4) var(--space-4)}.iw-list{gap:var(--space-2);flex-direction:column;display:flex}.iw-lead{margin-bottom:var(--space-1)}.iw-goal-row,.iw-habit-row{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;display:flex}.iw-goal-row+.iw-goal-row,.iw-habit-row+.iw-habit-row{border-top:1px solid var(--border)}.iw-goal-main{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.iw-goal-title{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-sm);overflow:hidden}.iw-goal-row .bar{width:100%}.iw-goal-row .overdue{color:var(--danger-600);font-weight:var(--weight-medium)}.iw-habit-row{cursor:pointer}.iw-habit-name{min-width:0;font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.iw-habit-name.done{color:var(--text-muted);text-decoration:line-through}.note-tab{align-items:flex-start;gap:var(--space-5);display:flex}.note-sidebar{flex:none;gap:2px;width:15rem}.note-main,.note-sidebar{flex-direction:column;display:flex}.note-main{gap:var(--space-4);flex:1;min-width:0}.note-nav-item{align-items:center;gap:var(--space-2);width:100%;padding:var(--space-2);border-radius:var(--radius-md);color:var(--text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;background:0 0;border:0;display:flex}.note-nav-item:hover{background:var(--track);color:var(--text)}.note-nav-item.on{background:var(--accent-soft);color:var(--accent)}.note-nav-item span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.note-nav-count{border-radius:var(--radius-pill);background:var(--track);min-width:1.25rem;color:var(--text-muted);font-size:var(--text-xs);text-align:center;flex:none;padding:1px 6px}.note-nav-item.on .note-nav-count{background:var(--surface);color:var(--accent)}.note-nav-folder{align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-1) var(--space-1) 0;border-radius:var(--radius-md);transition:background-color .12s,outline-color .12s;display:flex}.note-nav-folder:hover{background:var(--track)}.note-nav-folder.on{background:var(--accent-soft)}.note-nav-folder.on .note-nav-select{color:var(--accent)}.note-nav-folder.dragging{z-index:10;-webkit-user-select:none;user-select:none;background:var(--surface);box-shadow:var(--shadow-md);position:relative}.note-nav-folder.drop-target{outline:2px dashed var(--accent);outline-offset:-2px;background:var(--accent-soft)}.note-nav-folder>svg{color:var(--text-muted);flex:none}.note-nav-handle{border-radius:var(--radius-sm);width:1.25rem;height:1.75rem;color:var(--text-faint);cursor:grab;touch-action:none;opacity:0;background:0 0;border:0;flex:none;place-items:center;transition:opacity .12s,color .12s;display:grid}.note-nav-folder:hover .note-nav-handle,.note-nav-handle:focus-visible{opacity:1}.note-nav-handle:hover{color:var(--text-muted);background:var(--track)}.note-nav-folder.dragging .note-nav-handle{opacity:1;cursor:grabbing;color:var(--accent)}@media (hover:none){.note-nav-handle{opacity:1}}.note-nav-select{text-align:left;min-width:0;padding:var(--space-1);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;overflow:hidden}.note-nav-folder .note-folder-rename{flex:1;min-width:0;margin:0}.note-nav-folder .note-folder-rename input{width:100%;height:1.75rem;font-size:var(--text-sm);font-weight:var(--weight-medium)}.note-sidebar-tip{gap:var(--space-2);margin-top:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:var(--surface-sunken);color:var(--text-muted);align-items:flex-start;display:flex}.note-sidebar-tip svg{color:var(--warn-600);flex:none;margin-top:1px}.note-toolbar{flex-wrap:wrap}.note-toolbar .filter-search{flex:14rem;max-width:26rem}.note-toolbar .filter-search input{width:100%}.note-group{gap:var(--space-2);flex-direction:column;display:flex}.note-group-head{padding:0 var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-faint);text-transform:uppercase;letter-spacing:.06em}.note-rows{gap:var(--space-4);flex-direction:column;display:flex}.note-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));align-items:stretch;display:grid}.note-grid .note-group{display:contents}.note-grid .note-group-head{grid-column:1/-1}.note-grid .note-row{height:100%}@media (width<=52rem){.note-tab{align-items:stretch;gap:var(--space-3);flex-direction:column}.note-sidebar{align-items:center;gap:var(--space-2);scrollbar-width:none;flex-direction:row;width:100%;padding-bottom:2px;overflow:auto hidden;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),#0000)}.note-sidebar::-webkit-scrollbar{display:none}.note-sidebar>*{flex:none}.note-nav-folder,.note-nav-item{border:1px solid var(--border);border-radius:var(--radius-pill);white-space:nowrap;height:2.25rem}.note-nav-item{width:auto;padding:0 var(--space-3)}.note-nav-folder.on,.note-nav-item.on{border-color:color-mix(in srgb,var(--accent) 45%,var(--border))}.note-nav-item span:nth-child(2),.note-nav-select{max-width:8rem}.note-nav-folder:has(.note-folder-rename){min-width:12rem}.note-sidebar>.add-link{white-space:nowrap;margin-left:0}.note-sidebar>form.inline-form{margin:0}.note-sidebar>form.inline-form input{width:9rem}.note-sidebar-tip{display:none}}.note-row{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--surface);color:inherit;-webkit-user-drag:none;border:0;border-radius:12px;text-decoration:none;display:flex}.note-row:hover .note-row-title{color:var(--accent)}.note-row-footer,.note-row-head{display:contents}.note-row-icon{flex:none}.note-row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.note-row-title{font-weight:var(--weight-medium);transition:color .12s}.note-row-excerpt,.note-row-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.note-row-excerpt{font-size:var(--text-sm);color:var(--text-muted)}.note-row-date{white-space:nowrap;flex:none}.note-row-type{flex:none}.note-row .task-chip.empty:focus-visible,.note-row .task-chip.empty[aria-expanded=true],.note-row:hover .task-chip.empty{opacity:1;border-color:var(--border-strong)}.note-row .task-chip.empty:focus-visible .task-chip-label,.note-row .task-chip.empty[aria-expanded=true] .task-chip-label,.note-row:hover .task-chip.empty .task-chip-label{display:inline}@media (hover:none){.note-row .task-chip.empty{opacity:1}}.note-row-handle{width:1.25rem;height:1.5rem;margin-left:calc(var(--space-2)*-1);border-radius:var(--radius-sm);color:var(--text-faint);cursor:grab;touch-action:none;opacity:0;background:0 0;border:0;flex:none;place-items:center;transition:opacity .12s,color .12s;display:grid}.note-row-handle:focus-visible,.note-row:hover .note-row-handle{opacity:1}.note-row-handle:hover{color:var(--text-muted);background:var(--track)}@media (hover:none){.note-row-handle{opacity:1}}.note-row.dragging{z-index:10;-webkit-user-select:none;user-select:none;border-color:var(--accent);box-shadow:var(--shadow-md);position:relative}.note-row.dragging .note-row-handle{opacity:1;cursor:grabbing;color:var(--accent)}.note-row.grid{padding:var(--space-4);align-items:stretch;gap:var(--space-3);flex-direction:column}.note-row.grid .note-row-handle{display:none}.note-row.grid .note-row-head{align-items:flex-start;gap:var(--space-2);width:100%;display:flex}.note-row.grid .note-row-excerpt,.note-row.grid .note-row-title{white-space:normal}.note-row.grid .note-row-excerpt{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.note-row.grid .note-row-footer{align-items:center;gap:var(--space-2);width:100%;margin-top:auto;display:flex}.note-row.grid .note-row-date{margin-right:auto}.note-folder-rename{flex:1;min-width:0;margin:0}.note-folder-rename input{width:100%;height:2rem;font-weight:var(--weight-medium)}.note-folder-empty{padding:var(--space-3) var(--space-2);border:1px dashed var(--border-strong);text-align:center;border-radius:10px}.note-editor-head{align-items:center;gap:var(--space-3);margin-bottom:var(--space-5);display:flex}.note-editor-heading{flex:1;min-width:0}.note-editor-title{font-size:var(--text-lg);font-weight:var(--weight-bold)}.note-editor-status{margin-top:1px}.note-editor-status.danger{color:var(--danger-600)}:root{--note-font:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif}.note-editor-card{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-7) var(--space-7) var(--space-6);border:0}.note-subtitle-input,.note-title-input{width:100%;color:var(--text);font-family:var(--note-font);background:0 0;border:0;outline:none;padding:0;display:block}.note-subtitle-input::-moz-placeholder{color:var(--text-faint)}.note-title-input::-moz-placeholder{color:var(--text-faint)}.note-subtitle-input::placeholder,.note-title-input::placeholder{color:var(--text-faint)}.note-title-input{margin-bottom:var(--space-3);font-size:2.5rem;font-weight:var(--weight-bold);letter-spacing:-.01em;line-height:1.15}.note-subtitle-input{font-size:var(--text-lg);color:var(--text-muted)}.note-editor-type,.note-subtitle-input{margin-bottom:var(--space-5)}.note-editor-type .task-chip.empty{opacity:1}.note-editor-type .task-chip.empty .task-chip-label{display:inline}.note-editor-card .ck-sticky-panel__content{border:0!important;border-radius:0!important}.note-editor-card .ck-editor__top{z-index:2;top:0;position:sticky!important}.note-editor-card .ck.ck-toolbar{background:var(--surface);box-shadow:none;border:0;padding-left:0;padding-right:0}.note-editor-card .ck.ck-editor__editable_inline{min-height:16rem;font-family:var(--note-font);background:0 0;border-radius:0;font-size:1.125rem;line-height:1.8;box-shadow:none!important;padding:var(--space-5) 0 0!important;border:0!important}.note-editor-card .ck.ck-editor__editable_inline.ck-focused{box-shadow:none!important}.note-editor-card .ck-content blockquote{border-left-color:var(--border-strong)}.note-editor-card .ck-content .image img,.note-editor-card .ck-content .image-inline img{border-radius:var(--radius-md)}@media (width<=64rem){.habit-row{grid-template-columns:minmax(9rem,1fr) minmax(13rem,18rem) auto}}@media (width<=40rem){.habit-table{background:0 0;border:0}.habit-row{align-items:start;gap:var(--space-3);margin-bottom:var(--space-3);padding:var(--space-4);border:1px solid var(--border);background:var(--surface);border-radius:12px;grid-template-columns:1fr auto;grid-template-areas:"name meta""days days";display:grid}.habit-row+.habit-row{border-top:1px solid var(--border)}.habit-head{display:none}.habit-col-name{grid-area:name;min-width:0}.habit-row-meta{gap:var(--space-3);grid-area:meta}.habit-days-row{grid-area:days}.habit-col-day{flex-direction:column;align-items:center;gap:2px;display:flex}.habit-day-letter{display:block}.reminder-form-row,.reminder-row{flex-direction:column}.reminder-row{align-items:stretch}.reminder-controls{justify-content:space-between}.note-toolbar .filter-search{flex:100%;max-width:none}.note-toolbar .filter-search input{width:100%}.note-toolbar .primary.with-icon{flex:auto;justify-content:center}.note-row{padding:var(--space-3);flex-wrap:wrap}.note-row-date{flex:1 0 100%;order:3}}@media (width<=26rem){.segmented.five,.segmented.four{grid-template-columns:repeat(2,minmax(0,1fr))}.segmented.five{row-gap:2px}}@media (prefers-reduced-motion:reduce){.habit-cell,.habit-ring-value,.iw-handle,.switch,.switch-knob{transition:none}}.home-header{justify-content:space-between;align-items:flex-start;gap:var(--space-5);margin-bottom:var(--space-4);display:flex}.home-date{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-faint);text-transform:uppercase;letter-spacing:.08em;margin-bottom:var(--space-1)}.home-quote{max-width:20rem;color:var(--text-muted);text-align:right;font-style:italic}.home-search{width:100%;max-width:26rem}.home-search,.home-stats{margin-bottom:var(--space-5)}.home-stats{gap:var(--space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.home-stat-card{align-items:center;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-lg);background:var(--surface);color:inherit;display:flex}.home-stat-value{font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:-.01em;line-height:1.2;display:block}.home-stat-label{font-size:var(--text-sm);color:var(--text-muted);display:block}.home-row-today{grid-template-columns:minmax(0,1fr) 19rem}.home-row-3,.home-row-today{gap:var(--space-4);margin-bottom:var(--space-5);align-items:start;display:grid}.home-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}.home-row-3>*,.home-row-today>*{min-width:0}.home-add-btn{height:2rem;padding:0 var(--space-3);font-size:var(--text-sm)}.home-today-list{gap:var(--space-2);flex-direction:column;display:flex}.home-today-row{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 3px);background:var(--track);border-radius:10px;display:flex;position:relative;overflow:hidden}.home-today-row:before{content:"";background:var(--hue);width:3px;position:absolute;top:0;bottom:0;left:0}.home-today-time{width:3rem;font-size:var(--text-sm);flex:none}.home-today-main,.home-today-time{flex-direction:column;gap:2px;display:flex}.home-today-main{flex:1;min-width:0}.home-today-title{font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-today-title.done{color:var(--text-muted);text-decoration:line-through}.home-today-sub{font-size:var(--text-xs);color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-habits-list{gap:var(--space-4)}.home-habit-row,.home-habits-list{flex-direction:column;display:flex}.home-habit-row{align-items:flex-start;gap:var(--space-2)}.home-habit-main{justify-content:space-between;align-items:baseline;gap:var(--space-2);width:100%;min-width:0;display:flex}.home-habit-row .habit-days-row{width:100%}.habit-cell.static{pointer-events:none}.home-banner{align-items:center;gap:var(--space-4);display:flex}.home-banner-art{flex:none;place-items:center;display:grid}@media (width<=64rem){.home-row-3,.home-row-today{grid-template-columns:1fr}}@media (width<=48rem){.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.home-header{flex-direction:column}.home-quote{text-align:left;max-width:none}}@media (width<=26rem){.home-stats{grid-template-columns:1fr}}
