.filter-chips{display:flex;flex:1;min-width:0;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.app-page .mantine-Input-input{font-size:16px}.app-page .mantine-Button-root{min-height:44px}.app-page .mantine-SegmentedControl-label{min-height:36px;display:flex;align-items:center;justify-content:center}.app-page .mantine-Text-root{overflow-wrap:anywhere}.mantine-Drawer-content.editor-sheet{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--mantine-radius-xl) var(--mantine-radius-xl) 0 0}.editor-sheet__header{flex-shrink:0}.mantine-Drawer-body.editor-sheet__body,.editor-sheet__form{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:0}.editor-sheet__scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:4px var(--mantine-spacing-md) var(--mantine-spacing-md);scroll-padding-block:12px}.editor-sheet__footer{flex-shrink:0;padding:6px var(--mantine-spacing-md) max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--mantine-color-default-border);background:var(--app-surface)}.image-crop-preview{display:flex;align-items:center;justify-content:center;min-height:120px;padding:12px;border-radius:var(--mantine-radius-md);background:#18251d}.image-crop-stage{position:relative;max-width:100%;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.image-crop-stage>img{display:block;max-width:100%;max-height:48vh;width:auto;height:auto;pointer-events:none}.image-crop-selection{position:absolute;box-sizing:border-box;border:2px solid white;box-shadow:0 0 0 9999px #00000094;cursor:move}.image-crop-selection:focus-visible{outline:3px solid var(--mantine-color-blue-4);outline-offset:-5px}.image-crop-grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to right,transparent calc(100% - 1px),rgb(255 255 255 / 45%) 0),linear-gradient(to bottom,transparent calc(100% - 1px),rgb(255 255 255 / 45%) 0);background-size:33.333% 33.333%}.image-crop-handle{position:absolute;width:32px;height:32px;padding:0;border:0;border-radius:0;background:transparent;touch-action:none}.image-crop-handle:after{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:3px solid white;filter:drop-shadow(0 1px 2px rgb(0 0 0 / 70%))}.image-crop-handle-nw{top:0;left:0;cursor:nwse-resize}.image-crop-handle-ne{top:0;right:0;cursor:nesw-resize}.image-crop-handle-sw{bottom:0;left:0;cursor:nesw-resize}.image-crop-handle-se{bottom:0;right:0;cursor:nwse-resize}.image-crop-handle-nw:after{border-right:0;border-bottom:0}.image-crop-handle-ne:after{border-left:0;border-bottom:0}.image-crop-handle-sw:after{border-right:0;border-top:0}.image-crop-handle-se:after{border-left:0;border-top:0}:root{color-scheme:light;background:var(--mantine-color-gray-0)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--mantine-color-gray-0);overscroll-behavior-y:none}:root{color-scheme:light dark}:root[data-mantine-color-scheme=light]{--app-frame: #eaedf2;--app-bg: #f5f6f8;--app-header: rgba(245, 246, 248, .97);--app-surface: #ffffff;--app-surface-soft: #eef1f5;--app-ink: #1c2534;--app-muted: #5e6b7e;--app-line: #e1e6ee;--app-accent: #2856c9;--app-accent-soft: #eaf0ff;--app-on-accent: #ffffff;--app-cover-blue: #e8edf8;--app-cover-warm: #f2eee7;--app-cover-mark: #607394;--app-notes-hero: #2856c9;--mantine-color-body: #f5f6f8;--mantine-color-text: #1c2534;--mantine-color-dimmed: #5e6b7e}:root[data-mantine-color-scheme=dark]{--app-frame: #0b1018;--app-bg: #111722;--app-header: rgba(17, 23, 34, .97);--app-surface: #1b2432;--app-surface-soft: #253143;--app-ink: #edf2fa;--app-muted: #b0bfd3;--app-line: #37455b;--app-accent: #a3c1ff;--app-accent-soft: #233858;--app-on-accent: #15233b;--app-cover-blue: #263954;--app-cover-warm: #3c382f;--app-cover-mark: #acc2e4;--app-notes-hero: #233858;--mantine-color-body: #111722;--mantine-color-text: #edf2fa;--mantine-color-dimmed: #b0bfd3}body{color:var(--app-ink);background:var(--app-frame);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{color:inherit;touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--app-accent);outline-offset:3px}.mantine-Input-input::placeholder{color:var(--app-muted);opacity:1}.app-shell{max-width:1240px;margin:0 auto;min-height:100dvh;display:grid;grid-template-columns:220px minmax(0,1fr);background:var(--app-bg)}.app-workspace{min-width:0;position:relative}.app-sidebar{height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;padding:28px 20px 24px;border-right:1px solid var(--app-line);background:var(--app-surface)}.sidebar-brand{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left;cursor:pointer}.sidebar-brand>svg{color:var(--app-accent);flex-shrink:0}.sidebar-brand span{font-size:18px;font-weight:700}.sidebar-brand small{display:block;font-size:12px;font-weight:400;color:var(--app-muted);margin-top:4px}.app-sidebar nav{margin-top:36px;display:grid;gap:6px}.app-sidebar nav button{min-height:46px;display:flex;align-items:center;gap:12px;padding:0 14px;border:0;border-radius:10px;background:none;color:var(--app-muted);font-size:15px;text-align:left;cursor:pointer}.app-sidebar nav button[aria-current=page]{color:var(--app-accent);background:var(--app-accent-soft);font-weight:650}.sidebar-capture{margin-top:24px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:10px;background:var(--app-accent);color:var(--app-on-accent);font-size:14px;font-weight:650;cursor:pointer}.sidebar-footnote{margin-top:auto;padding-top:24px;display:flex;align-items:center;gap:7px;color:var(--app-muted);font-size:12px}.status-dot{width:5px;height:5px;border-radius:50%;background:var(--app-accent)}.mobile-navigation{display:none}.app-topbar{height:60px;position:sticky;top:0;z-index:20;background:var(--app-header);border-bottom:1px solid var(--app-line);display:flex;justify-content:space-between;align-items:center;padding:0 32px}.topbar-brand{display:flex;align-items:center;gap:8px;color:var(--app-ink);font-size:14px;font-weight:650;border:0;background:none;padding:0;cursor:pointer}.topbar-brand svg{color:var(--app-accent)}.app-page{max-width:800px;min-width:0;margin:0 auto;padding:28px 32px 96px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:20px}.page-heading h1,.today-intro h1{font-size:28px;line-height:1.25;font-weight:700;letter-spacing:-.035em;margin:0}.page-heading>div{min-width:0}.page-description{color:var(--app-muted);font-size:14px;line-height:1.5;margin:5px 0 0}.page-eyebrow{color:var(--app-muted);font-size:13px;margin:0 0 5px}.page-heading>.mantine-Button-root{min-height:44px;flex-shrink:0}.app-page .mantine-Button-root{font-size:14px}.offline-notice{font-size:13px;padding:8px 16px;text-align:center;color:var(--app-accent);background:var(--app-accent-soft)}.text-danger{color:var(--mantine-color-red-7)!important}.today-intro{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;min-height:44px;margin-bottom:16px}.today-date{margin:0;font-size:13px;color:var(--app-muted)}.capture-panel{border:1px solid var(--app-line);border-radius:12px;background:var(--app-surface);overflow:hidden}.capture-input{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:12px 16px;background:none;border:0;color:var(--app-accent);text-align:left;cursor:pointer}.capture-input span{flex:1;color:var(--app-muted);font-size:16px}.capture-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--app-line);padding:4px 8px;gap:8px}.capture-shortcuts button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:7px;background:none;min-height:44px;color:var(--app-muted);font-size:14px;cursor:pointer;padding:0 2px}.capture-shortcuts svg{color:var(--app-accent);flex-shrink:0}.today-section{margin-top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;min-height:32px}.section-heading h2,.profile-section-title{display:flex;align-items:center;gap:8px;font-size:17px;line-height:1.4;font-weight:650;margin:0}.section-total{color:var(--app-muted);font-size:13px;font-weight:500;background:var(--app-surface-soft);padding:1px 7px;border-radius:5px}.section-heading>button{display:flex;align-items:center;gap:4px;min-height:36px;padding:0 2px;color:var(--app-accent);background:none;border:0;font-size:13px;cursor:pointer}.daily-tasks,.calm-empty,.today-records,.record-list:not(:empty),.daily-library-empty{border:1px solid var(--app-line);border-radius:12px;background:var(--app-surface);overflow:hidden}.daily-tasks{padding:0 12px}.daily-task{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--app-line);padding:4px 0}.daily-task:last-child{border-bottom:0}.daily-task>button:last-child{flex:1;min-width:0;min-height:60px;border:0;padding:10px 0;background:none;text-align:left;cursor:pointer}.daily-task strong{display:block;font-size:16px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.daily-task small{display:block;margin-top:2px;font-size:13px;line-height:1.5;color:var(--app-muted)}.calm-empty{display:flex;align-items:center;gap:12px;padding:20px 16px}.empty-check{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex-shrink:0;color:var(--app-accent);background:var(--app-accent-soft)}.calm-empty strong{font-size:15px;font-weight:600}.calm-empty p{margin:4px 0 0;font-size:13px;line-height:1.6;color:var(--app-muted)}.daily-library-empty{padding:28px 16px;text-align:center}.empty-symbol{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border-radius:12px;color:var(--app-accent);background:var(--app-accent-soft)}.daily-library-empty h3{margin:0;font-size:17px;font-weight:650}.daily-library-empty p{margin:7px 0 18px;font-size:14px;color:var(--app-muted);line-height:1.6}.daily-library-empty .mantine-Button-root{min-height:44px}.backup-reminder{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;border:0;border-radius:10px;background:var(--app-accent-soft);color:var(--app-accent);padding:12px;margin-top:24px;font-size:13px;text-align:left;cursor:pointer}.backup-reminder span{flex:1}.records-page .page-heading>div{display:flex;align-items:baseline;gap:10px}.records-page .page-description{margin:0}.record-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border-radius:10px;margin-bottom:16px;background:var(--app-surface-soft)}.record-tabs button{min-width:0;min-height:40px;padding:0 4px;border:0;border-radius:7px;background:none;color:var(--app-muted);font-size:14px;font-weight:500;cursor:pointer}.record-tabs button[aria-selected=true]{color:var(--app-ink);background:var(--app-surface);box-shadow:0 1px 3px #16233717;font-weight:650}.record-tab-count{margin-left:4px;color:var(--app-muted);font-size:12px;font-weight:400}.library-controls{display:flex;align-items:center;gap:8px;margin-bottom:16px}.library-search{flex:1;min-width:0}.library-search .mantine-Input-input,.task-page .mantine-Input-input{min-height:44px;background:var(--app-surface);border:1px solid var(--app-line)}.library-toolbar>div{display:flex;align-items:center;gap:8px}.library-toolbar button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:var(--app-surface);border:1px solid var(--app-line);border-radius:9px;color:var(--app-muted);cursor:pointer}.library-toolbar button.is-filtered{color:var(--app-accent);background:var(--app-accent-soft);border-color:var(--app-accent)}.library-result-count{margin:0 0 10px;color:var(--app-muted);font-size:13px;line-height:1.5}.record-row{display:flex;align-items:center;gap:12px;width:100%;min-height:100px;border:0;border-bottom:1px solid var(--app-line);background:none;color:var(--app-ink);text-align:left;padding:14px 16px;cursor:pointer}.record-row:last-child{border-bottom:0}.record-thumbnail{display:grid;place-items:center;flex-shrink:0;width:44px;height:48px;border-radius:8px;overflow:hidden;color:var(--app-accent);background:var(--app-accent-soft)}.record-row--note .record-thumbnail{color:var(--app-muted);background:var(--app-surface-soft)}.record-thumbnail.has-image,.record-row--recipe .record-thumbnail{width:64px;height:64px}.record-thumbnail img{width:100%;height:100%;object-fit:cover}.record-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.record-title{font-size:16px;font-weight:650;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.record-summary{color:var(--app-muted);font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.record-row--note .record-summary{-webkit-line-clamp:2}.record-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:2px;font-size:12px;line-height:1.5;color:var(--app-muted)}.record-meta>span:first-child{font-weight:500}.record-chevron{flex-shrink:0;color:var(--app-muted);opacity:.75}.tiny-dot{width:2px;height:2px;border-radius:50%;background:currentColor}.library-start,.empty-library{padding:36px 16px 24px;text-align:center;color:var(--app-muted)}.library-start h2,.empty-library h3,.empty-library h2{font-size:19px;font-weight:650;line-height:1.4;color:var(--app-ink);margin:0}.library-start p,.empty-library p{max-width:300px;margin:8px auto 20px;font-size:14px;line-height:1.7}.library-start .mantine-Button-root,.empty-library .mantine-Button-root{min-height:44px}.empty-library>svg{margin-bottom:16px}.library-start-options{display:flex;justify-content:center;gap:12px;margin-top:12px}.library-start-options button{display:flex;align-items:center;gap:6px;min-height:44px;border:0;padding:0 8px;border-radius:7px;background:none;color:var(--app-accent);font-size:14px;cursor:pointer}.filter-option-list{padding:12px 0 calc(12px + env(safe-area-inset-bottom))}.filter-option-list>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;border:0;border-bottom:1px solid var(--app-line);background:none;color:var(--app-ink);font-size:15px;text-align:left;cursor:pointer;padding:8px 4px}.filter-option-list>button[aria-pressed=true]{color:var(--app-accent)}.filter-chips{display:flex;gap:8px;overflow-x:auto;max-width:100%;scrollbar-width:none}.filter-chips::-webkit-scrollbar{display:none}.filter-chips .mantine-Button-root{font-weight:550}.recipe-library{margin-top:8px}.recipe-library button.mantine-Paper-root{box-shadow:none;border-radius:12px;border:1px solid var(--app-line);background:var(--app-surface)}.recipe-library .mantine-AspectRatio-root{overflow:hidden}.recipe-library .mantine-Badge-root{font-weight:500}.detail-toolbar{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.detail-toolbar>div{display:flex;align-items:center;gap:4px}.detail-toolbar>div:first-child{margin-left:-8px;color:var(--app-muted);font-size:14px}.record-detail-header h1,.note-detail h1{font-size:28px;line-height:1.4;font-weight:700;letter-spacing:-.03em;margin:10px 0;overflow-wrap:anywhere}.record-detail-header .mantine-Badge-root{--badge-bg: var(--app-surface-soft);--badge-color: var(--app-muted);font-weight:500}.detail-section{border-top:1px solid var(--app-line);padding:24px 0}.detail-section h2,.detail-section .mantine-Title-root{font-size:17px;font-weight:650}.detail-section .mantine-Paper-root{box-shadow:none;background:var(--app-surface)}.detail-section .mantine-Pill-root{background:var(--app-surface-soft);border-radius:6px}.detail-section .mantine-Text-root{line-height:1.8}.detail-kicker{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--app-muted)}.detail-date{color:var(--app-muted);font-size:14px;margin:0 0 24px}.note-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.9;padding-bottom:24px}.note-detail .detail-section h2{display:flex;align-items:center;gap:8px;margin:0 0 16px}.task-page{gap:16px}.task-page .page-heading{margin-bottom:0}.task-summary{display:flex;justify-content:space-between;align-items:center;color:var(--app-muted);font-size:13px}.task-summary strong{color:var(--app-ink);font-size:14px;font-weight:600}.task-page article.mantine-Paper-root{background:var(--app-surface);border:1px solid var(--app-line);border-radius:12px;padding:12px;box-shadow:none}.task-page .mantine-SegmentedControl-root{background:var(--app-surface-soft)}.task-page .mantine-Badge-root{font-weight:500}.personal-mark{display:flex;align-items:center;gap:14px;padding:18px;background:var(--app-surface);border:1px solid var(--app-line);border-radius:12px}.personal-mark>svg{color:var(--app-accent)}.personal-mark strong{display:block;font-size:17px;font-weight:650}.personal-mark span{display:block;font-size:13px;color:var(--app-muted);margin-top:5px}.privacy-note{margin:12px 0 24px;color:var(--app-muted);font-size:13px;line-height:1.7}.profile-preferences{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--app-line);border-radius:12px;background:var(--app-surface)}.profile-preferences>svg{color:var(--app-muted)}.profile-preferences>div:nth-child(2){flex:1}.profile-preferences strong{display:block;font-size:15px;font-weight:600}.profile-preferences span{display:block;margin-top:3px;color:var(--app-muted);font-size:13px}.profile-section-title{margin:24px 0 12px}.settings-content{gap:0!important}.settings-content>.mantine-Text-root:first-child{display:none}.settings-content>.mantine-Paper-root{background:var(--app-surface);border:1px solid var(--app-line);border-radius:12px;margin-bottom:12px}.settings-action{border-bottom:1px solid var(--app-line)!important}.settings-action>.mantine-Paper-root{border:0;border-radius:0;background:var(--app-surface);padding:14px 12px}.settings-action .mantine-ThemeIcon-root{background:var(--app-accent-soft);color:var(--app-accent);border-radius:8px}.settings-action .mantine-Text-root:first-child{font-size:15px;font-weight:600}.settings-action .mantine-Text-root:last-child{font-size:13px;margin-top:3px}.danger-options{margin:20px 0 12px}.danger-options>summary{font-size:13px;color:var(--app-muted);cursor:pointer;min-height:44px;padding:12px 0}.danger-options>.settings-action{margin:8px 0}.note-options summary{display:flex;align-items:center;min-height:44px;color:var(--app-muted);font-size:15px;cursor:pointer}.note-options summary:before{content:"+";margin-right:8px;font-size:18px}.note-options[open] summary:before{content:"−"}.mantine-Drawer-content.editor-sheet,.editor-sheet__header,.editor-sheet__footer{background:var(--app-surface)}.mantine-Drawer-title{font-weight:650}@media(hover:hover){.record-row:hover,.capture-input:hover,.capture-shortcuts button:hover,.library-start-options button:hover{background:var(--app-surface-soft)}.section-heading>button:hover{text-decoration:underline}}button:active:not(:disabled){opacity:.78}@media(min-width:1240px){.app-shell{border-left:1px solid var(--app-line);border-right:1px solid var(--app-line)}}@media(max-width:899px){body{background:var(--app-bg)}.app-shell{display:block;max-width:768px}.app-sidebar{display:none}.app-topbar{height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0}.topbar-brand{font-size:15px}.app-page{padding:12px 16px calc(96px + env(safe-area-inset-bottom))}.page-heading{margin-bottom:16px}.page-heading h1,.today-intro h1{font-size:25px}.page-description{display:none}.records-page .page-description{display:block;font-size:13px}.today-intro{align-items:center;margin-bottom:12px}.app-page .mantine-Input-input{font-size:16px}.mobile-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:768px;z-index:30;background:var(--app-header);border-top:1px solid var(--app-line);padding:5px 12px calc(5px + env(safe-area-inset-bottom));gap:8px}.mobile-navigation button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:50px;border:0;border-radius:8px;background:none;color:var(--app-muted);cursor:pointer;font-size:12px}.mobile-navigation button[aria-current=page]{color:var(--app-accent);font-weight:650}.mobile-navigation button[aria-current=page] svg{fill:var(--app-accent-soft);stroke-width:2}.record-tabs button{min-height:44px}.record-detail-header h1,.note-detail h1{font-size:26px}.detail-page{padding-top:20px}}@media(max-width:359px){.app-page,.app-topbar{padding-left:12px;padding-right:12px}.record-row{gap:10px;padding:12px}.record-thumbnail.has-image,.record-row--recipe .record-thumbnail{width:52px;height:58px}.capture-shortcuts{gap:8px;padding-left:4px;padding-right:4px}.capture-shortcuts button{gap:5px;font-size:13px}.record-tab-count{margin-left:3px;font-size:11px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .14s ease,color .14s ease,opacity .1s ease}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
