:root{color:#10141e;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:crosshair;background:#d9dde5;font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,ui-monospace,monospace}*{box-sizing:border-box}html,body,#app{height:100%;overflow:hidden}html{min-height:-webkit-fill-available}body{margin:0}button,input,textarea{font:inherit}button,a,label,select{cursor:pointer}input,textarea{cursor:text}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{background:#f4f5f7;flex-direction:column;height:100svh;min-height:0;display:flex;overflow:hidden}@supports (height:-webkit-fill-available){.app-shell{height:-webkit-fill-available}}@supports (height:100dvh){.app-shell{height:100dvh}}.topbar{grid-template-columns:minmax(260px, var(--left)) 8px minmax(0, 1fr);background:#c7ccd6;border-bottom:2px solid #171b24;align-items:center;gap:8px;min-height:52px;padding:8px 12px;display:grid;overflow:visible}.topbar.left-collapsed{grid-template-columns:minmax(0,1fr)}.topbar-actions{gap:8px;min-width:0;display:flex;overflow:clip}.topbar-actions .top-action{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.topbar-splitter{width:8px;height:100%}.topbar-main{grid-column:3;align-items:center;gap:8px;min-width:0;display:flex}.topbar.left-collapsed .topbar-main{grid-column:1}.topbar-right{align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.mobile-menu{display:none;position:relative}.mobile-menu summary{cursor:pointer;background:#eef1f6;border:1px solid #171b24;min-height:32px;padding:6px 10px;list-style:none;box-shadow:2px 2px #171b24}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu-items{z-index:30;background:#fff;border:2px solid #171b24;gap:6px;min-width:150px;padding:8px;display:grid;position:absolute;top:40px;left:0;box-shadow:4px 4px #171b24}.top-action,.repo-panel button,.calendar-toolbar button,.editor-toolbar button,.editor-footer button,.row-actions button{color:#10141e;background:#eef1f6;border:1px solid #171b24;border-radius:0;min-height:32px;box-shadow:2px 2px #171b24}.top-action:hover,.repo-panel button:hover,.calendar-toolbar button:hover,.editor-toolbar button:hover,.editor-footer button:hover,.row-actions button:hover{background:#dfe8f7}.search{color:#333a48;text-transform:uppercase;align-items:center;gap:8px;min-width:0;font-size:12px;display:flex}.sync-pill{color:#173b70;text-transform:uppercase;background:#fff;border:1px solid #171b24;grid-template-columns:auto auto;align-items:center;column-gap:6px;min-height:30px;padding:0 9px;font-size:12px;font-weight:800;display:grid}.sync-pill small{grid-column:2;font-size:10px;line-height:1}.sync-pill.unsynced{color:#8a1f1f;background:#f4dddd}.sync-group{align-items:center;gap:8px;display:flex}input,textarea{color:#10141e;background:#fff;border:1px solid #171b24;border-radius:0}input{min-height:32px;padding:6px 8px}.search input{width:clamp(120px,18vw,260px)}.notice,.repo-panel,.status-line{background:#f0f2f6;border-bottom:1px solid #171b24;align-items:center;gap:12px;padding:10px 12px;display:flex}.device-code{color:#173b70;letter-spacing:.12em;background:#fff;border:2px solid #173b70;padding:6px 10px;font-size:20px;font-weight:800}.notice a{color:#173b70;font-weight:700}.repo-panel label{color:#333a48;text-transform:uppercase;gap:4px;font-size:12px;display:grid}.repo-panel span{color:#333a48}.ai-panel{justify-content:space-between}.ai-heading{align-items:center;gap:12px;min-width:0;display:flex}.ai-heading img{background:#fff;border:1px solid #171b24;width:38px;height:38px}.ai-heading div{gap:4px;display:grid}.ai-actions{gap:8px;margin-left:auto;display:flex}.ai-actions a{place-items:center;padding:0 10px;display:inline-grid}.modal-backdrop{z-index:80;background:#050505b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-hitbox{background:0 0;border:0;position:absolute;inset:0}.notit-modal{z-index:1;background:#f8f9fb;border:2px solid #171b24;gap:16px;width:min(860px,100%);max-height:min(760px,100svh - 36px);padding:18px;display:grid;position:relative;overflow:auto;box-shadow:8px 8px #173b70}.notit-modal header,.notit-modal footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.notit-modal h2,.notit-modal h3,.notit-modal p{margin:0}.modal-kicker{color:#6a7282;letter-spacing:.12em;font-size:12px;font-weight:800}.modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.modal-grid article{background:#fff;border:1px solid #171b24;align-content:start;gap:10px;padding:12px;display:grid}.modal-grid ol{margin:0;padding-left:20px}.modal-grid code,.prompt-box textarea{background:#eef1f6;border:1px solid #171b24}.modal-grid code{padding:8px;font-size:12px;overflow:auto}.prompt-box{gap:6px;display:grid}.prompt-box textarea{resize:vertical;min-height:86px;padding:10px}.notit-modal button,.notit-modal a{color:#10141e;background:#eef1f6;border:1px solid #171b24;min-height:32px;box-shadow:2px 2px #171b24}.notit-modal a{place-items:center;width:fit-content;padding:0 10px;display:inline-grid}.setting-row{color:#10141e;text-transform:uppercase;align-items:center;gap:8px;font-size:12px;display:flex}.setting-row input{min-height:auto}.setting-row select{min-height:32px;font:inherit;background:#fff;border:1px solid #171b24;border-radius:0}.settings-panel{overflow:auto hidden}.status-line{color:#173b70;justify-content:space-between;min-height:36px;font-weight:700}.status-line span{min-width:0}.status-line button{color:#171b24;background:#fff;border:1px solid #171b24;width:28px;min-width:28px;min-height:28px;font-weight:900;box-shadow:2px 2px #171b24}.status-line.error{color:#8a1f1f;background:#f4dddd}.workspace{grid-template-columns:minmax(260px, var(--left)) 8px minmax(0, 1fr);flex:1;min-height:0;display:grid;overflow:hidden}.workspace.left-collapsed{grid-template-columns:minmax(0,1fr)}.calendar-pane,.editor-pane{min-height:0;overflow:hidden}.calendar-pane{background:#e6e8ed;border-right:2px solid #171b24;flex-direction:column;display:flex}.calendar-toolbar{background:#d1d6df;border-bottom:2px solid #171b24;grid-template-columns:auto 1fr auto;gap:8px;padding:12px;display:grid;position:relative}.mode-button{min-width:128px}.month-button{text-transform:uppercase;font-weight:800}.month-picker{z-index:10;background:#fff;border:2px solid #171b24;width:220px;padding:10px;position:absolute;top:48px;left:148px;box-shadow:4px 4px #171b24}.year-row{grid-template-columns:34px 1fr 34px;gap:6px;margin-bottom:8px;display:grid}.year-row select{min-height:34px;font:inherit;text-align:center;background:#f5f7fb;border:1px solid #171b24;border-radius:0;font-weight:800}.month-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.all-months{width:100%;margin-bottom:8px}.month-grid button{min-height:34px}.month-grid button.active,.all-months.active{color:#fff;background:#173b70}.icon-button{min-width:38px}.calendar-list{flex:1;min-height:0;padding:10px 12px 18px;overflow:auto}.calendar-search{color:#333a48;text-transform:uppercase;background:#eef1f6;border-bottom:1px solid #171b24;gap:5px;padding:8px 12px;font-size:12px;display:grid}.calendar-search input{width:100%}.date-group{margin-bottom:18px}.date-group h2{text-transform:uppercase;border-bottom:1px dashed #171b24;margin:0 0 8px;padding-bottom:4px;font-size:13px}.date-group article{border:1px solid #0000;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-bottom:8px;padding:8px;display:grid}.date-group article.active{background:#fff;border-color:#173b70}.note-select{text-align:left;background:0 0;border:0;gap:5px;min-width:0;display:grid}.note-select strong,.note-select span{text-overflow:ellipsis;overflow:hidden}.note-select strong{color:#10141e;white-space:nowrap}.note-select span{color:#4d5565;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.35;display:-webkit-box}.row-actions{align-content:start;gap:5px;display:grid}.row-actions button{min-height:24px;box-shadow:none;padding:2px 6px;font-size:11px}.empty-state{color:#4d5565;background:#f5f6f8;border:1px dashed #767e8f;padding:18px}.splitter{border:0;cursor:col-resize;background:repeating-linear-gradient(#9da6b5,#9da6b5 4px,#d8dce4 4px 8px);border-inline:1px solid #171b24;width:8px}.editor-pane{background:#f8f9fb;flex-direction:column;min-width:0;display:flex;container-type:inline-size}.editor-toolbar{background:#d7dbe3;border-bottom:2px solid #171b24;align-items:center;gap:8px;padding:12px;display:flex;position:relative;overflow:visible}.mode-switch{flex:none;gap:6px;display:flex}.mode-switch button.active,.tools button:hover,.icon-button.active,.focus-toggle.active{color:#fff;background:#173b70}.tools{flex:auto;gap:6px;min-width:0;margin-left:8px;display:flex;overflow:hidden}.tools button{flex:none}.tool-menu{display:none;position:relative}.tool-menu summary{cursor:pointer;background:#eef1f6;border:1px solid #171b24;min-height:32px;padding:6px 10px;list-style:none;box-shadow:2px 2px #171b24}.tool-menu summary::-webkit-details-marker{display:none}.tool-menu-items{z-index:20;background:#fff;border:2px solid #171b24;gap:6px;min-width:150px;padding:8px;display:grid;position:absolute;top:40px;left:0;box-shadow:4px 4px #171b24}.save-button{min-width:88px;margin-left:auto;color:#fff!important;background:#173b70!important}@media (width<=1120px){.tools{display:none}.tool-menu{display:block}.editor-toolbar{gap:6px;padding:8px}}@container (width<=780px){.tools{display:none}.tool-menu{display:block}.editor-toolbar{gap:6px;padding:8px}}@media (width<=760px){.app-shell{padding-top:max(8px, env(safe-area-inset-top))}.topbar{grid-template-columns:minmax(0,1fr);gap:6px;padding:6px 8px}.topbar-actions,.topbar-splitter{display:none}.topbar-main{grid-column:1;grid-template-columns:auto auto minmax(0,1fr);width:100%;display:grid}.topbar-right{justify-self:end}.mobile-menu{display:block}.settings-panel{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;align-items:stretch;gap:8px;overflow-x:auto}.settings-panel .setting-row{scroll-snap-align:start;flex:0 0 min(76vw,290px)}.sync-pill{padding:0 6px}.sync-group .top-action{text-overflow:ellipsis;white-space:nowrap;max-width:92px;overflow:hidden}.workspace{grid-template-columns:minmax(0,1fr)}.splitter{display:none}.calendar-pane{border-right:0;width:100%;display:flex}.workspace.mobile-editor .calendar-pane,.workspace.mobile-list .editor-pane{display:none}.calendar-toolbar{grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;gap:6px;padding:8px}.mode-button{min-width:0}.month-button{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.month-picker{width:min(220px,100vw - 24px);top:42px;left:auto;right:8px}.calendar-list{padding:8px 8px calc(72px + max(8px, env(safe-area-inset-bottom)))}.calendar-search{padding:8px}.date-group article{gap:4px;padding:7px}.row-actions button{min-height:22px;padding:1px 5px}.editor-toolbar{gap:6px;padding:8px}.mode-switch button{min-width:0;padding-inline:8px}.save-button{min-width:64px}.title-row{grid-template-columns:1fr;gap:6px;padding:8px}.title-row input:first-child{font-size:17px}.markdown-editor{padding:14px;font-size:14px}.markdown-line-gutter{min-width:38px;padding:14px 6px;font-size:12px}.markdown-preview{max-width:none;padding:18px 16px 80px;font-size:16px}.editor-footer{min-height:40px;padding:6px 8px calc(6px + max(8px, env(safe-area-inset-bottom)));gap:8px;overflow:hidden}.editor-footer span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ai-panel,.ai-actions,.modal-grid{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.ai-actions{margin-left:0}}.title-row{background:#eef1f6;border-bottom:1px solid #171b24;grid-template-columns:1.2fr 1fr;gap:8px;padding:12px;display:grid}.title-row input:first-child{font-size:20px;font-weight:800}.markdown-editor-frame{background:#fff;flex:1;grid-template-columns:auto minmax(0,1fr);min-height:0;display:grid}.markdown-editor-frame:not(.show-markdown-lines){display:flex}.markdown-line-gutter{color:#6a7282;text-align:right;-webkit-user-select:none;user-select:none;background:#eef1f6;border-right:1px solid #c7ccd6;min-width:48px;padding:22px 8px;font-size:15px;line-height:24px;overflow:hidden}.markdown-line-gutter span{display:block}.markdown-editor{resize:none;background:#fff;border:0;outline:0;flex:1;min-width:0;min-height:0;padding:22px;font-size:15px;line-height:1.6}.preview-frame{background:#fff;flex:1;overflow:auto}.markdown-preview{max-width:920px;padding:28px 34px 80px;font-family:Georgia,Times New Roman,ui-serif,serif;font-size:18px;line-height:1.65}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3{font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,ui-monospace,monospace;line-height:1.2}.markdown-preview h1{border-bottom:2px solid #171b24;padding-bottom:8px;font-size:34px}.markdown-preview h2{color:#173b70;margin-top:30px;font-size:24px}.markdown-preview pre,.markdown-preview table{background:#f1f3f7;border:1px solid #171b24}.markdown-preview details.notit-code{background:#f1f3f7;border:1px solid #171b24;margin:18px 0}.markdown-preview details.notit-code summary{cursor:pointer;background:#dfe8f7;border-bottom:1px solid #171b24;padding:8px 12px;font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,ui-monospace,monospace;font-size:13px;font-weight:800}.markdown-preview details.notit-code pre{border:0;margin:0}.markdown-preview pre{counter-reset:code-line;padding:14px;overflow:auto}.markdown-preview code{font-family:SFMono-Regular,Menlo,Consolas,ui-monospace,monospace;font-size:.9em}.markdown-preview .code-line{white-space:pre;min-height:1.45em;display:block}.markdown-preview.show-code-lines .code-line{counter-increment:code-line}.markdown-preview.show-code-lines .code-line:before{color:#6a7282;text-align:right;content:counter(code-line);-webkit-user-select:none;user-select:none;width:32px;margin-right:12px;display:inline-block}.markdown-preview table{border-collapse:collapse;width:100%}.markdown-preview th,.markdown-preview td{border:1px solid #171b24;padding:8px 10px}.markdown-preview blockquote{color:#4d5565;border-left:4px solid #173b70;margin-left:0;padding-left:16px}.markdown-preview li:has(input[type=checkbox]){margin-left:-24px;list-style:none}.markdown-preview.strike-tasks li:has(input[type=checkbox]:checked){color:#6a7282;text-decoration:line-through}.markdown-preview input[type=checkbox]{vertical-align:-2px;accent-color:#173b70;cursor:pointer;width:16px;height:16px;margin-right:8px}.markdown-preview img{border:1px solid #171b24;max-width:100%;margin:18px 0;display:block}.mermaid{text-align:center;background:#f6f8fc;border:1px solid #173b70;margin:18px 0;padding:14px}.mermaid svg{margin:0 auto;display:block}.editor-empty{color:#4d5565;text-align:center;flex:1;place-content:center;gap:8px;display:grid}.editor-empty h1{color:#10141e;margin:0}.editor-empty p{margin:0}.editor-footer{color:#333a48;background:#c7ccd6;border-top:2px solid #171b24;align-items:center;gap:12px;min-height:44px;padding:8px 12px;font-size:12px;display:flex}.editor-footer span:last-child{margin-left:auto}.app-shell.theme-notit-dark{color:#f4f4f4;background:#050505}.theme-notit-dark .topbar,.theme-notit-dark .editor-toolbar,.theme-notit-dark .calendar-toolbar,.theme-notit-dark .editor-footer,.theme-notit-dark .repo-panel,.theme-notit-dark .notice,.theme-notit-dark .status-line{color:#f4f4f4;background:#080808;border-color:#f4f4f4}.theme-notit-dark .calendar-pane,.theme-notit-dark .editor-pane{background:#050505;border-color:#f4f4f4}.theme-notit-dark .calendar-list,.theme-notit-dark .title-row,.theme-notit-dark .preview-frame,.theme-notit-dark .markdown-editor-frame,.theme-notit-dark .markdown-editor,.theme-notit-dark .markdown-preview{color:#f4f4f4;background:#050505}.theme-notit-dark .top-action,.theme-notit-dark .repo-panel button,.theme-notit-dark .calendar-toolbar button,.theme-notit-dark .editor-toolbar button,.theme-notit-dark .editor-footer button,.theme-notit-dark .row-actions button,.theme-notit-dark .tool-menu summary,.theme-notit-dark .mobile-menu summary,.theme-notit-dark .mobile-menu button{color:#f4f4f4;background:#050505;border-color:#f4f4f4;box-shadow:3px 3px #2d5cff}.theme-notit-dark .mode-switch button.active,.theme-notit-dark .focus-toggle.active,.theme-notit-dark .save-button{color:#050505!important;background:#fff!important}.theme-notit-dark input,.theme-notit-dark textarea,.theme-notit-dark select,.theme-notit-dark .sync-pill,.theme-notit-dark .empty-state,.theme-notit-dark .calendar-search,.theme-notit-dark .tool-menu-items,.theme-notit-dark .mobile-menu-items,.theme-notit-dark .month-picker,.theme-notit-dark .markdown-preview pre,.theme-notit-dark .markdown-preview table,.theme-notit-dark .markdown-preview details.notit-code{color:#f4f4f4;background:#111;border-color:#f4f4f4}.theme-notit-dark .markdown-preview h1,.theme-notit-dark .markdown-preview h2,.theme-notit-dark .notice a,.theme-notit-dark .sync-pill,.theme-notit-dark .date-group article.active,.theme-notit-dark .date-group h2,.theme-notit-dark .note-select,.theme-notit-dark .note-select strong,.theme-notit-dark .ai-heading strong,.theme-notit-dark .repo-panel strong{color:#fff}.theme-notit-dark .date-group article.active{background:#111;border-color:#fff}.theme-notit-dark .note-select span,.theme-notit-dark .repo-panel span,.theme-notit-dark .search,.theme-notit-dark .editor-footer,.theme-notit-dark .setting-row,.theme-notit-dark .eyebrow{color:#cfcfcf}.app-shell.theme-zed-slim{color:#d7dbe5;background:#101114;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.theme-zed-slim .topbar,.theme-zed-slim .editor-toolbar,.theme-zed-slim .calendar-toolbar,.theme-zed-slim .editor-footer,.theme-zed-slim .repo-panel,.theme-zed-slim .notice,.theme-zed-slim .status-line{color:#d7dbe5;background:#17191f;border-color:#2a2d35;min-height:38px;padding:6px 8px}.theme-zed-slim .calendar-pane,.theme-zed-slim .editor-pane,.theme-zed-slim .calendar-list,.theme-zed-slim .title-row,.theme-zed-slim .preview-frame,.theme-zed-slim .markdown-editor-frame,.theme-zed-slim .markdown-editor,.theme-zed-slim .markdown-preview{color:#d7dbe5;background:#101114;border-color:#2a2d35}.theme-zed-slim .top-action,.theme-zed-slim .repo-panel button,.theme-zed-slim .calendar-toolbar button,.theme-zed-slim .editor-toolbar button,.theme-zed-slim .editor-footer button,.theme-zed-slim .row-actions button,.theme-zed-slim .tool-menu summary,.theme-zed-slim .mobile-menu summary,.theme-zed-slim .mobile-menu button{color:#d7dbe5;min-height:26px;box-shadow:none;background:#1d2028;border-color:#303440;border-radius:3px;font-size:12px}.theme-zed-slim .mode-switch button.active,.theme-zed-slim .focus-toggle.active,.theme-zed-slim .save-button{color:#fff!important;background:#3451b2!important}.theme-zed-slim input,.theme-zed-slim textarea,.theme-zed-slim select,.theme-zed-slim .sync-pill,.theme-zed-slim .empty-state,.theme-zed-slim .tool-menu-items,.theme-zed-slim .mobile-menu-items,.theme-zed-slim .month-picker,.theme-zed-slim .markdown-preview pre,.theme-zed-slim .markdown-preview table,.theme-zed-slim .markdown-preview details.notit-code{color:#d7dbe5;background:#15171d;border-color:#303440;border-radius:3px}.theme-zed-slim .markdown-preview{max-width:980px;padding:18px 24px 64px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.55}.theme-zed-slim .markdown-preview h1{border-color:#303440;font-size:28px}.theme-zed-slim .markdown-preview h2{color:#8aa2ff;font-size:20px}.theme-zed-slim .title-row{grid-template-columns:1fr 1fr;gap:6px;padding:8px}.theme-zed-slim .title-row input:first-child{font-size:16px}.theme-zed-slim .calendar-list,.theme-zed-slim .date-group article,.theme-zed-slim .note-select span,.theme-zed-slim .editor-footer,.theme-zed-slim .setting-row,.theme-zed-slim .search{color:#a9afbd;font-size:12px}
