.publish-card.svelte-q1dx5z{max-width:540px}.publish-list.svelte-q1dx5z{background:#f4f4f199;border:1px solid #b0b2b066;border-radius:.5rem;max-height:280px;margin:.75rem 0 1rem;padding:.5rem;list-style:none;overflow-y:auto}.publish-item.svelte-q1dx5z{border-radius:.35rem;grid-template-columns:3rem 1fr auto;align-items:center;gap:.5rem;padding:.35rem .5rem;font-size:.85rem;display:grid}.publish-item.svelte-q1dx5z+.publish-item:where(.svelte-q1dx5z){border-top:1px solid #b0b2b040}.publish-status.svelte-q1dx5z{text-transform:uppercase;letter-spacing:.08em;color:#5d605e;text-align:center;font-size:.65rem;font-weight:700}.publish-path.svelte-q1dx5z{text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.publish-age.svelte-q1dx5z{color:#5d605e;font-size:.7rem}html,body,#app{height:100%}body{color:#303331;-webkit-font-smoothing:antialiased;background-color:#faf9f7;font-family:Manrope,sans-serif}.screen{height:100dvh;min-height:100dvh}.login-screen{justify-content:center;align-items:center;padding:1.5rem;display:flex}.app-screen{flex-direction:column;display:flex}#app-topbar{flex:none}.app-body{flex:auto;min-height:0;display:flex;overflow:hidden}.editor-main{background:#faf9f7;flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.no-file-hint{text-align:center;flex:1;justify-content:center;align-items:center;padding:2rem;display:flex}.editor-pane{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;vertical-align:middle}.icon-filled{font-variation-settings:"FILL" 1, "wght" 300, "GRAD" 0, "opsz" 24}.custom-scrollbar::-webkit-scrollbar{width:4px;height:4px}.custom-scrollbar::-webkit-scrollbar-track{background:0 0}.custom-scrollbar::-webkit-scrollbar-thumb{background:#e1e3e0;border-radius:10px}.editor-textarea-wrap{scrollbar-gutter:stable;flex-direction:column;flex:auto;width:100%;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden scroll}.editor-workspace{flex:auto;min-height:0;display:flex;overflow:hidden}.editor-workspace.has-preview .editor-textarea-wrap{border-right:1px solid #b0b2b040;flex:56%}.preview-pane{background:#ffffffad;flex-direction:column;flex:44%;min-width:320px;min-height:0;display:flex}.preview-pane-head{letter-spacing:.12em;text-transform:uppercase;color:#5d605e;border-bottom:1px solid #b0b2b04d;padding:.7rem .9rem;font-size:.7rem;font-weight:700}.preview-warnings{color:#a83836;background:#a838360d;border-bottom:1px solid #a8383638;margin:0;padding:.5rem .9rem;font-size:.75rem;list-style:inside}.preview-frame{background:#fff;border:0;flex:auto;width:100%;min-height:0}.presence-pill{letter-spacing:.04em;color:#2f6e57;cursor:default;background:#4e987c24;border-radius:999px;align-items:center;gap:.4rem;padding:.15rem .55rem;font-size:.7rem;font-weight:700;display:inline-flex}.presence-dot{background:#2f9d6e;border-radius:999px;width:.45rem;height:.45rem;animation:1.6s ease-in-out infinite presence-pulse;box-shadow:0 0 #2f9d6e99}@keyframes presence-pulse{0%,to{box-shadow:0 0 #2f9d6e8c}50%{box-shadow:0 0 0 .35rem #2f9d6e00}}.editor-skeleton{background:linear-gradient(110deg,#e1e3e066 30%,#e1e3e026 50%,#e1e3e066 70%) 0 0/200% 100%;border-radius:.65rem;flex:auto;min-height:12rem;margin:1rem 3rem;animation:1.4s ease-in-out infinite editor-skeleton-shimmer}@keyframes editor-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.editor-skeleton-error{color:#a83836;background:#a8383614;border-radius:.65rem;margin:1rem 3rem;padding:1rem;font-size:.85rem}.editor-shell{flex-direction:column;width:100%;min-width:0;min-height:0;display:flex}.frontmatter-wrap{background:#f4f4f1e6;border:1px solid #b0b2b073;border-radius:.65rem;margin:1rem 3rem 0;padding:.75rem 1rem}.frontmatter-wrap-empty{background:#f4f4f18c}.frontmatter-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.4rem;display:flex}.frontmatter-head .frontmatter-label{margin-bottom:0}.frontmatter-label{letter-spacing:.12em;text-transform:uppercase;color:#5d605e;margin-bottom:.4rem;font-size:.68rem;font-weight:700}.frontmatter-toggle{color:#545f76;cursor:pointer;background:#545f761a;border:0;border-radius:.45rem;padding:.18rem .5rem;font-size:.7rem;font-weight:700}.frontmatter-toggle:hover{background:#545f7629}.frontmatter-hint{color:#5d605e;margin:0;font-size:.76rem}.editor-surface{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;min-width:0;min-height:0;padding:.65rem 3rem 2rem;display:flex}.editor-surface .ProseMirror{box-sizing:border-box;overflow-wrap:break-word;word-break:break-word;color:#303331;caret-color:#545f76;outline:none;width:100%;min-width:0;min-height:100%;padding:0 60px;font-family:Manrope,sans-serif;font-size:.95rem;line-height:1.75}.editor-surface .ProseMirror>*{box-sizing:border-box;overflow-wrap:break-word;word-break:break-word;flex-grow:0;flex-shrink:1;width:100%;min-width:0;max-width:100%}.editor-surface,.editor-surface .ProseMirror{contain:inline-size}.editor-surface .ProseMirror h1{margin:1.6rem 0 .8rem;font-size:2rem;font-weight:800;line-height:1.2}.editor-surface .ProseMirror h2{margin:1.4rem 0 .7rem;font-size:1.5rem;font-weight:700;line-height:1.25}.editor-surface .ProseMirror h3{margin:1.2rem 0 .6rem;font-size:1.2rem;font-weight:700;line-height:1.3}.editor-surface .ProseMirror p{margin:.6rem 0}.editor-surface .ProseMirror ul,.editor-surface .ProseMirror ol{margin:.6rem 0;padding-left:1.4rem}.editor-surface .ProseMirror blockquote{color:#5d605e;border-left:3px solid #b0b2b0;margin:.8rem 0;padding:.2rem 0 .2rem .9rem}.editor-surface .ProseMirror code{background:#edeeec;border-radius:.25rem;padding:.08rem .28rem;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85em}.editor-surface .ProseMirror pre{color:#f8f8ff;caret-color:#a8c5b0;background:#0d0e0e;border-radius:.5rem;margin:.8rem 0;padding:.75rem 1rem;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85rem;overflow-x:auto}.editor-surface .ProseMirror pre code{color:inherit;font-size:inherit;background:0 0;border-radius:0;padding:0}.editor-surface .ProseMirror a{color:#545f76;text-decoration:underline}.tiptap-bubble-menu{visibility:hidden;opacity:0;z-index:50;background:#fff;border:1px solid #b0b2b08c;border-radius:.55rem;align-items:center;gap:.15rem;padding:.3rem;transition:opacity .12s;display:flex;box-shadow:0 6px 18px #30333114}.tiptap-bubble-menu button{color:#303331;cursor:pointer;background:0 0;border:0;border-radius:.35rem;justify-content:center;align-items:center;min-width:1.8rem;height:1.8rem;padding:0 .4rem;font-size:.78rem;font-weight:600;display:inline-flex}.tiptap-bubble-menu button:hover{background:#edeeec}.tiptap-bubble-sep{background:#b0b2b080;width:1px;height:1.1rem;margin:0 .15rem;display:inline-block}.plain-editor{resize:none;color:#303331;box-sizing:border-box;background:0 0;border:0;outline:none;width:100%;height:100%;min-height:100%;padding:2rem 3rem;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9rem;line-height:1.6}.writing-canvas:before{content:"";opacity:0;pointer-events:none;background-image:linear-gradient(#e1e3e0 1px,#0000 1px);background-size:100% 1.6rem;transition:opacity .2s;position:absolute;inset:0}.empty-hint{color:#5d605e}.tree-item{color:#5d605e;cursor:pointer;border-radius:.5rem;align-items:center;gap:.5rem;padding:.35rem .6rem;font-size:.78rem;transition:background-color .15s,color .15s;display:flex}.tree-item:hover{color:#303331;background:#edeeec}.tree-item.is-dir{color:#506549;font-weight:700}.tree-item.tree-nav-up{color:#545f76;font-weight:600}.tree-item .tree-icon{text-align:center;opacity:.75;width:1rem}.tree-item.active{color:#545f76;background:#545f7614;border-left:2px solid #545f76;border-top-left-radius:0;border-bottom-left-radius:0}.file-tree{font-size:.78rem}.file-tree-item{color:#5d605e;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:.5rem;align-items:center;gap:.4rem;padding:.3rem .6rem;transition:background-color .15s,color .15s;display:flex;overflow:hidden}.file-tree-item:hover{color:#303331;background:#edeeec}.file-tree-item.is-dir{color:#506549;font-weight:700}.file-tree-item .tree-icon{text-align:center;opacity:.75;flex-shrink:0;width:1rem}.file-tree-item.active{color:#545f76;background:#545f7614;border-left:2px solid #545f76;border-top-left-radius:0;border-bottom-left-radius:0}.locale-tabs{background:#f4f4f1b3;border-bottom:1px solid #b0b2b033;align-items:center;gap:.25rem;padding:.4rem 1rem;display:flex}.locale-tab{letter-spacing:.06em;text-transform:uppercase;color:#5d605e;cursor:pointer;background:0 0;border:0;border-radius:.4rem;padding:.3rem .7rem;font-size:.72rem;font-weight:700;transition:background .15s,color .15s}.locale-tab:hover{color:#303331;background:#545f761a}.locale-tab.active{color:#fff;background:#545f76}.pr-state{letter-spacing:.12em;border:1px solid #b0b2b0;border-radius:9999px;padding:.1rem .45rem;font-size:.6rem}.pr-state.draft{color:#545f76;border-color:#545f76}.pr-state.open{color:#506549;border-color:#506549}.toast{color:#303331;opacity:0;z-index:100;pointer-events:none;background:#fff;border:1px solid #b0b2b0;border-radius:.5rem;padding:.6rem .9rem;font-size:.78rem;transition:opacity .2s,transform .2s;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%)translateY(.4rem)}.toast.show{opacity:1;transform:translate(-50%)translateY(0)}.toast.error{color:#a83836;border-color:#a83836}.toast.success{color:#506549;border-color:#506549}.focus-topbar,.focus-floating-help,.focus-footer-hint,.focus-toolbar{display:none}body.focus-mode #app-topbar,body.focus-mode #app-sidebar,body.focus-mode #editor-filebar,body.focus-mode #editor-footer{display:none!important}body.focus-mode .app-body{height:100dvh;display:block;overflow-y:auto}body.focus-mode .editor-main{height:auto;min-height:100%;display:block;overflow:visible}body.focus-mode .editor-pane{max-width:56rem;height:auto;margin:0 auto;padding:6.5rem 1rem 8.5rem;display:block;overflow:visible}body.focus-mode .editor-workspace{height:auto;display:block;overflow:visible}body.focus-mode .editor-textarea-wrap{height:auto;min-height:60vh;display:block;overflow:visible;border-right:none!important}body.focus-mode .focus-topbar{z-index:60;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#faf9f7d9;border:1px solid #b0b2b066;border-radius:.8rem;justify-content:space-between;align-items:center;width:min(56rem,100% - 2rem);padding:.85rem 1.1rem;display:flex;position:fixed;top:1rem;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #3033310d}body.focus-mode .writing-canvas:before{opacity:.1}body.focus-mode .editor-surface .ProseMirror{padding-top:.85rem;font-size:1.07rem;line-height:1.9}#btn-focus-toggle.focus-toggle-active{color:#545f76;background:#545f761f}[hidden]{display:none!important}.preview-tab-overlay{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#303331bf;justify-content:center;align-items:center;padding:1rem;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.preview-tab-container{background:#faf9f7;border-radius:1rem;flex-direction:column;width:100%;max-width:72rem;height:90vh;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 60px #3033314d}.preview-tab-header{background:#faf9f7f2;border-bottom:1px solid #b0b2b04d;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.preview-tab-content{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.preview-tab-content .preview-pane{flex:auto;min-height:0}@media (width<=1023px){.editor-workspace.has-preview{flex-direction:column}.editor-workspace.has-preview .editor-textarea-wrap{border-bottom:1px solid #b0b2b040;border-right:0}.preview-pane{flex:0 0 42vh;min-width:0}.frontmatter-wrap{margin:.75rem 1rem 0}.editor-surface{padding:.65rem 1rem 1.5rem}.plain-editor{padding:1rem}}@media (width<=767px){.screen{height:100dvh;min-height:100dvh}.editor-workspace.has-preview .editor-textarea-wrap{flex-basis:58%}.preview-pane-head{padding:.6rem .75rem}.preview-warnings{padding:.45rem .75rem}}.draft-banner{color:#6b4a1f;background:#fff7e6f2;border-bottom:1px solid #e0a84f59;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1rem;font-size:.8rem;display:flex}.draft-banner-msg{font-weight:500}.draft-banner-actions{gap:.4rem;display:flex}.draft-banner-primary,.draft-banner-secondary{cursor:pointer;border:0;border-radius:.35rem;padding:.25rem .7rem;font-size:.75rem;font-weight:700}.draft-banner-primary{color:#fff;background:#c2803a}.draft-banner-primary:hover{background:#a06a2e}.draft-banner-secondary{color:#6b4a1f;background:0 0}.draft-banner-secondary:hover{background:#c2803a1f}.editor-mode-bar{justify-content:flex-end;padding:.2rem 3rem 0;display:flex}.source-toggle{color:#5d605e;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:#f4f4f1b3;border:1px solid #b0b2b066;border-radius:.4rem;padding:.18rem .55rem;font-size:.68rem;font-weight:700}.source-toggle:hover{color:#303331;background:#545f761a}.source-toggle.active{color:#fff;background:#545f76;border-color:#545f76}.source-editor{box-sizing:border-box;resize:none;color:#303331;caret-color:#545f76;background:0 0;border:0;outline:none;flex:auto;width:100%;min-height:0;padding:.65rem 3rem 2rem;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;line-height:1.6}@media (width<=1023px){.editor-mode-bar{padding:.2rem 1rem 0}.source-editor{padding:.65rem 1rem 1.5rem}}.slash-menu{z-index:60;background:#fff;border:1px solid #b0b2b08c;border-radius:.55rem;min-width:14rem;max-height:18rem;padding:.25rem;font-size:.82rem;position:absolute;overflow-y:auto;box-shadow:0 6px 18px #3033311f}.slash-menu-empty{color:#5d605e;padding:.5rem .7rem;font-size:.78rem}.slash-menu-item{color:#303331;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.35rem;flex-direction:column;align-items:flex-start;gap:.1rem;width:100%;padding:.35rem .55rem;display:flex}.slash-menu-item.selected,.slash-menu-item:hover{background:#545f761f}.slash-menu-item-title{font-weight:600}.slash-menu-item-desc{color:#5d605e;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem}.sf-form{flex-direction:column;gap:.55rem;display:flex}.sf-field{flex-direction:column;gap:.18rem;display:flex}.sf-field-label{letter-spacing:.06em;text-transform:uppercase;color:#5d605e;font-size:.7rem;font-weight:700}.sf-field-req{color:#a83836;margin-left:.15rem}.sf-input{color:#303331;box-sizing:border-box;background:#fff;border:1px solid #b0b2b073;border-radius:.4rem;width:100%;padding:.3rem .5rem;font-family:Manrope,sans-serif;font-size:.82rem}.sf-input:focus{border-color:#545f76;outline:none;box-shadow:0 0 0 2px #545f762e}.sf-textarea{resize:vertical;min-height:3.5rem;font-family:inherit}.sf-raw-editor{resize:vertical;min-height:6rem;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;line-height:1.5}.sf-field-desc{color:#5d605e;font-size:.7rem}.sf-raw-toggle-btn{color:#545f76;cursor:pointer;background:0 0;border:0;border-radius:.35rem;align-self:flex-start;margin-top:.2rem;padding:0;font-size:.72rem;font-weight:600;text-decoration:underline}.sf-raw-toggle-btn:disabled{color:#b0b2b0;cursor:not-allowed;text-decoration:none}.sf-parse-error{color:#a83836;margin:.25rem 0 0;font-size:.72rem}.sf-toggle{cursor:pointer;background:#e8eae8;border:1px solid #b0b2b08c;border-radius:999px;width:2.4rem;height:1.35rem;margin:.2rem 0;padding:0;transition:background-color .12s,border-color .12s;position:relative}.sf-toggle-thumb{background:#fff;border-radius:50%;width:1rem;height:1rem;transition:left .12s;position:absolute;top:50%;left:.15rem;transform:translateY(-50%);box-shadow:0 1px 2px #00000026}.sf-toggle-on{background:#545f76;border-color:#545f76}.sf-toggle-on .sf-toggle-thumb{left:calc(100% - 1.15rem)}.sf-slider{align-items:center;gap:.55rem;display:flex}.sf-slider-range{accent-color:#545f76;flex:1}.sf-slider-value{font-variant-numeric:tabular-nums;color:#303331;text-align:right;min-width:2ch;font-size:.78rem}.sf-stepper{background:#fff;border:1px solid #b0b2b073;border-radius:.4rem;align-items:stretch;display:inline-flex;overflow:hidden}.sf-stepper-btn{color:#545f76;cursor:pointer;background:0 0;border:0;padding:0 .55rem;font-size:.95rem}.sf-stepper-btn:hover{background:#eef0ee}.sf-stepper-input{text-align:center;border:0;border-left:1px solid #b0b2b073;border-right:1px solid #b0b2b073;border-radius:0;width:4rem;padding:.3rem .25rem}.sf-stepper-input:focus{box-shadow:none;background:#f7f8f7}.sf-pill-group{background:#eef0ee;border-radius:999px;flex-wrap:wrap;gap:.25rem;padding:.18rem;display:inline-flex}.sf-pill{color:#5d605e;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.25rem .7rem;font-size:.76rem;font-weight:600;transition:background-color .12s,color .12s}.sf-pill:hover{background:#fff9}.sf-pill-active{color:#fff;background:#545f76}.sf-pill-active:hover{background:#545f76}.sf-search-select{position:relative}.sf-search-menu{z-index:30;background:#fff;border:1px solid #b0b2b08c;border-radius:.45rem;width:100%;max-height:12rem;margin:.15rem 0 0;padding:.2rem;list-style:none;position:absolute;overflow-y:auto;box-shadow:0 8px 22px #0000001f}.sf-search-option{text-align:left;color:#303331;cursor:pointer;background:0 0;border:0;border-radius:.3rem;width:100%;padding:.3rem .5rem;font-size:.82rem}.sf-search-option:hover{background:#eef0ee}.sf-search-option-active{color:#303331;background:#545f761f}.sf-tag-chips{background:#fff;border:1px solid #b0b2b073;border-radius:.4rem;flex-wrap:wrap;gap:.3rem;padding:.25rem .35rem;display:flex}.sf-tag-chip{color:#303331;background:#eef0ee;border-radius:999px;align-items:center;gap:.25rem;padding:.1rem .55rem;font-size:.76rem;display:inline-flex}.sf-tag-chip-remove{color:#5d605e;cursor:pointer;background:0 0;border:0;padding:0;font-size:.85rem;line-height:1}.sf-tag-chip-remove:hover{color:#a83836}.sf-tag-chip-input{color:#303331;background:0 0;border:0;outline:none;flex:1;min-width:6rem;padding:.15rem .2rem;font-size:.82rem}.sf-disclosure,.sf-collapsible{border-top:1px dashed #b0b2b073;margin-top:.2rem;padding-top:.45rem}.sf-disclosure-summary,.sf-collapsible-summary{cursor:pointer;letter-spacing:.06em;text-transform:uppercase;color:#545f76;-webkit-user-select:none;user-select:none;padding:.15rem 0;font-size:.72rem;font-weight:700;list-style:none}.sf-disclosure-summary::-webkit-details-marker{display:none}.sf-collapsible-summary::-webkit-details-marker{display:none}.sf-disclosure-body,.sf-collapsible-body{flex-direction:column;gap:.55rem;padding-top:.4rem;display:flex}.conflict-overlay{z-index:120;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d0e0e8c;justify-content:center;align-items:center;padding:1.25rem;display:flex;position:fixed;inset:0}.conflict-card{background:#fff;border-radius:.85rem;width:100%;max-width:28rem;padding:1.25rem 1.5rem 1.1rem;box-shadow:0 20px 60px #3033313d}.conflict-title{color:#303331;margin:0 0 .5rem;font-size:1.05rem;font-weight:800}.conflict-body{color:#303331;margin:0 0 .6rem;font-size:.86rem;line-height:1.5}.conflict-body code{background:#edeeec;border-radius:.25rem;padding:.06rem .3rem;font-family:"ui-monospace",SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8em}.conflict-detail{color:#6e0a12;word-break:break-word;background:#a8383614;border-left:3px solid #a83836;border-radius:.3rem;margin:0 0 .85rem;padding:.5rem .7rem;font-size:.78rem}.conflict-actions{flex-direction:column;gap:.45rem;display:flex}.conflict-btn{cursor:pointer;text-align:left;border:0;border-radius:.5rem;padding:.55rem .85rem;font-size:.84rem;font-weight:700}.conflict-btn-primary{color:#f8f8ff;background:#545f76}.conflict-btn-primary:hover{background:#485369}.conflict-btn-warning{color:#6e0a12;background:#a838361a}.conflict-btn-warning:hover{background:#a838362e}.conflict-btn-ghost{color:#5d605e;background:0 0}.conflict-btn-ghost:hover{color:#303331;background:#edeeec}
