:root{--background:#f0f8ff;--foreground:#0f0f0e;--muted:#64748b;--line:#e2e8f0;--surface:#ffffff;--surface-strong:#f8faff;--accent:#0ea5e9;--accent-strong:#0284c7;--accent-soft:rgba(14,165,233,0.08);--gold:#c47d20;--ink-soft:#1e293b;--shadow:0 22px 70px rgba(15,23,42,0.10);--border:var(--line);--z-menu:300;--z-overlay:900;--z-modal:1000;--z-toast:9999;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-7:28px;--sp-8:32px;--sp-10:40px;--sp-12:48px;--sp-14:56px;--r-sm:8px;--r-md:12px;--r-lg:18px;--r-xl:20px;--r-2xl:24px;--r-3xl:28px;--r-pill:999px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:linear-gradient(160deg,#ffffff,#f0f8ff);color:var(--foreground);font-family:var(--font-sans),Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a,button{font:inherit}a{color:inherit;text-decoration:none}.dashboard-shell{width:min(960px,calc(100% - 48px));margin:0 auto;padding:28px 0 56px}.brief-panel,.detail-panel,.hero-panel{border:1px solid rgba(226,232,240,.82);background:rgba(255,255,255,.88);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hero-panel{min-height:320px;border-radius:var(--r-3xl);overflow:hidden;position:relative}.command-header{min-height:unset;padding-top:20px}.command-bar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:0 28px 20px;flex-wrap:wrap}.command-title{margin-bottom:0;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.1}.command-controls{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.window-picker{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--surface-strong)}.window-btn{padding:.4rem .9rem;border:none;background:transparent;color:var(--ink-soft);font-size:.8rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.window-btn--active{background:var(--accent);color:white}.stat-strip{display:flex;align-items:center;gap:0;padding:0 28px 24px;flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;padding:0 24px 0 0;margin-right:24px;border-right:1px solid var(--line)}.stat-item:last-of-type{border-right:none}.stat-item strong{font-size:1.5rem;line-height:1.1}.stat-item span{margin-top:2px;color:var(--muted);font-size:.75rem}.stat-timeline-link{margin-left:auto;font-size:.8rem}.hero-panel:after{content:"";position:absolute;inset:auto -10% -45% 42%;height:420px;background:linear-gradient(90deg,rgba(14,165,233,.12),transparent),repeating-linear-gradient(90deg,rgba(24,23,19,.08) 0 1px,transparent 1px 32px);transform:rotate(-8deg);pointer-events:none}.topbar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:var(--sp-5) var(--sp-6)}.brand-mark,.hero-actions,.icon-button,.primary-button,.secondary-link,.section-heading,.signal-header{display:inline-flex;align-items:center}.brand-mark{gap:10px;font-weight:750;color:var(--accent-strong)}.brand-mark svg{width:22px;height:22px}.icon-button{justify-content:center;width:42px;height:42px;border:1px solid var(--line);border-radius:999px;background:var(--surface-strong);color:var(--ink-soft);cursor:pointer}.icon-button svg{width:17px;height:17px}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-gap:36px;gap:36px;align-items:end;padding:56px 48px 64px}.hero-copy{max-width:690px}.section-label{margin:0 0 10px;color:var(--accent-strong);font-size:.76rem;font-weight:760;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{max-width:760px;margin-bottom:18px;font-size:clamp(3rem,6vw,5.8rem);line-height:.95;letter-spacing:0}.display-italic,h1{font-family:var(--font-display),Georgia,serif}.display-italic{font-style:italic}h2{margin-bottom:0;font-size:clamp(1.45rem,2vw,2rem);line-height:1.1;letter-spacing:0}h3{margin-bottom:8px;font-size:1rem;line-height:1.25}.hero-summary{max-width:610px;margin-bottom:30px;color:var(--muted);font-size:1.08rem;line-height:1.7}.hero-actions{gap:16px;flex-wrap:wrap}.primary-button{gap:10px;min-height:48px;border:0;border-radius:999px;padding:0 20px;background:var(--accent);color:white;font-weight:720;cursor:pointer;box-shadow:0 14px 30px rgba(14,165,233,.28)}.primary-button svg,.secondary-link svg{width:16px;height:16px}.secondary-link{gap:8px;color:var(--ink-soft);font-weight:680}.signal-panel{border:1px solid rgba(226,232,240,.9);border-radius:var(--r-xl);background:rgba(255,255,255,.76);padding:var(--sp-6)}.signal-header{gap:8px;color:var(--accent-strong);font-weight:740}.signal-header svg{width:18px;height:18px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin:var(--sp-5) 0}.stat-row div{border:1px solid rgba(226,232,240,.8);border-radius:var(--r-md);padding:14px 10px;background:var(--surface)}.stat-row span,.stat-row strong{display:block}.stat-row strong{font-size:1.55rem}.stat-row span{margin-top:3px;color:var(--muted);font-size:.78rem}.signal-strip{border-radius:var(--r-md);padding:16px;background:#0c1a3a;color:white}.signal-strip span,.signal-strip strong{display:block}.signal-strip span{margin-bottom:4px;color:rgba(255,255,255,.7);font-size:.8rem}.brief-panel,.detail-grid,.priority-section{margin-top:24px}.brief-panel,.detail-panel{border-radius:var(--r-2xl);padding:var(--sp-7)}.panel-heading,.section-heading{display:flex;align-items:center}.panel-heading{justify-content:space-between;gap:16px;margin-bottom:20px}.status-chip{display:inline-flex;align-items:center;min-height:32px;border-radius:999px;padding:0 12px;background:rgba(14,165,233,.11);color:var(--accent-strong);font-size:.78rem;font-weight:760}.brief-text{max-width:860px;margin-bottom:0;color:var(--ink-soft);font-size:1.08rem;line-height:1.75}.guidance-callout{display:grid;grid-template-columns:34px 1fr;grid-gap:14px;gap:14px;max-width:900px;margin-top:20px;border:1px solid rgba(199,141,54,.28);border-radius:var(--r-lg);padding:18px;background:rgba(240,226,204,.42)}.guidance-callout svg{width:34px;height:34px;border-radius:12px;padding:8px;background:rgba(199,141,54,.16);color:var(--gold)}.guidance-callout h3{margin-bottom:6px}.guidance-callout p{margin-bottom:0;color:var(--ink-soft);line-height:1.6}.error-state,.loading-state{border:1px dashed rgba(14,165,233,.35);border-radius:var(--r-lg);padding:20px;color:var(--muted)}.loading-state.compact{padding:16px}.error-state{border-color:rgba(185,70,58,.32);color:#8a3229}.section-heading{gap:12px;margin-bottom:18px}.section-heading>svg{flex:0 0 auto;width:34px;height:34px;border-radius:12px;padding:8px;background:rgba(14,165,233,.12);color:var(--accent-strong)}.priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.priority-card,.skeleton-card{min-height:220px;border:1px solid rgba(226,232,240,.92);border-radius:var(--r-xl);background:var(--surface-strong);padding:var(--sp-6);box-shadow:0 16px 46px rgba(15,23,42,.08)}.priority-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:var(--sp-5)}.priority-index{display:flex;justify-content:center;width:34px;height:34px;border-radius:50%;background:#f0e2cc;color:#7c4c12}.pressure-chip,.priority-index{align-items:center;font-weight:800}.pressure-chip{display:inline-flex;min-height:28px;border-radius:999px;padding:0 10px;background:rgba(14,165,233,.1);color:var(--accent-strong);font-size:.72rem;text-transform:uppercase}.pressure-chip.immediate{background:rgba(185,70,58,.12);color:#8a3229}.pressure-chip.soon{background:rgba(199,141,54,.16);color:#7c4c12}.pressure-chip.flexible{background:rgba(100,116,139,.12);color:var(--muted)}.change-item p,.priority-card p,.timeline-item p{margin-bottom:0;color:var(--muted);line-height:1.55}.skeleton-card{overflow:hidden;position:relative}.skeleton-card:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(14,165,233,.1),transparent);animation:shimmer 1.4s infinite}.detail-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px}.decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.decision-grid h3{margin-bottom:12px}.decision-grid-wide{grid-column:1/-1}.impact-dot{width:14px;height:14px;border-radius:999px;margin-top:3px;background:var(--accent)}.impact-dot.high{background:#b9463a}.impact-dot.medium{background:var(--gold)}.impact-dot.low{background:var(--accent)}.change-list,.timeline-list{display:grid;grid-gap:12px;gap:12px}.task-row{display:flex;align-items:center;gap:.75rem;padding:12px 16px}.change-item,.task-row,.timeline-item{border-radius:var(--r-lg);background:rgba(247,245,239,.8)}.change-item,.timeline-item{display:grid;grid-gap:14px;gap:14px;padding:16px}.timeline-item{grid-template-columns:84px 1fr}.timeline-item time{color:var(--accent-strong);font-size:.82rem;font-weight:800}.change-item{grid-template-columns:22px 1fr}.change-item svg{width:19px;height:19px;color:var(--gold)}.focus-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--background)}.focus-topbar{justify-content:space-between;padding:20px 28px;border-bottom:1px solid rgba(226,232,240,.5)}.focus-content,.focus-topbar{display:flex;align-items:center}.focus-content{flex:1 1;justify-content:center;padding:3rem 1.5rem}.app-layout{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;left:0;bottom:0;width:220px;display:flex;flex-direction:column;background:rgba(255,255,255,.96);border-right:1px solid rgba(226,232,240,.82);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:200;padding:0}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:20px 18px 16px;border-bottom:1px solid rgba(226,232,240,.6)}.sidebar-brand-link{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-weight:700;font-size:1rem;letter-spacing:-.01em}.sidebar-brand-actions{display:flex;align-items:center;gap:2px;margin-left:auto}.sidebar-brand-icon-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:transparent;color:var(--muted);cursor:pointer;border-radius:6px;transition:color .12s,background .12s}.sidebar-brand-icon-btn:hover{color:var(--foreground);background:rgba(14,165,233,.07)}.sidebar-agent-btn{display:flex;align-items:center;gap:.3rem;padding:.25rem .6rem;border:none;background:var(--accent);color:#fff;cursor:pointer;border-radius:var(--r-pill);font-size:.75rem;font-weight:600;transition:background .12s}.sidebar-agent-btn:hover{background:var(--accent-strong)}.sidebar-close{display:none}.sidebar-quickadd{padding:14px 14px 10px;border-bottom:1px solid rgba(226,232,240,.4)}.sidebar-quickadd .primary-button{width:100%;justify-content:center}.sidebar-nav{display:flex;flex-direction:column;gap:2px;padding:10px;flex:1 1;overflow-y:auto;min-height:0}.sidebar-divider{height:1px;background:rgba(226,232,240,.5);margin:6px 8px}.sidebar-section-label{padding:10px 10px 3px;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);opacity:.65;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-link{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;text-decoration:none;color:var(--muted);font-size:.875rem;font-weight:500;transition:background .12s,color .12s}.sidebar-link:hover{background:rgba(14,165,233,.07);color:var(--foreground)}.sidebar-link--active{background:rgba(14,165,233,.1);color:var(--accent);font-weight:600}.sidebar-link--indented{padding-left:22px;font-size:.82rem}.sidebar-group{margin-top:2px}.sidebar-group-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:6px 10px;border:none;background:transparent;color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;border-radius:6px;transition:color .12s}.sidebar-group-header--active,.sidebar-group-header:hover{color:var(--foreground)}.sidebar-group-items{display:flex;flex-direction:column;gap:1px;margin-top:2px}.create-menu-item{display:flex;align-items:center;gap:.65rem;width:100%;padding:.65rem .875rem;border:none;background:transparent;color:inherit;cursor:pointer;text-align:left;transition:background .1s}.create-menu-item:hover{background:var(--surface)}.create-menu-item+.create-menu-item{border-top:1px solid rgba(226,232,240,.5)}.sidebar-footer{padding:12px 10px 20px;border-top:1px solid rgba(226,232,240,.4);display:flex;flex-direction:column;gap:2px}.sidebar-profile-bar{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border-radius:9px;color:var(--text);font-size:.8rem;font-weight:500;text-decoration:none;transition:background .12s;min-width:0}.sidebar-profile-bar:hover{background:rgba(255,255,255,.06)}.sidebar-profile-name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer-icon-btn{display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:1px solid var(--border);border-radius:.375rem;background:transparent;color:var(--muted);cursor:pointer;flex-shrink:0;transition:color .12s,background .12s}.sidebar-footer-icon-btn:hover{color:var(--foreground);background:rgba(14,165,233,.07)}.main-area{margin-left:220px;flex:1 1;min-width:0}.mobile-bottom-nav,.mobile-topbar,.sidebar-backdrop{display:none}.mobile-bottom-nav-tab{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 4px;color:var(--muted);text-decoration:none;font-size:.65rem;font-weight:500;background:none;border:none;cursor:pointer;transition:color .12s;font-family:inherit}.mobile-bottom-nav-tab--active{color:var(--accent)}.page-breadcrumb-bar{padding-bottom:.25rem}.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px;gap:20px}.goal-card{display:flex;flex-direction:column;border-radius:var(--r-lg);background:var(--surface-strong);box-shadow:0 4px 18px rgba(15,23,42,.06);overflow:hidden;text-decoration:none;color:inherit;transition:box-shadow .15s,transform .15s;border:1px solid var(--line);border-left:4px solid var(--goal-color,var(--accent))}.goal-card:hover{box-shadow:0 8px 28px rgba(15,23,42,.12);transform:translateY(-1px)}.goal-card-body{padding:18px 18px 12px;flex:1 1}.goal-card-header{gap:.5rem}.goal-card-footer,.goal-card-header{display:flex;align-items:center;justify-content:space-between}.goal-card-footer{padding:10px 18px;border-top:1px solid var(--line);background:rgba(247,245,239,.5)}.type-tag{font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:rgba(100,116,139,.1);border-radius:999px;padding:.15rem .45rem;flex-shrink:0}.child-projects{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.child-project-row{display:flex;align-items:center;gap:.45rem;padding:6px 8px;border-radius:8px;background:rgba(247,245,239,.8);border:1px solid var(--line);cursor:pointer;transition:background .12s}.child-project-row:hover{background:rgba(14,165,233,.06)}.child-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.add-project-btn{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .6rem;border-radius:999px;border:1px dashed var(--line);background:transparent;color:var(--muted);font-size:.75rem;cursor:pointer;transition:border-color .12s,color .12s}.add-project-btn:hover{border-color:var(--accent);color:var(--accent)}.card-delete-btn{width:28px!important;height:28px!important;opacity:.4;flex-shrink:0}.card-delete-btn:hover{opacity:1}@media (max-width:700px){.projects-grid{grid-template-columns:1fr}}@keyframes shimmer{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes pulse-ring{0%,to{box-shadow:0 0 0 0 rgba(239,68,68,.4)}50%{box-shadow:0 0 0 5px rgba(239,68,68,0)}}.type-tag--goal{background:rgba(124,58,237,.12);color:#7c3aed}.type-tag--project{background:rgba(14,165,233,.12);color:var(--accent)}@media (max-width:900px){.decision-grid,.detail-grid,.hero-grid,.priority-grid{grid-template-columns:1fr}.hero-grid{padding:36px 24px 42px}.signal-panel{max-width:440px}.command-bar{flex-direction:column;align-items:flex-start}.stat-strip{gap:1rem}.stat-timeline-link{margin-left:0;margin-top:.5rem}}@media (max-width:768px){.sidebar{transform:translateX(-100%);transition:transform .25s ease;width:240px;z-index:500}.sidebar--open{transform:translateX(0)}.sidebar-close{display:flex}.sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:499}.main-area{margin-left:0}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid rgba(226,232,240,.6);background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:-webkit-sticky;position:sticky;top:0;z-index:100}.mobile-topbar-brand{font-weight:700;font-size:1rem;letter-spacing:-.01em}.mobile-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.96);border-top:1px solid rgba(226,232,240,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:100;padding-bottom:env(safe-area-inset-bottom,0)}.main-area{padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px))}}@media (max-width:620px){.dashboard-shell{width:min(100% - 20px,1180px);padding-top:10px}.brief-panel,.detail-panel,.hero-panel,.priority-card,.skeleton-card{border-radius:var(--r-lg)}h1{font-size:3rem}.stat-row{grid-template-columns:1fr}.panel-heading{align-items:flex-start;flex-direction:column}.timeline-item{grid-template-columns:1fr}}.input{width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);color:var(--foreground);font-size:.875rem;outline:none;transition:border-color .15s}.input:focus{border-color:var(--accent)}.form-input{padding:.5rem .75rem;border-radius:.5rem;border:1px solid var(--border);background:var(--surface);color:inherit;width:100%;box-sizing:border-box}.btn,.form-input{font-size:.875rem}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;border:none;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .12s,opacity .12s}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-strong)}.btn-secondary{background:var(--surface-strong);border:1px solid var(--line);color:var(--foreground)}.btn-secondary:hover:not(:disabled){background:var(--background)}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.settings-page{width:min(680px,calc(100% - 48px));margin:0 auto;padding:32px 0 64px}.settings-title{font-size:1.4rem;font-weight:700;margin:0 0 32px}.settings-section{background:rgba(255,255,255,.88);border:1px solid rgba(226,232,240,.82);border-radius:var(--r-md);padding:24px;margin-bottom:20px;display:flex;flex-direction:column;gap:16px}.settings-section-title{font-size:.95rem;font-weight:600;margin:0 0 4px}.settings-avatar-row{display:flex;align-items:center;gap:16px}.settings-label{display:flex;flex-direction:column;gap:6px;font-size:.8rem;font-weight:500;color:var(--muted)}.settings-label .input,.settings-label select.input{color:var(--foreground)}.settings-row{display:flex;align-items:center;gap:12px}.settings-inline-row{display:flex;gap:8px;align-items:center}.settings-inline-row .input{flex:1 1}.settings-msg{font-size:.8rem;color:var(--accent)}.settings-msg--error{color:#ef4444}.settings-email-label{font-size:.875rem;color:var(--muted);margin:0}.settings-danger-zone{border:1px solid rgba(239,68,68,.25);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:10px}.settings-danger-title{font-size:.875rem;font-weight:600;color:#ef4444;margin:0}.settings-danger-desc{font-size:.8rem;color:var(--muted);margin:0}.work-style-cards{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}.work-style-card{flex:1 1;min-width:120px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-strong);cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:4px;transition:border-color .15s,background .15s}.work-style-card--active{border-color:var(--accent);background:rgba(14,165,233,.07)}.work-style-label{font-size:.875rem;font-weight:600;color:var(--foreground)}.work-style-desc{font-size:.75rem;color:var(--muted);line-height:1.4}.focus-hours-row{display:flex;align-items:center;gap:10px;margin-top:4px}.focus-hours-row .input{width:auto;flex:1 1}.page-container{min-height:100vh}.modal-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:6rem;background:rgba(0,0,0,.55)}.modal-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-2xl);padding:1.5rem;width:calc(100% - 2rem);max-width:460px;box-shadow:0 8px 32px rgba(0,0,0,.22)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.modal-header h3{margin:0}.modal-body{display:flex;flex-direction:column;gap:.75rem}.onboarding-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(160deg,#ffffff,#f0f8ff)}.onboarding-card{width:min(480px,100%);background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.82);border-radius:24px;padding:36px 32px 28px;box-shadow:0 22px 70px rgba(15,23,42,.12);display:flex;flex-direction:column;gap:24px}.onboarding-progress{display:flex;align-items:center;gap:6px}.onboarding-pip{height:4px;flex:1 1;border-radius:2px;background:var(--line);transition:background .2s}.onboarding-pip--active,.onboarding-pip--done{background:var(--accent)}.onboarding-step-label{font-size:.75rem;color:var(--muted);white-space:nowrap;margin-left:4px}.onboarding-step{display:flex;flex-direction:column;gap:12px}.onboarding-heading{font-size:1.4rem;font-weight:700;margin:0;line-height:1.2}.onboarding-sub{font-size:.875rem;color:var(--muted);margin:0;line-height:1.5}.onboarding-input{font-size:1rem;padding:12px 14px}.onboarding-nav{display:flex;justify-content:space-between;align-items:center;padding-top:4px}.doc-editor-shell{max-width:740px;margin:0 auto}.doc-title-input{width:100%;font-size:1.75rem;font-weight:700;border:none;outline:none;background:transparent;color:var(--foreground);font-family:inherit;padding:.25rem 0 .5rem;margin-bottom:.75rem}.doc-title-input::placeholder{color:var(--muted)}.document-editor{overflow:hidden}.document-editor,.editor-placeholder-shell{border:1px solid var(--border);border-radius:.625rem}.editor-placeholder-shell{min-height:400px}.editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.125rem;padding:.4rem .5rem;border-bottom:1px solid var(--border);background:var(--surface)}.editor-toolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:.3rem;border:none;background:transparent;cursor:pointer;color:var(--foreground);opacity:.55;transition:opacity .1s,background .1s;flex-shrink:0}.editor-toolbar button:hover{opacity:1;background:var(--border)}.editor-toolbar button.is-active{opacity:1;background:color-mix(in srgb,var(--accent) 15%,transparent);color:var(--accent)}.editor-toolbar-divider{width:1px;height:18px;background:var(--border);margin:0 .2rem;flex-shrink:0}.editor-content-wrap{background:var(--background)}.ProseMirror{min-height:420px;padding:1rem 1.25rem;outline:none;font-size:.9375rem;line-height:1.65;color:var(--foreground)}.ProseMirror h1{font-size:1.5rem;font-weight:700;margin:1rem 0 .4rem}.ProseMirror h2{font-size:1.2rem;font-weight:600;margin:.875rem 0 .35rem}.ProseMirror h3{font-size:1rem;font-weight:600;margin:.75rem 0 .3rem}.ProseMirror p{margin:.45rem 0}.ProseMirror ol,.ProseMirror ul{padding-left:1.5rem;margin:.5rem 0}.ProseMirror li{margin:.2rem 0}.ProseMirror blockquote{border-left:3px solid var(--accent);padding-left:1rem;margin:.75rem 0;color:var(--muted);font-style:italic}.ProseMirror code{background:color-mix(in srgb,var(--accent) 10%,var(--surface));padding:.1em .35em;border-radius:3px;font-size:.85em;font-family:ui-monospace,monospace}.ProseMirror pre{background:var(--surface);border:1px solid var(--border);border-radius:.5rem;padding:.75rem 1rem;overflow-x:auto;margin:.75rem 0}.ProseMirror pre code{background:none;padding:0;font-size:.875em}.ProseMirror hr{border:none;border-top:1px solid var(--border);margin:1.25rem 0}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none;float:left;height:0}.bubble-menu{display:flex;align-items:center;gap:.125rem;padding:.25rem;background:var(--surface);border:1px solid var(--border);border-radius:.5rem;box-shadow:0 4px 16px rgba(0,0,0,.18)}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:.25rem;border:none;background:transparent;cursor:pointer;color:var(--foreground);opacity:.6;transition:opacity .1s,background .1s}.bubble-menu button:hover{opacity:1;background:var(--border)}.bubble-menu button.is-active{opacity:1;background:color-mix(in srgb,var(--accent) 15%,transparent);color:var(--accent)}.slash-menu{background:var(--surface);border:1px solid var(--border);border-radius:.625rem;box-shadow:0 8px 24px rgba(0,0,0,.2);min-width:230px;max-height:320px;overflow-y:auto;padding:.25rem}.slash-menu-item{display:flex;align-items:center;gap:.625rem;width:100%;padding:.45rem .625rem;border:none;background:transparent;border-radius:.4rem;cursor:pointer;text-align:left;color:var(--foreground);transition:background .1s}.slash-menu-item.selected,.slash-menu-item:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}.slash-menu-icon{font-size:.7rem;font-weight:700;color:var(--muted);width:22px;text-align:center;flex-shrink:0;font-family:ui-monospace,monospace;line-height:1}.slash-menu-label{font-size:.85rem;font-weight:500}.slash-menu-desc{font-size:.71rem;color:var(--muted);margin-top:.05rem}.ai-panel{border-top:1px solid var(--border);background:color-mix(in srgb,var(--accent) 4%,var(--surface));padding:.625rem .75rem;display:flex;flex-direction:column;gap:.5rem}.ai-panel-presets{display:flex;flex-wrap:wrap;gap:.375rem}.ai-panel-presets button{font-size:.77rem;padding:.25rem .625rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--foreground);cursor:pointer;transition:border-color .1s,background .1s}.ai-panel-presets button:hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.ai-panel-presets button:disabled{opacity:.5;cursor:default}.ai-panel-custom{display:flex;gap:.375rem}.ai-panel-custom input{flex:1 1;padding:.35rem .625rem;border:1px solid var(--border);border-radius:.4rem;background:var(--background);color:var(--foreground);font-size:.83rem;outline:none;font-family:inherit}.ai-panel-custom input:focus{border-color:var(--accent)}.ai-panel-custom input:disabled{opacity:.5}.ai-panel-custom button{display:flex;align-items:center;justify-content:center;padding:.35rem .75rem;border-radius:.4rem;border:none;background:var(--accent);color:white;cursor:pointer;transition:opacity .1s}.ai-panel-custom button:disabled{opacity:.5;cursor:default}.checklists-layout{display:grid;grid-template-columns:300px 1fr;grid-gap:1.25rem;gap:1.25rem;align-items:start;padding:1.25rem 0}.checklists-tab-bar{display:flex;gap:.25rem;margin-bottom:.75rem;border-bottom:1px solid var(--line);padding-bottom:.25rem}.checklists-tab{padding:.3rem .65rem;font-size:.82rem;font-weight:500;color:var(--muted);background:none;border:none;border-radius:var(--r-sm);cursor:pointer;display:flex;align-items:center;gap:.35rem;transition:color .12s,background .12s}.checklists-tab:hover{color:var(--foreground);background:var(--line)}.checklists-tab--active{color:var(--accent);font-weight:600}.checklists-tab-count{font-size:.7rem;padding:.05rem .35rem;border-radius:var(--r-pill);background:var(--line);color:var(--muted)}.checklist-card{padding:.65rem .75rem;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s;outline:none}.checklist-card:hover{border-color:var(--accent);box-shadow:0 2px 8px rgba(0,0,0,.06)}.checklist-card--selected{border-color:var(--accent);background:var(--surface-strong)}.checklist-card-header{display:flex;align-items:center;gap:.4rem;justify-content:space-between}.checklist-card-name{font-size:.9rem;font-weight:600;flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checklist-card-rename-input{flex:1 1;border:1px solid var(--accent);border-radius:var(--r-sm);padding:.15rem .4rem;font-size:.9rem;font-weight:600;background:var(--surface);color:var(--foreground);outline:none;font-family:inherit}.checklist-card-actions{display:flex;align-items:center;gap:.2rem;flex-shrink:0}.checklist-card-delete{opacity:0;transition:opacity .12s}.checklist-card:hover .checklist-card-delete{opacity:1}.checklist-card-meta{margin-top:.3rem}.checklist-card-progress{height:3px;background:var(--line);border-radius:2px;overflow:hidden;margin-top:.45rem}.checklist-card-progress-fill{height:100%;background:var(--accent);border-radius:2px;transition:width .3s}.checklist-recurrence-badge{font-size:.65rem;font-weight:600;padding:.1rem .4rem;border-radius:var(--r-pill);background:var(--accent)18;color:var(--accent);border:1px solid var(--accent)33;white-space:nowrap}.checklist-detail{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:1.25rem 1.5rem}.checklist-detail-header{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:1rem}.checklist-detail-name{margin:0;font-size:1.15rem;font-weight:700;cursor:text;line-height:1.3}.checklist-detail-name-input{font-size:1.15rem;font-weight:700;border:none;border-bottom:2px solid var(--accent);background:transparent;color:var(--foreground);outline:none;font-family:inherit;width:100%;padding:0;line-height:1.3}.checklist-items-list{display:flex;flex-direction:column;gap:.1rem}.checklist-item-row{display:flex;align-items:center;gap:.5rem;padding:.25rem .35rem;border-radius:var(--r-sm);transition:background .1s}.checklist-item-row:hover{background:var(--line)44}.checklist-item-row:hover .checklist-item-delete{opacity:1}.checklist-item-row--sub{padding-left:2rem}.checklist-item-delete{opacity:0;transition:opacity .12s;color:var(--muted)}.checklist-item-input{flex:1 1;border:none;background:transparent;color:var(--foreground);font-size:.9rem;padding:.15rem 0;outline:none;font-family:inherit;min-width:0}.checklist-item-input::placeholder{color:var(--muted);opacity:.55}.checklist-item-input--completed{text-decoration:line-through;color:var(--muted)}.checklist-checkbox{flex-shrink:0;width:15px;height:15px;border-radius:4px;border:1.5px solid var(--line);background:transparent;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;transition:border-color .12s,background .12s}.checklist-checkbox:checked{background:var(--accent);border-color:var(--accent)}.checklist-checkbox:checked:after{content:"";position:absolute;left:3px;top:0;width:5px;height:8px;border:1.5px solid #fff;border-top:none;border-left:none;transform:rotate(40deg)}.checklist-item-priority{opacity:0;transition:opacity .12s;flex-shrink:0}.checklist-item-row:hover .checklist-item-priority{opacity:.55}.checklist-item-priority--set{opacity:1!important}.checklist-item-priority--set:hover{opacity:.75!important}.checklist-item-notes-btn{opacity:0;transition:opacity .12s;flex-shrink:0}.checklist-item-row:hover .checklist-item-notes-btn{opacity:.55}.checklist-item-notes-btn--active{opacity:1!important}.checklist-item-notes{display:block;width:100%;border:1px solid var(--line);background:var(--surface);border-radius:var(--r-sm);color:var(--foreground);font-size:.82rem;line-height:1.5;padding:.3rem .5rem;outline:none;font-family:inherit;resize:vertical;min-height:2.4rem;box-sizing:border-box;margin-bottom:.25rem}.checklist-item-notes:focus{border-color:var(--accent)}.checklist-item-notes::placeholder{color:var(--muted);opacity:.55}.checklist-section{margin-top:1rem}.checklist-section-header{display:flex;align-items:center;gap:.35rem;padding:.15rem 0;border-bottom:1px solid var(--line);margin-bottom:.35rem;cursor:default}.checklist-section-header:hover .checklist-section-delete{opacity:1}.checklist-section-collapse{flex-shrink:0}.checklist-section-title{cursor:text;-webkit-user-select:none;-moz-user-select:none;user-select:none}.checklist-section-title,.checklist-section-title-input{flex:1 1;font-size:.75rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.checklist-section-title-input{border:none;background:transparent;outline:none;font-family:inherit;padding:0}.checklist-section-count{font-size:.72rem;color:var(--muted);opacity:.6;flex-shrink:0}.checklist-section-delete{opacity:0;transition:opacity .12s;color:var(--muted);flex-shrink:0}.checklist-section-add-item{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .35rem;margin-top:.1rem;font-size:.8rem;color:var(--muted);background:none;border:none;cursor:pointer;border-radius:var(--r-sm);font-family:inherit;transition:color .12s,background .12s}.checklist-section-add-item:hover{color:var(--accent);background:var(--accent)11}.checklist-add-section-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .35rem;margin-top:1rem;font-size:.8rem;color:var(--muted);background:none;border:none;cursor:pointer;border-radius:var(--r-sm);font-family:inherit;transition:color .12s,background .12s}.checklist-add-section-btn:hover{color:var(--accent);background:var(--accent)11}@media (max-width:700px){.checklists-layout{grid-template-columns:1fr}}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-brand-panel{background:linear-gradient(160deg,#0284c7,#0ea5e9);padding:3rem;display:flex;flex-direction:column;justify-content:space-between;color:white}.login-form-panel{background:var(--background,#f0f8ff);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;min-height:100vh}@media (max-width:640px){.login-layout{grid-template-columns:1fr}.login-brand-panel{display:none}.login-form-panel{min-height:100vh}.matrix-grid{grid-template-columns:1fr!important}}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_f367f3{font-family:Inter,Inter Fallback;font-style:normal}.__variable_f367f3{--font-sans:"Inter","Inter Fallback"}@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/5ece437c7024c161-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/9cc5b37ab1350db7-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/35f3de0ebb1cfc70-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/e6099e249fd938cc-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:"Instrument Serif Fallback";src:local("Times New Roman");ascent-override:117.94%;descent-override:36.93%;line-gap-override:0.00%;size-adjust:83.94%}.__className_1f5468{font-family:"Instrument Serif","Instrument Serif Fallback";font-weight:400}.__variable_1f5468{--font-display:"Instrument Serif","Instrument Serif Fallback"}