.loading-indicator{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;color:var(--theme-editor-accent)}.loading-indicator-ring{display:block;width:24px;height:24px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:daymark-loading-spin .8s linear infinite}@keyframes daymark-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-indicator-ring{animation:none}}.inline-notice{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-row);margin:8px 0 14px;font-size:var(--font-control);line-height:1.6;color:var(--theme-secondary);overflow-wrap:anywhere}.inline-notice.is-error{color:var(--theme-danger)}.inline-notice>button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:var(--radius-sm);padding:3px 6px;min-height:var(--control-compact);background:transparent;color:var(--theme-editor-accent);font-size:inherit}.inline-notice>button:hover:not(:disabled){background:var(--theme-hover)}.inline-notice>span[aria-hidden]{display:inline-flex}@media(max-width:900px),(pointer:coarse){.inline-notice>button{min-height:var(--control-touch)}}.private-login{min-height:100dvh;display:grid;place-items:center;padding:28px;background:var(--theme-canvas);color:var(--theme-text)}.private-login-card{width:min(100%,340px);padding-bottom:6vh}.private-login-mark{display:block;width:56px;height:56px;border-radius:var(--radius-xl);margin:0 auto 18px}.private-login h1{margin:0;text-align:center;font-size:var(--font-display-sm);font-weight:650;letter-spacing:-.65px}.private-login-intro{margin:8px 0 34px;text-align:center;color:var(--theme-muted);font-size:var(--font-label)}.private-login form{display:flex;flex-direction:column;gap:10px}.private-login label{font-size:var(--font-body);font-weight:500}.private-login input{width:100%;height:42px;border:1px solid var(--theme-border);border-radius:var(--radius-md);padding:9px 12px;background:var(--theme-input);color:var(--theme-text);font:inherit;font-size:var(--font-input);outline:none;transition:border-color var(--motion-feedback) ease,box-shadow var(--motion-feedback) ease}.private-login input:focus{border-color:var(--theme-editor-accent);box-shadow:0 0 0 3px var(--theme-selection)}.private-login-submit{margin-top:10px;height:40px;border:0;border-radius:var(--radius-md);background:var(--theme-primary);color:var(--theme-primary-text);font:inherit;font-size:var(--font-label);font-weight:550;cursor:pointer;transition:opacity var(--motion-feedback) ease}.private-login-submit:hover:not(:disabled){opacity:.9}.private-login-submit:disabled{opacity:.5;cursor:default}.private-login-retry{border:0;padding:7px;background:transparent;color:var(--theme-editor-accent);cursor:pointer}.private-login-error,.private-login-checking{margin:2px 0}.private-login-checking{text-align:center}@media(max-width:500px){.private-login-card{padding-bottom:12vh}}@media(prefers-reduced-motion:reduce){.private-login input,.private-login-submit{transition:none}}.workspace-loading{text-align:center}.workspace-loading-progress{display:flex;justify-content:center;height:56px;align-items:center;margin-top:18px}.workspace-loading-error{margin:6px 0}.private-login-submit{min-height:var(--control-touch);display:inline-flex;align-items:center;justify-content:center}.private-login-submit .loading-indicator{color:inherit}.private-login-submit .loading-indicator-ring{width:18px;height:18px}.private-login-retry{min-height:var(--control-touch)}.private-login button:focus-visible{outline:2px solid var(--theme-primary);outline-offset:3px}:root{--theme-canvas: #ffffff;--theme-panel: #f0f0f0;--theme-sidebar: #f0f0f0;--theme-surface: #f5f5f7;--theme-menu: #f2f3f5;--theme-text: #3f3f3f;--theme-secondary: #666;--theme-muted: #6f6f76;--theme-border: #dedee3;--theme-separator: #e9e9eb;--theme-input: #ffffff;--theme-button: #f4f4f5;--theme-hover: #e9e9ed;--theme-selection: #e7e5e4;--theme-primary: #b85e00;--theme-primary-text: #ffffff;--theme-editor-accent: #d87001;--theme-focus: var(--theme-editor-accent);--theme-accent-soft: #fff0e1;--theme-danger: #c24135;--theme-warning: #a75c22;--theme-warning-bg: #fff4e5;--theme-shadow: #00000024;--theme-backdrop: #00000026;--theme-quote: #666;--theme-code-bg: #00000009;--theme-code-keyword: #92509c;--theme-code-string: #9c5945;--theme-code-number: #a77528;--theme-code-comment: #969aa3;--theme-code-type: #2d8795;--theme-code-variable: #367aaf;--theme-highlight: #84ff0066;--theme-highlight-text: inherit;--theme-flag-1: #59000b;--theme-flag-2: #420008;--theme-flag-3: #1f0004;--theme-flag-bg-1: #d0402322;--theme-flag-bg-2: #e3021d40;--theme-flag-bg-3: #ff02026f;--theme-chrome: #ffffffef;--theme-border-strong: #c9c9ce;--theme-text-selection: #d8700130;--theme-scrollbar: #00000024;--theme-success: #379450;--theme-info: #1761d5;--theme-purple: #bc22be;--theme-pink: #bf3b70;--theme-teal: #4f9c96;--theme-on-color: #ffffff;--theme-row-hover: rgb(0 0 0 / 6%);--theme-shadow-soft: #00000012;--theme-calendar-orange: #d87001;--theme-calendar-purple: #bc22be;--theme-calendar-pink: #bf3b70;color-scheme:light}:root[data-theme=dark]{--theme-canvas: #1f1f1f;--theme-panel: #2a2a2a;--theme-sidebar: #333333;--theme-surface: #333333;--theme-menu: #333333;--theme-text: #cfcfcf;--theme-secondary: #b0b0b0;--theme-muted: #9ca3af;--theme-border: #404040;--theme-separator: #ffffff1a;--theme-input: #1f1f1f;--theme-button: #333333;--theme-hover: #353535;--theme-selection: #484646;--theme-primary: #ffa34f;--theme-primary-text: #1f1f1f;--theme-accent-soft: #92400e33;--theme-editor-accent: #ffa34f;--theme-danger: #f87171;--theme-warning: #fed7aa;--theme-warning-bg: #1a1510;--theme-shadow: #00000070;--theme-backdrop: #00000080;--theme-quote: #999;--theme-code-bg: #0000002b;--theme-code-keyword: #c084fc;--theme-code-string: #fed7aa;--theme-code-number: #fde047;--theme-code-comment: #9ca3af;--theme-code-type: #4ade80;--theme-code-variable: #60a5fa;--theme-highlight: #ff87c344;--theme-highlight-text: #ffdeee;--theme-flag-1: #ffb5b5;--theme-flag-2: #ffcccc;--theme-flag-3: #ffdbbe;--theme-flag-bg-1: #ff555544;--theme-flag-bg-2: #ff555577;--theme-flag-bg-3: #ff5555aa;--theme-chrome: #1f1f1fef;--theme-border-strong: #646464;--theme-text-selection: #d8700144;--theme-scrollbar: #ffffff2e;--theme-success: #86d49a;--theme-info: #60a5fa;--theme-purple: #df8de1;--theme-pink: #ef95b8;--theme-teal: #83c6c0;--theme-on-color: #ffffff;--theme-row-hover: rgb(255 255 255 / 9%);--theme-shadow-soft: #00000040;--theme-calendar-orange: #d87001;--theme-calendar-purple: #bc22be;--theme-calendar-pink: #bf3b70;color-scheme:dark}:root{--font-micro: 9px;--font-badge: 10px;--font-caption: 11px;--font-control: 12px;--font-body: 13px;--font-label: 14px;--font-subtitle: 15px;--font-input: 16px;--font-title: 18px;--font-heading: 20px;--font-heading-lg: 22px;--font-display-sm: 24px;--font-display-md: 26px;--font-display: 28px;--font-display-lg: 30px;--font-display-xl: 32px;--font-clock: 36px;--font-clock-lg: 40px;--font-hero: 48px;--radius-xs: 2px;--radius-sm: 5px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-dialog: 16px;--radius-pill: 999px;--control-compact: 30px;--control-standard: 32px;--control-touch: 44px;--icon-compact: 28px;--icon-standard: 32px;--content-width: 720px;--page-gutter: 28px;--page-gutter-mobile: 16px;--space-section: 16px;--space-row: 8px;--motion-feedback: .12s}:root{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";--fast: .15s;--ease: cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{cursor:default;opacity:.45}button:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}:where(input):focus-visible{outline:2px solid var(--theme-focus);outline-offset:1px}button,a{-webkit-tap-highlight-color:transparent}svg{flex-shrink:0;vertical-align:middle}kbd{font:var(--font-caption) -apple-system,BlinkMacSystemFont,sans-serif;color:var(--theme-muted)}button,input{touch-action:manipulation}h1,h2,h3,p{margin-top:0}.orange{color:var(--theme-editor-accent)}.blue{color:var(--theme-info)}.green{color:var(--theme-success)}.purple{color:var(--theme-purple)}.pink{color:var(--theme-pink)}.teal{color:var(--theme-teal)}.muted,.subtle{color:var(--theme-muted)}.subtle{font-size:var(--font-body);line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}::selection{background:var(--theme-text-selection)}::-webkit-scrollbar-thumb{background:var(--theme-scrollbar)}:where(input,textarea)::placeholder{color:var(--theme-muted)}.app{display:grid;grid-template-columns:250px minmax(0,1fr) 270px;height:100dvh;overflow:hidden}.sidebar{background:var(--theme-sidebar);border-right:1px solid var(--theme-border);display:flex;flex-direction:column;min-width:0;overflow:hidden}.sidebar-scroll{flex:1;overflow:auto;padding:18px 10px}.brand{height:33px;padding:0 7px;color:var(--theme-muted);font-size:var(--font-control);font-weight:650;display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.brand .icon-button{opacity:0;transition:opacity var(--fast)}.brand:hover .icon-button,.brand:focus-within .icon-button{opacity:1}.nav-row{display:flex;align-items:center;gap:9px;width:100%;height:29px;margin:1px 0;padding:3px 11px;border-radius:var(--radius-md);font-size:var(--font-label);text-align:left;white-space:nowrap;transition:background-color var(--fast),color var(--fast)}.nav-row>svg{width:18px;height:18px;stroke-width:1.8}.nav-row>span:not(.count){overflow:hidden;text-overflow:ellipsis}.nav-row kbd,.nav-row .count{margin-left:auto;font-size:var(--font-caption)}.nav-row.selected{background:var(--theme-accent-soft);color:var(--theme-text);font-weight:600}.nav-row.selected svg,.nav-row.selected kbd{color:var(--theme-text)}.nav-row .count{font-size:var(--font-caption);color:var(--theme-muted)}.nav-row.selected .count{color:var(--theme-text)}.nav-section{margin:27px 4px 12px;color:var(--theme-muted);font-weight:600;font-size:var(--font-control);line-height:18px}.section-with-action{display:flex;justify-content:space-between;align-items:center}.section-with-action .icon-button{opacity:0}.section-with-action:hover .icon-button{opacity:1}.folder-row{padding-left:2px;gap:7px}.folder-row .disclosure{width:11px;height:13px;color:var(--theme-muted);margin-right:-2px}.expanded{transform:rotate(90deg)}.disclosure,.disclosure-row svg{transition:transform .16s var(--ease)}.child-row{padding-left:33px;gap:8px}.child-row>svg{width:16px;height:16px;color:var(--theme-muted)}.child-row.selected>svg{color:var(--theme-editor-accent)}@media(min-width:901px){.sidebar:not(:focus-within) .nav-row.selected{background:var(--theme-selection);color:var(--theme-text)}.sidebar:not(:focus-within) .nav-row.selected svg,.sidebar:not(:focus-within) .nav-row.selected kbd,.sidebar:not(:focus-within) .nav-row.selected .count{color:var(--theme-secondary)}}.sidebar-bottom{height:42px;padding:3px 12px 5px;display:flex;align-items:center;justify-content:space-between;background:var(--theme-sidebar)}.new-note{display:flex;align-items:center;gap:5px;color:var(--theme-secondary);font-size:var(--font-body);padding:5px 1px}.sidebar-bottom .icon-button{color:var(--theme-muted)}.main-pane{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--theme-canvas);position:relative;overflow:hidden}.note-header{height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 17px;position:relative;z-index:10;background:var(--theme-chrome);backdrop-filter:blur(16px)}.breadcrumbs{display:flex;gap:10px;align-items:center;font-size:var(--font-title);font-weight:650;letter-spacing:normal;min-width:0;padding-right:10px}.breadcrumbs span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;align-items:center;gap:4px}.document-shell{display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain}.document-shell>.editor-wrap{min-height:35vh}.document-shell .editor-host,.document-shell .cm-editor{height:auto!important;min-height:35vh}.document-shell .cm-scroller{overflow:visible!important}.document-shell[hidden]{display:none}.reading-column{width:min(var(--reading-width, 600px),calc(100% - 80px));margin:0 auto}.document-meta{padding:14px 0 11px;border-bottom:1px solid var(--theme-separator);flex-shrink:0}.disclosure-row{display:flex;gap:4px;align-items:center;color:var(--theme-muted);font-size:var(--font-control);font-weight:650;line-height:20px;padding:1px 0;min-height:22px;text-align:left}.disclosure-row svg{flex-shrink:0}.ref-count{margin-left:5px;font-size:var(--font-badge);padding:0 5px;border-radius:var(--radius-md);background:var(--theme-selection)}.editor-wrap{flex:1;min-height:0;position:relative}.editor-host{height:100%;width:100%}.cm-editor{color:var(--theme-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.cm-scroller{font-family:inherit!important;line-height:1.4!important}.cm-content{width:min(var(--reading-width, 600px),calc(100% - 80px));max-width:var(--reading-width, 600px);min-width:0!important;flex:initial!important;margin:0 auto!important;padding:24px 0 150px!important}.cm-line{padding:.275em 0!important;line-height:1.4}.cm-line.editor-h1{font-size:1.9em;font-weight:700;line-height:1.35;padding-top:0!important;padding-bottom:12px!important;letter-spacing:normal}.cm-line.editor-h2{font-size:1.6em;font-weight:700;line-height:1.45;padding-top:11px!important;padding-bottom:5px!important;letter-spacing:-.25px}.cm-line.editor-h3{font-size:1.3em;font-weight:650;padding-top:7px!important}.cm-gutters{position:absolute!important;inset-inline-start:max(calc((100% - var(--reading-width, 600px)) / 2 - 24px),16px)!important;height:100%;z-index:1;color:var(--theme-muted)}.cm-foldGutter .cm-gutterElement{font-size:var(--font-subtitle);cursor:pointer;opacity:0;transition:opacity var(--fast)}.cm-editor:hover .cm-foldGutter .cm-gutterElement,.cm-editor:focus-within .cm-foldGutter .cm-gutterElement,.cm-editor.cm-focused .cm-foldGutter .cm-gutterElement{opacity:1}.cm-selectionBackground{background:var(--theme-text-selection)!important}.cm-cursor{border-left-color:var(--theme-editor-accent)!important}.cm-tooltip{background:var(--theme-chrome)!important;border:1px solid var(--theme-border)!important;border-radius:var(--radius-lg)!important;box-shadow:0 8px 30px var(--theme-shadow);overflow:hidden;font-size:var(--font-body)}.cm-tooltip-autocomplete>ul>li{padding:5px 10px!important}.cm-tooltip-autocomplete ul li[aria-selected]{background:var(--theme-editor-accent)!important}.cm-editor .cm-panels{border:0;background:var(--theme-surface);font:var(--font-body) -apple-system,sans-serif}.cm-search{padding:10px!important}.cm-textfield{border:1px solid var(--theme-border)!important;border-radius:var(--radius-sm)}.cm-button{background:var(--theme-canvas)!important;border-radius:var(--radius-sm);border:1px solid var(--theme-border)!important}.editor-task{display:inline-flex;width:15px;height:15px;padding:0;border:1.6px solid var(--theme-editor-accent);border-radius:50%;margin:0 8px 1px 0;vertical-align:middle;position:relative;cursor:pointer;color:var(--theme-editor-accent)}.editor-task.square{width:12px;height:12px;border-radius:var(--radius-xs);margin-right:11px}.editor-task-prefix{display:inline-block;vertical-align:baseline;white-space:nowrap;padding-inline-end:8px}.editor-task-caret-metric{visibility:hidden;pointer-events:none}.editor-task-prefix.square{padding-inline-end:11px}.editor-task-prefix>.editor-task{margin-inline-end:0}.editor-task.checked{background:var(--theme-editor-accent)}.editor-task.checked:after{content:"";position:absolute;left:3px;top:1px;width:4px;height:7px;border:solid var(--theme-canvas);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.editor-task.square.checked:after{left:2px;top:0}.editor-task.canceled:after{content:"";position:absolute;width:8px;height:1px;background:var(--theme-editor-accent);top:5px;left:2px}.task-done,.task-canceled{color:var(--theme-muted);text-decoration:line-through;text-decoration-thickness:1px}.editor-token,.wiki-link{color:var(--theme-editor-accent)}.wiki-link{border:0;background:transparent;padding:0;font:inherit;cursor:pointer}.wiki-link:hover{text-decoration:underline}.empty-note-hint{position:absolute;left:max(calc((100% - var(--reading-width, 600px)) / 2),40px);top:28px;color:var(--theme-muted);pointer-events:auto;font-size:var(--font-subtitle);cursor:text}.empty-note-hint button{display:block;margin:20px 0;font-size:var(--font-control);color:var(--theme-muted);border:1px solid var(--theme-border);border-radius:var(--radius-md);padding:6px 12px}.properties{padding:10px 0;display:flex;gap:10px}.property-table{padding:5px 0 8px;font-size:var(--font-body)}.property-row{display:grid;grid-template-columns:22px minmax(85px,29%) minmax(0,1fr);min-height:29px;margin-bottom:2px;position:relative}.property-row>button,.property-row>input{border:0;border-radius:var(--radius-xs);min-width:0;padding:5px 9px;font:inherit;text-align:left;line-height:19px}.property-key,.property-draft>input:first-of-type{background:var(--theme-surface);color:var(--theme-secondary);margin-right:3px}.property-value,.property-draft>input:last-of-type{color:var(--theme-text);background:transparent;overflow-wrap:anywhere}.property-row>button:hover{background:var(--theme-hover)}.property-row>input:focus{outline:1px solid var(--theme-editor-accent);outline-offset:-1px}.property-row-handle{display:flex;align-items:center;justify-content:center;position:relative}.property-row-handle>button:first-child{color:var(--theme-muted);opacity:0;padding:2px;display:flex}.property-row:hover .property-row-handle>button,.property-row:focus-within .property-row-handle>button,.property-row-handle>button[aria-expanded=true]{opacity:1}.add-property,.property-source{display:flex;align-items:center;gap:6px;font-size:var(--font-control);color:var(--theme-muted);padding:7px 9px;margin-left:22px}.add-property:hover,.property-source:hover{color:var(--theme-editor-accent)}.property-menu-dismiss{position:fixed;inset:0;z-index:90;cursor:default;background:transparent}.property-row-menu{position:absolute;left:0;top:25px;min-width:138px;z-index:91;background:var(--theme-menu);border:1px solid var(--theme-border);border-radius:var(--radius-md);box-shadow:0 6px 22px var(--theme-shadow);padding:4px}.property-row-menu button{display:block;padding:5px 9px;text-align:left;width:100%;border-radius:var(--radius-sm);font-size:var(--font-body)}.property-row-menu button:hover,.property-row-menu button:focus-visible{background:var(--theme-hover)}.property-row-menu button:disabled{opacity:.35}.property-row-menu hr{border:0;border-top:1px solid var(--theme-border);margin:4px 2px}.property-error{margin:5px 0 0 31px}.property-error button{text-decoration:underline;margin-left:8px}.note-folder-field{display:flex;padding:7px 10px;gap:10px;align-items:center;color:var(--theme-muted);font-size:var(--font-control)}.note-folder-field input{min-width:0;width:125px;border:0;border-radius:var(--radius-xs);background:var(--theme-surface);padding:4px 6px}@media(hover:none),(max-width:900px){.property-row-handle>button:first-child{opacity:1}}.properties label{display:flex;align-items:center;gap:10px;color:var(--theme-muted);font-size:var(--font-control)}.properties input{border:0;background:var(--theme-surface);border-radius:var(--radius-sm);padding:5px 8px;color:var(--theme-text)}.references{padding:9px 4px 3px;font-size:var(--font-body)}.backlink-row{display:flex;align-items:center;gap:8px;width:100%;padding:8px;color:var(--theme-secondary);text-align:left}.backlink-row svg:last-child{margin-left:auto}.task-row{display:flex;align-items:flex-start;gap:9px;padding:10px 6px;border-radius:var(--radius-md)}.task-row:hover{background:var(--theme-hover)}.task-check{width:15px;height:15px;border:1.5px solid var(--theme-editor-accent);border-radius:50%;padding:0;margin-top:3px;color:var(--theme-on-color);display:flex;align-items:center;justify-content:center;flex-shrink:0}.task-check.checked{background:var(--theme-editor-accent)}.task-row-content{flex:1;min-width:0}.task-text{display:block;text-align:left;padding:0;line-height:1.5;font-size:var(--font-subtitle)}.task-source{display:block;text-align:left;padding:2px 0 0;font-size:var(--font-caption);color:var(--theme-muted)}.task-row.done .task-text{text-decoration:line-through;color:var(--theme-muted)}.task-row>.icon-button{color:var(--theme-muted);opacity:0}.task-row:hover>.icon-button,.task-row:focus-within>.icon-button{opacity:1}.task-row>.icon-button svg{width:15px}.calendar-pane{display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--theme-separator);background:var(--theme-canvas);overflow:hidden}.month-head{display:flex;align-items:center;height:49px;padding:0 10px;gap:4px;flex-shrink:0}.month-head>button:first-child{margin-right:auto;font-size:var(--font-title);white-space:nowrap;padding:0;letter-spacing:-.3px}.calendar-today>span{display:block;width:6px;height:6px;border-radius:50%;border:1px solid currentColor;background:transparent}.calendar-today[aria-pressed=true]>span{background:currentColor}.month-grid{display:grid;grid-template-columns:22px repeat(7,1fr);padding:2px 8px 11px;flex-shrink:0;font-size:var(--font-control)}.month-grid>span{font-size:var(--font-caption);color:var(--theme-muted);text-align:center;line-height:23px}.month-grid>span.orange{color:var(--theme-editor-accent)}.calendar-week{display:contents}.week-number{position:relative}.week-number[aria-current=page]{background:var(--theme-selection)}.week-task-dot{position:absolute;left:calc(50% - 1.5px);bottom:3px;width:3px;height:3px;border-radius:50%;background:var(--theme-purple)}.calendar-week>.week-number{color:var(--theme-editor-accent);font-size:var(--font-caption);line-height:normal;text-align:center}.calendar-week>button{position:relative;min-height:29px;padding:1px 0 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:var(--font-body);border-radius:0}.calendar-week>button:hover{background:var(--theme-hover)}.calendar-week>button.outside{color:var(--theme-muted)}.calendar-week>button.selected-day{background:var(--theme-accent-soft);color:var(--theme-editor-accent)}.calendar-week>button.today span{font-weight:650}.timeline-head{display:flex;height:28px;flex-shrink:0;align-items:center;justify-content:space-between;padding:0 8px;font-size:var(--font-body);border-block:1px solid var(--theme-border);background:var(--theme-surface)}.timeline-head>span{display:flex;gap:6px;align-items:center}.timeline-head>div{display:flex}.timeline-head .icon-button svg{width:15px}.timeline-day{text-align:center;font-size:var(--font-body);color:var(--theme-editor-accent);padding:5px;height:29px;flex-shrink:0}.all-day{min-height:19px;padding:0 9px 3px;color:var(--theme-muted);font-size:var(--font-caption);border-bottom:3px solid var(--theme-border);flex-shrink:0}.all-day>div{margin-left:40px;padding:2px}.timeline-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.timeline-grid{height:1536px;position:relative}.hour-row{height:64px;position:relative;margin-left:49px;border-top:1px solid var(--theme-border)}.hour-row>span{position:absolute;right:calc(100% + 8px);top:-7px;color:var(--theme-muted);font-size:var(--font-badge);white-space:nowrap}.hour-row:first-child>span{top:0}.time-block{position:absolute;left:50px;right:3px;border-left:3px solid var(--theme-editor-accent);background:var(--theme-accent-soft);border-radius:var(--radius-sm);padding:3px 4px;color:var(--theme-warning);text-align:left;overflow:hidden;display:flex;flex-direction:column;gap:1px;z-index:2;transition:box-shadow var(--fast)}.time-block:hover{box-shadow:0 0 0 1px var(--theme-editor-accent)}.time-block small{font-size:var(--font-badge);font-weight:400}.time-block>span{font-size:var(--font-control);font-weight:600;line-height:15px;overflow:hidden}.time-block.completed{opacity:.5}.time-block.completed>span{text-decoration:line-through}.mini-circle,.mini-square{display:inline-block;width:8px;height:8px;border:1px solid currentColor;margin-right:4px;vertical-align:0}.mini-circle{border-radius:50%}.external-event{z-index:3;max-width:calc(100% - 54px)}.now-line{position:absolute;left:49px;right:0;border-top:1.5px solid var(--theme-danger);z-index:5;pointer-events:none}.drop-marker{position:absolute;left:47px;right:0;height:2px;background:var(--theme-editor-accent);z-index:8;pointer-events:none}.drop-marker>span{position:absolute;right:2px;top:-18px;padding:2px 4px;background:var(--theme-editor-accent);color:var(--theme-on-color);border-radius:var(--radius-xs);font-size:var(--font-badge)}.popover{position:absolute;right:16px;top:46px;z-index:30;width:252px;background:var(--theme-chrome);backdrop-filter:blur(25px);border:1px solid var(--theme-border);border-radius:var(--radius-lg);box-shadow:0 6px 22px var(--theme-shadow-soft);padding:5px;font:400 var(--font-body)/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;animation:popover-in .14s ease-out}.popover button{display:flex;align-items:center;gap:9px;text-align:left;width:100%;min-height:30px;padding:5px 8px;border-radius:var(--radius-sm);font:inherit}.popover button:hover{background:var(--theme-hover)}.popover button svg{width:16px;height:16px;color:var(--theme-muted)}.popover code{margin-left:auto;color:var(--theme-muted);font:var(--font-caption) -apple-system,sans-serif}.popover hr{border:0;border-top:1px solid var(--theme-border);margin:6px}.danger{color:var(--theme-danger)}.right-hidden{grid-template-columns:250px minmax(0,1fr)}.right-hidden>.calendar-pane{display:none}.results-page{overflow:auto;padding:30px max(calc((100% - 600px)/2),30px);flex:1}.search-result{display:flex;align-items:flex-start;gap:14px;text-align:left;padding:18px 0;border-bottom:1px solid var(--theme-separator);width:100%}.search-result>svg{width:18px;color:var(--theme-muted)}.search-result>.navigation-icon{margin-top:2px}.search-result>div{min-width:0;flex:1}.search-result strong{font-weight:600;font-size:var(--font-subtitle)}.search-result p{font-size:var(--font-body);line-height:1.6;color:var(--theme-muted);white-space:pre-line;max-height:65px;overflow:hidden;margin:7px 0}.search-result small{color:var(--theme-muted);font-size:var(--font-caption)}.trash-row{display:flex;gap:10px;align-items:center;padding:15px 0;border-bottom:1px solid var(--theme-border)}.trash-row>span{flex:1}.trash-row>button{font-size:var(--font-control);color:var(--theme-editor-accent)}.modal{padding:0;border:1px solid var(--theme-border);border-radius:var(--radius-xl);box-shadow:0 24px 70px var(--theme-shadow);width:min(500px,calc(100vw - 32px));background:var(--theme-canvas);color:var(--theme-text);max-height:85dvh;overflow:auto;font-size:var(--font-body)}.modal::backdrop{background:var(--theme-backdrop)}.modal[open]{animation:modal-in .16s ease-out}.modal-inner{padding:20px}.modal.is-narrow{width:min(380px,calc(100vw - 32px))}.modal form .form-checkbox{flex-direction:row;align-items:center}.form-checkbox input{accent-color:var(--theme-editor-accent)}.modal header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal h2{margin:0;font-size:var(--font-subtitle);font-weight:600;line-height:1.4;letter-spacing:0}.modal h3{font-size:var(--font-body)}.modal form label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:var(--font-control);color:var(--theme-secondary)}:where(.modal input:not([type=color]):not([type=checkbox]):not([type=radio]):not([type=range]),.modal select){min-width:0;width:100%;min-height:32px;border:1px solid var(--theme-border);border-radius:var(--radius-sm);padding:6px 8px;font-size:var(--font-body);background:var(--theme-input);color:var(--theme-text)}:where(.modal :is(input,select,textarea,button)):focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}.modal footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px}.quick-dates button,.subscription>button,.history-list button,:where(.settings-modal button:not(.icon-button)){border:1px solid var(--theme-border);border-radius:var(--radius-sm);padding:6px 10px;font-size:var(--font-control)}.modal .form-row{display:flex;gap:12px}.form-row label{flex:1;min-width:0}.quick-dates{display:flex;gap:8px;margin:10px 0 16px}.quick-dates button{color:var(--theme-secondary);background:var(--theme-surface)}@media(max-width:900px),(pointer:coarse){:where(.modal input:not([type=color]):not([type=checkbox]):not([type=radio]):not([type=range]),.modal select){min-height:40px;font-size:var(--font-input)}.modal footer button,.quick-dates button{min-height:var(--control-touch)}}.task-modal-title{font-size:var(--font-input);margin-bottom:20px}.command-palette{align-self:start;margin-top:12vh;width:min(640px,calc(100vw - 32px))}.command-palette .modal-inner{padding:0}.command-palette header{display:none}.command-input{display:flex;align-items:center;gap:12px;padding:17px 21px;border-bottom:1px solid var(--theme-border);color:var(--theme-muted)}.command-input input{border:0!important;outline:none!important;padding:0!important;font-size:var(--font-subtitle)!important;flex:1;min-width:0;background:transparent!important;border-radius:0}.command-results{padding:15px 12px 12px}.command-results>small{display:block;margin:5px 12px 13px;color:var(--theme-muted);font-size:var(--font-caption);font-weight:650}.command-results>button{display:grid;grid-template-columns:18px minmax(0,1fr) minmax(0,auto) 14px;align-items:center;gap:12px;width:100%;border-radius:var(--radius-md);padding:11px;text-align:left;font-size:var(--font-label)}.command-results>button>svg{color:var(--theme-muted)}.command-results>button.active{background:var(--theme-selection)}.command-results>button small{max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--theme-muted);font-size:var(--font-caption)}.command-results>button>.command-note-title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.command-results>button>.navigation-icon{justify-self:start}.command-results>button>kbd{width:14px;text-align:right}.command-results .subtle{margin:20px 12px}.connection-status{display:flex;gap:12px;align-items:flex-start;margin:20px 0 25px}.connection-status>svg{color:var(--theme-muted)}.connection-status strong{font-size:var(--font-label)}.connection-status p{font-size:var(--font-control);line-height:1.6;color:var(--theme-muted);margin:7px 0}.subscription{display:flex;gap:8px;align-items:center;padding:13px 0;border-bottom:1px solid var(--theme-border);margin-bottom:15px}.subscription>i{width:9px;height:9px;border-radius:50%}.subscription>div{flex:1}.subscription strong{font-size:var(--font-body);font-weight:500}.subscription small{display:block;color:var(--theme-muted);font-size:var(--font-badge);margin-top:4px}.color-field{flex-direction:row!important;align-items:center}.color-field input{border:0;background:none;width:35px;height:28px}.import-label{display:block;margin-top:20px;font-size:var(--font-body);color:var(--theme-secondary)}.import-label input{margin-top:8px;font-size:var(--font-control)!important}.history-list details{padding:12px 0;font-size:var(--font-control)}.history-list summary{cursor:pointer}.history-list pre{font:var(--font-control)/1.7 ui-monospace,monospace;max-height:260px;overflow:auto;white-space:pre-wrap;padding:12px;background:var(--theme-surface)}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%);max-width:min(600px,calc(100vw - 28px));z-index:90;padding:8px 10px 8px 15px;border:1px solid var(--theme-border);border-radius:var(--radius-lg);background:var(--theme-warning-bg);color:var(--theme-warning);font-size:var(--font-control);line-height:1.5;display:flex;gap:8px;align-items:center;box-shadow:0 5px 25px var(--theme-shadow-soft)}.syncing{opacity:.5}.mobile-calendar,.mobile-events,.mobile-bottom,.sheet-handle,.mobile-scrim{display:none}.empty-workspace{display:grid;place-items:center;min-height:100dvh}.empty-workspace button{color:var(--theme-editor-accent)}@keyframes modal-in{0%{opacity:0;transform:translateY(-5px) scale(.99)}to{opacity:1;transform:none}}@keyframes popover-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@media(min-width:901px)and (max-width:1180px){.app{grid-template-columns:220px minmax(0,1fr) 250px}.right-hidden{grid-template-columns:220px minmax(0,1fr)}.reading-column,.cm-content{width:min(var(--reading-width, 600px),calc(100% - 56px))}.cm-gutters{inset-inline-start:max(calc((100% - var(--reading-width, 600px)) / 2 - 24px),4px)!important}.breadcrumbs{font-size:var(--font-input)}.header-actions{gap:0}}@media(max-width:900px){.app,.right-hidden{display:block;height:100dvh}.main-pane{height:100%;width:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:min(310px,85vw);z-index:60;transform:translate(-101%);padding-top:env(safe-area-inset-top)}.sidebar-open .sidebar{transform:none;box-shadow:12px 0 40px var(--theme-shadow)}.sidebar .brand{font-size:var(--font-label)}.sidebar .brand .icon-button{opacity:1}.sidebar .nav-row{min-height:38px;font-size:var(--font-input)}.sidebar .nav-section{margin-top:26px}.sidebar .child-row{padding-left:36px}.sidebar-bottom{height:55px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.mobile-scrim{display:block;position:fixed;inset:0;background:var(--theme-backdrop);z-index:50;width:100%;height:100%}.calendar-pane,.right-hidden>.calendar-pane{position:fixed;left:0;right:0;bottom:0;height:65dvh;z-index:70;border:1px solid var(--theme-border);border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;transform:translateY(101%);display:flex;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 40px var(--theme-shadow-soft)}.timeline-open .calendar-pane{transform:none}.calendar-pane>.month-head,.calendar-pane>.month-grid{display:none}.sheet-handle{display:flex;height:22px;flex-shrink:0;justify-content:center;align-items:center;cursor:pointer}.sheet-handle span{height:4px;width:34px;border-radius:var(--radius-sm);background:var(--theme-separator)}.timeline-head{height:36px;background:var(--theme-canvas);font-size:var(--font-subtitle);padding-inline:17px}.timeline-day{height:28px;font-size:var(--font-label)}.time-block{font-size:var(--font-subtitle);right:15px;left:57px;padding:4px 8px;border-left-width:3px}.time-block>span{font-size:var(--font-label)}.time-block small{font-size:var(--font-caption)}.hour-row{margin-left:56px;margin-right:15px}.hour-row>span{font-size:var(--font-caption)}.now-line{left:56px;right:15px}.mobile-calendar{display:block;padding-top:env(safe-area-inset-top);border-bottom:1px solid var(--theme-border);background:var(--theme-canvas);flex-shrink:0}.mobile-calendar-head{height:var(--control-touch);display:flex;align-items:center;gap:7px;padding:0 12px}.mobile-calendar-head>.mobile-month-label{font-size:var(--font-subtitle);margin:auto;white-space:nowrap;color:var(--theme-text)}.week-strip{display:grid;grid-template-columns:18px repeat(7,1fr);height:62px;padding:0 10px 0 4px}.week-strip>.week-number{color:var(--theme-editor-accent);font-size:var(--font-micro);text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;padding-top:2px}.week-strip>.week-number small{font-size:var(--font-badge)}.week-strip>.week-number b{display:grid;place-items:center;height:22px;font-weight:400}.week-strip .week-task-dot{position:static;background:var(--theme-editor-accent)}.week-strip>button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:2px 0 0;border-radius:0;gap:5px}.week-strip>button small{font-size:var(--font-badge);color:var(--theme-secondary)}.week-strip>button b{font-size:var(--font-body);font-weight:400;display:grid;place-items:center;width:22px;height:22px}.week-strip>button.chosen{background:var(--theme-accent-soft)}.week-strip>button.is-today b{background:var(--theme-primary);color:var(--theme-primary-text);border-radius:50%}.note-header{height:var(--control-touch);padding:0 13px}.breadcrumbs{font-size:var(--font-body);font-weight:400;flex:1;justify-content:center;color:var(--theme-text);letter-spacing:0;gap:0}.breadcrumbs>svg,.breadcrumbs>.navigation-icon{display:none}.header-actions{gap:0}.header-actions .desktop-only{display:none}.header-actions svg{width:18px}.reading-column{width:min(var(--reading-width, 600px),calc(100% - 36px))}.document-meta{padding:7px 0 11px;background:var(--theme-canvas);border-color:var(--theme-border)}.disclosure-row{font-size:var(--font-caption);font-weight:550;min-height:22px;color:var(--theme-editor-accent)}.document-meta .disclosure-row>svg{color:var(--theme-muted)}.mobile-events{display:block;padding:0 17px;background:var(--theme-surface)}.mobile-events:empty{display:none}.mobile-events>button{display:flex;width:100%;align-items:center;gap:9px;padding:11px 2px;font-size:var(--font-control);color:var(--theme-secondary);text-align:left;border-bottom:1px solid var(--theme-border)}.mobile-events>button>i{width:4px;height:4px;border-radius:50%;flex-shrink:0}.mobile-events>button>span{flex:1}.mobile-events>button>small{font-size:var(--font-badge);color:var(--theme-muted)}.cm-editor{font-size:var(--editor-font-size, var(--font-subtitle))!important}.cm-content{width:min(var(--reading-width, 600px),calc(100% - 36px))!important;max-width:var(--reading-width, 600px);padding-top:17px!important;padding-bottom:130px!important}.cm-line{padding:3px 0!important}.cm-line.editor-h1{font-size:1.666667em;padding-bottom:9px!important;letter-spacing:-.3px}.cm-line.editor-h2{font-size:1.4em;padding-top:8px!important}.cm-line.editor-h3{font-size:1.2em}.cm-gutters{inset-inline-start:max(calc((100% - var(--reading-width, 600px)) / 2 - 18px),0px)!important}.cm-foldGutter{width:15px!important}.editor-task{width:16px;height:16px;margin-right:8px}.editor-task.square{width:13px;height:13px}.empty-note-hint{left:max(calc((100% - var(--reading-width, 600px)) / 2),18px);top:23px;font-size:var(--font-subtitle)}.mobile-bottom{display:flex;height:52px;padding:4px 15px max(4px,env(safe-area-inset-bottom));flex-shrink:0;border-top:1px solid var(--theme-border);background:var(--theme-chrome);backdrop-filter:blur(20px);align-items:center;gap:6px}.mobile-bottom .icon-button{color:var(--theme-secondary)}.mobile-bottom .mobile-today{margin-right:auto;font-size:var(--font-body);color:var(--theme-editor-accent)}.popover{right:10px;top:40px;border-radius:var(--radius-lg)}.popover button{min-height:37px}.results-page{padding:20px 18px}.task-row>.icon-button{opacity:1}.task-check{width:17px;height:17px}.task-text{font-size:var(--font-input)}.task-source{font-size:var(--font-caption)}.task-row{padding-block:13px}.task-row-content{padding-right:5px}.references .task-text{font-size:var(--font-label)}.references .task-row{padding-block:8px}.modal{width:calc(100vw - 24px);max-height:88dvh;border-radius:var(--radius-dialog)}.modal-inner{padding:19px}.modal form input{font-size:var(--font-input)!important;min-height:42px}.modal footer button{min-height:37px}.command-palette{margin-top:max(20px,env(safe-area-inset-top))}.command-input{padding:18px}.command-input input{font-size:var(--font-input)!important}.command-results>button{min-height:46px;grid-template-columns:18px minmax(0,1fr) 14px}.command-results>button small{display:none}.command-results>button>.command-note-title{font-size:var(--font-subtitle)}.toast{bottom:65px;font-size:var(--font-control)}.form-row{gap:12px!important}.quick-dates button{min-height:34px}.sidebar .section-with-action .icon-button{opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(hover:none){.task-row>.icon-button,.brand .icon-button,.section-with-action .icon-button{opacity:1}}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:var(--theme-row-hover);border-radius:var(--radius-sm)}::-webkit-scrollbar-track{background:transparent}@media(max-width:900px){.sidebar{visibility:hidden;transition:none}.sidebar-open .sidebar{visibility:visible;transition-delay:0s}.calendar-pane,.right-hidden>.calendar-pane{visibility:hidden;transition:none}.timeline-open .calendar-pane{visibility:visible}.app.drawer-animating>.sidebar{transition:transform .23s var(--ease),visibility 0s linear .23s}.app.drawer-animating>.calendar-pane{transition:transform .24s var(--ease),visibility 0s linear .24s}.app.drawer-animating.sidebar-open>.sidebar,.app.drawer-animating.timeline-open>.calendar-pane{transition-delay:0s}}.format-menu{width:250px;max-height:min(380px,calc(100dvh - 85px));overflow:auto;border-radius:var(--radius-lg);padding:5px}.format-menu button{min-height:30px;padding:5px 8px;gap:9px}.format-menu:before{content:"";position:absolute;top:-5px;right:43px;width:10px;height:10px;transform:rotate(45deg);background:inherit}.calendar-error{flex-shrink:0;padding:8px 10px;background:var(--theme-warning-bg);text-align:left}.checkbox-label{flex-direction:row!important;align-items:center}.modal .checkbox-label input{width:16px!important;min-height:16px!important;margin:0}.all-day>button{display:block;font-size:var(--font-caption);text-align:left;padding:3px 5px;margin-left:40px}@media(max-width:900px){.format-menu button{min-height:36px}.format-menu{max-height:65dvh}}.time-block-resize{position:absolute;left:0;right:0;bottom:0;height:9px;cursor:ns-resize;touch-action:none;user-select:none;z-index:1}.time-block-resize:after{content:"";position:absolute;width:18px;height:2px;border-radius:var(--radius-xs);background:currentColor;left:calc(50% - 9px);bottom:2px;opacity:0}.time-block:hover .time-block-resize:after,.time-block.resizing .time-block-resize:after{opacity:.5}.time-block.resizing{z-index:6;box-shadow:0 0 0 1px currentColor}.time-block.compact-block{padding-top:0;padding-bottom:0}.time-block.compact-block small{display:none}.time-block.compact-block>span:not(.time-block-resize){white-space:nowrap;text-overflow:ellipsis}.time-block:focus-visible{outline:2px solid var(--theme-focus);outline-offset:1px}@media(max-width:900px){.sidebar .nav-row{min-height:var(--control-touch)}.task-check,.editor-task{position:relative}.task-check:before,.editor-task:before{content:"";position:absolute;inset:-12px}.week-strip{touch-action:pan-y}}.seven-days{flex:1;min-width:0;min-height:0;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;padding:25px 0 70px;scroll-padding-top:22px}.seven-day{min-width:0;margin-bottom:22px}.seven-day-heading{display:flex;align-items:center;gap:12px;min-width:0;padding:0 0 12px;border-bottom:1px solid var(--theme-separator);position:relative;z-index:2}.seven-day-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;flex:1;min-width:0;text-align:left}.seven-day-title strong{font-size:var(--font-display-sm);font-weight:650;letter-spacing:-.4px}.seven-day-title>span{font-size:var(--font-title);color:var(--theme-muted);white-space:nowrap}.seven-day-title>small{font-size:var(--font-caption);color:var(--theme-editor-accent)}.seven-day-title>svg{color:var(--theme-muted);opacity:0;align-self:center}.seven-day-title:hover>svg,.seven-day-title:focus-visible>svg{opacity:1}.seven-day-body{position:relative;min-width:0}.editor-host.embedded-editor{height:auto}.embedded-editor .cm-scroller{min-height:90px}.embedded-editor .cm-content{padding-top:15px!important;padding-bottom:24px!important}.seven-day-placeholder{position:absolute;top:20px;left:50%;transform:translate(-50%);color:var(--theme-muted);text-align:left;font-size:var(--font-label)}.seven-day-body:focus-within .seven-day-placeholder{display:none}.seven-day-draft{display:block;padding-bottom:12px;color:var(--theme-muted);font-size:var(--font-caption)}.seven-day-deleted{display:flex;align-items:center;gap:8px;padding:22px 0;color:var(--theme-muted);font-size:var(--font-control)}.seven-day-deleted button{color:var(--theme-editor-accent);margin-left:auto}.seven-days-navigation{display:flex;align-items:center;gap:2px;flex-shrink:0}.seven-days-navigation button{min-width:29px;min-height:30px;display:grid;place-items:center;border-radius:var(--radius-sm);color:var(--theme-muted)}.seven-days-navigation button:hover{background:var(--theme-hover)}.seven-days-navigation .seven-days-today{font-size:var(--font-control);padding:0 7px}.template-picker{position:relative;display:inline-flex;flex-shrink:0;color:var(--theme-muted)}.template-trigger{display:inline-flex;align-items:center;gap:5px;min-height:30px;border-radius:var(--radius-sm);padding:3px 6px;font-size:var(--font-control);white-space:nowrap}.template-trigger:hover,.template-trigger[aria-expanded=true]{background:var(--theme-hover)}.template-popover{position:absolute;top:calc(100% + 5px);right:0;z-index:35;width:280px;max-width:calc(100vw - 36px);padding:7px;border:1px solid var(--theme-border);border-radius:var(--radius-lg);background:var(--theme-chrome);backdrop-filter:blur(20px);box-shadow:0 8px 28px var(--theme-shadow);color:var(--theme-text);text-align:left;font-size:var(--font-control)}.template-menu-title{font-size:var(--font-caption);font-weight:600;color:var(--theme-muted);padding:5px 7px}.template-list{max-height:200px;overflow:auto}.template-list p{padding:6px 8px;margin:0 0 8px;line-height:1.6;color:var(--theme-muted)}.template-list button,.template-create{display:flex;gap:8px;align-items:center;width:100%;padding:7px;border-radius:var(--radius-sm);text-align:left;font-size:var(--font-control)}.template-list button:hover,.template-create:hover{background:var(--theme-hover)}.template-list button span{overflow:hidden;text-overflow:ellipsis;flex:1;white-space:nowrap}.template-list svg,.template-create svg{flex-shrink:0}.template-auto{display:flex;flex-direction:column;gap:7px;padding:11px 7px 6px;margin-top:5px;border-top:1px solid var(--theme-border)}.template-auto select{min-width:0;max-width:100%;border:1px solid var(--theme-border);border-radius:var(--radius-sm);padding:5px;color:var(--theme-text);background:var(--theme-canvas);font:inherit}.template-popover>small{display:block;padding:3px 7px 10px;font-size:var(--font-badge);line-height:1.5;color:var(--theme-muted)}.template-create{border-top:1px solid var(--theme-border);border-radius:0 0 var(--radius-sm) var(--radius-sm);color:var(--theme-editor-accent)}.empty-note-hint .template-picker{display:flex;width:fit-content;margin-top:9px}.empty-note-hint .template-popover{right:auto;left:0}.empty-note-hint .template-picker button{margin:0}@media(max-width:900px){.seven-days{padding-top:18px;padding-bottom:35px}.seven-day{margin-bottom:18px}.seven-day-heading{gap:5px;padding-bottom:10px}.seven-day-title{gap:7px}.seven-day-title strong{font-size:var(--font-heading)}.seven-day-title>span{font-size:var(--font-input)}.seven-day-title>svg{display:none}.seven-day-placeholder{top:22px;font-size:var(--font-subtitle)}.embedded-editor .cm-content{padding-top:17px!important;padding-bottom:22px!important}.template-picker.compact .template-trigger>span{display:none}.template-trigger{min-width:30px;justify-content:center}.template-picker.compact .template-trigger{min-width:32px;min-height:36px}.seven-day-deleted{flex-wrap:wrap}.seven-days-navigation .seven-days-today{display:none}.seven-days-navigation button{min-width:28px}.template-list button,.template-create{min-height:36px}}.seven-day-heading:focus-within{z-index:20}.empty-note-hint .template-trigger{display:inline-flex;padding:6px 9px}.empty-note-hint .template-list button{display:flex;border:0;padding:7px}.empty-note-hint .template-create{display:flex;border:0;border-top:1px solid var(--theme-border);padding:7px}.backlink-group{margin:5px 0 10px}.backlink-source{display:flex;width:100%;align-items:center;gap:6px;padding:4px 0;color:var(--theme-muted);font-size:var(--font-caption);text-align:left}.backlink-source small{margin-left:auto;font-size:var(--font-badge);color:var(--theme-muted)}.backlink-line{display:flex;width:100%;align-items:flex-start;gap:7px;padding:5px 2px;color:var(--theme-secondary);text-align:left;line-height:1.55;font-size:var(--font-control);border-radius:var(--radius-sm)}.backlink-line>svg{flex-shrink:0;margin-top:3px;color:var(--theme-muted)}.backlink-line>svg:last-child{margin-left:auto;opacity:0}.backlink-line:hover>svg:last-child,.backlink-line:focus-visible>svg:last-child{opacity:1}.backlink-context{min-width:0;overflow-wrap:anywhere}.backlink-target{color:var(--theme-editor-accent)}.backlink-line.completed .backlink-context{color:var(--theme-muted);text-decoration:line-through}.editor-settings{color:var(--theme-secondary);padding-top:4px}.editor-settings-caption{margin:0 0 23px;color:var(--theme-muted);font-size:var(--font-control);line-height:1.65}.empty-note-hint,.seven-day-placeholder{font-family:var(--editor-font-family, -apple-system, sans-serif);font-size:var(--editor-font-size, var(--font-subtitle))}@media(max-width:420px){.editor-settings .editor-setting{column-gap:10px}.editor-settings-caption{font-size:var(--font-caption)}}.template-picker{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media(min-width:901px)and (max-width:1180px){.empty-note-hint{left:max(calc((100% - var(--reading-width, 600px)) / 2),28px)}}@media(hover:none),(pointer:coarse){.cm-foldGutter .cm-gutterElement{opacity:.8}.cm-editor:focus-within .cm-foldGutter .cm-gutterElement{opacity:1}}.repeat-interval-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.repeat-interval-row input,.repeat-interval-row select{min-width:0;width:100%}.repeat-series-summary{display:flex;align-items:center;gap:7px;font-size:var(--font-body);color:var(--theme-secondary)}.repeat-preview{margin:15px 0;padding:12px 14px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:var(--radius-md);font-size:var(--font-control)}.repeat-preview strong{color:var(--theme-secondary);font-weight:500}.repeat-preview ol{padding:0;margin:9px 0;list-style:none;max-height:180px;overflow:auto}.repeat-preview li{display:flex;gap:14px;justify-content:space-between;padding:4px 0;font-variant-numeric:tabular-nums}.repeat-preview small,.repeat-preview p{color:var(--theme-muted);font-size:var(--font-caption)}.repeat-preview>button{display:flex;gap:5px;align-items:center;font-size:var(--font-control);color:var(--theme-editor-accent)}.repeat-preview .repeat-undo-hint{margin:10px 0 0;line-height:1.6}.repeat-task-panel footer button{display:inline-flex;gap:6px;align-items:center}.repeat-removal-scopes{display:flex;gap:7px}.repeat-removal-scopes button{flex:1;border:1px solid var(--theme-border);border-radius:var(--radius-sm);padding:7px 9px;font-size:var(--font-control)}.repeat-removal-scopes button.selected{border-color:var(--theme-warning);background:var(--theme-warning-bg);color:var(--theme-warning)}.repeat-task-panel .danger-button{background:var(--theme-danger);color:var(--theme-on-color);border-radius:var(--radius-sm);padding:7px 12px}.repeat-task-panel button:disabled{opacity:.4;cursor:default}.recurrence-receipt{position:fixed;z-index:25;bottom:14px;left:50%;transform:translate(-50%);max-width:min(580px,calc(100vw - 30px));display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;background:var(--theme-canvas);color:var(--theme-secondary);border:1px solid var(--theme-border);border-radius:var(--radius-lg);padding:9px 13px;box-shadow:0 3px 16px var(--theme-shadow-soft);font-size:var(--font-control)}.recurrence-receipt button{color:var(--theme-editor-accent);white-space:nowrap}.recurrence-receipt small{flex-basis:100%;color:var(--theme-danger);line-height:1.6}@media(max-width:900px){.recurrence-receipt{bottom:72px;width:max-content}}.cm-block-tools{position:fixed;z-index:12;display:flex;align-items:center;height:var(--block-hit-size);color:var(--block-color)}.cm-block-tools button{display:grid;place-items:center;width:var(--block-pitch);height:var(--block-hit-size);padding:0;border-radius:var(--radius-sm);color:inherit}.cm-block-tools .cm-block-plus .daymark-icon{width:var(--block-plus-size);height:var(--block-plus-size)}.cm-block-tools .cm-block-grip .daymark-icon{width:var(--block-grip-size);height:var(--block-grip-size)}.cm-block-tools .cm-block-grip{cursor:grab}.cm-block-grip svg{width:12px;height:14px}.cm-block-tools button:hover,.cm-block-tools button[aria-expanded=true]{color:var(--block-hover-color);background:var(--theme-hover)}.cm-block-tools button:focus-visible,.cm-block-current-button:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px}.cm-foldGutter .cm-gutterElement.cm-block-covered-fold{opacity:0!important;pointer-events:none}.cm-line.cm-block-selected{background:var(--theme-accent-soft);border-radius:var(--radius-xs)}.cm-block-current-button{position:absolute;z-index:10;right:10px;top:3px;height:30px;padding:4px 10px;border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-chrome);color:var(--theme-muted);font:var(--font-control)/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-block-current-button span{padding-left:5px}.cm-block-menu{position:fixed;z-index:80;width:300px;max-width:calc(100vw - 16px);overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid var(--theme-border);border-radius:var(--radius-lg);background:var(--theme-menu);box-shadow:0 6px 22px var(--theme-shadow),0 1px 3px var(--theme-shadow-soft);color:var(--theme-text);font:var(--font-body)/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;animation:block-menu-appear .1s ease-out}.cm-block-menu-compact{width:150px}.cm-block-menu-title{padding:5px 8px 6px;font-size:var(--font-caption);color:var(--theme-secondary)}.cm-block-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:32px;padding:5px 8px;border:0;border-radius:var(--radius-sm);text-align:left;color:inherit;font:inherit;cursor:default}.cm-block-menu button:hover,.cm-block-menu button:focus-visible{outline:0;background:var(--theme-hover)}.cm-block-menu button:disabled{opacity:.38;background:transparent}.cm-block-menu button>span:not(.cm-block-menu-icon){flex:1}.cm-block-menu-icon{display:inline-grid;place-items:center;width:21px;flex:0 0 21px;color:var(--theme-muted);font-size:var(--font-body)}.cm-block-menu kbd{margin-left:auto;color:var(--theme-muted);font:var(--font-caption)/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap}.cm-block-menu hr{height:1px;margin:5px 4px;border:0;background:var(--theme-menu)}.cm-block-menu-search{display:block;width:calc(100% - 8px);margin:2px 4px 6px;padding:7px 8px;border:1px solid var(--theme-border);border-radius:var(--radius-sm);background:var(--theme-menu);color:var(--theme-text);font:inherit;outline:0}.cm-block-menu-search:focus{border-color:var(--theme-border-strong);box-shadow:0 0 0 2px var(--theme-shadow)}.cm-block-menu-empty{padding:10px;color:var(--theme-muted)}.cm-block-drop-indicator{position:fixed;z-index:14;height:2px;pointer-events:none;background:var(--theme-editor-accent);border-radius:var(--radius-xs)}.cm-block-drop-indicator:before{content:"";position:absolute;left:-4px;top:-2px;width:6px;height:6px;border-radius:50%;background:inherit}.cm-block-drop-indicator.invalid{background:var(--theme-separator)}.cm-block-drag-ghost{position:fixed;top:-200px;left:0;max-width:360px;overflow:hidden;padding:8px 12px;border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-canvas);color:var(--theme-text);box-shadow:0 3px 12px var(--theme-shadow-soft);font:var(--font-body)/1.5 -apple-system,BlinkMacSystemFont,sans-serif;white-space:nowrap}.cm-block-status{position:fixed;z-index:85;bottom:20px;left:50%;transform:translate(-50%);max-width:calc(100vw - 32px);border:1px solid var(--theme-border);border-radius:var(--radius-md);padding:9px 13px;background:var(--theme-canvas);box-shadow:0 3px 16px var(--theme-shadow-soft);color:var(--theme-secondary);font:var(--font-control)/1.5 -apple-system,BlinkMacSystemFont,sans-serif}.cm-block-tools[hidden],.cm-block-current-button[hidden],.cm-block-status[hidden],.cm-block-drop-indicator[hidden],.cm-block-menu [hidden]{display:none!important}@keyframes block-menu-appear{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px),(pointer:coarse){.cm-block-menu button{min-height:40px}.cm-block-current-button{min-height:36px}.cm-block-status{bottom:80px}}@media(prefers-reduced-motion:reduce){.cm-block-menu{animation:none}}.settings-modal{font:400 var(--font-body)/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--theme-text)}.settings-modal h2{font-size:var(--font-subtitle);font-weight:400;letter-spacing:0}.settings-modal h3{margin:18px 0 8px;font-size:var(--font-body);font-weight:400}.settings-modal strong{font-weight:400}:where(.settings-modal button:not(.icon-button)){font-size:var(--font-body);font-weight:400;padding:5px 10px}.settings-modal form label{font-size:var(--font-body);color:var(--theme-secondary);gap:6px;margin-bottom:15px}:where(.settings-modal input:not([type=color]):not([type=checkbox]):not([type=range])),:where(.settings-modal select){font-family:inherit;font-size:var(--font-body);font-weight:400;border-radius:var(--radius-sm);padding:6px 8px}.settings-modal .subtle,.settings-modal .connection-status p{font-size:var(--font-control);line-height:1.5;color:var(--theme-secondary)}.settings-modal .connection-status{margin:18px 0 20px}.settings-modal .connection-status strong{font-size:var(--font-body)}.settings-modal .connection-status p{margin:4px 0}.settings-modal .subscription small{font-size:var(--font-caption);line-height:1.4}@media(max-width:900px),(pointer:coarse){.format-menu button{min-height:37px}:where(.settings-modal button:not(.icon-button)){min-height:36px}:where(.settings-modal form input:not([type=color]),.settings-modal select){font-size:var(--font-input)}}.daymark-icon{display:inline-flex;flex:none;vertical-align:middle;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat}.daymark-icon-text{background:none;align-items:center;justify-content:center;font:600 var(--font-control) -apple-system,BlinkMacSystemFont,sans-serif}.nav-row>.daymark-icon{width:17px!important;height:17px!important}.panel-edge{display:none}.template-command-modal{width:min(360px,calc(100vw - 32px))}.template-command-list{max-height:50dvh;overflow:auto;padding:4px 0}.template-command-list button{display:flex;align-items:center;gap:10px;width:100%;min-height:32px;padding:5px 8px;text-align:left;border:0;border-radius:var(--radius-sm);background:none;font-size:var(--font-body)}.template-command-list button:hover,.template-command-list button:focus-visible{background:var(--theme-surface)}.format-menu{max-height:min(690px,calc(100dvh - 110px));overflow-y:auto}@media(min-width:901px){.app{position:relative;--left-panel-width: 250px;--right-panel-width: 270px;grid-template-columns:var(--left-panel-width) minmax(0,1fr) var(--right-panel-width);transition:grid-template-columns .16s ease-out}.app.left-hidden{--left-panel-width: 0px}.app.right-hidden{--right-panel-width: 0px}.app>.calendar-pane,.app.right-hidden>.calendar-pane{display:flex;min-width:0;overflow:hidden}.app.left-hidden>.sidebar>*,.app.right-hidden>.calendar-pane>*{visibility:hidden;pointer-events:none}.app>.sidebar{grid-column:1;grid-row:1}.app>.main-pane{grid-column:2;grid-row:1}.app>.calendar-pane{grid-column:3;grid-row:1}.panel-edge{display:flex;align-items:center;justify-content:center;position:absolute;z-index:15;top:50%;transform:translateY(-50%);width:32px;height:var(--control-touch);padding:0;border:0;border-radius:var(--radius-sm);color:var(--theme-muted);background:transparent;transition:left .16s ease-out,right .16s ease-out,background var(--motion-feedback) ease-out}.panel-edge:hover,.panel-edge:focus-visible{background:var(--theme-hover);color:var(--theme-text)}.panel-edge-left{left:var(--left-panel-width)}.panel-edge-right{right:var(--right-panel-width)}}@media(min-width:901px)and (max-width:1180px){.app{--left-panel-width: 220px;--right-panel-width: 250px}}@media(prefers-reduced-motion:reduce){.app,.panel-edge{transition:none}}.sidebar-tag-row{display:flex;align-items:center;border-radius:var(--radius-md)}.sidebar-tag-row .nav-row{padding-left:2px;min-width:0}.sidebar-tag-row.selected{background:var(--theme-selection)}.sidebar-tag-row .tag-disclosure{display:grid;place-items:center;flex:0 0 14px;width:14px;height:24px}.tag-disclosure svg{transition:transform .14s ease-out}@media(prefers-reduced-motion:reduce){.tag-disclosure svg{transition:none}}.document-meta.is-empty{display:none}.backlink-group{margin:10px 0;padding:10px 12px 12px;background:var(--theme-surface);border-radius:var(--radius-md)}.backlink-heading{display:flex;align-items:center;gap:4px}.backlink-fold{display:grid;place-items:center;width:18px;height:24px;padding:0;color:var(--theme-secondary)}.backlink-fold svg{transition:transform .15s ease-out}.backlink-fold svg.expanded{transform:rotate(90deg)}.backlink-source{width:auto;flex:1;color:var(--theme-text);font-size:var(--font-body);font-weight:700;padding:4px 0}.backlink-source>svg,.backlink-source small{display:none}.backlink-line{padding:8px 8px 4px 28px;font-size:var(--font-subtitle);font-weight:500;line-height:1.4;color:var(--theme-text)}.backlink-line>svg{color:var(--theme-editor-accent);margin-top:3px}.backlink-line:hover{background:var(--theme-hover)}.daily-reference-group .task-row{border:none;margin:0;padding:6px 0 2px 20px}@media(min-width:901px){.sidebar .nav-row{color:var(--theme-text);font-size:var(--font-label);font-weight:400;line-height:1.25}.sidebar .nav-row.selected{color:var(--theme-text);background:var(--theme-selection)}.sidebar .nav-row.selected svg{color:inherit}.sidebar .nav-section{color:var(--theme-muted);font-size:var(--font-control);font-weight:700}}@media(prefers-reduced-motion:reduce){.backlink-fold svg{transition:none}}.sidebar-resize{display:none}@media(min-width:901px){.app{--left-panel-width:var(--sidebar-user-width, 250px)}.app.left-hidden{--left-panel-width:0px}.sidebar-resize{display:block;position:absolute;z-index:16;left:calc(var(--left-panel-width) - 3px);top:0;bottom:0;width:6px;cursor:col-resize;touch-action:none;outline:none}.sidebar-resize:after{content:"";position:absolute;inset:0 2px;background:transparent;transition:background var(--motion-feedback) ease-out}.sidebar-resize:hover:after,.sidebar-resize:focus-visible:after,.app[data-resizing-sidebar] .sidebar-resize:after{background:var(--theme-editor-accent)}.app[data-resizing-sidebar],.app[data-resizing-sidebar] .panel-edge{transition:none}.app[data-resizing-sidebar]{cursor:col-resize;user-select:none}}@media(min-width:901px)and (max-width:1180px){.app{--left-panel-width:var(--sidebar-user-width, 220px)}.app.left-hidden{--left-panel-width:0px}}.note-link-choices .command-results>button{grid-template-columns:18px minmax(0,1fr) minmax(0,auto)}@media(max-width:900px){.note-link-choices .command-results>button{grid-template-columns:18px minmax(0,1fr);gap:4px 12px}.note-link-choices .command-results>button>svg{grid-row:1 / 3}.note-link-choices .command-results>button small{display:block;grid-column:2;max-width:100%}}.document-context-blocks>:is(.document-meta,.folder-contents){padding-top:8px;padding-bottom:8px}.document-context-blocks>.period-overview{padding-top:8px;padding-bottom:8px}.document-context-blocks>.document-meta:has(+.daily-habits),.document-context-blocks>.document-meta:has(+.folder-contents){border-bottom:0}.document-context-blocks>.folder-contents{border-bottom:1px solid var(--theme-separator)}@media(min-width:901px){.app.subscription-page:not(.right-hidden){--right-panel-width: 320px}}.settings-modal .calendar-refresh-control{display:flex;flex-direction:row;align-items:center;gap:9px;margin:9px 0 0;font-size:var(--font-control)}.settings-modal .calendar-refresh-control>span{white-space:nowrap;color:var(--theme-muted)}.settings-modal .calendar-refresh-control>select{width:auto;min-width:110px;padding:5px 28px 5px 8px;font-size:var(--font-control)}.settings-modal .subscription>div{min-width:0}.recurrence-receipt>span{min-width:0;flex:1}.recurrence-receipt .icon-button{color:var(--theme-muted)}@media(max-width:900px),(pointer:coarse){.recurrence-receipt>button:not(.icon-button){min-height:var(--control-touch)}.settings-modal .calendar-refresh-control{flex-wrap:wrap;gap:5px}.settings-modal .calendar-refresh-control>select{min-height:var(--control-touch)}}.modal footer>button,button.action-button,.settings-modal button.settings-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--control-standard);padding:5px 10px;margin:0;border:1px solid var(--theme-border);border-radius:var(--radius-sm);background:var(--theme-button);color:var(--theme-text);font-size:var(--font-control);line-height:20px}.modal footer>button:hover:not(:disabled),button.action-button:hover:not(:disabled),.settings-modal button.settings-action:hover:not(:disabled){background:var(--theme-hover)}.modal footer>button.primary,button.action-button.primary{background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-primary-text)}.modal footer>button.primary:hover:not(:disabled),button.action-button.primary:hover:not(:disabled){filter:brightness(.95)}button.action-button:focus-visible,.settings-modal button.settings-action:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}@media(max-width:900px),(pointer:coarse){.modal footer>button,button.action-button,.settings-modal button.settings-action{min-height:var(--control-touch)}}button.action-button.text{border-color:transparent;background:transparent;color:var(--theme-editor-accent)}button.action-button.text:hover:not(:disabled){background:var(--theme-hover)}button.action-button.soft{background:var(--theme-accent-soft);color:var(--theme-editor-accent);border-color:transparent}button.action-button.soft:hover:not(:disabled){background:var(--theme-accent-soft);filter:brightness(.96)}.repeat-task-panel select,.automation-form select,.modal select,.plugin-settings select,.subscription-form select,.subscription-settings select{appearance:none;padding-right:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:10px 6px!important}.cm-tooltip-autocomplete.cm-command-completion{width:300px;max-width:calc(100vw - 20px);border:1px solid var(--theme-border);border-radius:var(--radius-lg)!important;background:var(--theme-menu)!important;color:var(--theme-text);box-shadow:0 6px 22px var(--theme-shadow);padding:4px;font:400 var(--font-label)/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-command-completion>ul{max-height:min(350px,55dvh)!important;font:inherit!important;overscroll-behavior:contain}.cm-command-completion>ul>li{display:flex;align-items:center;min-height:32px;padding:5px 8px!important;border-radius:var(--radius-sm);gap:8px}.cm-command-completion>ul>li[aria-selected]{background:var(--theme-accent-soft)!important;color:var(--theme-text)!important}.cm-command-completion .cm-completionLabel{flex:1;font:inherit}.cm-command-completion .cm-completionDetail{margin-left:auto;color:var(--theme-muted);font:400 var(--font-caption)/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-command-completion .cm-completionMatchedText{font-weight:500;text-decoration:none}.cm-command-completion>ul>.cm-completion-section{min-height:24px;padding:6px 8px 3px!important;border:0;color:var(--theme-muted);font:400 var(--font-caption)/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-command-completion .cm-completionIcon{width:18px;height:18px;padding:0;opacity:.6}@media(max-width:900px),(pointer:coarse){.cm-command-completion>ul>li{min-height:40px}}.cm-command-icon{display:inline-grid;place-items:center;flex:0 0 16px;width:16px;height:16px;color:var(--theme-muted);font:400 var(--font-caption)/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-command-icon img{width:16px;height:16px;opacity:.62}.cm-block-tools .cm-command-icon,.cm-block-tools .cm-command-icon img{width:12px;height:14px}.cm-block-menu-icon .cm-command-icon{width:18px}.cm-attachment{display:inline-block;vertical-align:middle;max-width:100%}.cm-attachment-image{cursor:text}.cm-attachment-image img{display:block;width:auto;max-width:min(100%,560px);max-height:480px;object-fit:contain;border-radius:var(--radius-sm);margin:6px 0}.cm-attachment-image img[hidden],.cm-attachment-caption[hidden]{display:none}.cm-attachment-caption{display:inline-block;padding:5px 8px;color:var(--theme-muted);background:var(--theme-surface);border-radius:var(--radius-sm);font:var(--font-control)/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-attachment-download{color:var(--theme-editor-accent);text-decoration:none;border-bottom:1px solid var(--theme-editor-accent)}.cm-attachment-error{display:block;font:var(--font-control)/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-command-icon.daymark-icon-text{font-weight:600}.cm-command-status{position:fixed;z-index:90;bottom:20px;left:50%;transform:translate(-50%);max-width:min(500px,calc(100vw - 32px));padding:9px 13px;border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-canvas);box-shadow:0 3px 16px var(--theme-shadow-soft);color:var(--theme-secondary);font:400 var(--font-control)/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-command-status[hidden]{display:none}@media(max-width:900px){.cm-command-status{bottom:80px}}.cm-block-tools .cm-block-plus[data-fold] .cm-command-icon{width:24px;height:24px}.cm-editor .cm-foldPlaceholder{display:inline-block;position:relative;top:-.12rem;min-width:26px;height:15px;line-height:15px;margin-left:.3rem;padding:0;border:0;border-radius:var(--radius-md);background:var(--theme-row-hover);color:var(--theme-backdrop);font:900 var(--font-control)/var(--font-subtitle) -apple-system,system-ui,sans-serif;letter-spacing:.5px;text-align:center;cursor:pointer}.cm-block-tools .cm-block-plus{width:20px}.cm-block-tools .cm-block-plus[data-fold]{width:24px}.cm-block-tools .cm-block-grip{width:22px;touch-action:none}.cm-block-tools .cm-block-grip svg{width:var(--block-grip-size);height:var(--block-grip-size)}.cm-block-tools .cm-block-plus svg{width:var(--block-plus-size);height:var(--block-plus-size)}.cm-block-tools .cm-block-plus[data-fold] svg{width:18px;height:18px}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size3-Regular-gV2CO0n9.woff2) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.37"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.daymark-math{color:inherit;cursor:text;user-select:none;-webkit-user-select:none}.daymark-math .katex{font-size:1.08em}.daymark-math-inline{display:inline-block;vertical-align:baseline;max-width:100%}.daymark-math-display{display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:.6em 0;margin:0}.daymark-math-display .katex-display{margin:.15em 0}.daymark-math-error{font:.9em ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.daymark-math:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:3px;border-radius:var(--radius-xs)}@media(prefers-reduced-motion:reduce){.daymark-math{transition:none}}.cm-rich-block{margin:0;padding-block:8px;box-sizing:border-box;max-width:100%}.cm-rich-block:focus-visible,.cm-rich-cell:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px}.cm-rich-table{position:relative;padding:8px 0}.cm-table-scroller{overflow-x:auto}.cm-table-toolbar{display:flex;align-items:center;justify-content:flex-end;min-height:24px}.cm-table-menu-button{width:26px;height:24px;padding:0;color:var(--theme-muted);font:var(--font-heading)/1 -apple-system,BlinkMacSystemFont,sans-serif;border-radius:var(--radius-sm)}.cm-table-menu-button:hover,.cm-table-menu-button[aria-expanded=true]{background:var(--theme-hover)}.cm-table-status{margin-right:8px;color:var(--theme-warning);font:var(--font-control)/1.4 -apple-system,BlinkMacSystemFont,sans-serif}.cm-table-menu{position:absolute;right:0;top:34px;z-index:30;min-width:180px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;padding:5px;border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-menu);box-shadow:0 6px 22px var(--theme-shadow)}.cm-table-menu button{display:block;width:100%;padding:6px 9px;text-align:left;color:var(--theme-text);border-radius:var(--radius-sm);font:var(--font-body)/1.4 -apple-system,BlinkMacSystemFont,sans-serif}.cm-table-menu button:hover,.cm-table-menu button:focus-visible{outline:none;background:var(--theme-accent-soft)}.cm-table-menu button:disabled{opacity:.4}.cm-table-menu-context{padding:5px 9px 7px;color:var(--theme-muted);font:var(--font-caption)/1.4 -apple-system,BlinkMacSystemFont,sans-serif;border-bottom:1px solid var(--theme-border);margin-bottom:3px}.cm-rich-table .cm-table-cell-context{box-shadow:inset 0 0 0 1.5px var(--theme-editor-accent);background:var(--theme-accent-soft)}.cm-table-menu button[aria-checked=true]:after{content:" ✓";color:var(--theme-editor-accent)}.cm-table-menu[hidden],.cm-rich-cell[hidden],.cm-rich-cell-input[hidden]{display:none!important}.cm-rich-cell-input{display:block;width:100%;min-width:80px;box-sizing:border-box;min-height:34px;margin:0;padding:6px 9px;resize:none;overflow:hidden;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;color:inherit;font:inherit;text-align:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.cm-rich-table .cm-table-cell-active{box-shadow:inset 0 0 0 1.5px var(--theme-editor-accent);background:var(--theme-warning-bg)}.cm-rich-table table{border-collapse:collapse;table-layout:auto;width:100%;font:inherit;color:inherit}.cm-rich-table th,.cm-rich-table td{min-width:80px;border:1px solid var(--theme-border);padding:0;vertical-align:top}.cm-rich-table th{font-weight:600;background:var(--theme-surface)}.cm-rich-table .cm-rich-cell{display:block;width:100%;min-height:34px;padding:6px 9px;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;cursor:text;border-radius:0;overflow-wrap:anywhere}.cm-rich-cell:hover{background:var(--theme-accent-soft)}.cm-rich-cell code{color:var(--theme-editor-accent);font:.9375em Menlo,monospace}.cm-rich-highlight{background:var(--theme-highlight);border-radius:var(--radius-xs)}.cm-rich-strike{text-decoration:line-through}.cm-rich-underline{text-decoration:underline;text-underline-offset:2px}.cm-rich-divider{padding:12px 0;cursor:text}.cm-rich-divider hr{margin:0;border:0;border-top:1px solid var(--theme-border)}.cm-rich-code{position:relative;padding:16px 14px;border-radius:var(--radius-md);background:var(--theme-surface);cursor:text}.cm-rich-code-copy{position:absolute;top:7px;right:8px;min-width:38px;padding:3px 6px;border-radius:var(--radius-sm);color:var(--theme-muted);background:var(--theme-surface);font:var(--font-caption)/1.4 -apple-system,BlinkMacSystemFont,sans-serif}.cm-rich-code-copy:hover{color:var(--theme-secondary);background:var(--theme-hover)}.cm-rich-code-feedback{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.cm-rich-code-language{display:block;margin:-2px 0 7px;color:var(--theme-muted);font:400 var(--font-caption)/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cm-rich-code pre{overflow-x:auto;margin:0;color:var(--theme-text);tab-size:4;white-space:pre;font:.9375em/1.55 Menlo,ui-monospace,monospace}.cm-rich-code code{font:inherit}.cm-rich-code .tok-number,.cm-rich-code .tok-bool,.cm-rich-code .tok-null{color:var(--theme-code-number)}.cm-rich-code .tok-comment{color:var(--theme-code-comment);font-style:italic}.cm-rich-code .tok-typeName,.cm-rich-code .tok-className,.cm-rich-code .tok-tagName{color:var(--theme-code-type)}.cm-rich-code .tok-variableName,.cm-rich-code .tok-propertyName,.cm-rich-code .tok-attributeName{color:var(--theme-code-variable)}.cm-important-text{border-radius:var(--radius-xs);padding:1px 2px;background:var(--theme-flag-bg-1);color:var(--theme-flag-1)}.cm-important-level2{background:var(--theme-flag-bg-2);color:var(--theme-flag-2)}.cm-important-level3{background:var(--theme-flag-bg-3);color:var(--theme-flag-3)}.task-done .cm-important-text,.task-canceled .cm-important-text{opacity:.55}.cm-line.cm-rich-code-source,.cm-line.cm-rich-table-source{font-family:Menlo,ui-monospace,monospace;font-size:.9375em}.cm-line.cm-rich-code-source{background:var(--theme-surface);padding-left:10px!important;padding-right:10px!important}.cm-rich-table .cm-table-panel{position:relative;min-width:0}.cm-rich-table .cm-table-toolbar{gap:3px;padding-bottom:4px}.cm-rich-table .cm-table-scroller{width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--theme-muted) transparent;padding-bottom:7px}.cm-rich-table .cm-table-scroller::-webkit-scrollbar{height:8px;width:8px}.cm-rich-table .cm-table-scroller::-webkit-scrollbar-thumb{background:var(--theme-muted);border:2px solid var(--theme-canvas);border-radius:var(--radius-sm)}.cm-rich-table .cm-table-surface{position:relative;padding-right:9px;box-sizing:content-box}.cm-rich-table table{table-layout:fixed;max-width:none}.cm-rich-table :is(th,td){position:relative;min-width:0}.cm-rich-table :is(.cm-rich-cell,.cm-rich-cell-input){box-sizing:border-box;min-width:0;overflow-wrap:anywhere}.cm-rich-table .cm-rich-cell{white-space:pre-wrap}.cm-table-expand-button{display:grid;place-items:center;width:26px;height:24px;padding:0;border-radius:var(--radius-sm);color:var(--theme-muted);background:transparent}.cm-table-expand-button:hover{background:var(--theme-hover);color:var(--theme-text)}.cm-table-expand-button:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:1px}.cm-table-expand-button svg{width:15px;height:15px}.cm-rich-table .cm-table-column-resize,.cm-rich-table .cm-table-width-resize{position:absolute;top:0;right:-5px;bottom:0;width:10px;padding:0;border:0;border-radius:0;background:transparent;cursor:col-resize;z-index:2;touch-action:none;outline:none}.cm-rich-table .cm-table-column-resize:after,.cm-rich-table .cm-table-width-resize:after{content:"";position:absolute;width:2px;top:3px;bottom:3px;left:4px;background:var(--theme-editor-accent);border-radius:var(--radius-xs);opacity:0}.cm-rich-table .cm-table-width-resize{right:0;width:9px}.cm-rich-table .cm-table-width-resize:after{top:25%;bottom:25%;opacity:.3}.cm-rich-table :is(.cm-table-column-resize,.cm-table-width-resize):is(:hover,:focus-visible,[data-dragging=true]):after{opacity:1}.cm-table-dialog{width:min(1440px,calc(100vw - 64px));max-width:none;max-height:calc(100dvh - 64px);margin:auto;padding:16px;border:1px solid var(--theme-border);border-radius:var(--radius-xl);color:var(--theme-text);background:var(--theme-canvas);box-shadow:0 18px 80px var(--theme-shadow);font:inherit;overflow:visible}.cm-table-dialog::backdrop{background:var(--theme-backdrop)}.cm-table-dialog .cm-table-scroller{max-height:calc(100dvh - 135px)}.cm-table-dialog .cm-table-toolbar{min-height:28px}.cm-table-dialog .cm-table-menu{z-index:5}.cm-table-dialog[open]{animation:table-dialog-enter .13s ease-out}@keyframes table-dialog-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.cm-table-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding:10px;border-radius:var(--radius-lg);box-sizing:border-box}.cm-table-dialog .cm-table-scroller{max-height:calc(100dvh - 95px)}.cm-rich-table .cm-table-toolbar button{min-width:36px;min-height:32px}.cm-rich-table .cm-table-column-resize{width:16px;right:-8px}.cm-rich-table .cm-table-column-resize:after{left:7px}}@media(prefers-reduced-motion:reduce){.cm-table-dialog[open]{animation:none}}.cm-rich-table .cm-table-scroll-rail{display:block;appearance:none;width:100%;height:12px;min-height:0;margin:-3px 0 1px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;accent-color:var(--theme-muted)}.cm-rich-table .cm-table-scroll-rail[hidden]{display:none}.cm-table-scroll-rail::-webkit-slider-runnable-track{height:4px;background:var(--theme-surface);border-radius:var(--radius-sm)}.cm-table-scroll-rail::-webkit-slider-thumb{appearance:none;width:var(--table-scroll-thumb, 40px);height:5px;margin-top:-.5px;border:0;border-radius:var(--radius-sm);background:var(--theme-muted)}.cm-table-scroll-rail::-moz-range-track{height:4px;background:var(--theme-surface);border-radius:var(--radius-sm)}.cm-table-scroll-rail::-moz-range-thumb{width:var(--table-scroll-thumb, 40px);height:5px;border:0;border-radius:var(--radius-sm);background:var(--theme-muted)}.cm-rich-table .cm-table-scroll-rail:focus-visible{outline:1px solid var(--theme-editor-accent);outline-offset:1px}.cm-editor .editor-inline-tag,.cm-editor .editor-inline-date,.cm-editor .editor-inline-time{color:var(--theme-editor-accent)}.cm-editor [data-inline-kind]{cursor:pointer;text-decoration:none;text-underline-offset:.15em}.cm-editor [data-inline-kind]:hover,.cm-editor [data-inline-kind]:focus-visible{text-decoration:underline}.cm-editor [data-inline-kind]:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px;border-radius:var(--radius-xs)}.cm-editor .cm-line.editor-quote-line{position:relative;padding-left:1.63em!important;font-style:italic;color:var(--theme-secondary)}.cm-editor .editor-quote-line:before{content:"";position:absolute;left:.45rem;width:5px;top:0;bottom:0;background:var(--theme-editor-accent);border-radius:var(--radius-xl)}.cm-editor .editor-list-indent{display:inline-block;height:1em;vertical-align:baseline}.cm-editor .editor-bullet-marker{display:inline-block;position:relative;width:1.62em;height:1em;vertical-align:baseline}.cm-editor .editor-bullet-marker:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;left:.45rem;top:.45rem;background:var(--theme-editor-accent)}.cm-editor .cm-block-reminder{display:inline-flex;align-items:center;gap:4px;vertical-align:baseline;margin:0 0 0 8px;padding:2px 5px;border:0;border-radius:var(--radius-sm);background:var(--theme-accent-soft);color:var(--theme-editor-accent);font-family:inherit;font-size:var(--font-caption);line-height:1.5;font-style:normal;font-weight:400;white-space:nowrap;cursor:pointer;user-select:none;max-width:100%}.cm-editor .cm-block-reminder svg{flex:0 0 auto}.cm-editor .cm-block-reminder.is-delivered{color:var(--theme-secondary);background:var(--theme-surface)}.cm-editor .cm-block-reminder:hover{background:var(--theme-hover)}.cm-editor .cm-block-reminder:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px}.cm-editor .editor-heading-placeholder{color:var(--theme-muted);font-style:italic;font-weight:400;pointer-events:none}.cm-editor .cm-task-recurrence{display:inline-flex;align-items:center;gap:4px;vertical-align:baseline;margin:0 0 0 8px;padding:2px 5px;border:0;border-radius:var(--radius-sm);background:var(--theme-accent-soft);color:var(--theme-editor-accent);font-family:inherit;font-size:var(--font-caption);line-height:1.5;font-style:normal;font-weight:400;white-space:nowrap;cursor:pointer;user-select:none;max-width:min(100%,28em);transition:background-color var(--motion-feedback) ease,color var(--motion-feedback) ease}.cm-editor .cm-task-recurrence svg{flex:0 0 auto}.cm-editor .cm-task-recurrence span{min-width:0;overflow:hidden;text-overflow:ellipsis}.cm-editor .cm-task-recurrence.is-inactive{color:var(--theme-secondary);background:var(--theme-surface)}.cm-editor .cm-task-recurrence:hover{background:var(--theme-hover)}.cm-editor .cm-task-recurrence:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.cm-editor .cm-task-recurrence{transition:none}}.cm-external-link{color:var(--theme-editor-accent);text-decoration:none;cursor:pointer;overflow-wrap:anywhere;border-radius:var(--radius-xs)}.cm-external-link:hover{text-decoration:underline;text-underline-offset:3px}.cm-external-link:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px}.cm-link-popover{position:fixed;z-index:110;width:310px;max-width:calc(100vw - 16px);padding:13px;border:1px solid var(--theme-border);border-radius:var(--radius-lg);background:var(--theme-menu);color:var(--theme-text);box-shadow:0 6px 24px var(--theme-shadow),0 1px 4px var(--theme-shadow);font:var(--font-body)/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;animation:block-menu-appear .1s ease-out}.cm-link-popover-heading{margin:0 0 11px;font-weight:600}.cm-link-popover label{display:grid;gap:5px;margin-bottom:10px}.cm-link-popover label>span{color:var(--theme-secondary);font-size:var(--font-control)}.cm-link-popover input{width:100%;min-width:0;padding:7px 8px;border:1px solid var(--theme-border);border-radius:var(--radius-sm);color:inherit;background:var(--theme-input);font:inherit}.cm-link-popover input:focus{outline:2px solid color-mix(in srgb,var(--theme-editor-accent) 24%,transparent);border-color:var(--theme-editor-accent)}.cm-link-popover-actions{display:flex;gap:6px;margin-top:13px}.cm-link-popover button{border:0;border-radius:var(--radius-sm);padding:5px 9px;color:inherit;font:inherit;background:var(--theme-button);cursor:pointer}.cm-link-popover button:hover{background:var(--theme-hover)}.cm-link-popover button:focus-visible{outline:2px solid var(--theme-editor-accent);outline-offset:2px}.cm-link-popover .cm-link-remove{margin-right:auto;color:var(--theme-secondary);padding-left:0;background:transparent}.cm-link-popover .cm-link-save{color:var(--theme-on-color);background:var(--theme-editor-accent)}.cm-link-popover .cm-link-save:hover{filter:brightness(.94)}@media(max-width:900px),(pointer:coarse){.cm-link-popover input{font-size:var(--font-input)}.cm-link-popover button{min-height:36px}}@media(prefers-reduced-motion:reduce){.cm-link-popover{animation:none}}.month-grid button[data-calendar-drop]{background:var(--theme-editor-accent);color:var(--theme-on-color);outline:2px solid var(--theme-editor-accent);outline-offset:2px}.calendar-drop-menu{position:fixed;z-index:115;width:204px;max-width:calc(100vw - 16px);padding:5px;background:var(--theme-menu);border:1px solid var(--theme-border);border-radius:var(--radius-lg);box-shadow:0 6px 24px var(--theme-shadow);text-align:left;animation:block-menu-appear .1s ease-out}.calendar-drop-heading{padding:5px 8px 7px;color:var(--theme-secondary);font-size:var(--font-caption)}.month-grid .calendar-drop-menu button{display:block;width:100%;height:auto;padding:7px 8px;border-radius:var(--radius-sm);color:var(--theme-text);font-size:var(--font-body);text-align:left;background:transparent}.month-grid .calendar-drop-menu button:hover,.month-grid .calendar-drop-menu button:focus-visible{background:var(--theme-hover);outline:none}@media(prefers-reduced-motion:reduce){.calendar-drop-menu{animation:none}}.editor-task.canceled:before,.editor-task.canceled:after{content:"";position:absolute;left:50%;top:50%;width:8px;height:1.5px;border:0;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}.editor-task.canceled:after{transform:translate(-50%,-50%) rotate(-45deg)}.task-row.canceled .task-text,.rp-task-row.canceled .rp-task-title{text-decoration:line-through;color:var(--theme-secondary)}.rp-task-check.checklist{border-radius:var(--radius-xs)}.timeline-drop-preview{position:absolute;left:50px;right:5px;z-index:9;display:flex;flex-direction:column;gap:1px;padding:3px 5px;border:1px solid var(--theme-editor-accent);border-left-width:3px;border-radius:var(--radius-sm);color:var(--theme-editor-accent);background:color-mix(in srgb,var(--theme-editor-accent) 18%,var(--theme-canvas, var(--theme-canvas)));box-shadow:0 1px 5px var(--theme-shadow);pointer-events:none;overflow:hidden}.timeline-drop-preview small{font-size:var(--font-badge);line-height:14px;white-space:nowrap}.timeline-drop-preview>span{font-size:var(--font-control);line-height:15px;font-weight:600;overflow:hidden}.timeline-drop-preview>i{position:absolute;bottom:0;right:4px;font-style:normal}.time-block.dragging-source{opacity:.25}.time-block-resize-start{top:0;bottom:auto}.time-block-resize-start:after{top:2px;bottom:auto}.time-block.compact-block .time-block-resize{height:6px}.time-block.resizing small{display:block}.timeline-empty-drag-image{position:absolute;width:1px;height:1px;pointer-events:none}@media(prefers-reduced-motion:reduce){.time-block{transition:none}}.habit-time-trigger{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;color:var(--theme-secondary);border-radius:var(--radius-sm);opacity:0}.habit-record-row:hover .habit-time-trigger,.habit-time-trigger:focus-visible{opacity:1}.habit-time-trigger:hover{background:var(--theme-hover)}.habit-time-date{display:block;margin:0 0 16px;color:var(--theme-secondary);font-size:var(--font-body)}@media(max-width:900px),(pointer:coarse){.habit-time-trigger{opacity:1;width:var(--control-touch);height:var(--control-touch)}}@media(pointer:coarse){.time-block-resize{display:none}.time-block{touch-action:pan-y}}.period-overview{padding:10px 0 14px;color:var(--theme-text)}.period-overview-toolbar{display:flex;align-items:center;gap:8px;padding-bottom:6px}.period-overview-heading{display:flex;align-items:center;gap:5px;flex:1;min-width:0;padding:2px 0;text-align:left;font-size:var(--font-control);font-weight:600;color:var(--theme-secondary)}.period-overview-count{margin-left:3px;font-size:var(--font-caption);font-weight:400;color:var(--theme-muted)}.period-overview-list{display:grid;gap:10px}.period-overview-list .note-preview-card{margin:0}.period-card-empty{margin:0;padding:5px 4px;font-size:var(--font-body);color:var(--theme-muted)}@media(max-width:600px){.period-overview .reading-column{width:calc(100% - 40px)}}.period-note-preview{min-width:0}.period-preview-line{min-height:1.5em;padding:5px 4px;white-space:pre-wrap}.period-preview-blank{height:6px}.period-preview-task,.period-preview-list-item{display:flex;align-items:flex-start;gap:9px}.period-preview-task-text,.period-preview-list-item>:last-child{min-width:0}.period-preview-task:is(.is-done,.is-canceled){color:var(--theme-muted)}.period-preview-task:is(.is-done,.is-canceled) .period-preview-task-text{text-decoration:line-through}.period-preview-list-marker{color:var(--theme-editor-accent);min-width:1em;text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.period-note-preview :is(a,.period-inline-wiki){color:var(--theme-editor-accent)}.period-note-preview a{text-decoration:none}.period-note-preview a:hover{text-decoration:underline}.period-note-preview :is(.period-inline-tag,.period-inline-date,.period-inline-time){color:var(--theme-editor-accent)}.period-note-preview mark{color:var(--theme-highlight-text);background:var(--theme-highlight);border-radius:var(--radius-xs)}.period-note-preview u{text-underline-offset:2px}.period-note-preview code{color:var(--theme-editor-accent);font:.9375em Menlo,ui-monospace,monospace}.period-note-preview blockquote{margin:.3em 0;padding:.2em .85em;border-left:4px solid color-mix(in srgb,var(--theme-primary) 45%,var(--theme-canvas));color:var(--theme-quote);font-style:italic;white-space:pre-wrap}.period-note-preview hr{margin:12px 0;border:0;border-top:1px solid var(--theme-border)}.period-note-preview .period-preview-code{margin:.5em 0;padding:10px 12px;border-radius:var(--radius-sm);background:var(--theme-code-bg)}.period-note-preview .period-preview-code pre{margin:0;padding:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-text)}.period-note-preview .period-preview-code code{color:inherit}.period-preview-language{display:block;margin-bottom:6px;color:var(--theme-muted);font-size:var(--font-caption)}.period-preview-table{margin:.5em 0;overflow-x:auto}.period-preview-table table{width:100%;border-collapse:collapse;font:inherit}.period-preview-table :is(th,td){padding:6px 9px;border:1px solid var(--theme-border);min-width:60px;text-align:left;vertical-align:top}.period-preview-table th{background:var(--theme-code-bg);font-weight:600}.date-reference-heading,.date-reference-text{display:block;text-align:left;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.date-reference-text{padding:5px 4px;font:inherit;font-size:var(--preview-text-size);line-height:1.5;color:inherit;border-radius:var(--radius-sm)}.date-reference-text:hover{background:var(--theme-hover, var(--theme-hover))}.daily-reference-group .date-reference-content .task-row{padding:5px 4px;border:0}.daily-reference-group .task-source{display:none}.daily-reference-group .task-text{font-size:var(--preview-text-size)}.task-check.task-checklist{border-radius:var(--radius-xs)}.note-preview-card.backlink-group{--preview-text-size: 15px;--preview-heading-size: 13px;border-radius:var(--radius-xl);padding:12px 14px;font-family:var(--editor-font-family, -apple-system, sans-serif);font-size:var(--preview-text-size);font-weight:400;line-height:1.5;color:var(--theme-text)}.note-preview-card .backlink-source{display:flex;align-items:baseline;gap:8px;min-width:0;font-size:var(--font-label);font-weight:600;text-align:left;line-height:1.5}.note-preview-card .backlink-source>span:first-child{overflow-wrap:anywhere}.note-preview-range{margin-left:auto;color:var(--theme-muted);font-size:var(--font-caption);font-weight:400;white-space:nowrap}.note-preview-content{padding:4px 0 2px 25px;min-width:0;overflow-wrap:anywhere}.note-preview-card .note-preview-heading{display:block;margin:0;padding:5px 4px 2px;text-align:left;font-size:var(--preview-heading-size);font-weight:600;line-height:1.5;color:var(--theme-editor-accent)}.note-preview-card .backlink-line{padding:5px 4px;font-size:var(--preview-text-size);font-weight:400;line-height:1.5}.note-preview-card .task-text{font-size:var(--preview-text-size)}.note-preview-card .task-check{width:15px;height:15px}.note-preview-card .task-check.canceled{color:var(--theme-editor-accent)}.reference-disclosure-icon{transition:transform .15s ease-out}button[aria-expanded=true]>.reference-disclosure-icon{transform:rotate(90deg)}.preview-expansion-controls{display:flex;align-items:center;gap:2px}.preview-expansion-controls button{display:grid;place-items:center;width:26px;height:26px;padding:0;border-radius:var(--radius-sm);color:var(--theme-secondary)}.preview-expansion-controls button:hover{color:var(--theme-text);background:var(--theme-hover)}@media(max-width:900px){.note-preview-card.backlink-group{--preview-text-size: 14px}.preview-expansion-controls button{width:30px;height:30px}}@media(prefers-reduced-motion:reduce){.reference-disclosure-icon{transition:none}}html,body{background-color:var(--theme-canvas);color:var(--theme-text)}.cm-editor{color:var(--theme-text);caret-color:var(--theme-text)}.cm-editor :is(.editor-h1,.editor-h2,.editor-h3,.editor-ordered-marker){color:var(--theme-editor-accent)}.cm-editor .editor-bullet-marker:before{background:var(--theme-editor-accent)}.cm-editor .editor-ordered-marker *{color:inherit}.cm-editor .cm-line.editor-quote-line{color:var(--theme-quote)}.cm-rich-code,.cm-line.cm-rich-code-source{background:var(--theme-code-bg)}.cm-rich-code pre{color:var(--theme-text)}.cm-rich-code .tok-keyword,.cm-rich-code .tok-operator{color:var(--theme-code-keyword)}.cm-rich-code .tok-string{color:var(--theme-code-string)}.cm-rich-code :is(.tok-number,.tok-bool,.tok-null){color:var(--theme-code-number)}.cm-rich-code .tok-comment{color:var(--theme-code-comment)}.cm-rich-code :is(.tok-typeName,.tok-className,.tok-tagName){color:var(--theme-code-type)}.cm-rich-code :is(.tok-variableName,.tok-propertyName,.tok-attributeName){color:var(--theme-code-variable)}.cm-rich-highlight{background:var(--theme-highlight);color:var(--theme-highlight-text)}:is(.cm-important-text,.rp-task-title.rp-important){color:var(--theme-flag-1);background:var(--theme-flag-bg-1)}:is(.cm-important-level2,.rp-task-title.rp-important-2){color:var(--theme-flag-2);background:var(--theme-flag-bg-2)}:is(.cm-important-level3,.rp-task-title.rp-important-3){color:var(--theme-flag-3);background:var(--theme-flag-bg-3)}.cm-editor .cm-panels{color:var(--theme-text)}.cm-editor .cm-foldPlaceholder{background:var(--theme-selection);color:var(--theme-secondary)}.cm-textfield,.cm-button{color:var(--theme-text);background:var(--theme-input)!important}.month-head.mini-calendar-head{gap:2px}.month-head.mini-calendar-head>.calendar-month-title{margin-right:0;font-size:var(--font-input)}.calendar-head-spacer{flex:1}.month-head .calendar-jump-trigger{flex-shrink:0}.calendar-week>button.calendar-has-note>span,.week-number.calendar-has-note>span,.week-number.calendar-has-note>b,.week-strip>.calendar-has-note>b{font-weight:700}.calendar-month-picker{position:fixed;z-index:180;width:248px;max-width:calc(100vw - 16px);padding:10px;border:1px solid var(--theme-border);border-radius:var(--radius-xl);background:var(--theme-menu);color:var(--theme-text);box-shadow:0 5px 22px var(--theme-shadow);animation:popover-in .14s ease-out}.calendar-year-control{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 9px}.calendar-year-control label{display:flex;align-items:center;gap:3px;color:var(--theme-secondary);font-size:var(--font-body)}.calendar-year-control input{width:70px;height:30px;padding:3px 4px;border:1px solid transparent;border-radius:var(--radius-sm);text-align:center;color:var(--theme-text);background:transparent;font:inherit;font-weight:600;font-variant-numeric:tabular-nums;appearance:textfield}.calendar-year-control input::-webkit-inner-spin-button,.calendar-year-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.calendar-year-control input:hover{border-color:var(--theme-border);background:var(--theme-input)}.calendar-year-control input:focus-visible,.calendar-month-picker button:focus-visible,.calendar-jump-trigger:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.calendar-month-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.calendar-month-options button{min-height:36px;padding:6px;border-radius:var(--radius-md);font-size:var(--font-body);color:var(--theme-text);transition:background var(--motion-feedback) ease,color var(--motion-feedback) ease}.calendar-month-options button:hover{background:var(--theme-hover)}.calendar-month-options button[aria-pressed=true]{color:var(--theme-editor-accent);background:var(--theme-accent-soft)}.calendar-month-picker button:disabled{opacity:.4;cursor:default}@media(max-width:900px){.calendar-month-picker{width:280px}.calendar-month-options button{min-height:var(--control-touch)}}@media(prefers-reduced-motion:reduce){.calendar-month-picker{animation:none}.calendar-month-options button{transition:none}}.calendar-date-markers{display:flex;justify-content:center;gap:3px;height:4px;pointer-events:none}.calendar-date-markers>i{width:3px;height:3px;border-radius:50%}.calendar-date-markers>.has-tasks{background:var(--theme-editor-accent)}.calendar-date-markers>.has-events{background:var(--theme-success)}.calendar-week .calendar-date-markers{position:absolute;bottom:3px}.calendar-week .calendar-date-markers>.has-tasks{background:var(--theme-purple)}@media(max-width:900px){.mobile-calendar,.note-header,.mobile-bottom{background:var(--theme-canvas);-webkit-backdrop-filter:none;backdrop-filter:none}.mobile-calendar{position:relative;z-index:11}.mobile-calendar-head{gap:2px;padding-inline:8px}.mobile-calendar-head .calendar-month-jump>button{min-width:var(--control-touch);min-height:var(--control-touch)}.mobile-calendar-head>.mobile-month-label{min-height:var(--control-touch)}.mobile-keyboard-done{min-width:var(--control-touch);min-height:var(--control-touch);padding:0 6px;color:var(--theme-editor-accent);font-size:var(--font-subtitle)}.touch-keyboard-open .app{position:fixed;top:var(--touch-viewport-top, 0px);left:0;right:0;height:var(--touch-keyboard-height)}.touch-keyboard-open .mobile-bottom{padding-bottom:4px}.mobile-bottom{height:auto;min-height:52px}}.editor-task-schedule-anchor,.editor-touch-schedule{display:none}@media(hover:none)and (pointer:coarse){.cm-line.editor-task-line{position:relative;padding-right:38px!important;min-height:var(--control-touch)}.editor-task-schedule-anchor{display:inline}.editor-touch-schedule{display:inline-flex;position:absolute;right:-6px;top:calc(.7em - 18px);align-items:center;justify-content:center;width:var(--control-touch);height:var(--control-touch);padding:0;border-radius:var(--radius-md);color:var(--theme-muted);vertical-align:middle;touch-action:manipulation;user-select:none;-webkit-user-select:none}.editor-touch-schedule .daymark-icon{width:17px;height:17px}.editor-touch-schedule:active{color:var(--theme-editor-accent);background:var(--theme-accent-soft)}.editor-task:before{inset:-8px -6px}.cm-content{font-size:max(var(--font-input),var(--editor-font-size, var(--font-input)))}.cm-block-menu button{min-height:var(--control-touch)}.cm-block-menu input{font-size:var(--font-input)}.app input,.app textarea,.modal input,.modal textarea{font-size:max(var(--font-input),1em)}}:root :is(.nav-row,.sn-row,.tag-navigation-row,.tag-navigation-group,.sidebar-section-toggle,.sidebar-navigation-action,.list-row,.audio-row,.audio-chart-tile,.audio-chart-tracks>li){transition:background-color var(--motion-feedback) ease-out,color var(--motion-feedback) ease-out;border-radius:var(--radius-md)}@media(hover:hover){:root :is(.nav-row,.sn-row,.tag-navigation-row,.tag-navigation-group,.sidebar-section-toggle,.sidebar-navigation-action,.list-row,.audio-row,.audio-chart-tile,.audio-chart-tracks>li):hover{background-color:var(--theme-row-hover);transition-duration:0s}:root :is(.audio-row,.audio-chart-tracks>li).is-current:hover{background-color:var(--theme-accent-soft)}}:root :is(.audio-row,.audio-chart-tracks>li).is-current{box-shadow:inset 2px 0 var(--theme-editor-accent)}:root :is(.audio-row,.list-row,.sn-row,.tag-navigation-row):focus-within{outline:1px solid var(--theme-border);outline-offset:-1px}@media(prefers-reduced-motion:reduce){:root :is(.nav-row,.sn-row,.tag-navigation-row,.tag-navigation-group,.sidebar-section-toggle,.sidebar-navigation-action,.list-row,.audio-row,.audio-chart-tile,.audio-chart-tracks>li){transition:none}}.symbol-icon{display:inline-block;flex-shrink:0;vertical-align:-.15em;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}.symbol-picker{width:376px;max-width:calc(100vw - 24px)}.symbol-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;max-height:340px;overflow:auto;overscroll-behavior:contain;margin-top:14px;padding:2px}.symbol-grid button{display:grid;place-items:center;aspect-ratio:1;min-width:0;border:1px solid transparent;border-radius:var(--radius-md);color:var(--theme-secondary)}.symbol-grid button:hover{background:var(--theme-row-hover);color:var(--theme-text)}.symbol-grid button[aria-pressed=true]{border-color:var(--theme-editor-accent);color:var(--theme-editor-accent);background:var(--theme-accent-soft)}.symbol-grid button:focus-visible,.symbol-picker-trigger:focus-visible{outline:2px solid var(--theme-focus);outline-offset:-2px}.symbol-picker-trigger{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:var(--radius-md);color:var(--theme-editor-accent);background:var(--theme-accent-soft)}.symbol-picker-trigger:hover{background:var(--theme-row-hover)}.symbol-remove{margin-top:12px}.symbol-empty{color:var(--theme-muted);font-size:var(--font-body);padding:12px 0}.subscription-name-field{display:flex;gap:10px;align-items:flex-end}.subscription-name-field>label{flex:1}.subscription-row-symbol{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:var(--radius-md);color:var(--theme-editor-accent);background:var(--theme-accent-soft)}.cm-symbol{width:1.05em;height:1.05em;margin-inline:.1em}@media(max-width:900px),(pointer:coarse){.symbol-grid{grid-template-columns:repeat(auto-fill,minmax(var(--control-touch),1fr))}.symbol-grid button{min-height:var(--control-touch)}.symbol-picker-trigger{width:var(--control-touch);height:var(--control-touch)}}
