*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #f6f7f9;--surface: #ffffff;--surface2: #f1f4f8;--surface3: #eaf0f6;--border: #d9e0ea;--border-light: #e8edf3;--border-strong: #c3ccd9;--text: #151923;--text-2: #4d5868;--text-muted: #8792a3;--accent: #0d9488;--accent-light: #dff7f3;--accent-hover: #0f766e;--accent-ink: #115e59;--success: #16a34a;--success-light: #dcfce7;--warning: #b45309;--warning-light: #fff3d6;--danger: #dc2626;--danger-light: #fee2e2;--ring: 0 0 0 3px rgba(13, 148, 136, .16);--sidebar-bg: #fbfcfe;--app-sheen: transparent;--radius-sm: 5px;--radius: 8px;--radius-lg: 10px;--shadow-sm: 0 1px 2px rgba(15,23,42,.06);--shadow: 0 10px 28px rgba(15,23,42,.1);--sidebar-w: 248px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}html,body{width:100%;overflow-x:hidden}body{background:var(--bg);color:var(--text)}#root{height:100vh;display:flex}.app[data-theme=botanical]{--bg: #ecfff4;--surface: #fffef7;--surface2: #dcfce7;--surface3: #baf7d0;--border: #9bd9aa;--border-light: #d7f7dd;--border-strong: #4fb86b;--text: #102315;--text-2: #315c38;--text-muted: #6c8d68;--accent: #00a650;--accent-light: #bcffd5;--accent-hover: #007a37;--accent-ink: #064e2a;--success: #00a650;--success-light: #c8ffd9;--warning: #ff7a1a;--warning-light: #ffe2c7;--danger: #dc2626;--danger-light: #fee2e2;--ring: 0 0 0 3px rgba(0, 166, 80, .22);--sidebar-bg: #f4ffe7;--app-sheen: radial-gradient(circle at 12% 12%, rgba(0,166,80,.22), transparent 30%), radial-gradient(circle at 86% 20%, rgba(255,122,26,.18), transparent 28%), linear-gradient(135deg, rgba(0,166,80,.1), transparent 45%);--shadow-sm: 0 2px 8px rgba(6,78,42,.1);--shadow: 0 16px 38px rgba(6,78,42,.17)}.app[data-theme=spectrum]{--bg: #fbf2ff;--surface: #ffffff;--surface2: #f0e4ff;--surface3: #dec7ff;--border: #cbb0f7;--border-light: #eee1ff;--border-strong: #9b6ff2;--text: #171225;--text-2: #4e3d6e;--text-muted: #83719f;--accent: #8b2cff;--accent-light: #eddcff;--accent-hover: #6514d9;--accent-ink: #4b008f;--success: #00a9c7;--success-light: #c6f7ff;--warning: #ff2f7d;--warning-light: #ffd7e8;--danger: #dc2626;--danger-light: #fee2e2;--ring: 0 0 0 3px rgba(139, 44, 255, .22);--sidebar-bg: #fff8ff;--app-sheen: radial-gradient(circle at 12% 10%, rgba(139,44,255,.24), transparent 30%), radial-gradient(circle at 84% 16%, rgba(0,201,255,.22), transparent 28%), radial-gradient(circle at 62% 88%, rgba(255,47,125,.16), transparent 34%);--shadow-sm: 0 2px 8px rgba(75,0,143,.1);--shadow: 0 16px 40px rgba(75,0,143,.18)}button,input,textarea,select{font:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:none;box-shadow:var(--ring)}.app{display:flex;width:100%;height:100vh;overflow:hidden}.main{flex:1;overflow-y:auto;padding:48px 56px;background:var(--app-sheen),var(--bg);min-width:0;position:relative}.feature-request-button{position:fixed;top:18px;right:22px;z-index:85;border:1px solid var(--border);border-radius:999px;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text-2);box-shadow:0 2px 8px #0f172a0f;padding:6px 10px 6px 7px;font-size:12px;font-weight:750;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:background .12s,border-color .12s,color .12s,box-shadow .12s;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.feature-request-button:hover{background:var(--surface);border-color:var(--accent);color:var(--accent);box-shadow:var(--shadow-sm)}.feature-request-icon{width:8px;height:8px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 3px var(--accent-light);flex:0 0 auto}.feature-request-label{white-space:nowrap}.app[data-theme=botanical] .nav-item.active,.app[data-theme=botanical] .filter-tab.active,.app[data-theme=botanical] .btn-add{background:linear-gradient(135deg,#00a650,#3bdc73);color:#fff}.app[data-theme=botanical] .progress-fill{background:linear-gradient(90deg,#00a650,#ff7a1a)}.app[data-theme=botanical] .section-icon-lg{filter:drop-shadow(0 6px 12px rgba(0,166,80,.22))}.app[data-theme=spectrum] .nav-item.active,.app[data-theme=spectrum] .filter-tab.active,.app[data-theme=spectrum] .btn-add{background:linear-gradient(135deg,#8b2cff,#00c9ff);color:#fff}.app[data-theme=spectrum] .progress-fill{background:linear-gradient(90deg,#4b008f,#8b2cff 48%,#ff2f7d);box-shadow:0 0 0 1px #4b008f1f,0 4px 12px #8b2cff47}.app[data-theme=spectrum] .progress-track{height:7px;background:#eadcff;box-shadow:inset 0 0 0 1px #4b008f14}.app[data-theme=spectrum] .section-icon-lg{filter:drop-shadow(0 6px 12px rgba(139,44,255,.24))}.hamburger{display:none;position:fixed;top:14px;left:14px;z-index:95;width:38px;height:38px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-sm);color:var(--text);cursor:pointer;padding:0;align-items:center;justify-content:center;box-shadow:var(--shadow-sm)}.hamburger:hover{background:var(--surface2)}.hamburger svg{width:20px;height:20px}.sidebar-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;animation:fadeIn .18s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.sidebar-brand-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sidebar-close{display:none;background:none;border:none;font-size:18px;color:var(--text-muted);cursor:pointer;padding:2px 6px;border-radius:5px}.sidebar-close:hover{color:var(--text);background:var(--border-light)}@media (max-width: 768px){.app{width:100%;max-width:100vw;height:100dvh;overflow:hidden}.main{flex:0 0 100%;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:calc(70px + env(safe-area-inset-top,0px)) 18px calc(24px + env(safe-area-inset-bottom,0px))}.hamburger{display:flex}.feature-request-button{top:14px;right:14px;padding:7px;max-width:calc(100vw - 70px);overflow:hidden}.feature-request-label{display:none}.sidebar{position:fixed;top:0;left:0;height:100dvh;width:min(320px,86vw);max-width:none;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);transform:translate3d(-100%,0,0);transition:transform .22s ease;z-index:110;box-shadow:0 4px 24px #00000026}.sidebar.open{transform:translateZ(0)}.sidebar-close{display:inline-flex;align-items:center;justify-content:center}.app.sidebar-open .sidebar-backdrop{display:block}.app.sidebar-open .hamburger,.app.sidebar-open .feature-request-button{display:none}.section-view{max-width:100%}.section-header{gap:10px}.section-icon-lg{font-size:26px}.section-title{font-size:22px}.btn-review{padding:6px 8px;font-size:0;gap:0}.btn-review svg{width:16px;height:16px}.add-row{gap:6px}.btn-add{padding:10px 14px}.filter-bar{flex-wrap:wrap;gap:8px}.modal{width:100%;max-width:calc(100vw - 24px);padding:22px 20px}.review-modal{width:100%;max-width:calc(100vw - 16px);max-height:92vh}.review-modal .modal-header,.review-toolbar,.review-footer{padding-left:16px;padding-right:16px}.review-toolbar{flex-direction:column;gap:12px}.review-date-input{width:100%}.col-status,.col-date{width:auto}.review-status-label,.review-date-iso{display:none}.note-view{max-width:100%}.note-editor{min-height:50vh;padding:14px;font-size:15px}.auth-card{padding:32px 24px 22px}.history-day-header{flex-wrap:wrap;row-gap:4px}.history-date-iso{font-size:11px}}@media (max-width: 380px){.main{padding:60px 14px 20px}.section-title{font-size:20px}.add-input{font-size:13.5px;padding:9px 12px}.nav-item{font-size:14px}}.sidebar{width:var(--sidebar-w);min-width:var(--sidebar-w);height:100vh;background:var(--sidebar-bg);border-right:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden}.sidebar-header{padding:28px 20px 20px;border-bottom:1px solid var(--border-light);flex:0 0 auto}.sidebar-brand{font-size:18px;font-weight:800;letter-spacing:0;color:var(--text)}.sidebar-date{font-size:11px;color:var(--text-muted);margin-top:3px;letter-spacing:.01em}.sidebar-nav{flex:1;min-height:0;overflow-y:auto;padding:12px 8px}.nav-group{margin-bottom:10px}.nav-group.collapsed{margin-bottom:4px}.nav-group-help{padding-top:10px;margin-top:12px;border-top:1px solid var(--border-light)}.nav-group-header{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 4px 4px;min-height:28px}.nav-group-toggle{flex:1;display:flex;align-items:center;gap:4px;padding:4px 6px;background:none;border:none;cursor:pointer;border-radius:5px;text-align:left;font-family:inherit;transition:background .12s;min-width:0}.nav-group-toggle:hover{background:var(--border-light)}.chevron{width:11px;height:11px;color:var(--text-muted);display:inline-block;flex-shrink:0;transition:transform .15s}.chevron.collapsed{transform:rotate(-90deg)}.nav-group-toggle:hover .chevron{color:var(--text-2)}.nav-group-caret{margin-right:2px}.nav-group-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted)}.nav-group-toggle:hover .nav-group-label{color:var(--text-2)}.nav-group-add{width:22px;height:22px;border:none;background:transparent;color:var(--text-muted);border-radius:5px;font-size:16px;font-weight:500;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s,color .12s;padding:0;flex-shrink:0}.nav-group-add:hover{background:var(--accent);color:#fff}.nav-group-empty{font-size:12px;color:var(--text-muted);padding:4px 12px 6px 24px;font-style:italic}.nav-item-row{position:relative;display:flex;align-items:center;border-radius:var(--radius-sm);margin-bottom:1px}.nav-item-row .nav-item{flex:1;min-width:0;margin-bottom:0}.nav-item-delete{position:absolute;right:4px;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--text-muted);cursor:pointer;padding:2px 6px;font-size:15px;line-height:1;border-radius:4px;opacity:0;transition:opacity .12s,background .12s,color .12s}.nav-item-row:hover .nav-item-delete{opacity:.7}.nav-item-delete:hover{opacity:1!important;background:var(--danger-light);color:var(--danger)}.nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:none;border-radius:var(--radius-sm);background:none;cursor:pointer;font-size:14px;color:var(--text-2);text-align:left;transition:background .12s,color .12s;margin-bottom:1px}.nav-item:hover{background:var(--surface3);color:var(--text)}.nav-item.active{background:var(--accent-light);color:var(--accent-ink);font-weight:700;box-shadow:inset 3px 0 0 var(--accent)}.nav-icon{font-size:16px;width:22px;text-align:center;flex-shrink:0}.nav-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-badge{background:var(--success);color:#fff;font-size:10.5px;font-weight:700;min-width:18px;height:18px;padding:0 5px;border-radius:99px;display:flex;align-items:center;justify-content:center}.nav-item:not(.active) .nav-badge{background:var(--surface3);color:var(--text-2)}.nav-shared-dot{width:7px;height:7px;border-radius:999px;background:var(--accent);flex-shrink:0;box-shadow:0 0 0 2px var(--accent-light)}.sidebar-footer{padding:12px 8px 20px;border-top:1px solid var(--border-light)}.btn-new-section{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:1.5px dashed var(--border);border-radius:var(--radius-sm);background:none;color:var(--text-muted);font-size:13.5px;cursor:pointer;transition:border-color .15s,color .15s,background .12s}.btn-new-section:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.plus-icon{font-size:17px;line-height:1}.project-row{margin-bottom:2px}.project-header{display:flex;align-items:center;border-radius:var(--radius-sm)}.project-header:hover{background:var(--border-light)}.project-toggle{flex:1;display:flex;align-items:center;gap:8px;padding:8px 8px 8px 18px;background:none;border:none;cursor:pointer;font-family:inherit;font-size:14px;color:var(--text);text-align:left;border-radius:var(--radius-sm);min-width:0}.project-caret{width:11px;height:11px;color:var(--text-muted);flex-shrink:0}.project-title{font-weight:700;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-delete{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:2px 6px;font-size:16px;line-height:1;border-radius:4px;opacity:0;transition:opacity .12s,background .12s,color .12s;flex-shrink:0;margin-right:4px}.project-row:hover .project-delete{opacity:.7}.project-delete:hover{opacity:1;background:var(--danger-light);color:var(--danger)}@media (hover: none),(pointer: coarse){.nav-item-delete,.project-delete,.nav-item-row:hover .nav-item-delete,.project-row:hover .project-delete{opacity:.55}.nav-item-delete:hover,.project-delete:hover{background:transparent;color:var(--text-muted)}}.project-children{margin:2px 0 4px 18px;padding-left:8px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:1px}.nav-item-child{font-size:13px;padding:6px 10px}.project-divider{height:1px;background:var(--border-light);margin:4px}.project-divider-subtle{margin:4px;background:var(--border)}.project-subgroup{display:flex;flex-direction:column;gap:1px}.project-subgroup-header{display:flex;align-items:center;gap:4px}.project-subgroup-toggle{display:flex;align-items:center;gap:6px;flex:1;min-width:0;padding:5px 10px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;text-align:left;transition:background .12s,color .12s}.project-subgroup-toggle:hover{background:var(--surface3);color:var(--text-2)}.project-subgroup-caret{width:9px;height:9px;flex-shrink:0}.project-subgroup-count{margin-left:auto;min-width:16px;height:16px;padding:0 5px;border-radius:999px;background:var(--surface3);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;font-size:10px;letter-spacing:0}.project-subgroup-add{width:22px;height:22px;border:none;background:transparent;color:var(--text-muted);border-radius:5px;font-size:16px;font-weight:500;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s,color .12s;padding:0;flex-shrink:0}.project-subgroup-add:hover{background:var(--accent);color:#fff}.project-breadcrumb{display:inline-flex;align-items:center;gap:6px;margin-bottom:14px;padding:4px 10px 4px 8px;background:var(--surface);border:1px solid var(--border);border-radius:99px;font-size:12px;font-weight:600;color:var(--text-2);font-family:inherit;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.project-breadcrumb:hover{background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.project-breadcrumb-icon{font-size:13px}.project-breadcrumb-arrow{color:var(--text-muted);font-size:11px}.also-global-row{display:flex;align-items:center;gap:8px;margin:-10px 0 18px;padding:6px 10px;background:var(--surface2);border-radius:var(--radius-sm);font-size:12.5px;color:var(--text-2);cursor:pointer;-webkit-user-select:none;user-select:none;width:fit-content}.also-global-row input[type=checkbox]{width:14px;height:14px;accent-color:var(--accent);cursor:pointer}.also-global-row strong{color:var(--text);font-weight:600}.section-view{max-width:680px}.section-header{display:flex;align-items:flex-start;gap:14px;margin-bottom:28px}.section-icon-lg{font-size:32px;line-height:1;padding-top:2px}.section-title-block{flex:1;min-width:0}.section-title{font-size:26px;font-weight:800;letter-spacing:0;color:var(--text);line-height:1.2}.section-title-input{font-size:26px;font-weight:800;letter-spacing:0;color:var(--text);border:none;border-bottom:2px solid var(--accent);background:none;outline:none;width:100%;font-family:inherit;padding:0;line-height:1.2}.section-meta{font-size:13px;color:var(--text-muted);margin-top:4px}.section-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.btn-review{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;background:transparent;border:1px solid var(--border);border-radius:99px;font-size:12px;font-weight:500;font-family:inherit;color:var(--text-2);cursor:pointer;transition:background .12s,border-color .12s,color .12s}.btn-review svg{width:13px;height:13px;display:block}.btn-review:hover{background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.btn-share{display:inline-flex;align-items:center;padding:5px 11px;background:var(--surface);border:1px solid var(--border);border-radius:999px;font-size:12px;font-weight:700;font-family:inherit;color:var(--text-2);cursor:pointer;transition:background .12s,border-color .12s,color .12s}.btn-share:hover,.btn-share.shared{background:var(--accent-light);border-color:var(--accent);color:var(--accent-ink)}.shared-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;border:1px solid var(--border);background:var(--surface2);color:var(--text-2);font-size:11.5px;font-weight:700;line-height:1}.shared-pill.inline{margin-right:10px;vertical-align:2px}.btn-delete-section{opacity:0;background:none;border:none;color:var(--text-muted);cursor:pointer;padding:6px;border-radius:var(--radius-sm);transition:background .12s,color .12s,opacity .15s;flex-shrink:0}.btn-delete-section svg{width:16px;height:16px;display:block}.section-header:hover .btn-delete-section{opacity:1}.btn-delete-section:hover{background:var(--danger-light);color:var(--danger)}.progress-row{display:flex;align-items:center;gap:10px;margin-bottom:24px}.progress-track{flex:1;height:5px;background:var(--surface3);border-radius:99px;overflow:hidden}.progress-fill{height:100%;background:var(--success);border-radius:99px;transition:width .35s ease}.progress-pct{font-size:12px;font-weight:600;color:var(--text-muted);min-width:32px;text-align:right}.add-row{display:flex;gap:8px;margin-bottom:20px}.add-input{flex:1;padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:inherit;color:var(--text);background:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s}.add-input:focus{border-color:var(--accent);box-shadow:var(--ring)}.add-input::placeholder{color:var(--text-muted)}.btn-add{padding:10px 20px;background:var(--accent);color:#fff;border:none;border-radius:var(--radius);font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s;white-space:nowrap}.btn-add:hover:not(:disabled){background:var(--accent-hover)}.btn-add:disabled{opacity:.4;cursor:not-allowed}.filter-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:8px}.filter-tabs{display:flex;gap:2px}.filter-tab{padding:5px 12px;border:none;border-radius:999px;background:none;font-size:12.5px;font-family:inherit;cursor:pointer;color:var(--text-muted);transition:background .12s,color .12s}.filter-tab:hover:not(.active){background:var(--surface3);color:var(--text)}.filter-tab.active{background:var(--accent-light);color:var(--accent-ink);font-weight:700}.btn-clear{background:none;border:none;font-size:12.5px;font-family:inherit;color:var(--text-muted);cursor:pointer;padding:4px 8px;border-radius:var(--radius-sm);transition:color .12s,background .12s}.btn-clear:hover{color:var(--danger);background:var(--danger-light)}.todo-list{list-style:none;display:flex;flex-direction:column;gap:4px}.todo-item-wrap{list-style:none;position:relative}.todo-item-wrap.popover-open{z-index:90}.todo-item-wrap:hover,.todo-item-wrap:focus-within{z-index:80}.todo-item-wrap.popover-open .todo-note-preview,.todo-item-wrap.popover-open .attach-note-menu,.todo-item-wrap.popover-open .reminder-menu{z-index:120}.todo-children{list-style:none;padding-left:18px;margin:4px 0 0 12px;border-left:2px solid var(--border-light);display:flex;flex-direction:column;gap:4px}.todo-child-add{padding:4px 0}.todo-child-add .add-input{font-size:13px;padding:7px 10px}.attach-note-menu{position:absolute;top:calc(100% + 6px);right:8px;z-index:40;width:280px;max-width:calc(100vw - 32px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px;display:flex;flex-direction:column;animation:notePreviewIn .14s ease}.attach-create{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--accent-light);border:none;border-radius:var(--radius-sm);color:var(--accent);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;text-align:left;width:100%;transition:background .12s}.attach-create:hover{background:var(--accent);color:#fff}.attach-create-icon{background:#fff6;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1}.attach-create:hover .attach-create-icon{background:#ffffff40;color:#fff}.attach-divider{height:1px;background:var(--border-light);margin:6px 0}.attach-search{padding:0 2px 4px}.attach-search-input{width:100%;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12.5px;font-family:inherit;outline:none;background:var(--surface2)}.attach-search-input:focus{border-color:var(--accent)}.attach-list{max-height:240px;overflow-y:auto;display:flex;flex-direction:column;gap:1px}.attach-item{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;background:none;border:none;border-radius:var(--radius-sm);font-family:inherit;font-size:13px;color:var(--text);cursor:pointer;text-align:left;transition:background .12s}.attach-item:hover{background:var(--border-light)}.attach-item-icon{font-size:14px;flex-shrink:0}.attach-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-empty{padding:16px;text-align:center;font-size:12.5px;color:var(--text-muted)}.attach-group-label{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);padding:8px 10px 4px}.todo-note-chip-wrap{display:inline-flex;align-items:center;gap:2px;margin-left:6px}.todo-note-chip-wrap .todo-note-chip{margin-left:0}.todo-note-unlink{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:2px 5px;font-size:11px;line-height:1;border-radius:99px;opacity:0;transition:opacity .12s,background .12s,color .12s}.todo-note-chip-wrap:hover .todo-note-unlink{opacity:.7}.todo-note-unlink:hover{opacity:1!important;background:var(--danger-light);color:var(--danger)}.todo-item{display:flex;align-items:center;gap:8px;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px #0f172a05;transition:background .12s,border-color .12s,box-shadow .12s,transform .12s;position:relative}.todo-item:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm);background:#fbfefd}.todo-item.done{opacity:.62}.todo-item-wrap.dragging>.todo-item{opacity:.52}.todo-item-wrap.drag-over-item>.todo-item{border-color:var(--accent);box-shadow:0 -3px 0 var(--accent),var(--shadow-sm);background:#f6fffd}.todo-drag-handle{position:static;transform:none;width:14px;min-width:14px;height:24px;margin-left:-6px;margin-right:-3px;border:none;background:transparent;color:var(--text-muted);cursor:grab;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;padding:0;opacity:0;touch-action:none;-webkit-user-select:none;user-select:none;transition:opacity .12s,background .12s,color .12s}.todo-drag-handle:active{cursor:grabbing}.todo-drag-handle svg{width:12px;height:16px;display:block}.todo-item:hover .todo-drag-handle,.todo-drag-handle:focus-visible,.todo-item-wrap.dragging .todo-drag-handle,.todo-item-wrap.drag-over-item .todo-drag-handle{opacity:1}.todo-drag-handle:hover{background:var(--surface2);color:var(--accent)}.todo-checkbox{width:19px;height:19px;min-width:19px;border-radius:5px;border:2px solid var(--border);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .15s,background .15s;padding:0}.todo-checkbox:disabled{cursor:default;opacity:.72}.todo-checkbox svg{width:11px;height:9px;display:none}.todo-item.done .todo-checkbox{background:var(--success);border-color:var(--success)}.todo-item.done .todo-checkbox svg{display:block}.todo-text-wrap{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px}.todo-text{font-size:14px;line-height:1.5;color:var(--text);word-break:break-word;cursor:text}.todo-item.done .todo-text{text-decoration:line-through;color:var(--text-muted)}.todo-edit-input{flex:1;font-size:14px;font-family:inherit;color:var(--text);border:none;border-bottom:2px solid var(--accent);background:none;outline:none;padding:0;line-height:1.5;width:100%}.todo-date{font-size:11px;color:var(--text-muted);white-space:nowrap;flex-shrink:0}.todo-actions{display:flex;gap:2px}.todo-actions .btn-icon{opacity:0;transition:opacity .12s,background .12s,color .12s}.todo-item:hover .todo-actions .btn-icon{opacity:1}.todo-note-btn{position:relative}.todo-note-btn.attached{opacity:1!important;color:var(--accent)}.todo-note-btn.attached:hover{background:var(--accent-light);color:var(--accent-hover)}.note-dot{position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:99px;background:var(--accent);border:1px solid var(--surface)}.note-dot.reminder-dot{background:var(--warning)}.todo-reminder-btn{position:relative}.todo-reminder-btn.attached{opacity:1!important;color:var(--warning)}.todo-reminder-btn.attached:hover{background:var(--warning-light);color:#7c2d12}.todo-reminder-chip-wrap{display:inline-flex;align-items:center;gap:2px;margin-left:6px}.todo-reminder-chip{display:inline-flex;align-items:center;gap:5px;max-width:180px;padding:2px 9px;border:1px solid #f5d48b;background:var(--warning-light);color:#7c2d12;font-size:11.5px;font-weight:600;border-radius:99px;cursor:pointer;font-family:inherit;transition:background .12s,border-color .12s,color .12s}.todo-reminder-chip:hover{background:var(--warning);color:#fff;border-color:var(--warning)}.todo-reminder-chip-icon{font-size:11px;line-height:1}.todo-reminder-chip-time{white-space:nowrap;font-feature-settings:"tnum"}.todo-item.done .todo-reminder-chip{opacity:.5}.reminder-menu{position:absolute;top:calc(100% + 6px);right:8px;z-index:40;width:280px;max-width:calc(100vw - 32px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:10px;display:flex;flex-direction:column;gap:6px;animation:notePreviewIn .14s ease}.reminder-menu-label{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);padding:2px 4px 4px}.reminder-permission{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:var(--radius-sm);background:var(--surface2);border:1px solid var(--border-light);color:var(--text-2);font-size:11.5px;line-height:1.35}.reminder-permission.permission-granted{background:var(--success-light);border-color:#16a34a2e;color:#166534}.reminder-permission.permission-denied,.reminder-permission.permission-unsupported{background:var(--danger-light);border-color:#dc262629;color:var(--danger)}.reminder-permission button{border:none;background:var(--accent);color:#fff;border-radius:4px;padding:3px 7px;font-size:11px;font-weight:700;cursor:pointer}.reminder-permission button:hover{background:var(--accent-hover)}.reminder-presets{display:flex;flex-direction:column;gap:1px}.reminder-preset{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:7px 10px;background:none;border:none;border-radius:var(--radius-sm);font-family:inherit;font-size:13px;color:var(--text);cursor:pointer;text-align:left;transition:background .12s}.reminder-preset:hover{background:var(--border-light)}.reminder-preset-label{font-weight:500}.reminder-preset-time{font-size:11.5px;color:var(--text-muted);font-feature-settings:"tnum"}.reminder-divider{height:1px;background:var(--border-light);margin:4px 0}.reminder-custom-row{display:flex;gap:6px;padding:4px 2px}.reminder-custom-input{flex:1;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12px;font-family:inherit;outline:none;background:var(--surface)}.reminder-custom-input:focus{border-color:var(--warning);box-shadow:0 0 0 3px #b4530924}.reminder-custom-btn{padding:6px 12px;background:var(--warning);color:#fff;border:none;border-radius:var(--radius-sm);font-size:12px;font-weight:600;font-family:inherit;cursor:pointer;transition:background .12s}.reminder-custom-btn:hover{background:#92400e}.reminder-clear{width:100%;padding:6px 10px;background:none;border:none;border-radius:var(--radius-sm);font-family:inherit;font-size:12.5px;color:var(--danger);cursor:pointer;text-align:left;transition:background .12s}.reminder-clear:hover{background:var(--danger-light)}.todo-note-chip{display:inline-flex;align-items:center;gap:5px;max-width:180px;padding:2px 8px;margin-left:6px;border:1px solid var(--border);background:var(--accent-light);color:var(--accent);font-size:11.5px;font-weight:500;border-radius:99px;cursor:pointer;font-family:inherit;transition:background .12s,border-color .12s}.todo-note-chip:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.todo-note-chip-icon{font-size:11px;line-height:1}.todo-note-chip-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.todo-item.done .todo-note-chip{opacity:1}.todo-note-preview{position:absolute;top:calc(100% + 6px);right:8px;z-index:30;width:300px;max-width:calc(100vw - 32px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px 10px;box-shadow:var(--shadow);animation:notePreviewIn .14s ease;font-size:13px;line-height:1.55;color:var(--text);cursor:pointer;transition:border-color .12s,box-shadow .12s}.todo-note-preview:hover{border-color:var(--accent);box-shadow:0 14px 34px #0f172a24}@keyframes notePreviewIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.todo-note-preview-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--border-light)}.todo-note-preview-icon{font-size:15px;line-height:1}.todo-note-preview-title{font-weight:700;font-size:13.5px;letter-spacing:-.01em;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.todo-note-preview-actions{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}.todo-note-preview-action{width:24px;height:24px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:background .12s,color .12s,border-color .12s}.todo-note-preview-action svg{width:14px;height:14px}.todo-note-preview-action:hover{background:var(--accent-light);border-color:var(--border);color:var(--accent)}.todo-note-preview-action.danger:hover{background:var(--danger-light);color:var(--danger)}.todo-note-preview-body{font-size:12.5px;line-height:1.55;color:var(--text-2);white-space:pre-wrap;word-break:break-word;max-height:8.5em;overflow:hidden;position:relative}.todo-note-preview-body:after{content:"";position:absolute;bottom:0;left:0;right:0;height:18px;background:linear-gradient(to bottom,transparent,var(--surface));pointer-events:none}.todo-note-preview-empty{font-size:12.5px;color:var(--text-muted);font-style:italic}.todo-note-preview-footer{margin-top:10px;padding-top:8px;border-top:1px solid var(--border-light);display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:var(--text-muted)}@media (hover: none){.todo-note-preview{display:none}}.btn-icon{background:none;border:none;cursor:pointer;color:var(--text-muted);padding:4px 6px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;transition:background .12s,color .12s}.btn-icon svg{width:14px;height:14px;display:block}.btn-icon:hover{background:var(--border-light);color:var(--text)}.btn-icon.danger:hover{background:var(--danger-light);color:var(--danger)}.empty-state{padding:56px 24px;text-align:center}.empty-icon{font-size:42px;margin-bottom:14px}.empty-title{font-size:16px;font-weight:600;color:var(--text-2);margin-bottom:6px}.empty-sub{font-size:13px;color:var(--text-muted)}.faq-view{max-width:820px}.faq-header{margin-bottom:26px}.faq-groups{display:flex;flex-direction:column;gap:24px}.faq-search{display:flex;align-items:center;gap:10px;margin-bottom:24px}.faq-search-input{flex:1;min-width:0}.faq-search-count{color:var(--text-muted);font-size:12.5px;font-weight:700;white-space:nowrap}.faq-group h2{font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--text-2);margin-bottom:10px}.faq-items{display:flex;flex-direction:column;gap:8px}.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.faq-item summary{cursor:pointer;list-style:none;padding:13px 16px;font-size:14px;font-weight:700;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:16px}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";color:var(--accent);font-weight:800;flex-shrink:0}.faq-item[open] summary{border-bottom:1px solid var(--border-light)}.faq-item[open] summary:after{content:"-"}.faq-item p{padding:12px 16px 14px;font-size:14px;line-height:1.55;color:var(--text-2)}.faq-empty{padding:36px 20px;border:1px dashed var(--border);border-radius:var(--radius);color:var(--text-muted);text-align:center;background:var(--surface)}.admin-view{max-width:820px}.admin-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.admin-metric,.admin-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px}.admin-metric-label{display:block;color:var(--text-muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}.admin-metric strong{display:block;font-size:42px;line-height:1;color:var(--accent);letter-spacing:-.03em}.admin-metric p,.admin-panel p{color:var(--text-2);font-size:13px;line-height:1.45;margin-top:10px}.admin-error{color:var(--danger)!important}.admin-feature-requests{margin-top:16px}.admin-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.admin-list-header h2{font-size:20px;line-height:1.2;color:var(--text);letter-spacing:0}.admin-list-count{border:1px solid var(--border);border-radius:999px;background:var(--surface2);color:var(--text-2);padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}.admin-request-list{list-style:none;display:flex;flex-direction:column;gap:8px}.admin-request-item{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid var(--border-light);border-radius:var(--radius-sm);background:var(--surface2)}.admin-request-item.done{opacity:.7}.admin-request-check{width:20px;height:20px;border:1.5px solid var(--border);border-radius:6px;background:var(--surface);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;cursor:pointer;margin-top:1px}.admin-request-check.done{border-color:var(--success);background:var(--success)}.admin-request-check svg{width:12px;height:10px}.admin-request-copy{min-width:0;flex:1}.admin-request-title{color:var(--text);font-size:14px;font-weight:750;line-height:1.35}.admin-request-item.done .admin-request-title{color:var(--text-muted);text-decoration:line-through}.admin-request-copy p{margin-top:4px;white-space:pre-wrap}.admin-request-meta{margin-top:8px;display:flex;gap:10px;flex-wrap:wrap;color:var(--text-muted);font-size:11.5px}.feature-request-modal{max-width:520px}.feature-request-details{resize:vertical;min-height:120px;line-height:1.5}.profile-view{max-width:820px}.profile-hero{display:flex;align-items:center;gap:18px;margin-bottom:28px}.profile-avatar,.account-avatar{border-radius:999px;background:var(--accent-light);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;font-weight:800}.profile-avatar{width:82px;height:82px;font-size:26px;box-shadow:inset 0 0 0 1px #ffffffb3,var(--shadow-sm)}.profile-avatar img,.account-avatar img{width:100%;height:100%;object-fit:cover;display:block}.avatar-teal{background:#dff7f3;color:#115e59}.avatar-green{background:#dcfce7;color:#166534}.avatar-blue{background:#dbeafe;color:#1e40af}.avatar-rose{background:#ffe4e6;color:#9f1239}.avatar-slate{background:#e2e8f0;color:#334155}.profile-identity h1{font-size:28px;font-weight:800;letter-spacing:0;line-height:1.15;color:var(--text)}.profile-identity p{margin-top:5px;font-size:14px;color:var(--text-2)}.profile-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.profile-badges span,.settings-status{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;background:var(--surface2);border:1px solid var(--border-light);color:var(--text-2);font-size:11.5px;font-weight:700}.profile-settings{display:flex;flex-direction:column;gap:14px}.profile-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}.profile-panel h2{font-size:15px;font-weight:800;color:var(--text);margin-bottom:14px}.profile-panel .form-label+.form-input{margin-bottom:14px}.avatar-color-grid{display:flex;flex-wrap:wrap;gap:8px}.avatar-color-option{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12.5px;font-weight:700;cursor:pointer}.avatar-color-option span{width:14px;height:14px;border-radius:999px;background:currentColor}.avatar-color-option.active{border-color:var(--accent);background:var(--accent-light);color:var(--accent-ink)}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.theme-option{min-height:118px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);cursor:pointer;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:12px;transition:transform .12s,border-color .12s,box-shadow .12s}.theme-option:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.theme-option.active{border-color:var(--accent);box-shadow:var(--ring)}.theme-swatch{height:42px;border-radius:var(--radius-sm);overflow:hidden;display:grid;grid-template-columns:1.3fr .8fr .8fr;border:1px solid rgba(15,23,42,.08)}.theme-swatch span{display:block}.theme-classic .theme-swatch span:nth-child(1){background:#dff7f3}.theme-classic .theme-swatch span:nth-child(2){background:#0d9488}.theme-classic .theme-swatch span:nth-child(3){background:#f6f7f9}.theme-botanical .theme-swatch span:nth-child(1){background:#bcffd5}.theme-botanical .theme-swatch span:nth-child(2){background:#00a650}.theme-botanical .theme-swatch span:nth-child(3){background:#ff7a1a}.theme-spectrum .theme-swatch span:nth-child(1){background:#eddcff}.theme-spectrum .theme-swatch span:nth-child(2){background:#8b2cff}.theme-spectrum .theme-swatch span:nth-child(3){background:#00c9ff}.theme-copy{display:flex;flex-direction:column;gap:3px}.theme-copy strong{font-size:13px;color:var(--text)}.theme-copy small{font-size:11.5px;line-height:1.35;color:var(--text-muted)}.settings-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--border-light)}.settings-row:first-of-type{border-top:none;padding-top:0}.settings-row:last-child{padding-bottom:0}.settings-row strong{display:block;font-size:13.5px;color:var(--text)}.settings-row p{margin-top:3px;font-size:12.5px;line-height:1.4;color:var(--text-muted)}.settings-status.error{background:var(--danger-light);color:var(--danger);border-color:var(--danger-light)}.profile-message{font-size:13px;color:var(--success)}.profile-message.error{color:var(--danger)}.profile-actions{display:flex;justify-content:flex-end}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a6b;display:flex;align-items:center;justify-content:center;z-index:300;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:var(--surface);border-radius:var(--radius-lg);border:1px solid rgba(255,255,255,.72);padding:28px;width:400px;max-width:calc(100vw - 32px);box-shadow:0 22px 54px #0f172a33;animation:slideUp .18s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.modal-header h2{font-size:17px;font-weight:700;letter-spacing:-.02em}.form-group{margin-bottom:18px}.form-label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);margin-bottom:7px}.form-input{width:100%;padding:9px 12px;border:1.5px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:inherit;color:var(--text);background:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s}.form-input:focus{border-color:var(--accent);box-shadow:var(--ring)}.icon-picker{display:flex;flex-wrap:wrap;gap:6px}.icon-option{width:38px;height:38px;border:1.5px solid var(--border);border-radius:var(--radius-sm);background:#fbfcfe;font-size:19px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .12s,background .12s,transform .1s}.icon-option:hover{border-color:var(--accent);background:var(--accent-light);transform:translateY(-1px)}.icon-option.selected{border-color:var(--accent);background:var(--accent-light)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.btn-secondary{padding:9px 18px;border:1.5px solid var(--border);border-radius:var(--radius);background:var(--surface);font-size:14px;font-family:inherit;color:var(--text-2);cursor:pointer;transition:background .12s}.btn-secondary:hover{background:var(--surface2);border-color:var(--border-strong)}.btn-primary{padding:9px 18px;background:var(--accent);border:none;border-radius:var(--radius);font-size:14px;font-weight:600;font-family:inherit;color:#fff;cursor:pointer;transition:background .15s}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.today-pill,.list-pill,.note-pill{display:inline-block;font-size:12.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;padding:4px 12px;border-radius:99px;margin-right:10px;vertical-align:2px;box-shadow:0 1px 2px #00000014}.today-pill{background:var(--success);color:#fff}.list-pill{background:var(--accent);color:#fff}.note-pill{background:var(--warning);color:#fff}.note-view{max-width:760px}.note-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius) var(--radius) 0 0;border-bottom:none;position:sticky;top:0;z-index:4}.tb-btn{min-width:30px;height:30px;padding:0 8px;background:none;border:1px solid transparent;border-radius:5px;font-family:inherit;font-size:13px;color:var(--text-2);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s,color .12s,border-color .12s}.tb-btn svg{width:14px;height:14px;display:block}.tb-btn:hover:not(:disabled){background:var(--border-light);color:var(--text)}.tb-btn.active{background:var(--accent-light);color:var(--accent);border-color:var(--accent-light)}.tb-btn:disabled{opacity:.35;cursor:not-allowed}.tb-btn code{font-size:11px}.tb-sep{width:1px;height:18px;background:var(--border);margin:0 4px;display:inline-block}.note-editor-shell{border:1.5px solid var(--border);border-radius:0 0 var(--radius) var(--radius);background:var(--surface);transition:border-color .15s,box-shadow .15s;min-height:50vh}.note-editor-shell:focus-within{border-color:var(--accent);box-shadow:var(--ring)}.note-editor-shell .ProseMirror{padding:18px 20px;outline:none;font-size:15px;line-height:1.65;color:var(--text);min-height:50vh}.note-editor-shell .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none;float:left;height:0}.note-editor-shell .ProseMirror>*+*{margin-top:.75em}.note-editor-shell .ProseMirror p{margin:0}.note-editor-shell .ProseMirror h1{font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.25;margin-top:1.2em}.note-editor-shell .ProseMirror h2{font-size:19px;font-weight:700;letter-spacing:-.015em;line-height:1.3;margin-top:1.1em}.note-editor-shell .ProseMirror h3{font-size:16px;font-weight:700;line-height:1.4;margin-top:1em}.note-editor-shell .ProseMirror ul,.note-editor-shell .ProseMirror ol{padding-left:1.4em;margin:.5em 0}.note-editor-shell .ProseMirror li{margin:.2em 0}.note-editor-shell .ProseMirror li>p{margin:0}.note-editor-shell .ProseMirror blockquote{border-left:3px solid var(--border);padding-left:14px;color:var(--text-2);font-style:italic}.note-editor-shell .ProseMirror code{background:var(--surface2);border:1px solid var(--border-light);border-radius:4px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em}.note-editor-shell .ProseMirror pre{background:#18202f;color:#f2f5f9;border-radius:var(--radius-sm);padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;line-height:1.55;overflow-x:auto}.note-editor-shell .ProseMirror pre code{background:none;border:none;padding:0;color:inherit;font-size:inherit}.note-editor-shell .ProseMirror hr{border:none;border-top:1px solid var(--border);margin:1.4em 0}.note-editor-shell .ProseMirror a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.note-editor-shell .ProseMirror strong{font-weight:700}.note-editor-shell .ProseMirror .tableWrapper{overflow-x:auto;margin:1em 0}.note-editor-shell .ProseMirror table{width:100%;min-width:420px;border-collapse:collapse;table-layout:fixed;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-sm)}.note-editor-shell .ProseMirror th,.note-editor-shell .ProseMirror td{position:relative;min-width:80px;border:1px solid var(--border);padding:8px 10px;vertical-align:top;color:var(--text)}.note-editor-shell .ProseMirror th{background:var(--surface2);font-weight:700;color:var(--text-2)}.note-editor-shell .ProseMirror td>*,.note-editor-shell .ProseMirror th>*{margin:0}.note-editor-shell .ProseMirror .selectedCell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#0d94881f;pointer-events:none}.note-editor-shell .ProseMirror .column-resize-handle{position:absolute;top:0;right:-2px;bottom:0;width:4px;background:var(--accent);pointer-events:none}.note-editor-shell .ProseMirror.resize-cursor{cursor:col-resize}.note-editor-shell .ProseMirror ul[data-type=taskList]{list-style:none;padding-left:0}.note-editor-shell .ProseMirror ul[data-type=taskList] li{display:flex;align-items:flex-start;gap:8px}.note-editor-shell .ProseMirror ul[data-type=taskList] li>label{margin-top:4px;flex-shrink:0}.note-editor-shell .ProseMirror ul[data-type=taskList] li>label>input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent);cursor:pointer}.note-editor-shell .ProseMirror ul[data-type=taskList] li>div{flex:1;min-width:0}.note-editor-shell .ProseMirror ul[data-type=taskList] li[data-checked=true]>div{color:var(--text-muted);text-decoration:line-through}.note-footer{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;color:var(--text-muted);font-feature-settings:"tnum"}.note-sep{opacity:.5}.btn-daily-toggle{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;background:transparent;border:1px solid var(--border);border-radius:99px;font-size:12px;font-weight:600;font-family:inherit;color:var(--text-2);cursor:pointer;transition:background .12s,border-color .12s,color .12s;flex-shrink:0}.btn-daily-toggle svg{width:13px;height:13px;display:block}.btn-daily-toggle:hover{background:var(--warning-light);border-color:#f5d48b;color:#7c2d12}.btn-daily-toggle.active{background:#f7c948;border-color:#f7c948;color:#5f2608}.btn-daily-toggle.active:hover{background:#f2b824;border-color:#f2b824}.note-editor-shell.daily-mode .ProseMirror h2{display:inline-block;margin-top:1.4em;padding:5px 14px 5px 12px;background:var(--warning-light);color:#6f2b0b;font-size:13.5px;font-weight:700;letter-spacing:.01em;border-radius:99px;border:1px solid #f5d48b;line-height:1.4}.note-editor-shell.daily-mode .ProseMirror>h2:first-child{margin-top:0}.note-editor-shell.daily-mode .ProseMirror hr{margin:1.6em 0 1.2em;border-top:1px dashed var(--border)}.note-quick-modal{width:760px;max-width:calc(100vw - 24px);max-height:88vh;display:flex;flex-direction:column;padding:0;overflow:hidden}.note-quick-header{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border-light);flex-shrink:0}.note-quick-icon{font-size:20px;flex-shrink:0}.note-quick-title{flex:1;font-size:17px;font-weight:700;letter-spacing:-.02em;color:var(--text);background:none;border:none;outline:none;font-family:inherit;padding:4px;min-width:0;border-radius:4px}.note-quick-title:focus{background:var(--surface2)}.note-quick-open{font-size:12px;padding:5px 11px;flex-shrink:0}.note-quick-modal .note-toolbar{border-radius:0;border-left:none;border-right:none;border-top:none;flex-shrink:0;position:relative;top:auto}.note-quick-editor-wrap{flex:1;overflow-y:auto;min-height:0}.note-quick-modal .note-editor-shell{border-radius:0;border-left:none;border-right:none;border-top:none;min-height:100%}.note-quick-modal .note-editor-shell:focus-within{box-shadow:none}.note-quick-modal .ProseMirror{padding:18px 22px;min-height:280px}.note-quick-footer{display:flex;align-items:center;gap:6px;padding:10px 18px;border-top:1px solid var(--border-light);background:var(--surface2);font-size:12px;color:var(--text-muted);flex-shrink:0}.note-quick-delete{margin-left:auto}@media (max-width: 768px){.note-quick-modal{max-height:94vh;border-radius:0}.note-quick-header{padding:12px 14px}.note-quick-modal .ProseMirror{padding:14px 16px}.note-quick-footer{padding:8px 14px;flex-wrap:wrap}.note-quick-open{display:none}}.note-backlinks{margin-top:32px;padding-top:16px;border-top:1px solid var(--border)}.note-backlinks-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:10px}.note-backlinks-list{list-style:none;display:flex;flex-direction:column;gap:4px}.note-backlink{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);font-family:inherit;font-size:13.5px;color:var(--text);text-align:left;cursor:pointer;transition:background .12s,border-color .12s}.note-backlink:hover{background:var(--surface2);border-color:var(--accent)}.note-backlink-icon{font-size:14px;flex-shrink:0}.note-backlink-section{font-weight:600;color:var(--text-2);flex-shrink:0}.note-backlink-sep{color:var(--text-muted);flex-shrink:0}.note-backlink-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-backlink-text.done{text-decoration:line-through;color:var(--text-muted)}.history{margin-top:56px}.history-divider{display:flex;align-items:center;gap:10px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border)}.history-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-2)}.history-count{font-size:11.5px;color:var(--text-muted)}.history-list{display:flex;flex-direction:column;gap:4px}.history-day{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:box-shadow .12s}.history-day:hover,.history-day.open{box-shadow:var(--shadow-sm)}.history-day-header{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;background:none;border:none;cursor:pointer;font-family:inherit;text-align:left;color:var(--text);transition:background .12s}.history-day-header:hover{background:var(--surface2)}.caret{font-size:10px;color:var(--text-muted);width:12px;display:inline-block}.history-date-label{font-size:13.5px;font-weight:600;color:var(--text)}.history-date-iso{font-size:11.5px;color:var(--text-muted);font-feature-settings:"tnum"}.history-day-stat{margin-left:auto;display:flex;align-items:baseline;gap:1px;font-size:12.5px;font-feature-settings:"tnum"}.stat-done{font-weight:700;color:var(--success)}.stat-divider{color:var(--text-muted);margin:0 1px}.stat-total{color:var(--text-muted)}.history-delete{opacity:0;transition:opacity .12s,background .12s,color .12s}.history-day-header:hover .history-delete{opacity:1}.history-items{list-style:none;padding:6px 14px 12px 36px;display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--border-light);background:var(--surface2)}.history-item{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.5;color:var(--text-2)}.history-item.done .history-item-text{text-decoration:line-through;color:var(--text-muted)}.history-check{width:15px;height:15px;min-width:15px;border-radius:4px;border:1.5px solid var(--border);background:#fff;color:#fff;display:flex;align-items:center;justify-content:center;margin-top:3px;padding:0;cursor:pointer;flex-shrink:0;transition:background .12s,border-color .12s,box-shadow .12s}.history-check:hover{border-color:var(--success);box-shadow:0 0 0 3px #16a34a1a}.history-check.done{background:var(--success);border-color:var(--success)}.history-check svg{width:9px;height:7px;display:block}.history-item-text{flex:1;word-break:break-word}.section-drop-zone{position:relative;border-radius:var(--radius);transition:background .15s,outline .15s}.section-drop-zone.drag-over{background:var(--accent-light);outline:2px dashed var(--accent);outline-offset:4px}.drop-hint{position:absolute;top:-32px;left:50%;transform:translate(-50%);background:var(--accent);color:#fff;font-size:11.5px;font-weight:600;padding:5px 12px;border-radius:99px;pointer-events:none;box-shadow:0 2px 8px #00000026;white-space:nowrap;z-index:5}.history-item.draggable{cursor:grab}.history-item.draggable:active{cursor:grabbing}.history-item.draggable:hover{background:var(--accent-light)}.history-item-carry{margin-left:auto;background:none;border:none;color:var(--text-muted);cursor:pointer;width:22px;height:22px;border-radius:4px;font-size:14px;line-height:1;font-weight:700;opacity:0;transition:opacity .12s,background .12s,color .12s;flex-shrink:0}.history-item.draggable:hover .history-item-carry{opacity:.7}.history-item-carry:hover{opacity:1!important;background:var(--accent);color:#fff}.history-carry{display:inline-flex;align-items:center;padding:3px 9px;font-size:11px;font-weight:600;color:var(--accent);background:var(--accent-light);border-radius:99px;cursor:pointer;margin-left:4px;opacity:0;transition:opacity .12s,background .12s,color .12s;flex-shrink:0;-webkit-user-select:none;user-select:none}.history-day-header:hover .history-carry{opacity:1}.history-carry:hover{background:var(--accent);color:#fff}.history-note-link{display:inline-flex;align-items:center;gap:5px;max-width:180px;padding:1px 8px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:11px;border-radius:99px;cursor:pointer;font-family:inherit;transition:background .12s,color .12s,border-color .12s;flex-shrink:0}.history-note-link:hover{background:var(--accent-light);color:var(--accent);border-color:var(--accent)}.history-note-link-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-empty{padding:10px 14px 12px 36px;font-size:12.5px;color:var(--text-muted);background:var(--surface2);border-top:1px solid var(--border-light)}.compose-note-modal{width:640px;max-width:calc(100vw - 32px);max-height:86vh;display:flex;flex-direction:column;padding:24px 22px 18px}.compose-note-modal .modal-header{margin-bottom:14px;align-items:flex-start}.compose-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.compose-scope{font-size:12px;color:var(--text-muted);margin-top:2px}.compose-title{font-size:17px;font-weight:700;letter-spacing:-.02em;padding:10px 14px;margin-bottom:12px}.compose-editor-shell{flex:1;min-height:280px;max-height:50vh;overflow-y:auto;border-radius:0 0 var(--radius) var(--radius)}.compose-editor-shell .ProseMirror{min-height:260px;padding:14px 16px;font-size:14.5px}.compose-global-row{margin:0;padding:5px 8px;white-space:nowrap}.compose-note-modal .modal-actions{margin-top:16px;display:flex;align-items:center;gap:10px}.compose-hint{flex:1;font-size:11.5px;color:var(--text-muted)}.review-modal{width:760px;max-width:calc(100vw - 32px);max-height:86vh;display:flex;flex-direction:column;padding:24px 0 0}.review-modal .modal-header{padding:0 24px 16px;margin-bottom:0;border-bottom:1px solid var(--border-light)}.review-heading{display:flex;align-items:center;gap:10px}.review-heading-icon{font-size:20px}.review-toolbar{display:flex;gap:20px;padding:16px 24px;border-bottom:1px solid var(--border-light);background:var(--surface2);flex-wrap:wrap}.review-control{display:flex;flex-direction:column;gap:6px}.review-control .form-label{margin-bottom:0}.review-date-input{font-feature-settings:"tnum";width:180px;padding:7px 10px}.review-body{flex:1;overflow-y:auto;min-height:200px}.review-table-wrap{padding:0}.review-table{width:100%;border-collapse:collapse;font-size:13.5px}.review-table thead th{position:sticky;top:0;background:var(--surface);padding:10px 16px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);border-bottom:1px solid var(--border);z-index:1}.review-table tbody tr{border-bottom:1px solid var(--border-light);transition:background .1s}.review-table tbody tr:hover{background:var(--surface2)}.review-table tbody tr.done .review-item-text{color:var(--text-muted);text-decoration:line-through}.review-table tbody tr.done{background:#0f766e0b}.review-table td{padding:10px 16px;vertical-align:middle;color:var(--text)}.col-status{width:110px;white-space:nowrap}.col-status .review-check{display:inline-flex;width:16px;height:16px;border-radius:4px;border:1.5px solid var(--border);background:#fff;align-items:center;justify-content:center;margin-right:8px;vertical-align:-3px}.col-status .review-check.done{background:var(--success);border-color:var(--success)}.col-status .review-check svg{width:9px;height:7px;display:block}.review-status-label{font-size:12px;font-weight:600;color:var(--text-2)}.review-table tbody tr.done .review-status-label{color:var(--success)}.col-item{line-height:1.45}.col-date{width:150px;white-space:nowrap;text-align:right}.review-date-label{font-size:12.5px;font-weight:600;color:var(--text)}.review-date-iso{font-size:11px;color:var(--text-muted);font-feature-settings:"tnum"}.review-empty{padding:60px 24px;text-align:center}.review-empty-icon{font-size:36px;margin-bottom:10px}.review-empty-title{font-size:15px;font-weight:600;color:var(--text-2)}.review-empty-sub{font-size:13px;color:var(--text-muted);margin-top:4px}.review-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-top:1px solid var(--border-light);background:var(--surface2);font-size:12.5px;color:var(--text-muted);font-feature-settings:"tnum"}.auth-screen{min-height:100vh;width:100%;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:24px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:40px 36px 28px;width:100%;max-width:400px;box-shadow:var(--shadow);text-align:center}.auth-icon{font-size:40px;margin-bottom:12px}.auth-title{font-size:22px;font-weight:700;letter-spacing:-.03em;margin-bottom:6px}.auth-sub{font-size:14px;color:var(--text-2);margin-bottom:22px}.auth-form{display:flex;flex-direction:column;gap:8px}.auth-input{text-align:center;font-size:15px;padding:12px 14px}.auth-submit{width:100%;padding:12px;font-size:14px}.auth-message{font-size:13px;margin-top:14px;padding:10px 12px;border-radius:var(--radius)}.auth-message.success{background:var(--success-light);color:var(--success)}.auth-message.error{background:var(--danger-light);color:var(--danger)}.auth-footnote{margin-top:24px;font-size:12px;color:var(--text-muted)}.app-bootstrap{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;min-height:100vh;background:var(--app-sheen),var(--bg);display:flex;align-items:center;justify-content:center;margin:0;padding:0;overflow:hidden}.app-loader{display:inline-flex;align-items:center;gap:8px}.app-loader span{width:9px;height:9px;border-radius:999px;background:var(--accent);animation:appLoaderPulse .9s ease-in-out infinite}.app-loader span:nth-child(2){animation-delay:.12s}.app-loader span:nth-child(3){animation-delay:.24s}@keyframes appLoaderPulse{0%,80%,to{opacity:.35;transform:translateY(0) scale(.82)}40%{opacity:1;transform:translateY(-3px) scale(1)}}.sidebar-account{padding:12px 16px 16px;border-top:1px solid var(--border-light);background:var(--sidebar-bg);display:flex;flex-direction:column;gap:6px;flex:0 0 auto;margin-top:auto}.account-row{display:flex;align-items:center;gap:8px}.account-profile{flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:none;background:transparent;border-radius:var(--radius-sm);padding:4px;cursor:pointer;text-align:left;transition:background .12s}.account-profile:hover,.account-profile.active{background:var(--surface2)}.account-avatar{width:28px;height:28px;font-size:11px}.account-copy{min-width:0;display:flex;flex-direction:column;gap:1px}.account-name,.account-email{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-name{font-size:12px;font-weight:700;color:var(--text)}.account-email{font-size:12px;color:var(--text-2)}.btn-signout{background:none;border:1px solid var(--border);color:var(--text-muted);width:22px;height:22px;border-radius:5px;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s,color .12s,border-color .12s;padding:0}.btn-signout:hover{background:var(--danger-light);color:var(--danger);border-color:var(--danger-light)}.sync-dot{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--text-muted);font-feature-settings:"tnum"}.sync-dot-circle{width:7px;height:7px;border-radius:99px;background:var(--text-muted);display:inline-block}.sync-dot.ok .sync-dot-circle{background:var(--success)}.sync-dot.syncing .sync-dot-circle{background:var(--warning);animation:pulse 1.2s ease-in-out infinite}.sync-dot.error .sync-dot-circle{background:var(--danger)}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}.toast-container{position:fixed;bottom:20px;right:20px;z-index:1000;display:flex;flex-direction:column-reverse;gap:8px;pointer-events:none;max-width:calc(100vw - 40px)}.toast{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#18202f;color:#f9fafb;border-radius:var(--radius);min-width:280px;max-width:420px;box-shadow:0 16px 38px #0f172a3d;animation:toastIn .18s ease}@keyframes toastIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.toast-error{background:#7f1d1d;color:#fee2e2}.toast-success{background:var(--success);color:#fff}.toast-body{flex:1;min-width:0}.toast-message{font-size:13.5px;font-weight:600;line-height:1.35}.toast-description{font-size:12px;margin-top:2px;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toast-action{background:#ffffff26;border:none;color:inherit;font-family:inherit;font-size:12.5px;font-weight:700;padding:6px 12px;border-radius:6px;cursor:pointer;transition:background .12s;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.toast-action:hover{background:#ffffff47}.toast-close{background:none;border:none;color:inherit;opacity:.6;font-size:13px;cursor:pointer;padding:4px 6px;border-radius:4px;flex-shrink:0}.toast-close:hover{opacity:1;background:#ffffff1a}@media (max-width: 768px){.toast-container{right:10px;left:10px;bottom:10px}.toast{min-width:0}}@media (max-width: 768px){.main{padding:calc(70px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px));overflow-x:hidden;max-width:100vw}.section-view,.note-view{width:100%;max-width:100%;min-width:0;overflow-x:hidden}.section-header{gap:10px;margin-bottom:22px}.section-icon-lg{font-size:26px}.section-title,.section-title-input{font-size:22px}.section-meta{font-size:12px;line-height:1.35}.section-header-actions{gap:4px}.btn-review{width:32px;height:32px;padding:0;justify-content:center;font-size:0;border-radius:999px}.btn-review svg{width:15px;height:15px}.btn-share,.shared-pill{padding:7px 10px;font-size:11.5px}.btn-delete-section{opacity:1;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center}.progress-row{margin-bottom:18px}.add-row{flex-direction:column;gap:6px;margin-bottom:16px;width:100%;max-width:100%;min-width:0}.add-input{width:100%;max-width:100%;min-width:0;padding:10px 12px;font-size:14px}.btn-add{width:100%;max-width:100%;padding:10px 14px}.also-global-row{width:100%;max-width:100%;min-width:0;align-items:flex-start;white-space:normal}.also-global-row span{min-width:0;overflow-wrap:anywhere;line-height:1.35}.filter-bar{align-items:flex-start;flex-direction:column;gap:10px}.filter-tabs{width:100%;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.filter-tabs::-webkit-scrollbar{display:none}.filter-tab{flex:0 0 auto;padding:7px 12px}.btn-clear{align-self:flex-end}.todo-list{width:100%;max-width:100%;min-width:0;gap:6px}.todo-item{width:100%;max-width:100%;min-width:0;align-items:flex-start;gap:10px;padding:12px}.todo-checkbox{width:22px;height:22px;min-width:22px;margin-top:1px}.todo-drag-handle{position:static;transform:none;width:18px;min-width:18px;height:28px;margin-left:-4px;margin-right:-4px;opacity:1}.todo-text-wrap{flex-wrap:wrap;row-gap:6px}.todo-text,.todo-edit-input{flex:1 1 100%;font-size:14.5px}.todo-note-chip-wrap,.todo-reminder-chip-wrap{margin-left:0}.todo-note-chip,.todo-reminder-chip{max-width:min(220px,100%)}.todo-date{padding-top:3px}.todo-actions{flex-wrap:wrap;justify-content:flex-end;max-width:58px}.todo-actions .btn-icon,.history-item-carry,.history-carry{opacity:1}.reminder-menu,.attach-note-menu{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-width:none;z-index:220}.note-toolbar{position:sticky;top:0;gap:3px;padding:6px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.note-toolbar::-webkit-scrollbar{display:none}.tb-btn{flex:0 0 auto;min-width:34px;height:34px}.tb-sep{flex:0 0 auto;margin:0 3px}.note-editor-shell .ProseMirror{padding:14px;min-height:54vh;font-size:15px}.note-editor-shell .ProseMirror h1{font-size:22px}.note-editor-shell .ProseMirror h2{font-size:18px}.note-editor-shell .ProseMirror .tableWrapper{margin-left:-14px;margin-right:-14px;padding:0 14px 4px;overflow-x:auto}.note-editor-shell .ProseMirror table{min-width:560px}.note-footer{align-items:flex-start;flex-wrap:wrap;line-height:1.4}.faq-view{max-width:100%}.faq-groups{gap:20px}.faq-search{align-items:stretch;flex-direction:column}.faq-search-count{align-self:flex-end}.faq-item summary{padding:13px 14px}.faq-item p{padding:11px 14px 13px}.profile-view{max-width:100%}.profile-hero{align-items:flex-start;gap:14px}.profile-avatar{width:66px;height:66px;font-size:22px}.profile-identity h1{font-size:23px}.profile-panel{padding:16px}.settings-row{flex-direction:column;gap:8px}.theme-grid{grid-template-columns:1fr}.theme-option{min-height:96px}.profile-actions{justify-content:stretch}.profile-actions .btn-add{width:100%}.history{margin-top:42px}.history-day-header{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:6px 8px;padding:11px 12px}.history-date-label,.history-date-iso{min-width:0}.history-date-iso{grid-column:2 / 3}.history-day-stat{grid-column:3 / 4;grid-row:1 / 2;margin-left:0}.history-carry{grid-column:2 / 4;justify-self:start;margin-left:0;margin-top:2px}.history-delete{opacity:1;grid-column:3 / 4;justify-self:end}.history-items,.history-empty{padding-left:12px}.history-item{gap:8px}.history-check{width:20px;height:20px;min-width:20px;margin-top:1px}.history-note-link{max-width:100%}.modal{width:100%;max-width:calc(100vw - 20px);padding:22px 18px}.compose-note-modal,.review-modal,.note-quick-modal{width:100%;max-width:calc(100vw - 16px);max-height:92vh}.review-modal{padding-top:18px;overflow:hidden}.review-modal .modal-header,.review-toolbar,.review-footer{padding-left:16px;padding-right:16px}.review-toolbar{flex-direction:column;gap:12px;width:100%;min-width:0}.review-date-input,.review-control,.review-control .filter-tabs{width:100%;min-width:0}.review-table-wrap{overflow-x:hidden}.review-table{min-width:0;table-layout:fixed}.review-status-label,.review-date-iso{display:none}.col-status{width:52px}.col-date{display:none}.review-footer{gap:10px;flex-wrap:wrap}.auth-card{padding:32px 24px 22px}.toast{width:100%;max-width:none}.toast-description{white-space:normal}}@media (max-width: 380px){.main{padding:calc(66px + env(safe-area-inset-top,0px)) 12px calc(20px + env(safe-area-inset-bottom,0px))}.section-title,.section-title-input{font-size:20px}.section-header{gap:8px}.btn-share,.shared-pill{padding-left:8px;padding-right:8px}.todo-actions{max-width:34px}.review-table{min-width:480px}}.error-boundary{min-height:100vh;width:100%;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--bg)}.error-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:36px 32px 26px;width:100%;max-width:480px;text-align:center;box-shadow:var(--shadow)}.error-icon{font-size:36px;margin-bottom:12px}.error-title{font-size:20px;font-weight:700;letter-spacing:-.03em;margin-bottom:10px}.error-message{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;color:var(--danger);background:var(--danger-light);padding:8px 12px;border-radius:var(--radius-sm);margin-bottom:12px;word-break:break-word;text-align:left}.error-hint{font-size:13px;color:var(--text-2);margin-bottom:20px;line-height:1.5}.error-actions{display:flex;gap:8px;justify-content:center}.error-stack{margin-top:20px;text-align:left;font-size:11.5px}.error-stack summary{cursor:pointer;color:var(--text-muted);font-size:12px;-webkit-user-select:none;user-select:none}.error-stack summary:hover{color:var(--text-2)}.error-stack pre{margin-top:8px;padding:10px;background:var(--surface2);border:1px solid var(--border-light);border-radius:var(--radius-sm);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.5;overflow-x:auto;white-space:pre-wrap;word-break:break-word;color:var(--text-2);max-height:200px}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}
