/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--sidebar:#f7f7f8;--surface-hover:#eeeef0;--border:#e7e7e9;--foreground:#202124;--muted-foreground:#646971;--accent:#5365b8;--selected:#e9ebf3;--selection:#dce2ff;--focus:#5365b8;--destructive:#a52a35;--code:#f5f5f7;--tooltip:#202124;--tooltip-foreground:#fff;--scrollbar:#c6c8ce;--syntax-keyword:#70509d;--syntax-string:#346542;--syntax-number:#8c4e20;--font-ui:Inter, system-ui, -apple-system, "Segoe UI", "Noto Sans CJK SC", sans-serif;--font-code:ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;font-family:var(--font-ui);color:var(--foreground);background:var(--background);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#202124;--sidebar:#191a1c;--surface-hover:#303135;--border:#35363a;--foreground:#eee;--muted-foreground:#a1a1a8;--accent:#94a8ff;--selected:#2d3244;--selection:#465a86;--focus:#94a8ff;--destructive:#ff9ba6;--syntax-keyword:#c2a3ee;--syntax-string:#99c3a4;--syntax-number:#ddb38b;--code:#292a2e;--tooltip:#eee;--tooltip-foreground:#202124;--scrollbar:#55565e}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}::selection{background:var(--selection)}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent}.workbench{flex-direction:column;height:100dvh;font-size:13px;display:flex;overflow:hidden}.topbar{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;height:44px;padding:0 14px;display:flex}.brand,.topbar-actions,.document-actions,.breadcrumb,.tabs-row,.tab,.file-row,.folder-label{align-items:center;display:flex}.brand{letter-spacing:-.3px;gap:10px;font-size:15px;font-weight:650}.brand-mark{font:italic 700 25px/1 Georgia,serif}.workspace-name{color:var(--muted-foreground);border-left:1px solid var(--border);letter-spacing:0;margin-left:6px;padding-left:12px;font-size:12px;font-weight:400}.topbar-actions{gap:4px}.phase{color:var(--muted-foreground);margin-right:12px;font-size:11px}.button{white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 10px;font-size:12px;transition:background .14s;display:inline-flex}.button:hover{background:var(--surface-hover)}.button-outline{border-color:var(--border);background:var(--background)}.button-icon{width:30px;color:var(--muted-foreground);flex-shrink:0;padding:0}.workspace-body{flex:1;min-height:0;display:flex}.explorer{resize:horizontal;border-right:1px solid var(--border);background:var(--sidebar);flex-direction:column;flex-shrink:0;width:240px;min-width:200px;max-width:360px;padding:17px 10px 0;display:flex;overflow:auto}.sidebar-hidden .explorer{display:none}.explorer-heading{color:var(--muted-foreground);justify-content:space-between;padding:0 10px 16px;font-size:12px;display:flex}.subtle{opacity:.7;font-variant-numeric:tabular-nums}.folder-label{height:32px;color:var(--muted-foreground);gap:7px;padding:0 5px;font-size:12px}.expanded{transform:rotate(90deg)}.file-row{text-align:left;background:0 0;border:0;border-radius:5px;gap:8px;width:100%;height:32px;margin-bottom:3px;padding:0 10px 0 26px}.file-row svg{color:var(--muted-foreground);flex-shrink:0}.file-row:hover{background:var(--surface-hover)}.file-row.selected{background:var(--selected)}.file-row span:not(.dirty-dot){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dirty-dot{background:var(--muted-foreground);border-radius:50%;flex-shrink:0;width:5px;height:5px;margin-left:auto}.explorer-foot{color:var(--muted-foreground);margin-top:auto;padding:24px 10px 20px;font-size:11px;line-height:1.8}.small-label{letter-spacing:1px;font-size:11px}.explorer-foot p{margin:8px 0 0}.main-pane{flex-direction:column;flex:1;min-width:0;display:flex}.tabs-row{background:var(--sidebar);border-bottom:1px solid var(--border);flex-shrink:0;gap:3px;height:38px;padding-left:6px}.tabs{height:100%;display:flex;overflow:auto hidden}.tab{border:0;border-right:1px solid var(--border);min-width:142px;color:var(--muted-foreground);white-space:nowrap;background:0 0;border-bottom:2px solid #0000;gap:7px;padding:0 15px;font-size:12px}.tab.active{background:var(--background);border-bottom-color:var(--accent);color:var(--foreground)}.tab:hover:not(.active){background:var(--surface-hover)}.document-panel{flex-direction:column;flex:1;min-height:0;display:flex}.document-toolbar{justify-content:space-between;align-items:center;gap:10px;min-height:50px;padding:8px 24px;display:flex}.breadcrumb{color:var(--muted-foreground);gap:7px;min-width:0;font-size:11px}.breadcrumb span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.breadcrumb span:last-child{color:var(--foreground)}.document-actions{gap:10px}.mode-switch{background:var(--sidebar);border:1px solid var(--border);border-radius:7px;padding:2px;display:flex}.mode-switch .button{height:25px;color:var(--muted-foreground);padding:0 8px;font-size:11px}.mode-switch .button[aria-pressed=true]{background:var(--background);color:var(--foreground);box-shadow:0 1px 2px #00000010}.editor-scroll{flex:1;min-height:0;overflow:auto}.editor-loading,.editor-error{max-width:800px;color:var(--muted-foreground);margin:30px auto;padding:0 32px}.notice{background:var(--sidebar);border:1px solid var(--border);border-radius:6px;align-items:center;gap:9px;margin:0 24px 8px;padding:8px 10px;font-size:12px;line-height:1.6;display:flex}.notice>svg{color:var(--accent);flex-shrink:0}.notice>span{flex:1}.rich-host{flex-direction:column;max-width:880px;min-height:100%;margin:0 auto;padding:12px 36px 0;display:flex}.rich-editor-root,.rich-editor-root .milkdown{flex-direction:column;flex:1;display:flex}.rich-host .milkdown{--crepe-color-background:var(--background);--crepe-color-on-background:var(--foreground);--crepe-color-surface:var(--sidebar);--crepe-color-surface-low:var(--code);--crepe-color-on-surface:var(--foreground);--crepe-color-on-surface-variant:var(--muted-foreground);--crepe-color-outline:var(--muted-foreground);--crepe-color-primary:var(--accent);--crepe-color-secondary:var(--selected);--crepe-color-on-secondary:var(--foreground);--crepe-color-inverse:var(--tooltip);--crepe-color-on-inverse:var(--tooltip-foreground);--crepe-color-inline-code:var(--foreground);--crepe-color-error:var(--destructive);--crepe-color-hover:var(--surface-hover);--crepe-color-selected:var(--selected);--crepe-color-inline-area:var(--code);--crepe-font-title:var(--font-ui);--crepe-font-default:var(--font-ui);--crepe-font-code:var(--font-code)}.rich-host .milkdown .ProseMirror{outline:none;flex:1;padding:0 0 80px;font-size:16px;line-height:1.75}.rich-host .milkdown .ProseMirror h1{letter-spacing:-.8px;margin:20px 0 24px;font-size:30px;font-weight:650;line-height:1.4}.rich-host .milkdown .ProseMirror h2{margin:28px 0 12px;font-size:21px;font-weight:600}.rich-host .milkdown .ProseMirror p{margin:12px 0}.rich-host .milkdown .ProseMirror blockquote{border-left:3px solid var(--border);color:var(--muted-foreground);padding-left:18px}.source-host{height:100%;min-height:240px;padding:12px 12px 0}.source-host .cm-editor{height:100%;color:var(--foreground);background:var(--background);font-family:var(--font-code);font-size:14px}.source-host .cm-editor.cm-focused{outline:none}.source-host .cm-content{caret-color:var(--foreground);padding:8px 0 80px;line-height:1.8}.source-host .cm-line{padding:0 16px}.source-host .cm-gutters{background:var(--background);color:var(--muted-foreground);border:0}.source-host .cm-activeLine{background:0 0}.source-host .cm-selectionBackground,.source-host .cm-focused .cm-selectionBackground{background:var(--selection)!important}.source-host .cm-cursor{border-left-color:var(--foreground)}.statusbar{border-top:1px solid var(--border);height:28px;color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;align-items:center;gap:12px;padding:0 14px;font-size:11px;display:flex;overflow:hidden}.status-divider{border-left:1px solid var(--border);margin-left:10px;padding-left:10px}.dialog-overlay{z-index:30;background:#0006;position:fixed;inset:0}.dialog-content{background:var(--background);border:1px solid var(--border);z-index:31;border-radius:10px;width:min(460px,100vw - 32px);max-height:85dvh;padding:28px;font-size:13px;line-height:1.8;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 12px 50px #0003}.dialog-content h2{margin:0 20px 12px 0;font-size:18px}.dialog-content p{color:var(--muted-foreground)}.dialog-close{position:absolute;top:12px;right:12px}@media (width<=1023px){.explorer{width:210px}.rich-host{padding-inline:28px}.history-hint{display:none}}@media (width<=767px){.workspace-name,.phase{display:none}.topbar{height:48px}.explorer{resize:none;z-index:20;width:200px;min-width:200px;max-width:200px;position:absolute;top:86px;bottom:28px;box-shadow:10px 0 25px #0002}.explorer-foot{padding-bottom:12px}.tabs-row{height:38px}.document-toolbar{flex-wrap:wrap;padding:8px 12px}.breadcrumb{font-size:10px}.breadcrumb>span:first-child,.breadcrumb>svg{display:none}.document-actions{gap:4px}.button-icon{width:40px;height:40px}.mode-switch .button{min-height:36px}.file-row{height:40px}.rich-host{padding:4px 22px 0}.rich-host .milkdown .ProseMirror{padding-bottom:60px}.rich-host .milkdown .ProseMirror h1{font-size:26px}.notice{margin:0 12px 8px}.statusbar{padding-inline:10px;font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.rich-host .milkdown .ProseMirror .milkdown-list-item-block .children p{margin:2px 0}.rich-host .milkdown button:focus-visible,.rich-host .milkdown input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.rich-host .milkdown .ProseMirror:focus-visible,.source-host .cm-content:focus-visible{outline:none}.source-host .cm-editor:has(.cm-content:focus-visible) .cm-gutters{color:var(--foreground)}@media (width<=767px){.tabs-row{height:44px}.tab-close-target{flex-basis:40px;height:40px}}.login-page{place-items:center;min-height:100dvh;padding:32px 24px;display:grid}.login-form{width:min(340px,100%);font-size:13px}.login-brand{align-items:center;gap:10px;margin-bottom:40px;font-size:17px;font-weight:650;display:flex}.login-form h1{letter-spacing:-.4px;margin-bottom:10px;font-size:22px;font-weight:600}.login-form p{color:var(--muted-foreground);margin-bottom:24px;line-height:1.8}.login-form label,.dialog-content form label{margin:16px 0 6px;font-size:12px;display:block}.login-form input,.dialog-content input{background:var(--background);border:1px solid var(--border);width:100%;color:var(--foreground);font:inherit;border-radius:6px;padding:9px 12px}.login-form input[readonly]{color:var(--muted-foreground);background:var(--sidebar)}.login-form>.button{width:100%;height:38px;margin-top:24px}.login-form .login-help{margin-top:22px;font-size:11px}.form-error,.login-form .form-error{color:var(--destructive);margin:12px 0;font-size:12px}.explorer-tools{gap:1px;display:flex}.explorer-tools .button-icon{width:25px;height:25px}.explorer-heading:has(.explorer-tools){align-items:center;padding:0 3px 10px 10px}.root-folder{text-align:left;background:0 0;border:0;border-radius:5px;margin-bottom:5px}.root-folder:hover{background:var(--surface-hover)}.directory-selected{color:var(--foreground);background:var(--surface-hover)}.tree-message{color:var(--muted-foreground);overflow-wrap:anywhere;padding:8px 12px;font-size:11px}.folder-row{gap:4px}.tab-container{border-right:1px solid var(--border);align-items:center;display:flex}.tab-container .tab{border-right:none;min-width:auto;max-width:200px;height:100%;padding-right:8px}.tab-container .tab>span:not(.dirty-dot):not(.tab-close-target){text-overflow:ellipsis;overflow:hidden}.tab-container.active{background:var(--background)}.tab-close-target{border-radius:4px;flex:0 0 24px;justify-content:center;align-items:center;height:24px;margin-left:2px;display:inline-flex}.tab-close-target:hover{background:var(--surface-hover)}.close-current-tab{margin:0 4px}.close-current-tab:not(:focus){clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.empty-workspace{color:var(--muted-foreground);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:32px;display:flex}.empty-workspace h1{color:var(--foreground);margin:20px 0 10px;font-size:20px;font-weight:550}.empty-workspace p{margin-bottom:20px;font-size:13px;line-height:1.8}.save-error>svg{color:var(--destructive)}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;display:flex}.conflict-dialog{width:min(920px,100vw - 32px)}.compare-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.compare-columns>div{flex-direction:column;gap:8px;min-width:0;display:flex}.compare-columns label{flex-direction:column;gap:8px;font-size:12px;display:flex}.compare-columns textarea{resize:vertical;background:var(--sidebar);min-height:260px;color:var(--foreground);border:1px solid var(--border);font:12px/1.8 var(--font-code);border-radius:6px;padding:12px}.conversion-dialog details{margin-top:16px}.conversion-dialog summary{cursor:pointer}.conversion-diff{white-space:pre;background:var(--sidebar);border:1px solid var(--border);max-height:280px;font:12px/1.8 var(--font-code);border-radius:6px;padding:12px;overflow:auto}@media (width<=767px){.compare-columns{grid-template-columns:1fr}.compare-columns textarea{min-height:150px}.explorer-tools .button-icon{width:36px;height:36px}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.image-viewer{background:var(--sidebar);flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100%;padding:32px;display:flex}.image-viewer>img{object-fit:contain;max-width:100%;max-height:70dvh}.viewer-caption{color:var(--muted-foreground);align-items:center;gap:20px;font-size:12px;display:flex}.pdf-viewer{background:var(--sidebar);text-align:center;min-height:100%;padding:16px 24px 40px}.pdf-toolbar{color:var(--muted-foreground);justify-content:center;align-items:center;gap:12px;margin-bottom:16px;font-size:12px;display:flex}.pdf-viewer canvas{background:#fff;max-width:100%;height:auto;margin:0 auto;box-shadow:0 1px 6px #0002}.pdf-viewer canvas[hidden]{display:none}.folio-markdown-image{object-fit:contain;max-width:100%;max-height:70dvh}@media (width<=767px){.image-viewer{padding:20px}.pdf-viewer{padding-inline:12px}.pdf-toolbar{flex-wrap:wrap;gap:2px}}.notice>span{overflow-wrap:anywhere}.pdf-hint{color:var(--muted-foreground);margin-bottom:16px;font-size:11px;line-height:1.6}.tree-entry{border-radius:5px;align-items:center;display:flex;position:relative}.tree-entry.selected{background:var(--selected)}.tree-entry .file-row{flex:1;min-width:0;margin-bottom:2px;padding-right:30px}.entry-menu-trigger{opacity:0;width:26px;height:28px;position:absolute;top:1px;right:2px}.tree-entry:hover .entry-menu-trigger,.tree-entry:focus-within .entry-menu-trigger,.entry-menu-trigger[data-state=open]{opacity:1}.context-menu{z-index:40;border:1px solid var(--border);background:var(--background);min-width:150px;color:var(--foreground);border-radius:8px;padding:4px;font-size:12px;box-shadow:0 5px 20px #0002}.context-menu [role=menuitem]{cursor:default;border-radius:4px;outline:none;padding:7px 10px}.context-menu [data-highlighted]{background:var(--surface-hover)}.context-menu [role=separator]{background:var(--border);height:1px;margin:4px}.context-menu .destructive{color:var(--destructive)}.inline-rename{align-items:center;gap:1px;width:100%;padding:2px 0;display:flex}.inline-rename input{border:1px solid var(--focus);background:var(--background);width:100%;min-width:0;color:var(--foreground);border-radius:4px;padding:4px 6px;font-size:12px}.inline-rename .button-icon{width:23px;height:28px}.editor-scroll[inert]{opacity:.65}.trash-dialog{width:min(620px,100vw - 32px)}.trash-row{border-bottom:1px solid var(--border);align-items:center;gap:16px;padding:12px 0;display:flex}.trash-row>div{flex:1;min-width:0}.trash-row span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.trash-row small{color:var(--muted-foreground);margin-top:4px;font-size:10px;display:block}.trash-empty{text-align:center;padding:24px 0}@media (width<=767px){.entry-menu-trigger{opacity:1;width:34px;height:38px}.inline-rename .button-icon{width:32px;height:38px}.context-menu [role=menuitem]{min-height:40px}}.quick-open-trigger{min-width:200px;color:var(--muted-foreground);background:var(--sidebar);border-color:var(--border);justify-content:flex-start;gap:8px;margin-right:12px}.quick-open-trigger kbd{color:var(--muted-foreground);margin-left:auto;font-size:10px}.search-dialog{flex-direction:column;width:min(660px,100vw - 32px);max-height:80dvh;padding:0;display:flex;overflow:hidden}.search-heading{justify-content:space-between;align-items:center;padding:16px 20px 4px;display:flex}.search-heading h2{margin:0;font-size:14px;font-weight:600}.search-input{color:var(--muted-foreground);border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:12px 20px 16px;display:flex}.search-input input{border:0;border-radius:0;flex:1;min-width:0;padding:0;font-size:14px}.search-input input:focus-visible{outline:none}.search-input:focus-within{box-shadow:inset 0 -2px var(--focus)}.search-results{overflow-anchor:none;height:min(420px,50dvh);min-height:100px;max-height:50dvh;padding:6px;overflow:auto}.search-result{text-align:left;background:0 0;border:0;border-radius:5px;align-items:flex-start;gap:10px;width:100%;padding:10px 12px;display:flex}.search-result[aria-selected=true]{background:var(--selected)}.search-result>svg{color:var(--muted-foreground);flex-shrink:0;margin-top:3px}.search-result>div{min-width:0}.search-result strong{font-size:13px;font-weight:500;display:block}.search-result span{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:11px;display:block}.search-result p{color:var(--muted-foreground);white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:11px;line-height:1.65}.search-empty{color:var(--muted-foreground);text-align:center;padding:28px 16px;font-size:12px}.search-notice{background:var(--sidebar);color:var(--muted-foreground);overflow-wrap:anywhere;margin:0;padding:8px 20px;font-size:11px}.search-footer{border-top:1px solid var(--border);color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:10px;display:flex}.search-footer>div{display:flex}.search-footer .button{padding-inline:7px;font-size:10px}@media (width<=767px){.quick-open-trigger{justify-content:center;width:40px;min-width:40px;height:40px;margin-right:0;padding:0}.quick-open-trigger span,.quick-open-trigger kbd{display:none}.search-footer{flex-direction:column;align-items:flex-start}}.root-folder{z-index:1;background:var(--sidebar);flex-shrink:0;width:100%;position:sticky;top:0}.file-row.drop-target,.root-folder.drop-target{outline:1px solid var(--accent);outline-offset:-1px;background:var(--selected)}.file-row.drag-source{opacity:.55}.tree-drag-status{color:var(--muted-foreground);overflow-wrap:anywhere;padding:0 8px;font-size:11px}.tree-drag-status:not(:empty){padding-block:8px}.shortcut-list{margin:20px 0}.shortcut-list>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding:6px 0;display:flex}.shortcut-list dd{color:var(--muted-foreground);text-align:right;margin:0;font-size:11px}.explorer>nav{flex:1;min-height:0;overflow:auto}.root-folder.directory-selected{background:var(--surface-hover)}.draft-recovery-trigger{height:22px;padding:0 5px;font-size:10px}.draft-cache-state{font-size:10px}.recovery-dialog{width:min(1040px,100vw - 32px)}.recovery-layout{grid-template-columns:210px minmax(0,1fr);gap:20px;margin-top:20px;display:grid}.recovery-list{max-height:55dvh;overflow:auto}.recovery-list>button{text-align:left;background:0 0;border:0;border-radius:5px;width:100%;padding:10px;display:block}.recovery-list>button:hover{background:var(--surface-hover)}.recovery-list>button[aria-pressed=true]{background:var(--selected)}.recovery-list strong,.recovery-list span{overflow-wrap:anywhere;display:block}.recovery-list strong{font-size:12px;font-weight:550}.recovery-list span{color:var(--muted-foreground);font-size:10px}.recovery-preview{min-width:0}.recovery-preview .compare-columns textarea{min-height:220px}.recovery-actions{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.recovery-delete{border:1px solid var(--border);border-radius:6px;margin-top:16px;padding:12px}@media (width<=767px){.recovery-layout{grid-template-columns:1fr}.recovery-list{max-height:160px}.draft-cache-state{display:none}.workbench{inset-inline:0;top:var(--folio-visible-top,0px);height:var(--folio-visible-height,100dvh);padding-bottom:env(safe-area-inset-bottom);position:fixed}.topbar{padding-inline:max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right))}.explorer-drawer.explorer{top:var(--folio-visible-top,0px);height:var(--folio-visible-height,100dvh);z-index:31;width:min(320px,100vw - 40px);min-width:0;max-width:none;padding:max(16px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));margin:0;position:fixed;bottom:auto;left:0;box-shadow:8px 0 30px #0003}.explorer-drawer .explorer-heading{gap:8px;padding:0 0 12px 4px}.explorer-drawer .explorer-foot{padding:12px 4px 0}.explorer-overlay{top:var(--folio-visible-top,0px);height:var(--folio-visible-height,100dvh);bottom:auto}.drawer-upload{text-overflow:ellipsis;flex-shrink:0;justify-content:flex-start;width:100%;margin-bottom:12px;overflow:hidden}.button,.root-folder{min-height:40px}.explorer-tools .button-icon,.entry-menu-trigger,.inline-rename .button-icon,.tab-container .tab-close{width:40px;height:40px}.tree-entry .file-row{margin-bottom:2px;padding-right:44px}.tab-container{flex-shrink:0}.tabs-row{min-height:44px}.statusbar{flex-shrink:0;min-height:42px}.draft-recovery-trigger{min-height:40px;font-size:11px}.mode-switch .button{min-height:40px}.notice{flex-wrap:wrap;gap:6px}.notice>span{flex:180px;min-width:0}.dialog-content{top:calc(var(--folio-visible-top,0px) + var(--folio-visible-height,100dvh) * .5);max-height:calc(var(--folio-visible-height,100dvh) - 24px);padding:20px}.dialog-content input{font-size:16px}.search-dialog{padding:0}.search-results{height:calc(var(--folio-visible-height,100dvh) * .45);max-height:calc(var(--folio-visible-height,100dvh) * .45)}.search-footer .button{font-size:11px}.recovery-dialog .compare-columns textarea{min-height:140px}.viewer-caption{flex-wrap:wrap;justify-content:center;gap:8px}.inline-rename input,.login-form input,.source-host .cm-editor{font-size:16px}}@media (pointer:coarse){.button,.root-folder{min-height:40px}.button-icon,.explorer-tools .button-icon,.entry-menu-trigger,.inline-rename .button-icon,.tab-container .tab-close{width:40px;height:40px}.file-row{min-height:40px}.tabs-row{min-height:44px}.statusbar{min-height:42px}.context-menu [role=menuitem]{min-height:40px}}@media (width<=767px){.drawer-upload-row{gap:6px;margin-bottom:12px;display:flex}.drawer-upload-row .drawer-upload{flex:1;min-width:0;margin-bottom:0}}.upload-failures{border:1px solid var(--border);background:var(--sidebar);overflow-wrap:anywhere;border-radius:6px;margin:0 24px 12px;padding:10px 12px;font-size:12px;line-height:1.6}.upload-failures>p{margin:0 0 8px}.upload-failure{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px;display:flex}.upload-failure>span{flex:160px;min-width:0}.explorer-drawer .upload-failures{flex-shrink:0;max-height:35dvh;margin-inline:0;overflow:auto}@media (width<=767px){.upload-failures{margin-inline:12px}}.upload-failures{flex-shrink:0;max-height:35dvh;overflow:auto}@media (width<=767px){.inline-rename input,.login-form input{min-height:40px}}.explorer>nav{padding-bottom:24px}.account-controls{font-size:12px;line-height:1.8}.account-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.account-row a,.settings-back{color:var(--muted-foreground);text-decoration:none}.account-name{text-overflow:ellipsis;max-width:120px;color:var(--foreground);background:0 0;border:0;padding:0;overflow:hidden}.quota-full{color:var(--destructive)}.settings-page{min-height:100dvh;font-size:13px}.settings-header{border-bottom:1px solid var(--border);height:52px;color:var(--muted-foreground);justify-content:space-between;align-items:center;padding:0 28px;display:flex}.settings-back{align-items:center;gap:8px;display:inline-flex}.settings-layout{grid-template-columns:170px minmax(0,1fr);gap:40px;max-width:1240px;margin:auto;padding:36px 28px;display:grid}.settings-nav h1{margin:0 0 24px;font-size:17px;font-weight:600}.settings-nav>span{background:var(--selected);border-radius:6px;padding:9px 12px;display:block}.users-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.users-heading h2{margin:0;font-size:18px;font-weight:600}.users-heading h2 span{color:var(--muted-foreground);margin-left:8px;font-size:13px;font-weight:400}.user-search{border:1px solid var(--border);color:var(--muted-foreground);border-radius:6px;align-items:center;gap:8px;margin-bottom:20px;padding:0 12px;display:flex}.user-search input{color:var(--foreground);width:100%;min-width:0;font:inherit;background:0 0;border:0;padding:10px 0}.users-table-scroll{overflow-x:auto}.users-table{border-collapse:collapse;text-align:left;width:100%}.users-table th{color:var(--muted-foreground);font-size:12px;font-weight:500}.users-table th,.users-table td{border-bottom:1px solid var(--border);white-space:nowrap;padding:12px 10px}.users-table td:first-child{text-overflow:ellipsis;max-width:220px;overflow:hidden}.users-table th:first-child,.users-table td:first-child{padding-left:0}.user-actions{gap:4px;display:flex}.users-pagination,.user-form-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;display:flex}.users-pagination>span{color:var(--muted-foreground);margin-right:auto}.users-empty{text-align:center;height:120px;color:var(--muted-foreground)}.dialog-content select{background:var(--background);color:var(--foreground);font:inherit;border:1px solid var(--border);border-radius:6px;width:100%;padding:9px 12px}.quota-input{gap:8px;display:flex}.quota-input select{flex-shrink:0;width:90px}.form-submit{margin-top:20px}.muted{color:var(--muted-foreground)}@media (width<=767px){.settings-header{padding:0 16px}.settings-layout{padding:24px 16px;display:block}.settings-nav{margin-bottom:28px}.settings-nav h1{margin-bottom:12px}.users-table{min-width:590px}.user-search input,.dialog-content select{font-size:16px}}.statusbar-left{flex:1;align-items:center;gap:16px;min-width:0;display:flex}.statusbar .save-status{white-space:nowrap;text-overflow:ellipsis;flex:0 0 14em;overflow:hidden}.statusbar .draft-cache-state{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.statusbar .draft-recovery-trigger{flex:0 0 124px;justify-content:flex-start}.recovery-count{text-align:right;font-variant-numeric:tabular-nums;width:2em}.quota-usage{font-variant-numeric:tabular-nums;flex-direction:column;align-items:stretch;gap:7px;display:flex}.quota-meter{background:var(--border);border-radius:2px;flex:0 0 4px;width:100%;height:4px;display:block;overflow:hidden}.quota-meter>span{background:var(--accent);border-radius:inherit;height:100%;display:block}.quota-full .quota-meter>span{background:var(--destructive)}.file-type-icon{flex-shrink:0;display:block}@media (width<=767px){.statusbar .save-status{flex:1;min-width:0}}.search-group{color:var(--muted-foreground);padding:8px 12px 4px;font-size:11px}.search-progress{color:var(--muted-foreground);margin:0;padding:8px 12px;font-size:12px}.statusbar .file-status{white-space:nowrap;flex:0 0 210px;align-items:center;gap:12px;min-width:0;display:flex}.file-status .file-size{text-align:right;flex:0 0 62px}.file-index-state{text-align:left;min-width:0;font:inherit;color:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:1;padding:0;overflow:hidden}.file-index-state:hover{color:var(--foreground)}@media (width<=767px){.source-host{padding:8px 0 0}.source-host .cm-line{padding-inline:4px}.source-host .cm-lineNumbers{font-size:inherit;line-height:1.8}.source-host .cm-lineNumbers .cm-gutterElement{min-width:2ch;padding-inline:0 2px}.statusbar{grid-template-rows:40px;grid-template-columns:68px minmax(0,1fr) 40px;gap:8px;height:41px;min-height:41px;padding:0 8px;font-size:11px;display:grid}.statusbar-left{grid-column:1;gap:0}:is(.statusbar .draft-cache-state,.statusbar-left:has(.draft-cache-state[data-phase=failed]) .save-status){display:none}.statusbar .draft-cache-state[data-phase=failed]{color:var(--destructive);display:block}.statusbar .file-status{grid-column:2;gap:10px}.file-status .file-size{text-align:left;flex:none}.file-status .file-index-state{flex:1;min-height:40px}.statusbar .draft-recovery-trigger{grid-column:3;justify-content:center;width:40px;min-height:40px;padding:0;position:relative}.draft-recovery-trigger .recovery-label{display:none}.draft-recovery-trigger .recovery-count{width:auto;font-size:9px;line-height:12px;position:absolute;top:0;right:1px}.draft-recovery-trigger .recovery-count:empty{display:none}}.context-menu [role=menuitem][data-disabled]{opacity:.45;cursor:default}.settings-nav nav{gap:4px;display:grid}.settings-nav nav button{text-align:left;border-radius:6px;padding:9px 12px}.settings-nav nav button[aria-current=page]{background:var(--selected)}.system-form{max-width:640px}.system-field{border-bottom:1px solid var(--border);grid-template-columns:minmax(140px,1fr) minmax(0,240px);align-items:center;gap:16px;padding:14px 0;display:grid}.system-number{align-items:center;gap:10px;display:flex}.system-number input{border:1px solid var(--border);background:var(--background);border-radius:6px;width:140px;min-width:0;padding:7px 10px}.system-number span{color:var(--muted-foreground);white-space:nowrap}.system-form>button{margin-top:20px}.system-status-actions{align-items:center;gap:12px;display:flex}.system-status-actions label{align-items:center;gap:6px;font-size:12px;display:flex}.system-metrics{border-top:1px solid var(--border);padding:16px 0}.system-metrics h3{margin:0 0 12px;font-size:13px;font-weight:600}.system-metrics dl{margin:0}.system-metrics dl>div{grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:20px;padding:6px 0;display:grid}.system-metrics dt{color:var(--muted-foreground)}.system-metrics dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0}@media (width<=767px){.settings-nav nav{flex-wrap:wrap;display:flex}.system-status-actions{flex-wrap:wrap;justify-content:flex-end}.system-field{grid-template-columns:minmax(110px,1fr) minmax(0,180px);gap:8px}.system-number input{width:100px}.system-metrics dl>div{grid-template-columns:minmax(130px,1fr) minmax(0,1fr);gap:12px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
