@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,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)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:var(--text);background:var(--surface);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;--surface:#fff;--canvas:#fbfaf7;--sidebar:#f3f1eb;--text:#18252b;--muted:#5f6d68;--accent:#84552d;--accent-soft:#f0e6d9;--text-selection:#dcebff;--border:#dee3df;--control-border:#85938b;--danger:#aa3636;--danger-soft:#fceded;--on-accent:#fff;--warning:#865515;--warning-soft:#fff4df;--success:#26734d;--success-soft:#eaf4ee;--info-soft:#f3f5f7;--switch-off:#e8ebe7;--code:#315f9a;--focus:#3268af;--font-code:"JetBrains Mono Variable", monospace;font-family:Inter Variable,sans-serif;font-size:14px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#18252b;--canvas:#121c21;--sidebar:#152127;--text:#edf1ee;--muted:#aebdb8;--accent:#d6b183;--accent-soft:#3a3027;--text-selection:#506f95;--border:#35444a;--control-border:#7e9189;--focus:#90b8f0;--danger:#f2a0a0;--danger-soft:#422b2e;--on-accent:#18252b;--warning:#e2bc77;--warning-soft:#3a3021;--success:#85c5a0;--success-soft:#203a30;--info-soft:var(--canvas);--switch-off:var(--border);--code:#9fc5f8}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,main:focus-visible,.header-path-tooltip h1:focus-visible,.editor-path:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.shell{grid-template-rows:60px 48px 48px minmax(0,1fr) 36px;grid-template-columns:minmax(0,1fr);height:100dvh;display:grid}.app-header{border-bottom:1px solid var(--border);align-items:center;padding:0 24px 0 16px;display:flex}.wordmark{text-align:left;background:0 0;border:0;align-items:center;gap:14px;width:184px;height:40px;padding:0;font-size:18px;font-weight:700;display:flex}.book-key{background:var(--text);flex:none;width:28px;height:28px;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}h1{text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0 24px 0 64px;font-size:14px;font-weight:600;line-height:24px;overflow:hidden}.header-actions{gap:8px;display:flex}.icon-button{background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}.icon-button:not(:disabled):hover,.navigator-command:not(:disabled):hover,.tab-menu:not(:disabled):hover,.tab-close:not(:disabled):hover{background:var(--accent-soft)}.icon-button:disabled,.navigator-command:disabled,.tab-menu:disabled{color:var(--muted);opacity:.5}.tooltip-trigger{flex:none;align-items:center;min-width:0;display:inline-flex;position:relative}.tooltip-panel{z-index:10000;border:1px solid color-mix(in srgb, var(--border) 80%, var(--text) 20%);background:color-mix(in srgb, var(--surface) 94%, var(--text) 6%);width:max-content;max-width:min(240px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--text);text-align:left;white-space:normal;overflow-wrap:anywhere;border-radius:6px;padding:7px 9px;font:700 12px/1.35 Inter Variable,sans-serif;position:fixed;overflow-y:auto;box-shadow:0 10px 26px #18252b2e}.header-path-tooltip{flex:1;margin:0 24px 0 64px}.header-path-tooltip h1{margin:0}.tab-label-tooltip,.editor-path-tooltip{flex:1}.icon-button[aria-label=Ustawienia]{color:var(--muted)}.tab-strip{background:var(--sidebar);border-bottom:1px solid var(--border);align-items:center;gap:4px;min-width:0;padding:0 16px;display:flex;position:relative}.tab-list{flex:1;align-self:stretch;align-items:center;gap:4px;min-width:0;display:flex}.tabs{scrollbar-width:none;flex:1;align-self:stretch;align-items:end;gap:4px;min-width:0;display:flex;overflow:auto hidden}.tabs::-webkit-scrollbar{display:none}.tab{min-width:140px;max-width:232px;height:40px;color:var(--muted);border-top:3px solid #0000;flex:0 auto;align-items:center;display:flex}.pinned-navigator-tab{flex:none;align-self:flex-end;width:208px}.navigator-tab .tab-label{padding-right:10px}.tab.active{color:var(--text);border-top-color:var(--accent);background:var(--surface);border-radius:6px 6px 0 0;font-weight:600}.tab-label{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:6px;min-width:0;height:37px;padding:0 0 0 10px;display:flex}.tab-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.location-path{white-space:pre;flex:1;grid-template-columns:minmax(0,max-content) max-content minmax(0,max-content);min-width:0;display:grid;overflow:hidden}.path-part{text-overflow:ellipsis;min-width:0;overflow:hidden}.path-measure{visibility:hidden;pointer-events:none;width:max-content;position:fixed;top:0;left:0}.path-measure:after{content:attr(data-path)}.tab-label svg,.tab-label .dirty-marker{flex:none}.tab-label .dirty-marker{color:var(--accent);margin-left:auto;font-size:24px;line-height:1}.tab-close{width:36px;height:37px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.tab-step,.tab-search{flex:none;width:36px}.tab-search .icon-button[aria-expanded=true]{background:var(--accent-soft)}.tab-search-panel{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;width:min(448px,100vw - 32px);max-height:min(438px,100dvh - 126px);padding:4px 8px 8px;display:flex;position:absolute;top:calc(100% + 2px);right:16px;box-shadow:0 12px 36px #18252b33}.tab-search-header{justify-content:space-between;align-items:center;padding-left:7px;font-size:16px;display:flex}.tab-search-field{border:1px solid var(--control-border);min-height:40px;color:var(--muted);border-radius:6px;align-items:center;gap:8px;margin:6px 7px 0;padding:0 4px 0 10px;display:flex}.tab-search-field:focus-within,.directory-search:focus-within{outline:2px solid var(--focus);outline-offset:1px}.tab-search-field input{min-width:0;color:var(--text);border:0;outline:0;flex:1;padding:8px 0}.tab-search-field input:focus-visible,.directory-search input:focus-visible{outline:none}.tab-search-count,.tab-search-keys,.tab-search-empty{color:var(--muted);margin:8px 7px;font-size:12px}.tab-search-count{font-weight:600}.tab-search-results{overscroll-behavior:contain;min-height:0;overflow-y:auto}.tab-search-results button{text-align:left;width:100%;min-height:52px;color:var(--text);background:0 0;border:0;border-radius:6px;grid-template-columns:18px minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:6px 12px;display:grid}.tab-search-results button:hover,.tab-search-results button[aria-selected=true]{background:var(--accent-soft)}.tab-search-results strong,.tab-search-results small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.tab-search-results small{color:var(--muted);margin-top:3px}.tab-search-results svg{color:var(--muted)}.tab-label[data-dirty]>svg,.tab-search-results button[data-dirty]>svg:first-child{color:var(--accent);stroke-width:3px}.tab-search-dirty{background:var(--accent);border-radius:50%;width:10px;height:10px}.tab-search-results button>svg:not(:first-child){color:var(--accent);grid-column:4}.tab-search-keys{margin-bottom:0}.tab-search-keys span{margin:0 10px}.toolbar{background:var(--canvas);border-bottom:1px solid var(--border);align-items:center;gap:4px;padding:0 24px;display:flex}.tab-menu{background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}.navigator-tab-menu{flex:none;position:relative}.navigator-tab-menu .database-menu{left:0;right:auto}main{background:var(--surface);min-height:0;overflow:auto}.status-bar{background:var(--canvas);color:var(--muted);border-top:1px solid var(--border);align-items:center;gap:24px;padding:0 24px;font-size:12px;display:flex}.status-content{flex:1;min-width:0}.debug-label{color:var(--accent)}input{font:inherit;color:inherit;background:var(--surface)}input:focus-visible,tr:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.toolbar-divider{background:var(--border);flex:none;width:1px;height:20px;margin:0 8px}.navigator-command{background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}.directory-search{border:1px solid var(--control-border);background:var(--surface);width:288px;height:36px;color:var(--muted);border-radius:6px;align-items:center;gap:12px;margin-left:auto;padding:0 12px;display:flex}.directory-search svg{flex:none}.directory-search input{background:0 0;border:0;width:100%;min-width:0;height:100%;padding:0}.directory-search input::placeholder,.tab-search-field input::placeholder{color:var(--muted)}.navigator{padding:16px 24px 24px}.navigator-notice{background:var(--warning-soft);color:var(--warning);border-radius:6px;align-items:center;gap:16px;margin-bottom:16px;padding:12px 16px;display:flex}.navigator-notice-error{background:var(--danger-soft);color:var(--danger)}.navigator-notice span{flex:1}.navigator-notice button{border:1px solid var(--control-border);background:var(--surface);min-width:88px;height:36px;color:var(--text);border-radius:4px;flex:none;padding:0 12px}.navigator-notice button:disabled{opacity:.5;min-width:140px}.breadcrumbs{white-space:nowrap;align-items:center;gap:12px;height:32px;margin-bottom:16px;display:flex;overflow-x:auto}.breadcrumbs>span{align-items:center;gap:12px;display:flex}.breadcrumbs svg{color:var(--muted);flex:none}.breadcrumbs button{color:var(--accent);background:0 0;border:0;padding:4px 0;line-height:22px}.breadcrumbs button[aria-current]{color:var(--text)}.file-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%}.name-column{width:calc(100% - 648px)}.type-column{width:224px}.date-column{width:272px}.size-column{width:152px}.file-table th{background:var(--canvas);height:36px;font-size:12px;font-weight:500}.file-table td{border-bottom:1px solid var(--border);height:48px}.file-table th,.file-table td{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:0 24px;overflow:hidden}.file-table th{padding:0}.file-table th .tooltip-trigger{width:100%;display:flex}.table-sort{width:100%;height:36px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0 24px;display:flex;position:relative}.table-sort:hover{background:var(--accent-soft);color:var(--text)}.file-table th[aria-sort] .table-sort{color:var(--text);font-weight:600}.file-table th:first-child .table-sort{padding-left:48px}.file-table th:last-child .table-sort{justify-content:flex-end;padding-right:56px}.sort-direction{flex:none;width:14px;height:14px;display:flex}.file-table th:last-child .sort-direction{position:absolute;right:32px}.sort-descending{transform:rotate(180deg)}.file-table td:first-child{color:var(--text);padding-left:16px}.file-table tr[aria-selected=true]{background:var(--accent-soft)}.entry-name{align-items:center;gap:14px;display:flex}.entry-name svg{color:var(--accent);flex:none}.entry-name>span{text-overflow:ellipsis;overflow:hidden}.empty-directory{text-align:center;color:var(--muted);margin:32px 0}.trash-index .file-table td{height:64px}.trash-index .database-control{top:14px}.trash-path-tooltip{flex:1}.trash-name{gap:4px;min-width:0;display:grid}.trash-name>*{text-overflow:ellipsis;overflow:hidden}.trash-name small{color:var(--muted);font-size:12px}.trash-restore-button,.restore-target button,.trash-index .empty-directory button{border:1px solid var(--control-border);background:var(--surface);border-radius:6px;min-height:36px;padding:0 16px}.trash-restore-button{min-width:120px}.trash-restore-button:disabled{opacity:.6}.navigator-status{justify-content:space-between;gap:24px;display:flex}.navigator-status span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.create-dialog{width:400px;color:var(--text);border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:24px;box-shadow:0 12px 40px #18252b26}.create-dialog::backdrop{background:#18252b40}.create-dialog h2{margin:0 0 24px;font-size:18px}.create-dialog label{margin-bottom:8px;display:block}.create-dialog input{border:1px solid var(--control-border);border-radius:4px;width:100%;height:36px;padding:0 10px}.create-dialog [role=alert]{color:var(--danger);font-size:13px}.dialog-progress{min-height:20px;color:var(--muted);margin:8px 0}.dialog-actions{justify-content:flex-end;gap:12px;display:flex}.dialog-actions button{border:1px solid var(--border);background:var(--surface);border-radius:4px;height:36px;padding:0 16px}.dialog-actions .primary-button{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.dialog-actions button:disabled{opacity:.6}.active-content{flex-direction:column;height:100%;display:flex}.app-error{background:var(--danger-soft);color:var(--danger);margin:0;padding:10px 24px}.empty-workspace{flex:1;place-items:center;display:grid}.empty-workspace button{border:1px solid var(--border);background:var(--canvas);border-radius:4px;padding:10px 16px}.editor-commands{gap:4px;display:flex}.editor-commands .icon-button{height:36px}.editor-commands button:disabled{color:var(--muted);opacity:.5}.editor-pane{flex:1;min-height:0}.editor-pane .cm-editor{height:100%;color:var(--text);background:var(--surface);font-size:14px}.editor-pane .cm-editor.cm-focused{outline:none}.editor-pane .cm-scroller{font-family:var(--font-code);line-height:24px;overflow:auto}.editor-pane .cm-content{caret-color:var(--text);padding:24px 0}.editor-pane .cm-line{padding:0 24px}.editor-pane .cm-gutters{background:var(--canvas);color:var(--muted);border-right:1px solid var(--border)}.editor-pane .cm-lineNumbers .cm-gutterElement{min-width:55px;padding:0 12px 0 8px}.editor-pane .cm-activeLine{background:color-mix(in srgb, var(--canvas) 50%, transparent)}.editor-pane .cm-editor:has(.cm-selectionBackground) .cm-activeLine{background:0 0}.editor-pane .cm-activeLineGutter{background:var(--accent-soft);color:var(--accent)}.editor-pane .cm-cursor{border-left:1.5px solid var(--text)}.editor-pane .cm-editor .cm-selectionBackground,.editor-pane .cm-editor.cm-focused>.cm-scroller>.cm-selectionLayer .cm-selectionBackground{background:var(--text-selection)}.editor-pane .cm-panels{background:var(--canvas);color:var(--text)}.editor-status{align-items:center;gap:32px;min-width:0;display:flex}.editor-status>span{white-space:nowrap}.editor-status .editor-path{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.close-dialog{width:560px}.app-error button{margin-left:16px}.theme-control{position:relative}.theme-menu{z-index:10;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:208px;height:152px;padding:35px 7px 7px;position:absolute;top:44px;right:0;box-shadow:0 8px 24px #18252b26}.theme-menu-title{width:180px;height:18px;color:var(--muted);font-size:12px;line-height:18px;position:absolute;top:9px;left:11px}.theme-menu button{text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:10px;width:192px;height:36px;padding:0 12px;display:flex}.theme-menu button>span{width:112px;line-height:20px}.theme-menu button svg{flex:none}.theme-menu button svg:last-child:not(:first-child){margin-left:2px}.theme-menu button[aria-checked=true]{background:var(--accent-soft);color:var(--accent)}.editor-pane .cm-panels.cm-panels-top{border-bottom:1px solid var(--border)}.editor-pane .cm-panels.cm-panels-bottom{border-top:1px solid var(--border)}.editor-pane .cm-search .cm-textfield,.editor-pane .cm-search .cm-button{color:var(--text);background:var(--surface);border:1px solid var(--control-border)}.cm-search .search-shortcut-close{position:absolute;top:0;right:4px}.cm-editor .cm-panel.cm-search .search-shortcut-close button[name=close]{position:static}.editor-pane .cm-search input:focus-visible,.editor-pane .cm-search button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.editor-pane .cm-searchMatch{background:var(--accent-soft);outline:1px solid var(--accent)}.editor-pane .cm-searchMatch-selected{background:var(--accent-soft);outline:2px solid var(--accent)}.editor-pane .cm-selectionMatch{background:var(--accent-soft)}.editor-pane .cm-content ::selection{background:var(--text-selection)}.database-command{flex:none}.database-badge{color:var(--muted);background:var(--canvas);border-radius:4px;flex:none;margin-left:24px;padding:2px 10px;font-size:12px;font-weight:400;display:inline-block}.file-table .entry-name>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.file-table .entry-actions{padding-right:56px;position:relative;overflow:visible}.database-control{position:absolute;top:6px;right:16px}.database-menu{z-index:15;border:1px solid var(--border);background:var(--surface);width:288px;color:var(--text);white-space:normal;border-radius:8px;padding:8px;position:absolute;top:38px;right:0;box-shadow:0 8px 24px #18252b26}.database-menu-title{padding:8px 16px 12px;font-weight:600}.database-menu-title small{color:var(--muted);margin-top:4px;font-size:12px;font-weight:400;display:block}.database-menu button{text-align:left;background:0 0;border:0;border-radius:4px;width:100%;height:36px;padding:0 16px}.database-menu button:hover,.database-menu button:focus-visible{background:var(--accent-soft)}.database-menu button:disabled{color:var(--muted);opacity:.6}.database-menu .danger-menu-item{color:var(--danger);border-top:1px solid var(--border)}.database-menu hr{border:0;border-top:1px solid var(--border);margin:8px 0}.database-dialog{width:760px;max-width:calc(100vw - 48px);height:536px;max-height:calc(100dvh - 48px);color:var(--text);background:var(--surface);box-shadow:0 0 0 1px var(--border), 0 12px 40px #18252b26;border:0;border-radius:8px;padding:0}.database-dialog.remote-dialog{height:840px}.database-dialog::backdrop{background:#18252b40}.database-dialog form{flex-direction:column;height:100%;min-height:0;display:flex}.database-dialog-header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex}.database-dialog h2{margin:0;font-size:22px;line-height:30px}.database-dialog-body{flex-direction:column;flex:1;gap:20px;min-height:0;padding:24px 28px 16px;display:flex;overflow-y:auto}.database-dialog .dialog-actions{border-top:1px solid var(--border);flex:none;gap:16px;height:88px;padding:24px 28px 23px}.database-dialog .dialog-actions button{border-color:var(--control-border);border-radius:6px;min-width:112px;height:40px}.database-dialog .dialog-actions .primary-button{min-width:216px}.database-dialog.file-info-dialog{height:656px}.database-dialog.file-info-extended{height:728px}.database-dialog.file-operation-dialog{border-radius:12px}.file-operation-dialog::backdrop{background:#18252b66}.database-dialog.trash-file-dialog{width:680px;height:352px}.database-dialog.trash-draft-dialog{width:840px;height:412px}.database-dialog.restore-file-dialog{height:388px}.database-dialog.trash-folder-dialog{width:680px;height:356px}.database-dialog.trash-folder-drafts{width:760px;height:398px}.database-dialog.restore-folder-dialog{height:434px}.database-dialog.folder-placement-dialog{height:418px}.database-dialog.rename-entry-dialog{width:640px;height:330px}.database-dialog.rename-entry-error{height:350px}.database-dialog.paste-file-dialog{height:356px}.database-dialog.detach-database-dialog{width:640px;height:330px}.database-dialog.detach-database-drafts{height:520px}.database-dialog.detach-database-error{height:390px}.database-dialog.detach-database-drafts.detach-database-error{height:570px}.detach-database-dialog .dialog-actions .primary-button{min-width:100px}.detach-database-dialog p,.detach-draft-section h3{margin:0;font-size:14px}.detach-database-name,.detach-draft-name{gap:4px;display:grid}.detach-database-name strong{font-size:20px}.detach-database-detail,.detach-draft-section li>span{color:var(--muted)}.detach-draft-section ul{gap:2px;margin:10px 0 0;padding:0;list-style:none;display:grid}.detach-draft-section li{border:1px solid var(--border);background:var(--canvas);border-radius:6px;align-items:center;gap:12px;min-height:56px;padding:7px 12px;font-size:13px;display:flex}.detach-draft-name{overflow-wrap:anywhere;min-width:0;margin-right:auto}.detach-draft-section li>button,.detach-draft-section li>span{flex-shrink:0}.detach-draft-section li>.detach-draft-blocked{color:var(--danger)}.database-dialog.move-file-dialog{width:760px;height:632px}.database-dialog.move-file-collision{height:720px}.database-dialog.move-recovery-dialog{width:760px;height:424px}.database-dialog.folder-picker-dialog{height:560px}.file-operation-dialog .database-dialog-header{padding:0 24px}.file-operation-dialog .database-dialog-body{gap:12px;padding:24px}.file-operation-dialog .dialog-actions{gap:12px;height:80px;padding:19px 24px 20px}.restore-file-dialog .dialog-actions .primary-button{min-width:148px}.rename-entry-dialog .dialog-actions .primary-button{min-width:156px}.paste-file-dialog .dialog-actions .primary-button{min-width:100px}.paste-file-dialog .dialog-actions button:not(.primary-button){min-width:112px}.move-file-dialog .dialog-actions .primary-button{min-width:116px}.move-recovery-dialog .dialog-actions .primary-button{min-width:188px}.database-dialog .move-file-form{gap:16px;height:auto}.move-source strong{margin-bottom:5px;display:block}.move-source .operation-path{margin:0}.move-file-form .database-field select,.move-file-form .database-field input{background:var(--canvas)}.move-file-form input[aria-invalid=true]{border-color:var(--danger)}.move-directory-label{color:var(--muted);margin-bottom:6px;font-size:13px;display:block}.move-directory .picker-path{height:38px;margin-bottom:12px}.move-folders{border:1px solid var(--border);border-radius:6px;min-height:124px;max-height:124px;overflow:auto}.move-folders button{height:40px}.move-folders button svg:last-child{margin-left:auto}.move-folders p,.move-folder-error{background:var(--surface);padding:12px}.move-consequence{color:var(--muted);font-size:14px}.move-draft{background:var(--accent-soft);border-radius:6px;padding:12px}.move-positions{gap:6px;display:grid}.move-positions dt,.pending-moves p{color:var(--muted);font-size:13px}.move-positions dd{margin:0 0 12px}.pending-moves{margin:0;padding:0;list-style:none}.pending-moves li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.move-footer{align-items:center;gap:8px;display:flex}.move-footer button{height:26px;font-size:inherit;padding:2px 8px}.database-dialog .rename-entry-form{gap:16px;height:auto}.rename-entry-form .database-field input{background:var(--canvas);height:44px}.rename-entry-form input[aria-invalid=true]{border-color:var(--danger)}.rename-entry-form input::selection{background:var(--text-selection);color:var(--text)}.rename-entry-form .operation-path{margin:0 0 8px}.trash-folder-dialog .dialog-actions .primary-button{min-width:156px}.folder-trash-drafts{margin:4px 0 0;padding-left:20px}.folder-placement-choices{gap:12px;display:grid}.folder-placement-choices label{border:1px solid var(--border);background:var(--canvas);border-radius:6px;align-items:center;gap:14px;min-height:48px;padding:8px 14px;display:flex}.folder-placement-choices input{accent-color:var(--accent);flex:none}.file-operation-dialog .operation-path{color:var(--muted);margin-bottom:16px;font-size:13px}.operation-error{color:var(--danger)}.database-dialog.permanent-trash-dialog{width:640px;height:400px}.database-dialog.permanent-trash-file,.database-dialog.permanent-trash-busy{height:350px}.database-dialog.permanent-trash-folder{height:424px}.database-dialog.permanent-trash-failed{height:380px}:is(.database-dialog.permanent-trash-blocked,.database-dialog.permanent-trash-dialog:has(.permanent-trash-blocker)){height:476px}.permanent-trash-name{overflow-wrap:anywhere;font-size:20px}.permanent-trash-dialog p{overflow-wrap:anywhere;margin:0}.permanent-trash-dialog .operation-path{margin-bottom:10px}.permanent-trash-muted{color:var(--muted)}.permanent-trash-dialog progress{width:100%;height:8px;accent-color:var(--danger)}.permanent-trash-blocker{background:var(--warning-soft);border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.permanent-trash-blocker button{flex:none}.permanent-trash-dialog .dialog-actions .danger-button{background:var(--danger);min-width:154px;color:var(--surface);border-color:var(--danger)}.permanent-trash-dialog .danger-button:not(:disabled):hover{filter:brightness(.95)}.database-dialog .restore-file-form{gap:16px;height:auto}.restore-file-form .database-field{color:var(--text);font-size:14px}.restore-file-form .database-field input{background:var(--canvas);height:44px}.restore-file-form input[aria-invalid=true]{border-color:var(--danger)}.restore-target{align-items:stretch;gap:12px;display:flex}.restore-target span{background:var(--canvas);border:1px solid var(--control-border);border-radius:6px;flex:1;min-width:0;padding:10px 12px}.restore-target button{flex:none;min-width:136px}.picker-path{padding:0}.picker-path .icon-button{border:1px solid var(--control-border)}.picker-folders p{background:var(--canvas);color:var(--muted);padding:10px 16px}.picker-folders button{border:0;border-bottom:1px solid var(--border);background:var(--surface);text-align:left;align-items:center;gap:12px;width:100%;height:52px;padding:0 16px;display:flex}.picker-folders button:hover{background:var(--accent-soft)}.file-info-layout{flex-direction:column;height:100%;min-height:0;display:flex}.file-info-body>*{flex:none}.file-info-body{overflow-wrap:anywhere}.file-info-body h3,.file-info-body p,.file-info-body dl{margin:0}.file-info-summary{flex-direction:column;gap:12px;margin-bottom:8px;display:flex}.file-info-summary h3{font-size:20px;line-height:28px}.file-info-body dt{color:var(--muted);font-size:12px;line-height:18px}.file-info-body dd{margin:4px 0 0;line-height:21px}.file-info-details{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 28px;display:grid}.file-info-sync{border-top:1px solid var(--border);padding-top:16px}.file-info-sync h3{margin-bottom:14px;font-size:16px;line-height:22px}.file-info-transfer{background:var(--info-soft);min-height:56px;color:var(--code);border-radius:6px;align-items:center;gap:12px;padding:8px 16px;display:flex}.file-info-transfer svg,.file-info-draft svg{flex:none}.file-info-transfer small,.file-info-transfer strong{line-height:21px;display:block}.file-info-transfer[data-state=success]{color:var(--success);background:var(--success-soft)}.file-info-transfer[data-state=warning],.file-info-draft{color:var(--warning);background:var(--warning-soft)}.file-info-sync>p{margin:12px 0 6px;line-height:21px}.file-info-draft{border-radius:6px;align-items:center;gap:12px;min-height:64px;margin-bottom:-12px;padding:8px 16px;display:flex}.file-info-draft strong,.file-info-draft p{line-height:21px}.file-info-draft p{color:var(--text);margin-top:4px;font-size:13px}.file-info-version{color:var(--warning)}.file-info-error button{border:1px solid var(--control-border);background:var(--surface);border-radius:6px;margin-top:16px;padding:8px 16px}.database-dialog.folder-info-dialog{height:600px}.database-dialog.folder-info-has-error{height:648px}.folder-info-dialog .file-info-body{gap:24px}.folder-info-last-sync{margin-top:12px;display:block}.folder-info-label{color:var(--muted);font-size:12px;line-height:18px}.folder-info-calculation-error{background:var(--danger-soft);border-radius:6px;align-items:center;gap:12px;min-height:68px;margin-top:12px;padding:12px 16px;display:flex}.folder-info-calculation-error svg{color:var(--danger);flex:none}.folder-info-calculation-error p{flex:1;min-width:0;line-height:21px}.folder-info-calculation-error button{border:1px solid var(--control-border);background:var(--surface);border-radius:6px;flex:none;width:188px;height:40px}.database-columns{grid-template-columns:332px minmax(0,1fr);gap:28px;display:grid}.database-field{color:var(--muted);flex-direction:column;gap:8px;font-size:12px;line-height:18px;display:flex}.database-field input,.database-field select{width:100%;height:40px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--control-border);border-radius:6px;padding:0 12px;font-size:14px}.resolution-name{min-width:0;margin:12px 0}.version-file-name{overflow-wrap:anywhere;display:block}.merge-dialog .dialog-actions:has(.resolution-name){align-items:end}.merge-dialog .dialog-actions .resolution-name{width:min(320px,35%);margin:0 auto 0 0}.database-field p{color:var(--text);overflow-wrap:anywhere;margin:4px 0;font-size:14px;line-height:28px}.database-sync-card{border:1px solid var(--border);background:var(--canvas);border-radius:6px;flex:none;justify-content:space-between;align-items:center;gap:16px;height:64px;padding:9px 16px;display:flex}.database-sync-card strong{font-weight:500;line-height:24px;display:block}.database-dialog small{color:var(--muted);font-size:12px;line-height:18px}.database-sync-card small{margin-top:2px;display:block}.database-remember small{margin-top:6px;display:block}.database-dialog input[type=checkbox],.database-dialog input[type=radio]{accent-color:var(--accent);flex:none;width:18px;height:18px;margin:0}.database-dialog input.database-switch{appearance:none;border:1px solid var(--control-border);background:var(--switch-off);cursor:pointer;border-radius:12px;width:44px;height:24px;position:relative}.database-switch:before{content:"";background:var(--surface);border-radius:50%;width:20px;height:20px;position:absolute;top:1px;left:1px}.database-dialog .database-switch:checked{background:var(--accent);border-color:var(--accent)}.database-switch:checked:before{background:var(--on-accent);transform:translate(20px)}.database-switch:focus-visible{outline-offset:3px}.database-switch:disabled{cursor:default;opacity:.6}.database-mode-row{flex:none;height:66px}.database-mode-picker{position:relative}.database-mode-trigger{width:100%;height:40px;color:var(--text);background:var(--surface);border:1px solid var(--control-border);border-radius:6px;justify-content:space-between;align-items:center;padding:0 12px;font-size:14px;display:flex}.database-mode-trigger:disabled{opacity:.6}.database-mode-menu{width:100%;font-size:14px;top:calc(100% + 4px)}.database-mode-menu button{justify-content:space-between;align-items:center;display:flex}.database-direction{padding-top:26px}.database-direction p{margin:3px 0 2px;line-height:22px}.database-direction small{display:block}.database-password{display:block;position:relative}.database-password input{padding-right:44px}.database-password>.tooltip-trigger{position:absolute;top:2px;right:4px}.database-password button{color:var(--muted)}.database-remember{margin-top:-10px}.database-remember label{align-items:center;gap:12px;line-height:24px;display:flex}.database-dialog .database-remember input[type=checkbox]{width:20px;height:20px}.database-remember small{max-width:660px;padding-left:30px}.database-check{align-items:center;gap:24px;display:flex}.database-check button{border:1px solid var(--control-border);background:var(--surface);border-radius:6px;flex:none;width:208px;height:40px;padding:0 12px}.database-info,.database-current-card{background:var(--info-soft);border-radius:6px;flex:none;align-items:flex-start;gap:16px;padding:12px 16px;display:flex}.database-info{min-height:104px;margin-top:4px;padding-top:16px}.database-info>svg,.database-current-card>svg{color:var(--code);flex:none;margin-top:4px}.database-info p,.database-current-card p{margin:0 0 6px;font-weight:500;line-height:24px}.database-current{margin-top:0}.database-current:has(.database-current-card){margin-top:4px}.database-current-card{min-height:72px}.database-current-card[data-state=success]{background:var(--success-soft)}.database-current-card[data-state=success]>svg,.database-current-card[data-state=success] p{color:var(--success)}.database-current-card[data-state=error]{background:var(--danger-soft)}.database-current-card[data-state=error]>svg,.database-current-card[data-state=error] p{color:var(--danger)}.database-detached{background:var(--accent-soft);color:var(--text);justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;display:flex}.database-detached p{color:var(--muted);margin:4px 0 0}.database-detached-actions{flex-shrink:0;gap:8px;display:flex}@media (width<=1400px){.directory-search{width:240px}}.database-notice{border:1px solid var(--border);background:var(--canvas);border-radius:6px;margin:12px 0;padding:20px}.database-notice strong{font-size:16px;font-weight:500}.database-notice p{color:var(--muted);margin:12px 0}.database-notice button{background:var(--surface);border:1px solid var(--control-border);border-radius:4px;height:40px;padding:0 12px}.database-add{flex:none;position:relative}.database-source-menu{z-index:15;background:var(--surface);width:288px;color:var(--text);border:1px solid var(--border);border-radius:8px;padding:16px;position:absolute;top:42px;left:0;box-shadow:0 8px 24px #18252b26}.database-source-menu>strong{margin-bottom:12px;font-size:16px;display:block}.database-source-menu button{background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:6px;align-items:center;gap:12px;width:100%;min-height:60px;margin-bottom:8px;padding:8px;display:flex}.database-source-menu button:hover,.database-source-menu button:focus-visible{background:var(--accent-soft)}.database-source-menu button svg{color:var(--accent);flex:none}.database-source-menu small{color:var(--muted);font-size:12px;line-height:20px;display:block}.database-source-menu>small{margin-top:12px}.versions-dialog{width:760px;padding:0}.versions-dialog[open]{flex-direction:column;min-height:480px;display:flex}.versions-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:71px;padding:0 19px 0 27px;display:flex}.versions-header h2{margin:0;font-size:22px;line-height:30px}.versions-dialog .versions-description{min-height:52px;margin:24px 27px 20px;line-height:20px}.versions-dialog .file-table{width:calc(100% - 54px);margin:0 27px}.versions-dialog .version-number-column,.versions-dialog .version-revision-column{width:248px}.versions-dialog .file-table th,.versions-dialog .file-table td{padding:0 16px}.versions-dialog .file-table td{height:76px}.versions-dialog .file-table td:last-child{text-align:right}.versions-dialog code{font-family:inherit;font-size:14px}.versions-dialog .versions-retention{color:var(--muted);margin:12px 27px 20px;font-size:12px;line-height:24px}.versions-dialog .dialog-actions{border-top:1px solid var(--border);margin-top:auto;padding:15px 27px 11px}.versions-dialog td button{width:120px;height:40px;color:var(--text)}.versions-dialog .dialog-actions button{border-color:var(--control-border);width:128px;height:40px}.version-notice{border-bottom:1px solid var(--border);background:var(--canvas);align-items:center;gap:16px;padding:12px 24px;display:flex}.version-notice>span{flex:1}.trash-notice{border:1px solid var(--border);border-radius:6px;margin:16px 24px 0}.trash-notice .primary-button{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.version-notice button,.versions-dialog td button,.entry-actions>button{border:1px solid var(--control-border);background:var(--surface);white-space:nowrap;border-radius:4px;padding:6px 12px}.readonly-notice{background:var(--warning-soft);height:56px;color:var(--warning);border-bottom:0;flex:none}.readonly-commands{align-items:center}.copy-version{color:var(--accent)}.readonly-label{color:var(--muted);margin-left:12px}.conflict-count{color:var(--warning);white-space:nowrap;align-items:center;gap:12px;padding-left:16px;font-size:12px;display:flex}.conflict-count:before{content:"";background:currentColor;border-radius:50%;width:8px;height:8px}.conflict-index .entry-actions>button{width:100px;height:36px;color:var(--text);position:absolute;top:6px;right:60px}.debug-tools{max-width:900px;padding:24px}.debug-tools .dialog-actions{flex-wrap:wrap;justify-content:flex-start}.maintenance-shell{grid-template-rows:60px minmax(0,1fr) 36px}.maintenance-shell main{background:var(--canvas)}.backup-title{margin:24px 0 5px;font-size:28px;font-weight:600;line-height:41px}.backup-title:focus,.backup-result h2:focus{outline:none}.backup-subtitle{color:var(--muted);overflow-wrap:anywhere;margin:0}.backup-field{flex-direction:column;gap:7px;margin:18px 0 0;display:flex}.backup-field input{border:1px solid var(--control-border);border-radius:6px;width:100%;height:44px;padding:0 13px}.backup-help{min-height:40px;color:var(--muted);margin:14px 0 0;line-height:20px}.backup-help.invalid{color:var(--danger)}.backup-notice{background:var(--warning-soft);border-radius:6px;padding:12px 16px;line-height:21px}.backup-notice strong{font-weight:600}.backup-notice p{margin:5px 0 0}.backup-file{align-items:center;gap:14px;height:44px;margin-top:7px;display:flex;position:relative}.backup-file>button{flex:none;min-width:156px}.backup-file>span{overflow-wrap:anywhere;min-width:0;color:var(--muted);font-size:12px;line-height:17px}.backup-file-input{opacity:0;clip-path:inset(50%);width:1px;height:1px;position:absolute}.backup-file:focus-within>button{outline:2px solid var(--focus);outline-offset:-2px}.backup-summary{margin-top:17px}.backup-summary h3{margin:0 0 18px;font-size:18px;font-weight:600;line-height:27px}.backup-summary table{border-collapse:collapse;text-align:left;table-layout:auto;width:100%}.backup-summary th{color:var(--muted);background:var(--canvas);height:36px;font-size:12px;font-weight:600}.backup-summary th,.backup-summary td{padding:8px 16px}.backup-summary td{border-bottom:1px solid var(--border);height:48px}.backup-summary td:first-child{overflow-wrap:anywhere;width:28%}.backup-summary p{color:var(--muted);margin:20px 0 0}.backup-summary p+p{margin-top:7px}.backup-summary .backup-history-warning{color:var(--warning);margin-top:12px}.backup-destination{margin-top:32px}.backup-consent-check{cursor:pointer;align-items:center;gap:16px;min-height:44px;margin:32px 0 24px;display:flex}.backup-consent-check input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:0 0 0 8px}.backup-result{margin-top:24px}.backup-result h2{margin:0 0 16px;font-size:22px;line-height:32px}.backup-result p{overflow-wrap:anywhere}.backup-result .backup-notice{margin:24px 0}.backup-result progress{width:100%;height:8px;accent-color:var(--accent)}.backup-result form{max-width:700px}.backup-result form>button{margin-top:20px}.backup-error{color:var(--danger);background:var(--danger-soft);border:1px solid var(--danger);border-radius:6px;margin-top:24px;padding:16px}@media (width<=1400px){.backup-page{width:1206px}.backup-title{margin-top:12px;margin-bottom:3px}.backup-forms{margin-top:11px}.backup-card .backup-help{min-height:24px}.backup-card>button{margin-top:10px}.backup-footnote{margin-top:28px}.backup-card:last-child .backup-notice{margin-top:0}}.settings-dialog{border:1px solid var(--border);background:var(--surface);width:calc(100vw - 96px);max-width:none;height:calc(100dvh - 96px);max-height:none;color:var(--text);border-radius:12px;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 64px #18252b33}.settings-dialog[open]{grid-template-rows:79px minmax(0,1fr) 63px;grid-template-columns:231px minmax(0,1fr);display:grid}.settings-dialog::backdrop{background:#18252b66}.settings-header{border-bottom:1px solid var(--border);grid-column:1/-1;align-items:center;gap:32px;padding:0 23px;display:flex}.settings-header h2{width:352px;margin:0;font-size:22px;font-weight:700;line-height:32px}.settings-header h2:focus{outline:none}.settings-header>span:not(.tooltip-trigger){color:var(--muted);flex:1}.settings-header>.tooltip-trigger{margin-left:auto}.settings-sidebar{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;grid-row:2/4;min-height:0;padding:24px 15px;display:flex}.settings-sidebar nav{min-height:0;overflow:auto}.settings-sidebar h3{color:var(--muted);text-transform:uppercase;margin:0 12px 10px;font-size:11px;font-weight:700;line-height:16px}.settings-sidebar h3:not(:first-child){margin-top:28px}.settings-sidebar button{text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:12px;width:100%;height:44px;margin:0 0 8px;padding:0 12px;display:flex;position:relative}.settings-sidebar button svg{color:var(--muted);flex:none}.settings-sidebar button[aria-current]{background:var(--accent-soft);font-weight:600}.settings-sidebar button[aria-current]:before{content:"";background:var(--accent);border-radius:2px;width:3px;position:absolute;top:8px;bottom:8px;left:0}.settings-sidebar button[aria-current] svg{color:var(--accent)}.settings-sidebar button:not(:disabled):hover{background:var(--accent-soft)}.settings-sidebar .settings-restore-nav,.settings-sidebar .settings-restore-nav svg{color:var(--danger)}.settings-sidebar .settings-restore-nav[aria-current],.settings-sidebar .settings-restore-nav:not(:disabled):hover{background:var(--danger-soft)}.settings-sidebar .settings-restore-nav[aria-current]:before{background:var(--danger)}.settings-version{color:var(--muted);flex-direction:column;gap:8px;margin:auto 4px 8px;padding-top:24px;font-size:12px;display:flex}.settings-content{grid-area:2/2;min-width:0;min-height:0;padding:32px;line-height:21px;overflow:auto}.settings-content>h2{margin:0;font-size:24px;font-weight:700;line-height:32px}.settings-subtitle{color:var(--muted);margin:6px 0 18px}.settings-card{border:1px solid var(--border);border-radius:8px;margin-top:20px;padding:20px 23px 12px}.settings-card h3{margin:0;font-size:16px;line-height:24px}.settings-card p{color:var(--muted);margin:4px 0 16px}.settings-card small{color:var(--muted);margin-top:8px;font-size:12px;line-height:18px;display:block}.settings-themes{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.settings-theme{border:1px solid var(--control-border);cursor:pointer;border-radius:6px;padding:11px}.settings-theme[data-selected=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.settings-theme-preview{border:1px solid var(--border);background:linear-gradient(#f3f1eb 0 12px,#0000 12px),linear-gradient(90deg,#f3f1eb 22%,#fbfaf7 22%);border-radius:3px;flex-direction:column;gap:8px;height:62px;padding:23px 20px 10px 28%;display:flex}.settings-theme-preview.dark{background:linear-gradient(#121c21 0 12px,#0000 12px),linear-gradient(90deg,#121c21 22%,#18252b 22%)}.settings-theme-preview.system{background:linear-gradient(90deg,#f3f1eb 22%,#fbfaf7 22% 50%,#18252b 50%)}.settings-theme-preview i{background:#dee3df;border-radius:2px;flex:none;height:4px;display:block}.settings-theme-preview.dark i{background:#35444a}.settings-theme-preview.system i{background:linear-gradient(90deg,#dee3df 35%,#35444a 35%)}.settings-theme-preview i:last-child{width:65%}.settings-theme-label{align-items:center;gap:12px;margin:19px 3px 6px;display:flex}.settings-theme-label input{width:16px;height:16px;accent-color:var(--accent);margin:0}.settings-theme-label svg{color:var(--muted);margin-left:auto}.settings-theme[data-selected=true] .settings-theme-label{font-weight:600}.settings-language{justify-content:space-between;align-items:center;gap:20px;min-height:116px;padding-bottom:20px;display:flex}.settings-language p{margin-bottom:0}.settings-language select{width:244px;height:44px;font:inherit;border:1px solid var(--control-border);background:var(--surface);color:var(--text);opacity:1;border-radius:6px;padding:0 12px}.settings-footer{border-top:1px solid var(--border);grid-area:3/2;align-items:center;gap:16px;padding:10px 31px;display:flex}.settings-footer>span{min-width:0;color:var(--muted);flex:1}.settings-footer button,.settings-content button:not(.icon-button){background:var(--surface);border:1px solid var(--control-border);border-radius:6px;min-height:40px;padding:8px 16px;font-weight:600}.settings-footer button:not(:disabled):hover,.settings-content button:not(.icon-button):not(:disabled):hover{background:var(--accent-soft)}.settings-dialog button:disabled{opacity:.55}.settings-content button.primary-button{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.settings-content button.primary-button:not(:disabled):hover{background:var(--accent);filter:brightness(.95)}.settings-footer .danger-button{background:var(--danger);color:var(--surface);border-color:var(--danger)}.settings-footer .danger-button:not(:disabled):hover{background:var(--danger);filter:brightness(.95)}.settings-content.backup-page{width:auto;max-width:none;margin:0;padding:32px}.settings-backup-columns{grid-template-columns:minmax(0,1.33fr) minmax(0,1fr);gap:24px;margin-top:28px;display:grid}.settings-backup-columns .backup-field:first-child{margin-top:0}.settings-content .backup-field{margin-top:22px;font-size:13px;font-weight:600}.settings-content .backup-field input{padding-right:46px;font-weight:400}.backup-password{display:block;position:relative}.backup-password>.tooltip-trigger{color:var(--muted);position:absolute;top:4px;right:4px}.settings-content .backup-help{min-height:0;margin-bottom:20px}.settings-content .backup-notice{color:var(--warning);border:1px solid var(--border);border-radius:8px;padding:14px 16px}.settings-content form>.primary-button{margin-top:24px}.settings-backup-columns aside>.backup-notice{margin:24px 0 16px}.settings-notice,.settings-danger-notice{border:1px solid var(--border);background:var(--canvas);border-radius:8px;align-items:flex-start;gap:12px;margin:20px 0 0;padding:16px;display:flex}.settings-notice svg,.settings-danger-notice svg{color:var(--muted);flex:none;margin-top:2px}.settings-notice p,.settings-danger-notice p{color:var(--muted);margin:4px 0 0}.settings-notice ul{color:var(--muted);margin:4px 0 0;padding:0 0 0 16px}.settings-backup-columns .settings-notice{min-height:216px;margin-top:0}.settings-danger-notice{background:var(--danger-soft);border-color:var(--danger);color:var(--danger);margin:18px 0 28px}.settings-danger-notice p,.settings-danger-notice svg{color:inherit}.settings-content .backup-file{border:1px solid var(--control-border);border-radius:6px;height:48px;padding:3px}.settings-content .backup-file>span{font-size:14px}.settings-content .backup-file-label{font-size:13px;font-weight:600;display:block}.settings-content .backup-title{margin-top:0}.settings-content .backup-summary{border:0;padding:0}.settings-content .backup-summary h3{color:var(--muted);margin:18px 0;font-size:14px;font-weight:400}.settings-content .backup-summary table{border:1px solid var(--border);border-radius:8px}.settings-content .backup-summary td{height:44px}.settings-content .backup-summary th,.settings-content .backup-summary td{text-align:right}.settings-content .backup-summary th:first-child,.settings-content .backup-summary td:first-child{text-align:left}.settings-content .backup-consent-check{margin:28px 0 8px}.settings-content .backup-result{margin-top:0}.settings-content .backup-error{margin:0 0 24px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.backup-scope-field{flex-direction:column;gap:7px;margin:22px 0 10px;font-size:13px;font-weight:600;display:flex}.backup-scope-field select{border:1px solid var(--control-border);background:var(--surface);width:100%;height:44px;color:var(--text);font:inherit;border-radius:6px;padding:0 12px;font-weight:400}.backup-scope-notice{margin:20px 0}.settings-backup-columns aside>.backup-scope-notice{margin-top:0}.backup-content-status{color:var(--muted);font-size:12px;display:block}.settings-content .backup-summary .backup-scope-summary{color:var(--text);margin:0}.conflict-dialog{border-radius:10px;max-height:calc(100vh - 64px);padding:32px;overflow:auto}.conflict-dialog h2,.conflict-copy-dialog h2{margin:0 0 24px;font-size:22px;line-height:34px}.conflict-choice{width:840px}.conflict-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:32px;display:grid}.conflict-actions>button{border:1px solid var(--border);background:var(--surface);min-height:96px;color:var(--text);text-align:left;border-radius:8px;padding:12px 20px}.conflict-actions>button strong{align-items:center;gap:12px;margin-bottom:8px;font-size:16px;font-weight:600;line-height:28px;display:flex}.conflict-actions>button span{color:var(--muted);font-size:13px;line-height:20px;display:block}.conflict-actions>.compare-choice{background:var(--accent-soft);border-color:var(--accent)}.conflict-actions>button:disabled{opacity:.5}.conflict-confirm{width:720px;min-height:240px}.conflict-confirm>p{margin:0 0 32px;line-height:24px}.conflict-copy-dialog{border-radius:10px;width:760px;min-height:336px;padding:32px}.conflict-copy-dialog h2{margin-bottom:8px}.conflict-copy-dialog form>p:first-of-type{margin:0 0 24px}.conflict-copy-dialog .copy-location{color:var(--muted);margin:12px 0;font-size:13px}.version-notice{flex:none;min-height:56px}.versions-dialog details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;font-family:var(--font-code);font-size:12px;overflow:auto}.conflict-title-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.conflict-title-row h2{margin:0}.conflict-actions strong svg{color:var(--accent);flex:none}.merge-dialog{border-radius:10px;width:calc(100vw - 96px);max-width:none;height:calc(100dvh - 96px);max-height:none;padding:24px 31px 31px;overflow:hidden}.merge-dialog[open]{flex-direction:column;display:flex}.merge-dialog h2{flex:none;margin:0;font-size:22px;line-height:34px}.merge-path{color:var(--muted);flex:none;margin:6px 0 12px;font-size:13px;line-height:28px}.merge-toolbar{flex:none;align-items:center;gap:12px;min-height:56px;display:flex}.merge-toolbar>span:not(.tooltip-trigger){color:var(--muted);flex:1;font-size:13px}.merge-next svg{transform:rotate(180deg)}.merge-labels{flex:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;display:grid}.merge-labels>div{background:var(--canvas);border:1px solid var(--border);border-bottom:0;justify-content:space-between;align-items:center;min-height:48px;padding:0 16px;display:flex}.merge-labels strong{font-size:14px;font-weight:600}.merge-labels time{color:var(--muted);font-size:12px}.merge-editors{flex:1;min-height:0}.merge-editors .cm-mergeView{height:100%}.merge-editors .cm-mergeViewEditors{min-height:100%}.merge-editors .cm-mergeViewEditor{border:1px solid var(--border);min-width:0}.merge-editors .cm-editor{min-height:100%;color:var(--text);background:var(--surface);font-size:14px}.merge-editors .cm-editor.cm-focused{outline:none}.merge-editors .cm-scroller{font-family:var(--font-code);line-height:28px;overflow:auto}.merge-editors .cm-content{caret-color:var(--text);padding:8px 0}.merge-editors .cm-line{padding:0 16px}.merge-editors .cm-gutters{background:var(--canvas);color:var(--muted);border-right:1px solid var(--border)}.merge-editors .cm-lineNumbers .cm-gutterElement{min-width:40px;padding:0 8px}.merge-editors .cm-activeLine{background:0 0}.merge-editors .cm-activeLineGutter{background:var(--accent-soft)}.merge-editors .cm-cursor{border-left-color:var(--text)}.merge-editors .cm-merge-revert{background:var(--surface);flex:none;width:48px}.merge-editors .cm-merge-revert button{width:36px;height:36px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--border);border-radius:6px;margin:0 6px;padding:0;font:20px sans-serif;display:grid;position:static}.merge-editors .cm-merge-a .cm-changedLine{background:var(--danger-soft)}.merge-editors .cm-merge-b .cm-changedLine{background:var(--success-soft)}.merge-editors .cm-merge-a .cm-changedText{background:color-mix(in srgb, var(--danger) 18%, transparent);background-image:none}.merge-editors .cm-merge-b .cm-changedText{background:color-mix(in srgb, var(--success) 18%, transparent);background-image:none}.merge-editors .cm-panels{background:var(--canvas);color:var(--text)}.merge-editors .cm-selectionBackground,.merge-editors .cm-editor.cm-focused>.cm-scroller>.cm-selectionLayer .cm-selectionBackground{background:var(--text-selection)}.merge-dialog .dialog-actions{flex:none;gap:16px;margin-top:24px}.merge-dialog .dialog-actions button{border-color:var(--control-border);min-width:144px;height:40px}.merge-dialog .dialog-actions .primary-button{border-color:var(--accent);min-width:184px}.merge-notice{background:var(--warning-soft);border-radius:6px;align-items:center;gap:16px;padding:12px 16px;display:flex}.merge-dialog .merge-notice[role=alert]{color:var(--warning)}.merge-notice span{flex:1}.merge-notice button{border:1px solid var(--control-border);background:var(--surface);border-radius:4px;flex:none;height:36px;padding:0 12px}.merge-revert-control{width:48px;position:absolute;left:0}.merge-revert-arrow svg{transform:rotate(90deg)}.conflict-marker{color:var(--warning);display:flex}.tab-search-markers{align-items:center;gap:8px;display:flex}.file-status{border-radius:4px;flex:none;align-items:center;min-height:26px;padding:3px 9px;font-size:12px;font-weight:400;line-height:20px;display:inline-flex}.file-status-conflict{color:var(--warning);background:var(--warning-soft)}.file-status-pending{color:var(--muted);background:var(--info-soft)}.entry-name:has(.file-status)>span:first-of-type{flex:0 178px}.entry-name>.file-status{overflow:visible}.database-conflicts{background:var(--warning-soft);align-items:center;gap:12px;min-height:48px;padding:3px 15px;display:flex}.database-conflicts>svg{color:var(--warning);flex:none}.database-conflicts strong{font-size:14px;line-height:24px}.database-conflicts button{flex:none;width:180px;margin-left:auto}.tooltip-command{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.shortcut-keys{white-space:nowrap;flex:none;align-items:center;gap:4px;margin-left:auto;font-size:11px;font-weight:400;display:inline-flex}.shortcut-keys kbd{border:1px solid var(--control-border);background:var(--surface);color:var(--text);font:inherit;border-radius:3px;padding:2px 5px}.database-menu button{align-items:center;gap:16px;display:flex}.database-menu .shortcut-keys{color:var(--muted)}.database-menu .shortcut-keys kbd{color:inherit;background:0 0;border:0;padding:0}.database-menu:has(.shortcut-keys){width:320px;max-width:calc(100vw - 32px)}.directory-search-input{flex:1;height:100%}.info-dialog-subtitle{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:20px}.info-dialog-footer-note{color:var(--muted);align-self:center;margin-right:auto;font-size:12px}.database-dialog.help-dialog{border-radius:12px;width:1120px;max-width:calc(100vw - 96px);height:calc(100dvh - 96px);max-height:none}.help-dialog::backdrop{background:#18252b66}.help-dialog .database-dialog-header{align-items:flex-start;height:80px;padding:18px 24px}.help-dialog .database-dialog-header>.tooltip-trigger{margin-top:4px}.help-dialog .file-info-body{gap:0;padding:0;overflow:hidden}.help-controls{padding:24px 24px 12px}.help-search{border:1px solid var(--control-border);background:var(--canvas);border-radius:6px;align-items:center;gap:12px;height:44px;padding:0 4px 0 12px;display:flex}.help-search:focus-within{outline:2px solid var(--focus);outline-offset:-2px}.help-search>svg{flex:none}.help-search input{min-width:0;height:100%;color:var(--text);font:inherit;background:0 0;border:0;flex:1;padding:0}.help-search input:focus-visible{outline:none}.help-dialog .help-sequence{color:var(--muted);margin-top:16px;font-size:13px;line-height:20px}.help-dialog .help-count{color:var(--muted);margin-top:12px;font-size:12px;font-weight:600;line-height:20px}.help-dialog .help-list{flex:1;min-height:0;padding:0 24px 12px;overflow-y:auto}.help-list:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.help-list section+section{margin-top:20px}.help-list h3{padding:6px 12px;font-size:16px;line-height:24px}.help-entry{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:24px;min-height:52px;padding:6px 12px;display:grid}.help-entry dt{color:var(--text);font-size:14px;font-weight:500;line-height:20px}.help-entry dt small{color:var(--muted);margin-top:2px;font-size:12px;font-weight:400;line-height:17px;display:block}.help-entry dd{margin:0}.help-entry .shortcut-keys{font-size:12px}.help-empty{padding:60px 24px}.help-empty h3{padding:0;font-size:22px;line-height:34px}.help-dialog .help-empty p{color:var(--muted);margin-top:16px;line-height:24px}.help-empty button{background:var(--accent-soft);height:40px;color:var(--accent);border:0;border-radius:6px;margin-top:24px;padding:0 24px;font-weight:600}.help-dialog .dialog-actions{align-items:center;height:64px;padding:12px 24px}.help-dialog .dialog-actions button{background:var(--canvas);min-width:120px}
